forked from andreeuuetoa/litsimaja
Improved website, added styling, replaced bad JS color picker with HTML5 picker.
This commit is contained in:
30
pyleds/templates/custom.css
Normal file
30
pyleds/templates/custom.css
Normal file
@@ -0,0 +1,30 @@
|
||||
.section-rgb {
|
||||
height: 20rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
select {
|
||||
width: 100%;
|
||||
height: calc(100% - 1.5rem);
|
||||
}
|
||||
|
||||
.colorpicker {
|
||||
display: inline-block;
|
||||
height: 38px;
|
||||
padding: 0 30px;
|
||||
width: 100%;
|
||||
color: #555;
|
||||
background-color: transparent;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #bbb;
|
||||
cursor: pointer;
|
||||
box-sizing: border-box; }
|
||||
.colorpicker:hover,
|
||||
.colorpicker:focus {
|
||||
color: #333;
|
||||
border-color: #888;
|
||||
outline: 0; }
|
||||
|
||||
.spacer-row {
|
||||
height: 2rem;
|
||||
}
|
||||
Reference in New Issue
Block a user