mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
0568d337c0
Portions of the patch contributed by Tim Nguyen (ntim.bugs@gmail.com) MozReview-Commit-ID: DEBBjcgHIyH --HG-- extra : rebase_source : 04283a360411699c23a6acee9027fb7750c8d6eb
59 lines
1.3 KiB
CSS
59 lines
1.3 KiB
CSS
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
@namespace url("http://www.w3.org/1999/xhtml");
|
|
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
.datetime-input-box-wrapper {
|
|
-moz-appearance: none;
|
|
display: inline-flex;
|
|
flex: 1;
|
|
cursor: default;
|
|
background-color: inherit;
|
|
color: inherit;
|
|
min-width: 0;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.datetime-input-edit-wrapper {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.datetime-edit-field {
|
|
display: inline;
|
|
cursor: default;
|
|
-moz-user-select: none;
|
|
text-align: center;
|
|
padding: 1px 3px;
|
|
border: 0;
|
|
margin: 0;
|
|
ime-mode: disabled;
|
|
font: inherit;
|
|
outline: none;
|
|
}
|
|
|
|
.datetime-edit-field:not([disabled="true"]):focus {
|
|
background-color: Highlight;
|
|
color: HighlightText;
|
|
outline: none;
|
|
}
|
|
|
|
.datetime-edit-field[disabled="true"],
|
|
.datetime-edit-field[readonly="true"] {
|
|
color: GrayText;
|
|
-moz-user-select: none;
|
|
}
|
|
|
|
.datetime-reset-button {
|
|
fill: currentColor;
|
|
opacity: .5;
|
|
background-color: transparent;
|
|
border: none;
|
|
align-self: center;
|
|
flex: none;
|
|
padding-left: 2px;
|
|
padding-right: 2px;
|
|
}
|