Bug 1594486 - Port bug 1593462: Clean up preferences CSS files to fix RTL and remove unused rules. r=aleca
This commit is contained in:
Родитель
b79a0308d3
Коммит
72da62a38b
|
@ -11,15 +11,12 @@
|
|||
* Also make sure the labels are the same distance away from the icons.
|
||||
*/
|
||||
.actionsMenu {
|
||||
margin-top: -1px;
|
||||
margin-bottom: -1px;
|
||||
margin-inline-start: -1px;
|
||||
margin-inline-end: 0;
|
||||
margin-block: -1px;
|
||||
margin-inline: -1px 0;
|
||||
}
|
||||
|
||||
.actionsMenu > menupopup > menuitem > .menu-iconic-left {
|
||||
padding-inline-start: 0;
|
||||
padding-inline-end: 4px !important;
|
||||
padding-inline: 0 4px !important;
|
||||
}
|
||||
|
||||
.actionsMenu > menupopup > menuitem {
|
||||
|
@ -36,13 +33,12 @@
|
|||
|
||||
.cloudfileAccount > label {
|
||||
margin-inline-start: 1px;
|
||||
margin-top: initial;
|
||||
margin-bottom: initial;
|
||||
margin-block: initial;
|
||||
}
|
||||
|
||||
.cloudfileAccount > input {
|
||||
min-height: unset !important;
|
||||
margin: 0 !important;
|
||||
padding-inline-start: 4px !important;
|
||||
padding: 2px 3px 3px !important;
|
||||
padding-block: 2px 3px !important;
|
||||
padding-inline: 4px 3px !important;
|
||||
}
|
||||
|
|
|
@ -20,8 +20,7 @@ radio[pane] > .radio-label-box {
|
|||
}
|
||||
|
||||
menulist.actionsMenu > .menulist-dropmarker {
|
||||
margin-top: 11px;
|
||||
margin-bottom: 11px;
|
||||
margin-block: 11px;
|
||||
}
|
||||
|
||||
html|input[type="number"]::-moz-number-spin-box {
|
||||
|
@ -49,6 +48,5 @@ html|input[type="number"]::-moz-number-spin-down {
|
|||
}
|
||||
|
||||
#defaultWebSearchPopup > menuitem > .menu-iconic-left {
|
||||
margin-inline-start: 5px !important;
|
||||
margin-inline-end: 5px !important;
|
||||
margin-inline: 5px !important;
|
||||
}
|
||||
|
|
|
@ -12,13 +12,11 @@
|
|||
*/
|
||||
.actionsMenu {
|
||||
margin-inline-start: -2px;
|
||||
margin-top: 0;
|
||||
margin-bottom: -1px;
|
||||
margin-block: 0 -1px;
|
||||
}
|
||||
|
||||
.actionsMenu > menupopup > menuitem > .menu-iconic-left {
|
||||
padding-inline-start: 3px;
|
||||
padding-inline-end: 1px;
|
||||
padding-inline: 3px 1px;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -26,7 +24,7 @@
|
|||
*/
|
||||
|
||||
.cloudfileAccount description{
|
||||
padding-left: 3px;
|
||||
padding-inline-start: 3px;
|
||||
}
|
||||
|
||||
.cloudfileAccount .typeIcon {
|
||||
|
@ -36,6 +34,6 @@
|
|||
.cloudfileAccount > input {
|
||||
min-height: unset !important;
|
||||
margin: 0 !important;
|
||||
padding-inline-start: 4px !important;
|
||||
padding: 2px 3px 3px !important;
|
||||
padding-block: 2px 3px !important;
|
||||
padding-inline: 4px 3px !important;
|
||||
}
|
||||
|
|
|
@ -71,6 +71,5 @@ tab:-moz-focusring > .tab-middle > .tab-text {
|
|||
}
|
||||
|
||||
#defaultWebSearchPopup > menuitem > .menu-iconic-left {
|
||||
margin-inline-start: 5px;
|
||||
margin-inline-end: 3px;
|
||||
margin-inline: 5px 3px;
|
||||
}
|
||||
|
|
|
@ -34,13 +34,11 @@ menuitem[appHandlerIcon="save"] {
|
|||
}
|
||||
|
||||
.typeIcon {
|
||||
margin-inline-start: 10px;
|
||||
margin-inline-end: 9px;
|
||||
margin-inline: 10px 9px;
|
||||
}
|
||||
|
||||
.actionIcon {
|
||||
margin-inline-start: 12px;
|
||||
margin-inline-end: 8px;
|
||||
margin-inline: 12px 8px;
|
||||
}
|
||||
|
||||
.actionsMenu {
|
||||
|
@ -48,8 +46,7 @@ menuitem[appHandlerIcon="save"] {
|
|||
}
|
||||
|
||||
.actionsMenu > .menulist-label-box > .menulist-icon {
|
||||
margin-inline-start: 5px;
|
||||
margin-inline-end: 5px !important;
|
||||
margin-inline: 5px !important;
|
||||
}
|
||||
|
||||
.actionsMenu > menupopup > menuitem {
|
||||
|
|
|
@ -44,8 +44,7 @@ tabs,
|
|||
label,
|
||||
description,
|
||||
#useDocumentColors {
|
||||
margin-right: 4px;
|
||||
margin-left: 4px;
|
||||
margin-inline: 4px;
|
||||
}
|
||||
|
||||
tree {
|
||||
|
@ -62,10 +61,8 @@ caption {
|
|||
|
||||
groupbox {
|
||||
margin-top: 0;
|
||||
margin-right: 4px;
|
||||
margin-left: 4px;
|
||||
padding-top: 0;
|
||||
padding-bottom: 5px;
|
||||
margin-inline: 4px;
|
||||
padding-block: 0 5px;
|
||||
}
|
||||
|
||||
prefpane .groupbox-body {
|
||||
|
@ -73,8 +70,7 @@ prefpane .groupbox-body {
|
|||
}
|
||||
|
||||
groupbox description {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
margin-inline: 0;
|
||||
}
|
||||
|
||||
menulist label {
|
||||
|
@ -86,8 +82,7 @@ menulist label {
|
|||
}
|
||||
|
||||
#ReturnReceiptsDialogPane {
|
||||
margin-right: 4px;
|
||||
margin-left: 4px;
|
||||
margin-inline: 4px;
|
||||
}
|
||||
|
||||
#configDeck {
|
||||
|
|
|
@ -100,8 +100,7 @@ tabpanel > hbox > description {
|
|||
|
||||
/* Web search menulist */
|
||||
#defaultWebSearch > .menulist-label-box > .menulist-icon[src] {
|
||||
margin-inline-start: 5px;
|
||||
margin-inline-end: 8px;
|
||||
margin-inline: 5px 8px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
@ -122,10 +121,8 @@ radio[pane] {
|
|||
border-right-width: 0;
|
||||
border-left-width: 0;
|
||||
border-radius: 2px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
margin-inline-start: 34px;
|
||||
margin-inline-end: 0;
|
||||
margin-block: 0;
|
||||
margin-inline: 34px 0;
|
||||
padding: 5px 10px;
|
||||
min-height: 40px;
|
||||
outline-offset: -1px;
|
||||
|
@ -209,8 +206,7 @@ radio[pane][selected] > .radio-check {
|
|||
}
|
||||
|
||||
#preferencesContainer {
|
||||
padding-inline-start: 15px;
|
||||
padding-inline-end: 15px;
|
||||
padding-inline: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -305,8 +301,7 @@ tab:-moz-focusring > .tab-middle {
|
|||
/* Applications Pane Styles */
|
||||
|
||||
#filter {
|
||||
margin-inline-start: 0;
|
||||
margin-inline-end: 0;
|
||||
margin-inline: 0;
|
||||
}
|
||||
|
||||
/* XXX This style is for bug 740213 and should be removed once that
|
||||
|
@ -334,8 +329,7 @@ html|input.indent {
|
|||
.update-throbber {
|
||||
width: 16px;
|
||||
min-height: 16px;
|
||||
margin-inline-start: 6px;
|
||||
margin-inline-end: 4px;
|
||||
margin-inline: 6px 4px;
|
||||
list-style-image: url("chrome://global/skin/icons/loading.png");
|
||||
}
|
||||
|
||||
|
@ -348,9 +342,7 @@ html|input.indent {
|
|||
.updateSettingCrossUserWarningContainer {
|
||||
background: var(--in-content-warning-container);
|
||||
border-radius: 5px;
|
||||
padding-inline: 8px;
|
||||
padding-block-start: 2px;
|
||||
padding-block-end: 8px;
|
||||
padding: 2px 8px 8px;
|
||||
margin-block-end: 17px;
|
||||
}
|
||||
|
||||
|
@ -393,8 +385,7 @@ html|input.indent {
|
|||
*/
|
||||
|
||||
#fontsTitle {
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
margin-block: 4px;
|
||||
}
|
||||
|
||||
#defaultFontType,
|
||||
|
@ -411,8 +402,7 @@ html|input.indent {
|
|||
groupbox label:not(.menu-accel):not(.menu-iconic-accel):not(.menu-text):not(.menu-iconic-text):not(.menulist-label):not(.indent):not(.learnMore):not(.tail-with-learn-more),
|
||||
groupbox description {
|
||||
/* !important needed to override toolkit !important rule */
|
||||
margin-inline-start: 0 !important;
|
||||
margin-inline-end: 0 !important;
|
||||
margin-inline: 0 !important;
|
||||
}
|
||||
|
||||
richlistbox {
|
||||
|
@ -444,8 +434,7 @@ richlistbox:focus > richlistitem[selected="true"] {
|
|||
}
|
||||
|
||||
#defaultWebSearch {
|
||||
margin-inline-start: 0;
|
||||
margin-inline-end: 4px;
|
||||
margin-inline: 0 4px;
|
||||
}
|
||||
|
||||
#defaultFontSize,
|
||||
|
@ -458,8 +447,7 @@ richlistbox:focus > richlistitem[selected="true"] {
|
|||
}
|
||||
|
||||
#defaultMessengerLanguage {
|
||||
margin-inline-start: 0;
|
||||
margin-inline-end: 4px;
|
||||
margin-inline: 0 4px;
|
||||
min-width: 20em;
|
||||
}
|
||||
|
||||
|
|
|
@ -11,10 +11,8 @@
|
|||
* Also make sure the labels are the same distance away from the icons.
|
||||
*/
|
||||
.actionsMenu {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
margin-inline-start: -2px;
|
||||
margin-inline-end: 0;
|
||||
margin-block: 0;
|
||||
margin-inline: -2px 0;
|
||||
}
|
||||
|
||||
.actionsMenu .menulist-icon {
|
||||
|
@ -38,13 +36,12 @@
|
|||
*/
|
||||
|
||||
.cloudfileAccount > label {
|
||||
margin-top: initial;
|
||||
margin-bottom: initial;
|
||||
margin-block: initial;
|
||||
}
|
||||
|
||||
.cloudfileAccount > input {
|
||||
min-height: unset !important;
|
||||
margin: 0 !important;
|
||||
padding-inline-start: 4px !important;
|
||||
padding: 2px 3px 3px !important;
|
||||
padding-block: 2px 3px !important;
|
||||
padding-inline: 4px 3px !important;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче