diff options
Diffstat (limited to 'p')
| -rw-r--r-- | p/scripts/category.js | 2 | ||||
| -rw-r--r-- | p/themes/Alternative-Dark/adark.css | 3 | ||||
| -rw-r--r-- | p/themes/Alternative-Dark/adark.rtl.css | 3 | ||||
| -rw-r--r-- | p/themes/Ansum/_components.scss | 2 | ||||
| -rw-r--r-- | p/themes/Ansum/ansum.css | 9 | ||||
| -rw-r--r-- | p/themes/Ansum/ansum.rtl.css | 9 | ||||
| -rw-r--r-- | p/themes/Flat/flat.css | 2 | ||||
| -rw-r--r-- | p/themes/Flat/flat.rtl.css | 2 | ||||
| -rw-r--r-- | p/themes/Mapco/_components.scss | 2 | ||||
| -rw-r--r-- | p/themes/Mapco/mapco.css | 7 | ||||
| -rw-r--r-- | p/themes/Mapco/mapco.rtl.css | 7 | ||||
| -rw-r--r-- | p/themes/Nord/nord.css | 17 | ||||
| -rw-r--r-- | p/themes/Nord/nord.rtl.css | 17 | ||||
| -rw-r--r-- | p/themes/Origine/origine.css | 10 | ||||
| -rw-r--r-- | p/themes/Origine/origine.rtl.css | 10 | ||||
| -rw-r--r-- | p/themes/Pafat/pafat.css | 2 | ||||
| -rw-r--r-- | p/themes/Pafat/pafat.rtl.css | 2 | ||||
| -rw-r--r-- | p/themes/Swage/swage.css | 2 | ||||
| -rw-r--r-- | p/themes/Swage/swage.rtl.css | 2 | ||||
| -rw-r--r-- | p/themes/Swage/swage.scss | 2 | ||||
| -rw-r--r-- | p/themes/base-theme/base.css | 6 | ||||
| -rw-r--r-- | p/themes/base-theme/base.rtl.css | 6 | ||||
| -rw-r--r-- | p/themes/base-theme/frss.css | 44 | ||||
| -rw-r--r-- | p/themes/base-theme/frss.rtl.css | 44 |
24 files changed, 95 insertions, 117 deletions
diff --git a/p/scripts/category.js b/p/scripts/category.js index d412bd6fb..1730f66db 100644 --- a/p/scripts/category.js +++ b/p/scripts/category.js @@ -25,7 +25,7 @@ function dragend_process(t) { if (p.childElementCount <= 1) { p.insertAdjacentHTML('afterbegin', - '<li class="item feed disabled"><div class="alert-warn">' + context.i18n.category_empty + '</div></li>'); + '<li class="item feed disabled emptyCategory"><div class="alert-warn">' + context.i18n.category_empty + '</div></li>'); } } } diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 6db38242d..bd0cad66b 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -457,8 +457,6 @@ kbd { } .box .box-title { - margin: 0; - padding: 5px 10px; background: var(--background-color-light); border-radius: 5px 5px 0 0; } @@ -475,7 +473,6 @@ kbd { .box .box-content .item { font-size: 0.9rem; - line-height: 2.5; } /*=== Tree */ diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index a787d0bf3..bdaec3db6 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -457,8 +457,6 @@ kbd { } .box .box-title { - margin: 0; - padding: 5px 10px; background: var(--background-color-light); border-radius: 5px 5px 0 0; } @@ -475,7 +473,6 @@ kbd { .box .box-content .item { font-size: 0.9rem; - line-height: 2.5; } /*=== Tree */ diff --git a/p/themes/Ansum/_components.scss b/p/themes/Ansum/_components.scss index 88ab37296..44834b2c5 100644 --- a/p/themes/Ansum/_components.scss +++ b/p/themes/Ansum/_components.scss @@ -221,8 +221,6 @@ box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25); .box-title { - margin: 0; - padding: 0.5rem 0.75rem; background: variables.$grey-light; color: variables.$main-font-color; border-radius: 2px 2px 0 0; diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 3967e8c11..9bb6ce263 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -376,8 +376,6 @@ th { box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25); } .box .box-title { - margin: 0; - padding: 0.5rem 0.75rem; background: #f5f0ec; color: #363330; border-radius: 2px 2px 0 0; @@ -910,12 +908,8 @@ main.prompt { box-shadow: 0 2px 5px #ccc; } .content pre, .content.thin pre { - margin: 10px auto; - padding: 10px 20px; - overflow: auto; background: #221f1d; color: #fff; - font-size: 0.9rem; border-radius: 3px; } .content pre code, .content.thin pre code { @@ -924,9 +918,8 @@ main.prompt { border: none; } .content code, .content.thin code { - padding: 2px 5px; background: #fcfaf8; - border: 1px solid #f5f0ec; + border-color: #f5f0ec; border-radius: 3px; } .content blockquote, .content.thin blockquote { diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index 88ed5248a..927b67db8 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -376,8 +376,6 @@ th { box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25); } .box .box-title { - margin: 0; - padding: 0.5rem 0.75rem; background: #f5f0ec; color: #363330; border-radius: 2px 2px 0 0; @@ -910,12 +908,8 @@ main.prompt { box-shadow: 0 2px 5px #ccc; } .content pre, .content.thin pre { - margin: 10px auto; - padding: 10px 20px; - overflow: auto; background: #221f1d; color: #fff; - font-size: 0.9rem; border-radius: 3px; } .content pre code, .content.thin pre code { @@ -924,9 +918,8 @@ main.prompt { border: none; } .content code, .content.thin code { - padding: 2px 5px; background: #fcfaf8; - border: 1px solid #f5f0ec; + border-color: #f5f0ec; border-radius: 3px; } .content blockquote, .content.thin blockquote { diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 0beb474cf..53a8e57c2 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -424,8 +424,6 @@ th { } .box .box-title { - margin: 0; - padding: 5px 10px; background: #ecf0f1; color: #333; border-bottom: 1px solid #ddd; diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 52f513337..17c70439b 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -424,8 +424,6 @@ th { } .box .box-title { - margin: 0; - padding: 5px 10px; background: #ecf0f1; color: #333; border-bottom: 1px solid #ddd; diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss index 5f7e04e56..7b2526428 100644 --- a/p/themes/Mapco/_components.scss +++ b/p/themes/Mapco/_components.scss @@ -209,8 +209,6 @@ box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25); .box-title { - margin: 0; - padding: 5px 10px; background: variables.$grey-light; color: variables.$main-font-color; border-radius: 2px 2px 0 0; diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 130258de8..a1821bd01 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -366,8 +366,6 @@ th { box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25); } .box .box-title { - margin: 0; - padding: 5px 10px; background: #eff0f2; color: #303136; border-radius: 2px 2px 0 0; @@ -930,12 +928,8 @@ main.prompt { box-shadow: 0 2px 5px #ccc; } .content pre, .content.thin pre { - margin: 10px auto; - padding: 10px 20px; - overflow: auto; background: #1d1e22; color: #fff; - font-size: 0.9rem; border-radius: 3px; } .content pre code, .content.thin pre code { @@ -944,7 +938,6 @@ main.prompt { border: none; } .content code, .content.thin code { - padding: 2px 5px; background: #fde3e3; color: #e41212; font-size: 1rem; diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index f1ebe923e..2880bde0c 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -366,8 +366,6 @@ th { box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25); } .box .box-title { - margin: 0; - padding: 5px 10px; background: #eff0f2; color: #303136; border-radius: 2px 2px 0 0; @@ -930,12 +928,8 @@ main.prompt { box-shadow: 0 2px 5px #ccc; } .content pre, .content.thin pre { - margin: 10px auto; - padding: 10px 20px; - overflow: auto; background: #1d1e22; color: #fff; - font-size: 0.9rem; border-radius: 3px; } .content pre code, .content.thin pre code { @@ -944,7 +938,6 @@ main.prompt { border: none; } .content code, .content.thin code { - padding: 2px 5px; background: #fde3e3; color: #e41212; font-size: 1rem; diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 16782895f..575ad2b70 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -509,22 +509,19 @@ img.favicon { border-radius: 10px; } -.box .box-title { - padding: 5px 10px; -} - -.box .box-title, -.box .box-content { - padding: 1rem 1rem .25rem 1rem; -} - .box .box-content { padding-bottom: 1.5rem; list-style: none; } +.box .box-title { + padding-top: 0.75rem; + padding-bottom: 0.5rem; + border-bottom: 1px solid var(--nordX-background); +} + .box .box-title .configure { - padding-right: .5rem; + padding-right: .25rem; } .box .box-title h2 { diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index 84eca7e05..99f73a0c4 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -509,22 +509,19 @@ img.favicon { border-radius: 10px; } -.box .box-title { - padding: 5px 10px; -} - -.box .box-title, -.box .box-content { - padding: 1rem 1rem .25rem 1rem; -} - .box .box-content { padding-bottom: 1.5rem; list-style: none; } +.box .box-title { + padding-top: 0.75rem; + padding-bottom: 0.5rem; + border-bottom: 1px solid var(--nordX-background); +} + .box .box-title .configure { - padding-left: .5rem; + padding-left: .25rem; } .box .box-title h2 { diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 2aace83eb..702ea855a 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -567,8 +567,6 @@ a:hover .icon { } .box .box-title { - margin: 0; - padding: 5px 10px; background-color: var(--background-color-grey); border-bottom: 1px solid var(--border-color); border-radius: 5px 5px 0 0; @@ -578,16 +576,8 @@ a:hover .icon { margin-right: 4px; } -.box .box-content { - padding-left: 30px; - min-height: 2.5em; - max-height: 260px; -} - .box .box-content .item { padding-bottom: 0.25rem; - font-size: 0.9rem; - line-height: 1.5; } /*=== Tree */ diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 9010ef8dc..5879a9e70 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -567,8 +567,6 @@ a:hover .icon { } .box .box-title { - margin: 0; - padding: 5px 10px; background-color: var(--background-color-grey); border-bottom: 1px solid var(--border-color); border-radius: 5px 5px 0 0; @@ -578,16 +576,8 @@ a:hover .icon { margin-left: 4px; } -.box .box-content { - padding-right: 30px; - min-height: 2.5em; - max-height: 260px; -} - .box .box-content .item { padding-bottom: 0.25rem; - font-size: 0.9rem; - line-height: 1.5; } /*=== Tree */ diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index d70b2f111..4633d30cd 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -458,8 +458,6 @@ th { } .box .box-title { - margin: 0; - padding: 5px 10px; background-color: var(--background-color-grey); border-bottom: 1px solid var(--border-color-grey-dark); border-radius: 5px 5px 0 0; diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 5a5489d2b..8d98fdd80 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -458,8 +458,6 @@ th { } .box .box-title { - margin: 0; - padding: 5px 10px; background-color: var(--background-color-grey); border-bottom: 1px solid var(--border-color-grey-dark); border-radius: 5px 5px 0 0; diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 0c1e13194..d30e427dd 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -468,7 +468,6 @@ form th { } .box .box-title { margin: 0; - padding: 7px 10px; background-color: var(--color-background-aside); color: var(--color-text-light); border-bottom: 1px solid var(--color-border-light-darker); @@ -483,7 +482,6 @@ form th { filter: invert(56%) sepia(87%) saturate(1185%) hue-rotate(327deg) brightness(104%) contrast(96%); } .box .box-content { - padding-left: 30px; max-height: 260px; } .box .box-content .item { diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 77967fa76..e8656d48f 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -468,7 +468,6 @@ form th { } .box .box-title { margin: 0; - padding: 7px 10px; background-color: var(--color-background-aside); color: var(--color-text-light); border-bottom: 1px solid var(--color-border-light-darker); @@ -483,7 +482,6 @@ form th { filter: invert(56%) sepia(87%) saturate(1185%) hue-rotate(327deg) brightness(104%) contrast(96%); } .box .box-content { - padding-right: 30px; max-height: 260px; } .box .box-content .item { diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 8d748327c..ea7049086 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -599,7 +599,6 @@ form { .box-title { margin: 0; - padding: 7px 10px; background-color: var(--color-background-aside); color: var(--color-text-light); border-bottom: 1px solid var(--color-border-light-darker); @@ -620,7 +619,6 @@ form { } .box-content { - padding-left: 30px; max-height: 260px; .item { diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index 776d743ac..e8752bb96 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -314,18 +314,12 @@ th { } .box .box-title { - margin: 0; - padding: 5px 10px; } .box .box-content { - max-height: 260px; } .box .box-content .item { - padding: 0 10px; - font-size: 0.9rem; - line-height: 2.5; } /*=== Tree */ diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index c8f213bda..e614bdafc 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -314,18 +314,12 @@ th { } .box .box-title { - margin: 0; - padding: 5px 10px; } .box .box-content { - max-height: 260px; } .box .box-content .item { - padding: 0 10px; - font-size: 0.9rem; - line-height: 2.5; } /*=== Tree */ diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 0c53deb06..2f7b977ec 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -204,7 +204,15 @@ img.favicon { font-style: italic; } -.feed.mute .item-title .title::before { +.category .title.error::before, +.item.feed.error .item-title .title::before, +.box-content .item.feed.error .item-title::before { + content: " ⚠ "; + color: var(--frss-font-color-error); +} + +.item.feed.mute .item-title .title::before, +.box .box-content .item.feed.mute .item-title::before { content: '🔇 '; } @@ -503,6 +511,10 @@ td.numeric { overflow: hidden; } +.btn-icon-text > .icon { + margin-right: 0.25rem; +} + .btn-important { font-weight: bold; } @@ -901,6 +913,11 @@ input[type="checkbox"]:focus-visible { .box .box-title { position: relative; + padding: 0.25rem 1rem; +} + +.box .box-title .icon { + margin-bottom: 0.25rem; } .box .box-title h2 { @@ -914,16 +931,35 @@ input[type="checkbox"]:focus-visible { } .box .box-content { - padding: 8px 8px 8px 16px; + padding: 0.5rem 0.5rem 0.5rem 1.75rem; display: block; min-height: 2.5em; max-height: 260px; overflow: auto; } +.box .box-content .item { + font-size: 0.9rem; + line-height: 1.5; + text-indent: -3rem; +} + .box .box-content .item.feed { + padding: var(--frss-padding-top-bottom) 0 calc(var(--frss-padding-top-bottom) / 2) 2rem; display: block; - padding-top: var(--frss-padding-top-bottom); +} + +.box .box-content .item.feed.emptyCategory { + padding: 0.5rem 1rem 0.5rem 0; +} + +.box .box-content .item.feed .favicon { + margin-right: 0.25rem; +} + +.box .box-content .item.feed .icon { + margin-left: 0.25rem; + margin-right: 0.5rem; } .box .box-content .item.feed.moved { @@ -2056,8 +2092,6 @@ html.slider-active { } .item.share.error a::after, -.category .title.error::before, -.item.feed.error .item-title .title::before, .theme-preview-list .properties .error::before { content: " ⚠ "; color: var(--frss-font-color-error); diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 59fe68aac..75ae5e92b 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -204,7 +204,15 @@ img.favicon { font-style: italic; } -.feed.mute .item-title .title::before { +.category .title.error::before, +.item.feed.error .item-title .title::before, +.box-content .item.feed.error .item-title::before { + content: " ⚠ "; + color: var(--frss-font-color-error); +} + +.item.feed.mute .item-title .title::before, +.box .box-content .item.feed.mute .item-title::before { content: '🔇 '; } @@ -503,6 +511,10 @@ td.numeric { overflow: hidden; } +.btn-icon-text > .icon { + margin-left: 0.25rem; +} + .btn-important { font-weight: bold; } @@ -901,6 +913,11 @@ input[type="checkbox"]:focus-visible { .box .box-title { position: relative; + padding: 0.25rem 1rem; +} + +.box .box-title .icon { + margin-bottom: 0.25rem; } .box .box-title h2 { @@ -914,16 +931,35 @@ input[type="checkbox"]:focus-visible { } .box .box-content { - padding: 8px 16px 8px 8px; + padding: 0.5rem 1.75rem 0.5rem 0.5rem; display: block; min-height: 2.5em; max-height: 260px; overflow: auto; } +.box .box-content .item { + font-size: 0.9rem; + line-height: 1.5; + text-indent: -3rem; +} + .box .box-content .item.feed { + padding: var(--frss-padding-top-bottom) 2rem calc(var(--frss-padding-top-bottom) / 2) 0; display: block; - padding-top: var(--frss-padding-top-bottom); +} + +.box .box-content .item.feed.emptyCategory { + padding: 0.5rem 0 0.5rem 1rem; +} + +.box .box-content .item.feed .favicon { + margin-left: 0.25rem; +} + +.box .box-content .item.feed .icon { + margin-right: 0.25rem; + margin-left: 0.5rem; } .box .box-content .item.feed.moved { @@ -2056,8 +2092,6 @@ html.slider-active { } .item.share.error a::after, -.category .title.error::before, -.item.feed.error .item-title .title::before, .theme-preview-list .properties .error::before { content: " ⚠ "; color: var(--frss-font-color-error); |
