X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fpreferences%2Fin-content%2Fpreferences.css;h=8a37aff2b769b8722e9c8e1a820c04a10c6bdba9;hp=2b56f30a65d87001879f9446259290c3f1163655;hb=d533ec21de421974d60dc2614105c2e439f34b49;hpb=b3bf08b110943f4abc9642b613f0dcb078c22b0b diff --git a/LCARStrek/browser/preferences/in-content/preferences.css b/LCARStrek/browser/preferences/in-content/preferences.css index 2b56f30a..8a37aff2 100644 --- a/LCARStrek/browser/preferences/in-content/preferences.css +++ b/LCARStrek/browser/preferences/in-content/preferences.css @@ -45,6 +45,8 @@ treecol { /* Category List */ #categories { + max-height: 100vh; + background-color: #A09090; padding-top: 4em; margin: 0; @@ -52,6 +54,10 @@ treecol { border: none; } +#categories > scrollbox { + overflow-x: hidden !important; +} + .category { background-color: #000000; color: #FFCF00; @@ -85,6 +91,16 @@ treecol { margin: 0; } +/** + * We want the last category to always have non-0 getBoundingClientRect().bottom + * so we can use the value to figure out the max-height of the list in + * preferences.js, so use collapse instead of display: none; if it's hidden + */ +#categories > .category[hidden="true"] { + display: -moz-box; + visibility: collapse; +} + .category-icon { width: 24px; height: 24px; @@ -183,6 +199,43 @@ treecol { /* General Pane */ +#startupTable { + border-collapse: collapse; +} + +#startupTable > tr > td { + padding: 0; /* remove the padding from html.css */ +} + +#startupTable > tr:not(:first-child) > td { + padding-top: 0.5em; /* add a spacing between the rows */ +} + +#startupTable > tr > .label-cell { + text-align: end; + width: 0; /* make the column as small as possible */ +} + +#startupTable > tr > .label-cell > label { + white-space: nowrap; +} + +#startupTable > tr > .content-cell > menulist, +#startupTable > tr > .content-cell > textbox { + width: calc(100% - 8px); + margin-left: 4px; + margin-right: 4px; +} + +#startupTable > tr > .homepage-buttons { + display: flex; + flex-wrap: wrap; +} + +#startupTable > tr > .homepage-buttons > .content-cell-item { + flex-grow: 1; +} + #useFirefoxSync { font-size: 90%; -moz-margin-end: 8px !important; @@ -196,6 +249,13 @@ treecol { font-weight: bold; } +/* Content pane */ +#playDRMContentLink { + /* Line up with the buttons in the other grid bits: */ + margin-left: 4px !important; + margin-right: 4px !important; +} + /* Applications Pane Styles */ #applicationsContent { @@ -206,6 +266,10 @@ treecol { -moz-margin-start: 0; } +#handlersView { + height: 25em; +} + #handlersView > richlistitem { min-height: 36px !important; } @@ -259,6 +323,10 @@ description > html|a { padding-bottom: 0; /* no padding needed in inContent prefs */ } +#tabsElement { +/* -moz-margin-end: 4px; / add the 4px end-margin of other elements */ +} + #encryptionPanel { margin-top: 15px; } @@ -294,6 +362,7 @@ description > html|a { #dialogBox { background-color: #000000; + background-clip: content-box; color: #FF9F00; /* font-size: 14px; */ border: 1px solid #9C9CFF; @@ -353,6 +422,28 @@ description > html|a { * End Dialog */ +/** + * Sync migration + */ +#sync-migrate-upgrade-description { + /* description elts need a min-width to wrap correctly - bug 630864? */ + min-width: 100px +} + +#sync-migration { + border: 1px solid #9C9CFF; + background-color: #000000; + color: #A09090; + text-shadow: none; + margin: 5px 0 0 0; + animation: fadein 3000ms; +} + +@keyframes fadein { + from { opacity: 0; } + to { opacity: 1; } +} + /* === END shared/in-content/preferences.css === */ caption {