зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1450588 - Remove old bookmark animation code and images. r=ntim,dao
This commit is contained in:
Родитель
688a9261d7
Коммит
8084e0be59
|
@ -1250,16 +1250,6 @@ var BookmarkingUI = {
|
|||
return BrowserPageActions.panelAnchorNodeForAction(action);
|
||||
},
|
||||
|
||||
get notifier() {
|
||||
delete this.notifier;
|
||||
return this.notifier = document.getElementById("bookmarked-notification-anchor");
|
||||
},
|
||||
|
||||
get dropmarkerNotifier() {
|
||||
delete this.dropmarkerNotifier;
|
||||
return this.dropmarkerNotifier = document.getElementById("bookmarked-notification-dropmarker-anchor");
|
||||
},
|
||||
|
||||
get broadcaster() {
|
||||
delete this.broadcaster;
|
||||
let broadcaster = document.getElementById("bookmarkThisPageBroadcaster");
|
||||
|
|
|
@ -522,15 +522,6 @@
|
|||
</vbox>
|
||||
</hbox>
|
||||
|
||||
<hbox id="bookmarked-notification-container" mousethrough="always">
|
||||
<vbox id="bookmarked-notification-anchor">
|
||||
<vbox id="bookmarked-notification"/>
|
||||
</vbox>
|
||||
<vbox id="bookmarked-notification-dropmarker-anchor">
|
||||
<image id="bookmarked-notification-dropmarker-icon"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
||||
<tooltip id="dynamic-shortcut-tooltip"
|
||||
onpopupshowing="UpdateDynamicShortcutTooltipText(this);"/>
|
||||
|
||||
|
|
|
@ -142,7 +142,6 @@ menuitem.bookmark-item {
|
|||
opacity: 0.7;
|
||||
}
|
||||
|
||||
%include ../shared/bookmarked-notification.inc.css
|
||||
%include ../shared/toolbarbuttons.inc.css
|
||||
%include ../shared/toolbarbutton-icons.inc.css
|
||||
%include ../shared/menupanel.inc.css
|
||||
|
|
|
@ -218,8 +218,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
%include ../shared/bookmarked-notification.inc.css
|
||||
|
||||
%include ../shared/toolbarbuttons.inc.css
|
||||
%include ../shared/toolbarbutton-icons.inc.css
|
||||
%include ../shared/menupanel.inc.css
|
||||
|
|
|
@ -1,64 +0,0 @@
|
|||
/* ----- BOOKMARK STAR ANIMATION ----- */
|
||||
|
||||
@keyframes animation-bookmarkAdded {
|
||||
from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
|
||||
60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
|
||||
80% { opacity: 1; }
|
||||
to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
|
||||
}
|
||||
|
||||
@keyframes animation-bookmarkPulse {
|
||||
from { transform: scale(1); }
|
||||
50% { transform: scale(1.3); }
|
||||
to { transform: scale(1); }
|
||||
}
|
||||
|
||||
#bookmarked-notification-container {
|
||||
min-height: 1px;
|
||||
min-width: 1px;
|
||||
height: 1px;
|
||||
margin-bottom: -1px;
|
||||
z-index: 5;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#bookmarked-notification {
|
||||
background-size: 16px;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#bookmarked-notification-dropmarker-anchor {
|
||||
z-index: -1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#bookmarked-notification-dropmarker-icon {
|
||||
-moz-context-properties: fill;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
|
||||
background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
|
||||
animation: animation-bookmarkAdded 800ms;
|
||||
animation-timing-function: ease, ease, ease;
|
||||
}
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
|
||||
background-image: url("chrome://browser/skin/places/bookmarks-notification-finish@2x.png");
|
||||
}
|
||||
}
|
||||
|
||||
#bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
|
||||
visibility: visible;
|
||||
animation: animation-bookmarkPulse 300ms;
|
||||
animation-delay: 600ms;
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
|
|
@ -216,8 +216,6 @@
|
|||
skin/classic/browser/panic-panel/header@2x.png (../shared/panic-panel/header@2x.png)
|
||||
skin/classic/browser/panic-panel/icons.png (../shared/panic-panel/icons.png)
|
||||
skin/classic/browser/panic-panel/icons@2x.png (../shared/panic-panel/icons@2x.png)
|
||||
skin/classic/browser/places/bookmarks-notification-finish.png (../shared/places/bookmarks-notification-finish.png)
|
||||
skin/classic/browser/places/bookmarks-notification-finish@2x.png (../shared/places/bookmarks-notification-finish@2x.png)
|
||||
skin/classic/browser/places/bookmarksMenu.svg (../shared/places/bookmarksMenu.svg)
|
||||
skin/classic/browser/places/bookmarksToolbar.svg (../shared/places/bookmarksToolbar.svg)
|
||||
skin/classic/browser/places/folder.svg (../shared/places/folder.svg)
|
||||
|
|
Двоичные данные
browser/themes/shared/places/bookmarks-notification-finish.png
Двоичные данные
browser/themes/shared/places/bookmarks-notification-finish.png
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 3.3 KiB |
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 8.4 KiB |
|
@ -374,7 +374,6 @@ menuitem.bookmark-item {
|
|||
}
|
||||
|
||||
|
||||
%include ../shared/bookmarked-notification.inc.css
|
||||
%include ../shared/toolbarbuttons.inc.css
|
||||
%include ../shared/toolbarbutton-icons.inc.css
|
||||
%include ../shared/menupanel.inc.css
|
||||
|
|
Загрузка…
Ссылка в новой задаче