mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 859950 - [Metro] Overlay back button. r=mbrubeck
This commit is contained in:
parent
ebdc75675f
commit
094db7dcd6
@ -677,6 +677,9 @@
|
||||
</hbox>
|
||||
</stack>
|
||||
|
||||
<html:div id="overlay-back" class="overlay-button"
|
||||
command="cmd_back" onclick="CommandUpdater.doCommand('cmd_back');"></html:div>
|
||||
|
||||
<svg:svg height="0">
|
||||
<svg:clipPath id="forward-button-clip-path" clipPathUnits="objectBoundingBox">
|
||||
<svg:path d="M 0,0 C 0.15,0.12 0.25,0.3 0.25,0.5 0.25,0.7 0.15,0.88 0,1 L 1,1 1,0 0,0 z"/>
|
||||
|
@ -976,6 +976,42 @@ setting[type="directory"] > .preferences-alignment {
|
||||
-moz-margin-end: @margin_large@;
|
||||
}
|
||||
|
||||
/* overlay buttons */
|
||||
.overlay-button {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: -72px;
|
||||
margin-top: -66px;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
background-image: url(chrome://browser/skin/images/overlay-back.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 6px center;
|
||||
background-size: 60px;
|
||||
background-color: hsla(210,30%,10%,.2);
|
||||
background-origin: padding-box;
|
||||
background-clip: padding-box;
|
||||
border: 6px solid hsla(0,0%,100%,.7);
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 0 1px hsla(0,0%,0%,.04),
|
||||
0 0 12px 0 hsla(0,0%,0%,.1);
|
||||
transition-duration: 550ms;
|
||||
transition-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
|
||||
}
|
||||
|
||||
.overlay-button[disabled] {
|
||||
box-shadow: none;
|
||||
transform: translateX(-54px);
|
||||
}
|
||||
|
||||
.overlay-button:not([disabled]):hover {
|
||||
background-position: right 12px center;
|
||||
background-size: 78px;
|
||||
background-color: hsla(210,30%,10%,.4);
|
||||
border-color: hsla(0,0%,100%,.9);
|
||||
transform: translateX(40px) scale(1.2);
|
||||
}
|
||||
|
||||
/* helperapp (save-as) popup ----------------------------------------------- */
|
||||
#helperapp-target {
|
||||
font-size: @font_small@ !important;
|
||||
|
BIN
browser/metro/theme/images/overlay-back.png
Normal file
BIN
browser/metro/theme/images/overlay-back.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -82,3 +82,4 @@ chrome.jar:
|
||||
skin/images/scrubber-hdpi.png (images/scrubber-hdpi.png)
|
||||
skin/images/selection-monocle.png (images/selection-monocle.png)
|
||||
skin/images/appbar-icons.png (images/appbar-icons.png)
|
||||
skin/images/overlay-back.png (images/overlay-back.png)
|
||||
|
Loading…
Reference in New Issue
Block a user