From: Robert Kaiser Date: Sun, 8 Dec 2013 20:01:43 +0000 (+0100) Subject: some small popup tweaks in both themes X-Git-Tag: LCARStrek-2.23~3 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=fcfc89aa72f63ecd68c3fe8bbe1e88909e57da49;p=themes.git some small popup tweaks in both themes --- diff --git a/EarlyBlue/global/popup.css b/EarlyBlue/global/popup.css index 99d0ec08..1b9f33a7 100644 --- a/EarlyBlue/global/popup.css +++ b/EarlyBlue/global/popup.css @@ -2,6 +2,10 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +/* ===== popup.css ====================================================== + == Styles used by the XUL popup element. + ======================================================================= */ + @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* ::::: menupopup ::::: */ @@ -14,9 +18,17 @@ panel { background-color: #CCD0DD; } +menupopup > menu > menupopup { + /* align submenus */ + margin-top: -1px; +} + +/* ::::: arrow panel ::::: */ + panel[type="arrow"] { background: transparent; border: none; + padding: 0; transition: opacity 300ms; } @@ -65,7 +77,7 @@ panel[type="arrow"][side="right"] { background-color: #CCD0DD; background-clip: padding-box; border: 1px outset #CCD0DD; - margin: 3px; + margin: 0px; } .panel-arrow[side="top"], @@ -77,12 +89,12 @@ panel[type="arrow"][side="right"] { } .panel-arrow[side="top"] { - margin-bottom: -5px; + margin-bottom: -1px; } .panel-arrow[side="bottom"] { transform: scaleY(-1); - margin-top: -5px; + margin-top: -1px; } .panel-arrow[side="left"], @@ -94,12 +106,12 @@ panel[type="arrow"][side="right"] { } .panel-arrow[side="left"] { - margin-right: -5px; + margin-right: -1px; } .panel-arrow[side="right"] { transform: scaleX(-1); - margin-left: -5px; + margin-left: -1px; } /* ::::: tooltip ::::: */ diff --git a/LCARStrek/global/popup.css b/LCARStrek/global/popup.css index 26422efd..1172f553 100644 --- a/LCARStrek/global/popup.css +++ b/LCARStrek/global/popup.css @@ -13,7 +13,7 @@ menupopup, panel { border: 1px solid #FF9F00; - padding: 0px; + padding: 1px; min-width: 1px; background-color: #000000; }