some corrections and finishing touches to that LCARStrek works well for Firefox 55...
[themes.git] / LCARStrek / global / in-content / common.css
index 868ada8a919aeb66093e9ce7166ee5dc5cd66f63..7a6ded6b7e1c1efd7399edd858dfb7d8576bc07e 100644 (file)
@@ -12,7 +12,7 @@
   --in-content-page-background: #000000;
   --in-content-text-color: #FF9F00;
   --in-content-selected-text: #000000;
-  ---in-content-header-border-color: #c8c8c8;
+  --in-content-header-border-color: #A09090;
   --in-content-button-background: #C09070;
   --in-content-box-background: #000000;
   ---in-content-box-background-odd: #f3f6fa;
@@ -99,6 +99,11 @@ html|hr {
 xul|caption {
 }
 
+html|h2,
+xul|caption > xul|checkbox,
+xul|caption > xul|label {
+}
+
 xul|caption > xul|checkbox,
 xul|caption > xul|label {
   margin-top: 0;
@@ -128,7 +133,7 @@ xul|groupbox {
   font-size: 1.25rem;
 }
 
-xul|groupbox xul|label:not(.menu-accel):not(.menu-text):not(.indent),
+xul|groupbox xul|label:not(.menu-accel):not(.menu-text):not(.indent):not(.learnMore),
 xul|groupbox xul|description {
   / !important needed to override toolkit !important rule /
   margin-inline-start: 0 !important;
@@ -216,8 +221,19 @@ xul|menulist {
   background-color: var(--in-content-page-background);
 }
 */
+html|select:not([size]):not([multiple]) {
+  background-image: url("chrome://global/skin/arrow/arrow-down.gif");
+  background-position: right 3px center;
+  background-repeat: no-repeat;
+  background-size: auto 18px;
+  font-size: inherit;
+  padding-inline-start: 5px;
+  padding-inline-end: 24px;
+  text-overflow: ellipsis;
+}
+
 html|button:enabled:hover,
-html|select:enabled:hover,
+html|select:not([size]):not([multiple]):enabled:hover,
 xul|button:not([disabled="true"]):hover,
 xul|colorpicker[type="button"]:not([disabled="true"]):hover,
 xul|menulist:not([disabled="true"]):hover {
@@ -226,7 +242,7 @@ xul|menulist:not([disabled="true"]):hover {
 }
 
 html|button:enabled:hover:active,
-html|select:enabled:hover:active,
+html|select:not([size]):not([multiple]):enabled:hover:active,
 xul|button:not([disabled="true"]):hover:active,
 xul|colorpicker[type="button"]:not([disabled="true"]):hover:active,
 xul|menulist[open="true"]:not([disabled="true"]) {
@@ -281,7 +297,7 @@ xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
   height: 16px;
   border: none;
   background-color: transparent;
-  list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown");
+  list-style-image: url("chrome://global/skin/in-content/dropdown.svg");
 }
 
 */
@@ -325,6 +341,26 @@ xul|*.help-button > xul|*.button-box > xul|*.button-icon {
 xul|*.help-button > xul|*.button-box > xul|*.button-text {
   display: none;
 }
+
+html|*.help-button {
+  width: 16px;
+  height: 16px;
+  border: 0;
+  padding: 0;
+  display: inline-block;
+  background-image: url("chrome://global/skin/in-content/help-glyph.svg#help");
+  background-repeat: no-repeat;
+  background-position: center center;
+  background-size: contain;
+}
+
+html|*.help-button:hover {
+  background-image: url("chrome://global/skin/in-content/help-glyph.svg#help-hover");
+}
+
+html|*.help-button:hover:active {
+  background-image: url("chrome://global/skin/in-content/help-glyph.svg#help-pressed");
+}
 /*
 xul|*.spinbuttons-button {
   min-height: initial;
@@ -351,15 +387,15 @@ xul|*.spinbuttons-up > xul|*.button-box > xul|*.button-icon {
 }
 
 xul|*.spinbuttons-up[disabled="true"] > xul|*.button-box > xul|*.button-icon {
-  list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
+  list-style-image: url("chrome://global/skin/arrow/arrow-up-disabled.gif");
 }
 
 xul|*.spinbuttons-down > xul|*.button-box > xul|*.button-icon {
-  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
+  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
 }
 
 xul|*.spinbuttons-down[disabled="true"] > xul|*.button-box > xul|*.button-icon {
-  list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
+  list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
 }
 
 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
@@ -438,6 +474,8 @@ xul|button[type="menu"] > xul|menupopup xul|menuseparator {
 */
 /* textboxes */
 /*
+html|input[type="email"],
+html|input[type="tel"],
 html|input[type="text"],
 html|textarea,
 xul|textbox {
@@ -466,6 +504,21 @@ xul|textbox.tree-input {
   padding-left: unset;
 }
 
+xul|textbox[type="search"] > .textbox-input-box {
+  background: url(chrome://global/skin/icons/search-textbox.svg) no-repeat center left;
+  padding-inline-start: 16px;
+}
+
+xul|textbox[type="search"] > .textbox-input-box:-moz-locale-dir(rtl) {
+  background-position-x: right;
+}
+
+xul|textbox[type="search"] > .textbox-input-box > .textbox-search-icons > .textbox-search-icon {
+  visibility: hidden;
+}
+
+html|input[type="email"],
+html|input[type="tel"],
 html|input[type="text"],
 html|textarea {
   font-family: inherit;
@@ -473,12 +526,16 @@ html|textarea {
   padding: 5px 10px;
 }
 
+html|input[type="email"]:focus,
+html|input[type="tel"]:focus,
 html|input[type="text"]:focus,
 html|textarea:focus,
 xul|textbox[focused] {
   border-color: var(--in-content-border-focus);
 }
 
+html|input[type="email"]:disabled,
+html|input[type="tel"]:disabled,
 html|input[type="text"]:disabled,
 html|textarea:disabled,
 xul|textbox[disabled="true"] {
@@ -531,6 +588,7 @@ html|input[type="checkbox"] + html|label {
 /*
 xul|checkbox {
   margin-inline-start: 0;
+  -moz-appearance: none;
 }
 */
 /* xul|*.checkbox-check, */
@@ -556,8 +614,7 @@ html|input[type="checkbox"]:not(:disabled) + html|label:hover {
 /*
 xul|*.checkbox-check[checked] {
   background-image: url("chrome://global/skin/in-content/check.png"),
-                    / * !important needed to override toolkit !important rule * /
-                    linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
+                    linear-gradient(#fff, rgba(255,255,255,0.8));
 }
 */
 html|input[type="checkbox"]:checked + html|label::before {
@@ -586,9 +643,15 @@ xul|*.checkbox-label-box {
 xul|richlistitem > xul|*.checkbox-check {
   margin: 3px 6px;
 }
-
+*/
+html|*.toggle-container-with-text {
+  display: flex;
+  align-items: center;
+}
+/*
 xul|radio {
   margin-inline-start: 0;
+  -moz-appearance: none;
 }
 
 xul|*.radio-check {
@@ -735,6 +798,7 @@ xul|filefield + xul|button {
 */
 /* List boxes */
 /*
+html|select[size][multiple],
 xul|richlistbox,
 xul|listbox {
   -moz-appearance: none;
@@ -744,6 +808,7 @@ xul|listbox {
   color: var(--in-content-text-color);
 }
 
+html|select[size][multiple] > html|option,
 xul|treechildren::-moz-tree-row,
 xul|listbox xul|listitem {
   padding: 0.3em;
@@ -753,6 +818,7 @@ xul|listbox xul|listitem {
   background-image: none;
 }
 
+html|select[size][multiple] > html|option:hover,
 xul|treechildren::-moz-tree-row(hover),
 xul|listbox xul|listitem:hover {
   background-color: var(--in-content-item-hover);