spinbuttons.css (1506B)
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 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 6 7 spinbuttons { 8 -moz-appearance: none; 9 cursor: default; 10 } 11 12 .spinbuttons-button { 13 min-width: 13px; 14 min-height: 11px; 15 margin: 0 !important; 16 border: 1px solid; 17 -moz-border-top-colors: rgb(64,64,64); 18 -moz-border-right-colors: rgb(64,64,64); 19 -moz-border-bottom-colors: rgb(64,64,64); 20 -moz-border-left-colors: rgb(64,64,64); 21 background-color: #181411; 22 } 23 24 .spinbuttons-button > .button-box { 25 border: 0; 26 } 27 28 .spinbuttons-button:hover { 29 background-color: #181411; 30 } 31 32 .spinbuttons-button:hover:active { 33 background-color: #181411; 34 } 35 36 .spinbuttons-button[disabled="true"] { 37 background-color: #181411; 38 } 39 40 .spinbuttons-up { 41 -moz-appearance: none; 42 background-image: url("chrome://global/skin/arrow/arrow-v.svg#up"); 43 background-position: center center; 44 background-repeat: no-repeat; 45 } 46 47 .spinbuttons-up[disabled="true"] { 48 background-image: url("chrome://global/skin/arrow/arrow-v.svg#up-dis"); 49 } 50 51 .spinbuttons-down { 52 -moz-appearance: none; 53 background-image: url("chrome://global/skin/arrow/arrow-v.svg#dn"); 54 background-position: center center; 55 background-repeat: no-repeat; 56 } 57 58 .spinbuttons-down[disabled="true"] { 59 background-image: url("chrome://global/skin/arrow/arrow-v.svg#dn-dis"); 60 }