aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-10-09 18:41:19 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-09 18:55:22 +0200
commit28bb48905a2104adad65508f51737f987dc1ad4c (patch)
tree41922f46efae593fc786b561486a40ee70e25383 /app/Resources/static/themes
parentb4fcd60e7f217bf0b23fa99c83698e7407bee54b (diff)
downloadwallabag-28bb48905a2104adad65508f51737f987dc1ad4c.tar.gz
wallabag-28bb48905a2104adad65508f51737f987dc1ad4c.tar.zst
wallabag-28bb48905a2104adad65508f51737f987dc1ad4c.zip
Optimize the way tag list is rendered
Instead of retrieve all informations about entries of a tag to just count them, we’ll count them before with a fastest query. Also change the layout of the tag list in material design
Diffstat (limited to 'app/Resources/static/themes')
-rwxr-xr-xapp/Resources/static/themes/material/css/main.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css
index b66c88f9..121e7bf4 100755
--- a/app/Resources/static/themes/material/css/main.css
+++ b/app/Resources/static/themes/material/css/main.css
@@ -414,9 +414,9 @@ main ul.row {
414 max-width: 50%; 414 max-width: 50%;
415} 415}
416 416
417.card .card-entry-labels li { 417.card .card-entry-labels li, .card-tag-labels li {
418 margin: 10px 10px 10px auto; 418 margin: 10px 10px 10px auto;
419 padding: 5px 12px 5px 16px; 419 padding: 5px 12px 5px 16px !important;
420 background-color: rgba(0, 151, 167, 0.85); 420 background-color: rgba(0, 151, 167, 0.85);
421 border-radius: 0 3px 3px 0; 421 border-radius: 0 3px 3px 0;
422 color: #fff; 422 color: #fff;
@@ -447,6 +447,7 @@ main ul.row {
447 447
448.card-entry-tags a, 448.card-entry-tags a,
449.card-entry-labels a, 449.card-entry-labels a,
450.card-tag-labels a,
450.card-entry-labels-hidden a, 451.card-entry-labels-hidden a,
451#list .chip a { 452#list .chip a {
452 text-decoration: none; 453 text-decoration: none;