зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1350539 - Clean up custom .checkbox-check styling. r=jaws
MozReview-Commit-ID: BfiA0gp9giI --HG-- extra : rebase_source : 1a398d1c5fa0cbeb53b39a8f6afb3bf9348f2d6b
This commit is contained in:
Родитель
4ad26e64d1
Коммит
8ef113f305
|
@ -5,11 +5,6 @@
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Global Styles */
|
|
||||||
.checkbox-check {
|
|
||||||
-moz-appearance: checkbox;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* General Pane */
|
/* General Pane */
|
||||||
#useFirefoxSync,
|
#useFirefoxSync,
|
||||||
#getStarted {
|
#getStarted {
|
||||||
|
|
|
@ -52,7 +52,7 @@ xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
|
||||||
}
|
}
|
||||||
|
|
||||||
xul|*.checkbox-check {
|
xul|*.checkbox-check {
|
||||||
background-image: none !important;
|
background-image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
xul|*.checkbox-check[checked] {
|
xul|*.checkbox-check[checked] {
|
||||||
|
|
|
@ -529,8 +529,7 @@ html|input[type="checkbox"] {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-inline-end: 10px;
|
margin-inline-end: 10px;
|
||||||
background-color: #f1f1f1;
|
background-color: #f1f1f1;
|
||||||
/* !important needed to override toolkit checked !important rule */
|
background-image: linear-gradient(#fff, rgba(255,255,255,0.8));
|
||||||
background-image: linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
|
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
|
box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
|
||||||
|
@ -546,7 +545,7 @@ xul|*.checkbox-check[checked] {
|
||||||
}
|
}
|
||||||
|
|
||||||
html|input[type="checkbox"]:checked {
|
html|input[type="checkbox"]:checked {
|
||||||
background-image: url("chrome://global/skin/in-content/check.svg#check"), linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
|
background-image: url("chrome://global/skin/in-content/check.svg#check"), linear-gradient(#fff, rgba(255,255,255,0.8));
|
||||||
}
|
}
|
||||||
|
|
||||||
xul|checkbox[disabled="true"] > xul|*.checkbox-check,
|
xul|checkbox[disabled="true"] > xul|*.checkbox-check,
|
||||||
|
|
|
@ -26,7 +26,7 @@ xul|checkbox {
|
||||||
|
|
||||||
@media (-moz-windows-default-theme: 0) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
xul|*.checkbox-check {
|
xul|*.checkbox-check {
|
||||||
background-image: none !important;
|
background-image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
xul|*.checkbox-check[checked] {
|
xul|*.checkbox-check[checked] {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче