mirror of
https://github.com/0x1d/esp8266-laser.git
synced 2025-12-16 02:38:47 +01:00
more styling
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
form .form-row {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
flex-wrap: wrap;
|
||||
padding: .2em;
|
||||
}
|
||||
form .form-row > label {
|
||||
@@ -13,10 +14,6 @@ form .form-row > input {
|
||||
form .form-row > span {
|
||||
flex: 2;
|
||||
}
|
||||
form .form-row > input,
|
||||
form .form-row > button {
|
||||
padding: .5em;
|
||||
}
|
||||
form .form-row input[type="checkbox"] {
|
||||
margin-top: 12px;
|
||||
}
|
||||
@@ -41,26 +38,28 @@ form .form-row input[type="checkbox"] {
|
||||
.sui {
|
||||
background: #000000;
|
||||
color: #0eb8c0;
|
||||
}
|
||||
.sui * {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.sui ul {
|
||||
padding: 0;
|
||||
.sui .hidden {
|
||||
display: none;
|
||||
}
|
||||
.sui ul li {
|
||||
margin: 0 0 0 0;
|
||||
.sui .shown {
|
||||
display: block;
|
||||
}
|
||||
.sui p {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
.sui input,
|
||||
.sui button {
|
||||
padding: .5em;
|
||||
}
|
||||
.sui > .content {
|
||||
padding: 32px;
|
||||
padding: 16px;
|
||||
}
|
||||
.sui > .content .heading {
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 16px;
|
||||
display: block;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.sui > .content .container {
|
||||
background: #333333;
|
||||
@@ -69,26 +68,41 @@ form .form-row input[type="checkbox"] {
|
||||
border: solid 1px #555555;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.sui > .content input[type="text"] {
|
||||
.sui > .content .container.collapsible > .heading {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.sui > .content .container.collapsible > .heading:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
.sui > .content .container.collapsible .content {
|
||||
display: none;
|
||||
}
|
||||
.sui > .content .container.collapsible.open > .heading {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.sui > .content .container.collapsible.open .content {
|
||||
display: block;
|
||||
}
|
||||
.sui > .content input[type="text"],
|
||||
.sui > .content input[type="password"] {
|
||||
height: 16px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #eeeeee;
|
||||
}
|
||||
.sui > .content input[type="text"]:focus,
|
||||
.sui > .content input[type="password"]:focus,
|
||||
.sui > .content input[type="text"]:hover,
|
||||
.sui > .content input[type="password"]:hover {
|
||||
outline: none;
|
||||
border-bottom: solid 1px #097479;
|
||||
box-shadow: 3px #097479;
|
||||
}
|
||||
.sui > .content input[type="checkbox"] {
|
||||
transform: scale(2);
|
||||
}
|
||||
.sui > .content .form-row > button {
|
||||
.sui > .content button {
|
||||
background: #097479;
|
||||
color: white;
|
||||
border: 0;
|
||||
}
|
||||
/*
|
||||
.spiro-control {
|
||||
label {
|
||||
width: 10%;
|
||||
display: inline-block;
|
||||
}
|
||||
input[type="range"] {
|
||||
width: 80%;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user