X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fpopup.css;fp=EarlyBlue%2Fglobal%2Fpopup.css;h=74f3cc77b319dcbd7686c1cd5ce893c0215e44dd;hp=4ca198f7e45c949113c8b4aa2bb6659b6ddf93d0;hb=71a617ff22ae6266108ab20198128db5ae2bd33c;hpb=46dc2718163b4e6ffb52ef8f46bef4c8db7ed804 diff --git a/EarlyBlue/global/popup.css b/EarlyBlue/global/popup.css index 4ca198f7..74f3cc77 100644 --- a/EarlyBlue/global/popup.css +++ b/EarlyBlue/global/popup.css @@ -17,7 +17,33 @@ panel { panel[type="arrow"] { background: transparent; border: none; - -moz-transition: opacity 300ms; + transition: opacity 300ms; +} + +.panel-arrowcontainer[panelopen] { + transition-duration: 200ms, 150ms; + transition-property: opacity, transform; + transition-timing-function: ease-out; +} + +.panel-arrowcontainer:not([panelopen]) { + opacity: 0; +} + +.panel-arrowcontainer:not([panelopen])[side="top"] { + transform: translateY(-20px); +} + +.panel-arrowcontainer:not([panelopen])[side="bottom"] { + transform: translateY(20px); +} + +.panel-arrowcontainer:not([panelopen])[side="left"] { + transform: translateX(-20px); +} + +.panel-arrowcontainer:not([panelopen])[side="right"] { + transform: translateX(20px); } panel[type="arrow"][side="top"], @@ -53,7 +79,7 @@ panel[type="arrow"][side="right"] { } .panel-arrow[side="bottom"] { - -moz-transform: scaleY(-1); + transform: scaleY(-1); margin-top: -5px; } @@ -70,7 +96,7 @@ panel[type="arrow"][side="right"] { } .panel-arrow[side="right"] { - -moz-transform: scaleX(-1); + transform: scaleX(-1); margin-left: -5px; }