--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 {
*|*.main-content {
padding-top: 40px;
- -moz-padding-end: 48px; /* orig is 44px to compensate the 4px margin of child elements */
+ padding-inline-end: 48px; /* orig is 44px to compensate the 4px margin of child elements */
padding-bottom: 48px;
- -moz-padding-start: 48px;
+ padding-inline-start: 48px;
overflow: auto;
}
-moz-appearance: none;
border: none;
margin: 15px 0 0;
- -moz-padding-start: 0;
- -moz-padding-end: 0;
+ padding-inline-start: 0;
+ padding-inline-end: 0;
font-size: 1.25rem;
}
-xul|groupbox xul|label,
+xul|groupbox xul|label:not(.menu-accel):not(.menu-text):not(.indent),
xul|groupbox xul|description {
/ !important needed to override toolkit !important rule /
- -moz-margin-start: 0 !important;
- -moz-margin-end: 0 !important;
+ margin-inline-start: 0 !important;
+ margin-inline-end: 0 !important;
}
*/
/* tabpanels and tabs */
/* xul buttons and menulists */
/*
*|button,
+html|select,
xul|colorpicker[type="button"],
xul|menulist {
-moz-appearance: none;
}
*/
html|button:enabled:hover,
+html|select:enabled:hover,
xul|button:not([disabled="true"]):hover,
xul|colorpicker[type="button"]:not([disabled="true"]):hover,
xul|menulist:not([disabled="true"]):hover {
}
html|button:enabled:hover:active,
+html|select: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"]) {
}
html|button:disabled,
+html|select: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);
}
}
xul|menulist > xul|*.menulist-label-box > xul|*.menulist-icon[src] {
- -moz-margin-end: 5px;
+ margin-inline-end: 5px;
}
xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
-moz-appearance: none;
margin: 1px 0;
- -moz-margin-start: 10px;
+ margin-inline-start: 10px;
padding: 0;
width: 10px;
height: 16px;
*/
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;
*/
}
/*
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,
}
*/
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 {
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;
- -moz-margin-start: 10px !important;
- -moz-margin-end: 2px !important;
+ margin-inline-start: 10px !important;
+ margin-inline-end: 2px !important;
}
xul|*.spinbuttons-up {
xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
-moz-appearance: none;
- -moz-margin-end: 4px;
+ margin-inline-end: 4px;
padding: 0;
border: none;
background-color: transparent;
color: var(--in-content-text-color);
padding-top: 0.2em;
padding-bottom: 0.2em;
- -moz-padding-start: 10px;
- -moz-padding-end: 30px;
+ padding-inline-start: 10px;
+ padding-inline-end: 30px;
}
xul|menulist > xul|menupopup > xul|menu:not([disabled="true"])[_moz-menuactive="true"],
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;
padding-left: 10px;
}
+/ Create a separate rule to unset these styles on .tree-input instead of
+ using :not(.tree-input) so the selector specifity doesn't change. /
+xul|textbox.tree-input {
+ min-height: unset;
+ padding-right: unset;
+ padding-left: unset;
+}
+
html|input[type="text"],
html|textarea {
font-family: inherit;
/* Links */
html|a,
-.text-link,
-.inline-link {
+.text-link {
color: var(--in-content-link-color);
text-decoration: none;
}
html|a:hover,
-.text-link:hover,
-.inline-link:hover {
+.text-link:hover {
color: var(--in-content-link-color-hover);
text-decoration: underline;
}
}
html|a:hover:active,
-.text-link:hover:active,
-.inline-link:hover:active {
+.text-link:hover:active {
color: var(--in-content-link-color-active);
text-decoration: underline;
}
/* Checkboxes and radio buttons */
/* Hide the actual checkbox */
html|input[type="checkbox"] {
- visibility: hidden;
+ opacity: 0;
+ width: 0;
+ pointer-events: none;
position: absolute;
}
/* Create a box to style as the checkbox */
-html|input[type="checkbox"] + html|label:before {
+html|input[type="checkbox"] + html|label::before {
display: inline-block;
content: "";
vertical-align: middle;
}
/*
xul|checkbox {
- -moz-margin-start: 0;
+ margin-inline-start: 0;
}
*/
/* xul|*.checkbox-check, */
-html|input[type="checkbox"] + html|label:before {
+html|input[type="checkbox"] + html|label::before {
-moz-appearance: none;
width: 23px;
height: 23px;
border-radius: 0;
border: 1px solid var(--in-content-box-border-color);
- -moz-margin-end: 10px;
+ margin-inline-end: 10px;
background-color: var(--in-content-box-background);
background-position: center center;
background-repeat: no-repeat;
}
/* xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check, */
-html|input[type="checkbox"]:not(:disabled) + html|label:hover:before {
+html|input[type="checkbox"]:not(:disabled) + html|label:hover::before {
border-color: var(--in-content-border-focus);
}
html|input[type="checkbox"]:not(:disabled) + html|label:hover {
linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
}
*/
-html|input[type="checkbox"]:checked + html|label:before {
+html|input[type="checkbox"]:checked + html|label::before {
background-image: url("chrome://global/skin/in-content/check.svg#check");
}
/*xul|checkbox[checked][disabled="true"] > xul|*.checkbox-check,*/
-html|input[type="checkbox"]:checked:disabled + html|label:before {
+html|input[type="checkbox"]:checked:disabled + html|label::before {
background-image: url("chrome://global/skin/in-content/check.svg#check-disabled");
}
-html|input[type="checkbox"]:not(:disabled) + html|label:hover:before {
+html|input[type="checkbox"]:checked:not(:disabled) + html|label:hover::before {
background-image: url("chrome://global/skin/in-content/check.svg#check-hover");
}
-html|input[type="checkbox"]:disabled + html|label:before {
+html|input[type="checkbox"]:disabled + html|label::before {
border-color: var(--in-content-border-disabled);
}
html|input[type="checkbox"]:disabled + html|label {
}
/*
xul|*.checkbox-label-box {
- -moz-margin-start: -1px; / * negative margin for the transparent border * /
- -moz-padding-start: 0;
+ margin-inline-start: -1px; / * negative margin for the transparent border * /
+ padding-inline-start: 0;
}
xul|richlistitem > xul|*.checkbox-check {
}
xul|radio {
- -moz-margin-start: 0;
+ margin-inline-start: 0;
}
xul|*.radio-check {
height: 23px;
border: 1px solid var(--in-content-box-border-color);
border-radius: 50%;
- -moz-margin-end: 10px;
+ margin-inline-end: 10px;
background-color: #f1f1f1;
background-image: linear-gradient(#fff, rgba(255,255,255,0.80));
box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
}
xul|*.radio-label-box {
- -moz-margin-start: -1px; / * negative margin for the transparent border * /
- -moz-margin-end: 10px;
- -moz-padding-start: 0;
+ margin-inline-start: -1px; / * negative margin for the transparent border * /
+ margin-inline-end: 10px;
+ padding-inline-start: 0;
}
*/
/* Category List */
*|*.category {
background-color: var(--in-content-category-background);
color: var(--in-content-category-text);
- -moz-border-end-width: 0;
- -moz-padding-start: 15px;
- -moz-padding-end: 21px;
+ border-inline-end-width: 0;
+ padding-inline-start: 15px;
+ padding-inline-end: 21px;
min-height: 40px;
transition: background-color 150ms;
}
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);
}
line-height: 22px;
font-size: 1.25rem;
padding-bottom: 2px;
- -moz-padding-start: 9px;
+ padding-inline-start: 9px;
margin: 0;
-moz-user-select: none;
}
/* header */
*|*.header {
-/* -moz-margin-end: 4px; / add the 4px end-margin of other elements /
+/* margin-inline-end: 4px; / add the 4px end-margin of other elements /
border-bottom: 1px solid var(--in-content-header-border-color);
margin-bottom: 15px;
padding-bottom: 15px; */
+ -moz-box-align: baseline;
}
*|*.header-name {
}
xul|*.fileFieldIcon {
- -moz-margin-start: 10px;
- -moz-margin-end: 0;
+ margin-inline-start: 10px;
+ margin-inline-end: 0;
}
xul|*.fileFieldLabel {
- -moz-margin-start: -26px;
- -moz-padding-start: 36px;
+ margin-inline-start: -26px;
+ padding-inline-start: 36px;
}
xul|textbox:-moz-locale-dir(rtl),
xul|textbox + xul|button,
xul|filefield + xul|button {
- -moz-border-start: none;
+ border-inline-start: none;
}
*/
/* List boxes */
xul|richlistbox,
xul|listbox {
-moz-appearance: none;
- -moz-margin-start: 0;
+ margin-inline-start: 0;
background-color: var(--in-content-box-background);
border: 1px solid var(--in-content-box-border-color);
color: var(--in-content-text-color);
padding: 0;
}
+.autocomplete-tree > xul|treecols {
+ border-bottom: none !important;
+}
+
xul|treecol:not([hideheader="true"]),
xul|treecolpicker {
-moz-appearance: none;
xul|treecol:not([hideheader="true"]):not(:first-child),
xul|treecolpicker {
- -moz-border-start-width: 1px;
- -moz-border-start-style: solid;
+ border-inline-start-width: 1px;
+ border-inline-start-style: solid;
border-image: linear-gradient(transparent 0%, transparent 20%, #c1c1c1 20%, #c1c1c1 80%, transparent 80%, transparent 100%) 1 1;
}
}
xul|checkbox {
- -moz-padding-start: 0;
+ padding-inline-start: 0;
}
xul|radio {
-moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
- -moz-padding-start: 0;
+ padding-inline-start: 0;
}
xul|*.radio-icon,
xul|*.checkbox-icon {
- -moz-margin-end: 0;
+ margin-inline-end: 0;
}
*/
-.text-link:-moz-focusring,
-.inline-link:-moz-focusring {
+.text-link:-moz-focusring {
/* Don't specify the outline-color, we should always use initial value. */
outline: 1px dotted;
}