Took 15 hours 7 minutes
This commit is contained in:
2022-11-17 00:46:19 +01:00
parent a356b39bad
commit c81713cd23
30 changed files with 4899 additions and 207 deletions

View File

@ -1,10 +1,19 @@
.btn {
padding: 11px 15px;
padding: 12px 16px;
border: none;
color: white;
font-size: 0.8em;
font-size: 0.95em;
border-radius: 2px;
cursor:none !important;
cursor: none !important;
}
.inputGroup {
margin-bottom: 1.5%;
}
label {
margin-right: 8px;
}
@ -36,10 +45,12 @@
color: white;
}
.btn-secondary:hover {
background-color: var(--secondary-bright);
}
.btn-success {
background-color: var(--success);
color: white;
@ -82,3 +93,27 @@
.btn-dark:hover {
background-color: var(--dark-bright);
}
.input {
padding: 6px;
font-size: 1.1em;
margin-left: 1%;
margin-right: 1%;
border: 0;
border-radius: 3px;
}
.input[type=checkbox] {
margin-bottom: 2px;
/* Double-sized Checkboxes */
-ms-transform: scale(1.5); /* IE */
-moz-transform: scale(1.5); /* FF */
-webkit-transform: scale(1.5); /* Safari and Chrome */
-o-transform: scale(1.5); /* Opera */
transform: scale(1.5);
padding: 10px;
}

View File

@ -0,0 +1,58 @@
#main::-webkit-scrollbar {
display: none;
}
#main {
display: grid;
grid-template-columns: repeat(3, calc(90% / 3));
grid-template-rows: repeat(2, calc(90% / 2));
grid-gap: 10% 5%;
}
#main .drink {
grid-row: span 1;
grid-column: span 1;
background-color: rgba(57, 57, 57, 0.6);
width: 90%;
height: 97%;
display: grid;
grid-template-columns: 100%;
grid-template-rows: repeat(3, calc(100% / 3));
grid-row-gap: 4%;
text-align: center;
border-radius: 30px 10px 30px;
color: black;
/*box-shadow: 3px 3px 3px;*/
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.29);
transition: 0.4s;
overflow: hidden;
padding-bottom: 1%;
}
#main .drink:hover {
background-color: rgba(57, 57, 57, 0.8);
width: 100%;
height: 100%;
}
.drink .thumbnail {
grid-column: span 1;
grid-row: span 2;
margin-left: auto;
margin-right: auto;
max-height: 100%;
overflow: hidden;
transition: 0.5s;
}
.drink .drinkName {
font-family: Ubuntu, sans-serif;
grid-column: span 1;
grid-row: span 1;
font-size: 150%;
}

View File

@ -3,7 +3,8 @@
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 15%; /* Location of the box */
padding-top: 8%; /* Location of the box */
padding-bottom: 1%;
left: 0;
top: 0;
width: 100%; /* Full width */
@ -24,6 +25,7 @@
width: 80%;
text-align: center;
background-color: #FEFEFE;
margin-bottom: 5px;
}

View File

@ -0,0 +1,104 @@
#setup {
padding-left: 5%;
padding-right: 5%;
padding-top: 1%;
display: grid;
grid-template-columns: repeat(2, calc(95% / 2));
grid-template-rows: repeat(7, calc(100% / 7));
grid-gap: 2% 5%;
}
#setup_slots {
min-width: 55px;
width: 10%;
margin-left: 3%;
border: 1px solid aliceblue;
}
#setup #setupContainersDiv {
grid-row: span 5;
grid-column: span 2;
width: 100%;
height: 100%;
text-align: center;
border: 1px solid cadetblue;
border-radius: 5px;
padding: 1% 10px;
overflow: auto;
}
#setup #setupContainersDiv #containerAddBtn {
position: relative;
left: 43%;
bottom: 10%;
}
#setup #setupLEDDiv {
grid-row: span 3;
grid-column: span 1;
height: 100%;
text-align: center;
border: 1px solid cadetblue;
border-radius: 5px;
padding: 1% 10px;
margin-right: 10%;
}
#setup #setupExtraDiv {
grid-row: span 3;
grid-column: span 1;
width: 100%;
height: 100%;
text-align: center;
border: 1px solid cadetblue;
border-radius: 5px;
padding: 1% 10px;
}
#setupContainers .setupContainer {
color: black;
text-align: left;
width: calc(100% / 2.3);
height: 12%;
display: inline-block;
margin-bottom: 3%;
border: 1px solid gray;
margin-left: 2%;
margin-right: 2%;
border-radius: 10px;
padding: 3% 10px;
transition: 0.5s;
background-color: rgb(111, 109, 109);
overflow: hidden;
}
.removeSlowly {
animation: removeSlowlyWidth 0.8s forwards;
}
@keyframes removeSlowlyWidth {
100% {
opacity: 0;
}
}
.error {
background-color: rgba(255,0,0,0.5) !important;
}
#setupContainers .setupContainer p {
margin-bottom: 3%;
font-weight: 600;
font-size: 1.2em;
}
#setupContainers .setupContainer select {
margin-bottom: 2%;
}

View File

@ -1,15 +1,21 @@
@import url("/stylesheets/colors.css");
@import url("/stylesheets/fonts.css");
@import url("/stylesheets/buttons.css");
@import url("/stylesheets/inputs.css");
@import url("/stylesheets/modal.css");
@import url("/stylesheets/main.css");
@import url("/stylesheets/setup.css");
:root {
cursor: none !important;
/*cursor: none !important;*/
}
html * {cursor: none !important}
html * {
/*cursor: none !important*/
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
body::-webkit-scrollbar {
@ -21,8 +27,17 @@ body {
color: white;
scroll-behavior: smooth;
font-family: "Roboto", serif;
font-style: normal;
cursor: none !important;
/*cursor: none !important;*/
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
h1 {
font-size: 1.7em;
font-weight: 500;
margin-bottom: 2%;
color: black;
}
@ -92,6 +107,15 @@ body {
border: 0;
border-radius: 0 8px 0 0;
color: white;
float: left;
}
#overlay #bottom #containers {
height: 100%;
width: 30%;
float: right;
/* todo */
}
@ -103,14 +127,20 @@ body {
height: 80%;
}
#menu {
display: none;
background-color: blue;
width: 100%;
.pane {
height: 100%;
padding: 1% 2%;
overflow: auto;
ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
scroll-behavior: smooth;
color: black;
}
.hiddenPane {
display: none !important;
transition: 0.2s;
}
#settings {
display: none;
@ -119,67 +149,3 @@ body {
height: 100vh;
}
#main::-webkit-scrollbar {
display: none;
}
#main {
display: grid;
height: 100%;
padding: 1% 2%;
grid-template-columns: repeat(3, calc(90% / 3));
grid-template-rows: repeat(2, calc(90% / 2));
grid-gap: 10% 5%;
overflow: auto;
ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
scroll-behavior: smooth;
}
#main .drink {
grid-row: span 1;
grid-column: span 1;
background-color: rgba(57, 57, 57, 0.6);
width: 90%;
height: 97%;
display: grid;
grid-template-columns: 100%;
grid-template-rows: repeat(3, calc(100% / 3));
grid-row-gap: 4%;
text-align: center;
border-radius: 30px 10px 30px;
color: black;
/*box-shadow: 3px 3px 3px;*/
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.29);
transition: 0.4s;
overflow: hidden;
padding-bottom: 1%;
}
#main .drink:hover {
background-color: rgba(57, 57, 57, 0.8);
width: 100%;
height: 100%;
}
.drink .thumbnail {
grid-column: span 1;
grid-row: span 2;
margin-left: auto;
margin-right: auto;
max-height: 100%;
overflow: hidden;
transition: 0.5s;
}
.drink .drinkName {
font-family: Ubuntu, sans-serif;
grid-column: span 1;
grid-row: span 1;
font-size: 150%;
}