WipperSnapper_Firmware_Uplo.../css/style.css
Melissa LeBlanc-Williams 1088cf08c5 Fixed issues from review
2023-03-01 14:46:16 -08:00

433 lines
6.7 KiB
CSS

/**
* Header
*/
input, select, button, label {
font-weight: 600;
outline: none;
}
body {
font-family: proxima-nova, sans-serif;
font-style: normal;
font-weight: 400;
margin: 0;
}
p {
margin: 0;
}
button {
cursor: pointer;
}
button:disabled {
cursor: default;
}
.header {
box-sizing: border-box;
font-size: 16px;
height: 85px;
line-height: 40px;
padding: 20px 70px 0px 70px; /* TRouBLe */
position: fixed;
width: 100%;
z-index: 1000;
margin: 0;
border-bottom: 5px solid #00a7e9;
}
.header h1 {
flex: 1;
font-size: 20px;
font-weight: 400;
}
button, .firmware {
height: 25px;
font-size: 16px;
border-radius: 15px;
padding-left: 20px;
padding-right: 20px;
border-width: 2px;
}
.footer {
height: 45px;
line-height: 45px;
padding-left: 70px;
padding-right: 70px;
}
.footer button {
font-size: 14px;
margin: 0 10px;
}
.remix {
display: flex;
justify-content: center;
height: 60px;
position: relative;
}
.remix button {
position: absolute;
bottom: 11px;
}
.header button {
border: solid 2px #ffffff;
background-color: #000000;
color: #ffffff;
margin-left: 20px;
height: 30px;
}
.header button:hover {
background-color: #ffffff;
color: #000000;
}
div.left {
float: left;
display: flex;
align-items: center;
}
div.right {
float: right;
display: flex;
align-items: center;
}
div.clear {
clear: both;
}
.Adafruit-Logo {
width: 115px;
height: 40px;
object-fit: contain;
}
.main {
overflow-x: hidden;
overflow-y: auto;
padding-top: 105px;
}
.hidden {
display: none;
}
.left.hidden {
display: none;
}
.dimmed {
opacity: 0.35;
}
.highlight {
background-color: yellow;
}
.notSupported {
padding: 1em;
margin-top: 1em;
margin-bottom: 1em;
}
.subheader {
height: 120px;
padding-left: 70px;
padding-right: 70px;
}
.subheader .title {
font-size: 36px;
font-weight: 500;
margin-bottom: 20px;
white-space: nowrap;
}
.subheader div.left {
flex-direction: column;
align-items: baseline;
width: 80%;
}
.subheader p {
margin-bottom: 10px;
}
.tutorial-steps {
padding: 0 100px;
}
.tutorial-steps li {
margin-top: 14px;
transition: opacity 0.75s;
transition: background-color 1.2s;
}
.tutorial-steps p {
margin-bottom: 14px;
}
.step-6 {
font-size: 20px;
}
#app {
width: 100%;
height: calc(100vh - 275px);
overflow-y: auto;
scroll-behavior: smooth;
}
#app.with-console {
height: calc(100vh - 515px);
}
#commands {
transition: height 0.5s;
}
#log {
max-width: 100%;
height: 200px;
font-family: pt-mono, monospace;
font-style: normal;
font-weight: 400;
font-size: 16px;
overflow-x: auto;
transition: color 0.1s linear;
padding: 0 50px;
border: 20px solid #000000;
-ms-overflow-style: none;
scrollbar-width: none;
background-color: #000000;
color: #cecece;
}
#log::-webkit-scrollbar {
display: none;
}
#log a {
color: lightblue;
}
#commands {
min-width: 400px;
overflow-y: auto;
}
#app #commands {
height: 0;
}
#app.connected #commands, #app.generating #commands {
height: 150px;
}
#app.connected li.offline {
display: none;
}
#app.generating li.online {
display: none;
}
#templates {
display: none;
}
/* On/Off Switch Widget */
.onoffswitch {
display: inline-block;
position: relative;
width: 50px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
margin-left: 10px;
}
.onoffswitch-checkbox {
display: none;
}
.onoffswitch-label {
display: block;
overflow: hidden;
cursor: pointer;
border: 1px solid #990000;
border-radius: 15px;
transition: border 0.3s ease-in 0s;
}
.onoffswitch-inner {
display: block;
width: 200%;
margin-left: -100%;
transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before,
.onoffswitch-inner:after {
display: block;
float: left;
width: 50%;
height: 25px;
padding: 0;
line-height: 25px;
font-size: 14px;
color: white;
font-family: proxima-nova, sans-serif;
font-style: normal;
font-weight: 600;
box-sizing: border-box;
}
.onoffswitch-inner:before {
content: "on";
padding-left: 6px;
background-color: #8ec641;
color: #ffffff;
}
.onoffswitch-inner:after {
content: "off";
padding-right: 6px;
background-color: #c64141;
color: #ffffff;
text-align: right;
}
.onoffswitch-switch {
display: block;
width: 19px;
margin: 3px;
background: #ffffff;
position: absolute;
top: 0;
bottom: 0;
right: 23px;
border: 1px solid #990000;
border-radius: 15px;
transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label {
border-color: #71ae1e;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
right: 0px;
border-color: #67ac38;
}
.footer .onoffswitch {
margin-right: 20px;
}
#fpsCounter {
margin-right: 10px;
}
#butShowConsole {
margin-top: 10px;
}
#commands .field {
width: 400px;
display: flex;
align-items: center;
margin: 5px auto;
justify-content: flex-start;
}
#commands .field label {
white-space: nowrap;
}
#commands .field span {
width: 200px;
display: inline-flex;
justify-content: flex-end;
}
.firmware > input {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
}
.firmware {
border-style: solid;
margin-left: 20px;
margin-right: 20px;
display: flex;
align-items: center;
cursor: pointer;
}
.firmware > svg {
margin-right: 10px;
}
.debug-function {
color: #8ec641;
}
.error-message {
color: #c64141;
}
.timestamp {
color: #8ec641;
}
.progress-bar {
width: 100%;
height: 24px;
border-style: solid;
border-width: 2px;
border-radius: 10px;
padding: 0;
overflow: hidden;
}
.progress-bar > div {
height: 24px;
background-color: #71ae1e;
width: 0;
}
#commands .buttons {
display: flex;
justify-content: center;
width: 600px;
margin: 10px auto;
}
#commands .buttons button {
margin-left: 10px;
margin-right: 10px;
border-width: 2px;
border-style: solid;
}