sync both themes with toolkit windows theme changes in Mozilla 45-48 cycles
[themes.git] / LCARStrek / global / in-content / common.css
index 17aecf568d89f9eb1913521d3b845ff8d359fca6..d5294d1c5e1c42e47c28bd8c27b97cd5f57ed419 100644 (file)
   --in-content-primary-button-background-active: #FF9F00;
   --in-content-table-border-dark-color: #9C9CFF;
   --in-content-table-header-background: #A09090;
-  ---in-content-help-button-background: #ffcb00;
-  ---in-content-help-button-background-hover: #f4c200;
-  ---in-content-help-button-background-active: #eaba00;
   --in-content-disabled-text: #8050B0;
 }
+
+@-moz-document url("about:privatebrowsing") {
+  #bar {
+    background-color: #6000CF !important;
+    color: #FFCF00 !important;
+  }
+
+  #tpEnabled {
+    background-color: #008484 !important;
+    color: #000000 !important;
+  }
+
+  #tpDisabled {
+    background-color: #FF0000 !important;
+    color: #000000 !important;
+  }
+
+  #trackingProtectionSection {
+    border-color: #A09090 !important;
+  }
+}
+
 html|html,
 xul|page,
 xul|window {
@@ -109,7 +128,7 @@ xul|groupbox {
   font-size: 1.25rem;
 }
 
-xul|groupbox xul|label,
+xul|groupbox xul|label:not(.menu-accel):not(.menu-text),
 xul|groupbox xul|description {
   / !important needed to override toolkit !important rule /
   -moz-margin-start: 0 !important;
@@ -216,7 +235,6 @@ html|button:disabled,
 xul|button[disabled="true"],
 xul|colorpicker[type="button"][disabled="true"],
 xul|menulist[disabled="true"] {
-  cursor: not-allowed;
   background-color: var(--in-content-box-background-disabled);
   color: var(--in-content-selected-text);
 }
@@ -265,10 +283,9 @@ xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
 */
 xul|*.help-button {
 /*
-  min-width: 30px;
-  border-radius: 2px;
+  min-width: 16px;
+  margin-inline-end: 0;
   border-width: 0;
-  background-color: #ffcb00;
   background-image: none;
   box-shadow: none;
 */
@@ -276,13 +293,16 @@ xul|*.help-button {
 }
 /*
 xul|*.help-button:not([disabled="true"]):hover {
-  background-color: #f4c200;
   background-image: none;
+  / Override default button background /
+  background-color: transparent;
+  list-style-image: url("chrome://global/skin/in-content/help-glyph.svg#help-hover");
 }
-
 xul|*.help-button:not([disabled="true"]):hover:active {
-  background-color: #eaba00;
   background-image: none;
+  / Override default button background /
+  background-color: transparent;
+  list-style-image: url("chrome://global/skin/in-content/help-glyph.svg#help-pressed");
 }
 
 xul|*.close-icon > xul|*.button-box,
@@ -294,8 +314,8 @@ xul|*.help-button > xul|*.button-box {
 }
 */
 xul|*.help-button > xul|*.button-box > xul|*.button-icon {
-  width: 18px;
-  height: 18px;
+  width: 16px;
+  height: 16px;
 }
 
 xul|*.help-button > xul|*.button-box > xul|*.button-text {
@@ -418,11 +438,7 @@ html|input[type="text"],
 html|textarea,
 xul|textbox {
   -moz-appearance: none;
-  height: 30px;
   color: var(--in-content-text-color);
-  line-height: 20px;
-  padding-right: 10px;
-  padding-left: 10px;
   border: 1px solid var(--in-content-box-border-color);
   -moz-border-top-colors: none !important;
   -moz-border-right-colors: none !important;
@@ -487,7 +503,9 @@ html|a:hover:active,
 /* Checkboxes and radio buttons */
 /* Hide the actual checkbox */
 html|input[type="checkbox"] {
-  visibility: hidden;
+  opacity: 0;
+  width: 0;
+  pointer-events: none;
   position: absolute;
 }
 
@@ -619,7 +637,8 @@ xul|*.radio-label-box {
   color: var(--in-content-category-text-selected);
 }
 
-*|*.category[selected] {
+*|*.category[selected],
+*|*.category.selected {
   background-color: var(--in-content-category-background-active);
   color: var(--in-content-category-text-selected);
 }
@@ -650,6 +669,7 @@ xul|*.radio-label-box {
   border-bottom: 1px solid var(--in-content-header-border-color);
   margin-bottom: 15px;
   padding-bottom: 15px; */
+  -moz-box-align: baseline;
 }
 
 *|*.header-name {
@@ -772,6 +792,10 @@ xul|treecols {
   padding: 0;
 }
 
+.autocomplete-tree > xul|treecols {
+  border-bottom: none !important;
+}
+
 xul|treecol:not([hideheader="true"]),
 xul|treecolpicker {
   -moz-appearance: none;