Add option for coloured edges on progress page

This commit is contained in:
2021-10-03 17:43:22 +01:00
parent aec4c8efcf
commit 4c2f1613ff
9 changed files with 83 additions and 23 deletions

View File

@@ -6,7 +6,8 @@ html {
--background-color: #111111;
--background-color-dark: #000000;
--overlay-color: #333333;
background-color: var(--background-color);
height: 100%;
color: var(--text-color);
--default: #2a8c8c;
@@ -112,10 +113,6 @@ html {
--primary-color-dark: var(--orange-dark);
}
html {
height: 100%;
}
body {
max-width: 1080px;
margin: auto;
@@ -126,6 +123,7 @@ body, #root, #root > div, #root > div > div:first-child {
display: flex;
flex-direction: column;
flex: 1;
background-color: var(--background-color);
}
main {
@@ -409,6 +407,18 @@ label .MuiIconButton-label > input {
opacity: 0 !important;
}
.colored-edges {
z-index: -5;
background-color: var(--primary-color-dark);
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
opacity: 0.7;
}
@media screen and (max-width: 420px) {
.progress-history-container > div > *:nth-child(2), .progress-history-container--complete > div > *:nth-last-child(3), .progress-history-container--incomplete > div > *:nth-last-child(4) {
display: none;

View File

@@ -1,4 +1,4 @@
.settings-themes-container {
.settings-options-container {
display: flex;
flex-direction: row;
column-gap: 16px;
@@ -7,7 +7,7 @@
flex-wrap: wrap;
}
.settings-header, .settings-sound-container, .settings-themes-container {
.settings-header, .settings-options-container {
margin-bottom: 36px;
margin-top: 0;
}