X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fpreferences%2Fin-content%2Fpreferences.css;h=c5c1fcc074f2278228bc988bdac642865dc5abf0;hp=55caf805f641908f5bd9d66b078cdc7cd27f8144;hb=d23bf94a3357d30cf7300a6eb9c051f0a225b02a;hpb=d7b7f7e155c7317942b24fc7aa53c4f9372581b9 diff --git a/LCARStrek/browser/preferences/in-content/preferences.css b/LCARStrek/browser/preferences/in-content/preferences.css index 55caf805..c5c1fcc0 100644 --- a/LCARStrek/browser/preferences/in-content/preferences.css +++ b/LCARStrek/browser/preferences/in-content/preferences.css @@ -162,6 +162,16 @@ treecol { /* header */ +.header { + display: flex; + align-items: center; + justify-content: space-between; +} + +.header[hidden=true] { + display: none; +} + #header-advanced { border-bottom: none; padding-bottom: 0; @@ -213,7 +223,7 @@ treecol { #useFirefoxSync { font-size: 90%; - -moz-margin-end: 8px !important; + margin-inline-end: 8px !important; } #getStarted { @@ -231,9 +241,13 @@ treecol { margin-right: 4px !important; } +#notificationsPolicyLearnMore { + margin-inline-start: 1.5em !important; +} + #defaultFontSizeLabel { /* !important needed to override common !important rule */ - -moz-margin-start: 4px !important; + margin-inline-start: 4px !important; } /* Applications Pane Styles */ @@ -243,7 +257,7 @@ treecol { } #filter { - -moz-margin-start: 0; + margin-inline-start: 0; } #handlersView { @@ -255,13 +269,13 @@ treecol { } .typeIcon { - -moz-margin-start: 10px !important; - -moz-margin-end: 9px !important; + margin-inline-start: 10px !important; + margin-inline-end: 9px !important; } .actionIcon { - -moz-margin-start: 11px !important; - -moz-margin-end: 8px !important; + margin-inline-start: 11px !important; + margin-inline-end: 8px !important; } .actionsMenu { @@ -269,20 +283,32 @@ treecol { } .actionsMenu > menupopup > menuitem { - -moz-padding-start: 10px !important; + padding-inline-start: 10px !important; } .actionsMenu > menupopup > menuitem > .menu-iconic-left { - -moz-margin-end: 8px !important; + margin-inline-end: 8px !important; } /* Privacy pane */ -#doNotTrackInfo, #trackingProtectionPBMLearnMore, -#trackingProtectionLearnMore { - -moz-margin-start: 1.5em !important; +#trackingProtectionLearnMore, +#browserContainersLearnMore { + margin-inline-start: 1.5em !important; margin-top: 0; + font-weight: normal; +} + +.doNotTrackLearnMore { + margin-inline-start: calc(1em + 30px); + margin-bottom: 1em; + font-weight: normal; +} + +.doNotTrackLearnMore > label { + font-size: 1em !important; + margin-left: 0; } /* Collapse the non-active vboxes in decks to use only the height the @@ -317,8 +343,8 @@ description > html|a { #weavePrefsDeck > #needsUpdate > hbox > #loginError, #weavePrefsDeck > #hasFxaAccount > vbox > label, #weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label { - /* no margin-start for elements at the begin of a line */ - -moz-margin-start: 0; + /* no margin-inline-start for elements at the begin of a line */ + margin-inline-start: 0; } #advancedPrefs { @@ -326,7 +352,7 @@ description > html|a { } #tabsElement { -/* -moz-margin-end: 4px; / add the 4px end-margin of other elements */ +/* margin-inline-end: 4px; / add the 4px end-margin of other elements */ } #telemetryLearnMore, @@ -334,18 +360,28 @@ description > html|a { #crashReporterLearnMore { /* provide some margin between the links and the label text */ /* !important is needed to override the rules defined in common.css */ - -moz-margin-start: 20px !important; + margin-inline-start: 20px !important; /* center the links */ margin-top: 8px; margin-bottom: 8px; } +.indent { + /* !important needed to override margin-inline-start:0 !important; rule + define in common.css for labels - but not in LCARStrek*/ + margin-inline-start: 33px /*!important*/; +} + .text-link { margin-bottom: 0; } #showUpdateHistory { - -moz-margin-start: 0; + margin-inline-start: 0; +} + +#fxaProfileImage { + -moz-user-focus: normal; } /** @@ -378,8 +414,8 @@ description > html|a { } #dialogBox > .groupbox-title { - -moz-margin-start: 0; - -moz-margin-end: 0; + margin-inline-start: 0; + margin-inline-end: 0; /* padding: 3.5px 0; background-color: #F1F1F1; */ } @@ -437,28 +473,6 @@ description > html|a { min-width: 30ch; } -/** - * 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; } -} - /** * Sync */ @@ -466,8 +480,13 @@ description > html|a { #fxaProfileImage { max-width: 60px; border-radius: 50%; - list-style-image: url(chrome://browser/skin/fxa/default-avatar.png); + list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg); margin-inline-end: 15px; + image-rendering: -moz-crisp-edges; +} + +#fxaLoginStatus[hasName] #fxaProfileImage { + max-width: 80px; } #fxaProfileImage.actionable { @@ -507,157 +526,6 @@ description > html|a { -moz-box-align: start; } -#syncStatusMessage { - visibility: collapse; - opacity: 0; - transition: opacity 1s linear; - padding: 14px 8px 14px 14px; - border-radius: 2px; -} - -#syncStatusMessage[message-type] { - visibility: visible; - opacity: 1; -} - -#syncStatusMessage[message-type="verify-success"] { - background-color: #008484; -} - -#syncStatusMessage[message-type="verify-error"] { - background-color: #FF0000; -} - -#syncStatusMessage[message-type="migration"] { - background-color: #FF9F00; -} - -#syncStatusMessageWrapper { - -moz-box-flex: 1; - padding-right: 5px; -} - -#syncStatusMessageTitle, #syncStatusMessageDescription { - color: #9C9CFF; -} - -#syncStatusMessage[message-type="migration"] #syncStatusMessageTitle { - display: none; -} - -#syncStatusMessageTitle { - font-weight: bold !important; - font-size: 16px; - line-height: 157%; - margin: 0 0 20px; -} - -#syncStatusMessageDescription { - font-size: 14px; - line-height: 158%; - margin: 0 !important; -} - -#syncStatusMessageClose { - margin: 0px; -} - -#syncStatusMessage { - visibility: collapse; - opacity: 0; - transition: opacity 1s linear; - padding: 14px 8px 14px 14px; - border-radius: 2px; -} - -#syncStatusMessage[message-type] { - visibility: visible; - opacity: 1; -} - -#syncStatusMessage[message-type="verify-success"] { - background-color: #008484; -} - -#syncStatusMessage[message-type="verify-error"] { - background-color: #FF0000; -} - -#syncStatusMessage[message-type="migration"] { - background-color: #FFCF00; -} - -#sync-migration-buttons-deck { - visibility: collapse; -} - -#learnMoreLink { - margin: 0; - color: #336699; - text-decoration: underline; -} - -#syncStatusMessage[message-type="migration"] #sync-migration-buttons-deck { - visibility: visible; -} - -#sync-migration-buttons-deck { - margin-top: 20px; -} - -#sync-migration-buttons-deck button { - margin: 0 10px 0 0; - border: 0; - border-radius: 2px; -} - -#sync-migrate-upgrade, -#sync-migrate-resend { -/* background-color: #0095DD; - color: #FBFBFB; */ -} - -#sync-migrate-upgrade:hover, -#sync-migrate-resend:hover { -/* background-color: #008ACB; */ -} - -#sync-migrate-upgrade:hover:active, -#sync-migrate-resend:hover:active { -/* background-color: #006B9D; */ -} - -#syncStatusMessageWrapper { - -moz-box-flex: 1; - padding-right: 5px; -} - -#syncStatusMessageTitle, #syncStatusMessageDescription { - color: #A09090; -} - -#syncStatusMessage[message-type="migration"] #syncStatusMessageTitle { - display: none; -} - -#syncStatusMessageTitle { - font-weight: bold !important; - font-size: 16px; - line-height: 157%; - margin: 0 0 20px; -} - - -#syncStatusMessageDescription { - font-size: 14px; - line-height: 158%; - margin: 0 !important; -} - -#syncStatusMessageClose { - margin: 0px; -} - #fxaSyncEngines > vbox:first-child { margin-right: 80px; } @@ -737,6 +605,10 @@ description > html|a { list-style-image: url(chrome://browser/skin/fxa/sync-illustration.png) } +#fxaLoginStatus[hasName] #fxaEmailAddress1 { + font-size: 1.1rem; +} + #fxaEmailAddress1, #fxaEmailAddress2, #fxaEmailAddress3 { @@ -750,7 +622,8 @@ description > html|a { } .fxaMobilePromo { - margin-bottom: 31px; + margin-bottom: 20px; + margin-top: 25px; } #fxaLoginRejectedWarning { @@ -763,9 +636,22 @@ description > html|a { margin-bottom: 27.5px; } +.androidLink { + background-image: url("chrome://browser/skin/fxa/android.png"); +} + +.iOSLink { + background-image: url("chrome://browser/skin/fxa/ios.png"); +} + .androidLink, .iOSLink { - margin: 0; + margin: 0 0 0 2px; + padding-left: 28px; + padding-top: 6px; + height: 28px; + background-repeat: no-repeat; + background-size: 24px 28px; } #tosPP-small { @@ -774,15 +660,18 @@ description > html|a { } @media (min-resolution: 1.1dppx) { + .androidLink { + background-image: url("chrome://browser/skin/fxa/android@2x.png"); + } + .iOSLink { + background-image: url("chrome://browser/skin/fxa/ios@2x.png"); + } .fxaSyncIllustration { list-style-image: url(chrome://browser/skin/fxa/sync-illustration@2x.png) } .fxaFirefoxLogo { list-style-image: url(chrome://browser/skin/fxa/logo@2x.png); } - #fxaProfileImage { - list-style-image: url(chrome://browser/skin/fxa/default-avatar@2x.png); - } } /* === END shared/incontentprefs/preferences.inc.css === */ @@ -791,7 +680,7 @@ caption { } .indent-small { - -moz-margin-start: 10px; + margin-inline-start: 10px; } @media (min-resolution: 2dppx) {