toolbar.css
167 lines
| 1 | #glt-toolbar { |
| 2 | display:none; |
| 3 | } |
| 4 | |
| 5 | #glt-translate-trigger { |
| 6 | position:fixed; |
| 7 | bottom:0px; |
| 8 | top:auto; |
| 9 | right: 20px; |
| 10 | z-index:200002; |
| 11 | padding:6px 20px 3px; |
| 12 | font-size:16px; |
| 13 | font-family:Arial; |
| 14 | font-weight:700; |
| 15 | color:#fff; |
| 16 | text-shadow:0px -1px 0px rgba(0,0,0,0.25); |
| 17 | text-decoration:none; |
| 18 | text-align:center; |
| 19 | box-shadow:0px 0px 9px rgba(0,0,0,0.3); |
| 20 | -webkit-box-shadow:0px 0px 9px rgba(0,0,0,0.3); |
| 21 | -moz-box-shadow:0px 0px 9px rgba(0,0,0,0.3); |
| 22 | box-sizing:content-box !important; |
| 23 | -webkit-box-sizing:content-box !important; |
| 24 | -moz-box-sizing:content-box !important; |
| 25 | background:linear-gradient(center top, #fbb450, #f89406); |
| 26 | background: -webkit-gradient(linear, center top, center bottom, from(#fbb450), to(#f89406)); |
| 27 | background: -webkit-linear-gradient(#fbb450, #f89406); |
| 28 | background: -moz-linear-gradient(#fbb450, #f89406); |
| 29 | background: -o-linear-gradient(#fbb450, #f89406); |
| 30 | background: -ms-linear-gradient(#fbb450, #f89406); |
| 31 | background: linear-gradient(#fbb450, #f89406); |
| 32 | background: -o-linear-gradientcenter(center top, #fbb450, #f89406); |
| 33 | } |
| 34 | |
| 35 | .tool-container { |
| 36 | background-color: #d0cbcb; |
| 37 | background: -webkit-gradient(linear, left top, left bottom, color-stop(14%, #d0cbcb), color-stop(100%, #e9e5e5)); |
| 38 | background: -moz-linear-gradient(top, #d0cbcb 14%, #e9e5e5 100%); |
| 39 | background: -ms-linear-gradient(top, #d0cbcb 14%,#e9e5e5 100%); |
| 40 | background: linear-gradient(to bottom, #d0cbcb 14%,#e9e5e5 100%); |
| 41 | background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxNCUiIHN0b3AtY29sb3I9IiNkMGNiY2IiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZTllNWU1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==); |
| 42 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d0cbcb', endColorstr='#e9e5e5',GradientType=0 ); |
| 43 | background-size: 100% 100%; |
| 44 | border-radius: 3px; |
| 45 | box-shadow: 0px 0px 15px #000; |
| 46 | position: absolute; |
| 47 | } |
| 48 | |
| 49 | .tool-container.tool-top, .tool-container.tool-bottom { |
| 50 | border-bottom: 1px solid #beb8b8 ; /* #B1A9A9 */ |
| 51 | } |
| 52 | |
| 53 | .tool-items { |
| 54 | height: 100%; |
| 55 | } |
| 56 | |
| 57 | .tool-top .tool-item, .tool-bottom .tool-item { |
| 58 | float: left; |
| 59 | /*border-right: 1px solid #e2dfdf; |
| 60 | border-left: 1px solid #9f9898;*/ |
| 61 | } |
| 62 | |
| 63 | .tool-left .tool-item, .tool-right .tool-item { |
| 64 | height: 34px; |
| 65 | border-top: 1px solid #e2dfdf; |
| 66 | border-bottom: 1px solid #9f9898; |
| 67 | } |
| 68 | |
| 69 | |
| 70 | .tool-item { |
| 71 | height: 100%; |
| 72 | display: block; |
| 73 | width: 34px; |
| 74 | text-align: center; |
| 75 | } |
| 76 | |
| 77 | .tool-item:first-child { |
| 78 | border-left: none; |
| 79 | } |
| 80 | |
| 81 | .tool-left .tool-item:first-child, .tool-right .tool-item:first-child { |
| 82 | border-top: 1px solid transparent; |
| 83 | } |
| 84 | |
| 85 | .tool-item:last-child { |
| 86 | border-right: none; |
| 87 | border-bottom: none; |
| 88 | } |
| 89 | |
| 90 | .tool-item.selected, .tool-item:hover { |
| 91 | background: #a79f9f; |
| 92 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a79f9f), color-stop(93%, #e2dfdf)); |
| 93 | background: -moz-linear-gradient(top, #a79f9f 0%, #e2dfdf 93%); |
| 94 | background: -ms-linear-gradient(top, #a79f9f 0%, #e2dfdf 93%); |
| 95 | background: linear-gradient(to bottom, #a79f9f 0%, #e2dfdf 93%); |
| 96 | background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2E3OWY5ZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjkzJSIgc3RvcC1jb2xvcj0iI2UyZGZkZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); |
| 97 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a79f9f', endColorstr='#e2dfdf',GradientType=0 ); |
| 98 | } |
| 99 | |
| 100 | .tool-top .tool-item:last-child:hover, .tool-bottom .tool-item:last-child:hover { |
| 101 | border-top-right-radius: 4px; |
| 102 | border-bottom-right-radius: 4px; |
| 103 | } |
| 104 | |
| 105 | .tool-top .tool-item:first-child:hover, .tool-bottom .tool-item:first-child:hover { |
| 106 | border-top-left-radius: 4px; |
| 107 | border-bottom-left-radius: 4px; |
| 108 | } |
| 109 | |
| 110 | .tool-left .tool-item:last-child:hover, .tool-right .tool-item:last-child:hover { |
| 111 | border-bottom-right-radius: 4px; |
| 112 | border-bottom-left-radius: 4px; |
| 113 | } |
| 114 | |
| 115 | .tool-left .tool-item:first-child:hover, .tool-right .tool-item:first-child:hover { |
| 116 | border-top-right-radius: 4px; |
| 117 | border-top-left-radius: 4px; |
| 118 | } |
| 119 | |
| 120 | .tool-container .arrow { |
| 121 | width:0; |
| 122 | height:0; |
| 123 | position: absolute; |
| 124 | border-width:7px; |
| 125 | border-style:solid; |
| 126 | } |
| 127 | |
| 128 | .tool-container.tool-top .arrow { |
| 129 | border-color: #e9e5e5 transparent transparent; |
| 130 | left: 50%; |
| 131 | bottom: -14px; |
| 132 | margin-left: -7px; |
| 133 | } |
| 134 | |
| 135 | .tool-container.tool-bottom .arrow { |
| 136 | border-color: transparent transparent #e9e5e5; |
| 137 | left: 50%; |
| 138 | top: -14px; |
| 139 | margin-left: -7px; |
| 140 | } |
| 141 | |
| 142 | .tool-container.tool-left .arrow { |
| 143 | border-color: transparent transparent transparent #E9E5E5; |
| 144 | top: 50%; |
| 145 | right: -14px; |
| 146 | margin-top: -7px; |
| 147 | } |
| 148 | |
| 149 | .tool-container.tool-right .arrow { |
| 150 | border-color: transparent #E9E5E5 transparent transparent; |
| 151 | top: 50%; |
| 152 | left: -14px; |
| 153 | margin-top: -7px; |
| 154 | } |
| 155 | |
| 156 | .demo-link { |
| 157 | color: #89CDE4; |
| 158 | text-decoration: underline; |
| 159 | cursor: pointer; |
| 160 | margin-left: 30px; |
| 161 | } |
| 162 | |
| 163 | .demo-link:hover { |
| 164 | text-decoration: none; |
| 165 | cursor: pointer; |
| 166 | } |
| 167 |