aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes
diff options
context:
space:
mode:
authorStéphane HULARD <s.hulard@chstudio.fr>2018-01-24 17:30:06 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2018-09-25 10:18:35 +0200
commit32968bd30e907dcb681831c149a9afcc12a664da (patch)
tree608d3418f5cebb0de2e555dbc19f1cece6272e41 /app/Resources/static/themes
parent559f708cae6143564284034369771737119a6bf3 (diff)
downloadwallabag-32968bd30e907dcb681831c149a9afcc12a664da.tar.gz
wallabag-32968bd30e907dcb681831c149a9afcc12a664da.tar.zst
wallabag-32968bd30e907dcb681831c149a9afcc12a664da.zip
Add specific styles for the card tag form element.
Also add a `.hidden` class in the baggy theme to have consistency with material.
Diffstat (limited to 'app/Resources/static/themes')
-rw-r--r--app/Resources/static/themes/baggy/css/layout.scss11
-rw-r--r--app/Resources/static/themes/material/css/cards.scss11
2 files changed, 21 insertions, 1 deletions
diff --git a/app/Resources/static/themes/baggy/css/layout.scss b/app/Resources/static/themes/baggy/css/layout.scss
index cb14e62d..0293ebe5 100644
--- a/app/Resources/static/themes/baggy/css/layout.scss
+++ b/app/Resources/static/themes/baggy/css/layout.scss
@@ -295,6 +295,15 @@ div.pagination ul {
295 } 295 }
296} 296}
297 297
298.hide { 298.card-tag-form {
299 display: inline-block;
300}
301
302.card-tag-form input[type="text"] {
303 min-width: 20em;
304}
305
306.hide,
307.hidden {
299 display: none; 308 display: none;
300} 309}
diff --git a/app/Resources/static/themes/material/css/cards.scss b/app/Resources/static/themes/material/css/cards.scss
index 8f7f8f7b..f3319f3d 100644
--- a/app/Resources/static/themes/material/css/cards.scss
+++ b/app/Resources/static/themes/material/css/cards.scss
@@ -180,6 +180,17 @@ a.original:not(.waves-effect) {
180 flex-grow: 1; 180 flex-grow: 1;
181} 181}
182 182
183.card-tag-form {
184 display: flex;
185 min-width: 100px;
186 flex-grow: 1;
187}
188
189.card-tag-form input {
190 margin-bottom: 0;
191 height: 2rem;
192}
193
183.card-tag-rss { 194.card-tag-rss {
184 display: flex; 195 display: flex;
185} 196}