From d4554fa087f9057610085ca685cd8fb79d8f2bd0 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Fri, 5 Jun 2020 10:09:31 +0200 Subject: Change add feed action (#3027) * Docker Alpine 3.12 (#3025) https://alpinelinux.org/posts/Alpine-3.12.0-released.html With PHP 7.3.18 (from 7.3.17) (and Apache 2.4.43 unchanged). No other significant change spotted * Ensure feed attributes are used before load Co-authored-by: Alexandre Alapetite --- p/scripts/extra.js | 16 ---------------- p/themes/Ansum/_sidebar.scss | 2 +- p/themes/Ansum/ansum.css | 2 +- p/themes/Ansum/ansum.rtl.css | 2 +- p/themes/Mapco/_sidebar.scss | 2 +- p/themes/Mapco/mapco.css | 2 +- p/themes/Mapco/mapco.rtl.css | 2 +- p/themes/Swage/swage.css | 2 +- p/themes/Swage/swage.rtl.css | 2 +- p/themes/Swage/swage.scss | 2 +- p/themes/icons/add-white.svg | 5 +++++ 11 files changed, 14 insertions(+), 25 deletions(-) create mode 100644 p/themes/icons/add-white.svg (limited to 'p') diff --git a/p/scripts/extra.js b/p/scripts/extra.js index 86ee61542..fe4e54739 100644 --- a/p/scripts/extra.js +++ b/p/scripts/extra.js @@ -125,21 +125,6 @@ function init_remove_observers() { }); } -function init_feed_observers() { - const s = document.getElementById('category'); - if (s && s.matches('select')) { - s.onchange = function (ev) { - const detail = document.getElementById('new_category_name').parentElement; - if (this.value === 'nc') { - detail.setAttribute('aria-hidden', 'false'); - detail.querySelector('input').focus(); - } else { - detail.setAttribute('aria-hidden', 'true'); - } - }; - } -} - function init_password_observers() { document.querySelectorAll('.toggle-password').forEach(function (a) { a.onmousedown = function (ev) { @@ -257,7 +242,6 @@ function init_extra() { init_crypto_form(); init_share_observers(); init_remove_observers(); - init_feed_observers(); init_password_observers(); init_select_observers(); init_slider_observers(); diff --git a/p/themes/Ansum/_sidebar.scss b/p/themes/Ansum/_sidebar.scss index 86f3e346d..72d179d47 100644 --- a/p/themes/Ansum/_sidebar.scss +++ b/p/themes/Ansum/_sidebar.scss @@ -310,6 +310,6 @@ border-radius: 3px; } -.aside_feed .stick #btn-importExport { +.aside_feed .stick #btn-add { border-left-color: $sid-bg; } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index b375ee530..244ab6dea 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -795,7 +795,7 @@ form th { border-radius: 3px; } -.aside_feed .stick #btn-importExport { +.aside_feed .stick #btn-add { border-left-color: #fbf9f6; } diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index 1654b5ae6..7595939ca 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -795,7 +795,7 @@ form th { border-radius: 3px; } -.aside_feed .stick #btn-importExport { +.aside_feed .stick #btn-add { border-right-color: #fbf9f6; } diff --git a/p/themes/Mapco/_sidebar.scss b/p/themes/Mapco/_sidebar.scss index a26ff647c..eeade7a7a 100644 --- a/p/themes/Mapco/_sidebar.scss +++ b/p/themes/Mapco/_sidebar.scss @@ -308,6 +308,6 @@ border-radius: 3px; } -.aside_feed .stick #btn-importExport { +.aside_feed .stick #btn-add { border-left-color: $sid-bg; } diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index a4abd055f..b8ee633a1 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -798,7 +798,7 @@ form th { border-radius: 3px; } -.aside_feed .stick #btn-importExport { +.aside_feed .stick #btn-add { border-left-color: #303136; } diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index a5e4d4fc4..672d1cf5d 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -798,7 +798,7 @@ form th { border-radius: 3px; } -.aside_feed .stick #btn-importExport { +.aside_feed .stick #btn-add { border-right-color: #303136; } diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 77faf29ec..45bfd1cdc 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -63,7 +63,7 @@ a.btn:hover { a#btn-subscription { width: 76%; } -a#btn-importExport { +a#btn-add { width: 5%; } diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 735dd6d75..87f0ca840 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -63,7 +63,7 @@ a.btn:hover { a#btn-subscription { width: 76%; } -a#btn-importExport { +a#btn-add { width: 5%; } diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 18f9b335e..0125522f4 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -78,7 +78,7 @@ a { width: 76%; } - &#btn-importExport { + &#btn-add { width: 5%; } } diff --git a/p/themes/icons/add-white.svg b/p/themes/icons/add-white.svg new file mode 100644 index 000000000..c1465ca94 --- /dev/null +++ b/p/themes/icons/add-white.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file -- cgit v1.2.3