gecko-dev/toolkit/content/widgets/datetimebox.css
Olli Pettay d8a8739f03 Bug 1511388, ensure datetime reset button is the target for the click, r=timdream
--HG--
extra : rebase_source : 49baf9fd9a97fd3dfe7795f0674aebb7745a8a81
2018-12-03 22:36:33 +02:00

60 lines
1.2 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 svg url("http://www.w3.org/2000/svg");
.datetimebox {
display: flex;
}
.datetime-input-box-wrapper {
display: inline-flex;
flex: 1;
background-color: inherit;
min-width: 0;
justify-content: space-between;
}
.datetime-input-edit-wrapper {
overflow: hidden;
white-space: nowrap;
}
.datetime-edit-field {
display: inline;
-moz-user-select: none;
text-align: center;
padding: 1px 3px;
border: 0;
margin: 0;
ime-mode: disabled;
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"] {
-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;
}
svg|svg.datetime-reset-button-svg {
pointer-events: none;
}