From 926ce8ff5f2595bdf29f6a8fb61e8e40adb1251a Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 21 Feb 2022 19:21:12 +0100 Subject: Improved: icons in same color (#4212) * delete white plus icon * delete unused icons * Themes * Update flat.css * minimized XML of SVG icons * RTL CSS fix * Update ansum.css Co-authored-by: Alexandre Alapetite --- p/themes/Ansum/_forms.scss | 4 +++ p/themes/Ansum/ansum.css | 9 ++++++- p/themes/Ansum/ansum.rtl.css | 9 ++++++- p/themes/BlueLagoon/BlueLagoon.css | 4 +++ p/themes/BlueLagoon/BlueLagoon.rtl.css | 4 +++ p/themes/Flat/flat.css | 13 ++++++++++ p/themes/Flat/flat.rtl.css | 13 ++++++++++ p/themes/Flat/icons/add.svg | 30 ---------------------- p/themes/Flat/icons/bookmark-tag.svg | 3 --- p/themes/Flat/icons/category.svg | 31 ----------------------- p/themes/Flat/icons/refresh.svg | 31 ----------------------- p/themes/Flat/icons/rss.svg | 6 ----- p/themes/Flat/icons/search.svg | 32 ------------------------ p/themes/Flat/icons/sort-down.svg | 3 --- p/themes/Flat/icons/sort-up.svg | 3 --- p/themes/Flat/icons/view-global.svg | 1 - p/themes/Flat/icons/view-normal.svg | 1 - p/themes/Flat/icons/view-reader.svg | 1 - p/themes/Origine-compact/origine-compact.css | 5 ++++ p/themes/Origine-compact/origine-compact.rtl.css | 5 ++++ p/themes/Origine/origine.css | 4 +++ p/themes/Origine/origine.rtl.css | 4 +++ p/themes/Pafat/pafat.css | 4 +++ p/themes/Pafat/pafat.rtl.css | 4 +++ p/themes/Screwdriver/screwdriver.css | 4 +++ p/themes/Screwdriver/screwdriver.rtl.css | 4 +++ p/themes/base-theme/template.css | 4 +++ p/themes/base-theme/template.rtl.css | 4 +++ p/themes/icons/add-white.svg | 5 ---- p/themes/icons/add.svg | 8 +++--- p/themes/icons/all.svg | 10 +++----- p/themes/icons/category-white.svg | 7 ------ p/themes/icons/close.svg | 10 +++----- p/themes/icons/down.svg | 8 +++--- p/themes/icons/help.svg | 14 +++++------ p/themes/icons/import.svg | 1 - p/themes/icons/link.svg | 14 +++++------ p/themes/icons/login.svg | 12 ++++----- p/themes/icons/logout.svg | 12 ++++----- p/themes/icons/next.svg | 8 +++--- p/themes/icons/non-starred.svg | 8 +++--- p/themes/icons/prev.svg | 8 +++--- p/themes/icons/read.svg | 8 +++--- p/themes/icons/share.svg | 14 +++++------ p/themes/icons/stats.svg | 10 ++++---- p/themes/icons/tag.svg | 8 +++--- p/themes/icons/up.svg | 8 +++--- 47 files changed, 163 insertions(+), 250 deletions(-) delete mode 100644 p/themes/Flat/icons/add.svg delete mode 100644 p/themes/Flat/icons/bookmark-tag.svg delete mode 100644 p/themes/Flat/icons/category.svg delete mode 100644 p/themes/Flat/icons/refresh.svg delete mode 100644 p/themes/Flat/icons/rss.svg delete mode 100644 p/themes/Flat/icons/search.svg delete mode 100644 p/themes/Flat/icons/sort-down.svg delete mode 100644 p/themes/Flat/icons/sort-up.svg delete mode 100644 p/themes/Flat/icons/view-global.svg delete mode 100644 p/themes/Flat/icons/view-normal.svg delete mode 100644 p/themes/Flat/icons/view-reader.svg delete mode 100644 p/themes/icons/add-white.svg delete mode 100644 p/themes/icons/category-white.svg delete mode 100644 p/themes/icons/import.svg (limited to 'p') diff --git a/p/themes/Ansum/_forms.scss b/p/themes/Ansum/_forms.scss index 062cfc2fd..0fc90894b 100644 --- a/p/themes/Ansum/_forms.scss +++ b/p/themes/Ansum/_forms.scss @@ -30,6 +30,10 @@ &:active { background: variables.$main-first-alt; } + + img { + filter: brightness(3); + } } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index e709e2acb..b06f01aaa 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -81,6 +81,9 @@ .btn.btn-important:hover, .btn.btn-important:active { background: #b7641d; } +.btn.btn-important img { + filter: brightness(3); +} .btn.btn-attention { background: #f5633e; color: #fff; @@ -357,6 +360,7 @@ form th { background: #363330; color: #f5f0ec; } + #load_more.loading, #load_more.loading:hover { background: url("loader.gif") center center no-repeat #34495e; @@ -867,6 +871,10 @@ form th { text-align: center; } +#new-article:hover { + background: #b7641d; +} + #new-article > a { line-height: 3em; font-weight: bold; @@ -875,7 +883,6 @@ form th { #new-article > a:hover { text-decoration: none; - background: #b7641d; } /*=== Day indication */ diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index d8dc71e15..6842ee5e2 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -81,6 +81,9 @@ .btn.btn-important:hover, .btn.btn-important:active { background: #b7641d; } +.btn.btn-important img { + filter: brightness(3); +} .btn.btn-attention { background: #f5633e; color: #fff; @@ -357,6 +360,7 @@ form th { background: #363330; color: #f5f0ec; } + #load_more.loading, #load_more.loading:hover { background: url("loader.gif") center center no-repeat #34495e; @@ -867,6 +871,10 @@ form th { text-align: center; } +#new-article:hover { + background: #b7641d; +} + #new-article > a { line-height: 3em; font-weight: bold; @@ -875,7 +883,6 @@ form th { #new-article > a:hover { text-decoration: none; - background: #b7641d; } /*=== Day indication */ diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index 44c2c001f..12a5a334c 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -235,6 +235,10 @@ a.btn { font-weight: normal; } +.btn-important .icon { + filter: brightness(3); +} + .btn-important:active { background: linear-gradient(0deg, #e4992c 0%, #d18114 100%) #e4992c; background: -webkit-linear-gradient(bottom, #e4992c 0%, #d18114 100%); diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index 5ed6788fe..a1c510bbd 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -235,6 +235,10 @@ a.btn { font-weight: normal; } +.btn-important .icon { + filter: brightness(3); +} + .btn-important:active { background: linear-gradient(0deg, #e4992c 0%, #d18114 100%) #e4992c; background: -webkit-linear-gradient(bottom, #e4992c 0%, #d18114 100%); diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index e985171c6..3822c7c35 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -211,6 +211,15 @@ a.btn { background: #2980b9; } +.btn .icon { + filter: brightness(5); +} + +#toggle-unread .icon, +#toggle-starred .icon { + filter: none; +} + .btn-important { font-weight: normal; background: #e67e22; @@ -224,6 +233,10 @@ a.btn { background: #d35400; } +.btn-important .icon { + filter: brightness(3); +} + .btn-attention { background: #e74c3c; color: #fff; diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index f1fa89d13..ff9836b6d 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -211,6 +211,15 @@ a.btn { background: #2980b9; } +.btn .icon { + filter: brightness(5); +} + +#toggle-unread .icon, +#toggle-starred .icon { + filter: none; +} + .btn-important { font-weight: normal; background: #e67e22; @@ -224,6 +233,10 @@ a.btn { background: #d35400; } +.btn-important .icon { + filter: brightness(3); +} + .btn-attention { background: #e74c3c; color: #fff; diff --git a/p/themes/Flat/icons/add.svg b/p/themes/Flat/icons/add.svg deleted file mode 100644 index 15767a3ad..000000000 --- a/p/themes/Flat/icons/add.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/p/themes/Flat/icons/bookmark-tag.svg b/p/themes/Flat/icons/bookmark-tag.svg deleted file mode 100644 index f087931c6..000000000 --- a/p/themes/Flat/icons/bookmark-tag.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/p/themes/Flat/icons/category.svg b/p/themes/Flat/icons/category.svg deleted file mode 100644 index 5e61aeea5..000000000 --- a/p/themes/Flat/icons/category.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/p/themes/Flat/icons/refresh.svg b/p/themes/Flat/icons/refresh.svg deleted file mode 100644 index 8f95bf443..000000000 --- a/p/themes/Flat/icons/refresh.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/p/themes/Flat/icons/rss.svg b/p/themes/Flat/icons/rss.svg deleted file mode 100644 index 4d4faf7ae..000000000 --- a/p/themes/Flat/icons/rss.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/p/themes/Flat/icons/search.svg b/p/themes/Flat/icons/search.svg deleted file mode 100644 index bca7571b4..000000000 --- a/p/themes/Flat/icons/search.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/p/themes/Flat/icons/sort-down.svg b/p/themes/Flat/icons/sort-down.svg deleted file mode 100644 index 2db5d7963..000000000 --- a/p/themes/Flat/icons/sort-down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/p/themes/Flat/icons/sort-up.svg b/p/themes/Flat/icons/sort-up.svg deleted file mode 100644 index 7103b572f..000000000 --- a/p/themes/Flat/icons/sort-up.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/p/themes/Flat/icons/view-global.svg b/p/themes/Flat/icons/view-global.svg deleted file mode 100644 index 9d2cd0f32..000000000 --- a/p/themes/Flat/icons/view-global.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/p/themes/Flat/icons/view-normal.svg b/p/themes/Flat/icons/view-normal.svg deleted file mode 100644 index 8eda2047e..000000000 --- a/p/themes/Flat/icons/view-normal.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/p/themes/Flat/icons/view-reader.svg b/p/themes/Flat/icons/view-reader.svg deleted file mode 100644 index 0e4f60a1a..000000000 --- a/p/themes/Flat/icons/view-reader.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css index 953376790..e23bac24c 100644 --- a/p/themes/Origine-compact/origine-compact.css +++ b/p/themes/Origine-compact/origine-compact.css @@ -230,6 +230,10 @@ a.btn, box-shadow: none; } +.btn-important .icon { + filter: brightness(3); +} + .btn-attention { background: #e95b57; background: linear-gradient(to bottom, #e95b57, #bd362f); @@ -255,6 +259,7 @@ a.btn, box-shadow: none; } + /*=== Navigation */ .nav-list .nav-header, .nav-list .item { diff --git a/p/themes/Origine-compact/origine-compact.rtl.css b/p/themes/Origine-compact/origine-compact.rtl.css index 15063b8b2..a8df84556 100644 --- a/p/themes/Origine-compact/origine-compact.rtl.css +++ b/p/themes/Origine-compact/origine-compact.rtl.css @@ -230,6 +230,10 @@ a.btn, box-shadow: none; } +.btn-important .icon { + filter: brightness(3); +} + .btn-attention { background: #e95b57; background: linear-gradient(to bottom, #e95b57, #bd362f); @@ -255,6 +259,7 @@ a.btn, box-shadow: none; } + /*=== Navigation */ .nav-list .nav-header, .nav-list .item { diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index ca75f3414..dd2b864eb 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -230,6 +230,10 @@ a.btn { box-shadow: none; } +.btn-important .icon { + filter: brightness(3); +} + .btn-attention { background: #e95b57; background: linear-gradient(to bottom, #ea4a46, #911811); diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 14ee46bd9..477c9351b 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -230,6 +230,10 @@ a.btn { box-shadow: none; } +.btn-important .icon { + filter: brightness(3); +} + .btn-attention { background: #e95b57; background: linear-gradient(to bottom, #ea4a46, #911811); diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 04d406459..6da93f502 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -206,6 +206,10 @@ a.btn { box-shadow: none; } +.btn-important .icon { + filter: brightness(3); +} + .btn-attention { background: #d9534f; color: #fff; diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 164cd4f9a..2518db524 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -206,6 +206,10 @@ a.btn { box-shadow: none; } +.btn-important .icon { + filter: brightness(3); +} + .btn-attention { background: #d9534f; color: #fff; diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 288bf95ca..f06dd9e8a 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -240,6 +240,10 @@ a.btn { background: -webkit-linear-gradient(bottom, #e4992c 0%, #d18114 100%); } +.btn-important .icon { + filter: brightness(3); +} + .btn-attention { background: #e95b57; background: linear-gradient(to bottom, #e95b57, #bd362f); diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index 88af06bcd..6c512caf6 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -240,6 +240,10 @@ a.btn { background: -webkit-linear-gradient(bottom, #e4992c 0%, #d18114 100%); } +.btn-important .icon { + filter: brightness(3); +} + .btn-attention { background: #e95b57; background: linear-gradient(to bottom, #e95b57, #bd362f); diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index 65befae01..f0c4c0dfc 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -65,6 +65,10 @@ p.help, .prompt p.help { margin: 5px 0 0.5em; } +p.help .icon { + filter: brightness(2); +} + sup { line-height: 25px; position: relative; diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.css index c816179b1..9bbe6fa9f 100644 --- a/p/themes/base-theme/template.rtl.css +++ b/p/themes/base-theme/template.rtl.css @@ -65,6 +65,10 @@ p.help, .prompt p.help { margin: 5px 0 0.5em; } +p.help .icon { + filter: brightness(2); +} + sup { line-height: 25px; position: relative; diff --git a/p/themes/icons/add-white.svg b/p/themes/icons/add-white.svg deleted file mode 100644 index c1465ca94..000000000 --- a/p/themes/icons/add-white.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/p/themes/icons/add.svg b/p/themes/icons/add.svg index 652491775..bcb3e866f 100644 --- a/p/themes/icons/add.svg +++ b/p/themes/icons/add.svg @@ -1,5 +1,3 @@ - - - - - \ No newline at end of file + + + diff --git a/p/themes/icons/all.svg b/p/themes/icons/all.svg index aeaa96277..00c63170d 100644 --- a/p/themes/icons/all.svg +++ b/p/themes/icons/all.svg @@ -1,7 +1,3 @@ - - - - - - - \ No newline at end of file + + + diff --git a/p/themes/icons/category-white.svg b/p/themes/icons/category-white.svg deleted file mode 100644 index 5bb5cecd9..000000000 --- a/p/themes/icons/category-white.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/p/themes/icons/close.svg b/p/themes/icons/close.svg index 20d1577ab..87537c191 100644 --- a/p/themes/icons/close.svg +++ b/p/themes/icons/close.svg @@ -1,7 +1,3 @@ - - - - - - - \ No newline at end of file + + + diff --git a/p/themes/icons/down.svg b/p/themes/icons/down.svg index 8a234ee99..600ccb961 100644 --- a/p/themes/icons/down.svg +++ b/p/themes/icons/down.svg @@ -1,5 +1,3 @@ - - - - - \ No newline at end of file + + + diff --git a/p/themes/icons/help.svg b/p/themes/icons/help.svg index 9a0022f76..e5f918f57 100644 --- a/p/themes/icons/help.svg +++ b/p/themes/icons/help.svg @@ -1,7 +1,7 @@ - - - - - - - \ No newline at end of file + + + + + + + diff --git a/p/themes/icons/import.svg b/p/themes/icons/import.svg deleted file mode 100644 index 18a54ab59..000000000 --- a/p/themes/icons/import.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/p/themes/icons/link.svg b/p/themes/icons/link.svg index e5290af76..6419547c0 100644 --- a/p/themes/icons/link.svg +++ b/p/themes/icons/link.svg @@ -1,7 +1,7 @@ - - - - - - - \ No newline at end of file + + + + + + + diff --git a/p/themes/icons/login.svg b/p/themes/icons/login.svg index 954a0b74b..a3e3f3377 100644 --- a/p/themes/icons/login.svg +++ b/p/themes/icons/login.svg @@ -1,6 +1,6 @@ - - - - - - \ No newline at end of file + + + + + + diff --git a/p/themes/icons/logout.svg b/p/themes/icons/logout.svg index 8dd4ef08b..e690e1d33 100644 --- a/p/themes/icons/logout.svg +++ b/p/themes/icons/logout.svg @@ -1,6 +1,6 @@ - - - - - - \ No newline at end of file + + + + + + diff --git a/p/themes/icons/next.svg b/p/themes/icons/next.svg index d504d096c..39ff760b2 100644 --- a/p/themes/icons/next.svg +++ b/p/themes/icons/next.svg @@ -1,5 +1,3 @@ - - - - - \ No newline at end of file + + + diff --git a/p/themes/icons/non-starred.svg b/p/themes/icons/non-starred.svg index 4ebcfccbd..656f17427 100644 --- a/p/themes/icons/non-starred.svg +++ b/p/themes/icons/non-starred.svg @@ -1,5 +1,3 @@ - - - - - \ No newline at end of file + + + diff --git a/p/themes/icons/prev.svg b/p/themes/icons/prev.svg index ea4372098..3c2106449 100644 --- a/p/themes/icons/prev.svg +++ b/p/themes/icons/prev.svg @@ -1,5 +1,3 @@ - - - - - \ No newline at end of file + + + diff --git a/p/themes/icons/read.svg b/p/themes/icons/read.svg index d72c198df..d3bf517c1 100644 --- a/p/themes/icons/read.svg +++ b/p/themes/icons/read.svg @@ -1,5 +1,3 @@ - - - - - \ No newline at end of file + + + diff --git a/p/themes/icons/share.svg b/p/themes/icons/share.svg index db7a3649c..a17fceda6 100644 --- a/p/themes/icons/share.svg +++ b/p/themes/icons/share.svg @@ -1,8 +1,6 @@ - - - - - - - - \ No newline at end of file + + + + + + diff --git a/p/themes/icons/stats.svg b/p/themes/icons/stats.svg index 90a23215f..abb41d084 100644 --- a/p/themes/icons/stats.svg +++ b/p/themes/icons/stats.svg @@ -1,6 +1,6 @@ - - - - - + + + + + diff --git a/p/themes/icons/tag.svg b/p/themes/icons/tag.svg index 0d6db6ed8..f5afe9de0 100644 --- a/p/themes/icons/tag.svg +++ b/p/themes/icons/tag.svg @@ -1,5 +1,3 @@ - - - - - \ No newline at end of file + + + diff --git a/p/themes/icons/up.svg b/p/themes/icons/up.svg index 4819c9205..dbae173d9 100644 --- a/p/themes/icons/up.svg +++ b/p/themes/icons/up.svg @@ -1,5 +1,3 @@ - - - - - \ No newline at end of file + + + -- cgit v1.2.3