зеркало из 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:
Родитель
c0d8c0ec57
Коммит
2540f5c8e4
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче