| 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | |
| 5 | window { |
| 6 | padding: 0; |
| 7 | } |
| 8 | |
| 9 | #toolbox-controls { |
| 10 | margin: 0 2px; |
| 11 | } |
| 12 | |
| 13 | #toolbox-controls > toolbarbutton, |
| 14 | #toolbox-dock-buttons > toolbarbutton { |
| 15 | min-width: 16px; |
| 16 | padding: 1px 3px; |
| 17 | } |
| 18 | |
| 19 | #toolbox-dock-bottom { |
| 20 | list-style-image: url("chrome://browser/skin/devtools/dock-bottom.png"); |
| 21 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 22 | } |
| 23 | |
| 24 | #toolbox-dock-bottom:hover { |
| 25 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 26 | } |
| 27 | |
| 28 | #toolbox-dock-side { |
| 29 | list-style-image: url("chrome://browser/skin/devtools/dock-side.png"); |
| 30 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 31 | } |
| 32 | |
| 33 | #toolbox-dock-side:hover { |
| 34 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 35 | } |
| 36 | |
| 37 | #toolbox-dock-window { |
| 38 | list-style-image: url("chrome://browser/skin/devtools/undock.png"); |
| 39 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 40 | } |
| 41 | |
| 42 | #toolbox-dock-window:hover { |
| 43 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 44 | } |
| 45 | |
| 46 | #toolbox-close { |
| 47 | list-style-image: url("chrome://global/skin/icons/close.png"); |
| 48 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 49 | } |
| 50 | |
| 51 | #toolbox-close:hover { |
| 52 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 53 | } |
| 54 | |
| 55 | #toolbox-dock-window, |
| 56 | #toolbox-dock-bottom, |
| 57 | #toolbox-dock-side, |
| 58 | #toolbox-close { |
| 59 | } |
| 60 | |
| 61 | #toolbox-dock-window:hover, |
| 62 | #toolbox-dock-bottom:hover, |
| 63 | #toolbox-dock-side:hover, |
| 64 | #toolbox-close:hover { |
| 65 | } |
| 66 | |
| 67 | #toolbox-controls-separator { |
| 68 | -moz-margin-start: 4px; |
| 69 | } |
| 70 | |
| 71 | |
| 72 | /* Command buttons */ |
| 73 | |
| 74 | .command-button { |
| 75 | padding: 1px 4px; |
| 76 | min-width: 16px; |
| 77 | } |
| 78 | |
| 79 | .command-button:hover { |
| 80 | } |
| 81 | .command-button:hover:active { |
| 82 | } |
| 83 | |
| 84 | #command-button-paintflashing { |
| 85 | list-style-image: url("chrome://browser/skin/devtools/command-paintflashing.png"); |
| 86 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 87 | } |
| 88 | |
| 89 | #command-button-paintflashing:hover, |
| 90 | #command-button-paintflashing:hover:active, |
| 91 | #command-button-paintflashing[checked=true] { |
| 92 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 93 | } |
| 94 | |
| 95 | #command-button-responsive { |
| 96 | list-style-image: url("chrome://browser/skin/devtools/command-responsivemode.png"); |
| 97 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 98 | } |
| 99 | |
| 100 | #command-button-responsive:hover, |
| 101 | #command-button-responsive:hover:active, |
| 102 | #command-button-responsive[checked=true] { |
| 103 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 104 | } |
| 105 | |
| 106 | #command-button-tilt { |
| 107 | list-style-image: url("chrome://browser/skin/devtools/command-tilt.png"); |
| 108 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 109 | } |
| 110 | |
| 111 | #command-button-tilt:hover, |
| 112 | #command-button-tilt:hover:active, |
| 113 | #command-button-tilt[checked=true] { |
| 114 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 115 | } |
| 116 | |
| 117 | #command-button-scratchpad { |
| 118 | list-style-image: url("chrome://browser/skin/devtools/command-scratchpad.png"); |
| 119 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 120 | } |
| 121 | |
| 122 | #command-button-scratchpad:hover, |
| 123 | #command-button-scratchpad:hover:active { |
| 124 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 125 | } |
| 126 | |
| 127 | |
| 128 | /* Tabs */ |
| 129 | |
| 130 | .devtools-tabbar { |
| 131 | } |
| 132 | |
| 133 | #toolbox-tabs { |
| 134 | margin: 0; |
| 135 | background-color: #000000; |
| 136 | color: #FFCF00; |
| 137 | } |
| 138 | |
| 139 | .devtools-tab { |
| 140 | min-width: 88px; |
| 141 | /* min-height: 22px; */ |
| 142 | color: #000000; |
| 143 | margin: 0; |
| 144 | -moz-margin-end: 3px; |
| 145 | padding: 1px; |
| 146 | -moz-padding-start: 3px; |
| 147 | background-color: #C09070; |
| 148 | border-radius: 8px 8px 0 0; |
| 149 | } |
| 150 | |
| 151 | .devtools-tab > .radio-label-center-box > .radio-label-box { |
| 152 | padding: 0 6px; |
| 153 | border-radius: 8px 8px 0 0; |
| 154 | } |
| 155 | |
| 156 | .devtools-tab > .radio-label-center-box > .radio-label-box > .radio-icon { |
| 157 | -moz-margin-end: 6px; |
| 158 | } |
| 159 | |
| 160 | .devtools-tab:hover > .radio-label-center-box > .radio-label-box > .radio-icon { |
| 161 | } |
| 162 | |
| 163 | .devtools-tab:active > .radio-label-center-box > .radio-label-box > .radio-icon, |
| 164 | .devtools-tab[selected=true] > .radio-label-center-box > .radio-label-box > .radio-icon { |
| 165 | } |
| 166 | |
| 167 | .devtools-tab:hover, |
| 168 | .devtools-tab:hover:active { |
| 169 | background-color: #FFCF00; |
| 170 | color: #000000; |
| 171 | } |
| 172 | |
| 173 | .devtools-tab:hover > .radio-label-center-box > .radio-label-box, |
| 174 | .devtools-tab:hover:active > .radio-label-center-box > .radio-label-box { |
| 175 | color: #000000; |
| 176 | } |
| 177 | |
| 178 | .devtools-tab[selected=true] { |
| 179 | background-color: #008484; |
| 180 | color: #000000; |
| 181 | } |