aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/global/popup.css
diff options
context:
space:
mode:
Diffstat (limited to 'arc-firefox-theme/chrome/global/popup.css')
-rw-r--r--arc-firefox-theme/chrome/global/popup.css41
1 files changed, 18 insertions, 23 deletions
diff --git a/arc-firefox-theme/chrome/global/popup.css b/arc-firefox-theme/chrome/global/popup.css
index 63c8d86..80256df 100644
--- a/arc-firefox-theme/chrome/global/popup.css
+++ b/arc-firefox-theme/chrome/global/popup.css
@@ -4,14 +4,6 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-/* ::::: Variables ::::: */
-.panel-arrowcontent {
- --panel-arrowcontent-padding: 10px;
- --panel-arrowcontent-background: -moz-Dialog;
- --panel-arrowcontent-color: -moz-DialogText;
- --panel-arrowcontent-border: 1px solid ThreeDShadow;
-}
-
/* ::::: menupopup ::::: */
menupopup,
@@ -29,55 +21,58 @@ panel[type="arrow"] {
panel[type="arrow"][side="top"],
panel[type="arrow"][side="bottom"] {
- margin-left: -16px;
- margin-right: -16px;
+ margin-left: -20px;
+ margin-right: -20px;
}
panel[type="arrow"][side="left"],
panel[type="arrow"][side="right"] {
- margin-top: -16px;
- margin-bottom: -16px;
+ margin-top: -20px;
+ margin-bottom: -20px;
}
.panel-arrowcontent {
padding: var(--panel-arrowcontent-padding);
color: var(--panel-arrowcontent-color);
background: var(--panel-arrowcontent-background);
- border: var(--panel-arrowcontent-border);
+ border: 1px solid var(--panel-arrowcontent-border-color);
+ box-shadow: 0 0 4px hsla(0,0%,0%,.2);
+ margin: 4px;
}
.panel-arrow[side="top"],
.panel-arrow[side="bottom"] {
- list-style-image: url("chrome://global/skin/icons/panelarrow-vertical.svg");
+ list-style-image: var(--panel-arrow-image-vertical,
+ url("chrome://global/skin/arrow/panelarrow-vertical-themed.svg"));
position: relative;
- margin-left: 6px;
- margin-right: 6px;
+ margin-left: 10px;
+ margin-right: 10px;
}
.panel-arrow[side="top"] {
- margin-bottom: -1px;
+ margin-bottom: -5px;
}
.panel-arrow[side="bottom"] {
transform: scaleY(-1);
- margin-top: -1px;
+ margin-top: -5px;
}
.panel-arrow[side="left"],
.panel-arrow[side="right"] {
- list-style-image: url("chrome://global/skin/icons/panelarrow-horizontal.svg");
+ list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal-themed.svg");
position: relative;
- margin-top: 6px;
- margin-bottom: 6px;
+ margin-top: 10px;
+ margin-bottom: 10px;
}
.panel-arrow[side="left"] {
- margin-right: -1px;
+ margin-right: -5px;
}
.panel-arrow[side="right"] {
transform: scaleX(-1);
- margin-left: -1px;
+ margin-left: -5px;
}
/* ::::: tooltip ::::: */