Migrate to central appointment database #45

Merged
christian merged 34 commits from sync-calendar into develop 2025-01-20 13:11:20 +00:00
2 changed files with 35 additions and 25 deletions
Showing only changes of commit 7fd921b66e - Show all commits

View File

@ -0,0 +1,19 @@
@mixin media-large {
@media screen and (min-width: 700px) {
@content;
}
}
@mixin mouse-available {
@media screen and (pointer: fine) {
@content;
}
}
@mixin mouse-available {
@media screen and (pointer: fine) {
@content;
}
}

View File

@ -1,3 +1,5 @@
@use 'responsive.scss' as r;
/* Variables */
$total-width: 95%;
$color-red: #cd1013;
@ -23,17 +25,6 @@ $color-vh-hinten: #0082c9;
}
}
@mixin media-large {
@media screen and (min-width: 700px) {
@content;
}
}
@mixin mouse-available {
@media screen and (pointer: fine) {
@content;
}
}
/* main styling */
@ -78,7 +69,7 @@ h1 {
width: $left-menu-width;
@include media-large {
@include r.media-large {
display: flex;
}
@ -166,7 +157,7 @@ h1 {
.calendar-manual {
font-size: xx-small;
@include media-large {
@include r.media-large {
font-size: small;
}
@ -347,7 +338,7 @@ h1 {
border-left: 20px solid $color-red;
position: relative;
@include media-large {
@include r.media-large {
display: flex;
}
@ -407,7 +398,7 @@ h1 {
font: 1.5em 'Open Sans Condensed', sans-serif;
display: none;
@include media-large {
@include r.media-large {
display: block;
}
@ -531,7 +522,7 @@ h1 {
// margin: 10px 25px 10px 0;
display: flex;
@include media-large {
@include r.media-large {
width: calc(50% - #{$gap-columns-persons} / 2);
}
@ -588,7 +579,7 @@ h1 {
margin-right: 2px;
flex-direction: column;
@include media-large{
@include r.media-large{
flex-direction: row;
}
@ -597,7 +588,7 @@ h1 {
display: block;
height: 190px;
@include media-large{
@include r.media-large{
flex: 33% 1 0;
}
@ -667,7 +658,7 @@ h1 {
border-top: 1px solid $color-hor-line;
@include media-large {
@include r.media-large {
display: none;
}
@ -717,7 +708,7 @@ h1 {
@include menu-style;
@include media-large {
@include r.media-large {
display: none;
}
}
@ -749,7 +740,7 @@ h1 {
grid-template-columns: 1fr;
gap: 15px;
@include media-large {
@include r.media-large {
&.cols-2 {
grid-template-columns: 1fr 1fr;
}
@ -788,7 +779,7 @@ h1 {
max-width: 70%;
}
@include media-large {
@include r.media-large {
display: flex;
align-items: start;
@ -852,7 +843,7 @@ h1 {
margin: 5px 0;
align-items: baseline;
@include mouse-available {
@include r.mouse-available {
margin: 0;
}
@ -870,7 +861,7 @@ h1 {
display: block;
padding: 6.5px 0;
@include mouse-available {
@include r.mouse-available {
padding: 3px 0;
}
}
@ -921,7 +912,7 @@ table.time {
}
}
@include media-large {
@include r.media-large {
display: table;
tr {