gecko-dev/browser/themes/osx/sanitizeDialog.css
L. David Baron d097996b85 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
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
2016-05-12 22:19:58 -07:00

92 lines
2.0 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/. */
/* Align the duration label with the warning box and item list */
#sanitizeDurationLabel {
margin-inline-start: 1px;
}
/* Hide the duration dropdown suffix label if it's empty. Otherwise it
takes up a little space, causing the end of the dropdown to not be aligned
with the warning box. */
#sanitizeDurationSuffixLabel[value=""] {
display: none;
}
/* Places tree */
#placesTreechildren::-moz-tree-row(selected),
#placesTreechildren::-moz-tree-row(grippyRow) {
background: #999;
}
#placesTreechildren::-moz-tree-cell-text(selected) {
color: #111;
}
/* Sanitize everything warning box */
#sanitizeEverythingWarningBox {
background-color: Window;
border: 1px solid ThreeDDarkShadow;
border-radius: 5px;
padding: 16px;
}
#sanitizeEverythingWarningIcon {
list-style-image: url("chrome://global/skin/icons/warning-large.png");
padding: 0;
margin: 0;
}
#sanitizeEverythingWarningDescBox {
padding: 0 16px;
margin: 0;
}
/* Progressive disclosure button */
#detailsExpanderWrapper {
padding: 0;
margin-top: 6px;
margin-bottom: 6px;
}
.expander-up,
.expander-down {
padding: 0;
margin: 0;
}
.expander-up {
-moz-appearance: -moz-mac-disclosure-button-open;
}
.expander-down {
-moz-appearance: -moz-mac-disclosure-button-closed;
}
/* Make the item list the same width as the warning box */
#itemList {
margin-inline-start: 0;
margin-inline-end: 0;
}
/* Without this a useless scrollbar appears in the listbox when its rows
attribute is set to the total number of listitems, as it is currently. See
bug 489958 comment 14 and bug 491788. */
#itemList > listitem {
padding: 1px 0;
}
/* Align the last dialog button with the end of the warning box */
.prefWindow-dlgbuttons {
margin-inline-end: 0;
}
.dialog-button[dlgtype="accept"] {
margin-inline-end: 0;
}