X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2FaboutReaderControls.css;fp=EarlyBlue%2Fglobal%2FaboutReaderControls.css;h=6f86c5783cd50f332eb9d2218ff6aff90c06d144;hp=4b8a40eb152a26338dbee8a961b08ce63636d151;hb=dae4507500ac2bc6547a8303851bc9b0bcae5ddf;hpb=781d1b79486cf2b5ee940009b7c15a546108c48f diff --git a/EarlyBlue/global/aboutReaderControls.css b/EarlyBlue/global/aboutReaderControls.css index 4b8a40eb..6f86c578 100644 --- a/EarlyBlue/global/aboutReaderControls.css +++ b/EarlyBlue/global/aboutReaderControls.css @@ -162,7 +162,9 @@ #font-type-buttons, #font-size-buttons, -#color-scheme-buttons { +#color-scheme-buttons, +#content-width-buttons, +#line-height-buttons { display: flex; flex-direction: row; } @@ -182,13 +184,17 @@ #font-type-buttons > button, #font-size-buttons > button, -#color-scheme-buttons > button { +#color-scheme-buttons > button, +#content-width-buttons > button, +#line-height-buttons > button { text-align: center; border: 0; } #font-type-buttons > button, -#font-size-buttons > button { +#font-size-buttons > button, +#content-width-buttons > button, +#line-height-buttons > button { width: 50%; background-color: transparent; border-left: 1px solid #B5B5B5; @@ -206,7 +212,9 @@ } #font-type-buttons > button:first-child, -#font-size-buttons > button:first-child { +#font-size-buttons > button:first-child, +#content-width-buttons > button:first-child, +#line-height-buttons > button:first-child { border-left: 0; } @@ -217,7 +225,9 @@ } #font-size-buttons > button, -#color-scheme-buttons > button { +#color-scheme-buttons > button, +#content-width-buttons > button, +#line-height-buttons > button { height: 60px; } @@ -241,19 +251,6 @@ } /* Font sizes are different per-platform, so we need custom CSS to line them up. */ -%ifdef XP_MACOSX -#font-type-buttons > .sans-serif-button > .name { - margin-top: 10px; -} - -#font-type-buttons > .sans-serif-button > .description { - margin-top: -4px; -} - -#font-type-buttons > .serif-button > .name { - font-size: 63px; -} -%elifdef XP_WIN #font-type-buttons > .sans-serif-button > .name { margin-top: 2px; } @@ -265,30 +262,23 @@ #font-type-buttons > .serif-button > .name { font-size: 63px; } -%else -#font-type-buttons > .sans-serif-button > .name { - margin-top: 5px; -} - -#font-type-buttons > .sans-serif-button > .description { - margin-top: -8px; -} - -#font-type-buttons > .serif-button > .name { - font-size: 70px; -} -%endif .button:hover, #font-size-buttons > button:hover, -#font-type-buttons > button:hover { +#font-type-buttons > button:hover, +#content-width-buttons > button:hover, +#line-height-buttons > button:hover { background-color: #ebebeb; } .dropdown.open, .button:active, #font-size-buttons > button:active, -#font-size-buttons > button.selected { +#font-size-buttons > button.selected, +#content-width-buttons > button:active, +#content-width-buttons > button.selected, +#line-height-buttons > button:active, +#line-height-buttons > button.selected { background-color: #dadada; } @@ -298,7 +288,11 @@ } .minus-button, -.plus-button { +.plus-button, +.content-width-minus-button, +.content-width-plus-button, +.line-height-minus-button, +.line-height-plus-button { background-color: transparent; border: 0; background-size: 18px 18px; @@ -348,6 +342,26 @@ background-image: url("chrome://global/skin/reader/pocket.svg#pocket-mark-added"); } +.content-width-minus-button { + background-size: 42px 16px; + background-image: url("chrome://global/skin/reader/RM-Content-Width-Minus-42x16.svg"); +} + +.content-width-plus-button { + background-size: 44px 16px; + background-image: url("chrome://global/skin/reader/RM-Content-Width-Plus-44x16.svg"); +} + +.line-height-minus-button { + background-size: 34px 14px; + background-image: url("chrome://global/skin/reader/RM-Line-Height-Minus-38x14.svg"); +} + +.line-height-plus-button { + background-size: 34px 24px; + background-image: url("chrome://global/skin/reader/RM-Line-Height-Plus-38x24.svg"); +} + @media print { .toolbar { display: none !important;