From dcfaef47a668f16ca82b0ba9887354130ee69b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=A1le=C5=A1=C3=A1k?= Date: Tue, 5 Jan 2021 23:29:28 +0100 Subject: [PATCH] pridan pull pri initu aplikace, pridano nastaveni, uprava interakce --- css/style.css | 13 ++++--- index.html | 18 ++++++++- js/controller.js | 98 +++++++++++++++++++++++++++++++++++++++++++----- js/model.js | 20 ++++++++++ js/view.js | 13 ++++++- 5 files changed, 144 insertions(+), 18 deletions(-) diff --git a/css/style.css b/css/style.css index 04cd52c..84338fd 100644 --- a/css/style.css +++ b/css/style.css @@ -22,18 +22,18 @@ ul:nth-child(1) { padding: 1em 1em; } -li:hover { +aside li:hover { background-color: rgb(0, 0, 130); color: white; } -li { +aside li { cursor: pointer; user-select: none; white-space: nowrap; } -li::before { +aside li::before { content: ""; color: black; display: inline-block; @@ -117,7 +117,8 @@ sub { float: right; } -.settingsbg { +.settingsbg, +.commitWrapper { position: absolute; background-color: rgba(0, 0, 0, 0.75); width: 100%; @@ -128,10 +129,10 @@ sub { z-index: 5; } -.settings { +.settings, +.commit { background-color: white; width: 30vw; - height: 30vh; padding: 1.5em; border: 5px solid #c3c3c3; z-index: 10; diff --git a/index.html b/index.html index ba192d1..0c81374 100644 --- a/index.html +++ b/index.html @@ -24,6 +24,7 @@