sync both themes with toolkit windows theme changes in Mozilla 45-48 cycles
[themes.git] / LCARStrek / global / in-content / common.css
index 2f25dd942bdca0b6b2f6a3a4d89f34c160dfd98c..d5294d1c5e1c42e47c28bd8c27b97cd5f57ed419 100644 (file)
@@ -43,9 +43,6 @@
   --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;
 }
 
@@ -131,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;
@@ -238,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);
 }
@@ -287,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;
 */
@@ -298,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,
@@ -316,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 {
@@ -505,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;
 }
 
@@ -637,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);
 }
@@ -668,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 {
@@ -790,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;