2021-08-04 09:10:00 +02:00
|
|
|
@import 'colors';
|
|
|
|
@import 'fonts';
|
|
|
|
@import 'vars';
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app {
|
|
|
|
font-family: 'PT Sans', Helvetica, Arial, sans-serif;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
color: var(--app-color);
|
|
|
|
|
|
|
|
background-color: var(--app-background-color);
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--app-a-color);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-09-20 12:18:40 +02:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-09-28 12:39:12 +02:00
|
|
|
input, textarea, select {
|
2021-11-07 11:26:32 +01:00
|
|
|
background-color: var(--input-bg-color);
|
2021-08-18 17:13:54 +02:00
|
|
|
border-radius: $border-radius;
|
2021-08-08 11:49:01 +02:00
|
|
|
border: solid 1px var(--input-border-color);
|
2021-09-28 12:39:12 +02:00
|
|
|
padding: $default-padding;
|
2021-08-15 17:42:11 +02:00
|
|
|
|
|
|
|
&:disabled {
|
2021-09-29 11:32:05 +02:00
|
|
|
background-color: var(--disabled-background-color);
|
2021-08-15 17:42:11 +02:00
|
|
|
border-color: var(--disabled-color);
|
|
|
|
}
|
2021-08-08 11:49:01 +02:00
|
|
|
}
|
|
|
|
|
2021-11-11 08:29:12 +01:00
|
|
|
form.errors {
|
|
|
|
:invalid {
|
|
|
|
outline: 2px solid var(--input-error-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-08 11:49:01 +02:00
|
|
|
label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2021-08-07 14:28:48 +02:00
|
|
|
button {
|
2021-08-07 18:10:32 +02:00
|
|
|
background: var(--app-background-color);
|
2021-09-27 15:50:04 +02:00
|
|
|
border: solid 1px var(--input-border-color);
|
2021-08-18 17:13:54 +02:00
|
|
|
border-radius: $border-radius;
|
2021-08-07 14:28:48 +02:00
|
|
|
box-shadow: 2px 2px 2px var(--app-shadow-color);
|
|
|
|
color: var(--app-color);
|
|
|
|
padding: 6px 14px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--app-color);
|
2021-09-28 09:10:01 +02:00
|
|
|
color: var(--button-hover-color);
|
2021-08-07 14:28:48 +02:00
|
|
|
}
|
|
|
|
|
2021-08-15 17:42:11 +02:00
|
|
|
&:enabled:active {
|
2021-08-07 14:28:48 +02:00
|
|
|
box-shadow: 2px 0 2px var(--app-shadow-color);
|
|
|
|
transform: translateY(2px);
|
|
|
|
}
|
2021-08-15 17:42:11 +02:00
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
background: var(--disabled-background-color);
|
|
|
|
border-color: var(--disabled-color);
|
|
|
|
color: var(--disabled-color);
|
|
|
|
}
|
2021-09-28 09:10:01 +02:00
|
|
|
|
|
|
|
&.cancel {
|
|
|
|
background: var(--button-cancel-bg-color);
|
|
|
|
color: var(--button-cancel-color);
|
|
|
|
&:hover {
|
2021-10-13 19:21:53 +02:00
|
|
|
background: var(--app-color);
|
|
|
|
color: var(--button-hover-color);
|
2021-09-28 09:10:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.confirm {
|
|
|
|
background: var(--button-confirm-bg-color);
|
|
|
|
color: var(--button-confirm-color);
|
|
|
|
&:hover {
|
2021-10-13 19:21:53 +02:00
|
|
|
background: var(--app-color);
|
|
|
|
color: var(--button-hover-color);
|
2021-09-28 09:10:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-13 19:21:53 +02:00
|
|
|
&.danger {
|
|
|
|
background: var(--button-danger-bg-color);
|
|
|
|
color: var(--button-danger-color);
|
|
|
|
&:hover {
|
|
|
|
background: var(--button-danger-hover-bg-color);
|
|
|
|
color: var(--button-danger-hover-color);
|
|
|
|
}
|
2021-10-31 11:47:29 +01:00
|
|
|
&:disabled {
|
|
|
|
background: var(--disabled-background-color);
|
|
|
|
border-color: var(--disabled-color);
|
|
|
|
color: var(--disabled-color);
|
|
|
|
}
|
2021-10-13 19:21:53 +02:00
|
|
|
}
|
2021-08-07 14:28:48 +02:00
|
|
|
}
|
|
|
|
|
2021-10-05 19:02:08 +02:00
|
|
|
.box {
|
|
|
|
border: solid 1px var(--card-border-color);
|
|
|
|
border-radius: $border-radius;
|
|
|
|
padding: $default-padding;
|
|
|
|
margin: $default-margin;
|
|
|
|
}
|
|
|
|
|
2021-10-27 17:10:37 +02:00
|
|
|
.info-box {
|
|
|
|
background-color: var(--info-background-color);
|
|
|
|
border-radius: $border-radius;
|
|
|
|
color: var(--info-color);
|
|
|
|
font-size: 0.8em;
|
|
|
|
padding: $default-padding;
|
|
|
|
}
|
|
|
|
|
2021-08-08 11:49:01 +02:00
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
max-width: $container-width;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-box {
|
|
|
|
.form-items {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin: $default-margin;
|
|
|
|
padding: $default-padding * .5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-26 21:20:11 +01:00
|
|
|
|
|
|
|
.form-info {
|
|
|
|
color: var(--alert-color);
|
|
|
|
font-size: 0.8em;
|
|
|
|
margin-top: -0.2 * $default-margin;
|
|
|
|
padding: 0 $default-padding * 1.5;
|
|
|
|
}
|
|
|
|
|
2022-03-12 08:59:22 +01:00
|
|
|
.success-message {
|
|
|
|
margin: $default-margin * 2 0;
|
|
|
|
background-color: var(--success-background-color);
|
|
|
|
color: var(--success-color);
|
|
|
|
}
|
|
|
|
|
2021-08-07 14:28:48 +02:00
|
|
|
.upper {
|
|
|
|
text-transform: uppercase;
|
2021-09-08 18:35:32 +02:00
|
|
|
}
|
|
|
|
|
2021-11-03 09:10:23 +01:00
|
|
|
.view {
|
|
|
|
padding-bottom: 35px;
|
|
|
|
}
|
|
|
|
|
2021-09-08 18:35:32 +02:00
|
|
|
.fa-trophy {
|
|
|
|
color: var(--workout-trophy-color)
|
2021-09-22 10:56:40 +02:00
|
|
|
}
|
|
|
|
|
2021-11-03 19:59:13 +01:00
|
|
|
.mountains {
|
|
|
|
margin-bottom: -3px;
|
|
|
|
height: 16px;
|
|
|
|
filter: var(--workout-img-color);
|
|
|
|
}
|
|
|
|
|
2021-09-22 10:56:40 +02:00
|
|
|
.section-title {
|
|
|
|
font-weight: bold;
|
|
|
|
padding-top: $default-padding * 1.5;
|
|
|
|
padding-left: $default-padding;
|
|
|
|
text-transform: capitalize;
|
2021-09-27 15:34:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-map {
|
|
|
|
background-color: var(--workout-no-map-bg-color);
|
2022-02-19 22:50:01 +01:00
|
|
|
background-image: url('~@/assets/img/workouts/map.svg');
|
2021-09-27 15:34:36 +02:00
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
color: var(--workout-no-map-color);
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: center;
|
2021-10-17 21:01:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.custom-checkboxes-group {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
|
|
|
|
.custom-checkboxes {
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
|
|
@media screen and (max-width: $xx-small-limit) {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
gap: $default-padding * .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-checkbox {
|
|
|
|
label {
|
|
|
|
font-weight: normal;
|
|
|
|
float: left;
|
|
|
|
padding: 0 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
label input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
label span {
|
|
|
|
border: solid 1px var(--custom-checkbox-border-color);
|
|
|
|
border-radius: 5px;
|
|
|
|
display: block;
|
|
|
|
font-size: 0.9em;
|
|
|
|
padding: 2px 6px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:checked + span {
|
|
|
|
background-color: var(--custom-checkbox-checked-bg-color);
|
|
|
|
color: var(--custom-checkbox-checked-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.description-list {
|
|
|
|
dl {
|
2021-10-23 21:34:02 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-10-17 21:01:14 +02:00
|
|
|
width: 100%;
|
|
|
|
dt {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
dd {
|
2021-10-23 21:34:02 +02:00
|
|
|
margin-bottom: $default-margin;
|
2021-10-17 21:01:14 +02:00
|
|
|
}
|
|
|
|
}
|
2021-10-23 21:34:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.center-card {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 700px;
|
|
|
|
&.with-margin {
|
|
|
|
margin-top: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $medium-limit) {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 auto 50px auto;
|
2021-10-17 21:01:14 +02:00
|
|
|
}
|
2021-10-23 21:34:02 +02:00
|
|
|
}
|
2021-10-27 18:51:59 +02:00
|
|
|
|
2021-11-12 18:52:08 +01:00
|
|
|
.text-center {
|
2021-10-31 11:21:21 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
2021-11-12 18:52:08 +01:00
|
|
|
.text-left {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2021-10-31 11:21:21 +01:00
|
|
|
|
2021-10-27 18:51:59 +02:00
|
|
|
.responsive-table {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
/* responsive table, adapted from: */
|
|
|
|
/* https://uglyduck.ca/making-tables-responsive-with-minimal-css/ */
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
padding: $default-padding;
|
|
|
|
font-size: 0.9em;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
|
|
thead th {
|
|
|
|
vertical-align: center;
|
|
|
|
padding: $default-padding;
|
|
|
|
border-bottom: 2px solid var(--card-border-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
font-size: 0.95em;
|
|
|
|
td {
|
|
|
|
padding: $default-padding;
|
|
|
|
border-bottom: 1px solid var(--card-border-color);
|
|
|
|
}
|
|
|
|
tr:last-child td {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.cell-heading {
|
|
|
|
background: var(--cell-heading-bg-color);
|
|
|
|
color: var(--cell-heading-color);
|
|
|
|
display: none;
|
|
|
|
font-size: 10px;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 5px;
|
|
|
|
position: absolute;
|
|
|
|
text-transform: uppercase;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $small-limit) {
|
|
|
|
table {
|
|
|
|
thead {
|
|
|
|
left: -9999px;
|
|
|
|
position: absolute;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
tr {
|
|
|
|
border-bottom: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
border: 1px solid var(--card-border-color);
|
|
|
|
margin: 0 -1px -1px 0;
|
|
|
|
padding-top: 25px !important;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
width: 45%;
|
|
|
|
}
|
|
|
|
tbody {
|
|
|
|
tr:last-child td {
|
|
|
|
border: 1px solid var(--card-border-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.cell-heading {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $x-small-limit) {
|
|
|
|
table {
|
|
|
|
td {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-11-12 18:52:08 +01:00
|
|
|
|
|
|
|
.profile-buttons {
|
|
|
|
display: flex;
|
|
|
|
gap: $default-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.medium-sport-img {
|
|
|
|
height: 35px;
|
|
|
|
width: 35px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|