@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
html|body,
-xul|page {
+xul|page,
+xul|window {
font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
-moz-appearance: none;
background-color: #CCD0DD;
font-size: 2.5em;
font-weight: lighter;
line-height: 1.2;
+ color: #000000;
margin: 0;
margin-bottom: .5em;
}
+html|hr {
+ border-style: solid none none none;
+ border-color: #666699;
+}
+
xul|caption {
}
+xul|caption > xul|checkbox,
xul|caption > xul|label {
margin-top: 0;
margin-bottom: 0;
}
*|*.main-content {
- padding: 40px 48px 48px;
+ padding-top: 40px;
+ -moz-padding-end: 48px; /* orig is 44px to compensate the 4px margin of child elements */
+ padding-bottom: 48px;
+ -moz-padding-start: 48px;
overflow: auto;
}
xul|groupbox {
-moz-appearance: none;
border: none;
- margin-top: 15px;
- margin-bottom: 15px;
- -moz-margin-end: 0;
+ margin: 15px 0 0;
-moz-padding-start: 0;
-moz-padding-end: 0;
font-size: 1.25rem;
}
-xul|groupbox xul|label {
+xul|groupbox xul|label,
+xul|groupbox xul|description {
/ !important needed to override toolkit !important rule /
-moz-margin-start: 0 !important;
-moz-margin-end: 0 !important;
background-color: #ebebeb;
}
-xul|tab[selected] {
+xul|tab[visuallyselected] {
background-color: #ebebeb;
padding-bottom: 0; / compensate the 4px border /
border-bottom: 4px solid #ff9500;
color: #999999;
}
/*
+*|button.primary {
+ background-color: #0095dd;
+ border-color: transparent;
+ color: #fff;
+}
+
+html|button.primary:enabled:hover,
+xul|button.primary:not([disabled="true"]):hover {
+ background-color: #008acb;
+}
+
+html|button.primary:enabled:hover:active,
+xul|button.primary:not([disabled="true"]):hover:active {
+ background-color: #006b9d;
+}
+
xul|colorpicker[type="button"] {
padding: 6px;
width: 50px;
padding-left: 10px !important;
}
-xul|menulist > xul|*.menulist-label-box > xul|*.menulist-icon {
+xul|menulist > xul|*.menulist-label-box > xul|*.menulist-icon[src] {
-moz-margin-end: 5px;
}
xul|*.help-button {
min-width: 30px;
border-radius: 2px;
- border: 1px solid #c1c1c1;
+ border-width: 0;
background-color: #ffcb00;
background-image: none;
box-shadow: none;
xul|menulist > xul|menupopup,
xul|button[type="menu"] > xul|menupopup {
-moz-appearance: none;
- border: 1px solid rgba(23,50,77,0.4);
+ border: 1px solid #c1c1c1;
border-radius: 2px;
background-color: #fff;
}
-moz-padding-end: 30px;
}
-xul|menulist > xul|menupopup > xul|menu[_moz-menuactive="true"],
-xul|menulist > xul|menupopup > xul|menuitem[_moz-menuactive="true"],
-xul|button[type="menu"] > xul|menupopup > xul|menu[_moz-menuactive="true"],
-xul|button[type="menu"] > xul|menupopup > xul|menuitem[_moz-menuactive="true"] {
+xul|menulist > xul|menupopup > xul|menu:not([disabled="true"])[_moz-menuactive="true"],
+xul|menulist > xul|menupopup > xul|menuitem:not([disabled="true"])[_moz-menuactive="true"],
+xul|button[type="menu"] > xul|menupopup > xul|menu:not([disabled="true"])[_moz-menuactive="true"],
+xul|button[type="menu"] > xul|menupopup > xul|menuitem:not([disabled="true"])[_moz-menuactive="true"] {
color: #333;
background-color: rgba(0,149,221,0.25);
}
-xul|menulist > xul|menupopup > xul|menu[selected="true"],
-xul|menulist > xul|menupopup > xul|menuitem[selected="true"],
-xul|button[type="menu"] > xul|menupopup > xul|menu[selected="true"],
-xul|button[type="menu"] > xul|menupopup > xul|menuitem[selected="true"] {
+xul|menulist > xul|menupopup > xul|menu:not([disabled="true"])[selected="true"],
+xul|menulist > xul|menupopup > xul|menuitem:not([disabled="true"])[selected="true"],
+xul|button[type="menu"] > xul|menupopup > xul|menu:not([disabled="true"])[selected="true"],
+xul|button[type="menu"] > xul|menupopup > xul|menuitem:not([disabled="true"])[selected="true"] {
color: #fff;
- background-color: #0095DD;
+ background-color: #0095dd;
+}
+
+xul|menulist > xul|menupopup > xul|menu[disabled="true"],
+xul|menulist > xul|menupopup > xul|menuitem[disabled="true"],
+xul|button[type="menu"] > xul|menupopup > xul|menu[disabled="true"],
+xul|button[type="menu"] > xul|menupopup > xul|menuitem[disabled="true"] {
+ color: #999;
+ / override the [_moz-menuactive="true"] background color from
+ global/menu.css /
+ background-color: transparent;
}
xul|menulist > xul|menupopup xul|menuseparator,
xul|button[type="menu"] > xul|menupopup xul|menuseparator {
-moz-appearance: none;
- margin-top: 2px;
- margin-bottom: 2px;
+ margin: 0;
padding: 0;
- border-top: 1px solid rgba(23,50,77,0.4);
+ border-top: 1px solid #c1c1c1;
border-bottom: none;
}
*/
height: 30px;
color: #333;
line-height: 20px;
- text-shadow: 0 1px 1px #fefffe;
padding-right: 10px;
padding-left: 10px;
border: 1px solid #c1c1c1;
/* Links */
/*
html|a,
-xul|*.text-link,
-xul|*.inline-link {
- font-size: 1.25rem;
- line-height: 22px;
+.text-link,
+.inline-link {
color: #0095dd;
text-decoration: none;
}
+html|a:visited {
+ color: #551a8b;
+}
+
html|a:hover,
-xul|*.text-link:hover,
-xul|*.inline-link:hover {
+.text-link:hover,
+.inline-link:hover {
color: #4cb1ff;
text-decoration: none;
}
html|a:hover:active,
-xul|*.text-link:hover:active,
-xul|*.inline-link:hover:active {
+.text-link:hover:active,
+.inline-link:hover:active {
color: #ff9500;
text-decoration: none;
}
*/
/* Checkboxes and radio buttons */
/*
+/ Hide the actual checkbox /
+html|input[type="checkbox"] {
+ opacity: 0;
+ position: absolute;
+}
+
+/ Create a box to style as the checkbox /
+html|input[type="checkbox"] + html|label:before {
+ display: inline-block;
+ content: "";
+ vertical-align: middle;
+}
+
+html|input[type="checkbox"] + html|label {
+ line-height: 0px;
+}
+
xul|checkbox {
-moz-margin-start: 0;
}
-xul|*.checkbox-check {
+xul|*.checkbox-check,
+html|input[type="checkbox"] + html|label:before {
-moz-appearance: none;
width: 23px;
height: 23px;
border: 1px solid #c1c1c1;
-moz-margin-end: 10px;
background-color: #f1f1f1;
- background-image: linear-gradient(#fff, rgba(255,255,255,0.8));
+ / !important needed to override toolkit checked !important rule /
+ background-image: linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
background-position: center center;
background-repeat: no-repeat;
box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
}
-xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check {
+xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check,
+html|input[type="checkbox"]:not(:disabled) + html|label:hover:before {
border-color: #0095dd;
}
linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
}
-xul|checkbox[disabled="true"] > xul|*.checkbox-check {
+html|input[type="checkbox"]:checked + html|label:before {
+ background-image: url("chrome://global/skin/in-content/check.svg#check"), linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
+}
+
+xul|checkbox[disabled="true"] > xul|*.checkbox-check,
+html|input[type="checkbox"]:disabled + html|label {
opacity: 0.5;
}
-moz-padding-start: 0;
}
-@media (min-resolution: 2dppx) {
- xul|*.checkbox-check[checked] {
- background-size: 12px 12px, auto;
- background-image: url("chrome://global/skin/in-content/check@2x.png"),
- linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
- }
-}
-
xul|richlistitem > xul|*.checkbox-check {
margin: 3px 6px;
}
+xul|radio {
+ -moz-margin-start: 0;
+}
+
xul|*.radio-check {
-moz-appearance: none;
width: 23px;
}
xul|*.radio-check[selected] {
- background-image: radial-gradient(circle, rgb(23,146,229),
- rgb(76,177,255) 5.5px, rgba(76,177,255,0.2) 6px,
- transparent 6px),
- linear-gradient(rgb(255,255,255), rgba(255,255,255,0.8));
+ list-style-image: url("chrome://global/skin/in-content/radio.svg#radio");
}
xul|radio[disabled="true"] > xul|*.radio-check {
}
*/
/* Category List */
-/*
+
xul|*#categories {
-moz-appearance: none;
- background-color: #424f5a;
+ background-color: #666699;
padding-top: 39px;
margin: 0;
+ border-width: 0;
}
xul|*.category {
-moz-appearance: none;
- color: #c1c1c1;
+ color: #000000;
-moz-border-end-width: 0;
-moz-padding-start: 15px;
-moz-padding-end: 21px;
}
xul|*.category:hover {
- background-color: #5e6972;
+ background-color: #CCD0DD;
}
xul|*.category[selected] {
- background-color: #343f48;
- color: #f2f2f2;
- -moz-padding-start: 11px; / compensate the 4px border /
- -moz-border-start: solid 4px #ff9500;
+ background-color: #336699;
+ color: #FFFFFF;
+ -moz-padding-start: 11px; /* compensate the 4px border */
+ -moz-border-start: solid 4px #33FF33;
}
xul|*#categories[keyboard-navigation="true"]:-moz-focusring > xul|*.category[current] {
padding-bottom: 2px;
-moz-padding-start: 9px;
margin: 0;
+ -moz-user-select: none;
}
*|*.category-icon {
width: 24px;
height: 24px;
}
-*/
+
/* header */
/*
*|*.header {
+ -moz-margin-end: 4px; / add the 4px end-margin of other elements /
border-bottom: 1px solid #c8c8c8;
margin-bottom: 15px;
padding-bottom: 15px;
font-weight: normal;
line-height: 40px;
margin: 0;
+ -moz-user-select: none;
}
*/
/* File fields */
-moz-border-start: none;
}
*/
+/* List boxes */
+/*
+xul|richlistbox,
+xul|listbox {
+ -moz-appearance: none;
+ -moz-margin-start: 0;
+ background-color: #fff;
+ border: 1px solid #c1c1c1;
+ color: #333;
+}
+
+xul|treechildren::-moz-tree-row,
+xul|listbox xul|listitem {
+ padding: 0.3em;
+ margin: 0;
+ border: none;
+ border-radius: 0;
+ background-image: none;
+}
+
+xul|treechildren::-moz-tree-row(hover),
+xul|listbox xul|listitem:hover {
+ background-color: rgba(0,149,221,0.25);
+}
+
+xul|treechildren::-moz-tree-row(selected),
+xul|listbox xul|listitem[selected="true"] {
+ background-color: #0095dd;
+ color: #fff;
+}
+*/
+/* Trees */
+/*
+xul|tree {
+ -moz-appearance: none;
+ font-size: 1em;
+ border: 1px solid #c1c1c1;
+}
+
+xul|tree:-moz-focusring,
+xul|richlistbox:-moz-focusring {
+ border: 1px dotted #0095dd;
+}
+
+xul|listheader,
+xul|treecols {
+ -moz-appearance: none;
+ border: none;
+ border-bottom: 1px solid #c1c1c1;
+ padding: 0;
+}
+
+xul|treecol:not([hideheader="true"]),
+xul|treecolpicker {
+ -moz-appearance: none;
+ border: none;
+ background-color: #ebebeb;
+ color: #808080;
+ padding: 5px 10px;
+}
+
+xul|treecol:not([hideheader="true"]):not([sortable="false"]):hover,
+xul|treecolpicker:hover {
+ background-color: #dadada;
+ color: #333;
+}
+
+xul|treecol:not([hideheader="true"]):not(:first-child),
+xul|treecolpicker {
+ -moz-border-start-width: 1px;
+ -moz-border-start-style: solid;
+ border-image: linear-gradient(transparent 0%, transparent 20%, #c1c1c1 20%, #c1c1c1 80%, transparent 80%, transparent 100%) 1 1;
+}
+
+xul|treecol:not([hideheader="true"]) > xul|*.treecol-sortdirection[sortDirection] {
+ list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown");
+ width: 18px;
+ height: 18px;
+}
+
+xul|treecol:not([hideheader="true"]) > xul|*.treecol-sortdirection[sortDirection="ascending"] {
+ transform: scaleY(-1);
+}
+
+/ This is the only way to increase the height of a tree row unfortunately /
+xul|treechildren::-moz-tree-row {
+ min-height: 2em;
+}
+
+/ Color needs to be set on tree cell in order to be applied /
+xul|treechildren::-moz-tree-cell-text {
+ color: #333;
+}
+
+xul|treechildren::-moz-tree-cell-text(selected) {
+ color: #fff;
+}
+*/
/* === END common.inc.css === */
/*
xul|caption {
}
xul|button,
+html|button,
xul|colorpicker[type="button"],
xul|menulist {
margin: 2px 4px;
xul|radio {
-moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
- -moz-margin-start: 0;
-moz-padding-start: 0;
}
-moz-margin-end: 0;
}
-html|a:-moz-focusring,
-xul|*.text-link:-moz-focusring,
-xul|*.inline-link:-moz-focusring {
+.text-link:-moz-focusring,
+.inline-link:-moz-focusring {
border: 1px dotted -moz-DialogText;
}
*/
\ No newline at end of file