зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1714462 - Part 2: Remove CSS rules using "not (-moz-proton)" in miscellaneous files r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118594
This commit is contained in:
Родитель
cc56106ed5
Коммит
fc09f27525
|
@ -822,17 +822,6 @@ toolbar:not(#TabsToolbar) > #personal-bookmarks {
|
|||
}
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
@media (max-width: 550px) {
|
||||
#urlbar-container {
|
||||
min-width: calc(225px + 24px + 2 * var(--toolbarbutton-inner-padding));
|
||||
}
|
||||
#nav-bar[downloadsbuttonshown] #urlbar-container {
|
||||
min-width: 225px;
|
||||
}
|
||||
}
|
||||
} /*** END !proton ***/
|
||||
|
||||
/* Flexible spacer sizing (gets overridden in the navbar) */
|
||||
toolbarpaletteitem[place=toolbar][id^=wrapper-customizableui-special-spring],
|
||||
toolbarspring {
|
||||
|
|
|
@ -111,12 +111,6 @@ ol {
|
|||
border-top: 1px solid var(--in-content-border-color);
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
.login-list-item:hover {
|
||||
background-color: var(--in-content-page-background);
|
||||
}
|
||||
} /*** END !proton ***/
|
||||
|
||||
@media (-moz-proton) {
|
||||
.login-list-item:not(.selected):hover {
|
||||
background-color: var(--in-content-button-background-hover);
|
||||
|
|
|
@ -123,18 +123,6 @@
|
|||
}
|
||||
} /*** END proton ***/
|
||||
|
||||
@media not (-moz-proton) {
|
||||
.tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-context-line {
|
||||
background: linear-gradient(to right, transparent 10%, var(--identity-tab-color) 10%, var(--identity-tab-color) 90%, transparent 90%);
|
||||
height: 2px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.tabbrowser-tab[pinned][usercontextid] > .tab-stack > .tab-background > .tab-context-line {
|
||||
background: linear-gradient(to right, transparent 30%, var(--identity-tab-color) 30%, var(--identity-tab-color) 70%, transparent 70%);
|
||||
}
|
||||
} /*** END !proton ***/
|
||||
|
||||
.userContext-icon-inprefs {
|
||||
margin-inline: 4px 10px;
|
||||
}
|
||||
|
|
|
@ -1006,18 +1006,6 @@ label[for="tab-cryptominer"]:hover ~ #highlight-hover {
|
|||
font-weight: 600;
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
#manage-protections,
|
||||
#sign-up-for-monitor-link,
|
||||
#get-proxy-extension-link,
|
||||
#get-vpn-link,
|
||||
#vpn-banner-link,
|
||||
.monitor-partial-breaches-link-wrapper,
|
||||
.monitor-breaches-link-wrapper {
|
||||
font-weight: inherit;
|
||||
}
|
||||
} /** END !proton **/
|
||||
|
||||
#manage-protections:active,
|
||||
#sign-up-for-monitor-link:active,
|
||||
#get-proxy-extension-link:active,
|
||||
|
|
|
@ -24,13 +24,6 @@ html:not([dir]) pre { /* Not a UA sheet, so doesn't use :-moz-has-dir-attr */
|
|||
background: rgb(28,27,34);
|
||||
color: rgb(251,251,254);
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
:root {
|
||||
background: #2a2a2e;
|
||||
color: rgb(249, 249, 250);
|
||||
}
|
||||
} /** END !proton **/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -56,12 +56,6 @@ hr {
|
|||
margin-block: 0;
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
hr {
|
||||
margin-inline: 0;
|
||||
}
|
||||
} /*** END !proton ***/
|
||||
|
||||
.header-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
@ -127,13 +121,6 @@ input[type="text"] {
|
|||
padding-inline-start: 8px;
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
input[type="number"],
|
||||
input[type="text"] {
|
||||
padding-inline-start: 4px;
|
||||
}
|
||||
} /*** END !proton ***/
|
||||
|
||||
.toggle-group-label {
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
@ -285,20 +272,6 @@ input[type="number"].photon-number::-moz-number-spin-box {
|
|||
border-end-end-radius: 4px;
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
.error-message {
|
||||
color: #D70022;
|
||||
}
|
||||
|
||||
input[type="number"].photon-number {
|
||||
padding-inline-start: 4px;
|
||||
}
|
||||
|
||||
input[type="number"].photon-number::-moz-number-spin-box {
|
||||
border-radius: 0;
|
||||
}
|
||||
} /*** END !proton ***/
|
||||
|
||||
input[type="number"].photon-number:hover::-moz-number-spin-box {
|
||||
border-color: var(--in-content-border-hover);
|
||||
}
|
||||
|
|
|
@ -43,28 +43,10 @@
|
|||
border-end-end-radius: 4px;
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
.toggle-group-label:first-of-type {
|
||||
border-start-start-radius: 2px;
|
||||
border-end-start-radius: 2px;
|
||||
}
|
||||
|
||||
.toggle-group-label:last-of-type {
|
||||
border-start-end-radius: 2px;
|
||||
border-end-end-radius: 2px;
|
||||
}
|
||||
} /*** END !proton ***/
|
||||
|
||||
.toggle-group-input:disabled + .toggle-group-label {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
.toggle-group-input:disabled + .toggle-group-label {
|
||||
opacity: 0.7;
|
||||
}
|
||||
} /*** END !proton ***/
|
||||
|
||||
.toggle-group-input:enabled + .toggle-group-label:hover {
|
||||
background-color: var(--in-content-button-background-hover);
|
||||
color: var(--in-content-button-text-color-hover);
|
||||
|
|
|
@ -277,19 +277,3 @@ strong {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
:host {
|
||||
/* Colors used by default, and for [type=generic] message bars.*/
|
||||
background-color: var(--in-content-box-info-background);
|
||||
color: var(--in-content-text-color);
|
||||
}
|
||||
.container {
|
||||
padding: 8px;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.close {
|
||||
margin-inline-end: 4px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,41 +24,3 @@
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
:host {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
width: 18px;
|
||||
height: 9px;
|
||||
-moz-context-properties: fill, stroke;
|
||||
stroke: var(--in-content-box-border-color);
|
||||
fill: var(--in-content-box-background);
|
||||
background: url("chrome://global/skin/arrow/panelarrow-vertical.svg");
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
:host([valign="bottom"]) > .arrow.bottom,
|
||||
:host([valign="top"]) > .arrow.top {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.arrow.top {
|
||||
top: -9px;
|
||||
}
|
||||
|
||||
.arrow.bottom {
|
||||
bottom: -9px;
|
||||
transform: scaleY(-1);
|
||||
}
|
||||
|
||||
:host([align="left"]) > .arrow {
|
||||
left: 16px;
|
||||
}
|
||||
|
||||
:host([align="right"]) > .arrow {
|
||||
right: 16px;
|
||||
}
|
||||
} /*** END !proton ***/
|
||||
|
|
|
@ -55,19 +55,3 @@ label, description {
|
|||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media not (-moz-proton) {
|
||||
#description-box, #chooser {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
#rememberContainer {
|
||||
margin-bottom: 1em;
|
||||
margin-inline-start: 6px;
|
||||
}
|
||||
|
||||
#remember-text {
|
||||
margin-top: 0.5em;
|
||||
margin-inline-start: 30px; /* checkbox width + its inline margin */
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче