mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
This patch was generated by the command:
find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.
Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.
MozReview-Commit-ID: EiQTuuV0MNQ
134 lines
3.1 KiB
CSS
134 lines
3.1 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/. */
|
|
|
|
/* ===== listbox.css =======================================================
|
|
== Styles used by XUL listbox-related elements.
|
|
======================================================================= */
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
/* ::::: listbox ::::: */
|
|
|
|
listbox {
|
|
-moz-appearance: listbox;
|
|
margin: 2px 4px;
|
|
border: 2px solid;
|
|
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
|
|
-moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
|
|
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
|
|
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
|
|
background-color: -moz-Field;
|
|
color: -moz-FieldText;
|
|
}
|
|
|
|
listbox[disabled="true"] {
|
|
color: GrayText;
|
|
}
|
|
|
|
/* ::::: listitem ::::: */
|
|
|
|
listitem {
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
listbox:focus > listitem[selected="true"][current="true"] {
|
|
outline: 1px dotted #F3D982;
|
|
}
|
|
|
|
listbox:focus > listitem[current="true"] {
|
|
outline: 1px dotted Highlight;
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
listitem[selected="true"] {
|
|
background-color: -moz-cellhighlight;
|
|
color: -moz-cellhighlighttext;
|
|
}
|
|
|
|
listbox:focus > listitem[selected="true"] {
|
|
background-color: Highlight;
|
|
color: HighlightText;
|
|
}
|
|
|
|
/* ::::: listheader ::::: */
|
|
|
|
listheader {
|
|
-moz-appearance: treeheadercell;
|
|
-moz-box-align: center;
|
|
border: 2px solid;
|
|
-moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
|
|
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
|
|
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
|
|
-moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
|
|
background-color: -moz-Dialog;
|
|
color: -moz-DialogText;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
listheader:hover {
|
|
color: -moz-buttonhovertext;
|
|
}
|
|
|
|
listheader[sortable="true"]:hover:active {
|
|
color: ButtonText;
|
|
border: 2px solid;
|
|
-moz-border-top-colors: ThreeDShadow -moz-Dialog;
|
|
-moz-border-right-colors: ThreeDShadow transparent;
|
|
-moz-border-bottom-colors: ThreeDShadow transparent;
|
|
-moz-border-left-colors: ThreeDShadow -moz-Dialog;
|
|
padding-top: 0px;
|
|
padding-bottom: 0px;
|
|
padding-inline-start: 3px;
|
|
padding-inline-end: 1px;
|
|
}
|
|
|
|
.listheader-icon {
|
|
margin-inline-end: 2px;
|
|
}
|
|
|
|
.listheader-icon[sortable="true"]:hover:active {
|
|
margin-inline-end: 1px;
|
|
}
|
|
|
|
.listheader-label {
|
|
margin: 0px !important;
|
|
}
|
|
|
|
/* ..... sort direction icon ..... */
|
|
|
|
.listheader-sortdirection {
|
|
-moz-appearance: treeheadersortarrow;
|
|
}
|
|
|
|
/* ::::: listcell ::::: */
|
|
|
|
.listcell-label {
|
|
margin: 0px !important;
|
|
padding-top: 0px;
|
|
padding-bottom: 1px;
|
|
padding-inline-start: 4px;
|
|
padding-inline-end: 0px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.listcell-icon {
|
|
margin-inline-end: 2px;
|
|
}
|
|
|
|
.listcell-label[disabled="true"] {
|
|
color: GrayText;
|
|
}
|
|
|
|
/* ::::: listcell checkbox ::::: */
|
|
|
|
.listcell-check {
|
|
-moz-appearance: checkbox;
|
|
-moz-box-align: center;
|
|
margin: 0px 2px;
|
|
border: 1px solid -moz-DialogText;
|
|
min-width: 13px;
|
|
min-height: 13px;
|
|
background: -moz-Field no-repeat 50% 50%;
|
|
}
|