Files
stl/server/static/styles/common.css
2024-04-16 23:32:55 +02:00

357 lines
6.0 KiB
CSS

body {
font-family: Ubuntu;
background-color: #302f3b;
color: #e0c1c1;
}
.title {
text-align: center;
}
a {
text-decoration: none;
}
a:link {
color: #fff;
border-bottom: 0.05em solid #ff0000;
}
a:visited {
color: #fff;
border-bottom: 0.05em solid #b3b3b3;
}
a:hover {
color: #7bd09f;
border-bottom: 0.05em solid #000099;
}
ul.striped_list {
max-width: 40rem;
list-style-type: none;
margin: auto;
padding: 0;
}
ul.striped_list > li:nth-child(even) { background-color:#302f3b }
ul.striped_list > li:nth-child(odd) { background-color:#3f4a53 }
ul.striped_list > li:nth-child(even) ul li:nth-child(even) { background-color:#302f3b }
ul.striped_list > li:nth-child(even) ul li:nth-child(odd) { background-color:#3f4a53 }
ul.striped_list > li:nth-child(odd) ul li:nth-child(even) { background-color:#3f4a53 }
ul.striped_list > li:nth-child(odd) ul li:nth-child(odd) { background-color:#302f3b;}
.category_list {
max-width: 40rem;
margin: auto;
}
.category_entry {
margin-top: 1em;
background-color: #3f4a53;
}
.category_header {
display: flex;
flex-direction: row;
}
.category_children {
display: flex;
flex-direction: column;
background-color: #302f3b;
margin-left: 2.5em !important;
padding-left: 1em !important;
border-left: groove 0.5em;
border-top: groove 0.5em;
border-color: #696969;
font-size: 0.8em;
}
.category_name {
font-size: 3em;
margin: auto;
}
.category_icon {
border-radius: 2em;
height: 4em;
width: 4em;
margin-top: auto;
margin-bottom: auto;
margin-left: 1em;
}
.category_button_container {
margin: 0.1rem;
background-color: #a4829c;
border-radius: 3.5rem;
width: 7rem;
height: 7rem;
}
.category_button {
box-sizing: border-box;
height: 60px;
margin: 30px;
margin-top: 25px;
background-color: transparent;
border-color: transparent transparent transparent #302f3b;
transition: 100ms all ease;
will-change: border-width;
cursor: pointer;
/* play state */
border-style: solid;
border-width: 30px 0 30px 50px;
}
.category_button_toggled {
/* pause state */
border-style: double;
border-width: 0px 0 0px 50px;
}
.category_bump_button {
position: absolute;
border: 0;
padding: 0;
margin: 0;
width: 3rem;
height: 3rem;
margin-left: -1.2rem;
border-radius: 1.5rem;
border: solid #a4829c 0.3rem;
font-family: Ubuntu;
font-weight: 1000;
background: dimgray;
color: wheat;
transition: all ease-in-out 0.2s;
}
.category_bump_button:hover {
background: wheat;
color: dimgray;
cursor: pointer;
transition: background color ease-in-out 0.2s;
}
.category_bump_button:active {
}
.history_entry {
padding: 0.2em;
padding-left: 0.5em;
padding-right: 0.5em;
text-align: right;
}
.history_entry_category {
}
.history_entry_duration {
color: #e4c9ff;
display: inline-block;
border: solid dimgray 0.05em;
background: black;
font-family: Ubuntu Mono;
padding-right: 0.3em;
padding-left: 0.3em;
min-width: 4em;
text-align: center;
}
.history_entry_started {
color: #fdab70;
}
.history_entry_ended {
color: #ffa9a9;
}
.history_entry_delete_button {
color: #aa0000;
}
.hline {
width: 99%;
height: 3px;
background-color: #aaaaaa;
margin: auto;
}
.tooltip {
position: relative;
display: inline-block;
border-bottom: 0.05em dotted black;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: #000;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
bottom: 110%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #000 transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
.display_none {
display: none;
}
.dailies_list {
max-width: 40rem;
margin: auto;
display: flex;
flex-direction: column;
}
.dailies_entry {
color: wheat;
font-size: 1.5em;
background: #3a3743;
margin-bottom: 1rem;
padding: 1rem;
border-radius: 0.35rem;
border: .2rem solid #45374f;
display: flex;
cursor: pointer;
transition: background-color 0.1s;
}
.dailies_entry:hover {
background-color: #4c4858;
}
.dailies_entry:active {
background-color: #312e38;
}
.dailies_entry > span {
flex-grow: 1
}
.dailies_checkbox input[type=checkbox] {
visibility:hidden;
display:none
}
.dailies_checkbox *,
.dailies_checkbox :after,
.dailies_checkbox :before {
box-sizing:border-box
}
.dailies_checkbox .container {
cursor:pointer;
user-select:none;
font-size:25px;
display:block;
position:relative
}
.dailies_checkbox .checkmark {
--spread:10px;
background:#000;
border-radius:50px;
width:1.3em;
height:1.3em;
transition:all .7s;
position:relative;
top:0;
left:0
}
.dailies_checkbox .container input:checked~.checkmark {
box-shadow:-5px -5px var(--spread)0px #5b51d8,0 -5px var(--spread)0px #833ab4,5px -5px var(--spread)0px #e1306c,5px 0 var(--spread)0px #fd1d1d,5px 5px var(--spread)0px #f77737,0 5px var(--spread)0px #fcaf45,-5px 5px var(--spread)0px #ffdc80;
background:#000
}
.dailies_checkbox .checkmark:after {
content:"";
display:none;
position:absolute
}
.dailies_checkbox .container input:checked~.checkmark:after {
display:block
}
.dailies_checkbox .container .checkmark:after {
border:.15em solid wheat;
border-width:0 .15em .15em 0;
width:.25em;
height:.5em;
top:.34em;
left:.5em;
transform:rotate(45deg)
}
.life_calendar {
display: flex;
flex-direction: row;
max-width: 30rem;
flex-wrap: wrap;
margin: auto;
}
.life_calendar > span {
display: contents;
}
.life_calendar > span > p {
height: 0.5em;
width: 0.5em;
margin: 0.1em;
border: solid 0.05em;
border-radius: 0.5em;
background-color: inherit;
}
.life_calendar_ticker {
position: relative;
top: -16rem;
width: 100%;
text-align: center;
font-size: 10rem;
font-family: "Ubuntu Mono";
}
.life_calendar_ticker > h1 {
font-size: 8rem;
margin: 0;
}
.life_calendar_ticker > h2 {
font-size: 2rem;
margin: 0;
}