From 25dc07d3c9d88dcb84444d69fd0b4822315c3fac Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 23 Jun 2016 09:06:54 +0200 Subject: Add tags on entries view Should be tested on old browsers --- app/Resources/static/themes/material/css/main.css | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'app') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 473b0308..e70bb2b1 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -342,6 +342,44 @@ main ul.row { line-height: 32px; } +.card .card-entry-labels { + position: absolute; + top:10px; + z-index: 90; + max-width: 50%; +} + +.card .card-entry-labels li { + margin: 10px 10px 10px auto; + padding: 5px 12px 5px 16px; + background-color: rgba(0,151,167,0.85); + border-radius: 0 3px 3px 0; + color: #fff; + cursor: default; + max-height: 2em; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.card .card-entry-labels-hidden { + margin-top: 5px; +} + +.card .card-entry-labels-hidden li { + display: inline-block; + background-color: rgba(0,151,167,0.85); + margin: 0 5px; + padding: 5px 12px; + border-radius: 3px; + color: #fff; + max-height: 2em; + max-width: calc(100% - 15px); + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + .card .card-content .estimatedTime { margin-bottom: 10px; } -- cgit v1.2.3 From a15022db96fb031f7a9bccbdcc9420a8ca94174c Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 23 Jun 2016 23:13:25 +0200 Subject: minor ui fixes --- app/Resources/static/themes/material/css/main.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index e70bb2b1..cfc77d06 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -439,6 +439,10 @@ main ul.row { height: auto; } +#article > header > h1 { + font-size: 2em; +} + .reader-mode { width: 95px !important; transition: width 0.2s ease; -- cgit v1.2.3 From eef833d644f90518c712eccac7805d99562fd263 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 24 Jun 2016 12:07:45 +0200 Subject: uniformize tags on article view too --- app/Resources/static/themes/material/css/main.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index cfc77d06..053dfd91 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -487,12 +487,13 @@ main ul.row { #article aside #list { float: right; - margin-right: 15px; + margin: 0 15px 10px; } #article aside .chip { - background-color: #039be5; + background-color: rgba(0,151,167,0.85); color: #fff; + padding: 0 15px 0 10px; } #article aside .chip i { -- cgit v1.2.3