зеркало из https://github.com/mozilla/pjs.git
Bug 615481 - Doorhanger (popup) notifications need a maximum width and the text needs to wrap if necessary [r=gavin, a=blocking-2.0:betaN+]
This commit is contained in:
Родитель
013cc2ea40
Коммит
f2d07dd2af
|
@ -998,7 +998,7 @@
|
||||||
xbl:inherits="popupid"/>
|
xbl:inherits="popupid"/>
|
||||||
<xul:vbox>
|
<xul:vbox>
|
||||||
<xul:description class="popup-notification-description"
|
<xul:description class="popup-notification-description"
|
||||||
xbl:inherits="value=label"/>
|
xbl:inherits="xbl:text=label"/>
|
||||||
<xul:spacer flex="1"/>
|
<xul:spacer flex="1"/>
|
||||||
<xul:hbox pack="end">
|
<xul:hbox pack="end">
|
||||||
<xul:label anonid="learnmore" class="text-link geolocation-text-link"/>
|
<xul:label anonid="learnmore" class="text-link geolocation-text-link"/>
|
||||||
|
|
|
@ -424,7 +424,7 @@
|
||||||
xbl:inherits="popupid"/>
|
xbl:inherits="popupid"/>
|
||||||
<xul:vbox flex="1">
|
<xul:vbox flex="1">
|
||||||
<xul:description class="popup-notification-description"
|
<xul:description class="popup-notification-description"
|
||||||
xbl:inherits="value=label"/>
|
xbl:inherits="xbl:text=label"/>
|
||||||
<xul:spacer flex="1"/>
|
<xul:spacer flex="1"/>
|
||||||
<xul:hbox pack="end">
|
<xul:hbox pack="end">
|
||||||
<xul:button anonid="button"
|
<xul:button anonid="button"
|
||||||
|
|
|
@ -52,3 +52,9 @@ notification[type="critical"] .messageImage {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Popup notification */
|
||||||
|
|
||||||
|
.popup-notification-description {
|
||||||
|
max-width: 248px;
|
||||||
|
}
|
||||||
|
|
|
@ -89,8 +89,7 @@ notification[type="critical"] .messageImage {
|
||||||
/* Popup notification */
|
/* Popup notification */
|
||||||
|
|
||||||
.popup-notification-description {
|
.popup-notification-description {
|
||||||
margin-bottom: 10px;
|
max-width: 248px;
|
||||||
-moz-margin-start: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-notification-menubutton {
|
.popup-notification-menubutton {
|
||||||
|
|
|
@ -71,7 +71,7 @@ panel[type="arrow"] {
|
||||||
box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset,
|
box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset,
|
||||||
0 1px 0 rgba(255,255,255,.05) inset,
|
0 1px 0 rgba(255,255,255,.05) inset,
|
||||||
0 0 0 1px rgba(0,0,0,.25);
|
0 0 0 1px rgba(0,0,0,.25);
|
||||||
padding: 14px;
|
padding: 16px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,11 @@ notification[type="critical"] .messageImage {
|
||||||
-moz-margin-end: 5px;
|
-moz-margin-end: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Popup notification button */
|
/* Popup notification */
|
||||||
|
|
||||||
|
.popup-notification-description {
|
||||||
|
max-width: 248px;
|
||||||
|
}
|
||||||
|
|
||||||
.popup-notification-menubutton {
|
.popup-notification-menubutton {
|
||||||
margin-top: 17px;
|
margin-top: 17px;
|
||||||
|
|
|
@ -82,7 +82,7 @@ panel[type="arrow"] {
|
||||||
0 1px 3px 2px rgba(0,0,0,.65);
|
0 1px 3px 2px rgba(0,0,0,.65);
|
||||||
%else
|
%else
|
||||||
background: -moz-linear-gradient(rgba(250,251,253,.95), rgba(250,251,253,.95) 20px, rgba(250,251,253,.95));
|
background: -moz-linear-gradient(rgba(250,251,253,.95), rgba(250,251,253,.95) 20px, rgba(250,251,253,.95));
|
||||||
padding: 14px;
|
padding: 16px;
|
||||||
margin: 3px;
|
margin: 3px;
|
||||||
box-shadow: 0 0 5px 1px rgba(184,205,232,1) inset,
|
box-shadow: 0 0 5px 1px rgba(184,205,232,1) inset,
|
||||||
0 0 0 1px rgba(0,0,0,.25),
|
0 0 0 1px rgba(0,0,0,.25),
|
||||||
|
@ -101,7 +101,7 @@ panel[type="arrow"] {
|
||||||
-moz-border-left-colors: rgba(255,255,255,.6) rgba(0,0,0,.7);
|
-moz-border-left-colors: rgba(255,255,255,.6) rgba(0,0,0,.7);
|
||||||
-moz-border-bottom-colors: rgba(255,255,255,.6) rgba(0,0,0,.7);
|
-moz-border-bottom-colors: rgba(255,255,255,.6) rgba(0,0,0,.7);
|
||||||
-moz-border-right-colors: rgba(255,255,255,.6) rgba(0,0,0,.7);
|
-moz-border-right-colors: rgba(255,255,255,.6) rgba(0,0,0,.7);
|
||||||
padding: 14px;
|
padding: 16px;
|
||||||
}
|
}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче