зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1693979 - Reduce the size of notification bars. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D105865
This commit is contained in:
Родитель
b70b1943ed
Коммит
b7714f3775
|
@ -17,7 +17,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
notification {
|
notification {
|
||||||
height: 56px;
|
min-height: 40px;
|
||||||
padding-inline-start: 16px;
|
padding-inline-start: 16px;
|
||||||
background: var(--notification-background);
|
background: var(--notification-background);
|
||||||
color: var(--notification-text);
|
color: var(--notification-text);
|
||||||
|
@ -80,21 +80,19 @@ notification[type="critical"] > .close-icon:hover:active {
|
||||||
|
|
||||||
.messageText {
|
.messageText {
|
||||||
margin-inline-start: 12px !important;
|
margin-inline-start: 12px !important;
|
||||||
margin-block: 12px;
|
margin-block: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.messageText > .text-link {
|
.messageText > .text-link {
|
||||||
color: inherit !important;
|
color: inherit !important;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
margin-top: 0;
|
margin: 0;
|
||||||
margin-bottom: 0;
|
|
||||||
margin-inline-start: 0;
|
|
||||||
margin-inline-end: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.messageImage {
|
.messageImage {
|
||||||
width: 32px;
|
width: 24px;
|
||||||
height: 32px;
|
height: 24px;
|
||||||
|
margin: 4px;
|
||||||
-moz-context-properties: fill;
|
-moz-context-properties: fill;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
}
|
}
|
||||||
|
@ -138,13 +136,13 @@ notification[type="critical"] > hbox > .messageImage {
|
||||||
.notification-button {
|
.notification-button {
|
||||||
appearance: none;
|
appearance: none;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: 2px;
|
border-radius: 4px;
|
||||||
background-color: var(--notification-button-background);
|
background-color: var(--notification-button-background);
|
||||||
/* Override button.css hover & active styles */
|
/* Override button.css hover & active styles */
|
||||||
color: var(--notification-button-text) !important;
|
color: var(--notification-button-text) !important;
|
||||||
padding: 0 8px;
|
padding: 0 6px;
|
||||||
margin: 4px 8px;
|
margin: 4px 8px;
|
||||||
height: 32px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-button[disabled] {
|
.notification-button[disabled] {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче