second and final part of syncing both themes with toolkit windows theme changes in...
[themes.git] / EarlyBlue / global / global.css
index e76b20dcda357a496f0dee103d54cc691d40d4e2..7e71c174c2f5e7fc469a4abfb2547ed98727b4d6 100644 (file)
@@ -27,10 +27,10 @@ menulist > menupopup {
 
 /* ::::: Variables ::::: */
 :root {
-  --panel-arrowcontent-padding: 6px;
-  --panel-arrowcontent-background: #CCD0DD;
-  --panel-arrowcontent-color: #000000;
-  --panel-arrowcontent-border-color: #CCD0DD;
+  --arrowpanel-padding: 6px;
+  --arrowpanel-background: #CCD0DD;
+  --arrowpanel-color: #000000;
+  --arrowpanel-border-color: #CCD0DD;
 }
 
 /* ::::: root elements ::::: */
@@ -276,6 +276,22 @@ popupnotificationcontent {
   margin-top: .5em;
 }
 
+/* === BEGIN notification-popup.inc.css === */
+
+.popup-notification-panel > .panel-arrowcontainer > .panel-arrowcontent {
+  /* In order to display the action buttons near the edge of the arrow panel we
+   * have to reset its default padding and specify the padding in the individual
+   * "popupnotification" elements instead. To keep the rounded borders of the
+   * panel, we also have to ensure the contents are clipped to the border box
+   * by hiding the overflow, and we have to override the "display" property so
+   * that the height of the contents is computed correctly in that case. */
+  padding: 0;
+  overflow: hidden;
+  display: block;
+}
+
+/* === END notification-popup.inc.css === */
+
 /* :::::: autoscroll popup ::::: */
 
 .autoscroller {