summaryrefslogtreecommitdiff
path: root/themes/light
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-10 08:33:56 +0300
committerAndrew Dolgov <[email protected]>2021-03-10 08:33:56 +0300
commitddfa39015e374f7bee0d5b241391c87752db2dc4 (patch)
tree54fff3b1188e0fe10368f528a18705330df68f14 /themes/light
parent6ec66d0ce5dd3dc79e72ac562448045526756280 (diff)
experimental: add preference to show combined mode headlines as a 2 column grid
Diffstat (limited to 'themes/light')
-rw-r--r--themes/light/tt-rss.less25
1 files changed, 24 insertions, 1 deletions
diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less
index a47d61dba..645ba13d3 100644
--- a/themes/light/tt-rss.less
+++ b/themes/light/tt-rss.less
@@ -751,10 +751,33 @@ body.ttrss_main {
border-width : 0px;
}
- #headlines-frame[is-vfeed="0"] .header .feed {
+ #headlines-frame[data-is-vfeed="false"] .header .feed {
display : none;
}
+ @media screen and (min-width: 1500px) {
+ #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] {
+ display : grid;
+ grid-template-columns: repeat(2, 0.5fr);
+ background-color: @color-panel-bg;
+ grid-gap : 8px;
+ padding : 8px;
+
+ .header[stuck] {
+ top : -8px;
+ }
+
+ .cdm.expanded {
+ background : @default-bg;
+ border : 1px solid @border-default;
+
+ .footer {
+ border : 0;
+ }
+ }
+ }
+ }
+
#headlines-frame {
padding : 0px;
border: 0px @border-default;