aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2020-06-05 10:09:31 +0200
committerGravatar GitHub <noreply@github.com> 2020-06-05 10:09:31 +0200
commitd4554fa087f9057610085ca685cd8fb79d8f2bd0 (patch)
tree60ab634136516e98d0885d1033a5636233f837b7 /p
parent27f0b614189c090028dfb9a56d1b21f1adf263d4 (diff)
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 <alexandre@alapetite.fr>
Diffstat (limited to 'p')
-rw-r--r--p/scripts/extra.js16
-rw-r--r--p/themes/Ansum/_sidebar.scss2
-rw-r--r--p/themes/Ansum/ansum.css2
-rw-r--r--p/themes/Ansum/ansum.rtl.css2
-rw-r--r--p/themes/Mapco/_sidebar.scss2
-rw-r--r--p/themes/Mapco/mapco.css2
-rw-r--r--p/themes/Mapco/mapco.rtl.css2
-rw-r--r--p/themes/Swage/swage.css2
-rw-r--r--p/themes/Swage/swage.rtl.css2
-rw-r--r--p/themes/Swage/swage.scss2
-rw-r--r--p/themes/icons/add-white.svg5
11 files changed, 14 insertions, 25 deletions
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 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16">
+<g transform="translate(-60.0002,-726)">
+<path style="color:#fff;" fill="#fff" d="m67,729,0,4-4,0,0,2,4,0,0,4,2,0,0-4,4,0,0-2-4,0,0-4-2,0z"/>
+</g>
+</svg> \ No newline at end of file