diff --git a/src/main/resources/data-access.properties b/src/main/resources/data-access.properties index 27196b6..122952c 100644 --- a/src/main/resources/data-access.properties +++ b/src/main/resources/data-access.properties @@ -1,2 +1,2 @@ -redis.host = redis +redis.host = localhost redis.port = 6379 \ No newline at end of file diff --git a/src/main/resources/static/css/modal.css b/src/main/resources/static/css/modal.css new file mode 100644 index 0000000..75de6d6 --- /dev/null +++ b/src/main/resources/static/css/modal.css @@ -0,0 +1,104 @@ +#overlay { + position: fixed; + left: 0; + right: 0; + top: 0; + bottom: 0; + opacity: 0; + background: rgba(0, 0 , 0, 0.5); + pointer-events: none; +} + +#overlay.active { + pointer-events: all; + opacity: 1; +} + +.modal { + display: none; + width: 390px; + min-height: 71px; + max-height: 700px; + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background: white; + padding: 5px; + border: 1px solid #f0f0f0; +} + +.modal.active { + display: block; +} + +.modal div.header { + width: 384px; + height: 24px; + background: gray; + color: white; + font-size: 24px; + font-weight: 700; + padding: 3px; + margin-bottom: 5px; + display: flex; + justify-content: space-between; + align-items: center; +} + +.modal div.header button { + font-size: 100%; + font-family: inherit; + border: 0; + padding: 0; + background: 0; + color: inherit; + cursor: pointer; +} + +.modal div.header button:hover { + color: white; + font-weight: 700; +} + +.modal div.body { + width: 370px; + padding: 10px; + background: #f0f0f0; + color: black; + min-height: 16px; + text-align: justify; + font-size: 16px; +} + +.modal div.function { + width: 385px; + min-height: 30px; + padding-top: 5px; + display: flex; + justify-content: space-evenly; + background: inherit; +} + +.modal div.function button { + min-height: 22px; + min-width: 34px; + max-width: 74px; + padding: 3px 20px; + outline: none; + border: 1px solid #f0f0f0; + background: rgba(205,205,205,1); + font-size: 16px; + text-align: center; + cursor: pointer; +} + +.modal div.function button:hover { + filter: brightness(110%); +} + +.r-exclamation:before { + content: '!'; + color: cyan; + font-style: normal; +} diff --git a/src/main/resources/static/css/wojtas.css b/src/main/resources/static/css/wojtas.css deleted file mode 100644 index d595257..0000000 --- a/src/main/resources/static/css/wojtas.css +++ /dev/null @@ -1,43 +0,0 @@ -p#tooltipText { - /* /* padding: 20px; */ - width: 200px; - height: 150px; -} - -div#tooltip { - border-radius: 15px; - padding-left: 20px; - padding-right: 20px; - padding-bottom: 20px; - margin-top: 160px; - border: 2px solid rgba(155, 165, 160, 0.507); - float: right; - width: 40%; - /* width: 70%; */ - /* background-color: rgb(68, 158, 116); */ - height: 100%; -} - -.collapsible { - background-color: rgba(155, 165, 160, 0.507); - color: rgb(44, 44, 44); - cursor: pointer; - padding: 18px; - width: 100%; - border: none; - text-align: center; - outline: none; - font-size: 20px; -} - -.active, .collapsibleActive:hover { - background-color: rgb(85, 85, 85); -} - -.collapsibleData { - padding: 0 18px; - max-height: 0; - overflow: hidden; - transition: max-height 0.2s ease-out; - background-color: #f1f1f1; -} \ No newline at end of file