зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1485830 - Set custom odd tree row colors in common.css on all platforms. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D5963 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
8831e47374
Коммит
25e0092647
|
@ -119,10 +119,6 @@ let propNameWhitelist = [
|
|||
isFromDevTools: false},
|
||||
{propName: "--positionDurationBox-width-long",
|
||||
isFromDevTools: false},
|
||||
// Used on Linux
|
||||
{propName: "--in-content-box-background-odd",
|
||||
platforms: ["win", "macosx"],
|
||||
isFromDevTools: false},
|
||||
|
||||
// These variables are used in a shorthand, but the CSS parser deletes the values
|
||||
// when expanding the shorthands. See https://github.com/w3c/csswg-drafts/issues/2515
|
||||
|
|
|
@ -75,22 +75,6 @@ html|input[type="checkbox"]:-moz-focusring + html|label:before {
|
|||
outline: 1px dotted;
|
||||
}
|
||||
|
||||
xul|treechildren::-moz-tree-row(multicol, odd) {
|
||||
background-color: var(--in-content-box-background-odd);
|
||||
}
|
||||
|
||||
/* These rules are duplicated from common.inc.css
|
||||
* because above -moz-tree-row(multicol, odd) rule
|
||||
* overrides also hover/selected states.
|
||||
*/
|
||||
xul|treechildren::-moz-tree-row(hover) {
|
||||
background-color: var(--in-content-item-hover);
|
||||
}
|
||||
|
||||
xul|treechildren::-moz-tree-row(selected) {
|
||||
background-color: var(--in-content-item-selected);
|
||||
}
|
||||
|
||||
html|button {
|
||||
/* XUL button min-width */
|
||||
min-width: 6.3em;
|
||||
|
|
|
@ -709,6 +709,10 @@ xul|treechildren::-moz-tree-row {
|
|||
background-image: none;
|
||||
}
|
||||
|
||||
xul|treechildren::-moz-tree-row(multicol, odd) {
|
||||
background-color: var(--in-content-box-background-odd);
|
||||
}
|
||||
|
||||
html|select[size][multiple] > html|option:hover,
|
||||
xul|treechildren::-moz-tree-row(hover) {
|
||||
background-color: var(--in-content-item-hover);
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
|
||||
%include ../../../shared/in-content/common.inc.css
|
||||
|
||||
:root {
|
||||
--in-content-box-background-odd: transparent;
|
||||
}
|
||||
|
||||
xul|caption {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче