-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
krasch
committed
Dec 19, 2024
1 parent
8a6d4d1
commit ce9a46c
Showing
6 changed files
with
225 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,37 @@ | ||
body { | ||
--color1: 27,158,119; | ||
--color2: 217,95,2; | ||
--color3: 117,112,179; | ||
--color4: 231,41,138; | ||
--color5: 102,166,30; | ||
--color1: 27, 158, 119; | ||
--color2: 217, 95, 2; | ||
--color3: 117, 112, 179; | ||
--color4: 231, 41, 138; | ||
--color5: 102, 166, 30; | ||
|
||
--color-background: #81a0be; | ||
--color-dark: #2f4f69; | ||
--color-light: #f9f3ea; | ||
--color-background: #81a0be; | ||
--color-dark: #2f4f69; | ||
--color-light: #f9f3ea; | ||
|
||
--color-map-beige: #F6F0E6; | ||
--color-map-blue: #B3CFEB; | ||
--color-map-green: #DDE9CC; | ||
--color-map-beige: #f6f0e6; | ||
--color-map-blue: #b3cfeb; | ||
--color-map-green: #dde9cc; | ||
|
||
/* https://codepen.io/sosuke/pen/Pjoqqp */ | ||
--filter-white: invert(100%); | ||
/* #f9f3ea */ | ||
--filter-beige: invert(95%) sepia(9%) saturate(656%) hue-rotate(315deg) brightness(105%) contrast(95%); | ||
--filter-darkgrey: invert(73%) sepia(0%) saturate(0%) hue-rotate(158deg) brightness(94%) contrast(89%); | ||
/* 2f4f69 */ | ||
--filter-dark-blue: invert(26%) sepia(17%) saturate(1428%) hue-rotate(165deg) brightness(98%) contrast(88%); | ||
/* 0c3e87 looks nicer for marker*/ | ||
--filter-dark-blue2: invert(19%) sepia(96%) saturate(1482%) hue-rotate(201deg) brightness(84%) contrast(100%); | ||
/* #2f4169 */ | ||
--filter-dark-blue2-hover: invert(22%) sepia(42%) saturate(701%) hue-rotate(183deg) brightness(93%) contrast(91%); | ||
/* 81a0be*/ | ||
--filter-light-blue: invert(58%) sepia(51%) saturate(225%) hue-rotate(168deg) brightness(97%) contrast(83%); | ||
} | ||
--color-modal: #286099; | ||
|
||
/* https://codepen.io/sosuke/pen/Pjoqqp */ | ||
--filter-white: invert(100%); | ||
/* #f9f3ea */ | ||
--filter-beige: invert(95%) sepia(9%) saturate(656%) hue-rotate(315deg) | ||
brightness(105%) contrast(95%); | ||
--filter-darkgrey: invert(73%) sepia(0%) saturate(0%) hue-rotate(158deg) | ||
brightness(94%) contrast(89%); | ||
/* 2f4f69 */ | ||
--filter-dark-blue: invert(26%) sepia(17%) saturate(1428%) hue-rotate(165deg) | ||
brightness(98%) contrast(88%); | ||
/* 0c3e87 looks nicer for marker*/ | ||
--filter-dark-blue2: invert(19%) sepia(96%) saturate(1482%) hue-rotate(201deg) | ||
brightness(84%) contrast(100%); | ||
/* #2f4169 */ | ||
--filter-dark-blue2-hover: invert(22%) sepia(42%) saturate(701%) | ||
hue-rotate(183deg) brightness(93%) contrast(91%); | ||
/* 81a0be*/ | ||
--filter-light-blue: invert(58%) sepia(51%) saturate(225%) hue-rotate(168deg) | ||
brightness(97%) contrast(83%); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,84 @@ | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
font-family: helvetica, arial, sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
font-family: helvetica, arial, sans-serif; | ||
} | ||
|
||
html, body { | ||
height: 100%; | ||
html, | ||
body { | ||
height: 100%; | ||
} | ||
|
||
#map { | ||
z-index: 1; | ||
z-index: 1; | ||
|
||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
|
||
height: 100%; | ||
width: 100%; | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
#icon { | ||
z-index: 2; | ||
z-index: 2; | ||
|
||
position: absolute; | ||
left: 2rem; | ||
top: 2rem; | ||
position: absolute; | ||
left: 2rem; | ||
top: 2rem; | ||
|
||
height: 6rem; | ||
height: 6rem; | ||
|
||
filter: var(--filter-white); | ||
filter: var(--filter-white); | ||
} | ||
|
||
#sidebar { | ||
z-index: 3; | ||
z-index: 3; | ||
|
||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
|
||
height: 100%; | ||
width: 500px; | ||
height: 100%; | ||
width: 500px; | ||
|
||
visibility: hidden; | ||
visibility: hidden; | ||
} | ||
|
||
#modal { | ||
z-index: 4; | ||
z-index: 4; | ||
|
||
/* center horizontally and vertically */ | ||
position: absolute; | ||
left: 50%; | ||
top: 50%; | ||
transform: translate(-50%, -50%); | ||
/* center horizontally and vertically */ | ||
position: absolute; | ||
left: 50%; | ||
top: 50%; | ||
transform: translate(-50%, -50%); | ||
|
||
min-height: 50%; | ||
min-width: 50%; | ||
min-height: 50%; | ||
min-width: 50%; | ||
} | ||
|
||
/******************************************************* | ||
the card/menu with title, used in map, calendar, modal | ||
*******************************************************/ | ||
|
||
.card { | ||
display: flex; | ||
flex-direction: column; | ||
menu { | ||
margin: 0; | ||
padding: 0; | ||
list-style-type: none; | ||
|
||
display: flex; | ||
flex-direction: column; | ||
|
||
border-radius: 5px; | ||
overflow: hidden; /* this is necessary to really get the round corners */ | ||
border-radius: 5px; | ||
overflow: hidden; /* this is necessary to really get the round corners */ | ||
} | ||
|
||
.card > * { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
menu > li { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
|
||
/*margin: 0;*/ | ||
padding: 5px; | ||
margin: 0; | ||
padding: 5px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.