* { border-radius: 16px; } body { background-color: aliceblue; position: relative; z-index: 0; color: black; text-align: center; overflow-wrap: anywhere; height: 100%; } #root { max-width: 1280px; margin: 0 auto; padding: 8px; } footer { margin-top: 24px; font-size: x-small; } .fixed-footer { position: absolute; bottom: 4px; left: 8px; } /*=========Network Controls=========*/ .infobutton { position: fixed; right: 8px; bottom: 8px; padding: 0.4em; border-radius: 1em; background-color: rgba(0, 0, 0, 0.3); font-size: medium; margin-bottom: 16px; margin-right: 16px; } .controls { z-index: 9; position: absolute; top: 1vh; right: 0px; padding: 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; .control { display: flex; flex-direction: row; flex-wrap: wrap; max-width: 240px; margin: 0px; background-color: #F0F8FFdd; .slider, span { padding-left: 4px; padding-right: 4px; } } #three-slider { display: flex; flex-direction: row; margin: auto; justify-content: center; align-items: center; } } /* The switch - the box around the slider */ .switch { position: relative; width: 48px; height: 24px; } /* Hide default HTML checkbox */ .switch input { opacity: 0; width: 0; height: 0; } /* The slider */ .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; border-radius: 34px; -webkit-transition: .4s; transition: .4s; } .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; border-radius: 50%; -webkit-transition: .4s; transition: .4s; } input:checked+.slider { background-color: #2196F3; } input:focus+.slider { box-shadow: 0 0 1px #2196F3; } input:checked+.slider:before { -webkit-transform: translateX(24px); -ms-transform: translateX(24px); transform: translateX(24px); } .grey { color: #444; } .hint { position: absolute; font-size: 80%; padding: 8px; top: auto; left: 4px; bottom: auto; right: 4px; z-index: -1; } input { padding: 0.2em 16px; margin-bottom: 0.5em; } h1, h2, h3 { margin-top: 0px; margin-bottom: 0px; padding: 8px 16px; } .stack { display: flex; button, img { padding: 0px 1em 4px 1em; margin: 3px auto; } } .column { flex-direction: column; } .container { display: flex; flex-wrap: nowrap; width: min(96vw, 900px); } .dragbox { display: flex; flex-direction: column; min-height: 32px; height: 92%; } .box { position: relative; flex: 1; &.one { max-width: min(96%, 768px); margin: 4px auto; } padding: 4px; margin: 4px 0.5%; border-style: solid; border-color: black; } .reservoir { flex-direction: unset; flex-wrap: wrap; justify-content: space-around; width: 100%; } .user { max-width: 240px; min-width: 100px; margin: 4px auto; .item { font-weight: bold; border-style: solid; } } .item { cursor: pointer; font-size: small; border: 3px dashed black; border-radius: 1.2em; margin: 8px auto; padding: 4px 16px; } .extra-margin { padding: 0px 8px; margin: auto; } button, .button { margin: 4px; font-weight: bold; font-size: large; color: aliceblue; background-color: black; border-radius: 1.2em; z-index: 1; } #control-panel { display: none; overflow: hidden; margin: auto; gap: 16px; grid-template-columns: repeat(3, 1fr); transition: display 1s ease-out 0s; } #control-panel.opened { display: grid; } .control { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid #404040; padding: 8px 16px; } #three-slider input { margin: 4px; width: 50%; } @media only screen and (max-width: 1000px) { #control-panel { grid-template-columns: repeat(2, 1fr); } .control { font-size: 80%; margin: 0px; } } @media only screen and (max-width: 768px) { #control-panel { grid-template-columns: 1fr; } .networkroute { display: none; } .submit_text { display: none; } .submit { position: fixed; right: 16px; bottom: 16px; padding: 0.4em; border-radius: 1em; background-color: rgba(0, 0, 0, 0.3); font-size: xx-large; margin-bottom: 16px; margin-right: 16px; } } ::backdrop { background-image: linear-gradient(45deg, magenta, rebeccapurple, dodgerblue, green); opacity: 0.75; } .tablink { color: white; cursor: pointer; flex: 1; margin: 4px auto; } .navbar { span { padding: 4px; } button { font-size: medium; margin: 4px 0.5%; padding-top: 4px; padding-bottom: 4px; opacity: 50%; &:hover { opacity: 75%; } } } /* Style the tab content (and add height:100% for full page content) */ .tabcontent { display: none; height: 100%; } .renew { cursor: pointer; font-weight: bold; position: absolute; top: 0; right: 8px; font-size: 150%; } /*======LOGO=======*/ .logo { position: relative; text-align: center; height: 140px; span { display: block; margin: 2px; } img { display: block; margin: auto; } h3 { position: absolute; font-size: medium; width: 140px; top: 33%; left: 50%; transform: translate(-50%, -50%); color: aliceblue; background-color: black; border-radius: unset; letter-spacing: 8px; padding: 0px 40px; font-family: monospace; } } .avatar { background-color: lightsteelblue; padding: 3px 8px; width: fit-content; border: 3px solid black; margin: 0 auto 16px auto; ul { min-width: 100px; } } .user-info { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; div { text-align: left; } } .networkroute { z-index: 3; position: absolute; top: 24px; left: 48px; } /*======SPINNER=======*/ .loader { display: block; position: relative; height: 12px; width: 96%; border: 4px solid black; overflow: hidden; } .loader::after { content: ""; width: 32%; height: 120%; background: #36c; position: absolute; top: -2px; left: 0; box-sizing: border-box; animation: animloader 2s linear infinite; } @keyframes animloader { 0% { left: 0; transform: translateX(-100%); } 100% { left: 100%; transform: translateX(0%); } }