Dark mode done

This commit is contained in:
2021-10-02 15:49:23 -03:00
parent fdbd8a1be6
commit e4f3bccd8c
33 changed files with 604 additions and 80 deletions

View File

@@ -5,6 +5,7 @@
align-items: center;
justify-content: center;
height: 17vh;
box-sizing: border-box;
}
.header-main-page a {
text-decoration: none;
@@ -56,6 +57,11 @@
font-size: 13pt;
}
}
.header-main-page.dark-mode-component {
background-color: #303841;
border-bottom: 1px solid #ffffff72;
}
.banner-login {
background-color: #D17262;
color: white;
@@ -94,7 +100,7 @@
border-radius: 24px;
}
.blank {
.banner-login.blank {
opacity: 0%;
}
@@ -128,6 +134,11 @@
margin: 10px;
}
}
.banner-login.blank.dark-mode-component {
opacity: 100%;
background-color: #303841;
}
.main-pomodoro {
display: flex;
flex-direction: column;
@@ -187,6 +198,19 @@
font-size: 13pt;
}
}
.main-pomodoro-container.dark-mode-component {
background-color: #303841;
}
.main-pomodoro-container.dark-mode-component .main-pomodoro .timer {
color: #ffffff;
}
.main-pomodoro-container.dark-mode-component .main-pomodoro .style-display h3, .main-pomodoro-container.dark-mode-component .main-pomodoro .style-display h4 {
color: #ffffff;
}
.main-pomodoro-container.dark-mode-component .main-pomodoro .start-pomodoro {
background-color: #4c8ad5;
}
.style-selector {
width: calc(20vw - 1px);
padding-left: 3vw;
@@ -301,9 +325,24 @@
width: 100%;
}
}
.style-selector-container.dark-mode-component .style-selector h2 {
color: #ffffff;
}
.style-selector-container.dark-mode-component .style-selector .style-selection-container .style-container label .title {
color: #ffffff;
}
.style-selector-container.dark-mode-component .style-selector .style-selection-container .style-container label .times {
color: #4c8ad5;
}
.style-selector-container.dark-mode-component .style-selector .style-selection-container .checkbox_control {
border: 3px solid #3e70ae;
}
.style-selector-container.dark-mode-component .style-selector .style-selection-container .checkbox__input input:checked + .checkbox_control {
background-color: #4c8ad5;
}
.go-down {
height: 7vh;
width: 100%;
height: 8vh;
display: flex;
justify-content: center;
}
@@ -328,10 +367,26 @@
border-top: 1px solid #b8b8b8;
}
.go-down-separator-line.dark-mode-component {
background-color: #303841;
}
.go-down.dark-mode-component {
background-color: #303841;
}
.go-down.dark-mode-component#go-to-credits {
background-color: #3A4750;
}
#about-this, #credits {
height: 83vh;
padding: 0px 3vw;
padding-top: 5vh;
padding-bottom: 5vh;
display: flex;
flex-direction: column;
align-items: stretch;
}
#about-this .titles, #credits .titles {
display: flex;
@@ -384,6 +439,17 @@
padding-bottom: 5vh;
}
}
#about-this.dark-mode-component, #credits.dark-mode-component {
background-color: #3A4750;
color: #ffffff;
}
#about-this.dark-mode-component .information, #credits.dark-mode-component .information {
display: flex;
}
#about-this.dark-mode-component .information ul li p a, #credits.dark-mode-component .information ul li p a {
color: #4c8ad5;
}
.history-button {
background: none;
border: none;
@@ -458,10 +524,26 @@
padding-bottom: 5vh;
}
}
.pomodoro-counter.dark-mode-component ul li {
color: #ffffff;
}
.pomodoro-counter.dark-mode-component ul li .quantity {
color: #4c8ad5;
background: #3A4750;
}
html, body {
height: 100%;
}
.identify-container {
display: flex;
flex-direction: column;
align-items: center;
flex-grow: 1;
}
.identify-container:has {
height: 100%;
}
.identify-container .error-message-container {
width: 70vw;
@@ -529,6 +611,23 @@
border: #969696 solid 1px;
}
.identify-container.dark-mode-component {
background-color: #3A4750;
}
.identify-container.dark-mode-component .identify .options-container .option {
background-color: #D72323;
}
.identify-container.dark-mode-component .identify .options-container .active-option {
background-color: #7c1414;
}
.identify-container.dark-mode-component .identify .form-container form input {
color: white;
background: none;
}
.identify-container.dark-mode-component .identify .form-container form input[type=submit] {
background-color: #303841;
}
.dark-mode {
position: absolute;
left: calc(100% - 5vw);
@@ -587,6 +686,13 @@
height: 15px;
}
}
html, body {
height: 100%;
}
.account-container {
height: 100%;
}
.account-container #message {
padding-left: 5vw;
background-color: #ff6a6a;
@@ -657,7 +763,8 @@
display: flex;
flex-direction: column;
padding-top: 1vh;
border-radius: 5%;
border-radius: 2px;
padding-left: 1vw;
}
.account-container .next-step .flex-container-change-api-container .change-api-container .api-preview-container .title {
margin: 0;
@@ -686,6 +793,46 @@
align-items: center;
}
@media (max-width: 991.98px) {
.account-container .next-step {
display: flex;
}
.account-container .next-step .next-step-title h1 {
font-size: 15pt;
}
.account-container .next-step .next-step-title h2 {
font-size: 12pt;
}
.account-container .next-step .flex-container-change-api-container .change-api-container {
width: auto;
}
}
.account-container.dark-mode-component {
background-color: #3A4750;
}
.account-container.dark-mode-component .next-step .next-step-title {
background-color: #4c8ad5;
}
.account-container.dark-mode-component .next-step .next-step-title h1, .account-container.dark-mode-component .next-step .next-step-title h2 {
color: #ffffff;
}
.account-container.dark-mode-component .next-step .next-step-title h1 a, .account-container.dark-mode-component .next-step .next-step-title h2 a {
color: #D7FBE8;
}
.account-container.dark-mode-component .next-step .next-step-title h1 a:visited, .account-container.dark-mode-component .next-step .next-step-title h2 a:visited {
color: #9DF3C4;
}
.account-container.dark-mode-component .next-step .flex-container-change-api-container .change-api-container {
background-color: #4c8ad5;
}
.account-container.dark-mode-component .next-step .flex-container-change-api-container .change-api-container .api-preview-container p {
color: white;
}
.loading-container.dark-mode-component {
background-color: #3A4750;
}
.go-to-account {
width: 3vw;
height: 3vw;
@@ -755,6 +902,10 @@
margin: 10px 10px;
}
}
.go-to-account.dark-mode-component, .close-session.dark-mode-component {
background-color: #3A4750;
}
.clockify-tasks-display {
width: 20vw;
position: absolute;
@@ -764,6 +915,7 @@
.clockify-tasks-display.loading-container {
width: 20vw;
height: auto;
background: none;
}
.clockify-tasks-display.disabled {
user-select: none;
@@ -808,7 +960,7 @@
width: auto;
display: flex;
justify-content: space-around;
padding: 0px 5vw;
padding: 3vh 5vw;
}
.clockify-tasks-display.loading-container {
width: 90%;
@@ -837,6 +989,10 @@
margin-top: 1vh;
}
}
.clockify-tasks-display-container.dark-mode-container {
background-color: #3A4750;
}
.made-with-love a {
color: #ff8787;
}
@@ -845,11 +1001,16 @@
color: #b9b9b9;
margin-top: auto;
width: 100%;
padding-bottom: 3vw;
padding-top: 5vh;
padding-bottom: 5vh;
padding-left: 3vw;
box-sizing: border-box;
}
.made-with-love.dark-mode-component {
background-color: #303841;
}
html, body {
margin: 0;
padding: 0;