Bug 825035 - Blocklisted click-to-play notification only fades in/out once per window per session. r=jaws

This commit is contained in:
Dao Gottwald 2013-02-06 00:59:21 -05:00
parent 15fe6a346b
commit bc7615810d
3 changed files with 21 additions and 0 deletions

View File

@ -1289,6 +1289,13 @@ toolbar[iconsize="small"] #webrtc-status-button {
list-style-image: url(chrome://mozapps/skin/plugins/notifyPluginBlocked.png);
}
#notification-popup-box[hidden] {
/* Override display:none to make the pluginBlockedNotification animation work
when showing the notification repeatedly. */
display: -moz-box;
visibility: collapse;
}
#blocked-plugins-notification-icon[showing] {
animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
}

View File

@ -3085,6 +3085,13 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
}
}
#notification-popup-box[hidden] {
/* Override display:none to make the pluginBlockedNotification animation work
when showing the notification repeatedly. */
display: -moz-box;
visibility: collapse;
}
#blocked-plugins-notification-icon[showing] {
animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
}

View File

@ -2353,6 +2353,13 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
list-style-image: url(chrome://mozapps/skin/plugins/notifyPluginBlocked.png);
}
#notification-popup-box[hidden] {
/* Override display:none to make the pluginBlockedNotification animation work
when showing the notification repeatedly. */
display: -moz-box;
visibility: collapse;
}
#blocked-plugins-notification-icon[showing] {
animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
}