FitTrackee/fittrackee_client/src/scss/base.scss

136 lines
2.5 KiB
SCSS
Raw Normal View History

@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 {
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;
&:disabled {
2021-09-29 11:32:05 +02:00
background-color: var(--disabled-background-color);
border-color: var(--disabled-color);
}
2021-08-08 11:49:01 +02:00
}
label {
font-weight: bold;
}
2021-08-07 14:28:48 +02:00
button {
background: var(--app-background-color);
border: solid 1px var(--input-border-color);
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
}
&:enabled:active {
2021-08-07 14:28:48 +02:00
box-shadow: 2px 0 2px var(--app-shadow-color);
transform: translateY(2px);
}
&: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 {
background: var(--app-color);
color: var(--button-hover-color);
}
}
&.confirm {
background: var(--button-confirm-bg-color);
color: var(--button-confirm-color);
&:hover {
background: var(--app-color);
color: var(--button-hover-color);
}
}
2021-08-07 14:28:48 +02:00
}
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;
}
}
}
2021-08-07 14:28:48 +02:00
.upper {
text-transform: uppercase;
2021-09-08 18:35:32 +02:00
}
.fa-trophy {
color: var(--workout-trophy-color)
}
.section-title {
font-weight: bold;
padding-top: $default-padding * 1.5;
padding-left: $default-padding;
text-transform: capitalize;
}
.no-map {
background-color: var(--workout-no-map-bg-color);
background-image: url('/img/workouts/map.svg');
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;
}