mirror of https://gitlab.com/bashrc2/epicyon
Style for timeline posts background
parent
3486bf4d4d
commit
1595d0a83a
|
@ -71,6 +71,7 @@
|
||||||
--gallery-font-size-mobile: 35px;
|
--gallery-font-size-mobile: 35px;
|
||||||
--button-corner-radius: 15px;
|
--button-corner-radius: 15px;
|
||||||
--timeline-border-radius: 30px;
|
--timeline-border-radius: 30px;
|
||||||
|
--timeline-posts-background-color: #282c37;
|
||||||
--icons-side: right;
|
--icons-side: right;
|
||||||
--title-color: #999;
|
--title-color: #999;
|
||||||
--focus-color: white;
|
--focus-color: white;
|
||||||
|
@ -383,6 +384,10 @@ a:focus {
|
||||||
width: 10%;
|
width: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.timeline-posts {
|
||||||
|
background-color: var(--timeline-posts-background-color);
|
||||||
|
}
|
||||||
|
|
||||||
.container img.timelineicon:hover {
|
.container img.timelineicon:hover {
|
||||||
filter: brightness(var(--icon-brightness-change));
|
filter: brightness(var(--icon-brightness-change));
|
||||||
}
|
}
|
||||||
|
@ -1008,14 +1013,16 @@ div.container {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.timeline-banner {
|
.timeline-banner {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
width: 98vw;
|
width: 100%;
|
||||||
max-height: var(--banner-height);
|
max-height: var(--banner-height);
|
||||||
}
|
}
|
||||||
.timeline {
|
.timeline {
|
||||||
border: 0;
|
border: 0;
|
||||||
width: 98vw;
|
width: 100%;
|
||||||
|
table-layout: fixed;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.col-left a:link {
|
.col-left a:link {
|
||||||
background: var(--column-left-color);
|
background: var(--column-left-color);
|
||||||
|
@ -1667,7 +1674,7 @@ div.container {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
.timeline-banner {
|
.timeline-banner {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
width: 98vw;
|
width: 98vw;
|
||||||
max-height: var(--banner-height-mobile);
|
max-height: var(--banner-height-mobile);
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
"gallery-font-size": "35px",
|
"gallery-font-size": "35px",
|
||||||
"gallery-font-size-mobile": "55px",
|
"gallery-font-size-mobile": "55px",
|
||||||
"main-bg-color": "#002365",
|
"main-bg-color": "#002365",
|
||||||
|
"timeline-posts-background-color": "#002365",
|
||||||
"header-bg-color": "#002365",
|
"header-bg-color": "#002365",
|
||||||
"column-left-color": "#002365",
|
"column-left-color": "#002365",
|
||||||
"text-entry-background": "#002365",
|
"text-entry-background": "#002365",
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
"publish-button-at-top": "False",
|
"publish-button-at-top": "False",
|
||||||
"focus-color": "green",
|
"focus-color": "green",
|
||||||
"main-bg-color": "black",
|
"main-bg-color": "black",
|
||||||
|
"timeline-posts-background-color": "black",
|
||||||
"header-bg-color": "black",
|
"header-bg-color": "black",
|
||||||
"column-left-color": "black",
|
"column-left-color": "black",
|
||||||
"link-bg-color": "black",
|
"link-bg-color": "black",
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
"font-size4": "24px",
|
"font-size4": "24px",
|
||||||
"font-size5": "22px",
|
"font-size5": "22px",
|
||||||
"main-bg-color": "#383335",
|
"main-bg-color": "#383335",
|
||||||
|
"timeline-posts-background-color": "#383335",
|
||||||
"header-bg-color": "#383335",
|
"header-bg-color": "#383335",
|
||||||
"column-left-color": "#383335",
|
"column-left-color": "#383335",
|
||||||
"text-entry-background": "#383335",
|
"text-entry-background": "#383335",
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
"font-size4": "24px",
|
"font-size4": "24px",
|
||||||
"font-size5": "22px",
|
"font-size5": "22px",
|
||||||
"main-bg-color": "black",
|
"main-bg-color": "black",
|
||||||
|
"timeline-posts-background-color": "black",
|
||||||
"header-bg-color": "black",
|
"header-bg-color": "black",
|
||||||
"column-left-header-color": "#fff",
|
"column-left-header-color": "#fff",
|
||||||
"column-left-header-background": "#555",
|
"column-left-header-background": "#555",
|
||||||
|
|
|
@ -79,7 +79,8 @@
|
||||||
"font-size-publish-button": "14px",
|
"font-size-publish-button": "14px",
|
||||||
"rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)",
|
"rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)",
|
||||||
"column-left-color": "#efefef",
|
"column-left-color": "#efefef",
|
||||||
"main-bg-color": "white",
|
"main-bg-color": "#efefef",
|
||||||
|
"timeline-posts-background-color": "white",
|
||||||
"main-bg-color-dm": "white",
|
"main-bg-color-dm": "white",
|
||||||
"link-bg-color": "#efefef",
|
"link-bg-color": "#efefef",
|
||||||
"main-bg-color-reply": "white",
|
"main-bg-color-reply": "white",
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
"column-left-header-background": "#9fb42b",
|
"column-left-header-background": "#9fb42b",
|
||||||
"column-left-header-color": "#33390d",
|
"column-left-header-color": "#33390d",
|
||||||
"main-bg-color": "#9fb42b",
|
"main-bg-color": "#9fb42b",
|
||||||
|
"timeline-posts-background-color": "#9fb42b",
|
||||||
"header-bg-color": "#9fb42b",
|
"header-bg-color": "#9fb42b",
|
||||||
"column-left-color": "#33390d",
|
"column-left-color": "#33390d",
|
||||||
"column-left-fg-color": "#9fb42b",
|
"column-left-fg-color": "#9fb42b",
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
"rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)",
|
"rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)",
|
||||||
"column-left-color": "#e6ebf0",
|
"column-left-color": "#e6ebf0",
|
||||||
"main-bg-color": "#e6ebf0",
|
"main-bg-color": "#e6ebf0",
|
||||||
|
"timeline-posts-background-color": "#e6ebf0",
|
||||||
"header-bg-color": "#e6ebf0",
|
"header-bg-color": "#e6ebf0",
|
||||||
"main-bg-color-dm": "#e3dbf0",
|
"main-bg-color-dm": "#e3dbf0",
|
||||||
"link-bg-color": "#e6ebf0",
|
"link-bg-color": "#e6ebf0",
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
"font-size4": "24px",
|
"font-size4": "24px",
|
||||||
"font-size5": "22px",
|
"font-size5": "22px",
|
||||||
"main-bg-color": "#0f0d10",
|
"main-bg-color": "#0f0d10",
|
||||||
|
"timeline-posts-background-color": "#0f0d10",
|
||||||
"header-bg-color": "#0f0d10",
|
"header-bg-color": "#0f0d10",
|
||||||
"column-left-color": "#0f0d10",
|
"column-left-color": "#0f0d10",
|
||||||
"text-entry-background": "#0f0d10",
|
"text-entry-background": "#0f0d10",
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
"font-size4": "24px",
|
"font-size4": "24px",
|
||||||
"font-size5": "22px",
|
"font-size5": "22px",
|
||||||
"main-bg-color": "#1f152d",
|
"main-bg-color": "#1f152d",
|
||||||
|
"timeline-posts-background-color": "#1f152d",
|
||||||
"header-bg-color": "#1f152d",
|
"header-bg-color": "#1f152d",
|
||||||
"column-left-color": "#1f152d",
|
"column-left-color": "#1f152d",
|
||||||
"link-bg-color": "#1f152d",
|
"link-bg-color": "#1f152d",
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
"font-size5": "12px",
|
"font-size5": "12px",
|
||||||
"font-size-likes": "10px",
|
"font-size-likes": "10px",
|
||||||
"main-bg-color": "#100e23",
|
"main-bg-color": "#100e23",
|
||||||
|
"timeline-posts-background-color": "#100e23",
|
||||||
"header-bg-color": "#100e23",
|
"header-bg-color": "#100e23",
|
||||||
"column-left-color": "#0f0d10",
|
"column-left-color": "#0f0d10",
|
||||||
"text-entry-background": "#0f0d10",
|
"text-entry-background": "#0f0d10",
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
"font-size5": "22px",
|
"font-size5": "22px",
|
||||||
"rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)",
|
"rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)",
|
||||||
"main-bg-color": "white",
|
"main-bg-color": "white",
|
||||||
|
"timeline-posts-background-color": "white",
|
||||||
"header-bg-color": "white",
|
"header-bg-color": "white",
|
||||||
"column-left-color": "white",
|
"column-left-color": "white",
|
||||||
"main-bg-color-dm": "white",
|
"main-bg-color-dm": "white",
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
"font-size4": "24px",
|
"font-size4": "24px",
|
||||||
"font-size5": "22px",
|
"font-size5": "22px",
|
||||||
"main-bg-color": "#0f0d10",
|
"main-bg-color": "#0f0d10",
|
||||||
|
"timeline-posts-background-color": "#0f0d10",
|
||||||
"header-bg-color": "#0f0d10",
|
"header-bg-color": "#0f0d10",
|
||||||
"column-left-color": "#0f0d10",
|
"column-left-color": "#0f0d10",
|
||||||
"text-entry-background": "#0f0d10",
|
"text-entry-background": "#0f0d10",
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
"banner-height-mobile": "10vh",
|
"banner-height-mobile": "10vh",
|
||||||
"newswire-date-color": "yellow",
|
"newswire-date-color": "yellow",
|
||||||
"main-bg-color": "#5c4e41",
|
"main-bg-color": "#5c4e41",
|
||||||
|
"timeline-posts-background-color": "#5c4e41",
|
||||||
"header-bg-color": "#5c4e41",
|
"header-bg-color": "#5c4e41",
|
||||||
"column-left-color": "#5c4e41",
|
"column-left-color": "#5c4e41",
|
||||||
"text-entry-background": "#5c4e41",
|
"text-entry-background": "#5c4e41",
|
||||||
|
|
|
@ -426,6 +426,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
calendarImage, followApprovals,
|
calendarImage, followApprovals,
|
||||||
iconsAsButtons)
|
iconsAsButtons)
|
||||||
|
|
||||||
|
tlStr += ' <div class="timeline-posts">\n'
|
||||||
|
|
||||||
# second row of buttons for moderator actions
|
# second row of buttons for moderator actions
|
||||||
if moderator and boxName == 'moderation':
|
if moderator and boxName == 'moderation':
|
||||||
tlStr += \
|
tlStr += \
|
||||||
|
@ -597,6 +599,9 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
translate['Page down'] + '"></a>\n' + \
|
translate['Page down'] + '"></a>\n' + \
|
||||||
' </center>\n'
|
' </center>\n'
|
||||||
|
|
||||||
|
# end of timeline-posts
|
||||||
|
tlStr += ' </div>\n'
|
||||||
|
|
||||||
# end of column-center
|
# end of column-center
|
||||||
tlStr += ' </td>\n'
|
tlStr += ' </td>\n'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue