aboutsummaryrefslogtreecommitdiff
path: root/react-frontend/src/css/App.css
diff options
context:
space:
mode:
Diffstat (limited to 'react-frontend/src/css/App.css')
-rw-r--r--react-frontend/src/css/App.css76
1 files changed, 76 insertions, 0 deletions
diff --git a/react-frontend/src/css/App.css b/react-frontend/src/css/App.css
new file mode 100644
index 0000000..90e9046
--- /dev/null
+++ b/react-frontend/src/css/App.css
@@ -0,0 +1,76 @@
+.App {
+ display: grid;
+ grid-template-areas: "head canvasFill2 canvasFill3 checkin"
+ "canvasFill1 canvasFill2 canvasFill3 checkin"
+ "route canvasFill2 canvasFill3 checkin";
+ grid-template-rows: max-content auto max-content;
+ grid-template-columns: max-content auto max-content max-content;
+ background-color: #121212;
+}
+
+.App-logo {
+ height: 40vmin;
+ pointer-events: none;
+}
+
+
+.Canvas-filler {
+ width: 100%;
+ height: 100%;
+
+ z-index: 1;
+}
+
+.Canvas-filler-1 {
+ grid-area: canvasFill1;
+}
+.Canvas-filler-2 {
+ grid-area: canvasFill2;
+}
+.Canvas-filler-3 {
+ grid-area: canvasFill3;
+}
+
+@media (prefers-reduced-motion: no-preference) {
+ .App-logo {
+ animation: App-logo-spin infinite 20s linear;
+ }
+}
+
+.App-header {
+ grid-area: head;
+ min-height: 7vh;
+ width: max-content;
+ display: flex;
+ padding: 0 20px;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ font-size: calc(10px + 2vmin);
+ color: white;
+ z-index: 10;
+ background-color: #333333;
+ border-radius: 5px;
+ margin: 5px;
+}
+
+.App-link {
+ color: #61dafb;
+}
+
+@keyframes App-logo-spin {
+ from {
+ transform: rotate(0deg);
+ }
+ to {
+ transform: rotate(360deg);
+ }
+}
+
+.Loading {
+ z-index: 100;
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+} \ No newline at end of file