Scaffold out UI components

This commit is contained in:
rektdeckard
2020-07-21 23:07:36 -04:00
parent 016e6d987b
commit 19d9b8c7d2
24 changed files with 1063 additions and 528 deletions

View File

@@ -1,38 +1,62 @@
.App {
text-align: center;
body {
margin: 0px;
font-family: monospace;
}
.App-logo {
height: 40vmin;
pointer-events: none;
button, select {
margin: 4px;
padding: 8px;
border: 1px solid black;
border-radius: 24px;
background-color: white;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
button:focus, select:focus {
outline: none;
border: 1px solid violet;
border-radius: 24px;
}
.App-header {
background-color: #282c34;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
button:active {
background-color: lightblue;
}
.App-link {
color: #61dafb;
size: 1em;
input[type="color"] {
border: 1px solid black;
border-radius: 24px;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
input[type="color" i] {
-webkit-appearance: square-button;
width: 32px;
height: 32px;
}
#color-picker {
padding: 0px;
border-radius: 100%;
height: 32px;
width: 32px;
border: none;
outline: none;
-webkit-appearance: none;
}
#color-picker::-webkit-color-swatch {
border: none;
border-radius: 50%;
}
/* input {
margin: 4px;
padding: 8px;
border: 2px solid black;
border-radius: 24px;
background-color: transparent;
}
input:focus {
outline: none;
border: 2px solid violet;
border-radius: 24px;
} */