| 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 | /* ===== colorpicker.css ================================================ |
| 6 | == Styles used by the XUL colorpicker element. |
| 7 | ======================================================================= */ |
| 8 | |
| 9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 10 | |
| 11 | /* ::::: colorpicker button ::::: */ |
| 12 | |
| 13 | /* colorpicker button */ |
| 14 | |
| 15 | colorpicker[type="button"] { |
| 16 | width: 34px; |
| 17 | height: 20px; |
| 18 | border: 1px outset #CCD0DD; |
| 19 | background-color: #CCD0DD; |
| 20 | padding: 3px; |
| 21 | } |
| 22 | |
| 23 | .colorpicker-button-colorbox { |
| 24 | border: 1px solid #000000; |
| 25 | } |
| 26 | |
| 27 | colorpicker[type="button"]:focus { |
| 28 | } |
| 29 | |
| 30 | colorpicker[type="button"][open="true"] { |
| 31 | border: 1px inset #CCD0DD; |
| 32 | } |
| 33 | |
| 34 | /* ::::: colorpicker tiles ::::: */ |
| 35 | |
| 36 | .colorpickertile { |
| 37 | width: 20px; |
| 38 | height: 20px; |
| 39 | margin: 1px; |
| 40 | border: 1px inset #CCD0DD; |
| 41 | } |
| 42 | |
| 43 | .colorpickertile[selected="true"] { |
| 44 | border: 1px solid #000000; |
| 45 | } |
| 46 | |
| 47 | .colorpickertile[hover="true"] { |
| 48 | border: 1px solid #FFFFFF; |
| 49 | } |
| 50 | |
| 51 | .cp-light[hover="true"] { |
| 52 | border: 2px dotted #9999CC; |
| 53 | } |