зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1282689 - Apply dot-style notification badge for downloading problematic files r=Paolo
MozReview-Commit-ID: Hxf0TbhPlOx --HG-- extra : rebase_source : 21aff3923f43a8ca29f75134cc580334c9af9391
This commit is contained in:
Родитель
23bff9f268
Коммит
224a01631c
|
@ -48,23 +48,29 @@ toolbar[brighttext] #downloads-button[cui-areatype="toolbar"]:not([attention="su
|
|||
background-image: var(--downloads-indicator-icon-inverted);
|
||||
}
|
||||
|
||||
#downloads-button[cui-areatype="toolbar"][attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge,
|
||||
#downloads-button[cui-areatype="toolbar"][attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge,
|
||||
#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
display: -moz-box;
|
||||
height: 13px;
|
||||
width: 13px;
|
||||
background-size: contain;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
min-width: 0;
|
||||
border-radius: 50%;
|
||||
/* "!important" is necessary to override the rule in toolbarbutton.css */
|
||||
margin-top: -1px !important;
|
||||
margin-right: -2px !important;
|
||||
}
|
||||
|
||||
#downloads-button[cui-areatype="toolbar"][attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #D90000 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center;
|
||||
#downloads-button[cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
height: 7px;
|
||||
width: 7px;
|
||||
}
|
||||
|
||||
#downloads-button[cui-areatype="toolbar"][attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #FFBF00 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center;
|
||||
#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #D90000;
|
||||
}
|
||||
|
||||
#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #FFBF00;
|
||||
}
|
||||
|
||||
#downloads-button[cui-areatype="toolbar"][attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive,
|
||||
|
|
|
@ -36,20 +36,26 @@ toolbar[brighttext] #downloads-indicator-icon {
|
|||
#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge,
|
||||
#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
display: -moz-box;
|
||||
height: 13px;
|
||||
width: 13px;
|
||||
background-size: contain;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
min-width: 0;
|
||||
border-radius: 50%;
|
||||
/* "!important" is necessary to override the rule in toolbarbutton.css */
|
||||
margin-top: -1px !important;
|
||||
margin-right: -2px !important;
|
||||
}
|
||||
|
||||
#downloads-button[cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
height: 7px;
|
||||
width: 7px;
|
||||
}
|
||||
|
||||
#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #D90000 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center;
|
||||
background: #D90000;
|
||||
}
|
||||
|
||||
#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #FFBF00 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center;
|
||||
background: #FFBF00;
|
||||
}
|
||||
|
||||
#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive,
|
||||
|
|
|
@ -115,7 +115,6 @@
|
|||
height: 13px;
|
||||
}
|
||||
|
||||
#PanelUI-menu-button[badge-status="download-severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge,
|
||||
#PanelUI-menu-button[badge-status="update-failed"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #D90000 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center;
|
||||
height: 13px;
|
||||
|
@ -123,16 +122,31 @@
|
|||
|
||||
#PanelUI-menu-button[badge-status="download-warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge,
|
||||
#PanelUI-menu-button[badge-status="fxa-needs-authentication"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
height: 13px;
|
||||
box-shadow: none;
|
||||
filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
|
||||
}
|
||||
|
||||
#PanelUI-menu-button[badge-status="download-warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge,
|
||||
#PanelUI-menu-button[badge-status="download-severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
min-width: 0;
|
||||
border-radius: 50%;
|
||||
/* "!important" is necessary to override the rule in toolbarbutton.css */
|
||||
margin-top: -1px !important;
|
||||
margin-right: -2px !important;
|
||||
}
|
||||
|
||||
#PanelUI-menu-button[badge-status="download-warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #FFBF00 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center;
|
||||
background: #FFBF00;
|
||||
}
|
||||
|
||||
#PanelUI-menu-button[badge-status="download-severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #D90000;
|
||||
}
|
||||
|
||||
#PanelUI-menu-button[badge-status="fxa-needs-authentication"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
height: 13px;
|
||||
background: transparent url(chrome://browser/skin/warning.svg) no-repeat center;
|
||||
}
|
||||
|
||||
|
|
|
@ -51,20 +51,26 @@ toolbar[brighttext] #downloads-button:not([attention="success"]) > #downloads-in
|
|||
#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge,
|
||||
#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
display: -moz-box;
|
||||
height: 13px;
|
||||
width: 13px;
|
||||
background-size: contain;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15));
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
min-width: 0;
|
||||
border-radius: 50%;
|
||||
/* "!important" is necessary to override the rule in toolbarbutton.css */
|
||||
margin-top: -1px !important;
|
||||
margin-right: -2px !important;
|
||||
}
|
||||
|
||||
#downloads-button[cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
height: 7px;
|
||||
width: 7px;
|
||||
}
|
||||
|
||||
#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #D90000 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center;
|
||||
background: #D90000;
|
||||
}
|
||||
|
||||
#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
background: #FFBF00 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center;
|
||||
background: #FFBF00;
|
||||
}
|
||||
|
||||
#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive,
|
||||
|
|
|
@ -97,7 +97,6 @@ toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
|
|||
.toolbarbutton-badge:-moz-window-inactive {
|
||||
background-color: rgb(230,230,230);
|
||||
box-shadow: none;
|
||||
border: 1px solid rgb(206,206,206);
|
||||
color: rgb(192,192,192);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче