From acf459429b128053ef70934d3152f4b211a14396 Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 14 Nov 2022 15:00:56 +0100 Subject: implement CSS variable --frss-padding-top-bottom (#4794) --- p/themes/base-theme/frss.css | 28 +++++++++++++++++++++------- p/themes/base-theme/frss.rtl.css | 28 +++++++++++++++++++++------- 2 files changed, 42 insertions(+), 14 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index e0ef320e1..6367e60f5 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -39,6 +39,7 @@ --frss-loading-image: url("loader.gif"); --frss-padding-flux-items: 0.75rem; + --frss-padding-top-bottom: 0.5rem; line-height: 1.5; } @@ -583,7 +584,7 @@ input[type="checkbox"]:focus-visible { } .horizontal-list .item .item-element { - padding: 0.5rem 0; + padding: var(--frss-padding-top-bottom) 0; } /*=== manage-list */ @@ -826,6 +827,7 @@ input[type="checkbox"]:focus-visible { .box .box-content .item.feed { display: block; + padding-top: var(--frss-padding-top-bottom); } .box .box-content .item.feed.moved { @@ -955,6 +957,11 @@ li.drag-hover { transition: max-height .3s linear; } +.tree-folder-title { + padding-top: var(--frss-padding-top-bottom); + padding-bottom: var(--frss-padding-top-bottom); +} + .tree-folder-title .title { display: inline-block; width: 100%; @@ -993,11 +1000,13 @@ li.drag-hover { .header { display: table; width: 100%; - height: 85px; + height: calc(2rem + 2 * var(--frss-padding-top-bottom)); table-layout: fixed; } .header > .item { + padding-top: var(--frss-padding-top-bottom); + padding-bottom: var(--frss-padding-top-bottom); display: table-cell; } @@ -1012,7 +1021,7 @@ li.drag-hover { .header > .item.title .logo { display: inline-block; - height: 32px; + height: 2rem; vertical-align: middle; } @@ -1029,7 +1038,7 @@ input[type="search"] { background: inherit; display: table; width: 100%; - height: calc(100vh - 85px); + height: calc(100vh - (calc(2rem + 2 * var(--frss-padding-top-bottom)))); table-layout: fixed; } @@ -1061,7 +1070,7 @@ input[type="search"] { } .aside_feed .tree-folder-items .item.feed { - padding: 0 0.75rem; + padding: var(--frss-padding-top-bottom) 0.75rem; } .aside_feed .tree-folder-items:not(.active) { @@ -1104,6 +1113,7 @@ input[type="search"] { } #new-article > a { + padding: calc(0.25rem + var(--frss-padding-top-bottom)) 1rem; display: block; } @@ -1132,7 +1142,7 @@ input[type="search"] { } .flux .flux_header .item .item-element { - padding: 0.5rem 0; + padding: var(--frss-padding-top-bottom) 0; line-height: 1.5rem; } @@ -1268,6 +1278,7 @@ a.website:hover .favicon { .content { min-height: 20rem; margin: auto; + padding: 0.75rem; line-height: 1.5; word-wrap: break-word; } @@ -1782,7 +1793,7 @@ input:checked + .slide-container .properties { .aside .category .title:not([data-unread="0"])::after, .aside .feed .item-title:not([data-unread="0"])::after { - margin: 0.6rem 0 0 0; + margin: calc(0.125rem + var(--frss-padding-top-bottom)) 0 0 0; padding: 0.25rem 0.5rem; min-width: 2rem; display: block; @@ -1850,7 +1861,10 @@ input:checked + .slide-container .properties { } .nav_menu { + padding-top: var(--frss-padding-top-bottom); + padding-bottom: var(--frss-padding-top-bottom); background: inherit; + text-align: center; } .nav_mobile { diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 1755291bd..73dc4f83d 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -39,6 +39,7 @@ --frss-loading-image: url("loader.gif"); --frss-padding-flux-items: 0.75rem; + --frss-padding-top-bottom: 0.5rem; line-height: 1.5; } @@ -583,7 +584,7 @@ input[type="checkbox"]:focus-visible { } .horizontal-list .item .item-element { - padding: 0.5rem 0; + padding: var(--frss-padding-top-bottom) 0; } /*=== manage-list */ @@ -826,6 +827,7 @@ input[type="checkbox"]:focus-visible { .box .box-content .item.feed { display: block; + padding-top: var(--frss-padding-top-bottom); } .box .box-content .item.feed.moved { @@ -955,6 +957,11 @@ li.drag-hover { transition: max-height .3s linear; } +.tree-folder-title { + padding-top: var(--frss-padding-top-bottom); + padding-bottom: var(--frss-padding-top-bottom); +} + .tree-folder-title .title { display: inline-block; width: 100%; @@ -993,11 +1000,13 @@ li.drag-hover { .header { display: table; width: 100%; - height: 85px; + height: calc(2rem + 2 * var(--frss-padding-top-bottom)); table-layout: fixed; } .header > .item { + padding-top: var(--frss-padding-top-bottom); + padding-bottom: var(--frss-padding-top-bottom); display: table-cell; } @@ -1012,7 +1021,7 @@ li.drag-hover { .header > .item.title .logo { display: inline-block; - height: 32px; + height: 2rem; vertical-align: middle; } @@ -1029,7 +1038,7 @@ input[type="search"] { background: inherit; display: table; width: 100%; - height: calc(100vh - 85px); + height: calc(100vh - (calc(2rem + 2 * var(--frss-padding-top-bottom)))); table-layout: fixed; } @@ -1061,7 +1070,7 @@ input[type="search"] { } .aside_feed .tree-folder-items .item.feed { - padding: 0 0.75rem; + padding: var(--frss-padding-top-bottom) 0.75rem; } .aside_feed .tree-folder-items:not(.active) { @@ -1104,6 +1113,7 @@ input[type="search"] { } #new-article > a { + padding: calc(0.25rem + var(--frss-padding-top-bottom)) 1rem; display: block; } @@ -1132,7 +1142,7 @@ input[type="search"] { } .flux .flux_header .item .item-element { - padding: 0.5rem 0; + padding: var(--frss-padding-top-bottom) 0; line-height: 1.5rem; } @@ -1268,6 +1278,7 @@ a.website:hover .favicon { .content { min-height: 20rem; margin: auto; + padding: 0.75rem; line-height: 1.5; word-wrap: break-word; } @@ -1782,7 +1793,7 @@ input:checked + .slide-container .properties { .aside .category .title:not([data-unread="0"])::after, .aside .feed .item-title:not([data-unread="0"])::after { - margin: 0.6rem 0 0 0; + margin: calc(0.125rem + var(--frss-padding-top-bottom)) 0 0 0; padding: 0.25rem 0.5rem; min-width: 2rem; display: block; @@ -1850,7 +1861,10 @@ input:checked + .slide-container .properties { } .nav_menu { + padding-top: var(--frss-padding-top-bottom); + padding-bottom: var(--frss-padding-top-bottom); background: inherit; + text-align: center; } .nav_mobile { -- cgit v1.2.3 From 07c94061a9607b5d0a1341cc1b349ee094d5115b Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 14 Nov 2022 20:22:01 +0100 Subject: Improved: Centralized CSS for notifications (#4800) * wip. all themes * fixes --- p/themes/Alternative-Dark/adark.css | 9 --------- p/themes/Alternative-Dark/adark.rtl.css | 9 --------- p/themes/Ansum/_layout.scss | 4 ---- p/themes/Ansum/ansum.css | 5 ----- p/themes/Ansum/ansum.rtl.css | 5 ----- p/themes/BlueLagoon/BlueLagoon.css | 9 --------- p/themes/BlueLagoon/BlueLagoon.rtl.css | 9 --------- p/themes/Dark/dark.css | 9 --------- p/themes/Dark/dark.rtl.css | 9 --------- p/themes/Flat/flat.css | 6 ------ p/themes/Flat/flat.rtl.css | 6 ------ p/themes/Mapco/_layout.scss | 4 ---- p/themes/Mapco/mapco.css | 5 ----- p/themes/Mapco/mapco.rtl.css | 5 ----- p/themes/Nord/nord.css | 10 ---------- p/themes/Nord/nord.rtl.css | 10 ---------- p/themes/Origine/origine.css | 11 +---------- p/themes/Origine/origine.rtl.css | 11 +---------- p/themes/Pafat/pafat.css | 9 --------- p/themes/Pafat/pafat.rtl.css | 9 --------- p/themes/Screwdriver/screwdriver.css | 9 --------- p/themes/Screwdriver/screwdriver.rtl.css | 9 --------- p/themes/Swage/swage.css | 3 --- p/themes/Swage/swage.rtl.css | 3 --- p/themes/Swage/swage.scss | 4 ---- p/themes/base-theme/base.css | 16 ---------------- p/themes/base-theme/base.rtl.css | 16 ---------------- p/themes/base-theme/frss.css | 10 ++++++++-- p/themes/base-theme/frss.rtl.css | 10 ++++++++-- 29 files changed, 18 insertions(+), 216 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 3b5a9d337..867110efe 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -915,15 +915,6 @@ kbd { color: var(--font-color-contrast); } -.notification a.close { - padding: 0 15px; - line-height: 3; -} - -.notification#actualizeProgress { - line-height: 2; -} - /*=== "Load more" part */ #bigMarkAsRead { background: var(--background-color-dark); diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 64ddd4403..3832ab7f9 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -915,15 +915,6 @@ kbd { color: var(--font-color-contrast); } -.notification a.close { - padding: 0 15px; - line-height: 3; -} - -.notification#actualizeProgress { - line-height: 2; -} - /*=== "Load more" part */ #bigMarkAsRead { background: var(--background-color-dark); diff --git a/p/themes/Ansum/_layout.scss b/p/themes/Ansum/_layout.scss index 4d099ab4a..ab7ec6e3e 100644 --- a/p/themes/Ansum/_layout.scss +++ b/p/themes/Ansum/_layout.scss @@ -348,9 +348,7 @@ main.prompt { } a.close { - padding: 0 15px; border-radius: 0 3px 3px 0; - line-height: 3em; } &.good a.close:hover { @@ -362,8 +360,6 @@ main.prompt { } &#actualizeProgress { - line-height: 2em; - br { display: none; } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 21d718949..b38f6e578 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -951,9 +951,7 @@ main.prompt { color: #fff; } .notification a.close { - padding: 0 15px; border-radius: 0 3px 3px 0; - line-height: 3em; } .notification.good a.close:hover { background: #0c7556; @@ -961,9 +959,6 @@ main.prompt { .notification.bad a.close:hover { background: #73341f; } -.notification#actualizeProgress { - line-height: 2em; -} .notification#actualizeProgress br { display: none; } diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index a4d0e32b5..261017071 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -951,9 +951,7 @@ main.prompt { color: #fff; } .notification a.close { - padding: 0 15px; border-radius: 3px 0 0 3px; - line-height: 3em; } .notification.good a.close:hover { background: #0c7556; @@ -961,9 +959,6 @@ main.prompt { .notification.bad a.close:hover { background: #73341f; } -.notification#actualizeProgress { - line-height: 2em; -} .notification#actualizeProgress br { display: none; } diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index caf81bb51..21a0f0352 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -950,11 +950,6 @@ a.btn { color: #eb2901; } -.notification a.close { - padding: 0 15px; - line-height: 3em; -} - .notification a.close:hover { background: rgba(255,255,255,0.2); } @@ -963,10 +958,6 @@ a.btn { filter: brightness(2); } -.notification#actualizeProgress { - line-height: 2em; -} - /*=== "Load more" part */ #bigMarkAsRead { background: #f9f7f4; diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index f4c4e0d84..6f081f80a 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -950,11 +950,6 @@ a.btn { color: #eb2901; } -.notification a.close { - padding: 0 15px; - line-height: 3em; -} - .notification a.close:hover { background: rgba(255,255,255,0.2); } @@ -963,10 +958,6 @@ a.btn { filter: brightness(2); } -.notification#actualizeProgress { - line-height: 2em; -} - /*=== "Load more" part */ #bigMarkAsRead { background: #f9f7f4; diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index c0a5fa507..89e9e007c 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -841,11 +841,6 @@ a.btn { color: #a44; } -.notification a.close { - padding: 0 15px; - line-height: 3em; -} - .notification a.close:hover { background: #222; border-radius: 0 3px 3px 0; @@ -859,10 +854,6 @@ a.btn { background: #a44; } -.notification#actualizeProgress { - line-height: 2em; -} - /*=== "Load more" part */ #bigMarkAsRead { text-align: center; diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 82ec53464..b7d70c2bd 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -841,11 +841,6 @@ a.btn { color: #a44; } -.notification a.close { - padding: 0 15px; - line-height: 3em; -} - .notification a.close:hover { background: #222; border-radius: 3px 0 0 3px; @@ -859,10 +854,6 @@ a.btn { background: #a44; } -.notification#actualizeProgress { - line-height: 2em; -} - /*=== "Load more" part */ #bigMarkAsRead { text-align: center; diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 2f0362b9d..5982f7003 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -863,8 +863,6 @@ a.btn { } .notification a.close { - padding: 0 15px; - line-height: 3em; border-radius: 0 3px 3px 0; } @@ -876,10 +874,6 @@ a.btn { background: #c0392b; } -.notification#actualizeProgress { - line-height: 2em; -} - /*=== "Load more" part */ #bigMarkAsRead { text-align: center; diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 63d0103c4..fa802c438 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -863,8 +863,6 @@ a.btn { } .notification a.close { - padding: 0 15px; - line-height: 3em; border-radius: 3px 0 0 3px; } @@ -876,10 +874,6 @@ a.btn { background: #c0392b; } -.notification#actualizeProgress { - line-height: 2em; -} - /*=== "Load more" part */ #bigMarkAsRead { text-align: center; diff --git a/p/themes/Mapco/_layout.scss b/p/themes/Mapco/_layout.scss index a4aaf6fa8..b1cae52f1 100644 --- a/p/themes/Mapco/_layout.scss +++ b/p/themes/Mapco/_layout.scss @@ -366,9 +366,7 @@ main.prompt { } a.close { - padding: 0 15px; border-radius: 0 3px 3px 0; - line-height: 3em; } &.good a.close:hover { @@ -380,8 +378,6 @@ main.prompt { } &#actualizeProgress { - line-height: 2em; - br { display: none; } diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 028c12e12..b7fe16011 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -969,9 +969,7 @@ main.prompt { color: #fff; } .notification a.close { - padding: 0 15px; border-radius: 0 3px 3px 0; - line-height: 3em; } .notification.good a.close:hover { background: #0c7540; @@ -979,9 +977,6 @@ main.prompt { .notification.bad a.close:hover { background: #73341f; } -.notification#actualizeProgress { - line-height: 2em; -} .notification#actualizeProgress br { display: none; } diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 21cc44222..04efbb47d 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -969,9 +969,7 @@ main.prompt { color: #fff; } .notification a.close { - padding: 0 15px; border-radius: 3px 0 0 3px; - line-height: 3em; } .notification.good a.close:hover { background: #0c7540; @@ -979,9 +977,6 @@ main.prompt { .notification.bad a.close:hover { background: #73341f; } -.notification#actualizeProgress { - line-height: 2em; -} .notification#actualizeProgress br { display: none; } diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 9de1f0189..65d2f8bea 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -664,16 +664,6 @@ li.item.active { vertical-align: middle; } - -.notification a.close { - padding: 0 15px; - line-height: 3em; -} - -.notification#actualizeProgress { - line-height: 2em; -} - .notification.closed { opacity: 0; visibility: hidden; diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index 52bdd752d..570b77d62 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -664,16 +664,6 @@ li.item.active { vertical-align: middle; } - -.notification a.close { - padding: 0 15px; - line-height: 3em; -} - -.notification#actualizeProgress { - line-height: 2em; -} - .notification.closed { opacity: 0; visibility: hidden; diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index a53055a75..e4d91099b 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -955,15 +955,6 @@ a:hover .icon { border: 1px solid var(--notification-bad-border-color); } -.notification a.close { - padding: 0 15px; - line-height: 3; -} - -.notification a.close:hover .icon { - filter: brightness(0.5); -} - .notification.good a.close:hover { background-color: var(--notification-close-background-color-hover); } @@ -973,7 +964,7 @@ a:hover .icon { } .notification#actualizeProgress { - line-height: 2; + line-height: 2em; } /*=== "Load more" part */ diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 377ff9823..d26c17bdb 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -955,15 +955,6 @@ a:hover .icon { border: 1px solid var(--notification-bad-border-color); } -.notification a.close { - padding: 0 15px; - line-height: 3; -} - -.notification a.close:hover .icon { - filter: brightness(0.5); -} - .notification.good a.close:hover { background-color: var(--notification-close-background-color-hover); } @@ -973,7 +964,7 @@ a:hover .icon { } .notification#actualizeProgress { - line-height: 2; + line-height: 2em; } /*=== "Load more" part */ diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index b513ba7ea..bf360127c 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -873,11 +873,6 @@ a.signin { border: 1px solid #ecc; } -.notification a.close { - padding: 0 15px; - line-height: 3; -} - .notification.good a.close:hover { background: #eeb; } @@ -886,10 +881,6 @@ a.signin { background: #ecc; } -.notification#actualizeProgress { - line-height: 2; -} - /*=== "Load more" part */ #bigMarkAsRead { background: #fafafa; diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 7d5ae91c7..e11c9ab81 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -873,11 +873,6 @@ a.signin { border: 1px solid #ecc; } -.notification a.close { - padding: 0 15px; - line-height: 3; -} - .notification.good a.close:hover { background: #eeb; } @@ -886,10 +881,6 @@ a.signin { background: #ecc; } -.notification#actualizeProgress { - line-height: 2; -} - /*=== "Load more" part */ #bigMarkAsRead { background: #fafafa; diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 3829c787b..84c3b4c38 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -929,15 +929,6 @@ a.btn { color: #844; } -.notification a.close { - padding: 0 15px; - line-height: 3em; -} - -.notification#actualizeProgress { - line-height: 2em; -} - /*=== "Load more" part */ #bigMarkAsRead { background: #ede7de; diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index 7d745560d..cff62199f 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -929,15 +929,6 @@ a.btn { color: #844; } -.notification a.close { - padding: 0 15px; - line-height: 3em; -} - -.notification#actualizeProgress { - line-height: 2em; -} - /*=== "Load more" part */ #bigMarkAsRead { background: #ede7de; diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 1c438f4a1..44a986bb9 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -825,9 +825,6 @@ form th { .notification.bad a.close:hover { background-color: var(--color-background-bad); } -.notification#actualizeProgress { - line-height: 2; -} .notification a.close { display: none; } diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 0c3e52d20..24b0bbcfb 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -825,9 +825,6 @@ form th { .notification.bad a.close:hover { background-color: var(--color-background-bad); } -.notification#actualizeProgress { - line-height: 2; -} .notification a.close { display: none; } diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 8f61015c5..f3ec8cf5c 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -1061,10 +1061,6 @@ form { } } - &#actualizeProgress { - line-height: 2; - } - a.close { display: none; } diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index 22bc5a5e7..9f2e23a9c 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -658,13 +658,6 @@ a.btn { /*=== Notification and actualize notification */ .notification { - padding: 0 0 0 5px; - text-align: center; - font-weight: bold; - font-size: 0.9em; - line-height: 3; - z-index: 10; - vertical-align: middle; } .notification.good { @@ -673,21 +666,12 @@ a.btn { .notification.bad { } -.notification a.close { - padding: 0 15px; - line-height: 3; -} - .notification.good a.close:hover { } .notification.bad a.close:hover { } -.notification#actualizeProgress { - line-height: 2; -} - /*=== "Load more" part */ #bigMarkAsRead { text-align: center; diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index d03906a90..da9d401a9 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -658,13 +658,6 @@ a.btn { /*=== Notification and actualize notification */ .notification { - padding: 0 5px 0 0; - text-align: center; - font-weight: bold; - font-size: 0.9em; - line-height: 3; - z-index: 10; - vertical-align: middle; } .notification.good { @@ -673,21 +666,12 @@ a.btn { .notification.bad { } -.notification a.close { - padding: 0 15px; - line-height: 3; -} - .notification.good a.close:hover { } .notification.bad a.close:hover { } -.notification#actualizeProgress { - line-height: 2; -} - /*=== "Load more" part */ #bigMarkAsRead { text-align: center; diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 6367e60f5..1186457b3 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -1373,15 +1373,19 @@ a.website:hover .favicon { /*=== Notification and actualize notification */ .notification { - padding: 10px 50px 10px 10px; + padding: 0.75rem 3.5rem 0.75rem 0.75rem; position: absolute; - top: 1em; + top: 1rem; left: 25%; right: 25%; z-index: 9999; background-color: var(--frss-background-color); + font-weight: bold; + font-size: 0.9rem; border: 1px solid var(--frss-border-color); opacity: 1; + text-align: center; line-height: 2; + vertical-align: middle; visibility: visible; transition: visibility 0s, opacity .3s linear; } @@ -1392,10 +1396,12 @@ a.website:hover .favicon { } .notification a.close { + padding: 0 1rem; position: absolute; top: 0; bottom: 0; right: 0; display: inline-block; + line-height: 3; } .notification a.close:hover { diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 73dc4f83d..30a9c3e6c 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -1373,15 +1373,19 @@ a.website:hover .favicon { /*=== Notification and actualize notification */ .notification { - padding: 10px 10px 10px 50px; + padding: 0.75rem 0.75rem 0.75rem 3.5rem; position: absolute; - top: 1em; + top: 1rem; right: 25%; left: 25%; z-index: 9999; background-color: var(--frss-background-color); + font-weight: bold; + font-size: 0.9rem; border: 1px solid var(--frss-border-color); opacity: 1; + text-align: center; line-height: 2; + vertical-align: middle; visibility: visible; transition: visibility 0s, opacity .3s linear; } @@ -1392,10 +1396,12 @@ a.website:hover .favicon { } .notification a.close { + padding: 0 1rem; position: absolute; top: 0; bottom: 0; left: 0; display: inline-block; + line-height: 3; } .notification a.close:hover { -- cgit v1.2.3 From 0ad8e6b4189d6afa6d6f1a74ba2bf9e90faf8ef3 Mon Sep 17 00:00:00 2001 From: maTh Date: Thu, 17 Nov 2022 19:45:57 +0100 Subject: fix: Reader view on mobile screen (#4868) --- p/themes/base-theme/frss.css | 4 ++++ p/themes/base-theme/frss.rtl.css | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'p/themes/base-theme') diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 1186457b3..2a69ed442 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -2129,6 +2129,10 @@ input:checked + .slide-container .properties { top: 0; } + .reader .flux .content { + padding: 1rem; + } + .notification { top: 0; left: 0; diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 30a9c3e6c..4f8f1b04c 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -2129,6 +2129,10 @@ input:checked + .slide-container .properties { top: 0; } + .reader .flux .content { + padding: 1rem; + } + .notification { top: 0; right: 0; -- cgit v1.2.3 From e7aa0628581a8d010561959f7b80ce7e1a3784ab Mon Sep 17 00:00:00 2001 From: maTh Date: Sun, 20 Nov 2022 14:41:31 +0100 Subject: Improved: Origine Compact theme (#4873) --- p/themes/Origine-compact/origine-compact.css | 21 +++++---------------- p/themes/Origine-compact/origine-compact.rtl.css | 21 +++++---------------- p/themes/base-theme/frss.css | 1 - p/themes/base-theme/frss.rtl.css | 1 - 4 files changed, 10 insertions(+), 34 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css index d85d5c065..e70482d57 100644 --- a/p/themes/Origine-compact/origine-compact.css +++ b/p/themes/Origine-compact/origine-compact.css @@ -6,12 +6,6 @@ --frss-padding-top-bottom: 0.125rem; } -input, select, textarea { - padding: 3px 5px 2px 5px; - min-height: 25px; - line-height: 2; -} - /*=== COMPONENTS */ /*===============*/ /*=== Forms */ @@ -58,24 +52,19 @@ a.btn, /*=== STRUCTURE */ /*===============*/ /*=== Header */ -.header .item.configure .btn, -.header .item.search .btn { - min-height: 18px; - padding: 4px 10px; - line-height: 1.4; +.header { + /* search bar and config button height = 2.1rem */ + height: calc(2.1rem + 2 * var(--frss-padding-top-bottom)); } .header > .item.title .logo { + /* logo is smaller than needed */ height: 1.5rem; } -.header > .item.search input { - padding: 1px 5px; -} - /*=== Body */ #global { - height: calc(100vh - (calc(1.5rem + 2 * var(--frss-padding-top-bottom)))) + height: calc(100vh - (calc(2.1rem + 2 * var(--frss-padding-top-bottom)))) } /*=== Aside main page (categories) */ diff --git a/p/themes/Origine-compact/origine-compact.rtl.css b/p/themes/Origine-compact/origine-compact.rtl.css index 1273cfc55..d6f7e49bd 100644 --- a/p/themes/Origine-compact/origine-compact.rtl.css +++ b/p/themes/Origine-compact/origine-compact.rtl.css @@ -6,12 +6,6 @@ --frss-padding-top-bottom: 0.125rem; } -input, select, textarea { - padding: 3px 5px 2px 5px; - min-height: 25px; - line-height: 2; -} - /*=== COMPONENTS */ /*===============*/ /*=== Forms */ @@ -58,24 +52,19 @@ a.btn, /*=== STRUCTURE */ /*===============*/ /*=== Header */ -.header .item.configure .btn, -.header .item.search .btn { - min-height: 18px; - padding: 4px 10px; - line-height: 1.4; +.header { + /* search bar and config button height = 2.1rem */ + height: calc(2.1rem + 2 * var(--frss-padding-top-bottom)); } .header > .item.title .logo { + /* logo is smaller than needed */ height: 1.5rem; } -.header > .item.search input { - padding: 1px 5px; -} - /*=== Body */ #global { - height: calc(100vh - (calc(1.5rem + 2 * var(--frss-padding-top-bottom)))) + height: calc(100vh - (calc(2.1rem + 2 * var(--frss-padding-top-bottom)))) } /*=== Aside main page (categories) */ diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 2a69ed442..42f6c05f6 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -118,7 +118,6 @@ h3 { /*=== Paragraphs */ p { margin: 1rem 0 0.5rem; - font-size: 1rem; } p.help, .prompt p.help { diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 4f8f1b04c..77ff17934 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -118,7 +118,6 @@ h3 { /*=== Paragraphs */ p { margin: 1rem 0 0.5rem; - font-size: 1rem; } p.help, .prompt p.help { -- cgit v1.2.3 From 278e07f7bdfc1c81129a261d59311bc82461366c Mon Sep 17 00:00:00 2001 From: maTh Date: Sun, 20 Nov 2022 14:46:39 +0100 Subject: fix: over flowing table that destroy the layout (#4872) --- p/themes/Alternative-Dark/adark.css | 3 +-- p/themes/Alternative-Dark/adark.rtl.css | 3 +-- p/themes/Ansum/_tables.scss | 3 +-- p/themes/Ansum/ansum.css | 3 +-- p/themes/Ansum/ansum.rtl.css | 3 +-- p/themes/BlueLagoon/BlueLagoon.css | 3 +-- p/themes/BlueLagoon/BlueLagoon.rtl.css | 3 +-- p/themes/Dark/dark.css | 3 +-- p/themes/Dark/dark.rtl.css | 3 +-- p/themes/Flat/flat.css | 3 +-- p/themes/Flat/flat.rtl.css | 3 +-- p/themes/Mapco/_tables.scss | 3 +-- p/themes/Mapco/mapco.css | 3 +-- p/themes/Mapco/mapco.rtl.css | 3 +-- p/themes/Nord/nord.css | 4 ---- p/themes/Nord/nord.rtl.css | 4 ---- p/themes/Origine/origine.css | 3 +-- p/themes/Origine/origine.rtl.css | 3 +-- p/themes/Pafat/pafat.css | 3 +-- p/themes/Pafat/pafat.rtl.css | 3 +-- p/themes/Screwdriver/screwdriver.css | 3 +-- p/themes/Screwdriver/screwdriver.rtl.css | 3 +-- p/themes/Swage/swage.css | 2 -- p/themes/Swage/swage.rtl.css | 2 -- p/themes/Swage/swage.scss | 2 -- p/themes/base-theme/base.css | 3 +-- p/themes/base-theme/base.rtl.css | 3 +-- p/themes/base-theme/frss.css | 14 ++++++++++++++ p/themes/base-theme/frss.rtl.css | 14 ++++++++++++++ 29 files changed, 50 insertions(+), 58 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 4cab202f6..1238dc494 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -123,8 +123,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid var(--border-color-dark); } diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index a98691b40..341d504c2 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -123,8 +123,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid var(--border-color-dark); } diff --git a/p/themes/Ansum/_tables.scss b/p/themes/Ansum/_tables.scss index 4955fff6a..7376279e0 100644 --- a/p/themes/Ansum/_tables.scss +++ b/p/themes/Ansum/_tables.scss @@ -5,8 +5,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid variables.$grey-medium-light; } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index dfc7562f9..904335955 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -201,8 +201,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #e4d8cc; } diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index c5809c501..3ce5662db 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -201,8 +201,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #e4d8cc; } diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index c76057e79..14f1cd612 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -75,8 +75,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index cf4980cee..66cca16fe 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -75,8 +75,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 61f28bde8..b177c5723 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -87,8 +87,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #333; } diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 562c2addf..1851cfc3e 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -87,8 +87,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #333; } diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index ff866f413..4a4028db7 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -79,8 +79,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 84142e6de..ae823acfc 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -79,8 +79,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Mapco/_tables.scss b/p/themes/Mapco/_tables.scss index 4955fff6a..7376279e0 100644 --- a/p/themes/Mapco/_tables.scss +++ b/p/themes/Mapco/_tables.scss @@ -5,8 +5,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid variables.$grey-medium-light; } diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 656cb87a2..5a6b44b9a 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -200,8 +200,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #d5d8db; } diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index a1aaa42f6..0004bd1e3 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -200,8 +200,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #d5d8db; } diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 65d2f8bea..f7ffb7cf7 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -95,10 +95,6 @@ button.as-link[disabled] { } /*=== Tables */ -tr, th, td { - padding: 0.5em; -} - form td, form th { font-weight: normal; diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index 570b77d62..b1015d7de 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -95,10 +95,6 @@ button.as-link[disabled] { } /*=== Tables */ -tr, th, td { - padding: 0.5em; -} - form td, form th { font-weight: normal; diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 5420c577f..0b7903253 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -156,8 +156,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid var(--border-color); } diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 036641bf9..7c8efb776 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -156,8 +156,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid var(--border-color); } diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 292f2eae2..0548947ae 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -69,8 +69,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 6e2d1ed38..50f698244 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -69,8 +69,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 499d65342..de114e436 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -73,8 +73,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index 856043850..6e9e58dbc 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -73,8 +73,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index ae598f146..bbd6a76c5 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -162,10 +162,8 @@ table { border-collapse: collapse; } -tr, td, th { - padding: 0.5em; border: 1px solid var(--color-border-light-darker); } diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index bcc218301..01930825e 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -162,10 +162,8 @@ table { border-collapse: collapse; } -tr, td, th { - padding: 0.5em; border: 1px solid var(--color-border-light-darker); } diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 8ca92e253..e1b361844 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -202,10 +202,8 @@ table { border-collapse: collapse; } -tr, td, th { - padding: 0.5em; border: 1px solid var(--color-border-light-darker); } diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index 9f2e23a9c..6b8f1ec49 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -61,8 +61,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { } th { diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index da9d401a9..5dbeb1c8d 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -61,8 +61,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { } th { diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 42f6c05f6..f5aaea902 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -333,9 +333,14 @@ button.as-link[disabled] { } table { + margin: 0.5rem 0; max-width: 100%; } +th, td { + padding: 0.5rem; +} + th.numeric, td.numeric { text-align: center; @@ -1280,6 +1285,7 @@ a.website:hover .favicon { padding: 0.75rem; line-height: 1.5; word-wrap: break-word; + overflow: auto; } .content.large { @@ -2132,6 +2138,14 @@ input:checked + .slide-container .properties { padding: 1rem; } + table { + font-size: 0.9rem; + } + + th, td { + padding: 0.25rem; + } + .notification { top: 0; left: 0; diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 77ff17934..d3fdf4a02 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -333,9 +333,14 @@ button.as-link[disabled] { } table { + margin: 0.5rem 0; max-width: 100%; } +th, td { + padding: 0.5rem; +} + th.numeric, td.numeric { text-align: center; @@ -1280,6 +1285,7 @@ a.website:hover .favicon { padding: 0.75rem; line-height: 1.5; word-wrap: break-word; + overflow: auto; } .content.large { @@ -2132,6 +2138,14 @@ input:checked + .slide-container .properties { padding: 1rem; } + table { + font-size: 0.9rem; + } + + th, td { + padding: 0.25rem; + } + .notification { top: 0; right: 0; -- cgit v1.2.3 From 1184c20467c34ba4457f36e554c5b7a4d3226f85 Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 23 Nov 2022 22:22:01 +0100 Subject: fixed: background hover colour (#4889) --- p/themes/Flat/flat.css | 8 -------- p/themes/Flat/flat.rtl.css | 8 -------- p/themes/Pafat/pafat.css | 4 ++-- p/themes/Pafat/pafat.rtl.css | 4 ++-- p/themes/base-theme/frss.css | 2 +- p/themes/base-theme/frss.rtl.css | 2 +- 6 files changed, 6 insertions(+), 22 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 4a4028db7..7029fd7e7 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -744,10 +744,6 @@ a.btn { background: #fff3ed; } -.flux.not_read:not(.current):hover .item.title { - background: inherit; -} - .flux.favorite { border-left-color: #ffc300; } @@ -756,10 +752,6 @@ a.btn { background: #fff6da; } -.flux.favorite:not(.current):hover .item.title { - background: #fff6da; -} - .flux_header { font-size: 0.8rem; cursor: pointer; diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index ae823acfc..92d460c65 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -744,10 +744,6 @@ a.btn { background: #fff3ed; } -.flux.not_read:not(.current):hover .item.title { - background: inherit; -} - .flux.favorite { border-right-color: #ffc300; } @@ -756,10 +752,6 @@ a.btn { background: #fff6da; } -.flux.favorite:not(.current):hover .item.title { - background: #fff6da; -} - .flux_header { font-size: 0.8rem; cursor: pointer; diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 0548947ae..7f1b85de3 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -766,8 +766,8 @@ a.signin { background: #fff6da; } -.flux.favorite:not(.current):hover .item.title { - background: #fff6da; +.flux.favorite:not(.current) .flux_header:hover { + background: #fff9e8; } .flux_header { diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 50f698244..c8b7171f4 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -766,8 +766,8 @@ a.signin { background: #fff6da; } -.flux.favorite:not(.current):hover .item.title { - background: #fff6da; +.flux.favorite:not(.current) .flux_header:hover { + background: #fff9e8; } .flux_header { diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index f5aaea902..190fbcb15 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -1177,7 +1177,7 @@ a.website:hover .favicon { } .flux:not(.current):hover .item.title { - background-color: var(--frss-background-color); + background-color: inherit; max-width: calc(100% - 320px); position: absolute; } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index d3fdf4a02..a522ad59e 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -1177,7 +1177,7 @@ a.website:hover .favicon { } .flux:not(.current):hover .item.title { - background-color: var(--frss-background-color); + background-color: inherit; max-width: calc(100% - 320px); position: absolute; } -- cgit v1.2.3 From 4869ae0fec949f774cee12cd0a42636b1ad45b12 Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 23 Nov 2022 22:29:27 +0100 Subject: fix: line-height of label list (#4890) --- p/themes/Alternative-Dark/adark.css | 2 -- p/themes/Alternative-Dark/adark.rtl.css | 2 -- p/themes/BlueLagoon/BlueLagoon.css | 2 -- p/themes/BlueLagoon/BlueLagoon.rtl.css | 2 -- p/themes/Dark/dark.css | 2 -- p/themes/Dark/dark.rtl.css | 2 -- p/themes/Flat/flat.css | 2 -- p/themes/Flat/flat.rtl.css | 2 -- p/themes/Nord/nord.css | 2 -- p/themes/Nord/nord.rtl.css | 2 -- p/themes/Pafat/pafat.css | 2 -- p/themes/Pafat/pafat.rtl.css | 2 -- p/themes/Screwdriver/screwdriver.css | 2 -- p/themes/Screwdriver/screwdriver.rtl.css | 2 -- p/themes/Swage/swage.css | 2 -- p/themes/Swage/swage.rtl.css | 2 -- p/themes/Swage/swage.scss | 2 -- p/themes/base-theme/base.css | 2 -- p/themes/base-theme/base.rtl.css | 2 -- 19 files changed, 38 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 1238dc494..656f457fd 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -523,8 +523,6 @@ kbd { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 3.1; font-size: 0.8rem; } diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 341d504c2..7fcb831b8 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -523,8 +523,6 @@ kbd { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 3.1; font-size: 0.8rem; } diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index 14f1cd612..13f0b1a1e 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -527,8 +527,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 2.5rem; font-size: 0.8rem; } diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index 66cca16fe..8ac73893c 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -527,8 +527,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 2.5rem; font-size: 0.8rem; } diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index b177c5723..e4abe22d3 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -496,8 +496,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 2.5rem; font-size: 0.8rem; } diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 1851cfc3e..694ab0a14 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -496,8 +496,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 2.5rem; font-size: 0.8rem; } diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 7029fd7e7..2b072bf4f 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -497,8 +497,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 2.5rem; font-size: 0.8rem; } diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 92d460c65..f08b72846 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -497,8 +497,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 2.5rem; font-size: 0.8rem; } diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index f7ffb7cf7..482cb58f4 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -379,10 +379,8 @@ img.favicon { } .tree-folder-items > .item { - padding: 0 10px; color: var(--text); font-size: 0.8rem; - line-height: 2.5rem; } .tree-folder-items > .item > a { diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index b1015d7de..c0f5406e5 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -379,10 +379,8 @@ img.favicon { } .tree-folder-items > .item { - padding: 0 10px; color: var(--text); font-size: 0.8rem; - line-height: 2.5rem; } .tree-folder-items > .item > a { diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 7f1b85de3..2e6494a66 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -481,8 +481,6 @@ a.btn { .aside_feed .tree-folder-items > .item.feed { - padding: 0 0.5rem; - line-height: 3.1; font-size: 0.8rem; } diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index c8b7171f4..80505523b 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -481,8 +481,6 @@ a.btn { .aside_feed .tree-folder-items > .item.feed { - padding: 0 0.5rem; - line-height: 3.1; font-size: 0.8rem; } diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index de114e436..800863f48 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -518,8 +518,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 2.5rem; font-size: 0.8rem; } diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index 6e9e58dbc..caa76aae2 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -518,8 +518,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 2.5rem; font-size: 0.8rem; } diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index bbd6a76c5..fad59acb5 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -554,8 +554,6 @@ form th { background-color: var(--color-background-aside); } .tree-folder-items > .item { - padding: 0 10px; - line-height: 3; font-size: 0.8rem; } .tree-folder-items > .item.active { diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 01930825e..97ddf357c 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -554,8 +554,6 @@ form th { background-color: var(--color-background-aside); } .tree-folder-items > .item { - padding: 0 10px; - line-height: 3; font-size: 0.8rem; } .tree-folder-items > .item.active { diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index e1b361844..fddb287be 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -706,8 +706,6 @@ form { background-color: var(--color-background-aside); > .item { - padding: 0 10px; - line-height: 3; font-size: 0.8rem; &.active { diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index 6b8f1ec49..3f72fff53 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -385,8 +385,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 3.1; font-size: 0.8rem; } diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index 5dbeb1c8d..461e7930e 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -385,8 +385,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 3.1; font-size: 0.8rem; } -- cgit v1.2.3 From c9f5012f102c5270d27206aca957b2ee16fe04f8 Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 23 Nov 2022 22:35:20 +0100 Subject: Fix: nord theme mobile (#4892) * fix * fixed: background color of theme slider properties * fixed: padding in mobile view + merge mobile view code * fix favicon position in mobile view --- p/themes/Alternative-Dark/adark.css | 2 - p/themes/Alternative-Dark/adark.rtl.css | 2 - p/themes/Ansum/_forms.scss | 1 - p/themes/Ansum/_mobile.scss | 4 - p/themes/Ansum/ansum.css | 4 - p/themes/Ansum/ansum.rtl.css | 4 - p/themes/BlueLagoon/BlueLagoon.css | 2 - p/themes/BlueLagoon/BlueLagoon.rtl.css | 2 - p/themes/Dark/dark.css | 2 - p/themes/Dark/dark.rtl.css | 2 - p/themes/Flat/flat.css | 2 - p/themes/Flat/flat.rtl.css | 2 - p/themes/Mapco/_forms.scss | 1 - p/themes/Mapco/_mobile.scss | 4 - p/themes/Mapco/mapco.css | 4 - p/themes/Mapco/mapco.rtl.css | 4 - p/themes/Nord/nord.css | 201 ++++++++++++++++--------------- p/themes/Nord/nord.rtl.css | 201 ++++++++++++++++--------------- p/themes/Origine/origine.css | 3 - p/themes/Origine/origine.rtl.css | 3 - p/themes/Pafat/pafat.css | 2 - p/themes/Pafat/pafat.rtl.css | 2 - p/themes/Screwdriver/screwdriver.css | 2 - p/themes/Screwdriver/screwdriver.rtl.css | 2 - p/themes/Swage/swage.css | 2 - p/themes/Swage/swage.rtl.css | 2 - p/themes/base-theme/frss.css | 2 + p/themes/base-theme/frss.rtl.css | 2 + 28 files changed, 206 insertions(+), 260 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 656f457fd..35480c31b 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -152,7 +152,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { @@ -1059,7 +1058,6 @@ kbd { @media (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: left; } .aside { diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 7fcb831b8..c01f77896 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -152,7 +152,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { @@ -1059,7 +1058,6 @@ kbd { @media (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: right; } .aside { diff --git a/p/themes/Ansum/_forms.scss b/p/themes/Ansum/_forms.scss index 77c9e3552..239934040 100644 --- a/p/themes/Ansum/_forms.scss +++ b/p/themes/Ansum/_forms.scss @@ -137,7 +137,6 @@ input.extend { .group-name { padding: 10px 0; - text-align: right; } .group-controls { diff --git a/p/themes/Ansum/_mobile.scss b/p/themes/Ansum/_mobile.scss index 9e90010c6..af9a82190 100644 --- a/p/themes/Ansum/_mobile.scss +++ b/p/themes/Ansum/_mobile.scss @@ -6,10 +6,6 @@ /*===========*/ @media (max-width: 840px) { - .form-group .group-name { - text-align: left; - } - .aside { @include mixins.transition(all, 0.2s, ease-in-out); diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 904335955..07586f8fb 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -179,7 +179,6 @@ input.extend { } .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { min-height: 25px; @@ -1188,9 +1187,6 @@ main.prompt { /*=== MOBILE */ /*===========*/ @media (max-width: 840px) { - .form-group .group-name { - text-align: left; - } .aside { transition: all 0.2s ease-in-out; } diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index 3ce5662db..7ab296aa5 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -179,7 +179,6 @@ input.extend { } .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { min-height: 25px; @@ -1188,9 +1187,6 @@ main.prompt { /*=== MOBILE */ /*===========*/ @media (max-width: 840px) { - .form-group .group-name { - text-align: right; - } .aside { transition: all 0.2s ease-in-out; } diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index 13f0b1a1e..56e43bf04 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -106,7 +106,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { @@ -1104,7 +1103,6 @@ a.btn { @media screen and (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: left; } .header { diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index 8ac73893c..035898fa9 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -106,7 +106,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { @@ -1104,7 +1103,6 @@ a.btn { @media screen and (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: right; } .header { diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index e4abe22d3..a4aed0c2d 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -116,7 +116,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { @@ -977,7 +976,6 @@ a.btn { @media (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: left; } .aside { diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 694ab0a14..4736e069f 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -116,7 +116,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { @@ -977,7 +976,6 @@ a.btn { @media (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: right; } .aside { diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 2b072bf4f..5bdc1779a 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -128,7 +128,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { @@ -972,7 +971,6 @@ a.btn { @media (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: left; } .aside { diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index f08b72846..b6c95b7a6 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -128,7 +128,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { @@ -972,7 +971,6 @@ a.btn { @media (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: right; } .aside { diff --git a/p/themes/Mapco/_forms.scss b/p/themes/Mapco/_forms.scss index 0f5f96681..2a2ac92ad 100644 --- a/p/themes/Mapco/_forms.scss +++ b/p/themes/Mapco/_forms.scss @@ -136,7 +136,6 @@ input.extend { .group-name { padding: 10px 0; - text-align: right; } .group-controls { diff --git a/p/themes/Mapco/_mobile.scss b/p/themes/Mapco/_mobile.scss index 1c11448f0..542d8649e 100644 --- a/p/themes/Mapco/_mobile.scss +++ b/p/themes/Mapco/_mobile.scss @@ -6,10 +6,6 @@ /*===========*/ @media (max-width: 840px) { - .form-group .group-name { - text-align: left; - } - .aside { @include mixins.transition(all, 0.2s, ease-in-out); diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 5a6b44b9a..7d014cb0b 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -178,7 +178,6 @@ input.extend { } .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { min-height: 25px; @@ -1206,9 +1205,6 @@ main.prompt { /*=== MOBILE */ /*===========*/ @media (max-width: 840px) { - .form-group .group-name { - text-align: left; - } .aside { transition: all 0.2s ease-in-out; } diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 0004bd1e3..4c5cc5944 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -178,7 +178,6 @@ input.extend { } .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { min-height: 25px; @@ -1206,9 +1205,6 @@ main.prompt { /*=== MOBILE */ /*===========*/ @media (max-width: 840px) { - .form-group .group-name { - text-align: right; - } .aside { transition: all 0.2s ease-in-out; } diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 482cb58f4..3a6fc12af 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -16,6 +16,8 @@ --alert: #a3be8c; --alert-bg: #8fbcbb; --code-bg: #2e3440; + + --frss-background-color-transparent: #2e34407f; } @@ -134,7 +136,6 @@ table td span { .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { @@ -728,105 +729,6 @@ li.item.active { text-align: center; } -/*=== MOBILE */ -/*===========*/ - -@media (max-width: 840px) { - .aside:target + .close-aside { - background: rgba(0, 0, 0, 0.2); - display: block; - font-size: 0; - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - cursor: pointer; - z-index: 99; - } - - .nav_mobile { - display: block; - } - - .aside { - position: fixed; - top: 0; bottom: 0; - left: 0; - width: 0; - overflow: hidden; - z-index: 100; - } - - .aside:target, - .reader .aside:target { - width: 90%; - height: 100vh; - } - - .aside_feed .configure-feeds { - margin-top: 10px; - } - - .flux_header .item.website { - width: 40px; - } - - .flux:not(.current):hover .item.title { - position: relative; - width: auto; - white-space: nowrap; - } - - .notification { - top: 0; - left: 0; - right: 0; - } - - #nav_entries { - width: 100%; - } - - #panel { - top: 25px; bottom: 30px; - left: 0; right: 0; - } - - #panel .close { - top: 0; right: 0; - left: auto; bottom: auto; - display: inline-block; - width: 30px; - height: 30px; - } - - #slider.active { - left: 0; - top: 50px; - background-color: var(--bg); - } - - #close-slider img { - display: initial; - } - - #close-slider.active { - background: var(--bg); - display: block; - width: 100%; - height: 50px; - z-index: 10; - text-align: center; - line-height: 50px; - border-bottom: 1px solid #ddd; - } - - .stat.half { - grid-column: 1 / span 2; - } -} - /*=== PRINTER */ /*============*/ @@ -1072,7 +974,30 @@ input.extend { /*===========*/ @media (max-width: 840px) { + .aside:target + .close-aside { + background: rgba(0, 0, 0, 0.2); + display: block; + font-size: 0; + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; + cursor: pointer; + z-index: 99; + } + + .nav_mobile { + display: block; + } + .aside { + position: fixed; + top: 0; bottom: 0; + left: 0; + width: 0; + overflow: hidden; + z-index: 100; transition: width 200ms linear; } @@ -1080,6 +1005,78 @@ input.extend { padding: 0; } + .aside:target, + .reader .aside:target { + width: 90%; + height: 100vh; + } + + .aside_feed .configure-feeds { + margin-top: 10px; + } + + .flux_header .item.website { + width: 40px; + } + + .flux:not(.current):hover .item.title { + position: relative; + width: auto; + white-space: nowrap; + } + + .flux .website .favicon { + position: relative; + } + + .notification { + top: 0; + left: 0; + right: 0; + } + + #nav_entries { + width: 100%; + } + + #panel { + top: 25px; bottom: 30px; + left: 0; right: 0; + } + + #panel .close { + top: 0; right: 0; + left: auto; bottom: auto; + display: inline-block; + width: 30px; + height: 30px; + } + + #slider.active { + left: 0; + top: 50px; + background-color: var(--bg); + } + + #close-slider img { + display: initial; + } + + #close-slider.active { + background: var(--bg); + display: block; + width: 100%; + height: 50px; + z-index: 10; + text-align: center; + line-height: 50px; + border-bottom: 1px solid #ddd; + } + + .stat.half { + grid-column: 1 / span 2; + } + .nav_menu .btn { margin: 5px 10px; } @@ -1106,6 +1103,10 @@ input.extend { width: 400px; } + .post { + padding: 1rem; + } + .day .name { font-size: 1.1rem; } diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index c0f5406e5..e3b3a7d78 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -16,6 +16,8 @@ --alert: #a3be8c; --alert-bg: #8fbcbb; --code-bg: #2e3440; + + --frss-background-color-transparent: #2e34407f; } @@ -134,7 +136,6 @@ table td span { .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { @@ -728,105 +729,6 @@ li.item.active { text-align: center; } -/*=== MOBILE */ -/*===========*/ - -@media (max-width: 840px) { - .aside:target + .close-aside { - background: rgba(0, 0, 0, 0.2); - display: block; - font-size: 0; - position: fixed; - top: 0; - bottom: 0; - right: 0; - left: 0; - cursor: pointer; - z-index: 99; - } - - .nav_mobile { - display: block; - } - - .aside { - position: fixed; - top: 0; bottom: 0; - right: 0; - width: 0; - overflow: hidden; - z-index: 100; - } - - .aside:target, - .reader .aside:target { - width: 90%; - height: 100vh; - } - - .aside_feed .configure-feeds { - margin-top: 10px; - } - - .flux_header .item.website { - width: 40px; - } - - .flux:not(.current):hover .item.title { - position: relative; - width: auto; - white-space: nowrap; - } - - .notification { - top: 0; - right: 0; - left: 0; - } - - #nav_entries { - width: 100%; - } - - #panel { - top: 25px; bottom: 30px; - right: 0; left: 0; - } - - #panel .close { - top: 0; left: 0; - right: auto; bottom: auto; - display: inline-block; - width: 30px; - height: 30px; - } - - #slider.active { - right: 0; - top: 50px; - background-color: var(--bg); - } - - #close-slider img { - display: initial; - } - - #close-slider.active { - background: var(--bg); - display: block; - width: 100%; - height: 50px; - z-index: 10; - text-align: center; - line-height: 50px; - border-bottom: 1px solid #ddd; - } - - .stat.half { - grid-column: 1 / span 2; - } -} - /*=== PRINTER */ /*============*/ @@ -1072,7 +974,30 @@ input.extend { /*===========*/ @media (max-width: 840px) { + .aside:target + .close-aside { + background: rgba(0, 0, 0, 0.2); + display: block; + font-size: 0; + position: fixed; + top: 0; + bottom: 0; + right: 0; + left: 0; + cursor: pointer; + z-index: 99; + } + + .nav_mobile { + display: block; + } + .aside { + position: fixed; + top: 0; bottom: 0; + right: 0; + width: 0; + overflow: hidden; + z-index: 100; transition: width 200ms linear; } @@ -1080,6 +1005,78 @@ input.extend { padding: 0; } + .aside:target, + .reader .aside:target { + width: 90%; + height: 100vh; + } + + .aside_feed .configure-feeds { + margin-top: 10px; + } + + .flux_header .item.website { + width: 40px; + } + + .flux:not(.current):hover .item.title { + position: relative; + width: auto; + white-space: nowrap; + } + + .flux .website .favicon { + position: relative; + } + + .notification { + top: 0; + right: 0; + left: 0; + } + + #nav_entries { + width: 100%; + } + + #panel { + top: 25px; bottom: 30px; + right: 0; left: 0; + } + + #panel .close { + top: 0; left: 0; + right: auto; bottom: auto; + display: inline-block; + width: 30px; + height: 30px; + } + + #slider.active { + right: 0; + top: 50px; + background-color: var(--bg); + } + + #close-slider img { + display: initial; + } + + #close-slider.active { + background: var(--bg); + display: block; + width: 100%; + height: 50px; + z-index: 10; + text-align: center; + line-height: 50px; + border-bottom: 1px solid #ddd; + } + + .stat.half { + grid-column: 1 / span 2; + } + .nav_menu .btn { margin: 5px 10px; } @@ -1106,6 +1103,10 @@ input.extend { width: 400px; } + .post { + padding: 1rem; + } + .day .name { font-size: 1.1rem; } diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 034e1df1f..b8bf4c5ab 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -188,7 +188,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { @@ -1102,8 +1101,6 @@ a:hover .icon { .form-group .group-name { padding-bottom: 0; - - text-align: left; } .aside { diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 37806a224..2a85b77ad 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -188,7 +188,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { @@ -1102,8 +1101,6 @@ a:hover .icon { .form-group .group-name { padding-bottom: 0; - - text-align: right; } .aside { diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 2e6494a66..f390a1c1c 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -98,7 +98,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { @@ -990,7 +989,6 @@ a.signin { @media (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: left; } .aside { diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 80505523b..20c204cb9 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -98,7 +98,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { @@ -990,7 +989,6 @@ a.signin { @media (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: right; } .aside { diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 800863f48..eddbdd136 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -104,7 +104,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { @@ -1084,7 +1083,6 @@ a.btn { @media screen and (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: left; } .header { diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index caa76aae2..aef02ecdb 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -104,7 +104,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { @@ -1084,7 +1083,6 @@ a.btn { @media screen and (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: right; } .header { diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index fad59acb5..3a3202154 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -203,7 +203,6 @@ form th { } .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { min-height: 25px; @@ -916,7 +915,6 @@ a.signin { } .form-group .group-name { padding-bottom: 0; - text-align: left; } .dropdown { position: relative; diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 97ddf357c..35cda9308 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -203,7 +203,6 @@ form th { } .form-group .group-name { padding: 10px 0; - text-align: left; } .form-group .group-controls { min-height: 25px; @@ -916,7 +915,6 @@ a.signin { } .form-group .group-name { padding-bottom: 0; - text-align: right; } .dropdown { position: relative; diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 190fbcb15..235012fb7 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -394,6 +394,7 @@ td.numeric { display: block; float: left; width: 200px; + text-align: right; } .form-group .group-controls { @@ -1993,6 +1994,7 @@ input:checked + .slide-container .properties { .form-group .group-name { float: none; width: auto; + text-align: left; } .form-group .group-controls { diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index a522ad59e..582836b48 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -394,6 +394,7 @@ td.numeric { display: block; float: right; width: 200px; + text-align: left; } .form-group .group-controls { @@ -1993,6 +1994,7 @@ input:checked + .slide-container .properties { .form-group .group-name { float: none; width: auto; + text-align: right; } .form-group .group-controls { -- cgit v1.2.3 From ef5483490cf42beeec8f77ed1669ab9a05b9cbc0 Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 23 Nov 2022 22:40:23 +0100 Subject: Improved: config dropdown structure (#4891) * phtml and frss.css * theme Origine * theme adark * theme Ansum * theme Mapco * theme BlueLagoon * theme dark * theme flat * theme nord * theme Screwdriver * theme swage * fix * fix * RTL * fix nord theme * fix SourceMap lines --- app/layout/header.phtml | 81 ++++++++++++++++++++------------ p/themes/Alternative-Dark/adark.css | 29 ++++++++---- p/themes/Alternative-Dark/adark.rtl.css | 29 ++++++++---- p/themes/Ansum/_components.scss | 32 ++++++++----- p/themes/Ansum/ansum.css | 22 +++++---- p/themes/Ansum/ansum.rtl.css | 22 +++++---- p/themes/BlueLagoon/BlueLagoon.css | 24 +++++++--- p/themes/BlueLagoon/BlueLagoon.rtl.css | 24 +++++++--- p/themes/Dark/dark.css | 27 ++++++++--- p/themes/Dark/dark.rtl.css | 27 ++++++++--- p/themes/Flat/flat.css | 27 ++++++++--- p/themes/Flat/flat.rtl.css | 27 ++++++++--- p/themes/Mapco/_components.scss | 24 +++++++--- p/themes/Mapco/mapco.css | 20 +++++--- p/themes/Mapco/mapco.rtl.css | 20 +++++--- p/themes/Nord/nord.css | 28 +++++++++-- p/themes/Nord/nord.rtl.css | 28 +++++++++-- p/themes/Origine/origine.css | 37 +++++++++++---- p/themes/Origine/origine.rtl.css | 37 +++++++++++---- p/themes/Pafat/pafat.css | 27 ++++++++--- p/themes/Pafat/pafat.rtl.css | 27 ++++++++--- p/themes/Screwdriver/screwdriver.css | 30 ++++++++---- p/themes/Screwdriver/screwdriver.rtl.css | 30 ++++++++---- p/themes/Swage/swage.css | 15 +++++- p/themes/Swage/swage.rtl.css | 15 +++++- p/themes/Swage/swage.scss | 22 ++++++++- p/themes/base-theme/frss.css | 18 +++---- p/themes/base-theme/frss.rtl.css | 18 +++---- 28 files changed, 553 insertions(+), 214 deletions(-) (limited to 'p/themes/base-theme') diff --git a/app/layout/header.phtml b/app/layout/header.phtml index 9977a2b2c..75dacfe1d 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -48,38 +48,59 @@ diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 35480c31b..f32d91e53 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -341,7 +341,7 @@ a.btn { /*=== Dropdown */ .dropdown-menu { margin: 5px 0 0; - padding: 5px 0; + padding: 0.5rem 0 0.25rem 0; background: var(--background-color-active); font-size: 0.8rem; border: 2px solid var(--background-color-light); @@ -353,23 +353,35 @@ a.btn { border-color: var(--border-color-dark); } -.dropdown-header { - padding: 0 5px 5px; +.dropdown-header, +.dropdown-section .dropdown-section-title { + padding: 0.25rem 0.5rem 0.25rem 1rem; color: var(--font-color-middle); font-weight: bold; text-align: left; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-left: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: var(--background-color-hover); color: var(--font-color-light); } @@ -387,6 +399,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: var(--border-color-dark); } diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index c01f77896..9cb07185d 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -341,7 +341,7 @@ a.btn { /*=== Dropdown */ .dropdown-menu { margin: 5px 0 0; - padding: 5px 0; + padding: 0.5rem 0 0.25rem 0; background: var(--background-color-active); font-size: 0.8rem; border: 2px solid var(--background-color-light); @@ -353,23 +353,35 @@ a.btn { border-color: var(--border-color-dark); } -.dropdown-header { - padding: 0 5px 5px; +.dropdown-header, +.dropdown-section .dropdown-section-title { + padding: 0.25rem 1rem 0.25rem 0.5rem; color: var(--font-color-middle); font-weight: bold; text-align: right; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-right: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: var(--background-color-hover); color: var(--font-color-light); } @@ -387,6 +399,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: var(--border-color-dark); } diff --git a/p/themes/Ansum/_components.scss b/p/themes/Ansum/_components.scss index 35298b4de..001d31578 100644 --- a/p/themes/Ansum/_components.scss +++ b/p/themes/Ansum/_components.scss @@ -37,15 +37,14 @@ right: 17px; } - .dropdown-header { - padding: 1rem 0.5rem 1rem 1rem; + .dropdown-header, + .dropdown-section .dropdown-section-title { + padding: 1rem 1.5rem; font-weight: bold; text-align: left; color: variables.$grey-dark; text-transform: uppercase; letter-spacing: 1px; - - } .item { @@ -57,19 +56,28 @@ color: variables.$main-font-color; font-size: 1rem; line-height: 2.5em; + + &:not(.addItem):hover { + background: variables.$main-first; + color: variables.$white; + + .icon { + filter: grayscale(100%) brightness(2.5); + } + } } - &:not(.addItem):hover { - background: variables.$main-first; - color: variables.$white; + &.dropdown-section { + margin-top: 0.75rem; - a, button, label { - text-decoration: none; - color: variables.$white; + ~ .dropdown-section { + border-top-color: variables.$grey-light; } - .icon { - filter: grayscale(100%) brightness(2.5); + .item { + a, span, .as-link { + padding-left: 2rem; + } } } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 07586f8fb..f07ba86ad 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -240,8 +240,9 @@ form th { border: none; right: 17px; } -.dropdown-menu .dropdown-header { - padding: 1rem 0.5rem 1rem 1rem; +.dropdown-menu .dropdown-header, +.dropdown-menu .dropdown-section .dropdown-section-title { + padding: 1rem 1.5rem; font-weight: bold; text-align: left; color: #766556; @@ -257,17 +258,22 @@ form th { font-size: 1rem; line-height: 2.5em; } -.dropdown-menu .item:not(.addItem):hover { +.dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item span:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover { background: #ca7227; color: #fff; } -.dropdown-menu .item:not(.addItem):hover a, .dropdown-menu .item:not(.addItem):hover button, .dropdown-menu .item:not(.addItem):hover label { - text-decoration: none; - color: #fff; -} -.dropdown-menu .item:not(.addItem):hover .icon { +.dropdown-menu .item a:not(.addItem):hover .icon, .dropdown-menu .item span:not(.addItem):hover .icon, .dropdown-menu .item .as-link:not(.addItem):hover .icon { filter: grayscale(100%) brightness(2.5); } +.dropdown-menu .item.dropdown-section { + margin-top: 0.75rem; +} +.dropdown-menu .item.dropdown-section ~ .dropdown-section { + border-top-color: #f5f0ec; +} +.dropdown-menu .item.dropdown-section .item a, .dropdown-menu .item.dropdown-section .item span, .dropdown-menu .item.dropdown-section .item .as-link { + padding-left: 2rem; +} .dropdown-menu .item:not(.addItem) a:hover, .dropdown-menu .item:not(.addItem) button:hover { background: #ca7227; diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index 7ab296aa5..beb5de8a8 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -240,8 +240,9 @@ form th { border: none; left: 17px; } -.dropdown-menu .dropdown-header { - padding: 1rem 1rem 1rem 0.5rem; +.dropdown-menu .dropdown-header, +.dropdown-menu .dropdown-section .dropdown-section-title { + padding: 1rem 1.5rem; font-weight: bold; text-align: right; color: #766556; @@ -257,17 +258,22 @@ form th { font-size: 1rem; line-height: 2.5em; } -.dropdown-menu .item:not(.addItem):hover { +.dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item span:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover { background: #ca7227; color: #fff; } -.dropdown-menu .item:not(.addItem):hover a, .dropdown-menu .item:not(.addItem):hover button, .dropdown-menu .item:not(.addItem):hover label { - text-decoration: none; - color: #fff; -} -.dropdown-menu .item:not(.addItem):hover .icon { +.dropdown-menu .item a:not(.addItem):hover .icon, .dropdown-menu .item span:not(.addItem):hover .icon, .dropdown-menu .item .as-link:not(.addItem):hover .icon { filter: grayscale(100%) brightness(2.5); } +.dropdown-menu .item.dropdown-section { + margin-top: 0.75rem; +} +.dropdown-menu .item.dropdown-section ~ .dropdown-section { + border-top-color: #f5f0ec; +} +.dropdown-menu .item.dropdown-section .item a, .dropdown-menu .item.dropdown-section .item span, .dropdown-menu .item.dropdown-section .item .as-link { + padding-right: 2rem; +} .dropdown-menu .item:not(.addItem) a:hover, .dropdown-menu .item:not(.addItem) button:hover { background: #ca7227; diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index 56e43bf04..276b50c8a 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -350,7 +350,8 @@ a.btn { transform: rotate(45deg); } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 5px 5px; color: #ccc; font-weight: bold; @@ -360,9 +361,9 @@ a.btn { filter: grayscale(100%) brightness(2.5); } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; color: #ccc; @@ -373,8 +374,19 @@ a.btn { color: #ccc; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-left: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: linear-gradient(180deg, #0090ff 0%, #0062be 100%) #e4992c; background: -webkit-linear-gradient(top, #0090ff 0%, #0062be 100%); color: #fff; diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index 035898fa9..1713a89ed 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -350,7 +350,8 @@ a.btn { transform: rotate(-45deg); } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 5px 5px; color: #ccc; font-weight: bold; @@ -360,9 +361,9 @@ a.btn { filter: grayscale(100%) brightness(2.5); } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; color: #ccc; @@ -373,8 +374,19 @@ a.btn { color: #ccc; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-right: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: linear-gradient(-180deg, #0090ff 0%, #0062be 100%) #e4992c; background: -webkit-linear-gradient(top, #0090ff 0%, #0062be 100%); color: #fff; diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index a4aed0c2d..4a13c4099 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -336,23 +336,35 @@ a.btn { border-color: #888; } -.dropdown-header { - padding: 0 5px 5px; +.dropdown-header, +.dropdown-section .dropdown-section-title { + padding: 0.25rem 0.5rem 0.25rem 1rem; font-weight: bold; text-align: left; color: #888; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-left: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: #26303f; color: #888; } @@ -370,6 +382,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: #333; } diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 4736e069f..82f30827e 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -336,23 +336,35 @@ a.btn { border-color: #888; } -.dropdown-header { - padding: 0 5px 5px; +.dropdown-header, +.dropdown-section .dropdown-section-title { + padding: 0.25rem 1rem 0.25rem 0.5rem; font-weight: bold; text-align: right; color: #888; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-right: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: #26303f; color: #888; } @@ -370,6 +382,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: #333; } diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 5bdc1779a..67d823cac 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -311,7 +311,7 @@ a.btn { /*=== Dropdown */ .dropdown-menu { margin: 0.5rem 0 0; - padding: 0.5rem 0; + padding: 0.5rem 0 0.25rem 0; background: #fafafa; font-size: 0.8rem; border: 1px solid #95a5a6; @@ -324,7 +324,8 @@ a.btn { right: 12px; } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 0.5rem 0.5rem; font-weight: bold; text-align: left; @@ -336,16 +337,27 @@ a.btn { right: 0.5rem; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-left: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: #2980b9; color: #fff; } @@ -368,6 +380,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: #ddd; } diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index b6c95b7a6..dbbb9a6aa 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -311,7 +311,7 @@ a.btn { /*=== Dropdown */ .dropdown-menu { margin: 0.5rem 0 0; - padding: 0.5rem 0; + padding: 0.5rem 0 0.25rem 0; background: #fafafa; font-size: 0.8rem; border: 1px solid #95a5a6; @@ -324,7 +324,8 @@ a.btn { left: 12px; } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 0.5rem 0.5rem; font-weight: bold; text-align: right; @@ -336,16 +337,27 @@ a.btn { left: 0.5rem; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-right: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: #2980b9; color: #fff; } @@ -368,6 +380,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: #ddd; } diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss index cf7aca73d..55542f2e7 100644 --- a/p/themes/Mapco/_components.scss +++ b/p/themes/Mapco/_components.scss @@ -37,8 +37,9 @@ right: 18px; } - .dropdown-header { - padding: 1rem 0.5rem 1rem 1rem; + .dropdown-header, + .dropdown-section .dropdown-section-title { + padding: 1rem 1.5rem; font-weight: bold; text-align: left; color: variables.$grey-dark; @@ -55,11 +56,8 @@ color: variables.$main-font-color; font-size: 1rem; line-height: 2.5em; - } - &:not(.addItem) { - a:hover, - button:hover { + &:not(.addItem):hover { background: variables.$main-first; color: variables.$white; @@ -69,6 +67,20 @@ } } + &.dropdown-section { + margin-top: 0.75rem; + + ~ .dropdown-section { + border-top-color: variables.$grey-light; + } + + .item { + a, span, .as-link { + padding-left: 2rem; + } + } + } + &[aria-checked="true"] { a::before { margin: 0 0 0 -14px; diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 7d014cb0b..170938509 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -239,8 +239,9 @@ form th { border: none; right: 18px; } -.dropdown-menu .dropdown-header { - padding: 1rem 0.5rem 1rem 1rem; +.dropdown-menu .dropdown-header, +.dropdown-menu .dropdown-section .dropdown-section-title { + padding: 1rem 1.5rem; font-weight: bold; text-align: left; color: #5b6871; @@ -256,15 +257,22 @@ form th { font-size: 1rem; line-height: 2.5em; } -.dropdown-menu .item:not(.addItem) a:hover, -.dropdown-menu .item:not(.addItem) button:hover { +.dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item span:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover { background: #36c; color: #fff; } -.dropdown-menu .item:not(.addItem) a:hover .icon, -.dropdown-menu .item:not(.addItem) button:hover .icon { +.dropdown-menu .item a:not(.addItem):hover .icon, .dropdown-menu .item span:not(.addItem):hover .icon, .dropdown-menu .item .as-link:not(.addItem):hover .icon { filter: brightness(3); } +.dropdown-menu .item.dropdown-section { + margin-top: 0.75rem; +} +.dropdown-menu .item.dropdown-section ~ .dropdown-section { + border-top-color: #eff0f2; +} +.dropdown-menu .item.dropdown-section .item a, .dropdown-menu .item.dropdown-section .item span, .dropdown-menu .item.dropdown-section .item .as-link { + padding-left: 2rem; +} .dropdown-menu .item[aria-checked=true] a::before { margin: 0 0 0 -14px; font-weight: bold; diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 4c5cc5944..c2096b11c 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -239,8 +239,9 @@ form th { border: none; left: 18px; } -.dropdown-menu .dropdown-header { - padding: 1rem 1rem 1rem 0.5rem; +.dropdown-menu .dropdown-header, +.dropdown-menu .dropdown-section .dropdown-section-title { + padding: 1rem 1.5rem; font-weight: bold; text-align: right; color: #5b6871; @@ -256,15 +257,22 @@ form th { font-size: 1rem; line-height: 2.5em; } -.dropdown-menu .item:not(.addItem) a:hover, -.dropdown-menu .item:not(.addItem) button:hover { +.dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item span:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover { background: #36c; color: #fff; } -.dropdown-menu .item:not(.addItem) a:hover .icon, -.dropdown-menu .item:not(.addItem) button:hover .icon { +.dropdown-menu .item a:not(.addItem):hover .icon, .dropdown-menu .item span:not(.addItem):hover .icon, .dropdown-menu .item .as-link:not(.addItem):hover .icon { filter: brightness(3); } +.dropdown-menu .item.dropdown-section { + margin-top: 0.75rem; +} +.dropdown-menu .item.dropdown-section ~ .dropdown-section { + border-top-color: #eff0f2; +} +.dropdown-menu .item.dropdown-section .item a, .dropdown-menu .item.dropdown-section .item span, .dropdown-menu .item.dropdown-section .item .as-link { + padding-right: 2rem; +} .dropdown-menu .item[aria-checked=true] a::before { margin: 0 -14px 0 0; font-weight: bold; diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 3a6fc12af..8ce9727a3 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -198,7 +198,7 @@ a.btn { .dropdown-menu { margin: 5px 0 0; - padding: 5px 0; + padding: 0.5rem 0 0.25rem 0; background: var(--accent-bg); font-size: 0.8rem; border: 1px solid var(--border); @@ -206,21 +206,38 @@ a.btn { text-align: left; } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 5px 5px; font-weight: bold; text-align: left; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; color: var(--text); line-height: 2.5em; min-width: 200px; } +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-left: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { + /* no hover color */ +} + .dropdown-menu > .item[aria-checked="true"] > a::before { font-weight: bold; margin: 0 0 0 -14px; @@ -276,6 +293,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: var(--border); } diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index e3b3a7d78..f7b0c4a64 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -198,7 +198,7 @@ a.btn { .dropdown-menu { margin: 5px 0 0; - padding: 5px 0; + padding: 0.5rem 0 0.25rem 0; background: var(--accent-bg); font-size: 0.8rem; border: 1px solid var(--border); @@ -206,21 +206,38 @@ a.btn { text-align: right; } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 5px 5px; font-weight: bold; text-align: right; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; color: var(--text); line-height: 2.5em; min-width: 200px; } +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-right: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { + /* no hover color */ +} + .dropdown-menu > .item[aria-checked="true"] > a::before { font-weight: bold; margin: 0 -14px 0 0; @@ -276,6 +293,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: var(--border); } diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index b8bf4c5ab..457a25ecc 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -436,33 +436,45 @@ a:hover .icon { border-color: var(--border-color); } -.dropdown-header { - padding: 0 5px 5px; +.dropdown-header, +.dropdown-section .dropdown-section-title { + padding: 0.25rem 0.5rem 0.25rem 1rem; color: var(--font-color-grey); font-weight: bold; text-align: left; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover, -.dropdown-menu > .item > label:hover:not(.noHover) { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-left: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background-color: var(--contrast-background-color-active); color: var(--font-color-light); } -.dropdown-menu > .item > label { +.dropdown-menu .item > label { padding: 0; } -.dropdown-menu > .item:hover .icon { +.dropdown-menu > .item:hover > a > .icon, +.dropdown-menu .item.dropdown-section .item:hover .icon { filter: grayscale(100%) brightness(2.5); } @@ -479,6 +491,7 @@ a:hover .icon { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: var(--border-color); } @@ -1164,6 +1177,10 @@ a:hover .icon { border-left: 1px solid var(--border-color); } + .dropdown-menu .dropdown-section:last-child { + margin-bottom: 3rem; + } + .form-group.form-actions { margin-left: -15px; margin-right: -15px; diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 2a85b77ad..72cf63969 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -436,33 +436,45 @@ a:hover .icon { border-color: var(--border-color); } -.dropdown-header { - padding: 0 5px 5px; +.dropdown-header, +.dropdown-section .dropdown-section-title { + padding: 0.25rem 1rem 0.25rem 0.5rem; color: var(--font-color-grey); font-weight: bold; text-align: right; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover, -.dropdown-menu > .item > label:hover:not(.noHover) { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-right: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background-color: var(--contrast-background-color-active); color: var(--font-color-light); } -.dropdown-menu > .item > label { +.dropdown-menu .item > label { padding: 0; } -.dropdown-menu > .item:hover .icon { +.dropdown-menu > .item:hover > a > .icon, +.dropdown-menu .item.dropdown-section .item:hover .icon { filter: grayscale(100%) brightness(2.5); } @@ -479,6 +491,7 @@ a:hover .icon { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: var(--border-color); } @@ -1164,6 +1177,10 @@ a:hover .icon { border-right: 1px solid var(--border-color); } + .dropdown-menu .dropdown-section:last-child { + margin-bottom: 3rem; + } + .form-group.form-actions { margin-right: -15px; margin-left: -15px; diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index f390a1c1c..d64521573 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -283,7 +283,7 @@ a.btn { /*=== Dropdown */ .dropdown-menu { margin: 5px 0 0; - padding: 5px 0; + padding: 0.5rem 0 0.25rem 0; font-size: 0.8rem; border: 1px solid #aaa; border-radius: 5px; @@ -295,24 +295,36 @@ a.btn { right: 8px; } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 5px 5px; color: #888; font-weight: bold; text-align: left; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5; color: #666; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-left: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: #eee; color: #666; } @@ -330,6 +342,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: #ddd; } diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 20c204cb9..55e255369 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -283,7 +283,7 @@ a.btn { /*=== Dropdown */ .dropdown-menu { margin: 5px 0 0; - padding: 5px 0; + padding: 0.5rem 0 0.25rem 0; font-size: 0.8rem; border: 1px solid #aaa; border-radius: 5px; @@ -295,24 +295,36 @@ a.btn { left: 8px; } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 5px 5px; color: #888; font-weight: bold; text-align: right; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5; color: #666; font-size: 0.8rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-right: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; +} + +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: #eee; color: #666; } @@ -330,6 +342,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: #ddd; } diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index eddbdd136..490381fb6 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -331,7 +331,7 @@ a.btn { /*=== Dropdown */ .dropdown-menu { margin: 5px 0 0; - padding: 5px 0; + padding: 0.5rem 0 0.25rem 0; background: #222; font-size: 0.8rem; border: 1px solid #171717; @@ -344,30 +344,43 @@ a.btn { border-color: #171717; } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 5px 5px; color: #ccc; font-weight: bold; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; color: #ccc; font-size: 0.8rem; } -.dropdown-menu > .item > label { - color: #ccc; +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-left: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; } -.dropdown-menu > .item:hover { +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: #171717; color: #fff; } +.dropdown-menu > .item > label { + color: #ccc; +} + .dropdown-menu > .item[aria-checked="true"] > a::before { font-weight: bold; margin: 0 0 0 -14px; @@ -379,6 +392,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: rgba(255,255,255,0.08); } diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index aef02ecdb..e8a30d326 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -331,7 +331,7 @@ a.btn { /*=== Dropdown */ .dropdown-menu { margin: 5px 0 0; - padding: 5px 0; + padding: 0.5rem 0 0.25rem 0; background: #222; font-size: 0.8rem; border: 1px solid #171717; @@ -344,30 +344,43 @@ a.btn { border-color: #171717; } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 5px 5px; color: #ccc; font-weight: bold; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; color: #ccc; font-size: 0.8rem; } -.dropdown-menu > .item > label { - color: #ccc; +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-right: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; } -.dropdown-menu > .item:hover { +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover, +.dropdown-menu .item > label:hover:not(.noHover) { background: #171717; color: #fff; } +.dropdown-menu > .item > label { + color: #ccc; +} + .dropdown-menu > .item[aria-checked="true"] > a::before { font-weight: bold; margin: 0 -14px 0 0; @@ -379,6 +392,7 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: rgba(255,255,255,0.08); } diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 3a3202154..2397160b2 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -332,12 +332,23 @@ form th { .dropdown-menu .dropdown-header a:hover { background-color: var(--color-background-nav); } +.dropdown-menu .dropdown-section .dropdown-section-title { + cursor: default; + padding: 0.25rem 0.5rem 0.125rem 0.25rem; + font-weight: bold; + color: var(--color-text-light); +} +.dropdown-menu .dropdown-section .item a { + padding: 0 22px; +} +.dropdown-menu .dropdown-section .item a:hover { + background-color: var(--color-background-nav); +} .dropdown-menu::after { content: none; } .dropdown-menu > .item { - padding: 0; - margin-left: 10px; + padding: 0 0 0 0.5rem; } .dropdown-menu > .item > a { min-width: initial; diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 35cda9308..a021a70cd 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -332,12 +332,23 @@ form th { .dropdown-menu .dropdown-header a:hover { background-color: var(--color-background-nav); } +.dropdown-menu .dropdown-section .dropdown-section-title { + cursor: default; + padding: 0.25rem 0.25rem 0.125rem 0.5rem; + font-weight: bold; + color: var(--color-text-light); +} +.dropdown-menu .dropdown-section .item a { + padding: 0 22px; +} +.dropdown-menu .dropdown-section .item a:hover { + background-color: var(--color-background-nav); +} .dropdown-menu::after { content: none; } .dropdown-menu > .item { - padding: 0; - margin-right: 10px; + padding: 0 0.5rem 0 0; } .dropdown-menu > .item > a { min-width: initial; diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index fddb287be..9ca316aff 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -431,6 +431,25 @@ form { } } + .dropdown-section { + .dropdown-section-title { + cursor: default; + padding: 0.25rem 0.5rem 0.125rem 0.25rem; + font-weight: bold; + color: var(--color-text-light); + } + + .item { + a { + padding: 0 22px; + + &:hover { + background-color: var(--color-background-nav); + } + } + } + } + &::after { content: none; } @@ -439,8 +458,7 @@ form { .item { @extend %dropdown; - padding: 0; - margin-left: 10px; + padding: 0 0 0 0.5rem; > a, > span, diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 235012fb7..50671f556 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -286,8 +286,8 @@ input[type="checkbox"] { width: calc(99% - 5em); } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover { text-decoration: none; } @@ -655,13 +655,13 @@ input[type="checkbox"]:focus-visible { display: block; } -.dropdown-menu > .item { +.dropdown-menu .item { display: block; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > .as-link, -.dropdown-menu > .item > span { +.dropdown-menu .item > a, +.dropdown-menu .item > .as-link, +.dropdown-menu .item > span { display: block; width: 100%; white-space: nowrap; @@ -702,6 +702,7 @@ input[type="checkbox"]:focus-visible { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { margin-top: 5px; padding-top: 5px; @@ -1980,7 +1981,7 @@ input:checked + .slide-container .properties { #panel .close, .dropdown-menu .toggle_aside, #slider .toggle_aside { - padding: 1rem; + padding: 1rem 0; display: block; width: 100%; border-bottom: 1px solid var(--frss-border-color); @@ -2005,7 +2006,8 @@ input:checked + .slide-container .properties { position: inherit; } - .dropdown .dropdown-header { + .dropdown .dropdown-header, + .dropdown .dropdown-section { line-height: 2; } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 582836b48..cb76b53ca 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -286,8 +286,8 @@ input[type="checkbox"] { width: calc(99% - 5em); } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover { text-decoration: none; } @@ -655,13 +655,13 @@ input[type="checkbox"]:focus-visible { display: block; } -.dropdown-menu > .item { +.dropdown-menu .item { display: block; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > .as-link, -.dropdown-menu > .item > span { +.dropdown-menu .item > a, +.dropdown-menu .item > .as-link, +.dropdown-menu .item > span { display: block; width: 100%; white-space: nowrap; @@ -702,6 +702,7 @@ input[type="checkbox"]:focus-visible { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { margin-top: 5px; padding-top: 5px; @@ -1980,7 +1981,7 @@ input:checked + .slide-container .properties { #panel .close, .dropdown-menu .toggle_aside, #slider .toggle_aside { - padding: 1rem; + padding: 1rem 0; display: block; width: 100%; border-bottom: 1px solid var(--frss-border-color); @@ -2005,7 +2006,8 @@ input:checked + .slide-container .properties { position: inherit; } - .dropdown .dropdown-header { + .dropdown .dropdown-header, + .dropdown .dropdown-section { line-height: 2; } -- cgit v1.2.3 From b71806268c299a9b1fcbe2ccb6a98f0ebdef6f63 Mon Sep 17 00:00:00 2001 From: maTh Date: Sun, 27 Nov 2022 11:25:38 +0100 Subject: delete .nav-list .empty/.error (#4899) --- p/themes/Alternative-Dark/adark.css | 18 -------------- p/themes/Alternative-Dark/adark.rtl.css | 18 -------------- p/themes/Ansum/_sidebar.scss | 40 -------------------------------- p/themes/Ansum/ansum.css | 22 ------------------ p/themes/Ansum/ansum.rtl.css | 22 ------------------ p/themes/BlueLagoon/BlueLagoon.css | 19 --------------- p/themes/BlueLagoon/BlueLagoon.rtl.css | 19 --------------- p/themes/Dark/dark.css | 20 ---------------- p/themes/Dark/dark.rtl.css | 20 ---------------- p/themes/Flat/flat.css | 20 ---------------- p/themes/Flat/flat.rtl.css | 20 ---------------- p/themes/Mapco/_sidebar.scss | 40 -------------------------------- p/themes/Mapco/mapco.css | 22 ------------------ p/themes/Mapco/mapco.rtl.css | 22 ------------------ p/themes/Origine/origine.css | 18 -------------- p/themes/Origine/origine.rtl.css | 18 -------------- p/themes/Pafat/pafat.css | 18 -------------- p/themes/Pafat/pafat.rtl.css | 18 -------------- p/themes/Screwdriver/screwdriver.css | 19 --------------- p/themes/Screwdriver/screwdriver.rtl.css | 19 --------------- p/themes/Swage/swage.css | 16 ------------- p/themes/Swage/swage.rtl.css | 16 ------------- p/themes/Swage/swage.scss | 21 ----------------- p/themes/base-theme/base.css | 12 ---------- p/themes/base-theme/base.rtl.css | 12 ---------- 25 files changed, 509 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index f32d91e53..51eb01d0c 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -309,24 +309,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: var(--empty-feed-color); -} - -.nav-list .item.active.empty a { - background: var(--empty-feed-color); - color: var(--font-color-light); -} - -.nav-list .item.error a { - color: var(--font-color-error); -} - -.nav-list .item.active.error a { - background: var(--contrast-attention-background-color); - color: var(--font-color-light); -} - .nav-list .nav-header { padding: 0 10px; color: var(--font-color-middle); diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 9cb07185d..2f994d178 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -309,24 +309,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: var(--empty-feed-color); -} - -.nav-list .item.active.empty a { - background: var(--empty-feed-color); - color: var(--font-color-light); -} - -.nav-list .item.error a { - color: var(--font-color-error); -} - -.nav-list .item.active.error a { - background: var(--contrast-attention-background-color); - color: var(--font-color-light); -} - .nav-list .nav-header { padding: 0 10px; color: var(--font-color-middle); diff --git a/p/themes/Ansum/_sidebar.scss b/p/themes/Ansum/_sidebar.scss index 7aaa6b0a8..d73cf7439 100644 --- a/p/themes/Ansum/_sidebar.scss +++ b/p/themes/Ansum/_sidebar.scss @@ -152,27 +152,7 @@ @include mixins.transition(all, 0.15s, ease-in-out); } - .error { - a { - color: variables.$alert-bg; - } - } - &:hover { - .error { - a { - background: variables.$main-first; - color: variables.$sid-font-color; - } - } - - .empty { - a { - background: variables.$warning-bg; - color: variables.$sid-font-color; - } - } - a { background: variables.$sid-bg-dark; text-decoration: none; @@ -183,20 +163,6 @@ background: variables.$main-first; color: variables.$white; - .error { - a { - background: variables.$main-first; - color: variables.$white; - } - } - - .empty { - a { - background: variables.$warning-bg; - color: variables.$white; - } - } - a { background: variables.$main-first; color: variables.$white; @@ -205,12 +171,6 @@ } } - &.empty { - a { - color: variables.$warning-bg; - } - } - .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index f07ba86ad..4d761c272 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -566,17 +566,6 @@ form th { color: #363330; transition: all 0.15s ease-in-out; } -.nav-list .item .error a { - color: #f5633e; -} -.nav-list .item:hover .error a { - background: #ca7227; - color: #363330; -} -.nav-list .item:hover .empty a { - background: #f4f762; - color: #363330; -} .nav-list .item:hover a { background: #efe3d3; text-decoration: none; @@ -585,22 +574,11 @@ form th { background: #ca7227; color: #fff; } -.nav-list .item.active .error a { - background: #ca7227; - color: #fff; -} -.nav-list .item.active .empty a { - background: #f4f762; - color: #fff; -} .nav-list .item.active a { background: #ca7227; color: #fff; text-decoration: none; } -.nav-list.empty a { - color: #f4f762; -} .nav-list .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index beb5de8a8..936f2cf6d 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -566,17 +566,6 @@ form th { color: #363330; transition: all 0.15s ease-in-out; } -.nav-list .item .error a { - color: #f5633e; -} -.nav-list .item:hover .error a { - background: #ca7227; - color: #363330; -} -.nav-list .item:hover .empty a { - background: #f4f762; - color: #363330; -} .nav-list .item:hover a { background: #efe3d3; text-decoration: none; @@ -585,22 +574,11 @@ form th { background: #ca7227; color: #fff; } -.nav-list .item.active .error a { - background: #ca7227; - color: #fff; -} -.nav-list .item.active .empty a { - background: #f4f762; - color: #fff; -} .nav-list .item.active a { background: #ca7227; color: #fff; text-decoration: none; } -.nav-list.empty a { - color: #f4f762; -} .nav-list .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index 276b50c8a..9cb9c488e 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -294,25 +294,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: #f39c12; -} - -.nav-list .item.active.empty a { - background: linear-gradient(180deg, #e4992c 0%, #d18114 100%) #e4992c; - background: -webkit-linear-gradient(180deg, #e4992c 0%, #d18114 100%); - color: #fff; -} - -.nav-list .item.error a { - color: #bd362f; -} - -.nav-list .item.active.error a { - background: #bd362f; - color: #fff; -} - .nav-list .nav-header { padding: 0 10px; background: transparent; diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index 1713a89ed..0924bcbd8 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -294,25 +294,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: #f39c12; -} - -.nav-list .item.active.empty a { - background: linear-gradient(-180deg, #e4992c 0%, #d18114 100%) #e4992c; - background: -webkit-linear-gradient(-180deg, #e4992c 0%, #d18114 100%); - color: #fff; -} - -.nav-list .item.error a { - color: #bd362f; -} - -.nav-list .item.active.error a { - background: #bd362f; - color: #fff; -} - .nav-list .nav-header { padding: 0 10px; background: transparent; diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 4a13c4099..5589eb558 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -289,26 +289,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: #c95; -} - -.nav-list .item:hover.empty a, -.nav-list .item.active.empty a { - background: #c95; - color: #fff; -} - -.nav-list .item.error a { - color: #a44; -} - -.nav-list .item:hover.error a, -.nav-list .item.active.error a { - background: #a44; - color: #fff; -} - .nav-list .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 82f30827e..a2493c4ac 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -289,26 +289,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: #c95; -} - -.nav-list .item:hover.empty a, -.nav-list .item.active.empty a { - background: #c95; - color: #fff; -} - -.nav-list .item.error a { - color: #a44; -} - -.nav-list .item:hover.error a, -.nav-list .item.active.error a { - background: #a44; - color: #fff; -} - .nav-list .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 67d823cac..e2309c970 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -276,26 +276,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: #f39c12; -} - -.nav-list .item:hover.empty a, -.nav-list .item.active.empty a { - background: #f39c12; - color: #fff; -} - -.nav-list .item.error a { - color: #bd362f; -} - -.nav-list .item:hover.error a, -.nav-list .item.active.error a { - background: #bd362f; - color: #fff; -} - .nav-list .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index dbbb9a6aa..39c1e9b4c 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -276,26 +276,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: #f39c12; -} - -.nav-list .item:hover.empty a, -.nav-list .item.active.empty a { - background: #f39c12; - color: #fff; -} - -.nav-list .item.error a { - color: #bd362f; -} - -.nav-list .item:hover.error a, -.nav-list .item.active.error a { - background: #bd362f; - color: #fff; -} - .nav-list .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/Mapco/_sidebar.scss b/p/themes/Mapco/_sidebar.scss index 77438c836..9f546da61 100644 --- a/p/themes/Mapco/_sidebar.scss +++ b/p/themes/Mapco/_sidebar.scss @@ -151,27 +151,7 @@ @include mixins.transition(all, 0.15s, ease-in-out); } - .error { - a { - color: variables.$alert-bg; - } - } - &:hover { - .error { - a { - background: variables.$main-first; - color: variables.$sid-font-color; - } - } - - .empty { - a { - background: variables.$warning-bg; - color: variables.$sid-font-color; - } - } - a { background: variables.$sid-bg-dark; text-decoration: none; @@ -182,20 +162,6 @@ background: variables.$main-first; color: variables.$white; - .error { - a { - background: variables.$main-first; - color: variables.$white; - } - } - - .empty { - a { - background: variables.$warning-bg; - color: variables.$white; - } - } - a { background: variables.$main-first; color: variables.$white; @@ -204,12 +170,6 @@ } } - &.empty { - a { - color: variables.$warning-bg; - } - } - .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 170938509..6a0592b82 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -580,17 +580,6 @@ form th { color: #ffffff; transition: all 0.15s ease-in-out; } -.nav-list .item .error a { - color: #f5633e; -} -.nav-list .item:hover .error a { - background: #36c; - color: #ffffff; -} -.nav-list .item:hover .empty a { - background: #f4f762; - color: #ffffff; -} .nav-list .item:hover a { background: #17181a; text-decoration: none; @@ -599,22 +588,11 @@ form th { background: #36c; color: #fff; } -.nav-list .item.active .error a { - background: #36c; - color: #fff; -} -.nav-list .item.active .empty a { - background: #f4f762; - color: #fff; -} .nav-list .item.active a { background: #36c; color: #fff; text-decoration: none; } -.nav-list.empty a { - color: #f4f762; -} .nav-list .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index c2096b11c..141d3f312 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -580,17 +580,6 @@ form th { color: #ffffff; transition: all 0.15s ease-in-out; } -.nav-list .item .error a { - color: #f5633e; -} -.nav-list .item:hover .error a { - background: #36c; - color: #ffffff; -} -.nav-list .item:hover .empty a { - background: #f4f762; - color: #ffffff; -} .nav-list .item:hover a { background: #17181a; text-decoration: none; @@ -599,22 +588,11 @@ form th { background: #36c; color: #fff; } -.nav-list .item.active .error a { - background: #36c; - color: #fff; -} -.nav-list .item.active .empty a { - background: #f4f762; - color: #fff; -} .nav-list .item.active a { background: #36c; color: #fff; text-decoration: none; } -.nav-list.empty a { - color: #f4f762; -} .nav-list .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index fb81b00a4..0029d535a 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -389,24 +389,6 @@ a:hover .icon { text-decoration: none; } -.nav-list .item.empty a { - color: var(--empty-feed-color); -} - -.nav-list .item.active.empty a { - background-color: var(--empty-feed-color); - color: var(--font-color-light); -} - -.nav-list .item.error a { - color: var(--error-feed-color); -} - -.nav-list .item.active.error a { - background-color: var(--error-feed-color); - color: var(--font-color-light); -} - .nav-list .nav-header { padding: 0 10px; background-color: var(--background-color-grey); diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index fa5205852..7bd49738e 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -389,24 +389,6 @@ a:hover .icon { text-decoration: none; } -.nav-list .item.empty a { - color: var(--empty-feed-color); -} - -.nav-list .item.active.empty a { - background-color: var(--empty-feed-color); - color: var(--font-color-light); -} - -.nav-list .item.error a { - color: var(--error-feed-color); -} - -.nav-list .item.active.error a { - background-color: var(--error-feed-color); - color: var(--font-color-light); -} - .nav-list .nav-header { padding: 0 10px; background-color: var(--background-color-grey); diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index fe8770c88..d1185164a 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -249,24 +249,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: #f39c12; -} - -.nav-list .item.active.empty a { - background: #f39c12; - color: #fff; -} - -.nav-list .item.error a { - color: #bd362f; -} - -.nav-list .item.active.error a { - background: #bd362f; - color: #fff; -} - .nav-list .nav-header { padding: 0 10px; background: #f4f4f4; diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 60877e1ad..4bba258a8 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -249,24 +249,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: #f39c12; -} - -.nav-list .item.active.empty a { - background: #f39c12; - color: #fff; -} - -.nav-list .item.error a { - color: #bd362f; -} - -.nav-list .item.active.error a { - background: #bd362f; - color: #fff; -} - .nav-list .nav-header { padding: 0 10px; background: #f4f4f4; diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 490381fb6..c940afb76 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -298,25 +298,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: #f39c12; -} - -.nav-list .item.active.empty a { - background: linear-gradient(180deg, #e4992c 0%, #d18114 100%) #e4992c; - background: -webkit-linear-gradient(180deg, #e4992c 0%, #d18114 100%); - color: #fff; -} - -.nav-list .item.error a { - color: #bd362f; -} - -.nav-list .item.active.error a { - background: #bd362f; - color: #fff; -} - .nav-list .nav-header { padding: 0 10px; background: transparent; diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index e8a30d326..6d1bbd90e 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -298,25 +298,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { - color: #f39c12; -} - -.nav-list .item.active.empty a { - background: linear-gradient(-180deg, #e4992c 0%, #d18114 100%) #e4992c; - background: -webkit-linear-gradient(-180deg, #e4992c 0%, #d18114 100%); - color: #fff; -} - -.nav-list .item.error a { - color: #bd362f; -} - -.nav-list .item.active.error a { - background: #bd362f; - color: #fff; -} - .nav-list .nav-header { padding: 0 10px; background: transparent; diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 2397160b2..4f5811144 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -281,25 +281,9 @@ form th { .nav-list .item.active a { color: var(--color-text-light); } -.nav-list .item.active.empty a, -.nav-list .item.active .error a { - color: var(--color-text-light); -} -.nav-list .item.active.empty a { - background-color: var(--color-background-alert); -} -.nav-list .item.active.error a { - background-color: var(--color-background-bad); -} .nav-list .item > a { padding: 0 1.5rem; } -.nav-list .item.empty a { - color: var(--color-text-alert); -} -.nav-list .item.error a { - color: var(--color-text-bad-lighter); -} .nav-list .item .icon { filter: brightness(3); } diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index a021a70cd..32367ee96 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -281,25 +281,9 @@ form th { .nav-list .item.active a { color: var(--color-text-light); } -.nav-list .item.active.empty a, -.nav-list .item.active .error a { - color: var(--color-text-light); -} -.nav-list .item.active.empty a { - background-color: var(--color-background-alert); -} -.nav-list .item.active.error a { - background-color: var(--color-background-bad); -} .nav-list .item > a { padding: 0 1.5rem; } -.nav-list .item.empty a { - color: var(--color-text-alert); -} -.nav-list .item.error a { - color: var(--color-text-bad-lighter); -} .nav-list .item .icon { filter: brightness(3); } diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 9ca316aff..9d205b7c4 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -365,33 +365,12 @@ form { a { color: var(--color-text-light); } - - &.empty a, - .error a { - color: var(--color-text-light); - } - - &.empty a { - background-color: var(--color-background-alert); - } - - &.error a { - background-color: var(--color-background-bad); - } } > a { padding: 0 1.5rem; } - &.empty a { - color: var(--color-text-alert); - } - - &.error a { - color: var(--color-text-bad-lighter); - } - .icon { filter: brightness(3); } diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index 3f72fff53..76f53bd2b 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -199,18 +199,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { -} - -.nav-list .item.active.empty a { -} - -.nav-list .item.error a { -} - -.nav-list .item.active.error a { -} - .nav-list .nav-header { padding: 0 10px; font-weight: bold; diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index 461e7930e..4b34fe63a 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -199,18 +199,6 @@ a.btn { text-decoration: none; } -.nav-list .item.empty a { -} - -.nav-list .item.active.empty a { -} - -.nav-list .item.error a { -} - -.nav-list .item.active.error a { -} - .nav-list .nav-header { padding: 0 10px; font-weight: bold; -- cgit v1.2.3 From f41a574a9f693d81c6eabff7a05ebf3648858d5b Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 30 Nov 2022 20:45:11 +0100 Subject: article header: alignment of favicon/tags (#4910) --- p/themes/base-theme/frss.css | 3 ++- p/themes/base-theme/frss.rtl.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 50671f556..973229fa3 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -1330,8 +1330,9 @@ a.website:hover .favicon { } .content > header .tags .icon, +.content > header .website .favicon, .content > footer .tags .icon { - padding: 0 1rem 0 0; + margin: 0 0.5rem 0 0; line-height: 1.5; } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index cb76b53ca..fe9706bb6 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -1330,8 +1330,9 @@ a.website:hover .favicon { } .content > header .tags .icon, +.content > header .website .favicon, .content > footer .tags .icon { - padding: 0 0 0 1rem; + margin: 0 0 0 0.5rem; line-height: 1.5; } -- cgit v1.2.3 From a501cc88e7cf78cd5f39b4c1c29b9fcb38ac71a4 Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 7 Dec 2022 14:46:53 +0100 Subject: fix: Text overflow in article summary (#4923) --- p/themes/base-theme/frss.css | 1 + p/themes/base-theme/frss.rtl.css | 1 + 2 files changed, 2 insertions(+) (limited to 'p/themes/base-theme') diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 973229fa3..fd7f2736a 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -1241,6 +1241,7 @@ a.website:hover .favicon { color: var(--frss-font-color-grey-dark); font-size: 0.9rem; font-weight: normal; + overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index fe9706bb6..9916354d7 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -1241,6 +1241,7 @@ a.website:hover .favicon { color: var(--frss-font-color-grey-dark); font-size: 0.9rem; font-weight: normal; + overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; -- cgit v1.2.3 From e072411bafc4d0177835c68d9cb12341540ce554 Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 12 Dec 2022 20:50:32 +0100 Subject: Improved: Header (#4927) * all themes * fix --- p/themes/Alternative-Dark/adark.css | 10 +++---- p/themes/Alternative-Dark/adark.rtl.css | 10 +++---- p/themes/Ansum/_layout.scss | 25 +++++++---------- p/themes/Ansum/_mobile.scss | 8 +++++- p/themes/Ansum/ansum.css | 29 +++++++++----------- p/themes/Ansum/ansum.rtl.css | 29 +++++++++----------- p/themes/Dark-pink/pinkdark.css | 4 +++ p/themes/Dark-pink/pinkdark.rtl.css | 4 +++ p/themes/Dark/dark.css | 9 +++---- p/themes/Dark/dark.rtl.css | 9 +++---- p/themes/Flat/flat.css | 5 ++-- p/themes/Flat/flat.rtl.css | 5 ++-- p/themes/Mapco/_layout.scss | 30 +++++++-------------- p/themes/Mapco/_mobile.scss | 8 +++++- p/themes/Mapco/mapco.css | 34 ++++++++++-------------- p/themes/Mapco/mapco.rtl.css | 34 ++++++++++-------------- p/themes/Nord/nord.css | 29 +++++++++++++++----- p/themes/Nord/nord.rtl.css | 29 +++++++++++++++----- p/themes/Origine-compact/origine-compact.css | 4 +++ p/themes/Origine-compact/origine-compact.rtl.css | 4 +++ p/themes/Origine/origine.css | 8 +++--- p/themes/Origine/origine.rtl.css | 8 +++--- p/themes/Pafat/pafat.css | 4 +++ p/themes/Pafat/pafat.rtl.css | 4 +++ p/themes/Swage/swage.css | 6 +++++ p/themes/Swage/swage.rtl.css | 6 +++++ p/themes/Swage/swage.scss | 10 +++++++ p/themes/base-theme/base.css | 5 ---- p/themes/base-theme/base.rtl.css | 5 ---- p/themes/base-theme/frss.css | 22 ++++++++++++--- p/themes/base-theme/frss.rtl.css | 22 ++++++++++++--- 31 files changed, 246 insertions(+), 173 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 51eb01d0c..4c996986c 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -540,21 +540,19 @@ kbd { } .header > .item { - padding: 10px; border-bottom: 1px solid var(--border-color-dark); vertical-align: middle; text-align: center; } -.header > .item.title { - width: 230px; -} - .header > .item.title .logo { - margin: 0.5em 0; filter: grayscale(100%) brightness(2.5); } +.header > .item.title a:hover .logo { + filter: grayscale(100%) brightness(2.8); +} + .header > .item.search input { width: 230px; } diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 2f994d178..85c4ecc62 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -540,21 +540,19 @@ kbd { } .header > .item { - padding: 10px; border-bottom: 1px solid var(--border-color-dark); vertical-align: middle; text-align: center; } -.header > .item.title { - width: 230px; -} - .header > .item.title .logo { - margin: 0.5em 0; filter: grayscale(100%) brightness(2.5); } +.header > .item.title a:hover .logo { + filter: grayscale(100%) brightness(2.8); +} + .header > .item.search input { width: 230px; } diff --git a/p/themes/Ansum/_layout.scss b/p/themes/Ansum/_layout.scss index ab7ec6e3e..76280d7a7 100644 --- a/p/themes/Ansum/_layout.scss +++ b/p/themes/Ansum/_layout.scss @@ -6,25 +6,24 @@ /*===============*/ /*=== Header */ .header { - padding: 0.5rem 1.35rem; background: variables.$sid-bg; - display: block; - width: auto; - height: 3.5rem; - table-layout: none; .item { vertical-align: middle; &.title { - width: 280px; - font-weight: 400; - a { - img { - margin: 0.6em 0 0.3em; + padding: 0.5rem 1rem; + + .logo { filter: invert(80%); } + + &:hover { + .logo { + filter: invert(80%) opacity(80%); + } + } } } @@ -81,10 +80,6 @@ } &.configure { - width: 3rem; - position: absolute; - right: 1rem; - top: 1rem; text-align: center; .btn { @@ -97,7 +92,7 @@ /*=== Body */ #global { - height: calc(100% - 3.5rem); + height: calc(100vh - (calc(3rem + 2 * var(--frss-padding-top-bottom)))); } /*=== Prompt (centered) */ diff --git a/p/themes/Ansum/_mobile.scss b/p/themes/Ansum/_mobile.scss index af9a82190..bb13a0e83 100644 --- a/p/themes/Ansum/_mobile.scss +++ b/p/themes/Ansum/_mobile.scss @@ -35,7 +35,7 @@ } .header { - padding: 0.5rem; + display: block; height: 8rem; .item { @@ -65,6 +65,12 @@ padding: 0.5rem 2rem; } } + + &.configure { + position: absolute; + top: 0; + right: 0; + } } } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 4d761c272..baf47f47f 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -650,24 +650,20 @@ form th { /*===============*/ /*=== Header */ .header { - padding: 0.5rem 1.35rem; background: #fbf9f6; - display: block; - width: auto; - height: 3.5rem; - table-layout: none; } .header .item { vertical-align: middle; } -.header .item.title { - width: 280px; - font-weight: 400; +.header .item.title a { + padding: 0.5rem 1rem; } -.header .item.title a img { - margin: 0.6em 0 0.3em; +.header .item.title a .logo { filter: invert(80%); } +.header .item.title a:hover .logo { + filter: invert(80%) opacity(80%); +} .header .item.search input { width: 230px; color: #363330; @@ -709,10 +705,6 @@ form th { filter: brightness(3); } .header .item.configure { - width: 3rem; - position: absolute; - right: 1rem; - top: 1rem; text-align: center; } .header .item.configure .btn { @@ -722,7 +714,7 @@ form th { /*=== Body */ #global { - height: calc(100% - 3.5rem); + height: calc(100vh - (3rem + 2 * var(--frss-padding-top-bottom))); } /*=== Prompt (centered) */ @@ -1199,7 +1191,7 @@ main.prompt { filter: grayscale(100%) brightness(2.5); } .header { - padding: 0.5rem; + display: block; height: 8rem; } .header .item.search { @@ -1222,6 +1214,11 @@ main.prompt { min-height: 49px; padding: 0.5rem 2rem; } + .header .item.configure { + position: absolute; + top: 0; + right: 0; + } #global { height: calc(100% - 8rem); } diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index 936f2cf6d..ac38ced4a 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -650,24 +650,20 @@ form th { /*===============*/ /*=== Header */ .header { - padding: 0.5rem 1.35rem; background: #fbf9f6; - display: block; - width: auto; - height: 3.5rem; - table-layout: none; } .header .item { vertical-align: middle; } -.header .item.title { - width: 280px; - font-weight: 400; +.header .item.title a { + padding: 0.5rem 1rem; } -.header .item.title a img { - margin: 0.6em 0 0.3em; +.header .item.title a .logo { filter: invert(80%); } +.header .item.title a:hover .logo { + filter: invert(80%) opacity(80%); +} .header .item.search input { width: 230px; color: #363330; @@ -709,10 +705,6 @@ form th { filter: brightness(3); } .header .item.configure { - width: 3rem; - position: absolute; - left: 1rem; - top: 1rem; text-align: center; } .header .item.configure .btn { @@ -722,7 +714,7 @@ form th { /*=== Body */ #global { - height: calc(100% - 3.5rem); + height: calc(100vh - (3rem + 2 * var(--frss-padding-top-bottom))); } /*=== Prompt (centered) */ @@ -1199,7 +1191,7 @@ main.prompt { filter: grayscale(100%) brightness(2.5); } .header { - padding: 0.5rem; + display: block; height: 8rem; } .header .item.search { @@ -1222,6 +1214,11 @@ main.prompt { min-height: 49px; padding: 0.5rem 2rem; } + .header .item.configure { + position: absolute; + top: 0; + left: 0; + } #global { height: calc(100% - 8rem); } diff --git a/p/themes/Dark-pink/pinkdark.css b/p/themes/Dark-pink/pinkdark.css index ac418d7cf..1d8e6e855 100644 --- a/p/themes/Dark-pink/pinkdark.css +++ b/p/themes/Dark-pink/pinkdark.css @@ -91,6 +91,10 @@ input:focus { filter: sepia(62%) brightness(107%) hue-rotate(315deg) saturate(248%) contrast(104%) invert(100%); } +.header > .item.title a:hover .logo { + filter: sepia(62%) brightness(70%) hue-rotate(315deg) saturate(248%) contrast(104%) invert(100%); +} + .icon[src*="/all"], .icon[src*="/down"], .icon[src*="/help"], diff --git a/p/themes/Dark-pink/pinkdark.rtl.css b/p/themes/Dark-pink/pinkdark.rtl.css index 748e83c49..03161d0b0 100644 --- a/p/themes/Dark-pink/pinkdark.rtl.css +++ b/p/themes/Dark-pink/pinkdark.rtl.css @@ -91,6 +91,10 @@ input:focus { filter: sepia(62%) brightness(107%) hue-rotate(315deg) saturate(248%) contrast(104%) invert(100%); } +.header > .item.title a:hover .logo { + filter: sepia(62%) brightness(70%) hue-rotate(315deg) saturate(248%) contrast(104%) invert(100%); +} + .icon[src*="/all"], .icon[src*="/down"], .icon[src*="/help"], diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 5589eb558..9390ae67d 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -529,20 +529,19 @@ a.btn { /*===============*/ /*=== Header */ .header > .item { - padding: 10px; vertical-align: middle; text-align: center; border-bottom: 1px solid #333; } -.header > .item.title { - width: 230px; -} - .header > .item.title .logo { filter: grayscale(60%) brightness(1.1); } +.header > .item.title a:hover .logo { + filter: grayscale(60%) brightness(1.5); +} + .header > .item.search input { width: 230px; } diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index a2493c4ac..c223edbae 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -529,20 +529,19 @@ a.btn { /*===============*/ /*=== Header */ .header > .item { - padding: 10px; vertical-align: middle; text-align: center; border-bottom: 1px solid #333; } -.header > .item.title { - width: 230px; -} - .header > .item.title .logo { filter: grayscale(60%) brightness(1.1); } +.header > .item.title a:hover .logo { + filter: grayscale(60%) brightness(1.5); +} + .header > .item.search input { width: 230px; } diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index e2309c970..0abda3f01 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -531,13 +531,12 @@ a.btn { } .header > .item { - padding: 10px; vertical-align: middle; text-align: center; } -.header > .item.title { - width: 230px; +.header > .item.title a:hover .logo { + filter: brightness(1.5); } .header > .item.title h1 { diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 39c1e9b4c..f43ccc6d5 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -531,13 +531,12 @@ a.btn { } .header > .item { - padding: 10px; vertical-align: middle; text-align: center; } -.header > .item.title { - width: 230px; +.header > .item.title a:hover .logo { + filter: brightness(1.5); } .header > .item.title h1 { diff --git a/p/themes/Mapco/_layout.scss b/p/themes/Mapco/_layout.scss index b1cae52f1..1bd719842 100644 --- a/p/themes/Mapco/_layout.scss +++ b/p/themes/Mapco/_layout.scss @@ -6,29 +6,23 @@ /*===============*/ /*=== Header */ .header { - padding: 0.5rem 1.35rem; background: variables.$sid-bg; - display: block; - width: auto; - height: 3.5rem; - table-layout: none; - - .logo { - margin: 11px 0 5px; - filter: grayscale(100%) brightness(100); - } .item { vertical-align: middle; &.title { - width: 280px; + a { + padding: 0.5rem 1rem; - font-weight: 400; + .logo { + filter: grayscale(100%) brightness(3); + } - a { - img { - margin-right: 0.5rem; + &:hover { + .logo { + filter: grayscale(100%) brightness(2.2); + } } } } @@ -82,10 +76,6 @@ } &.configure { - width: 3rem; - position: absolute; - right: 1rem; - top: 1rem; text-align: center; .btn .icon, @@ -107,7 +97,7 @@ /*=== Body */ #global { - height: calc(100% - 3.5rem); + height: calc(100vh - (calc(3rem + 2 * var(--frss-padding-top-bottom)))); } /*=== Prompt (centered) */ diff --git a/p/themes/Mapco/_mobile.scss b/p/themes/Mapco/_mobile.scss index 542d8649e..6960873bf 100644 --- a/p/themes/Mapco/_mobile.scss +++ b/p/themes/Mapco/_mobile.scss @@ -35,7 +35,7 @@ } .header { - padding: 0.5rem; + display: block; height: 8rem; .item { @@ -61,6 +61,12 @@ } } + &.configure { + position: absolute; + top: 0; + right: 0; + } + } } diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 6a0592b82..23df81fff 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -664,26 +664,19 @@ form th { /*===============*/ /*=== Header */ .header { - padding: 0.5rem 1.35rem; background: #303136; - display: block; - width: auto; - height: 3.5rem; - table-layout: none; -} -.header .logo { - margin: 11px 0 5px; - filter: grayscale(100%) brightness(100); } .header .item { vertical-align: middle; } -.header .item.title { - width: 280px; - font-weight: 400; +.header .item.title a { + padding: 0.5rem 1rem; +} +.header .item.title a .logo { + filter: grayscale(100%) brightness(3); } -.header .item.title a img { - margin-right: 0.5rem; +.header .item.title a:hover .logo { + filter: grayscale(100%) brightness(2.2); } .header .item.search input { width: 230px; @@ -723,10 +716,6 @@ form th { filter: brightness(3); } .header .item.configure { - width: 3rem; - position: absolute; - right: 1rem; - top: 1rem; text-align: center; } .header .item.configure .btn .icon, @@ -743,7 +732,7 @@ form th { /*=== Body */ #global { - height: calc(100% - 3.5rem); + height: calc(100vh - (3rem + 2 * var(--frss-padding-top-bottom))); } /*=== Prompt (centered) */ @@ -1219,7 +1208,7 @@ main.prompt { filter: grayscale(100%) brightness(2.5); } .header { - padding: 0.5rem; + display: block; height: 8rem; } .header .item.search { @@ -1238,6 +1227,11 @@ main.prompt { .header .item.search input:focus { width: 100%; } + .header .item.configure { + position: absolute; + top: 0; + right: 0; + } #global { height: calc(100% - 8rem); } diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 141d3f312..0ed0a58df 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -664,26 +664,19 @@ form th { /*===============*/ /*=== Header */ .header { - padding: 0.5rem 1.35rem; background: #303136; - display: block; - width: auto; - height: 3.5rem; - table-layout: none; -} -.header .logo { - margin: 11px 0 5px; - filter: grayscale(100%) brightness(100); } .header .item { vertical-align: middle; } -.header .item.title { - width: 280px; - font-weight: 400; +.header .item.title a { + padding: 0.5rem 1rem; +} +.header .item.title a .logo { + filter: grayscale(100%) brightness(3); } -.header .item.title a img { - margin-left: 0.5rem; +.header .item.title a:hover .logo { + filter: grayscale(100%) brightness(2.2); } .header .item.search input { width: 230px; @@ -723,10 +716,6 @@ form th { filter: brightness(3); } .header .item.configure { - width: 3rem; - position: absolute; - left: 1rem; - top: 1rem; text-align: center; } .header .item.configure .btn .icon, @@ -743,7 +732,7 @@ form th { /*=== Body */ #global { - height: calc(100% - 3.5rem); + height: calc(100vh - (3rem + 2 * var(--frss-padding-top-bottom))); } /*=== Prompt (centered) */ @@ -1219,7 +1208,7 @@ main.prompt { filter: grayscale(100%) brightness(2.5); } .header { - padding: 0.5rem; + display: block; height: 8rem; } .header .item.search { @@ -1238,6 +1227,11 @@ main.prompt { .header .item.search input:focus { width: 100%; } + .header .item.configure { + position: absolute; + top: 0; + left: 0; + } #global { height: calc(100% - 8rem); } diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 8ce9727a3..59d7e0aed 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -188,6 +188,25 @@ a.btn { opacity: .8; cursor: pointer; } + +.stick input { + margin: 0 5px 0 0; +} + +.stick .btn { + margin-top: 0; + margin-bottom: 0; +} + +.stick { + margin: 0 5px; +} + +.header .stick, +.header .btn { + margin: 0 +} + /*=== Navigation */ .nav-list .nav-header, .nav-list .item { @@ -425,16 +444,10 @@ img.favicon { /*===============*/ /*=== Header */ .header > .item { - padding: 10px; vertical-align: middle; text-align: center; } - -.header > .item.title { - width: 230px; -} - .header > .item.title h1 { margin: 0.5em 0; } @@ -455,6 +468,10 @@ img.favicon { filter: grayscale(100%) brightness(2.5); } +.header > .item.title a:hover .logo { + filter: grayscale(85%) brightness(2.5); +} + /*=== Body */ .aside { background-color: var(--accent-bg); diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index f7b0c4a64..d3246ae55 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -188,6 +188,25 @@ a.btn { opacity: .8; cursor: pointer; } + +.stick input { + margin: 0 0 0 5px; +} + +.stick .btn { + margin-top: 0; + margin-bottom: 0; +} + +.stick { + margin: 0 5px; +} + +.header .stick, +.header .btn { + margin: 0 +} + /*=== Navigation */ .nav-list .nav-header, .nav-list .item { @@ -425,16 +444,10 @@ img.favicon { /*===============*/ /*=== Header */ .header > .item { - padding: 10px; vertical-align: middle; text-align: center; } - -.header > .item.title { - width: 230px; -} - .header > .item.title h1 { margin: 0.5em 0; } @@ -455,6 +468,10 @@ img.favicon { filter: grayscale(100%) brightness(2.5); } +.header > .item.title a:hover .logo { + filter: grayscale(85%) brightness(2.5); +} + /*=== Body */ .aside { background-color: var(--accent-bg); diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css index e70482d57..f5de75adc 100644 --- a/p/themes/Origine-compact/origine-compact.css +++ b/p/themes/Origine-compact/origine-compact.css @@ -57,6 +57,10 @@ a.btn, height: calc(2.1rem + 2 * var(--frss-padding-top-bottom)); } +.header > .item.title a { + padding: 0 1rem; +} + .header > .item.title .logo { /* logo is smaller than needed */ height: 1.5rem; diff --git a/p/themes/Origine-compact/origine-compact.rtl.css b/p/themes/Origine-compact/origine-compact.rtl.css index d6f7e49bd..b1ac6fb54 100644 --- a/p/themes/Origine-compact/origine-compact.rtl.css +++ b/p/themes/Origine-compact/origine-compact.rtl.css @@ -57,6 +57,10 @@ a.btn, height: calc(2.1rem + 2 * var(--frss-padding-top-bottom)); } +.header > .item.title a { + padding: 0 1rem; +} + .header > .item.title .logo { /* logo is smaller than needed */ height: 1.5rem; diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 0029d535a..4c52cd28a 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -651,6 +651,10 @@ a:hover .icon { width: 300px; } +.header > .item.title a:hover .logo { + filter: brightness(1.4); +} + .header > .item.search input { width: 230px; } @@ -660,10 +664,6 @@ a:hover .icon { } /*=== Body */ -#global { - height: calc(100vh - 4rem); -} - .aside { background-color: var(--background-color-light); border-right: 1px solid var(--border-color); diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 7bd49738e..2d7b9197f 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -651,6 +651,10 @@ a:hover .icon { width: 300px; } +.header > .item.title a:hover .logo { + filter: brightness(1.4); +} + .header > .item.search input { width: 230px; } @@ -660,10 +664,6 @@ a:hover .icon { } /*=== Body */ -#global { - height: calc(100vh - 4rem); -} - .aside { background-color: var(--background-color-light); border-left: 1px solid var(--border-color); diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index c863929cf..a20d03405 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -592,6 +592,10 @@ a.btn { filter: grayscale(100%) brightness(2.5); } +.header > .item.title a:hover .logo { + filter: grayscale(100%) brightness(4); +} + a.signin { text-decoration: none; color: var(--font-color-grey-light); diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 7677a92db..c70bbd6aa 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -592,6 +592,10 @@ a.btn { filter: grayscale(100%) brightness(2.5); } +.header > .item.title a:hover .logo { + filter: grayscale(100%) brightness(4); +} + a.signin { text-decoration: none; color: var(--font-color-grey-light); diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 105725971..aa6527e49 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -570,6 +570,12 @@ form th { position: absolute; text-align: center; } +.header > .item.title a { + padding: 0 1rem; +} +.header > .item.title a:hover .logo { + filter: grayscale(100%) brightness(100) opacity(90%); +} .header > .item.title .logo { display: inline-block; height: 26px; diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 3d6c6910e..ab311bb31 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -570,6 +570,12 @@ form th { position: absolute; text-align: center; } +.header > .item.title a { + padding: 0 1rem; +} +.header > .item.title a:hover .logo { + filter: grayscale(100%) brightness(100) opacity(90%); +} .header > .item.title .logo { display: inline-block; height: 26px; diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index b7eec76e7..be9fc9ad2 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -729,6 +729,16 @@ form { position: absolute; text-align: center; + a { + padding: 0 1rem; + + &:hover { + .logo { + filter: grayscale(100%) brightness(100) opacity(90%); + } + } + } + .logo { display: inline-block; height: 26px; diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index 76f53bd2b..faa916185 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -394,15 +394,10 @@ a.btn { } .header > .item { - padding: 10px; vertical-align: middle; text-align: center; } -.header > .item.title { - width: 230px; -} - .header > .item.title h1 { margin: 0.5em 0; } diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index 4b34fe63a..12c319638 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -394,15 +394,10 @@ a.btn { } .header > .item { - padding: 10px; vertical-align: middle; text-align: center; } -.header > .item.title { - width: 230px; -} - .header > .item.title h1 { margin: 0.5em 0; } diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index fd7f2736a..b8b1f384d 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -1006,7 +1006,7 @@ li.drag-hover { .header { display: table; width: 100%; - height: calc(2rem + 2 * var(--frss-padding-top-bottom)); + height: calc(2.5rem + 2 * var(--frss-padding-top-bottom)); table-layout: fixed; } @@ -1017,7 +1017,8 @@ li.drag-hover { } .header > .item.title { - width: 250px; + width: 300px; + text-align: center; white-space: nowrap; } @@ -1025,12 +1026,22 @@ li.drag-hover { display: inline-block; } +.header > .item.title a { + padding: 0.25rem 1rem; + display: inline-block; +} + .header > .item.title .logo { display: inline-block; height: 2rem; vertical-align: middle; } +.header > .item.title a:hover .logo { + filter: brightness(1.4); + transition: filter 0.1s linear; +} + .header > .item.configure { width: 100px; } @@ -1044,7 +1055,7 @@ input[type="search"] { background: inherit; display: table; width: 100%; - height: calc(100vh - (calc(2rem + 2 * var(--frss-padding-top-bottom)))); + height: calc(100vh - (calc(2.5rem + 2 * var(--frss-padding-top-bottom) + 1px))); table-layout: fixed; } @@ -1966,6 +1977,11 @@ input:checked + .slide-container .properties { padding: 5px; } + .header > .item.title { + width: 75%; + text-align: left; + } + .header > .item.title .logo { height: 24px; } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 9916354d7..6bd36a646 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -1006,7 +1006,7 @@ li.drag-hover { .header { display: table; width: 100%; - height: calc(2rem + 2 * var(--frss-padding-top-bottom)); + height: calc(2.5rem + 2 * var(--frss-padding-top-bottom)); table-layout: fixed; } @@ -1017,7 +1017,8 @@ li.drag-hover { } .header > .item.title { - width: 250px; + width: 300px; + text-align: center; white-space: nowrap; } @@ -1025,12 +1026,22 @@ li.drag-hover { display: inline-block; } +.header > .item.title a { + padding: 0.25rem 1rem; + display: inline-block; +} + .header > .item.title .logo { display: inline-block; height: 2rem; vertical-align: middle; } +.header > .item.title a:hover .logo { + filter: brightness(1.4); + transition: filter 0.1s linear; +} + .header > .item.configure { width: 100px; } @@ -1044,7 +1055,7 @@ input[type="search"] { background: inherit; display: table; width: 100%; - height: calc(100vh - (calc(2rem + 2 * var(--frss-padding-top-bottom)))); + height: calc(100vh - (calc(2.5rem + 2 * var(--frss-padding-top-bottom) + 1px))); table-layout: fixed; } @@ -1966,6 +1977,11 @@ input:checked + .slide-container .properties { padding: 5px; } + .header > .item.title { + width: 75%; + text-align: right; + } + .header > .item.title .logo { height: 24px; } -- cgit v1.2.3 From 6131aa4479a51862c28d4da693bb1fe5d2c47e24 Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 28 Dec 2022 23:06:03 +0100 Subject: fix: Misalignment of "There are no articles to show" box (#4959) --- p/themes/Alternative-Dark/adark.css | 2 -- p/themes/Alternative-Dark/adark.rtl.css | 2 -- p/themes/Ansum/_components.scss | 3 --- p/themes/Ansum/ansum.css | 6 +----- p/themes/Ansum/ansum.rtl.css | 4 +--- p/themes/BlueLagoon/BlueLagoon.css | 2 -- p/themes/BlueLagoon/BlueLagoon.rtl.css | 2 -- p/themes/Dark/dark.css | 2 -- p/themes/Dark/dark.rtl.css | 2 -- p/themes/Flat/flat.css | 2 -- p/themes/Flat/flat.rtl.css | 2 -- p/themes/Mapco/_components.scss | 2 -- p/themes/Mapco/mapco.css | 6 +----- p/themes/Mapco/mapco.rtl.css | 4 +--- p/themes/Nord/nord.css | 2 -- p/themes/Nord/nord.rtl.css | 2 -- p/themes/Origine/origine.css | 2 -- p/themes/Origine/origine.rtl.css | 2 -- p/themes/Pafat/pafat.css | 2 -- p/themes/Pafat/pafat.rtl.css | 2 -- p/themes/Screwdriver/screwdriver.css | 2 -- p/themes/Screwdriver/screwdriver.rtl.css | 2 -- p/themes/Swage/swage.css | 7 ++----- p/themes/Swage/swage.rtl.css | 5 ++--- p/themes/Swage/swage.scss | 3 +-- p/themes/base-theme/base.css | 2 -- p/themes/base-theme/base.rtl.css | 2 -- p/themes/base-theme/frss.css | 2 ++ p/themes/base-theme/frss.rtl.css | 2 ++ 29 files changed, 13 insertions(+), 67 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 4c996986c..0ec0d9c4d 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -388,8 +388,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background-color: var(--background-color-dark); color: var(--font-color-middle); font-size: 0.9em; diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 85c4ecc62..4ee49be44 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -388,8 +388,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background-color: var(--background-color-dark); color: var(--font-color-middle); font-size: 0.9em; diff --git a/p/themes/Ansum/_components.scss b/p/themes/Ansum/_components.scss index 001d31578..e35f90940 100644 --- a/p/themes/Ansum/_components.scss +++ b/p/themes/Ansum/_components.scss @@ -147,9 +147,6 @@ /*=== Alerts */ .alert { - margin: 1rem 0; - // width: 100%; - padding: 1rem; background: variables.$grey-lighter; color: variables.$grey-dark; font-size: 1rem; diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index baf47f47f..f67709b46 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -319,8 +319,6 @@ form th { /*=== Alerts */ .alert { - margin: 1rem 0; - padding: 1rem; background: #fcfaf8; color: #766556; font-size: 1rem; @@ -1314,6 +1312,4 @@ body.register { a, button.as-link { outline: none; color: #ca7227; -} - -/*# sourceMappingURL=ansum.css.map */ +} \ No newline at end of file diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index ac38ced4a..bb7d9947c 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -319,8 +319,6 @@ form th { /*=== Alerts */ .alert { - margin: 1rem 0; - padding: 1rem; background: #fcfaf8; color: #766556; font-size: 1rem; @@ -1314,4 +1312,4 @@ body.register { a, button.as-link { outline: none; color: #ca7227; -} +} \ No newline at end of file diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index 9cb9c488e..98e63b1e8 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -385,8 +385,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background: #f4f4f4; color: #aaa; font-size: 0.9em; diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index 0924bcbd8..43c572abd 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -385,8 +385,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background: #f4f4f4; color: #aaa; font-size: 0.9em; diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 9390ae67d..6687f41f0 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -369,8 +369,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background: #111; color: #aaa; font-size: 0.9em; diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index c223edbae..9a17b0303 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -369,8 +369,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background: #111; color: #aaa; font-size: 0.9em; diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 0abda3f01..0dcef90fc 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -367,8 +367,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background: #f4f4f4; color: #aaa; font-size: 0.9em; diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index f43ccc6d5..c9fcff9a3 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -367,8 +367,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background: #f4f4f4; color: #aaa; font-size: 0.9em; diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss index 55542f2e7..01e08327f 100644 --- a/p/themes/Mapco/_components.scss +++ b/p/themes/Mapco/_components.scss @@ -134,8 +134,6 @@ /*=== Alerts */ .alert { - margin: 1rem 0; - padding: 1rem; background: variables.$grey-lighter; color: variables.$grey-dark; font-size: 1rem; diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 23df81fff..10708e535 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -309,8 +309,6 @@ form th { /*=== Alerts */ .alert { - margin: 1rem 0; - padding: 1rem; background: #f9fafb; color: #5b6871; font-size: 1rem; @@ -1332,6 +1330,4 @@ body.register { a, button.as-link { outline: none; color: #36c; -} - -/*# sourceMappingURL=mapco.css.map */ +} \ No newline at end of file diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 0ed0a58df..86f0303cb 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -309,8 +309,6 @@ form th { /*=== Alerts */ .alert { - margin: 1rem 0; - padding: 1rem; background: #f9fafb; color: #5b6871; font-size: 1rem; @@ -1332,4 +1330,4 @@ body.register { a, button.as-link { outline: none; color: #36c; -} +} \ No newline at end of file diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 59d7e0aed..5658125b0 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -319,8 +319,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; font-size: 0.9em; border-radius: 6px; } diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index d3246ae55..c94b3f0a0 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -319,8 +319,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; font-size: 0.9em; border-radius: 6px; } diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 4c52cd28a..009c89ab1 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -480,8 +480,6 @@ a:hover .icon { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background-color: var(--background-color-grey); color: var(--font-color-grey); font-size: 0.9em; diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 2d7b9197f..7247e6b6e 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -480,8 +480,6 @@ a:hover .icon { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background-color: var(--background-color-grey); color: var(--font-color-grey); font-size: 0.9em; diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index a20d03405..064d331bf 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -406,8 +406,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background-color: var(--background-color-grey); color: var(--font-color-grey); font-size: 0.9em; diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index c70bbd6aa..a6199e8ce 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -406,8 +406,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background-color: var(--background-color-grey); color: var(--font-color-grey); font-size: 0.9em; diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index c940afb76..75662404d 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -380,8 +380,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background: #f4f4f4; color: #aaa; font-size: 0.9em; diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index 6d1bbd90e..736fc642e 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -380,8 +380,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background: #f4f4f4; color: #aaa; font-size: 0.9em; diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index aa6527e49..2c1de119a 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -367,8 +367,7 @@ form th { } .alert { - margin: 5px auto; - padding: 10px 15px; + margin: 0.25rem auto; background-color: var(--color-background-light); color: var(--color-text-light-darker); font-size: 0.9em; @@ -1170,6 +1169,4 @@ button.as-link { #slider label { min-height: initial; -} - -/*# sourceMappingURL=swage.css.map */ +} \ No newline at end of file diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index ab311bb31..79ef84c39 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -367,8 +367,7 @@ form th { } .alert { - margin: 5px auto; - padding: 10px 15px; + margin: 0.25rem auto; background-color: var(--color-background-light); color: var(--color-text-light-darker); font-size: 0.9em; @@ -1170,4 +1169,4 @@ button.as-link { #slider label { min-height: initial; -} +} \ No newline at end of file diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index be9fc9ad2..41221665c 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -489,8 +489,7 @@ form { } .alert { - margin: 5px auto; - padding: 10px 15px; + margin: 0.25rem auto; background-color: var(--color-background-light); color: var(--color-text-light-darker); font-size: 0.9em; diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index faa916185..e569d4b41 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -264,8 +264,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; font-size: 0.9em; } diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index 12c319638..89d5789d7 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -264,8 +264,6 @@ a.btn { /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; font-size: 0.9em; } diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index b8b1f384d..eb92d8e4f 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -712,6 +712,8 @@ input[type="checkbox"]:focus-visible { /*=== Alerts */ .alert { + margin: 1rem auto; + padding: 0.75rem 1rem; display: block; width: 90%; } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 6bd36a646..b44ca08f1 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -712,6 +712,8 @@ input[type="checkbox"]:focus-visible { /*=== Alerts */ .alert { + margin: 1rem auto; + padding: 0.75rem 1rem; display: block; width: 90%; } -- cgit v1.2.3 From b64650801f852d8b5b39dbf36c79519d2cea4199 Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 28 Dec 2022 23:07:30 +0100 Subject: fix: notification box in mobile view (#4960) --- p/themes/base-theme/frss.css | 1 + p/themes/base-theme/frss.rtl.css | 1 + 2 files changed, 2 insertions(+) (limited to 'p/themes/base-theme') diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index eb92d8e4f..9b0917a56 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -2171,6 +2171,7 @@ input:checked + .slide-container .properties { } .notification { + padding: 0.75rem; top: 0; left: 0; right: 0; diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index b44ca08f1..4bf540b4b 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -2171,6 +2171,7 @@ input:checked + .slide-container .properties { } .notification { + padding: 0.75rem; top: 0; right: 0; left: 0; -- cgit v1.2.3 From c0a89a99b4e90464d51f8fa0448fafc2df9c5c42 Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 2 Jan 2023 09:47:04 +0100 Subject: Fix: Nord Theme: "Mark all" menu item (#4979) * fix font-size * fix background color --- p/themes/Alternative-Dark/adark.css | 2 +- p/themes/Alternative-Dark/adark.rtl.css | 2 +- p/themes/Ansum/_components.scss | 2 +- p/themes/Dark/dark.css | 2 +- p/themes/Dark/dark.rtl.css | 2 +- p/themes/Flat/flat.css | 2 +- p/themes/Flat/flat.rtl.css | 2 +- p/themes/Mapco/_components.scss | 2 +- p/themes/Nord/nord.css | 3 ++- p/themes/Nord/nord.rtl.css | 3 ++- p/themes/Origine/origine.css | 2 +- p/themes/Origine/origine.rtl.css | 2 +- p/themes/Pafat/pafat.css | 2 +- p/themes/Pafat/pafat.rtl.css | 2 +- p/themes/base-theme/frss.css | 1 - p/themes/base-theme/frss.rtl.css | 1 - 16 files changed, 16 insertions(+), 16 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 0ec0d9c4d..b85ef2232 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -348,7 +348,7 @@ a.btn { .dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5; - font-size: 0.8rem; + font-size: inherit; } .dropdown-menu .dropdown-section .item > a, diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 4ee49be44..69d290121 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -348,7 +348,7 @@ a.btn { .dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5; - font-size: 0.8rem; + font-size: inherit; } .dropdown-menu .dropdown-section .item > a, diff --git a/p/themes/Ansum/_components.scss b/p/themes/Ansum/_components.scss index 690d2d7b0..b4ae38ec2 100644 --- a/p/themes/Ansum/_components.scss +++ b/p/themes/Ansum/_components.scss @@ -54,7 +54,7 @@ a, .as-link { padding: 0 2rem; color: variables.$main-font-color; - font-size: 1rem; + font-size: inherit; line-height: 2.5em; span.icon { diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 6687f41f0..3facb1abf 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -329,7 +329,7 @@ a.btn { .dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; - font-size: 0.8rem; + font-size: inherit; } .dropdown-menu .dropdown-section .item > a, diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 9a17b0303..6871c2b57 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -329,7 +329,7 @@ a.btn { .dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; - font-size: 0.8rem; + font-size: inherit; } .dropdown-menu .dropdown-section .item > a, diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 0dcef90fc..b6b291198 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -322,7 +322,7 @@ a.btn { .dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; - font-size: 0.8rem; + font-size: inherit; } .dropdown-menu .dropdown-section .item > a, diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index c9fcff9a3..aa89334c9 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -322,7 +322,7 @@ a.btn { .dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; - font-size: 0.8rem; + font-size: inherit; } .dropdown-menu .dropdown-section .item > a, diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss index 0ee3be8e1..005d6e5bd 100644 --- a/p/themes/Mapco/_components.scss +++ b/p/themes/Mapco/_components.scss @@ -54,7 +54,7 @@ a, .as-link { padding: 0 2rem; color: variables.$main-font-color; - font-size: 1rem; + font-size: inherit; line-height: 2.5em; span.icon { diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 5658125b0..85648aba3 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -174,7 +174,7 @@ a.btn { line-height: 25px; } -.btn-important, .read_all, #actualize { +.btn-important, #nav_menu_read_all .read_all, #actualize { font-weight: bold !important; background-color: var(--accent) !important; color: var(--bg) !important; @@ -238,6 +238,7 @@ a.btn { padding: 0 22px; color: var(--text); line-height: 2.5em; + font-size: inherit; min-width: 200px; } diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index c94b3f0a0..b5f5d19e6 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -174,7 +174,7 @@ a.btn { line-height: 25px; } -.btn-important, .read_all, #actualize { +.btn-important, #nav_menu_read_all .read_all, #actualize { font-weight: bold !important; background-color: var(--accent) !important; color: var(--bg) !important; @@ -238,6 +238,7 @@ a.btn { padding: 0 22px; color: var(--text); line-height: 2.5em; + font-size: inherit; min-width: 200px; } diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 009c89ab1..6cc9c6bd1 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -431,7 +431,7 @@ a:hover .icon { .dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5; - font-size: 0.8rem; + font-size: inherit; } .dropdown-menu .dropdown-section .item > a, diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 7247e6b6e..b7e142a08 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -431,7 +431,7 @@ a:hover .icon { .dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5; - font-size: 0.8rem; + font-size: inherit; } .dropdown-menu .dropdown-section .item > a, diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 064d331bf..8b3124e72 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -366,7 +366,7 @@ a.btn { padding: 0 22px; line-height: 2.5; color: var(--font-color-grey); - font-size: 0.8rem; + font-size: inherit; } .dropdown-menu .dropdown-section .item > a, diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index a6199e8ce..d0f2436d7 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -366,7 +366,7 @@ a.btn { padding: 0 22px; line-height: 2.5; color: var(--font-color-grey); - font-size: 0.8rem; + font-size: inherit; } .dropdown-menu .dropdown-section .item > a, diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 9b0917a56..19d9b5884 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -317,7 +317,6 @@ button.as-link:hover, button.as-link:active { background: transparent; color: inherit; - font-size: 1.1rem; border: none; cursor: pointer; text-align: left; diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 4bf540b4b..445f1637f 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -317,7 +317,6 @@ button.as-link:hover, button.as-link:active { background: transparent; color: inherit; - font-size: 1.1rem; border: none; cursor: pointer; text-align: right; -- cgit v1.2.3 From 7d12ecff0145c66113f81ce1b704316da0a403a5 Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 9 Jan 2023 10:08:49 +0100 Subject: fix: CSS "content:" (#4985) * fix * frss.css * improve bubble for unread articles in global view --- p/themes/Alternative-Dark/adark.css | 7 ++++++- p/themes/Alternative-Dark/adark.rtl.css | 7 ++++++- p/themes/Ansum/_forms.scss | 1 - p/themes/Ansum/ansum.css | 1 - p/themes/Ansum/ansum.rtl.css | 1 - p/themes/BlueLagoon/BlueLagoon.css | 5 ++++- p/themes/BlueLagoon/BlueLagoon.rtl.css | 5 ++++- p/themes/Dark/dark.css | 5 +++++ p/themes/Dark/dark.rtl.css | 5 +++++ p/themes/Flat/flat.css | 2 -- p/themes/Flat/flat.rtl.css | 2 -- p/themes/Mapco/_forms.scss | 1 - p/themes/Mapco/mapco.css | 1 - p/themes/Mapco/mapco.rtl.css | 1 - p/themes/Nord/nord.css | 21 --------------------- p/themes/Nord/nord.rtl.css | 21 --------------------- p/themes/Origine-compact/origine-compact.css | 4 ++++ p/themes/Origine-compact/origine-compact.rtl.css | 4 ++++ p/themes/Origine/origine.css | 3 ++- p/themes/Origine/origine.rtl.css | 3 ++- p/themes/Pafat/pafat.css | 7 +++++-- p/themes/Pafat/pafat.rtl.css | 7 +++++-- p/themes/Screwdriver/screwdriver.css | 1 - p/themes/Screwdriver/screwdriver.rtl.css | 1 - p/themes/Swage/swage.css | 9 +++------ p/themes/Swage/swage.rtl.css | 7 +------ p/themes/Swage/swage.scss | 6 ------ p/themes/base-theme/base.css | 1 - p/themes/base-theme/base.rtl.css | 1 - p/themes/base-theme/frss.css | 20 ++++++++++++++++++++ p/themes/base-theme/frss.rtl.css | 20 ++++++++++++++++++++ 31 files changed, 96 insertions(+), 84 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index b85ef2232..8106f775b 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -582,7 +582,8 @@ kbd { .aside.aside_feed .category .title:not([data-unread="0"])::after, .aside.aside_feed .feed .item-title:not([data-unread="0"])::after, -.global .box.category .title:not([data-unread="0"])::after { +.global .box.category .title:not([data-unread="0"])::after, +.global .feed .item-title:not([data-unread="0"])::after { background-color: var(--background-color-dark); color: var(--font-color-middle); } @@ -991,6 +992,10 @@ kbd { text-shadow: none; } +#stream.global .feed .item-title:not([data-unread="0"])::after { + margin: 1rem 0px 0px; +} + /*=== Slider */ #slider { background: var(--background-color-dark); diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 69d290121..d40403fc8 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -582,7 +582,8 @@ kbd { .aside.aside_feed .category .title:not([data-unread="0"])::after, .aside.aside_feed .feed .item-title:not([data-unread="0"])::after, -.global .box.category .title:not([data-unread="0"])::after { +.global .box.category .title:not([data-unread="0"])::after, +.global .feed .item-title:not([data-unread="0"])::after { background-color: var(--background-color-dark); color: var(--font-color-middle); } @@ -991,6 +992,10 @@ kbd { text-shadow: none; } +#stream.global .feed .item-title:not([data-unread="0"])::after { + margin: 1rem 0px 0px; +} + /*=== Slider */ #slider { background: var(--background-color-dark); diff --git a/p/themes/Ansum/_forms.scss b/p/themes/Ansum/_forms.scss index 239934040..4f3f9e698 100644 --- a/p/themes/Ansum/_forms.scss +++ b/p/themes/Ansum/_forms.scss @@ -130,7 +130,6 @@ input.extend { border-radius: 3px; &::after { - content: ""; display: block; clear: both; } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 9b5990414..5c7433fce 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -173,7 +173,6 @@ input.extend { border-radius: 3px; } .form-group::after { - content: ""; display: block; clear: both; } diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index b5450ad20..d8e6eaa99 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -173,7 +173,6 @@ input.extend { border-radius: 3px; } .form-group::after { - content: ""; display: block; clear: both; } diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index 98e63b1e8..e37f35228 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -323,7 +323,6 @@ a.btn { height: 10px; border-top: 1px solid #171717; border-left: 1px solid #171717; - content: ""; position: absolute; top: -6px; right: 13px; @@ -1039,6 +1038,10 @@ a.btn { color: #222; } +#stream.global .feed .item-title:not([data-unread="0"])::after { + margin-top: 1rem; +} + /*=== PANEL */ /*===========*/ #panel { diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index 43c572abd..faa7250f3 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -323,7 +323,6 @@ a.btn { height: 10px; border-top: 1px solid #171717; border-right: 1px solid #171717; - content: ""; position: absolute; top: -6px; left: 13px; @@ -1039,6 +1038,10 @@ a.btn { color: #222; } +#stream.global .feed .item-title:not([data-unread="0"])::after { + margin-top: 1rem; +} + /*=== PANEL */ /*===========*/ #panel { diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 3facb1abf..3ddb59755 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -911,6 +911,11 @@ a.btn { text-shadow: none; } +#stream.global .feed .item-title:not([data-unread="0"])::after { + background-color: #171717; + margin-top: 1rem; +} + /*=== Panel */ #panel { background: #1c1c1c; diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 6871c2b57..faea0df5e 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -911,6 +911,11 @@ a.btn { text-shadow: none; } +#stream.global .feed .item-title:not([data-unread="0"])::after { + background-color: #171717; + margin-top: 1rem; +} + /*=== Panel */ #panel { background: #1c1c1c; diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index b6b291198..c6c2a6aec 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -103,7 +103,6 @@ form th { } .form-group::after { - content: ""; display: block; clear: both; } @@ -445,7 +444,6 @@ a.btn { .box .box-content .item { font-size: 0.9rem; - line-height: 2.5em; } .box .box-title .configure .icon, diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index aa89334c9..2ef0e42ea 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -103,7 +103,6 @@ form th { } .form-group::after { - content: ""; display: block; clear: both; } @@ -445,7 +444,6 @@ a.btn { .box .box-content .item { font-size: 0.9rem; - line-height: 2.5em; } .box .box-title .configure .icon, diff --git a/p/themes/Mapco/_forms.scss b/p/themes/Mapco/_forms.scss index 2a2ac92ad..479f40d44 100644 --- a/p/themes/Mapco/_forms.scss +++ b/p/themes/Mapco/_forms.scss @@ -129,7 +129,6 @@ input.extend { border-radius: 3px; &::after { - content: ""; display: block; clear: both; } diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 482944016..94be46e9f 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -172,7 +172,6 @@ input.extend { border-radius: 3px; } .form-group::after { - content: ""; display: block; clear: both; } diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 2a6bf5311..5b042c849 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -172,7 +172,6 @@ input.extend { border-radius: 3px; } .form-group::after { - content: ""; display: block; clear: both; } diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 85648aba3..e0eda2af9 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -388,7 +388,6 @@ img.favicon { .box .box-content .item { padding: 0 10px; font-size: 0.9rem; - line-height: 2.5em; } /*=== Draggable */ @@ -524,10 +523,6 @@ img.favicon { } -.category .title:not([data-unread="0"])::after { - content: attr(data-unread); -} - li.item.active { background-color: var(--bg); font-weight: bold; @@ -754,7 +749,6 @@ li.item.active { /*===========*/ .category .title.error::before { color: var(--accent-light); - content: "⚠ "; } @@ -794,11 +788,6 @@ li.item.active { .flux_content .content a { color: #000; } - - .flux_content .content a::after { - content: " [" attr(href) "] "; - font-style: italic; - } } /*=== PREVIEW */ @@ -834,15 +823,6 @@ li.item.active { margin: -1px; } -.feed .item-title:not([data-unread="0"])::before { - content: "(" attr(data-unread) ") "; - display: none -} - -.feed .item-title:not([data-unread="0"])::after { - content: " (" attr(data-unread) ")"; -} - /*BEGINS BASE.CSS*/ @@ -899,7 +879,6 @@ input.extend { /*=== Dropdown */ .dropdown-menu::after { - content: ""; position: absolute; top: -6px; right: 13px; diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index b5f5d19e6..d2b5146a1 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -388,7 +388,6 @@ img.favicon { .box .box-content .item { padding: 0 10px; font-size: 0.9rem; - line-height: 2.5em; } /*=== Draggable */ @@ -524,10 +523,6 @@ img.favicon { } -.category .title:not([data-unread="0"])::after { - content: attr(data-unread); -} - li.item.active { background-color: var(--bg); font-weight: bold; @@ -754,7 +749,6 @@ li.item.active { /*===========*/ .category .title.error::before { color: var(--accent-light); - content: "⚠ "; } @@ -794,11 +788,6 @@ li.item.active { .flux_content .content a { color: #000; } - - .flux_content .content a::after { - content: " [" attr(href) "] "; - font-style: italic; - } } /*=== PREVIEW */ @@ -834,15 +823,6 @@ li.item.active { margin: -1px; } -.feed .item-title:not([data-unread="0"])::before { - content: "(" attr(data-unread) ") "; - display: none -} - -.feed .item-title:not([data-unread="0"])::after { - content: " (" attr(data-unread) ")"; -} - /*BEGINS BASE.CSS*/ @@ -899,7 +879,6 @@ input.extend { /*=== Dropdown */ .dropdown-menu::after { - content: ""; position: absolute; top: -6px; left: 13px; diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css index f5de75adc..bea5d5cf6 100644 --- a/p/themes/Origine-compact/origine-compact.css +++ b/p/themes/Origine-compact/origine-compact.css @@ -77,6 +77,10 @@ a.btn, font-size: 0.8rem; } +#stream.global .feed .item-title:not([data-unread="0"])::after { + margin-top: 0.125rem; +} + .aside.aside_feed .feed .item-title:not([data-unread="0"])::after { font-size: 0.7rem; } diff --git a/p/themes/Origine-compact/origine-compact.rtl.css b/p/themes/Origine-compact/origine-compact.rtl.css index b1ac6fb54..8929847bb 100644 --- a/p/themes/Origine-compact/origine-compact.rtl.css +++ b/p/themes/Origine-compact/origine-compact.rtl.css @@ -77,6 +77,10 @@ a.btn, font-size: 0.8rem; } +#stream.global .feed .item-title:not([data-unread="0"])::after { + margin-top: 0.125rem; +} + .aside.aside_feed .feed .item-title:not([data-unread="0"])::after { font-size: 0.7rem; } diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 6cc9c6bd1..fd119fe19 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -679,7 +679,8 @@ a:hover .icon { /*=== Aside main page (categories) */ .aside.aside_feed .category .title:not([data-unread="0"])::after, -.global .box.category .title:not([data-unread="0"])::after { +.global .box.category .title:not([data-unread="0"])::after, +.global .feed .item-title:not([data-unread="0"])::after { background-color: var(--background-color-light-shadowed); color: var(--font-color-grey); } diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index b7e142a08..9127ac9e8 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -679,7 +679,8 @@ a:hover .icon { /*=== Aside main page (categories) */ .aside.aside_feed .category .title:not([data-unread="0"])::after, -.global .box.category .title:not([data-unread="0"])::after { +.global .box.category .title:not([data-unread="0"])::after, +.global .feed .item-title:not([data-unread="0"])::after { background-color: var(--background-color-light-shadowed); color: var(--font-color-grey); } diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 8b3124e72..5a7fb876f 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -476,7 +476,6 @@ a.btn { .box .box-content .item { font-size: 0.9rem; - line-height: 2.5; } /*=== Tree */ @@ -540,7 +539,6 @@ a.btn { background-color: var(--background-color-white); width: 0.5rem; height: 0.5rem; - content: ""; position: absolute; top: 1rem; left: -0.25rem; @@ -1022,6 +1020,11 @@ a.signin { border: none; } +#stream.global .feed .item-title:not([data-unread="0"])::after { + background-color: var(--background-color-category); + color: var(--font-color-white); +} + /*=== DIVERS */ /*===========*/ .aside.aside_feed .nav-form input, diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index d0f2436d7..0181e60ed 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -476,7 +476,6 @@ a.btn { .box .box-content .item { font-size: 0.9rem; - line-height: 2.5; } /*=== Tree */ @@ -540,7 +539,6 @@ a.btn { background-color: var(--background-color-white); width: 0.5rem; height: 0.5rem; - content: ""; position: absolute; top: 1rem; right: -0.25rem; @@ -1022,6 +1020,11 @@ a.signin { border: none; } +#stream.global .feed .item-title:not([data-unread="0"])::after { + background-color: var(--background-color-category); + color: var(--font-color-white); +} + /*=== DIVERS */ /*===========*/ .aside.aside_feed .nav-form input, diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 75662404d..39d1dd152 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -471,7 +471,6 @@ a.btn { .box .box-content .item { font-size: 0.9rem; - line-height: 2.5em; } /*=== Tree */ diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index 736fc642e..e29b0e1b2 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -471,7 +471,6 @@ a.btn { .box .box-content .item { font-size: 0.9rem; - line-height: 2.5em; } /*=== Tree */ diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 2c1de119a..0ebdfa3fb 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -71,7 +71,6 @@ select:invalid { } .flux::after, .form-group::after { - content: ""; display: block; clear: both; } @@ -329,9 +328,6 @@ form th { .dropdown-menu .dropdown-section .item a:hover { background-color: var(--color-background-nav); } -.dropdown-menu::after { - content: none; -} .dropdown-menu > .item { padding: 0 0 0 0.5rem; } @@ -488,7 +484,6 @@ form th { .box .box-content .item { padding: 0 10px; font-size: 0.9rem; - line-height: 2.5; } .box .box-content .item .configure .icon { vertical-align: middle; @@ -1169,4 +1164,6 @@ button.as-link { #slider label { min-height: initial; -} \ No newline at end of file +} + +/*# sourceMappingURL=swage.css.map */ diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 79ef84c39..f8f031567 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -71,7 +71,6 @@ select:invalid { } .flux::after, .form-group::after { - content: ""; display: block; clear: both; } @@ -329,9 +328,6 @@ form th { .dropdown-menu .dropdown-section .item a:hover { background-color: var(--color-background-nav); } -.dropdown-menu::after { - content: none; -} .dropdown-menu > .item { padding: 0 0.5rem 0 0; } @@ -488,7 +484,6 @@ form th { .box .box-content .item { padding: 0 10px; font-size: 0.9rem; - line-height: 2.5; } .box .box-content .item .configure .icon { vertical-align: middle; @@ -1169,4 +1164,4 @@ button.as-link { #slider label { min-height: initial; -} \ No newline at end of file +} diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 41221665c..a0570bb16 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -89,7 +89,6 @@ $color_hover: #fff; } %after { - content: ""; display: block; clear: both; } @@ -429,10 +428,6 @@ form { } } - &::after { - content: none; - } - > { .item { @@ -626,7 +621,6 @@ form { .item { padding: 0 10px; font-size: 0.9rem; - line-height: 2.5; .configure { .icon { diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index e569d4b41..cd133939d 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -218,7 +218,6 @@ a.btn { } .dropdown-menu::after { - content: ""; position: absolute; top: -6px; right: 13px; diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index 89d5789d7..ab5156b68 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -218,7 +218,6 @@ a.btn { } .dropdown-menu::after { - content: ""; position: absolute; top: -6px; left: 13px; diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 19d9b5884..8bd4a7e99 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -1871,6 +1871,26 @@ input:checked + .slide-container .properties { margin: 1em 0 0 0; } +#stream.global .feed { + position: relative; +} + +#stream.global .feed .item-title:not([data-unread="0"])::after { + margin: 0.5rem 0px 0px; + padding: 5px 10px; + min-width: 20px; + display: block; + content: attr(data-unread); + position: absolute; + top: 0px; + right: 0px; + text-align: center; + font-size: 0.75rem; + border-radius: 12px; + line-height: 1; + font-weight: initial; +} + .feed.active .item-title:not([data-unread="0"])::after { color: var(--frss-font-color-light); border: 1px solid var(--frss-border-color); diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 445f1637f..9e5221126 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -1871,6 +1871,26 @@ input:checked + .slide-container .properties { margin: 1em 0 0 0; } +#stream.global .feed { + position: relative; +} + +#stream.global .feed .item-title:not([data-unread="0"])::after { + margin: 0.5rem 0px 0px; + padding: 5px 10px; + min-width: 20px; + display: block; + content: attr(data-unread); + position: absolute; + top: 0px; + left: 0px; + text-align: center; + font-size: 0.75rem; + border-radius: 12px; + line-height: 1; + font-weight: initial; +} + .feed.active .item-title:not([data-unread="0"])::after { color: var(--frss-font-color-light); border: 1px solid var(--frss-border-color); -- cgit v1.2.3 From 0ab130eb9c3df3227a70624bcd5e8133afb00ae5 Mon Sep 17 00:00:00 2001 From: maTh Date: Tue, 17 Jan 2023 15:39:55 +0100 Subject: Added: Mark theme as deprecated (#4807) * i18n + config * docs * deprecated marked themes * fix * fix markdown * i18n: fix link params * i18n: French * deprecated => no longer supported * i18n: German * Docs: deprecated => no longer supported * Docs: French * i18n: en-us * i18n German * isset() -> !empty() * i18n: fix German * i18n: English, delete // TODO --- app/i18n/cz/conf.php | 8 +++++++- app/i18n/de/conf.php | 8 +++++++- app/i18n/el/conf.php | 8 +++++++- app/i18n/en-us/conf.php | 8 +++++++- app/i18n/en/conf.php | 8 +++++++- app/i18n/es/conf.php | 8 +++++++- app/i18n/fr/conf.php | 8 +++++++- app/i18n/he/conf.php | 8 +++++++- app/i18n/id/conf.php | 8 +++++++- app/i18n/it/conf.php | 8 +++++++- app/i18n/ja/conf.php | 8 +++++++- app/i18n/ko/conf.php | 8 +++++++- app/i18n/nl/conf.php | 8 +++++++- app/i18n/oc/conf.php | 8 +++++++- app/i18n/pl/conf.php | 8 +++++++- app/i18n/pt-br/conf.php | 8 +++++++- app/i18n/ru/conf.php | 8 +++++++- app/i18n/sk/conf.php | 8 +++++++- app/i18n/tr/conf.php | 8 +++++++- app/i18n/zh-cn/conf.php | 8 +++++++- app/i18n/zh-tw/conf.php | 8 +++++++- app/views/configure/display.phtml | 14 ++++++++++++-- docs/en/users/05_Configuration.md | 27 +++++++++++++++++---------- docs/fr/users/05_Configuration.md | 27 +++++++++++++++++---------- p/themes/BlueLagoon/metadata.json | 3 ++- p/themes/Flat/metadata.json | 3 ++- p/themes/Screwdriver/metadata.json | 3 ++- p/themes/base-theme/frss.css | 7 ++++++- p/themes/base-theme/frss.rtl.css | 7 ++++++- 29 files changed, 211 insertions(+), 48 deletions(-) (limited to 'p/themes/base-theme') diff --git a/app/i18n/cz/conf.php b/app/i18n/cz/conf.php index 9d646be36..4411b5047 100644 --- a/app/i18n/cz/conf.php +++ b/app/i18n/cz/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'Časový limit HTML5 oznámení', ), 'show_nav_buttons' => 'Zobrazit navigační tlačítka', - 'theme' => 'Motiv', + 'theme' => array( + '_' => 'Motiv', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'Motiv „%s“ již není dostupný. Zvolte jiný motiv, prosím.', 'thumbnail' => array( 'label' => 'Náhled', diff --git a/app/i18n/de/conf.php b/app/i18n/de/conf.php index 33604b618..8962123f4 100644 --- a/app/i18n/de/conf.php +++ b/app/i18n/de/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'Zeitüberschreitung für HTML5-Benachrichtigung', ), 'show_nav_buttons' => 'Zeige Navigations-Buttons', - 'theme' => 'Erscheinungsbild', + 'theme' => array( + '_' => 'Layout', + 'deprecated' => array( + '_' => 'Veraltet', + 'description' => 'Diese Layout wird nicht mehr länger aktualisiert und wir in einer zukünftigen Version von FreshRSS entfernt sein.', + ), + ), 'theme_not_available' => 'Das Erscheinungsbild „%s“ ist nicht mehr verfügbar. Bitte ein anderes auswählen.', 'thumbnail' => array( 'label' => 'Vorschaubild', diff --git a/app/i18n/el/conf.php b/app/i18n/el/conf.php index e2629bd54..daacfe684 100644 --- a/app/i18n/el/conf.php +++ b/app/i18n/el/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 notification timeout', // TODO ), 'show_nav_buttons' => 'Show the navigation buttons', // TODO - 'theme' => 'Theme', // TODO + 'theme' => array( + '_' => 'Theme', // TODO + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'The “%s” theme is not available anymore. Please choose another theme.', // TODO 'thumbnail' => array( 'label' => 'Thumbnail', // TODO diff --git a/app/i18n/en-us/conf.php b/app/i18n/en-us/conf.php index 760cbf37f..afea0299a 100644 --- a/app/i18n/en-us/conf.php +++ b/app/i18n/en-us/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 notification timeout', // IGNORE ), 'show_nav_buttons' => 'Show the navigation buttons', // IGNORE - 'theme' => 'Theme', // IGNORE + 'theme' => array( + '_' => 'Theme', // IGNORE + 'deprecated' => array( + '_' => 'Deprecated', // IGNORE + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // IGNORE + ), + ), 'theme_not_available' => 'The “%s” theme is not available anymore. Please choose another theme.', // IGNORE 'thumbnail' => array( 'label' => 'Thumbnail', // IGNORE diff --git a/app/i18n/en/conf.php b/app/i18n/en/conf.php index 02f95b6a8..9899cf897 100644 --- a/app/i18n/en/conf.php +++ b/app/i18n/en/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 notification timeout', ), 'show_nav_buttons' => 'Show the navigation buttons', - 'theme' => 'Theme', + 'theme' => array( + '_' => 'Theme', + 'deprecated' => array( + '_' => 'Deprecated', + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', + ), + ), 'theme_not_available' => 'The “%s” theme is not available anymore. Please choose another theme.', 'thumbnail' => array( 'label' => 'Thumbnail', diff --git a/app/i18n/es/conf.php b/app/i18n/es/conf.php index 74d324c24..5137ff987 100755 --- a/app/i18n/es/conf.php +++ b/app/i18n/es/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'Notificación de fin de espera HTML5', ), 'show_nav_buttons' => 'Mostrar los botones de navegación', - 'theme' => 'Tema', + 'theme' => array( + '_' => 'Tema', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'El tema “%s” ya no está disponible. Por favor, elija otro tema.', 'thumbnail' => array( 'label' => 'Miniatura', diff --git a/app/i18n/fr/conf.php b/app/i18n/fr/conf.php index 88a51eee1..3122e3be5 100644 --- a/app/i18n/fr/conf.php +++ b/app/i18n/fr/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'Temps d’affichage de la notification HTML5', ), 'show_nav_buttons' => 'Afficher les boutons de navigation', - 'theme' => 'Thème', + 'theme' => array( + '_' => 'Thème', + 'deprecated' => array( + '_' => 'Obsolète', + 'description' => 'Ce thème est obsolète et sera supprimé dans une future version de FreshRSS', + ), + ), 'theme_not_available' => 'Le thème %s n’est plus disponible. Veuillez choisir un autre thème.', 'thumbnail' => array( 'label' => 'Miniature', diff --git a/app/i18n/he/conf.php b/app/i18n/he/conf.php index 2d0eea4b9..c4a490a2d 100644 --- a/app/i18n/he/conf.php +++ b/app/i18n/he/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 התראה פג תוקף', ), 'show_nav_buttons' => 'Show the navigation buttons', // TODO - 'theme' => 'ערכת נושא', + 'theme' => array( + '_' => 'ערכת נושא', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'The “%s” theme is not available anymore. Please choose another theme.', // TODO 'thumbnail' => array( 'label' => 'Thumbnail', // TODO diff --git a/app/i18n/id/conf.php b/app/i18n/id/conf.php index 10f649823..8b1fa8dc6 100644 --- a/app/i18n/id/conf.php +++ b/app/i18n/id/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 notification timeout', // TODO ), 'show_nav_buttons' => 'Show the navigation buttons', // TODO - 'theme' => 'Theme', // TODO + 'theme' => array( + '_' => 'Theme', // TODO + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'The “%s” theme is not available anymore. Please choose another theme.', // TODO 'thumbnail' => array( 'label' => 'Thumbnail', // TODO diff --git a/app/i18n/it/conf.php b/app/i18n/it/conf.php index 5065fe7ea..6f3540322 100644 --- a/app/i18n/it/conf.php +++ b/app/i18n/it/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'Notifica timeout HTML5', ), 'show_nav_buttons' => 'Mostra i pulsanti di navigazione', - 'theme' => 'Tema', + 'theme' => array( + '_' => 'Tema', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'Il tema “%s” non è più disponibile. Si prega di selezionarne un altro.', 'thumbnail' => array( 'label' => 'Miniatura', diff --git a/app/i18n/ja/conf.php b/app/i18n/ja/conf.php index 1247a0ce9..4dd939760 100644 --- a/app/i18n/ja/conf.php +++ b/app/i18n/ja/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 の通知タイムアウト時間', ), 'show_nav_buttons' => 'ナビゲーションボタンを表示する', - 'theme' => 'テーマ', + 'theme' => array( + '_' => 'テーマ', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => '“%s”テーマはご利用いただけません。他のテーマをお選びください。', 'thumbnail' => array( 'label' => 'サムネイル', diff --git a/app/i18n/ko/conf.php b/app/i18n/ko/conf.php index 9ee82802e..a88fcf9e0 100644 --- a/app/i18n/ko/conf.php +++ b/app/i18n/ko/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 알림 타임아웃', ), 'show_nav_buttons' => '내비게이션 버튼 보이기', - 'theme' => '테마', + 'theme' => array( + '_' => '테마', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => '“%s” 테마는 더이상 사용할 수 없습니다. 다른 테마를 선택해 주세요.', 'thumbnail' => array( 'label' => '섬네일', diff --git a/app/i18n/nl/conf.php b/app/i18n/nl/conf.php index 8a22f9e27..e02ca81cc 100644 --- a/app/i18n/nl/conf.php +++ b/app/i18n/nl/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 notificatie stop', ), 'show_nav_buttons' => 'Toon navigatieknoppen', - 'theme' => 'Thema', + 'theme' => array( + '_' => 'Thema', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'Het „%s” thema is niet meer beschikbaar. Kies een ander thema.', 'thumbnail' => array( 'label' => 'Miniatuur', diff --git a/app/i18n/oc/conf.php b/app/i18n/oc/conf.php index 4d1e03786..4a3b483e7 100644 --- a/app/i18n/oc/conf.php +++ b/app/i18n/oc/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'Temps d’afichatge de las notificacions HTML5', ), 'show_nav_buttons' => 'Mostrar los botons de navigacion', - 'theme' => 'Tèma', + 'theme' => array( + '_' => 'Tèma', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'Lo tèma « %s » es pas pus disponible. Causissètz un autre tèma.', 'thumbnail' => array( 'label' => 'Vinheta', diff --git a/app/i18n/pl/conf.php b/app/i18n/pl/conf.php index f026fe128..8700a1c13 100644 --- a/app/i18n/pl/conf.php +++ b/app/i18n/pl/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'Czas wyświetlania powiadomienia HTML5', ), 'show_nav_buttons' => 'Pokaż przyciski nawigacyjne', - 'theme' => 'Motyw', + 'theme' => array( + '_' => 'Motyw', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'Motyw “%s” nie jest już dostępny. Wybierz inny motyw.', 'thumbnail' => array( 'label' => 'Miniaturka', diff --git a/app/i18n/pt-br/conf.php b/app/i18n/pt-br/conf.php index dc05a0fa0..f8ad55f14 100644 --- a/app/i18n/pt-br/conf.php +++ b/app/i18n/pt-br/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'Notificação em HTML5 de timeout', ), 'show_nav_buttons' => 'Mostrar botões de navegação', - 'theme' => 'Tema', + 'theme' => array( + '_' => 'Tema', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'O tema “%s” não está mais disponível. Por favor escolha outro tema.', 'thumbnail' => array( 'label' => 'Miniatura', diff --git a/app/i18n/ru/conf.php b/app/i18n/ru/conf.php index 4d65a9dcb..2c5dda544 100644 --- a/app/i18n/ru/conf.php +++ b/app/i18n/ru/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'Таймаут уведомлений HTML5', ), 'show_nav_buttons' => 'Показать кнопки навигации', - 'theme' => 'Тема', + 'theme' => array( + '_' => 'Тема', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'Тема “%s” больше не доступна. Пожалуйста выберите другю тему.', 'thumbnail' => array( 'label' => 'Эскиз', diff --git a/app/i18n/sk/conf.php b/app/i18n/sk/conf.php index ab68d07ca..d4714b506 100644 --- a/app/i18n/sk/conf.php +++ b/app/i18n/sk/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'Limit HTML5 oznámenia', ), 'show_nav_buttons' => 'Zobraziť tlačidlá oznámenia', - 'theme' => 'Vzhľad', + 'theme' => array( + '_' => 'Vzhľad', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => 'Vzhľad “%s” už nie je dostupný. Prosím, vyberte si iný vzhľad.', 'thumbnail' => array( 'label' => 'Miniatúra', diff --git a/app/i18n/tr/conf.php b/app/i18n/tr/conf.php index cb72d3973..41f658879 100644 --- a/app/i18n/tr/conf.php +++ b/app/i18n/tr/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 bildirim zaman aşımı', ), 'show_nav_buttons' => 'Gezinti düğmelerini göster', - 'theme' => 'Tema', + 'theme' => array( + '_' => 'Tema', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => '“%s” teması şuan uygun değilç Lütfen başka bir tema seçin.', 'thumbnail' => array( 'label' => 'Önizleme', diff --git a/app/i18n/zh-cn/conf.php b/app/i18n/zh-cn/conf.php index d558c025e..0be182cfb 100644 --- a/app/i18n/zh-cn/conf.php +++ b/app/i18n/zh-cn/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 通知超时时间', ), 'show_nav_buttons' => '显示导航按钮', - 'theme' => '主题', + 'theme' => array( + '_' => '主题', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => '“%s” 主题不再可用,请选择其他主题。', 'thumbnail' => array( 'label' => '缩略图', diff --git a/app/i18n/zh-tw/conf.php b/app/i18n/zh-tw/conf.php index 3001f64c5..34439c01b 100644 --- a/app/i18n/zh-tw/conf.php +++ b/app/i18n/zh-tw/conf.php @@ -49,7 +49,13 @@ return array( 'timeout' => 'HTML5 通知超時時間', ), 'show_nav_buttons' => '顯示導航按鈕', - 'theme' => '主題', + 'theme' => array( + '_' => '主題', + 'deprecated' => array( + '_' => 'Deprecated', // TODO + 'description' => 'This theme is no longer supported and will be not available anymore in a future release of FreshRSS', // TODO + ), + ), 'theme_not_available' => '“%s” 主題不再可用,請選擇其他主題。', 'thumbnail' => array( 'label' => '縮圖', diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml index 8d23f6ef0..986d7dd17 100644 --- a/app/views/configure/display.phtml +++ b/app/views/configure/display.phtml @@ -71,8 +71,18 @@
-
-
+
+ + : + + +
+
+ +
+ + +
diff --git a/docs/en/users/05_Configuration.md b/docs/en/users/05_Configuration.md index 9ad6a58ca..1ce0e0a0d 100644 --- a/docs/en/users/05_Configuration.md +++ b/docs/en/users/05_Configuration.md @@ -13,16 +13,23 @@ Available languages are: cz, de, en, es, fr, he, it, ko, nl, oc, pt-br, ru, tr, ## Theme -There’s no accounting for tastes, which is why FreshRSS offers eight official themes: - -* *Blue Lagoon* by **Mister aiR** -* *Dark* by **AD** -* *Flat design* by **Marien Fressinaud** -* *Origine* by **Marien Fressinaud** -* *Origine-compact* by **Kevin Papst** -* *Pafat* by **Plopoyop** -* *Screwdriver* by **Mister aiR** -* *Swage* by **Patrick Crandol** +There’s no accounting for tastes, which is why FreshRSS offers 13 official themes: + +| Theme | designed by | Notes | +|:--------------|:-------------------------------------------------------|:--------------------------------------------------------------| +| Alternative Dark | Ghost | | +| Ansum | Thomas Guesnon | | +| Blue Lagoon |Mister aiR | No longer supported. Will be removed with FreshRSS V1.22.0 | +| Dark | AD | | +| Dark pink | Miicat_47 | | +| Flat design | Marien Fressinaud | No longer supported. Will be removed with FreshRSS V1.22.0 | +| Mapco | Thomas Guesnon | | +| Nord theme | joelchrono12 | | +| Origine | Marien Fressinaud | (default theme) | +| Origine-compact | Kevin Papst | | +| Pafat | Plopoyop | | +| Screwdriver | Mister aiR | No longer supported. Will be removed with FreshRSS V1.22.0 | +| Swage | Patrick Crandol | | If you can’t find any themes you like, it’s always possible to [create your own](../developers/04_Frontend/02_Design.md). diff --git a/docs/fr/users/05_Configuration.md b/docs/fr/users/05_Configuration.md index 88478a280..c64572d01 100644 --- a/docs/fr/users/05_Configuration.md +++ b/docs/fr/users/05_Configuration.md @@ -21,16 +21,23 @@ pt-br, ru, tr, zh-cn. ## Thème Les goûts et les couleurs, ça ne se discute pas. C’est pourquoi FreshRSS -propose huit thèmes officiels : - -* *Blue Lagoon* par **Mister aiR** -* *Dark* par **AD** -* *Flat design* par **Marien Fressinaud** -* *Origine* par **Marien Fressinaud** -* *Origine-compact* par **Kevin Papst** -* *Pafat* par **Plopoyop** -* *Screwdriver* par **Mister aiR** -* *Swage* par **Patrick Crandol** +propose 13 thèmes officiels : + +| Thème | Auteur | Notes | +|:--------------|:-------------------------------------------------------|:--------------------------------------------------------------| +| Alternative Dark | Ghost | | +| Ansum | Thomas Guesnon | | +| Blue Lagoon |Mister aiR | N'est plus pris en charge. Sera supprimé avec FreshRSS V1.22.0 | +| Dark | AD | | +| Dark pink | Miicat_47 | | +| Flat design | Marien Fressinaud | N'est plus pris en charge. Sera supprimé avec FreshRSS V1.22.0 | +| Mapco | Thomas Guesnon | | +| Nord theme | joelchrono12 | | +| Origine | Marien Fressinaud | (default theme) | +| Origine-compact | Kevin Papst | | +| Pafat | Plopoyop | | +| Screwdriver | Mister aiR | N'est plus pris en charge. Sera supprimé avec FreshRSS V1.22.0 | +| Swage | Patrick Crandol | | Si aucun de ceux proposés ne convient, il est toujours possible de [créer son propre thème](../developers/04_Frontend/02_Design.md). diff --git a/p/themes/BlueLagoon/metadata.json b/p/themes/BlueLagoon/metadata.json index 7822d7346..37750c631 100644 --- a/p/themes/BlueLagoon/metadata.json +++ b/p/themes/BlueLagoon/metadata.json @@ -3,5 +3,6 @@ "author": "Mister aiR", "description": "C’est un cocktail (bis)! C’est la version plus fresh de Screwdriver. C’est… c’est… un thème pour l’agrégateur de flux RSS FreshRSS. En toute modestie, ce thème tue du Nyan Cat.", "version": 1.0, - "files": ["_frss.css","BlueLagoon.css"] + "files": ["_frss.css","BlueLagoon.css"], + "deprecated": true } diff --git a/p/themes/Flat/metadata.json b/p/themes/Flat/metadata.json index 27a83fe83..bd7ce6157 100644 --- a/p/themes/Flat/metadata.json +++ b/p/themes/Flat/metadata.json @@ -3,5 +3,6 @@ "author": "Marien Fressinaud", "description": "Thème plat pour FreshRSS", "version": 0.2, - "files": ["_frss.css", "flat.css"] + "files": ["_frss.css", "flat.css"], + "deprecated": true } diff --git a/p/themes/Screwdriver/metadata.json b/p/themes/Screwdriver/metadata.json index 08654e51d..8da73f80c 100644 --- a/p/themes/Screwdriver/metadata.json +++ b/p/themes/Screwdriver/metadata.json @@ -3,5 +3,6 @@ "author": "Mister aiR", "description": "C’est un cocktail ! C’est chaud mais « fresh » à la fois. Ce thème tue du chaton.", "version": 1.1, - "files": ["_frss.css","screwdriver.css"] + "files": ["_frss.css","screwdriver.css"], + "deprecated" : true } diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 8bd4a7e99..a24d7c32c 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -1809,11 +1809,16 @@ input:checked + .slide-container .properties { .item.share.error a::after, .category .title.error::before, -.item.feed.error .item-title::before { +.item.feed.error .item-title::before, +.properties .error::before { content: " ⚠ "; color: var(--frss-font-color-error); } +.deprecated { + font-weight: bold; +} + .feed.item.error.active .item-title::before { color: var(--frss-font-color-light); } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 9e5221126..4a8782c7e 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -1809,11 +1809,16 @@ input:checked + .slide-container .properties { .item.share.error a::after, .category .title.error::before, -.item.feed.error .item-title::before { +.item.feed.error .item-title::before, +.properties .error::before { content: " ⚠ "; color: var(--frss-font-color-error); } +.deprecated { + font-weight: bold; +} + .feed.item.error.active .item-title::before { color: var(--frss-font-color-light); } -- cgit v1.2.3 From 33468def4a5fc0e3af92e5759f463d4d4872fd84 Mon Sep 17 00:00:00 2001 From: maTh Date: Tue, 17 Jan 2023 15:52:29 +0100 Subject: Improved: navigation menu structure (#4937) --- app/layout/aside_configure.phtml | 136 +++++++++++++++++-------------- app/layout/aside_subscription.phtml | 57 +++++++------ p/themes/Alternative-Dark/adark.css | 14 ++-- p/themes/Alternative-Dark/adark.rtl.css | 14 ++-- p/themes/Ansum/_sidebar.scss | 24 ++++-- p/themes/Ansum/ansum.css | 18 ++-- p/themes/Ansum/ansum.rtl.css | 18 ++-- p/themes/BlueLagoon/BlueLagoon.css | 15 ++-- p/themes/BlueLagoon/BlueLagoon.rtl.css | 15 ++-- p/themes/Dark/dark.css | 15 ++-- p/themes/Dark/dark.rtl.css | 15 ++-- p/themes/Flat/flat.css | 15 ++-- p/themes/Flat/flat.rtl.css | 15 ++-- p/themes/Mapco/_sidebar.scss | 24 ++++-- p/themes/Mapco/mapco.css | 22 +++-- p/themes/Mapco/mapco.rtl.css | 20 +++-- p/themes/Nord/nord.css | 21 +++-- p/themes/Nord/nord.rtl.css | 21 +++-- p/themes/Origine/origine.css | 20 ++--- p/themes/Origine/origine.rtl.css | 20 ++--- p/themes/Pafat/pafat.css | 15 ++-- p/themes/Pafat/pafat.rtl.css | 15 ++-- p/themes/Screwdriver/screwdriver.css | 15 ++-- p/themes/Screwdriver/screwdriver.rtl.css | 15 ++-- p/themes/Swage/swage.css | 10 ++- p/themes/Swage/swage.rtl.css | 10 ++- p/themes/Swage/swage.scss | 23 +++--- p/themes/base-theme/frss.css | 4 + p/themes/base-theme/frss.rtl.css | 4 + 29 files changed, 377 insertions(+), 253 deletions(-) (limited to 'p/themes/base-theme') diff --git a/app/layout/aside_configure.phtml b/app/layout/aside_configure.phtml index f4a05a47c..03b8108f7 100644 --- a/app/layout/aside_configure.phtml +++ b/app/layout/aside_configure.phtml @@ -2,71 +2,89 @@
    - -
  • - +
  • -
  • - - -
  • - -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • - -
  • - + +
  • - - - -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • - disable_update) { ?> -
  • - -
  • -
  • - +
  • - - - -
  • - + +
diff --git a/app/layout/aside_subscription.phtml b/app/layout/aside_subscription.phtml index aa7857f74..e1f520f34 100644 --- a/app/layout/aside_subscription.phtml +++ b/app/layout/aside_subscription.phtml @@ -1,38 +1,45 @@ diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 8106f775b..38135720a 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -280,13 +280,17 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - line-height: 2.5; +.nav-list { color: var(--font-color-light); font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a { color: var(--font-color-middle); } @@ -302,7 +306,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -310,7 +314,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; color: var(--font-color-middle); font-weight: bold; } diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index d40403fc8..81ef43765 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -280,13 +280,17 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - line-height: 2.5; +.nav-list { color: var(--font-color-light); font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a { color: var(--font-color-middle); } @@ -302,7 +306,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -310,7 +314,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; color: var(--font-color-middle); font-weight: bold; } diff --git a/p/themes/Ansum/_sidebar.scss b/p/themes/Ansum/_sidebar.scss index d73cf7439..e92dd2ec4 100644 --- a/p/themes/Ansum/_sidebar.scss +++ b/p/themes/Ansum/_sidebar.scss @@ -135,15 +135,23 @@ /*=== Navigation */ .nav-list { - .nav-header, + font-size: 1rem; + + .item.nav-header, .item { - height: 2.5em; + min-height: 2.5em; line-height: 2.5em; - font-size: 1rem; } .item { background: variables.$sid-bg; + min-height: 2.5em; + line-height: 2.5em; + + &.nav-header { + min-height: 2.5em; + line-height: 2.5em; + } a { padding: 0 1rem; @@ -152,11 +160,9 @@ @include mixins.transition(all, 0.15s, ease-in-out); } - &:hover { - a { - background: variables.$sid-bg-dark; - text-decoration: none; - } + a:hover { + background: variables.$sid-bg-dark; + text-decoration: none; } &.active { @@ -172,7 +178,7 @@ } .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; color: variables.$grey-dark; text-transform: uppercase; diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 5c7433fce..6789320b5 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -552,21 +552,29 @@ form th { /* Sidebar des pages de configuration */ /*=== Navigation */ -.nav-list .nav-header, +.nav-list { + font-size: 1rem; +} +.nav-list .item.nav-header, .nav-list .item { - height: 2.5em; + min-height: 2.5em; line-height: 2.5em; - font-size: 1rem; } .nav-list .item { background: #fbf9f6; + min-height: 2.5em; + line-height: 2.5em; +} +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5em; } .nav-list .item a { padding: 0 1rem; color: #363330; transition: all 0.15s ease-in-out; } -.nav-list .item:hover a { +.nav-list .item a:hover { background: #efe3d3; text-decoration: none; } @@ -580,7 +588,7 @@ form th { text-decoration: none; } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; color: #766556; text-transform: uppercase; diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index d8e6eaa99..82ea37a3c 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -552,21 +552,29 @@ form th { /* Sidebar des pages de configuration */ /*=== Navigation */ -.nav-list .nav-header, +.nav-list { + font-size: 1rem; +} +.nav-list .item.nav-header, .nav-list .item { - height: 2.5em; + min-height: 2.5em; line-height: 2.5em; - font-size: 1rem; } .nav-list .item { background: #fbf9f6; + min-height: 2.5em; + line-height: 2.5em; +} +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5em; } .nav-list .item a { padding: 0 1rem; color: #363330; transition: all 0.15s ease-in-out; } -.nav-list .item:hover a { +.nav-list .item a:hover { background: #efe3d3; text-decoration: none; } @@ -580,7 +588,7 @@ form th { text-decoration: none; } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; color: #766556; text-transform: uppercase; diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index e37f35228..31bf28d06 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -265,13 +265,16 @@ a.btn { box-shadow: 0 -1px rgba(255,255,255,0.08) inset; } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover { text-shadow: 0 0 2px rgba(255,255,255,0.28); color: #fff; @@ -286,7 +289,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; color: #ccc; } @@ -295,7 +298,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; background: transparent; color: #222; } diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index faa7250f3..f971dbace 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -265,13 +265,16 @@ a.btn { box-shadow: 0 -1px rgba(255,255,255,0.08) inset; } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover { text-shadow: 0 0 2px rgba(255,255,255,0.28); color: #fff; @@ -286,7 +289,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; color: #ccc; } @@ -295,7 +298,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; background: transparent; color: #222; } diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 3ddb59755..dfcc1b2e7 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -261,13 +261,16 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover { background: #26303f; } @@ -282,7 +285,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -290,7 +293,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; background: #111; border-bottom: 1px solid #333; diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index faea0df5e..0ef5f06b4 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -261,13 +261,16 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover { background: #26303f; } @@ -282,7 +285,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -290,7 +293,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; background: #111; border-bottom: 1px solid #333; diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index c6c2a6aec..fa667c899 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -250,13 +250,16 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover, .nav-list .item.active { background: #2980b9; @@ -268,7 +271,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -276,7 +279,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; background: #34495e; color: #fff; diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 2ef0e42ea..da3722f18 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -250,13 +250,16 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover, .nav-list .item.active { background: #2980b9; @@ -268,7 +271,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -276,7 +279,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; background: #34495e; color: #fff; diff --git a/p/themes/Mapco/_sidebar.scss b/p/themes/Mapco/_sidebar.scss index 9f546da61..a71960b1d 100644 --- a/p/themes/Mapco/_sidebar.scss +++ b/p/themes/Mapco/_sidebar.scss @@ -133,16 +133,24 @@ /*=== Navigation */ .nav-list { - .nav-header, + font-size: 1rem; + + .item.nav-header, .item { - height: 2.5em; + min-height: 2.5em; line-height: 2.5em; - font-size: 1rem; } .item { background: variables.$sid-bg; color: variables.$white; + min-height: 2.5em; + line-height: 2.5em; + + &.nav-header { + min-height: 2.5em; + line-height: 2.5em; + } a { padding: 0 1rem; @@ -151,11 +159,9 @@ @include mixins.transition(all, 0.15s, ease-in-out); } - &:hover { - a { - background: variables.$sid-bg-dark; - text-decoration: none; - } + a:hover { + background: variables.$sid-bg-dark; + text-decoration: none; } &.active { @@ -171,7 +177,7 @@ } .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; color: variables.$grey-dark; text-transform: uppercase; diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 94be46e9f..c34dc08e0 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -565,22 +565,30 @@ form th { /* Sidebar des pages de configuration */ /*=== Navigation */ -.nav-list .nav-header, +.nav-list { + font-size: 1rem; +} +.nav-list .item.nav-header, .nav-list .item { - height: 2.5em; + min-height: 2.5em; line-height: 2.5em; - font-size: 1rem; } .nav-list .item { background: #303136; color: #fff; + min-height: 2.5em; + line-height: 2.5em; +} +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5em; } .nav-list .item a { padding: 0 1rem; color: #ffffff; transition: all 0.15s ease-in-out; } -.nav-list .item:hover a { +.nav-list .item a:hover { background: #17181a; text-decoration: none; } @@ -594,7 +602,7 @@ form th { text-decoration: none; } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; color: #5b6871; text-transform: uppercase; @@ -1335,6 +1343,4 @@ body.register { a, button.as-link { outline: none; color: #36c; -} - -/*# sourceMappingURL=mapco.css.map */ +} \ No newline at end of file diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 5b042c849..112ca94c7 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -565,22 +565,30 @@ form th { /* Sidebar des pages de configuration */ /*=== Navigation */ -.nav-list .nav-header, +.nav-list { + font-size: 1rem; +} +.nav-list .item.nav-header, .nav-list .item { - height: 2.5em; + min-height: 2.5em; line-height: 2.5em; - font-size: 1rem; } .nav-list .item { background: #303136; color: #fff; + min-height: 2.5em; + line-height: 2.5em; +} +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5em; } .nav-list .item a { padding: 0 1rem; color: #ffffff; transition: all 0.15s ease-in-out; } -.nav-list .item:hover a { +.nav-list .item a:hover { background: #17181a; text-decoration: none; } @@ -594,7 +602,7 @@ form th { text-decoration: none; } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; color: #5b6871; text-transform: uppercase; @@ -1335,4 +1343,4 @@ body.register { a, button.as-link { outline: none; color: #36c; -} +} \ No newline at end of file diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index e0eda2af9..5e8004903 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -208,13 +208,6 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - font-size: 0.9rem; - line-height: 2.5em; -} - .dropdown-menu { margin: 5px 0 0; padding: 0.5rem 0 0.25rem 0; @@ -859,8 +852,18 @@ input.extend { } /*=== Navigation */ +.nav-list { + font-size: 0.9rem; +} + +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -868,7 +871,7 @@ input.extend { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; } diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index d2b5146a1..fd38ef26c 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -208,13 +208,6 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - font-size: 0.9rem; - line-height: 2.5em; -} - .dropdown-menu { margin: 5px 0 0; padding: 0.5rem 0 0.25rem 0; @@ -859,8 +852,18 @@ input.extend { } /*=== Navigation */ +.nav-list { + font-size: 0.9rem; +} + +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -868,7 +871,7 @@ input.extend { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; } diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index af9d3330a..9e30e429d 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -353,21 +353,22 @@ a:hover .icon { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5; +.nav-list { font-size: 0.9rem; } -.nav-list .item:hover { - background-color: var(--background-color-hover); +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; } -.nav-list .item:hover a { +.nav-list .nav-section .item:hover a { + background-color: var(--background-color-hover); color: var(--font-color-link-hover); } +.nav-list .nav-section .item.active:hover a, .nav-list .item.active { background-color: var(--contrast-background-color-active); color: var(--font-color-light); @@ -378,8 +379,8 @@ a:hover .icon { } .nav-list .item > a, -.nav-list .item > span { - padding: 0 10px; +.nav-list .item > div { + padding: 0 1rem; } .nav-list .item > span { @@ -392,7 +393,6 @@ a:hover .icon { } .nav-list .nav-header { - padding: 0 10px; background-color: var(--background-color-grey); color: var(--font-color-grey); border-bottom: 1px solid var(--border-color); diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 27c381f6a..53e623917 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -353,21 +353,22 @@ a:hover .icon { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5; +.nav-list { font-size: 0.9rem; } -.nav-list .item:hover { - background-color: var(--background-color-hover); +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; } -.nav-list .item:hover a { +.nav-list .nav-section .item:hover a { + background-color: var(--background-color-hover); color: var(--font-color-link-hover); } +.nav-list .nav-section .item.active:hover a, .nav-list .item.active { background-color: var(--contrast-background-color-active); color: var(--font-color-light); @@ -378,8 +379,8 @@ a:hover .icon { } .nav-list .item > a, -.nav-list .item > span { - padding: 0 10px; +.nav-list .item > div { + padding: 0 1rem; } .nav-list .item > span { @@ -392,7 +393,6 @@ a:hover .icon { } .nav-list .nav-header { - padding: 0 10px; background-color: var(--background-color-grey); color: var(--font-color-grey); border-bottom: 1px solid var(--border-color); diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 5a7fb876f..8c5b7a9f4 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -294,13 +294,16 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover { color: var(--font-color-link-general-hover); background-color: var(--background-color-grey-hover); @@ -317,7 +320,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -325,7 +328,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; background-color: var(--background-color-grey); color: var(--font-color-grey); border-bottom: 1px solid var(--border-color-grey-light); diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 0181e60ed..1ff2ea70e 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -294,13 +294,16 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover { color: var(--font-color-link-general-hover); background-color: var(--background-color-grey-hover); @@ -317,7 +320,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -325,7 +328,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; background-color: var(--background-color-grey); color: var(--font-color-grey); border-bottom: 1px solid var(--border-color-grey-light); diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 39d1dd152..e5ca98ab7 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -263,13 +263,16 @@ a.btn { box-shadow: 0 -1px rgba(255,255,255,0.08) inset; } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover { text-shadow: 0 0 2px rgba(255,255,255,0.28); color: #fff; @@ -290,7 +293,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; color: #ccc; } @@ -299,7 +302,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; background: transparent; color: #222; } diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index e29b0e1b2..664331ac7 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -263,13 +263,16 @@ a.btn { box-shadow: 0 -1px rgba(255,255,255,0.08) inset; } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover { text-shadow: 0 0 2px rgba(255,255,255,0.28); color: #fff; @@ -290,7 +293,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; color: #ccc; } @@ -299,7 +302,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; background: transparent; color: #222; } diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 0ebdfa3fb..3bf9d8684 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -54,10 +54,9 @@ select:invalid { box-shadow: none; } -.nav-list .item, .nav-list .nav-header { - height: 2.5em; +.nav-list .item .nav-header, .nav-list .item { + min-height: 2.5em; line-height: 2.5; - font-size: 0.9rem; } .dropdown-menu > .item a, @@ -263,7 +262,10 @@ form th { background-image: url("./icons/disabled-light.svg"); } -.nav-list .nav-header { +.nav-list { + font-size: 0.9rem; +} +.nav-list .item .nav-header { padding: 0 1rem; font-weight: bold; background-color: var(--color-background-aside); diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index f8f031567..d2282f52c 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -54,10 +54,9 @@ select:invalid { box-shadow: none; } -.nav-list .item, .nav-list .nav-header { - height: 2.5em; +.nav-list .item .nav-header, .nav-list .item { + min-height: 2.5em; line-height: 2.5; - font-size: 0.9rem; } .dropdown-menu > .item a, @@ -263,7 +262,10 @@ form th { background-image: url("./icons/disabled-light.svg"); } -.nav-list .nav-header { +.nav-list { + font-size: 0.9rem; +} +.nav-list .item .nav-header { padding: 0 1rem; font-weight: bold; background-color: var(--color-background-aside); diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index a0570bb16..e24e9da7f 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -76,9 +76,8 @@ $color_hover: #fff; } %nav-list { - height: 2.5em; + min-height: 2.5em; line-height: 2.5; - font-size: 0.9rem; } %dropdown { @@ -338,20 +337,22 @@ form { } .nav-list { - .nav-header { - - @extend %nav-list; - padding: 0 1rem; - font-weight: bold; - background-color: var(--color-background-aside); - color: var(--color-text-light); - cursor: default; - } + font-size: 0.9rem; .item { @extend %nav-list; + .nav-header { + + @extend %nav-list; + padding: 0 1rem; + font-weight: bold; + background-color: var(--color-background-aside); + color: var(--color-text-light); + cursor: default; + } + a:hover { background-color: var(--color-background-nav-darker); color: var(--color-text-light); diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index a24d7c32c..56e99ec70 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -559,6 +559,10 @@ input[type="checkbox"]:focus-visible { } /*=== Navigation */ +.nav-list { + padding-bottom: 3rem; +} + .nav-list .nav-header, .nav-list .item { display: block; diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 4a8782c7e..4c8326e32 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -559,6 +559,10 @@ input[type="checkbox"]:focus-visible { } /*=== Navigation */ +.nav-list { + padding-bottom: 3rem; +} + .nav-list .nav-header, .nav-list .item { display: block; -- cgit v1.2.3 From 1c4b328ae14ce94c56171eb28ca4dc0c665051f4 Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 25 Jan 2023 22:23:51 +0100 Subject: Improved: expanding inputs (#5040) * fix * wider input element --- app/layout/header.phtml | 2 +- app/views/configure/system.phtml | 4 ++-- app/views/feed/add.phtml | 2 +- app/views/helpers/category/update.phtml | 2 +- app/views/helpers/configure/query.phtml | 4 ++-- app/views/subscription/add.phtml | 8 ++++---- p/themes/Alternative-Dark/adark.css | 8 -------- p/themes/Alternative-Dark/adark.rtl.css | 8 -------- p/themes/Ansum/_forms.scss | 5 ----- p/themes/Ansum/_layout.scss | 4 +--- p/themes/Ansum/ansum.css | 7 +------ p/themes/Ansum/ansum.rtl.css | 7 +------ p/themes/BlueLagoon/BlueLagoon.css | 8 -------- p/themes/BlueLagoon/BlueLagoon.rtl.css | 8 -------- p/themes/Dark/dark.css | 8 -------- p/themes/Dark/dark.rtl.css | 8 -------- p/themes/Flat/flat.css | 8 -------- p/themes/Flat/flat.rtl.css | 8 -------- p/themes/Mapco/_forms.scss | 5 ----- p/themes/Mapco/_layout.scss | 4 +--- p/themes/Mapco/mapco.css | 7 +------ p/themes/Mapco/mapco.rtl.css | 7 +------ p/themes/Nord/nord.css | 11 ----------- p/themes/Nord/nord.rtl.css | 11 ----------- p/themes/Origine/origine.css | 8 -------- p/themes/Origine/origine.rtl.css | 8 -------- p/themes/Pafat/pafat.css | 6 +----- p/themes/Pafat/pafat.rtl.css | 6 +----- p/themes/Screwdriver/screwdriver.css | 8 -------- p/themes/Screwdriver/screwdriver.rtl.css | 8 -------- p/themes/Swage/swage.css | 7 ------- p/themes/Swage/swage.rtl.css | 7 ------- p/themes/Swage/swage.scss | 10 ---------- p/themes/base-theme/base.css | 8 -------- p/themes/base-theme/base.rtl.css | 8 -------- p/themes/base-theme/frss.css | 7 ++++--- p/themes/base-theme/frss.rtl.css | 7 ++++--- 37 files changed, 27 insertions(+), 225 deletions(-) (limited to 'p/themes/base-theme') diff --git a/app/layout/header.phtml b/app/layout/header.phtml index 45eb9a3ce..0a49d5992 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -15,7 +15,7 @@ allow_anonymous) { ?>
- diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml index 94fe34b94..bf14cac5d 100644 --- a/app/views/configure/system.phtml +++ b/app/views/configure/system.phtml @@ -16,7 +16,7 @@
-
@@ -24,7 +24,7 @@
-
diff --git a/app/views/feed/add.phtml b/app/views/feed/add.phtml index 8f5594526..3461e6e61 100644 --- a/app/views/feed/add.phtml +++ b/app/views/feed/add.phtml @@ -67,7 +67,7 @@
- +

diff --git a/app/views/helpers/category/update.phtml b/app/views/helpers/category/update.phtml index 171ee20a4..a0986ff04 100644 --- a/app/views/helpers/category/update.phtml +++ b/app/views/helpers/category/update.phtml @@ -16,7 +16,7 @@
- category->id() == FreshRSS_CategoryDAO::DEFAULTCATEGORYID ? 'disabled="disabled"' : ''; ?> /> diff --git a/app/views/helpers/configure/query.phtml b/app/views/helpers/configure/query.phtml index a75333cfc..f8d51c193 100644 --- a/app/views/helpers/configure/query.phtml +++ b/app/views/helpers/configure/query.phtml @@ -12,7 +12,7 @@
- +
@@ -20,7 +20,7 @@
- +
diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtml index 800093bed..212574002 100644 --- a/app/views/subscription/add.phtml +++ b/app/views/subscription/add.phtml @@ -190,7 +190,7 @@
- +

diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index aa3d7eab8..25df31194 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -114,10 +114,6 @@ input:disabled, select:disabled { border-color: var(--border-color-dark); } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -556,10 +552,6 @@ kbd { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 99fe8fb34..6fb1bf25a 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -114,10 +114,6 @@ input:disabled, select:disabled { border-color: var(--border-color-dark); } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -556,10 +552,6 @@ kbd { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Ansum/_forms.scss b/p/themes/Ansum/_forms.scss index 4f3f9e698..3bdb30664 100644 --- a/p/themes/Ansum/_forms.scss +++ b/p/themes/Ansum/_forms.scss @@ -120,11 +120,6 @@ input:disabled, select:disabled { border-color: variables.$grey-medium-dark; } -input.extend { - transition: width 200ms linear; -} - - .form-group { padding: 5px; border-radius: 3px; diff --git a/p/themes/Ansum/_layout.scss b/p/themes/Ansum/_layout.scss index c5a1a2b3e..cb5271dcd 100644 --- a/p/themes/Ansum/_layout.scss +++ b/p/themes/Ansum/_layout.scss @@ -29,7 +29,7 @@ &.search { input { - width: 230px; + width: 350px; color: variables.$sid-font-color; border: none; border-radius: 2px 0 0 2px; @@ -42,9 +42,7 @@ } &:focus { - width: 350px; color: variables.$grey-dark; - background-color: variables.$white; } } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 6789320b5..03aa67e67 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -164,10 +164,6 @@ input:disabled, select:disabled { border-color: #ba9; } -input.extend { - transition: width 200ms linear; -} - .form-group { padding: 5px; border-radius: 3px; @@ -673,7 +669,7 @@ form th { filter: invert(80%) opacity(80%); } .header .item.search input { - width: 230px; + width: 350px; color: #363330; border: none; border-radius: 2px 0 0 2px; @@ -684,7 +680,6 @@ form th { background-color: #efe3d3; } .header .item.search input:focus { - width: 350px; color: #766556; background-color: #fff; } diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index 82ea37a3c..b106da359 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -164,10 +164,6 @@ input:disabled, select:disabled { border-color: #ba9; } -input.extend { - transition: width 200ms linear; -} - .form-group { padding: 5px; border-radius: 3px; @@ -673,7 +669,7 @@ form th { filter: invert(80%) opacity(80%); } .header .item.search input { - width: 230px; + width: 350px; color: #363330; border: none; border-radius: 0 2px 2px 0; @@ -684,7 +680,6 @@ form th { background-color: #efe3d3; } .header .item.search input:focus { - width: 350px; color: #766556; background-color: #fff; } diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index d24a1cd1c..14a369a2e 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -66,10 +66,6 @@ input:disabled, select:disabled { border-color: #ccc; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -593,10 +589,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index 3fa917e5f..7c16ee958 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -66,10 +66,6 @@ input:disabled, select:disabled { border-color: #ccc; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -593,10 +589,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 11c4c7d1b..859397eb1 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -78,10 +78,6 @@ input:disabled, select:disabled { border-color: #000; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -544,10 +540,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 19d368165..a75552d51 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -78,10 +78,6 @@ input:disabled, select:disabled { border-color: #000; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -544,10 +540,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 518e6b07b..aefe3d454 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -70,10 +70,6 @@ input:disabled, select:disabled { background: #eee; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -547,10 +543,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index d82f6d268..43ada0a4c 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -70,10 +70,6 @@ input:disabled, select:disabled { background: #eee; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -547,10 +543,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Mapco/_forms.scss b/p/themes/Mapco/_forms.scss index 479f40d44..977a70346 100644 --- a/p/themes/Mapco/_forms.scss +++ b/p/themes/Mapco/_forms.scss @@ -119,11 +119,6 @@ input:disabled, select:disabled { background: variables.$grey-light; } -input.extend { - transition: width 200ms linear; -} - - .form-group { padding: 5px; border-radius: 3px; diff --git a/p/themes/Mapco/_layout.scss b/p/themes/Mapco/_layout.scss index 495c19ebf..7be890369 100644 --- a/p/themes/Mapco/_layout.scss +++ b/p/themes/Mapco/_layout.scss @@ -29,7 +29,7 @@ &.search { input { - width: 230px; + width: 350px; color: variables.$sid-font-color; border: none; border-radius: 2px 0 0 2px; @@ -42,9 +42,7 @@ } &:focus { - width: 350px; color: variables.$grey-dark; - background-color: variables.$white; } } diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index c34dc08e0..d2978c217 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -163,10 +163,6 @@ input:disabled, select:disabled { background: #eff0f2; } -input.extend { - transition: width 200ms linear; -} - .form-group { padding: 5px; border-radius: 3px; @@ -687,7 +683,7 @@ form th { filter: grayscale(100%) brightness(2.2); } .header .item.search input { - width: 230px; + width: 350px; color: #ffffff; border: none; border-radius: 2px 0 0 2px; @@ -698,7 +694,6 @@ form th { background-color: #17181a; } .header .item.search input:focus { - width: 350px; color: #5b6871; background-color: #fff; } diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 112ca94c7..7ed00631a 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -163,10 +163,6 @@ input:disabled, select:disabled { background: #eff0f2; } -input.extend { - transition: width 200ms linear; -} - .form-group { padding: 5px; border-radius: 3px; @@ -687,7 +683,7 @@ form th { filter: grayscale(100%) brightness(2.2); } .header .item.search input { - width: 230px; + width: 350px; color: #ffffff; border: none; border-radius: 0 2px 2px 0; @@ -698,7 +694,6 @@ form th { background-color: #17181a; } .header .item.search input:focus { - width: 350px; color: #5b6871; background-color: #fff; } diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index fb4e71147..403a27dd0 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -448,10 +448,6 @@ img.favicon { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } @@ -833,17 +829,10 @@ textarea { height: 100px; } - option { padding: 0 .5em; } - -input.extend { - transition: width 200ms linear; -} - - /*=== COMPONENTS */ /*===============*/ /*=== Forms */ diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index 95e4625cf..2ae7464fa 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -448,10 +448,6 @@ img.favicon { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } @@ -833,17 +829,10 @@ textarea { height: 100px; } - option { padding: 0 .5em; } - -input.extend { - transition: width 200ms linear; -} - - /*=== COMPONENTS */ /*===============*/ /*=== Forms */ diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 1db88e0a9..319e6a2a4 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -151,10 +151,6 @@ input:disabled, select:disabled { background-color: var(--background-color-light-shadowed); } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -656,10 +652,6 @@ a:hover .icon { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 2cc8e15b4..983b1743e 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -151,10 +151,6 @@ input:disabled, select:disabled { background-color: var(--background-color-light-shadowed); } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -656,10 +652,6 @@ a:hover .icon { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index f6ee43cf5..f5d418f15 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -140,10 +140,6 @@ input:invalid, select:invalid { box-shadow: 0 0 2px 2px var(--invalid-box-shadow-color) inset; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -611,7 +607,7 @@ a.signin { height: 29px; } -.header .item.search input:focus { +.header .item.search input { width: 350px; } diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 338a4355f..cc8d72da4 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -140,10 +140,6 @@ input:invalid, select:invalid { box-shadow: 0 0 2px 2px var(--invalid-box-shadow-color) inset; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -611,7 +607,7 @@ a.signin { height: 29px; } -.header .item.search input:focus { +.header .item.search input { width: 350px; } diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 74a43c890..e66861563 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -64,10 +64,6 @@ input:disabled, select:disabled { background: #eee; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -577,10 +573,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index de4b33242..a823dc93d 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -64,10 +64,6 @@ input:disabled, select:disabled { background: #eee; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -577,10 +573,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 17fb8e77f..02fd9471f 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -148,10 +148,6 @@ select { padding-bottom: 8px; } -input.extend { - transition: width 200ms linear; -} - option { padding: 0 0.5em; } @@ -580,9 +576,6 @@ form th { top: 5px; filter: grayscale(100%) brightness(100); } -.header .item.search input:focus { - width: 350px; -} .header .item.search { display: none; } diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 9e8d826e1..9cee872c9 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -148,10 +148,6 @@ select { padding-bottom: 8px; } -input.extend { - transition: width 200ms linear; -} - option { padding: 0 0.5em; } @@ -580,9 +576,6 @@ form th { top: 5px; filter: grayscale(100%) brightness(100); } -.header .item.search input:focus { - width: 350px; -} .header .item.search { display: none; } diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 584841de2..c3092b2e1 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -186,12 +186,6 @@ select { padding-bottom: 8px; } -input { - &.extend { - transition: width 200ms linear; - } -} - option { padding: 0 .5em; } @@ -744,10 +738,6 @@ form { } } - .item.search input:focus { - width: 350px; - } - .item.search { display: none; } diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index cd133939d..095ef49c0 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -52,10 +52,6 @@ input:invalid, select:invalid { input:disabled, select:disabled { } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -404,10 +400,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index ab5156b68..a97d4876c 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -52,10 +52,6 @@ input:invalid, select:invalid { input:disabled, select:disabled { } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; @@ -404,10 +400,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 56e99ec70..9c3f16b1c 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -194,7 +194,8 @@ label { } input { - width: 180px; + max-width: 90%; + width: 300px; } input[type=number] { @@ -203,8 +204,7 @@ input[type=number] { textarea, input[type="file"], -input.long, -input.extend:focus { +input.long { width: 300px; } @@ -212,6 +212,7 @@ input, select, textarea { display: inline-block; max-width: 100%; font-size: 0.8rem; + box-sizing: border-box; } input.w50, diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 4c8326e32..6555c95ce 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -194,7 +194,8 @@ label { } input { - width: 180px; + max-width: 90%; + width: 300px; } input[type=number] { @@ -203,8 +204,7 @@ input[type=number] { textarea, input[type="file"], -input.long, -input.extend:focus { +input.long { width: 300px; } @@ -212,6 +212,7 @@ input, select, textarea { display: inline-block; max-width: 100%; font-size: 0.8rem; + box-sizing: border-box; } input.w50, -- cgit v1.2.3 From 9e4b4c90722812dd6c98699513180eb90cb57bb1 Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 30 Jan 2023 20:30:36 +0100 Subject: fix: Thumbnails background (#5058) * fix * fix --- p/themes/base-theme/frss.css | 6 +++++- p/themes/base-theme/frss.rtl.css | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'p/themes/base-theme') diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 9c3f16b1c..a546de43a 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -1212,10 +1212,14 @@ a.website:hover .favicon { .flux .item.thumbnail { line-height: 0; - padding: 0.75rem; + padding: var(--frss-padding-top-bottom) var(--frss-padding-flux-items); height: 80px; } +.flux .item.thumbnail .item-element { + padding: 0; +} + .flux .item.thumbnail.small { height: 40px; } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 6555c95ce..610144fcb 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -1212,10 +1212,14 @@ a.website:hover .favicon { .flux .item.thumbnail { line-height: 0; - padding: 0.75rem; + padding: var(--frss-padding-top-bottom) var(--frss-padding-flux-items); height: 80px; } +.flux .item.thumbnail .item-element { + padding: 0; +} + .flux .item.thumbnail.small { height: 40px; } -- cgit v1.2.3 From e53ba88bb96ba1343ffc771f6170baa4342b4e39 Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 30 Jan 2023 20:32:55 +0100 Subject: Search Improved: dropdown (#4994) * first draft * fix * RTL CSS * add link to documentation * hide search button in desktop view * rename .no-desktop to .only-mobile * i18n * add ID * Theme: Swage * Theme Scewdriver * Theme Pafat * Theme flat * Theme: Adark * Theme: Dark * i18n: German * i18n en-us * fix i18n * Update app/i18n/fr/gen.php Co-authored-by: Alexandre Alapetite * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite * wip * mapco theme * RTL for Ansum and Mapco * fix * fix --------- Co-authored-by: Alexandre Alapetite --- app/i18n/cz/gen.php | 1 + app/i18n/de/gen.php | 1 + app/i18n/el/gen.php | 1 + app/i18n/en-us/gen.php | 1 + app/i18n/en/gen.php | 1 + app/i18n/es/gen.php | 1 + app/i18n/fr/gen.php | 1 + app/i18n/he/gen.php | 1 + app/i18n/id/gen.php | 1 + app/i18n/it/gen.php | 1 + app/i18n/ja/gen.php | 1 + app/i18n/ko/gen.php | 1 + app/i18n/nl/gen.php | 1 + app/i18n/oc/gen.php | 1 + app/i18n/pl/gen.php | 1 + app/i18n/pt-br/gen.php | 1 + app/i18n/ru/gen.php | 1 + app/i18n/sk/gen.php | 1 + app/i18n/tr/gen.php | 1 + app/i18n/zh-cn/gen.php | 1 + app/i18n/zh-tw/gen.php | 1 + app/layout/nav_menu.phtml | 72 +++++++++++++++++++------------- p/themes/Alternative-Dark/adark.css | 15 ------- p/themes/Alternative-Dark/adark.rtl.css | 15 ------- p/themes/Ansum/_components.scss | 15 ++++++- p/themes/Ansum/_layout.scss | 8 +++- p/themes/Ansum/_mobile.scss | 32 +------------- p/themes/Ansum/_sidebar.scss | 2 +- p/themes/Ansum/ansum.css | 58 ++++++++++--------------- p/themes/Ansum/ansum.rtl.css | 58 ++++++++++--------------- p/themes/Dark/dark.css | 14 ------- p/themes/Dark/dark.rtl.css | 14 ------- p/themes/Flat/flat.css | 2 +- p/themes/Flat/flat.rtl.css | 2 +- p/themes/Mapco/_components.scss | 13 +++++- p/themes/Mapco/_layout.scss | 8 +++- p/themes/Mapco/_mobile.scss | 27 +----------- p/themes/Mapco/_sidebar.scss | 2 +- p/themes/Mapco/mapco.css | 54 +++++++++++------------- p/themes/Mapco/mapco.rtl.css | 52 ++++++++++------------- p/themes/Origine/origine.css | 20 ++------- p/themes/Origine/origine.rtl.css | 20 ++------- p/themes/Pafat/pafat.css | 15 ------- p/themes/Pafat/pafat.rtl.css | 15 ------- p/themes/Screwdriver/screwdriver.css | 4 -- p/themes/Screwdriver/screwdriver.rtl.css | 4 -- p/themes/Swage/swage.css | 28 +++++++++++++ p/themes/Swage/swage.rtl.css | 28 +++++++++++++ p/themes/Swage/swage.scss | 32 ++++++++++++++ p/themes/base-theme/frss.css | 29 +++++++++++-- p/themes/base-theme/frss.rtl.css | 29 +++++++++++-- 51 files changed, 350 insertions(+), 358 deletions(-) (limited to 'p/themes/base-theme') diff --git a/app/i18n/cz/gen.php b/app/i18n/cz/gen.php index 3c9b0ec16..cf7973a3c 100644 --- a/app/i18n/cz/gen.php +++ b/app/i18n/cz/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Uživatelské dotazy', 'reading' => 'Čtení', 'search' => 'Hledat slova nebo #štítky', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Sdílení', 'shortcuts' => 'Zkratky', 'stats' => 'Statistika', diff --git a/app/i18n/de/gen.php b/app/i18n/de/gen.php index e3cf385fd..e4dac4282 100644 --- a/app/i18n/de/gen.php +++ b/app/i18n/de/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Benutzerabfragen', 'reading' => 'Lesen', 'search' => 'Suche Worte oder #Tags', + 'search_help' => 'Siehe Dokumentation zu den Suchparametern', 'sharing' => 'Teilen', 'shortcuts' => 'Tastaturkürzel', 'stats' => 'Statistiken', diff --git a/app/i18n/el/gen.php b/app/i18n/el/gen.php index aa1051564..d6816a5d8 100644 --- a/app/i18n/el/gen.php +++ b/app/i18n/el/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'User queries', // TODO 'reading' => 'Reading', // TODO 'search' => 'Search words or #tags', // TODO + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Sharing', // TODO 'shortcuts' => 'Shortcuts', // TODO 'stats' => 'Statistics', // TODO diff --git a/app/i18n/en-us/gen.php b/app/i18n/en-us/gen.php index 5eb409fdc..52baba32b 100644 --- a/app/i18n/en-us/gen.php +++ b/app/i18n/en-us/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'User queries', // IGNORE 'reading' => 'Reading', // IGNORE 'search' => 'Search words or #tags', // IGNORE + 'search_help' => 'See documentation for advanced search parameters', // IGNORE 'sharing' => 'Sharing', // IGNORE 'shortcuts' => 'Shortcuts', // IGNORE 'stats' => 'Statistics', // IGNORE diff --git a/app/i18n/en/gen.php b/app/i18n/en/gen.php index 2ce5871e3..a30690a25 100644 --- a/app/i18n/en/gen.php +++ b/app/i18n/en/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'User queries', 'reading' => 'Reading', 'search' => 'Search words or #tags', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Sharing', 'shortcuts' => 'Shortcuts', 'stats' => 'Statistics', diff --git a/app/i18n/es/gen.php b/app/i18n/es/gen.php index 54877d3df..a636d407a 100755 --- a/app/i18n/es/gen.php +++ b/app/i18n/es/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Peticiones de usuario', 'reading' => 'Lectura', 'search' => 'Buscar palabras o #etiquetas', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Compartir', 'shortcuts' => 'Atajos', 'stats' => 'Estadísticas', diff --git a/app/i18n/fr/gen.php b/app/i18n/fr/gen.php index fec2b7d4a..4baa93d18 100644 --- a/app/i18n/fr/gen.php +++ b/app/i18n/fr/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Filtres utilisateurs', 'reading' => 'Lecture', 'search' => 'Rechercher des mots ou des #tags', + 'search_help' => 'Voir la documentation pour la syntaxe des recherches avancées', 'sharing' => 'Partage', 'shortcuts' => 'Raccourcis', 'stats' => 'Statistiques', diff --git a/app/i18n/he/gen.php b/app/i18n/he/gen.php index 20b93eb7e..317482a09 100644 --- a/app/i18n/he/gen.php +++ b/app/i18n/he/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'שאילתות', 'reading' => 'קריאה', 'search' => 'חיפוש מילים או #תגים', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'שיתוף', 'shortcuts' => 'קיצורי דרך', 'stats' => 'סטטיסטיקות', diff --git a/app/i18n/id/gen.php b/app/i18n/id/gen.php index 3e791c607..a2baff42f 100644 --- a/app/i18n/id/gen.php +++ b/app/i18n/id/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'User queries', // TODO 'reading' => 'Reading', // TODO 'search' => 'Search words or #tags', // TODO + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Sharing', // TODO 'shortcuts' => 'Shortcuts', // TODO 'stats' => 'Statistics', // TODO diff --git a/app/i18n/it/gen.php b/app/i18n/it/gen.php index 09844d072..465b758c0 100644 --- a/app/i18n/it/gen.php +++ b/app/i18n/it/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Ricerche personali', 'reading' => 'Lettura', 'search' => 'Ricerca parole o #tags', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Condivisione', 'shortcuts' => 'Comandi tastiera', 'stats' => 'Statistiche', diff --git a/app/i18n/ja/gen.php b/app/i18n/ja/gen.php index 85d130e37..7ad2f2eb8 100644 --- a/app/i18n/ja/gen.php +++ b/app/i18n/ja/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'ユーザークエリ', 'reading' => 'リーディング', 'search' => '単語で検索するかハッシュタグで検索する', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => '共有', 'shortcuts' => 'ショートカット', 'stats' => '統計', diff --git a/app/i18n/ko/gen.php b/app/i18n/ko/gen.php index ba15726a3..63e3ba478 100644 --- a/app/i18n/ko/gen.php +++ b/app/i18n/ko/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => '사용자 쿼리', 'reading' => '읽기', 'search' => '단어 또는 #태그 검색', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => '공유', 'shortcuts' => '단축키', 'stats' => '통계', diff --git a/app/i18n/nl/gen.php b/app/i18n/nl/gen.php index e06e05db7..0c5122643 100644 --- a/app/i18n/nl/gen.php +++ b/app/i18n/nl/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Gebruikers informatie', 'reading' => 'Lezen', 'search' => 'Zoek woorden of #labels', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Delen', 'shortcuts' => 'Snelle toegang', 'stats' => 'Statistieken', diff --git a/app/i18n/oc/gen.php b/app/i18n/oc/gen.php index a55b2c147..281696a89 100644 --- a/app/i18n/oc/gen.php +++ b/app/i18n/oc/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Filtres utilizaire', 'reading' => 'Lectura', 'search' => 'Recercar de mots o d’#etiquetas', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Partatge', 'shortcuts' => 'Acorchis', 'stats' => 'Estatisticas', diff --git a/app/i18n/pl/gen.php b/app/i18n/pl/gen.php index 56bd3c082..28863ff59 100644 --- a/app/i18n/pl/gen.php +++ b/app/i18n/pl/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Zapisane zapytania', 'reading' => 'Czytanie', 'search' => 'Wyszukaj wyrazy lub #tagi', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Podawanie dalej', 'shortcuts' => 'Skróty klawiszowe', 'stats' => 'Statystyki', diff --git a/app/i18n/pt-br/gen.php b/app/i18n/pt-br/gen.php index acf954b77..0a8c56d6a 100644 --- a/app/i18n/pt-br/gen.php +++ b/app/i18n/pt-br/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Queries de usuário', 'reading' => 'Leitura', 'search' => 'Procurar por palavras ou #tags', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Compartilhamento', 'shortcuts' => 'Atalhos', 'stats' => 'Estatísticas', diff --git a/app/i18n/ru/gen.php b/app/i18n/ru/gen.php index 9ba61ae59..3fd4b9190 100644 --- a/app/i18n/ru/gen.php +++ b/app/i18n/ru/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Пользовательские запросы', 'reading' => 'Чтение', 'search' => 'Искать слова или #теги', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Обмен', 'shortcuts' => 'Горячие клавиши', 'stats' => 'Статистика', diff --git a/app/i18n/sk/gen.php b/app/i18n/sk/gen.php index aa8f1767b..4fa7a74eb 100644 --- a/app/i18n/sk/gen.php +++ b/app/i18n/sk/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Používateľské dopyty', 'reading' => 'Čítanie', 'search' => 'Hľadajte slová alebo #značky', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Zdieľanie', 'shortcuts' => 'Skratky', 'stats' => 'Štatistiky', diff --git a/app/i18n/tr/gen.php b/app/i18n/tr/gen.php index c65815e8e..bf1f18848 100644 --- a/app/i18n/tr/gen.php +++ b/app/i18n/tr/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => 'Kullanıcı sorguları', 'reading' => 'Okuma', 'search' => 'Kelime veya #etiket ara', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => 'Paylaşım', 'shortcuts' => 'Kısayollar', 'stats' => 'İstatistikler', diff --git a/app/i18n/zh-cn/gen.php b/app/i18n/zh-cn/gen.php index 0b6f1cba6..0732ae707 100644 --- a/app/i18n/zh-cn/gen.php +++ b/app/i18n/zh-cn/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => '自定义查询', 'reading' => '阅读', 'search' => '搜索内容或#标签', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => '分享', 'shortcuts' => '快捷键', 'stats' => '统计', diff --git a/app/i18n/zh-tw/gen.php b/app/i18n/zh-tw/gen.php index 31ef0f692..cf09fa3df 100644 --- a/app/i18n/zh-tw/gen.php +++ b/app/i18n/zh-tw/gen.php @@ -174,6 +174,7 @@ return array( 'queries' => '自定義查詢', 'reading' => '閱讀', 'search' => '搜尋內容或#標簽', + 'search_help' => 'See documentation for advanced search parameters', // TODO 'sharing' => '分享', 'shortcuts' => '快捷鍵', 'stats' => '統計', diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index f719538fd..848144568 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -29,10 +29,53 @@ href=""> + + - - a, + > span, + > .as-link { padding: 0 2rem; color: variables.$main-font-color; font-size: inherit; @@ -60,7 +68,10 @@ span.icon { padding: 0 0.25rem !important; } + } + > a, + > .as-link { &:not(.addItem):hover { background: variables.$main-first; color: variables.$white; @@ -86,7 +97,7 @@ } &:not(.addItem) { - a:hover, + > a:hover, button:hover { background: variables.$main-first; color: variables.$white; diff --git a/p/themes/Ansum/_layout.scss b/p/themes/Ansum/_layout.scss index cb5271dcd..78431f462 100644 --- a/p/themes/Ansum/_layout.scss +++ b/p/themes/Ansum/_layout.scss @@ -207,7 +207,7 @@ main.prompt { } } - .dropdown { + .dropdown:not(#dropdown-search-wrapper) { a.dropdown-toggle { border-left-width: 0; background-image: url(icons/more.svg); @@ -217,6 +217,12 @@ main.prompt { } } } + + #dropdown-search-wrapper.dropdown { + a.dropdown-toggle { + border-left-width: 0; + } + } } } diff --git a/p/themes/Ansum/_mobile.scss b/p/themes/Ansum/_mobile.scss index bb13a0e83..6fbca4a52 100644 --- a/p/themes/Ansum/_mobile.scss +++ b/p/themes/Ansum/_mobile.scss @@ -35,35 +35,9 @@ } .header { - display: block; - height: 8rem; - .item { &.search { - display: block; - - form { - display: inherit; - } - - .stick { - display: flex; - } - - input { - width: 90%; - height: 3.5rem; - - &:focus { - width: 100%; - - } - } - - .btn { - min-height: 49px; - padding: 0.5rem 2rem; - } + display: none; } &.configure { @@ -103,11 +77,7 @@ } .search { - display: none; - max-width: 97%; - .input { - max-width: 97%; width: 90px; diff --git a/p/themes/Ansum/_sidebar.scss b/p/themes/Ansum/_sidebar.scss index e92dd2ec4..7c21d159d 100644 --- a/p/themes/Ansum/_sidebar.scss +++ b/p/themes/Ansum/_sidebar.scss @@ -93,7 +93,7 @@ border-radius: 5px 0 0 5px; } - .btn:last-child, input:last-child, .btn + .dropdown > .btn { + .btn:last-child, input:last-child, .dropdown:last-child > .btn { border-radius: 0 5px 5px 0; } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 03aa67e67..709861e18 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -221,6 +221,10 @@ form th { } /*=== Dropdown */ +.dropdown .dropdown-target:target + .btn { + background-color: #e4d8cc; +} + .dropdown-menu { margin: 9px 0 0 0; padding: 0.5rem 0 1rem 0; @@ -247,20 +251,26 @@ form th { .dropdown-menu .item { transition: all 0.075s ease-in-out; } -.dropdown-menu .item a, .dropdown-menu .item .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 2rem; color: #363330; font-size: inherit; line-height: 2.5em; } -.dropdown-menu .item a span.icon, .dropdown-menu .item .as-link span.icon { +.dropdown-menu .item > a span.icon, +.dropdown-menu .item > span span.icon, +.dropdown-menu .item > .as-link span.icon { padding: 0 0.25rem !important; } -.dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover { +.dropdown-menu .item > a:not(.addItem):hover, +.dropdown-menu .item > .as-link:not(.addItem):hover { background: #ca7227; color: #fff; } -.dropdown-menu .item a:not(.addItem):hover .icon, .dropdown-menu .item .as-link:not(.addItem):hover .icon { +.dropdown-menu .item > a:not(.addItem):hover .icon, +.dropdown-menu .item > .as-link:not(.addItem):hover .icon { filter: grayscale(100%) brightness(2.5); } .dropdown-menu .item.dropdown-section { @@ -272,12 +282,12 @@ form th { .dropdown-menu .item.dropdown-section .item a, .dropdown-menu .item.dropdown-section .item .as-link { padding-left: 2rem; } -.dropdown-menu .item:not(.addItem) a:hover, +.dropdown-menu .item:not(.addItem) > a:hover, .dropdown-menu .item:not(.addItem) button:hover { background: #ca7227; color: #fff; } -.dropdown-menu .item:not(.addItem) a:hover .icon, +.dropdown-menu .item:not(.addItem) > a:hover .icon, .dropdown-menu .item:not(.addItem) button:hover .icon { filter: brightness(3); } @@ -518,7 +528,7 @@ form th { .stick .btn:first-child { border-radius: 5px 0 0 5px; } -.stick .btn:last-child, .stick input:last-child, .stick .btn + .dropdown > .btn { +.stick .btn:last-child, .stick input:last-child, .stick .dropdown:last-child > .btn { border-radius: 0 5px 5px 0; } .stick .btn + .btn, @@ -819,13 +829,16 @@ main.prompt { .nav_menu .stick .btn.read_all:hover { background-color: #e4d8cc; } -.nav_menu .stick .dropdown a.dropdown-toggle { +.nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle { border-left-width: 0; background-image: url(icons/more.svg); } -.nav_menu .stick .dropdown a.dropdown-toggle .icon { +.nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle .icon { display: none; } +.nav_menu .stick #dropdown-search-wrapper.dropdown a.dropdown-toggle { + border-left-width: 0; +} #dropdown-query ~ .dropdown-menu .dropdown-header .icon { vertical-align: middle; @@ -1196,29 +1209,8 @@ main.prompt { #slider .toggle_aside .icon { filter: grayscale(100%) brightness(2.5); } - .header { - display: block; - height: 8rem; - } .header .item.search { - display: block; - } - .header .item.search form { - display: inherit; - } - .header .item.search .stick { - display: flex; - } - .header .item.search input { - width: 90%; - height: 3.5rem; - } - .header .item.search input:focus { - width: 100%; - } - .header .item.search .btn { - min-height: 49px; - padding: 0.5rem 2rem; + display: none; } .header .item.configure { position: absolute; @@ -1246,10 +1238,6 @@ main.prompt { .nav_menu .stick .btn.read_all { padding: 0.85rem 1.25rem; } - .nav_menu .search { - display: none; - max-width: 97%; - } .nav_menu .search .input { max-width: 97%; width: 90px; diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index b106da359..ad480c952 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -221,6 +221,10 @@ form th { } /*=== Dropdown */ +.dropdown .dropdown-target:target + .btn { + background-color: #e4d8cc; +} + .dropdown-menu { margin: 9px 0 0 0; padding: 0.5rem 0 1rem 0; @@ -247,20 +251,26 @@ form th { .dropdown-menu .item { transition: all 0.075s ease-in-out; } -.dropdown-menu .item a, .dropdown-menu .item .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 2rem; color: #363330; font-size: inherit; line-height: 2.5em; } -.dropdown-menu .item a span.icon, .dropdown-menu .item .as-link span.icon { +.dropdown-menu .item > a span.icon, +.dropdown-menu .item > span span.icon, +.dropdown-menu .item > .as-link span.icon { padding: 0 0.25rem !important; } -.dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover { +.dropdown-menu .item > a:not(.addItem):hover, +.dropdown-menu .item > .as-link:not(.addItem):hover { background: #ca7227; color: #fff; } -.dropdown-menu .item a:not(.addItem):hover .icon, .dropdown-menu .item .as-link:not(.addItem):hover .icon { +.dropdown-menu .item > a:not(.addItem):hover .icon, +.dropdown-menu .item > .as-link:not(.addItem):hover .icon { filter: grayscale(100%) brightness(2.5); } .dropdown-menu .item.dropdown-section { @@ -272,12 +282,12 @@ form th { .dropdown-menu .item.dropdown-section .item a, .dropdown-menu .item.dropdown-section .item .as-link { padding-right: 2rem; } -.dropdown-menu .item:not(.addItem) a:hover, +.dropdown-menu .item:not(.addItem) > a:hover, .dropdown-menu .item:not(.addItem) button:hover { background: #ca7227; color: #fff; } -.dropdown-menu .item:not(.addItem) a:hover .icon, +.dropdown-menu .item:not(.addItem) > a:hover .icon, .dropdown-menu .item:not(.addItem) button:hover .icon { filter: brightness(3); } @@ -518,7 +528,7 @@ form th { .stick .btn:first-child { border-radius: 0 5px 5px 0; } -.stick .btn:last-child, .stick input:last-child, .stick .btn + .dropdown > .btn { +.stick .btn:last-child, .stick input:last-child, .stick .dropdown:last-child > .btn { border-radius: 5px 0 0 5px; } .stick .btn + .btn, @@ -819,13 +829,16 @@ main.prompt { .nav_menu .stick .btn.read_all:hover { background-color: #e4d8cc; } -.nav_menu .stick .dropdown a.dropdown-toggle { +.nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle { border-right-width: 0; background-image: url(icons/more.svg); } -.nav_menu .stick .dropdown a.dropdown-toggle .icon { +.nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle .icon { display: none; } +.nav_menu .stick #dropdown-search-wrapper.dropdown a.dropdown-toggle { + border-right-width: 0; +} #dropdown-query ~ .dropdown-menu .dropdown-header .icon { vertical-align: middle; @@ -1196,29 +1209,8 @@ main.prompt { #slider .toggle_aside .icon { filter: grayscale(100%) brightness(2.5); } - .header { - display: block; - height: 8rem; - } .header .item.search { - display: block; - } - .header .item.search form { - display: inherit; - } - .header .item.search .stick { - display: flex; - } - .header .item.search input { - width: 90%; - height: 3.5rem; - } - .header .item.search input:focus { - width: 100%; - } - .header .item.search .btn { - min-height: 49px; - padding: 0.5rem 2rem; + display: none; } .header .item.configure { position: absolute; @@ -1246,10 +1238,6 @@ main.prompt { .nav_menu .stick .btn.read_all { padding: 0.85rem 1.25rem; } - .nav_menu .search { - display: none; - max-width: 97%; - } .nav_menu .search .input { max-width: 97%; width: 90px; diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 859397eb1..fa194bb9e 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -995,20 +995,6 @@ a.btn { margin: 5px 0; } - .nav_menu .search { - display: inline-block; - max-width: 97%; - } - - .nav_menu .search input { - max-width: 97%; - width: 90px; - } - - .nav_menu .search input:focus { - width: 400px; - } - .dropdown-target:target ~ .dropdown-toggle::after { background-color: #1a1a1a; border-top: 1px solid #888; diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index a75552d51..2610e49d5 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -995,20 +995,6 @@ a.btn { margin: 5px 0; } - .nav_menu .search { - display: inline-block; - max-width: 97%; - } - - .nav_menu .search input { - max-width: 97%; - width: 90px; - } - - .nav_menu .search input:focus { - width: 400px; - } - .dropdown-target:target ~ .dropdown-toggle::after { background-color: #1a1a1a; border-top: 1px solid #888; diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index aefe3d454..8fd09bb35 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -147,7 +147,7 @@ form th { .stick .btn:last-child, .stick input:last-child, -.stick .btn + .dropdown > .btn { +.stick .dropdown:last-child > .btn { border-radius: 0 5px 5px 0; } diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 43ada0a4c..43327ddeb 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -147,7 +147,7 @@ form th { .stick .btn:last-child, .stick input:last-child, -.stick .btn + .dropdown > .btn { +.stick .dropdown:last-child > .btn { border-radius: 5px 0 0 5px; } diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss index 8b60dcf0f..5f7e04e56 100644 --- a/p/themes/Mapco/_components.scss +++ b/p/themes/Mapco/_components.scss @@ -22,6 +22,12 @@ } /*=== Dropdown */ +.dropdown { + .dropdown-target:target + .btn { + background-color: variables.$grey-medium-light; + } +} + .dropdown-menu { margin: 9px 0 0 0; padding: 0.5rem 0 1rem 0; @@ -51,7 +57,9 @@ @include mixins.transition(all, 0.075s, ease-in-out); - a, .as-link { + > a, + > span, + > .as-link { padding: 0 2rem; color: variables.$main-font-color; font-size: inherit; @@ -60,7 +68,10 @@ span.icon { padding: 0 0.25rem !important; } + } + > a, + > .as-link { &:not(.addItem):hover { background: variables.$main-first; color: variables.$white; diff --git a/p/themes/Mapco/_layout.scss b/p/themes/Mapco/_layout.scss index 7be890369..b57a48fd0 100644 --- a/p/themes/Mapco/_layout.scss +++ b/p/themes/Mapco/_layout.scss @@ -226,7 +226,7 @@ main.prompt { } } - .dropdown { + .dropdown:not(#dropdown-search-wrapper) { a.dropdown-toggle { border-left-width: 0; background-image: url(icons/more.svg); @@ -236,6 +236,12 @@ main.prompt { } } } + + #dropdown-search-wrapper.dropdown { + a.dropdown-toggle { + border-left-width: 0; + } + } } } diff --git a/p/themes/Mapco/_mobile.scss b/p/themes/Mapco/_mobile.scss index 6960873bf..3faea3d7e 100644 --- a/p/themes/Mapco/_mobile.scss +++ b/p/themes/Mapco/_mobile.scss @@ -35,30 +35,9 @@ } .header { - display: block; - height: 8rem; - .item { &.search { - display: block; - - form { - display: inherit; - } - - .stick { - display: flex; - } - - input { - width: 90%; - height: 3.5rem; - - &:focus { - width: 100%; - - } - } + display: none; } &.configure { @@ -105,11 +84,7 @@ } .search { - display: none; - max-width: 97%; - .input { - max-width: 97%; width: 90px; diff --git a/p/themes/Mapco/_sidebar.scss b/p/themes/Mapco/_sidebar.scss index a71960b1d..090a69580 100644 --- a/p/themes/Mapco/_sidebar.scss +++ b/p/themes/Mapco/_sidebar.scss @@ -93,7 +93,7 @@ border-radius: 5px 0 0 5px; } - .btn:last-child, input:last-child, .btn + .dropdown > .btn { + .btn:last-child, input:last-child, .dropdown:last-child > .btn { border-radius: 0 5px 5px 0; } diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index d2978c217..967accc00 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -220,6 +220,10 @@ form th { } /*=== Dropdown */ +.dropdown .dropdown-target:target + .btn { + background-color: #d5d8db; +} + .dropdown-menu { margin: 9px 0 0 0; padding: 0.5rem 0 1rem 0; @@ -246,20 +250,26 @@ form th { .dropdown-menu .item { transition: all 0.075s ease-in-out; } -.dropdown-menu .item a, .dropdown-menu .item .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 2rem; color: #303136; font-size: inherit; line-height: 2.5em; } -.dropdown-menu .item a span.icon, .dropdown-menu .item .as-link span.icon { +.dropdown-menu .item > a span.icon, +.dropdown-menu .item > span span.icon, +.dropdown-menu .item > .as-link span.icon { padding: 0 0.25rem !important; } -.dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover { +.dropdown-menu .item > a:not(.addItem):hover, +.dropdown-menu .item > .as-link:not(.addItem):hover { background: #36c; color: #fff; } -.dropdown-menu .item a:not(.addItem):hover .icon, .dropdown-menu .item .as-link:not(.addItem):hover .icon { +.dropdown-menu .item > a:not(.addItem):hover .icon, +.dropdown-menu .item > .as-link:not(.addItem):hover .icon { filter: brightness(3); } .dropdown-menu .item.dropdown-section { @@ -532,7 +542,7 @@ form th { .stick .btn:first-child { border-radius: 5px 0 0 5px; } -.stick .btn:last-child, .stick input:last-child, .stick .btn + .dropdown > .btn { +.stick .btn:last-child, .stick input:last-child, .stick .dropdown:last-child > .btn { border-radius: 0 5px 5px 0; } .stick .btn + .btn, @@ -843,13 +853,16 @@ main.prompt { .nav_menu .stick .btn.read_all:hover { background-color: #d5d8db; } -.nav_menu .stick .dropdown a.dropdown-toggle { +.nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle { border-left-width: 0; background-image: url(icons/more.svg); } -.nav_menu .stick .dropdown a.dropdown-toggle .icon { +.nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle .icon { display: none; } +.nav_menu .stick #dropdown-search-wrapper.dropdown a.dropdown-toggle { + border-left-width: 0; +} /*=== Content of feed articles */ .content, .content.thin { @@ -1213,25 +1226,8 @@ main.prompt { #slider .toggle_aside .icon { filter: grayscale(100%) brightness(2.5); } - .header { - display: block; - height: 8rem; - } .header .item.search { - display: block; - } - .header .item.search form { - display: inherit; - } - .header .item.search .stick { - display: flex; - } - .header .item.search input { - width: 90%; - height: 3.5rem; - } - .header .item.search input:focus { - width: 100%; + display: none; } .header .item.configure { position: absolute; @@ -1264,10 +1260,6 @@ main.prompt { .nav_menu .stick .btn.read_all { padding: 0.85rem 1.25rem; } - .nav_menu .search { - display: none; - max-width: 97%; - } .nav_menu .search .input { max-width: 97%; width: 90px; @@ -1338,4 +1330,6 @@ body.register { a, button.as-link { outline: none; color: #36c; -} \ No newline at end of file +} + +/*# sourceMappingURL=mapco.css.map */ diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 7ed00631a..b962e5fe0 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -220,6 +220,10 @@ form th { } /*=== Dropdown */ +.dropdown .dropdown-target:target + .btn { + background-color: #d5d8db; +} + .dropdown-menu { margin: 9px 0 0 0; padding: 0.5rem 0 1rem 0; @@ -246,20 +250,26 @@ form th { .dropdown-menu .item { transition: all 0.075s ease-in-out; } -.dropdown-menu .item a, .dropdown-menu .item .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 2rem; color: #303136; font-size: inherit; line-height: 2.5em; } -.dropdown-menu .item a span.icon, .dropdown-menu .item .as-link span.icon { +.dropdown-menu .item > a span.icon, +.dropdown-menu .item > span span.icon, +.dropdown-menu .item > .as-link span.icon { padding: 0 0.25rem !important; } -.dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover { +.dropdown-menu .item > a:not(.addItem):hover, +.dropdown-menu .item > .as-link:not(.addItem):hover { background: #36c; color: #fff; } -.dropdown-menu .item a:not(.addItem):hover .icon, .dropdown-menu .item .as-link:not(.addItem):hover .icon { +.dropdown-menu .item > a:not(.addItem):hover .icon, +.dropdown-menu .item > .as-link:not(.addItem):hover .icon { filter: brightness(3); } .dropdown-menu .item.dropdown-section { @@ -532,7 +542,7 @@ form th { .stick .btn:first-child { border-radius: 0 5px 5px 0; } -.stick .btn:last-child, .stick input:last-child, .stick .btn + .dropdown > .btn { +.stick .btn:last-child, .stick input:last-child, .stick .dropdown:last-child > .btn { border-radius: 5px 0 0 5px; } .stick .btn + .btn, @@ -843,13 +853,16 @@ main.prompt { .nav_menu .stick .btn.read_all:hover { background-color: #d5d8db; } -.nav_menu .stick .dropdown a.dropdown-toggle { +.nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle { border-right-width: 0; background-image: url(icons/more.svg); } -.nav_menu .stick .dropdown a.dropdown-toggle .icon { +.nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle .icon { display: none; } +.nav_menu .stick #dropdown-search-wrapper.dropdown a.dropdown-toggle { + border-right-width: 0; +} /*=== Content of feed articles */ .content, .content.thin { @@ -1213,25 +1226,8 @@ main.prompt { #slider .toggle_aside .icon { filter: grayscale(100%) brightness(2.5); } - .header { - display: block; - height: 8rem; - } .header .item.search { - display: block; - } - .header .item.search form { - display: inherit; - } - .header .item.search .stick { - display: flex; - } - .header .item.search input { - width: 90%; - height: 3.5rem; - } - .header .item.search input:focus { - width: 100%; + display: none; } .header .item.configure { position: absolute; @@ -1264,10 +1260,6 @@ main.prompt { .nav_menu .stick .btn.read_all { padding: 0.85rem 1.25rem; } - .nav_menu .search { - display: none; - max-width: 97%; - } .nav_menu .search .input { max-width: 97%; width: 90px; @@ -1338,4 +1330,4 @@ body.register { a, button.as-link { outline: none; color: #36c; -} \ No newline at end of file +} diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 319e6a2a4..eba455f52 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -291,6 +291,10 @@ a:hover .icon { filter: brightness(1.1); } +#toggle-search.active > .icon { + filter: invert(8%) sepia(99%) saturate(7064%) hue-rotate(248deg) brightness(99%) contrast(142%); +} + .btn.active, .btn:active, .dropdown-target:target ~ .btn.dropdown-toggle { @@ -1138,22 +1142,6 @@ a:hover .icon { margin: 5px 0; } - .nav_menu .search { - display: inline-block; - max-width: 97%; - } - - .nav_menu .search input { - padding: 3px 5px; - max-width: 97%; - width: 90px; - line-height: 2; - } - - .nav_menu .search input:focus { - width: 400px; - } - .dropdown-target:target ~ .dropdown-toggle::after { background-color: var(--background-color-light); border-top: 1px solid var(--border-color); diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 983b1743e..081f1814f 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -291,6 +291,10 @@ a:hover .icon { filter: brightness(1.1); } +#toggle-search.active > .icon { + filter: invert(8%) sepia(99%) saturate(7064%) hue-rotate(248deg) brightness(99%) contrast(142%); +} + .btn.active, .btn:active, .dropdown-target:target ~ .btn.dropdown-toggle { @@ -1138,22 +1142,6 @@ a:hover .icon { margin: 5px 0; } - .nav_menu .search { - display: inline-block; - max-width: 97%; - } - - .nav_menu .search input { - padding: 3px 5px; - max-width: 97%; - width: 90px; - line-height: 2; - } - - .nav_menu .search input:focus { - width: 400px; - } - .dropdown-target:target ~ .dropdown-toggle::after { background-color: var(--background-color-light); border-top: 1px solid var(--border-color); diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index f5d418f15..4ff9d2812 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -1093,21 +1093,6 @@ a.signin { margin: 5px 0; } - .nav_menu .search { - display: inline-block; - max-width: 97%; - } - - .nav_menu .search input { - max-width: 97%; - width: 90px; - line-height: 2; - } - - .nav_menu .search input:focus { - width: 400px; - } - .dropdown-target:target ~ .dropdown-toggle::after { border-top: 1px solid var(--border-color-grey-dark); border-left: 1px solid var(--border-color-grey-dark); diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index cc8d72da4..8a71232bb 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -1093,21 +1093,6 @@ a.signin { margin: 5px 0; } - .nav_menu .search { - display: inline-block; - max-width: 97%; - } - - .nav_menu .search input { - max-width: 97%; - width: 90px; - line-height: 2; - } - - .nav_menu .search input:focus { - width: 400px; - } - .dropdown-target:target ~ .dropdown-toggle::after { border-top: 1px solid var(--border-color-grey-dark); border-right: 1px solid var(--border-color-grey-dark); diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index e66861563..859e34f35 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -1117,10 +1117,6 @@ a.btn { margin: 5px 0; } - .nav_menu .search { - display: none; - } - .nav_menu .search input { padding: 3px 5px; max-width: 97%; diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index a823dc93d..216c84262 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -1117,10 +1117,6 @@ a.btn { margin: 5px 0; } - .nav_menu .search { - display: none; - } - .nav_menu .search input { padding: 3px 5px; max-width: 97%; diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 02fd9471f..6478c0581 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -342,12 +342,32 @@ form th { font-weight: bold; margin: 0 0 0 -14px; } +.dropdown-menu .help a { + color: var(--color-text-light); + text-decoration: underline; + text-decoration-style: dotted; +} +.dropdown-menu .help a:hover { + text-decoration-style: solid; +} .dropdown-menu .input select, .dropdown-menu .input input { margin: 0 auto 5px; padding: 2px 5px; } +#dropdown-search-wrapper .dropdown-menu { + padding-top: 1rem; + padding-bottom: 0.25rem; +} +#dropdown-search-wrapper .dropdown-menu .stick.search { + width: 100%; +} +#dropdown-search-wrapper .dropdown-menu .stick.search input[type=search] { + width: 100%; + border: 0; +} + .labels .dropdown-menu, .tags .dropdown-menu, .share .dropdown-menu { @@ -912,6 +932,9 @@ a.signin { .dropdown { position: relative; } + .dropdown .dropdown-menu { + width: auto; + } #new-article { margin-top: 2rem; width: 100%; @@ -1151,10 +1174,15 @@ button.as-link { left: 0; right: auto; } + #nav_menu_actions ul.dropdown-menu::after { display: none; } +#nav_menu_actions .dropdown.only-mobile { + display: initial !important; +} + #nav_menu_read_all ul.dropdown-menu { right: 0; left: auto; diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 9cee872c9..a4ba4f159 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -342,12 +342,32 @@ form th { font-weight: bold; margin: 0 -14px 0 0; } +.dropdown-menu .help a { + color: var(--color-text-light); + text-decoration: underline; + text-decoration-style: dotted; +} +.dropdown-menu .help a:hover { + text-decoration-style: solid; +} .dropdown-menu .input select, .dropdown-menu .input input { margin: 0 auto 5px; padding: 2px 5px; } +#dropdown-search-wrapper .dropdown-menu { + padding-top: 1rem; + padding-bottom: 0.25rem; +} +#dropdown-search-wrapper .dropdown-menu .stick.search { + width: 100%; +} +#dropdown-search-wrapper .dropdown-menu .stick.search input[type=search] { + width: 100%; + border: 0; +} + .labels .dropdown-menu, .tags .dropdown-menu, .share .dropdown-menu { @@ -912,6 +932,9 @@ a.signin { .dropdown { position: relative; } + .dropdown .dropdown-menu { + width: auto; + } #new-article { margin-top: 2rem; width: 100%; @@ -1151,10 +1174,15 @@ button.as-link { right: 0; left: auto; } + #nav_menu_actions ul.dropdown-menu::after { display: none; } +#nav_menu_actions .dropdown.only-mobile { + display: initial !important; +} + #nav_menu_read_all ul.dropdown-menu { left: 0; right: auto; diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index c3092b2e1..cc7aed10e 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -455,6 +455,16 @@ form { } } + .help a { + color: var(--color-text-light); + text-decoration: underline; + text-decoration-style: dotted; + + &:hover { + text-decoration-style: solid; + } + } + .input { select, input { @@ -464,6 +474,20 @@ form { } } +#dropdown-search-wrapper .dropdown-menu { + padding-top: 1rem; + padding-bottom: 0.25rem; + + .stick.search { + width: 100%; + + input[type="search"] { + width: 100%; + border: 0; + } + } +} + .labels, .tags, .share { @@ -1171,6 +1195,10 @@ a.signin { .dropdown { position: relative; + + .dropdown-menu { + width: auto; + } } #new-article { @@ -1476,6 +1504,10 @@ button.as-link { display: none; } } + + .dropdown.only-mobile { + display: initial !important; + } } #nav_menu_read_all { diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index a546de43a..d142308bc 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -115,6 +115,10 @@ h3 { display: none; } +.only-mobile { + display: none !important; +} + /*=== Paragraphs */ p { margin: 1rem 0 0.5rem; @@ -443,7 +447,7 @@ td.numeric { flex-shrink: 0; } -.stick form { +#nav_menu_read_all form { display: inline-flex; } @@ -1933,7 +1937,6 @@ input:checked + .slide-container .properties { } .nav-login, -.nav_menu .search, .aside .toggle_aside, #slider .toggle_aside, .nav_menu .toggle_aside, @@ -2008,6 +2011,10 @@ input:checked + .slide-container .properties { display: none; } + .only-mobile { + display: unset !important; + } + .header > .item { padding: 5px; } @@ -2076,6 +2083,23 @@ input:checked + .slide-container .properties { margin: 2px 0; } + .dropdown .dropdown-menu .item .stick .btn { + margin: 0; + } + + .dropdown .dropdown-menu .item form { + display: block; + text-align: center; + } + + .dropdown .dropdown-menu .item .stick.search { + width: calc(100% - 20px); + } + + .dropdown .dropdown-menu .item .stick.search input { + width: 95%; + } + .dropdown .dropdown-menu .item button.as-link, .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active { width: 100%; @@ -2138,7 +2162,6 @@ input:checked + .slide-container .properties { } .nav_menu .toggle_aside, - .nav_menu .search, #panel .close img { display: inline-block; } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 610144fcb..6353f1a39 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -115,6 +115,10 @@ h3 { display: none; } +.only-mobile { + display: none !important; +} + /*=== Paragraphs */ p { margin: 1rem 0 0.5rem; @@ -443,7 +447,7 @@ td.numeric { flex-shrink: 0; } -.stick form { +#nav_menu_read_all form { display: inline-flex; } @@ -1933,7 +1937,6 @@ input:checked + .slide-container .properties { } .nav-login, -.nav_menu .search, .aside .toggle_aside, #slider .toggle_aside, .nav_menu .toggle_aside, @@ -2008,6 +2011,10 @@ input:checked + .slide-container .properties { display: none; } + .only-mobile { + display: unset !important; + } + .header > .item { padding: 5px; } @@ -2076,6 +2083,23 @@ input:checked + .slide-container .properties { margin: 2px 0; } + .dropdown .dropdown-menu .item .stick .btn { + margin: 0; + } + + .dropdown .dropdown-menu .item form { + display: block; + text-align: center; + } + + .dropdown .dropdown-menu .item .stick.search { + width: calc(100% - 20px); + } + + .dropdown .dropdown-menu .item .stick.search input { + width: 95%; + } + .dropdown .dropdown-menu .item button.as-link, .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active { width: 100%; @@ -2138,7 +2162,6 @@ input:checked + .slide-container .properties { } .nav_menu .toggle_aside, - .nav_menu .search, #panel .close img { display: inline-block; } -- cgit v1.2.3 From 9f221e9c5138e6f84f878eed68afe16aedaee57f Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 30 Jan 2023 20:34:28 +0100 Subject: Fix: dropdowns' overflow (#5055) --- app/views/index/reader.phtml | 4 ++-- p/themes/base-theme/frss.css | 43 ++++++++++++++++++++++++++++++---------- p/themes/base-theme/frss.rtl.css | 43 ++++++++++++++++++++++++++++++---------- 3 files changed, 66 insertions(+), 24 deletions(-) (limited to 'p/themes/base-theme') diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml index a2ea0e989..9dcd07435 100644 --- a/app/views/index/reader.phtml +++ b/app/views/index/reader.phtml @@ -87,8 +87,8 @@ $MAX_TAGS_DISPLAYED = FreshRSS_Context::$user_conf->show_tags_max; if (!empty($remainingTags)) { // more than 7 tags: show dropdown menu ?>