зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1184110
- Use a pretty icon button for toggling the presets list in the CSS Filter tooltip. r=bgrins
--HG-- extra : rebase_source : fe65d7210bbc039509e2753db31a1115656d4683
This commit is contained in:
Родитель
028d8625a5
Коммит
0b3047c34f
|
@ -139,7 +139,8 @@ html, body {
|
||||||
|
|
||||||
|
|
||||||
.theme-light .add,
|
.theme-light .add,
|
||||||
.theme-light .remove-button {
|
.theme-light .remove-button,
|
||||||
|
.theme-light #toggle-presets {
|
||||||
filter: invert(1);
|
filter: invert(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,8 +218,8 @@ html, body {
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.add {
|
.add,
|
||||||
background: url(chrome://browser/skin/devtools/add.svg);
|
#toggle-presets {
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
border: none;
|
border: none;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
@ -226,4 +227,18 @@ html, body {
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
margin: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.add {
|
||||||
|
background: url(chrome://browser/skin/devtools/add.svg);
|
||||||
|
}
|
||||||
|
|
||||||
|
#toggle-presets {
|
||||||
|
background: url(chrome://browser/skin/devtools/pseudo-class.svg#pseudo-class);
|
||||||
|
}
|
||||||
|
|
||||||
|
.show-presets #toggle-presets {
|
||||||
|
background: url(chrome://browser/skin/devtools/pseudo-class.svg#pseudo-class-checked);
|
||||||
|
filter: none;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче