toolkit/themes/osx/global/datetimepicker.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
michael@0 6 @namespace html url("http://www.w3.org/1999/xhtml");
michael@0 7
michael@0 8 datepicker, timepicker {
michael@0 9 padding: 0 0 1px;
michael@0 10 margin: 4px;
michael@0 11 border: none;
michael@0 12 }
michael@0 13
michael@0 14 .datetimepicker-input-box {
michael@0 15 -moz-appearance: textfield;
michael@0 16 cursor: text;
michael@0 17 margin-right: 4px;
michael@0 18 margin-bottom: 2px;
michael@0 19 border: 3px solid;
michael@0 20 -moz-border-top-colors: transparent #888888 #000000;
michael@0 21 -moz-border-right-colors: transparent #FFFFFF #000000;
michael@0 22 -moz-border-bottom-colors: transparent #FFFFFF #000000;
michael@0 23 -moz-border-left-colors: transparent #888888 #000000;
michael@0 24 border-top-right-radius: 2px;
michael@0 25 border-bottom-left-radius: 2px;
michael@0 26 padding: 0px;
michael@0 27 background-color: -moz-Field;
michael@0 28 color: -moz-FieldText;
michael@0 29 }
michael@0 30
michael@0 31 .datetimepicker-input-subbox {
michael@0 32 width: 1.6em;
michael@0 33 }
michael@0 34
michael@0 35 html|*.datetimepicker-input {
michael@0 36 text-align: end;
michael@0 37 }
michael@0 38
michael@0 39 .datetimepicker-separator {
michael@0 40 margin: 0 !important;
michael@0 41 }
michael@0 42
michael@0 43 .datetimepicker-year {
michael@0 44 width: 3.2em;
michael@0 45 }
michael@0 46
michael@0 47 .datepicker-dropmarker {
michael@0 48 margin-bottom: 2px;
michael@0 49 }
michael@0 50
michael@0 51 datepicker[readonly="true"],
michael@0 52 timepicker[readonly="true"] {
michael@0 53 background-color: -moz-Dialog;
michael@0 54 color: -moz-DialogText;
michael@0 55 }
michael@0 56
michael@0 57 datepicker[disabled="true"],
michael@0 58 timepicker[disabled="true"] {
michael@0 59 cursor: default;
michael@0 60 -moz-border-top-colors: transparent ThreeDShadow -moz-Dialog;
michael@0 61 -moz-border-right-colors: transparent ThreeDShadow -moz-Dialog;
michael@0 62 -moz-border-bottom-colors: transparent ThreeDShadow -moz-Dialog;
michael@0 63 -moz-border-left-colors: transparent ThreeDShadow -moz-Dialog;
michael@0 64 background-color: -moz-Dialog;
michael@0 65 color: GrayText;
michael@0 66 }
michael@0 67
michael@0 68 .datepicker-mainbox {
michael@0 69 margin: 2px 4px;
michael@0 70 border: 2px solid;
michael@0 71 -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
michael@0 72 -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
michael@0 73 -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
michael@0 74 -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
michael@0 75 background-color: #EEEEEE;
michael@0 76 color: -moz-DialogText;
michael@0 77 }
michael@0 78
michael@0 79 .datepicker-popupgrid > .datepicker-mainbox {
michael@0 80 margin: 0;
michael@0 81 border: none;
michael@0 82 }
michael@0 83
michael@0 84 .datepicker-gridlabel, .datepicker-weeklabel {
michael@0 85 text-align: center;
michael@0 86 }
michael@0 87
michael@0 88 .datepicker-gridlabel[today="true"] {
michael@0 89 background-color: darkgrey;
michael@0 90 color: white;
michael@0 91 }
michael@0 92
michael@0 93 .datepicker-gridlabel[selected="true"] {
michael@0 94 background-color: Highlight;
michael@0 95 color: HighlightText;
michael@0 96 }
michael@0 97
michael@0 98 .datepicker-button {
michael@0 99 -moz-appearance: none;
michael@0 100 min-width: 8px;
michael@0 101 padding: 0px;
michael@0 102 }
michael@0 103
michael@0 104 .datepicker-previous {
michael@0 105 list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif");
michael@0 106 }
michael@0 107
michael@0 108 .datepicker-next {
michael@0 109 list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif");
michael@0 110 }
michael@0 111
michael@0 112 .datepicker-previous:hover {
michael@0 113 list-style-image: url("chrome://global/skin/arrow/arrow-lft-hov.gif");
michael@0 114 }
michael@0 115
michael@0 116 .datepicker-next:hover {
michael@0 117 list-style-image: url("chrome://global/skin/arrow/arrow-rit-hov.gif");
michael@0 118 }
michael@0 119
michael@0 120 .datepicker-previous[disabled="true"] {
michael@0 121 list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif");
michael@0 122 }
michael@0 123
michael@0 124 .datepicker-next[disabled="true"] {
michael@0 125 list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif");
michael@0 126 }

mercurial