X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fpreferences%2Fin-content%2Fpreferences.css;h=c54cda0540448f76fc751ab169d947bd772d567a;hp=ac4160cfaf1b51bc482db2832cf7332bc74285c6;hb=589b5528220a57ff70809bd8ef0eeaf51a0c8b2f;hpb=acc20e5dafc253d32dd6f55076943b9eeae398ca diff --git a/LCARStrek/browser/preferences/in-content/preferences.css b/LCARStrek/browser/preferences/in-content/preferences.css index ac4160cf..c54cda05 100644 --- a/LCARStrek/browser/preferences/in-content/preferences.css +++ b/LCARStrek/browser/preferences/in-content/preferences.css @@ -8,7 +8,7 @@ @font-face { font-family: "Clear Sans"; - src: url("chrome://browser/skin/fonts/ClearSans-Regular.ttf"); + src: url("chrome://browser/content/fonts/ClearSans-Regular.woff") format('woff'); } page { @@ -28,15 +28,13 @@ caption { } .main-content { - max-width: 800px; -} - -prefpane > .content-box { + padding: 40px 48px 48px; overflow: auto; } prefpane { - padding: 40px 48px 48px; + max-width: 800px; + padding: 0; font-family: "Clear Sans", sans-serif; font-size: 1.25rem; line-height: 22px; @@ -44,7 +42,7 @@ prefpane { } prefpane > .content-box { - overflow: auto; + overflow: visible; } /* groupboxes */ @@ -345,31 +343,65 @@ radio[selected]::before { } #header-general > .header-icon { - -moz-image-region: rect(3px, 45px, 45px, 3px); + -moz-image-region: rect(0, 40px, 40px, 0); } #header-content > .header-icon { - -moz-image-region: rect(3px, 93px, 45px, 51px); + -moz-image-region: rect(0, 80px, 40px, 40px); } #header-application > .header-icon { - -moz-image-region: rect(3px, 141px, 45px, 99px); + -moz-image-region: rect(0, 120px, 40px, 80px); } #header-privacy > .header-icon { - -moz-image-region: rect(3px, 189px, 45px, 147px); + -moz-image-region: rect(0, 160px, 40px, 120px); } #header-security > .header-icon { - -moz-image-region: rect(3px, 237px, 45px, 195px); + -moz-image-region: rect(0, 200px, 40px, 160px); } #header-sync > .header-icon { - -moz-image-region: rect(3px, 285px, 45px, 243px); + -moz-image-region: rect(0, 240px, 40px, 200px); } #header-advanced > .header-icon { - -moz-image-region: rect(3px, 333px, 45px, 291px); + -moz-image-region: rect(0, 280px, 40px, 240px); +} + +@media (min-resolution: 2dppx) { + .header-icon { + list-style-image: url("chrome://browser/skin/preferences/in-content/header@2x.png"); + } + + #header-general > .header-icon { + -moz-image-region: rect(0, 80px, 80px, 0); + } + + #header-content > .header-icon { + -moz-image-region: rect(0, 160px, 80px, 80px); + } + + #header-application > .header-icon { + -moz-image-region: rect(0, 240px, 80px, 160px); + } + + #header-privacy > .header-icon { + -moz-image-region: rect(0, 320px, 80px, 240px); + } + + #header-security > .header-icon { + -moz-image-region: rect(0, 400px, 80px, 320px); + } + + #header-sync > .header-icon { + -moz-image-region: rect(0, 480px, 80px, 400px); + } + + #header-advanced > .header-icon { + -moz-image-region: rect(0, 560px, 80px, 480px); + } } .indent { @@ -462,7 +494,7 @@ filefield { #typeColumn > .treecol-sortdirection[sortDirection=ascending], #actionColumn > .treecol-sortdirection[sortDirection=ascending], #typeColumn > .treecol-sortdirection[sortDirection=descending], -#actionColumn > .treecol-sortdirection[sortDirection=descending] { +#actionColumn > .treecol-sortdirection[sortDirection=descending] { } #typeColumn > .treecol-sortdirection[sortDirection=descending],