X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fin-content%2Fcommon.css;h=3faf41f17ab849f33cf36a8669f3b63c1ff77a82;hb=dc1be21c61e7ac9def51d132837dc967c5aaa56f;hp=8931e9c82be37a30e96db3399de4b6270cf8652e;hpb=441d02947409ca4d22ac53d247dabc3873d6ea3f;p=themes.git diff --git a/LCARStrek/global/in-content/common.css b/LCARStrek/global/in-content/common.css index 8931e9c8..3faf41f1 100644 --- a/LCARStrek/global/in-content/common.css +++ b/LCARStrek/global/in-content/common.css @@ -37,8 +37,15 @@ xul|caption > xul|label { margin-bottom: 0; } +xul|description { + -moz-margin-start: 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; } @@ -168,6 +175,20 @@ xul|menulist[disabled="true"] { background-color: #402858; color: #000000; } + +*|button.primary { + background-color: #A06060; +} + +html|button.primary:enabled:hover, +xul|button.primary:not([disabled="true"]):hover { + background-color: #FFCF00; +} + +html|button.primary:enabled:hover:active, +xul|button.primary:not([disabled="true"]):hover:active { + background-color: #FF9F00; +} /* xul|colorpicker[type="button"] { padding: 6px; @@ -201,7 +222,7 @@ 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; @@ -292,7 +313,7 @@ xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker 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; } @@ -329,10 +350,9 @@ xul|button[type="menu"] > xul|menupopup > xul|menuitem[selected="true"] { 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; } */ @@ -370,8 +390,7 @@ xul|textbox[disabled="true"] { html|a, xul|*.text-link, xul|*.inline-link { -/* font-size: 1.25rem; - line-height: 22px;*/ +/* line-height: 22px;*/ color: #3333FF; text-decoration: none; } @@ -404,7 +423,8 @@ xul|*.checkbox-check { 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); @@ -429,14 +449,6 @@ xul|*.checkbox-label-box { -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; } @@ -458,10 +470,7 @@ xul|radio:not([disabled="true"]):hover > xul|*.radio-check { } 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 { @@ -481,6 +490,7 @@ xul|*#categories { background-color: #424f5a; padding-top: 39px; margin: 0; + border-width: 0; } xul|*.category { @@ -525,7 +535,8 @@ xul|*#categories[keyboard-navigation="true"]:-moz-focusring > xul|*.category[cur /* header */ *|*.header { -/* border-bottom: 1px solid #A09090; +/* -moz-margin-end: 4px; / add the 4px end-margin of other elements / + border-bottom: 1px solid #A09090; margin-bottom: 15px; padding-bottom: 15px; */ } @@ -581,6 +592,105 @@ xul|filefield + xul|button { -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; +} + +/ 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; +} +*/ +/* Trees */ +/* +xul|tree { + -moz-appearance: none; + font-size: 1em; + border: 1px solid #c1c1c1; +} + +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"]):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/sorter.png"); + width: 12px; + height: 8px; +} + +xul|treecol:not([hideheader="true"]) > xul|*.treecol-sortdirection[sortDirection="descending"] { + transform: scaleY(-1); +} + +@media (min-resolution: 2dppx) { + xul|treecol:not([hideheader="true"]) > xul|*.treecol-sortdirection[sortDirection] { + list-style-image: url("chrome://global/skin/in-content/sorter@2x.png"); + } +} +*/ /* === END common.inc.css === */ /* xul|caption {