From 68ecf52594e76f3f5ac40846359fb774cd366989 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 6 Mar 2021 20:03:36 +0300 Subject: some small layout fixes, remove a few inline styles --- themes/light/prefs.less | 62 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 48 insertions(+), 14 deletions(-) (limited to 'themes/light/prefs.less') diff --git a/themes/light/prefs.less b/themes/light/prefs.less index 4ffcc5ab1..b0c04ab81 100644 --- a/themes/light/prefs.less +++ b/themes/light/prefs.less @@ -106,10 +106,16 @@ body.ttrss_prefs { } } - .users-list { - td { - cursor : pointer; + table { + th { + text-align : left; + } + + td.checkbox { + text-align : center; + width : 32px; } + } ul.prefs-plugin-list { @@ -119,18 +125,22 @@ body.ttrss_prefs { li { display : flex; align-items : center; - line-height : 30px; border-bottom: @border-default 1px solid; + line-height : 16px; + + &.text-center { + border : 0; + display : block; + } > * { - padding : 4px; + padding : 8px; } label.checkbox { display : flex; align-items : center; min-width : 200px; - margin-right : 16px; cursor : pointer; &.system { @@ -157,21 +167,45 @@ body.ttrss_prefs { } } - .plugin-installer-list { - .plugin-installed { + .plugin-installer-list, .plugin-updater-list { + li { + border-bottom: @border-default 1px solid; + + > * { + padding : 8px 4px; + } + + > pre { + margin : 0; + } + + h3 { + margin : 0; + } + + &.text-center { + border : 0; + } + } + + .plugin-installed > * { opacity : 0.5; } } + .users-list, + .event-log { + td, th { + cursor : pointer; + padding : 8px; + border-bottom: @border-default 1px solid; + } + } + .event-log { tr { - td { - font-size: 10px; - padding : 8px; + td, th { vertical-align : top; - border-width : 0 0 1px 0; - border-style : solid; - border-color : @border-default; } .errno { -- cgit v1.2.3