Retab stylesheets

This commit is contained in:
2021-04-30 15:19:33 +02:00
parent 8ebf2a4771
commit a680c4abaa
2 changed files with 152 additions and 152 deletions

View File

@ -1,81 +1,81 @@
/* CSS rules for charts/plots */ /* CSS rules for charts/plots */
.chart_histogram { .chart_histogram {
height: 250px; /* TODO: possibly remove this */ height: 250px; /* TODO: possibly remove this */
padding: 0.75em; padding: 0.75em;
padding-top: 1.5em; padding-top: 1.5em;
margin: auto; margin: auto;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
/*** lined-paper background ***/ /*** lined-paper background ***/
position: relative; position: relative;
background-size: 100% 40px; background-size: 100% 40px;
border-radius: 3px; border-radius: 3px;
} }
.chart_histogram_legend { .chart_histogram_legend {
margin-right: 0.5em; margin-right: 0.5em;
} }
.chart_histogram_col { .chart_histogram_col {
border-top: dotted 1px; border-top: dotted 1px;
margin-top: 0.5em; margin-top: 0.5em;
max-width: 2em; max-width: 2em;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex-grow: 1; flex-grow: 1;
} }
.chart_histogram_col_line { .chart_histogram_col_line {
display: flex; display: flex;
width: 100%; width: 100%;
margin: auto; margin: auto;
background-color: #785ddc; background-color: #785ddc;
border-color: #e2e8f0; border-color: #e2e8f0;
border-style: solid; border-style: solid;
border-width: 0.1em; border-width: 0.1em;
transition: all 0.2s linear; transition: all 0.2s linear;
} }
.chart_histogram_col_line:hover { .chart_histogram_col_line:hover {
background-color: #5538ba; background-color: #5538ba;
transition: all 0.2s linear; transition: all 0.2s linear;
} }
.chart_histogram_col_label { .chart_histogram_col_label {
display: flex; display: flex;
max-width: 100%; max-width: 100%;
height: 4em; height: 4em;
font-size: 0.5em; font-size: 0.5em;
text-align: center; text-align: center;
margin: auto; margin: auto;
overflow: hidden; overflow: hidden;
padding-left: 0.2em; padding-left: 0.2em;
padding-right: 0.2em; padding-right: 0.2em;
} }
.paper { .paper {
/* font: normal 12px/1.5 "Lucida Grande", arial, sans-serif; */ /* font: normal 12px/1.5 "Lucida Grande", arial, sans-serif; */
} }
/* /*
.paper::before { .paper::before {
content: ''; content: '';
position: absolute; position: absolute;
width: 4px; width: 4px;
top: 0; top: 0;
left: 30px; left: 30px;
bottom: 0; bottom: 0;
border: 1px solid; border: 1px solid;
border-color: transparent #efe4e4; border-color: transparent #efe4e4;
} }
*/ */

View File

@ -1,37 +1,37 @@
body { body {
font-family: Ubuntu; font-family: Ubuntu;
background-color: #302f3b; background-color: #302f3b;
color: #e0c1c1; color: #e0c1c1;
} }
.title { .title {
text-align: center; text-align: center;
} }
a { a {
text-decoration: none; text-decoration: none;
} }
a:link { a:link {
color: #fff; color: #fff;
border-bottom: 0.05em solid #ff0000; border-bottom: 0.05em solid #ff0000;
} }
a:visited { a:visited {
color: #fff; color: #fff;
border-bottom: 0.05em solid #b3b3b3; border-bottom: 0.05em solid #b3b3b3;
} }
a:hover { a:hover {
color: #7bd09f; color: #7bd09f;
border-bottom: 0.05em solid #000099; border-bottom: 0.05em solid #000099;
} }
ul.striped_list { ul.striped_list {
max-width: 40rem; max-width: 40rem;
list-style-type: none; list-style-type: none;
margin: auto; margin: auto;
padding: 0; padding: 0;
} }
ul.striped_list > li:nth-child(even) { background-color:#302f3b } ul.striped_list > li:nth-child(even) { background-color:#302f3b }
@ -45,86 +45,86 @@ ul.striped_list > li:nth-child(odd) ul li:nth-child(odd) { background-color:#30
} }
.category_header { .category_header {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
} }
.category_children { .category_children {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-left: 2.5em !important; margin-left: 2.5em !important;
border-left: groove 1em; border-left: groove 1em;
border-top: groove 1em; border-top: groove 1em;
border-bottom: dotted; border-bottom: dotted;
border-color: #696969; border-color: #696969;
font-size: 0.8em; font-size: 0.8em;
} }
.category_name { .category_name {
font-size: 3em; font-size: 3em;
margin: auto; margin: auto;
} }
/* /*
.category_button { .category_button {
border-radius: 1em; border-radius: 1em;
color: white; color: white;
font-size: 2em; font-size: 2em;
height: 2em; height: 2em;
width: 2em; width: 2em;
margin: 0.1em; margin: 0.1em;
font-family: 'Source Sans Pro', sans-serif; font-family: 'Source Sans Pro', sans-serif;
} }
*/ */
.category_icon { .category_icon {
border-radius: 2em; border-radius: 2em;
height: 4em; height: 4em;
width: 4em; width: 4em;
margin-top: auto; margin-top: auto;
margin-bottom: auto; margin-bottom: auto;
margin-left: 1em; margin-left: 1em;
} }
.category_button_container { .category_button_container {
margin: 0.1rem; margin: 0.1rem;
background-color: #a4829c; background-color: #a4829c;
border-radius: 3.5rem; border-radius: 3.5rem;
width: 7rem; width: 7rem;
height: 7rem; height: 7rem;
} }
.category_button { .category_button {
box-sizing: border-box; box-sizing: border-box;
height: 60px; height: 60px;
margin: 30px; margin: 30px;
margin-top: 25px; margin-top: 25px;
background-color: transparent; background-color: transparent;
border-color: transparent transparent transparent #302f3b; border-color: transparent transparent transparent #302f3b;
transition: 100ms all ease; transition: 100ms all ease;
will-change: border-width; will-change: border-width;
cursor: pointer; cursor: pointer;
/* play state */ /* play state */
border-style: solid; border-style: solid;
border-width: 30px 0 30px 50px; border-width: 30px 0 30px 50px;
} }
.category_button_toggled { .category_button_toggled {
/* pause state */ /* pause state */
border-style: double; border-style: double;
border-width: 0px 0 0px 50px; border-width: 0px 0 0px 50px;
} }
.history_entry { .history_entry {
padding: 0.2em; padding: 0.2em;
padding-left: 0.5em; padding-left: 0.5em;
padding-right: 0.5em; padding-right: 0.5em;
text-align: right; text-align: right;
} }
.history_entry_category { .history_entry_category {
@ -132,72 +132,72 @@ ul.striped_list > li:nth-child(odd) ul li:nth-child(odd) { background-color:#30
} }
.history_entry_duration { .history_entry_duration {
color: #e4c9ff; color: #e4c9ff;
display: inline-block; display: inline-block;
border: solid dimgray 0.05em; border: solid dimgray 0.05em;
background: black; background: black;
font-family: Ubuntu Mono; font-family: Ubuntu Mono;
padding-right: 0.3em; padding-right: 0.3em;
padding-left: 0.3em; padding-left: 0.3em;
min-width: 4em; min-width: 4em;
text-align: center; text-align: center;
} }
.history_entry_started { .history_entry_started {
color: #fdab70; color: #fdab70;
} }
.history_entry_ended { .history_entry_ended {
color: #ffa9a9; color: #ffa9a9;
} }
.history_entry_delete_button { .history_entry_delete_button {
color: #aa0000; color: #aa0000;
} }
.hline { .hline {
width: 99%; width: 99%;
height: 3px; height: 3px;
background-color: #aaaaaa; background-color: #aaaaaa;
margin: auto; margin: auto;
} }
.tooltip { .tooltip {
position: relative; position: relative;
display: inline-block; display: inline-block;
border-bottom: 0.05em dotted black; border-bottom: 0.05em dotted black;
} }
.tooltip .tooltiptext { .tooltip .tooltiptext {
visibility: hidden; visibility: hidden;
width: 120px; width: 120px;
background-color: #000; background-color: #000;
color: #fff; color: #fff;
text-align: center; text-align: center;
border-radius: 6px; border-radius: 6px;
padding: 5px 0; padding: 5px 0;
position: absolute; position: absolute;
z-index: 1; z-index: 1;
bottom: 110%; bottom: 110%;
left: 50%; left: 50%;
margin-left: -60px; margin-left: -60px;
opacity: 0; opacity: 0;
transition: opacity 0.3s; transition: opacity 0.3s;
} }
.tooltip .tooltiptext::after { .tooltip .tooltiptext::after {
content: ""; content: "";
position: absolute; position: absolute;
top: 100%; top: 100%;
left: 50%; left: 50%;
margin-left: -5px; margin-left: -5px;
border-width: 5px; border-width: 5px;
border-style: solid; border-style: solid;
border-color: #000 transparent transparent transparent; border-color: #000 transparent transparent transparent;
} }
.tooltip:hover .tooltiptext { .tooltip:hover .tooltiptext {
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
} }