diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/compact.css | 4 | ||||
-rw-r--r-- | themes/compact_night.css | 4 | ||||
-rw-r--r-- | themes/light.css | 4 | ||||
-rw-r--r-- | themes/light/tt-rss.less | 4 | ||||
-rw-r--r-- | themes/night.css | 4 | ||||
-rw-r--r-- | themes/night_blue.css | 4 |
6 files changed, 24 insertions, 0 deletions
diff --git a/themes/compact.css b/themes/compact.css index 3512cd08f..4d40d2c0d 100644 --- a/themes/compact.css +++ b/themes/compact.css @@ -602,9 +602,13 @@ body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="tr /* 2 = because #headlines-spacer is the actual last child only if odd to deal with 1) single article and 2) not break any previous rows; 1 = spacer; + this is outside of .cdm selector because of #headlines-spacer etc + + .grid-span-row is manually expanded RROWs */ } +body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *.grid-span-row, body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(2):nth-child(odd), body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(1) { grid-column: 1 / -1; diff --git a/themes/compact_night.css b/themes/compact_night.css index 6e5a34868..652717380 100644 --- a/themes/compact_night.css +++ b/themes/compact_night.css @@ -602,9 +602,13 @@ body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="tr /* 2 = because #headlines-spacer is the actual last child only if odd to deal with 1) single article and 2) not break any previous rows; 1 = spacer; + this is outside of .cdm selector because of #headlines-spacer etc + + .grid-span-row is manually expanded RROWs */ } +body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *.grid-span-row, body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(2):nth-child(odd), body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(1) { grid-column: 1 / -1; diff --git a/themes/light.css b/themes/light.css index dcc33b535..d16faeee1 100644 --- a/themes/light.css +++ b/themes/light.css @@ -602,9 +602,13 @@ body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="tr /* 2 = because #headlines-spacer is the actual last child only if odd to deal with 1) single article and 2) not break any previous rows; 1 = spacer; + this is outside of .cdm selector because of #headlines-spacer etc + + .grid-span-row is manually expanded RROWs */ } +body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *.grid-span-row, body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(2):nth-child(odd), body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(1) { grid-column: 1 / -1; diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less index 9e7c06357..7b57bf157 100644 --- a/themes/light/tt-rss.less +++ b/themes/light/tt-rss.less @@ -692,8 +692,12 @@ body.ttrss_main { /* 2 = because #headlines-spacer is the actual last child only if odd to deal with 1) single article and 2) not break any previous rows; 1 = spacer; + this is outside of .cdm selector because of #headlines-spacer etc + + .grid-span-row is manually expanded RROWs */ + &.grid-span-row, &:nth-last-child(2):nth-child(odd), &:nth-last-child(1) { grid-column : 1 e("/") -1; diff --git a/themes/night.css b/themes/night.css index 7e8ca861d..d0a2a01d7 100644 --- a/themes/night.css +++ b/themes/night.css @@ -603,9 +603,13 @@ body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="tr /* 2 = because #headlines-spacer is the actual last child only if odd to deal with 1) single article and 2) not break any previous rows; 1 = spacer; + this is outside of .cdm selector because of #headlines-spacer etc + + .grid-span-row is manually expanded RROWs */ } +body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *.grid-span-row, body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(2):nth-child(odd), body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(1) { grid-column: 1 / -1; diff --git a/themes/night_blue.css b/themes/night_blue.css index 4a0a8f5be..ae9a21b12 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -603,9 +603,13 @@ body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="tr /* 2 = because #headlines-spacer is the actual last child only if odd to deal with 1) single article and 2) not break any previous rows; 1 = spacer; + this is outside of .cdm selector because of #headlines-spacer etc + + .grid-span-row is manually expanded RROWs */ } +body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *.grid-span-row, body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(2):nth-child(odd), body.ttrss_main #headlines-frame:not([data-headlines-count="0"])[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] > *:nth-last-child(1) { grid-column: 1 / -1; |