mirror of https://gitlab.com/bashrc2/epicyon
Remove style for CW button
parent
bac3fc63f3
commit
9f092b3e36
2
blog.py
2
blog.py
|
@ -330,7 +330,6 @@ def htmlBlogPost(authorized: bool,
|
|||
with open(cssFilename, 'r') as cssFile:
|
||||
blogCSS = cssFile.read()
|
||||
blogStr = htmlHeader(cssFilename, blogCSS)
|
||||
blogStr = blogStr.replace('.cwText', '.cwTextInactive')
|
||||
|
||||
blogStr += htmlBlogPostContent(authorized, baseDir,
|
||||
httpPrefix, translate,
|
||||
|
@ -377,7 +376,6 @@ def htmlBlogPage(authorized: bool, session,
|
|||
with open(cssFilename, 'r') as cssFile:
|
||||
blogCSS = cssFile.read()
|
||||
blogStr = htmlHeader(cssFilename, blogCSS)
|
||||
blogStr = blogStr.replace('.cwText', '.cwTextInactive')
|
||||
|
||||
blogsIndex = baseDir + '/accounts/' + \
|
||||
nickname + '@' + domain + '/tlblogs.index'
|
||||
|
|
|
@ -49,18 +49,6 @@
|
|||
--gallery-font-size-mobile: 35px;
|
||||
--button-corner-radius: 15px;
|
||||
--timeline-border-radius: 30px;
|
||||
--cw-background: #554;
|
||||
--cw-glow-radius1: 0px;
|
||||
--cw-glow-radius2: 0px;
|
||||
--cw-glow-radius3: 0px;
|
||||
--cw-glow-radius4: 0px;
|
||||
--cw-glow-radius5: 0px;
|
||||
--cw-glow-color0: black;
|
||||
--cw-glow-color1: black;
|
||||
--cw-glow-color2: black;
|
||||
--cw-glow-color3: black;
|
||||
--cw-glow-color4: black;
|
||||
--cw-glow-color5: black;
|
||||
--icons-side: right;
|
||||
}
|
||||
|
||||
|
@ -100,10 +88,6 @@ a:link {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
.cwText {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.timeline-banner {
|
||||
background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url("banner.png");
|
||||
height: 10%;
|
||||
|
@ -770,19 +754,6 @@ div.gallery img {
|
|||
-ms-transform: translateY(-10%);
|
||||
transform: translateY(-10%);
|
||||
}
|
||||
.cwButton {
|
||||
border-radius: var(--button-corner-radius);
|
||||
background-color: var(--cw-background);
|
||||
border: none;
|
||||
color: #FFFFFE;
|
||||
text-align: center;
|
||||
font-size: var(--font-size5);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
padding: 2px;
|
||||
cursor: pointer;
|
||||
margin: 5px;
|
||||
text-shadow: 0 0 10px var(--cw-glow-color0), 0 0 20px var(--cw-glow-color0), 0 0 var(--cw-glow-radius1) var(--cw-glow-color1), 0 0 var(--cw-glow-radius2) var(--cw-glow-color2), 0 0 var(--cw-glow-radius3) var(--cw-glow-color3), 0 0 var(--cw-glow-radius4) var(--cw-glow-color4), 0 0 var(--cw-glow-radius5) var(--cw-glow-color5);
|
||||
}
|
||||
.buttonevent {
|
||||
border-radius: var(--button-corner-radius);
|
||||
background-color: var(--button-highlighted);
|
||||
|
@ -1141,20 +1112,6 @@ div.gallery img {
|
|||
-ms-transform: translateY(-10%);
|
||||
transform: translateY(-10%);
|
||||
}
|
||||
.cwButton {
|
||||
border-radius: var(--button-corner-radius);
|
||||
background-color: var(--cw-background);
|
||||
border: none;
|
||||
color: #FFFFFE;
|
||||
text-align: center;
|
||||
font-size: var(--font-size3);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
padding: 2px;
|
||||
cursor: pointer;
|
||||
margin: 5px;
|
||||
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 var(--cw-glow-radius1) var(--cw-glow-color1), 0 0 var(--cw-glow-radius2) var(--cw-glow-color2), 0 0 var(--cw-glow-radius3) var(--cw-glow-color3), 0 0 var(--cw-glow-radius4) var(--cw-glow-color4), 0 0 var(--cw-glow-radius5) var(--cw-glow-color5);
|
||||
}
|
||||
.buttonevent {
|
||||
border-radius: var(--button-corner-radius);
|
||||
background-color: var(--button-highlighted);
|
||||
|
|
42
theme.py
42
theme.py
|
@ -193,18 +193,6 @@ def setThemeNight(baseDir: str):
|
|||
"font-size3": "40px",
|
||||
"font-size4": "24px",
|
||||
"font-size5": "22px",
|
||||
"cw-glow-radius1": "5px",
|
||||
"cw-glow-radius2": "6px",
|
||||
"cw-glow-radius3": "7px",
|
||||
"cw-glow-radius4": "8px",
|
||||
"cw-glow-radius5": "9px",
|
||||
"cw-glow-color0": "#fff",
|
||||
"cw-glow-color1": "#7961ab",
|
||||
"cw-glow-color2": "#7961ab",
|
||||
"cw-glow-color3": "#7961ab",
|
||||
"cw-glow-color4": "#7961ab",
|
||||
"cw-glow-color5": "#7961ab",
|
||||
"cw-background": "black",
|
||||
"main-bg-color": "#0f0d10",
|
||||
"text-entry-background": "#0f0d10",
|
||||
"link-bg-color": "#0f0d10",
|
||||
|
@ -267,18 +255,6 @@ def setThemeStarlight(baseDir: str):
|
|||
"day-number": "#ffc4bc",
|
||||
"day-number2": "#aaa",
|
||||
"event-background": "#12435f",
|
||||
"cw-glow-radius1": "30px",
|
||||
"cw-glow-radius2": "40px",
|
||||
"cw-glow-radius3": "50px",
|
||||
"cw-glow-radius4": "60px",
|
||||
"cw-glow-radius5": "70px",
|
||||
"cw-glow-color0": "#fff",
|
||||
"cw-glow-color1": "#a3d5f0",
|
||||
"cw-glow-color2": "#a3d5f0",
|
||||
"cw-glow-color3": "#a3d5f0",
|
||||
"cw-glow-color4": "#a3d5f0",
|
||||
"cw-glow-color5": "#a3d5f0",
|
||||
"cw-background": "black",
|
||||
"timeline-border-radius": "20px",
|
||||
"time-color": "#ffc4bc",
|
||||
"place-color": "#ffc4bc",
|
||||
|
@ -326,18 +302,6 @@ def setThemeHenge(baseDir: str):
|
|||
"day-number": "#c5d2b9",
|
||||
"day-number2": "#ccc",
|
||||
"event-background": "#333",
|
||||
"cw-glow-radius1": "10px",
|
||||
"cw-glow-radius2": "12px",
|
||||
"cw-glow-radius3": "14px",
|
||||
"cw-glow-radius4": "16px",
|
||||
"cw-glow-radius5": "18px",
|
||||
"cw-glow-color0": "#fff",
|
||||
"cw-glow-color1": "#444",
|
||||
"cw-glow-color2": "#444",
|
||||
"cw-glow-color3": "#444",
|
||||
"cw-glow-color4": "#444",
|
||||
"cw-glow-color5": "#444",
|
||||
"cw-background": "#383335",
|
||||
"timeline-border-radius": "20px",
|
||||
"image-corners": "8%",
|
||||
"*font-family": "'bgrove'",
|
||||
|
@ -364,7 +328,6 @@ def setThemeZen(baseDir: str):
|
|||
"button-selected": "#26201d",
|
||||
"main-bg-color-dm": "#5c4a40",
|
||||
"main-header-color-roles": "#5c4e41",
|
||||
"cw-background": "#463b35",
|
||||
"dropdown-bg-color": "#504e41",
|
||||
"dropdown-bg-color-hover": "#444"
|
||||
}
|
||||
|
@ -395,7 +358,6 @@ def setThemeLCD(baseDir: str):
|
|||
themeParams = {
|
||||
"main-bg-color": "#9fb42b",
|
||||
"link-bg-color": "#33390d",
|
||||
"cw-background": "#13390d",
|
||||
"text-entry-foreground": "#33390d",
|
||||
"text-entry-background": "#9fb42b",
|
||||
"main-bg-color-reply": "#9fb42b",
|
||||
|
@ -470,7 +432,6 @@ def setThemePurple(baseDir: str):
|
|||
"button-selected": "#c042a0",
|
||||
"button-background": "#ff42a0",
|
||||
"button-text": "white",
|
||||
"cw-background": "#ff42a0",
|
||||
"color: #FFFFFE;": "color: #1f152d;",
|
||||
"calendar-bg-color": "#eee",
|
||||
"lines-color": "#ff42a0",
|
||||
|
@ -511,8 +472,6 @@ def setThemeHacker(baseDir: str):
|
|||
"timeline-border-radius": "4px",
|
||||
"*font-family": "'Bedstead'",
|
||||
"*src": "url('./fonts/bedstead.otf') format('opentype')",
|
||||
"cw-background": "black",
|
||||
"cw-glow-color0": "black",
|
||||
"color: #FFFFFE;": "color: green;",
|
||||
"calendar-bg-color": "black",
|
||||
"lines-color": "green",
|
||||
|
@ -559,7 +518,6 @@ def setThemeLight(baseDir: str):
|
|||
"dropdown-fg-color-hover": "#222",
|
||||
"dropdown-bg-color": "white",
|
||||
"dropdown-bg-color-hover": "lightgrey",
|
||||
"cw-background": "white",
|
||||
"color: #FFFFFE;": "color: black;",
|
||||
"calendar-bg-color": "#e6ebf0",
|
||||
"lines-color": "darkblue",
|
||||
|
|
Loading…
Reference in New Issue