зеркало из https://github.com/mozilla/gecko-dev.git
Bug 771975 - Remove -moz-prefixed gradients usage from b2g. r=fabrice
This commit is contained in:
Родитель
8f7c1291d9
Коммит
ee5782f7e0
|
@ -102,7 +102,7 @@ textarea,
|
|||
border-style: solid;
|
||||
border-color: #7d7d7d;
|
||||
color: #414141;
|
||||
background: white -moz-linear-gradient(top, rgba(115,115,115,0.5) 0, rgba(215,215,215,0.5) 3px, rgba(255,255,255,0.2) 16px);
|
||||
background: white linear-gradient(rgba(115,115,115,0.5) 0, rgba(215,215,215,0.5) 3px, rgba(255,255,255,0.2) 16px);
|
||||
}
|
||||
|
||||
/* Selects are handled by the form helper, see bug 685197 */
|
||||
|
@ -120,15 +120,15 @@ button {
|
|||
border-style: solid;
|
||||
border-color: #7d7d7d;
|
||||
color: #414141;
|
||||
background: white -moz-linear-gradient(top, rgba(255,255,255,0.2) 0, rgba(215,215,215,0.5) 18px, rgba(115,115,115,0.5) 100%);
|
||||
background: white linear-gradient(rgba(255,255,255,0.2) 0, rgba(215,215,215,0.5) 18px, rgba(115,115,115,0.5) 100%);
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
background: white -moz-linear-gradient(top, rgba(115,115,115,0.5) 0, rgba(215,215,215,0.5) 2px, rgba(255,255,255,0.2) 6px);
|
||||
background: white linear-gradient(rgba(115,115,115,0.5) 0, rgba(215,215,215,0.5) 2px, rgba(255,255,255,0.2) 6px);
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
background: -moz-radial-gradient(6px 6px, cover, rgba(255,255,255,0.2) 3px, rgba(195,195,195,0.5) 5px, rgba(115,115,115,0.5) 100%);
|
||||
background: radial-gradient(at 6px 6px, rgba(255,255,255,0.2) 3px, rgba(195,195,195,0.5) 5px, rgba(115,115,115,0.5) 100%);
|
||||
}
|
||||
|
||||
select {
|
||||
|
@ -176,7 +176,7 @@ select > button {
|
|||
border-radius: 0;
|
||||
color: #414141;
|
||||
|
||||
background-image: -moz-radial-gradient(bottom left, #bbbbbb 40%, #f5f5f5), url(arrow.svg) !important;
|
||||
background-image: radial-gradient(at bottom left, #bbbbbb 40%, #f5f5f5), url(arrow.svg) !important;
|
||||
background-color: transparent;
|
||||
background-position: -15px center, 4px center !important;
|
||||
background-repeat: no-repeat, no-repeat !important;
|
||||
|
@ -196,7 +196,7 @@ input[type="file"]:focus > input[type="text"],
|
|||
outline: 0px !important;
|
||||
border-style: solid;
|
||||
border-color: rgb(94,128,153);
|
||||
background: white -moz-linear-gradient(top, rgba(27,113,177,0.5) 0, rgba(198,225,246,0.2) 3px, rgba(255,255,255,0.2) 16px);
|
||||
background: white linear-gradient(rgba(27,113,177,0.5) 0, rgba(198,225,246,0.2) 3px, rgba(255,255,255,0.2) 16px);
|
||||
}
|
||||
|
||||
select:not([size]):not([multiple]):focus,
|
||||
|
@ -209,7 +209,7 @@ button:focus {
|
|||
outline: 0px !important;
|
||||
border-style: solid;
|
||||
border-color: rgb(94,128,153);
|
||||
background: white -moz-linear-gradient(top, rgba(255,255,255,0.2) 0, rgba(198,225,256,0.2) 18px, rgba(27,113,177,0.5) 100%);
|
||||
background: white linear-gradient(rgba(255,255,255,0.2) 0, rgba(198,225,256,0.2) 18px, rgba(27,113,177,0.5) 100%);
|
||||
}
|
||||
|
||||
input[type="checkbox"]:focus,
|
||||
|
@ -218,11 +218,11 @@ input[type="radio"]:focus {
|
|||
}
|
||||
|
||||
input[type="checkbox"]:focus {
|
||||
background: white -moz-linear-gradient(top, rgba(27,113,177,0.5) 0, rgba(198,225,246,0.2) 2px, rgba(255,255,255,0.2) 6px);
|
||||
background: white linear-gradient(rgba(27,113,177,0.5) 0, rgba(198,225,246,0.2) 2px, rgba(255,255,255,0.2) 6px);
|
||||
}
|
||||
|
||||
input[type="radio"]:focus {
|
||||
background: -moz-radial-gradient(6px 6px, cover, rgba(255,255,255,0.2) 3px, rgba(198,225,246,0.2) 5px, rgba(27,113,177,0.5) 100%);
|
||||
background: radial-gradient(at 6px 6px, rgba(255,255,255,0.2) 3px, rgba(198,225,246,0.2) 5px, rgba(27,113,177,0.5) 100%);
|
||||
}
|
||||
|
||||
/* we need to be specific for selects because the above rules are specific too */
|
||||
|
@ -239,13 +239,13 @@ button[disabled],
|
|||
border-color: rgba(125,125,125,0.4);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
background: transparent -moz-linear-gradient(top, rgba(185,185,185,0.4) 0, rgba(235,235,235,0.4) 3px, rgba(255,255,255,0.4) 100%);
|
||||
background: transparent linear-gradient(rgba(185,185,185,0.4) 0, rgba(235,235,235,0.4) 3px, rgba(255,255,255,0.4) 100%);
|
||||
}
|
||||
|
||||
select:not([size]):not([multiple])[disabled],
|
||||
select[size="0"][disabled],
|
||||
select[size="1"][disabled] {
|
||||
background: transparent -moz-linear-gradient(top, rgba(255,255,255,0.4) 0, rgba(235,235,235,0.4) 3px, rgba(185,185,185,0.4) 100%);
|
||||
background: transparent linear-gradient(rgba(255,255,255,0.4) 0, rgba(235,235,235,0.4) 3px, rgba(185,185,185,0.4) 100%);
|
||||
}
|
||||
|
||||
input[type="button"][disabled],
|
||||
|
@ -253,7 +253,7 @@ input[type="submit"][disabled],
|
|||
input[type="reset"][disabled],
|
||||
button[disabled="true"] {
|
||||
padding: 0 7px 0 7px;
|
||||
background: transparent -moz-linear-gradient(top, rgba(255,255,255,0.4) 0, rgba(235,235,235,0.4) 3px, rgba(185,185,185,0.4) 100%);
|
||||
background: transparent linear-gradient(rgba(255,255,255,0.4) 0, rgba(235,235,235,0.4) 3px, rgba(185,185,185,0.4) 100%);
|
||||
}
|
||||
|
||||
input[type="radio"][disabled],
|
||||
|
|
Загрузка…
Ссылка в новой задаче