Juice/static/juice.css

202 lines
2.7 KiB
CSS
Raw Permalink Normal View History

2019-06-05 16:04:44 -04:00
body {
2019-06-13 10:46:59 -04:00
font-family: Helvetica,sans-serif;
background-color: lightblue;
2019-06-18 12:49:01 -04:00
margin: 0;
2019-06-05 16:04:44 -04:00
}
2019-07-02 08:47:34 -04:00
#logo-line {
display: flex;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
#logo {
height: 5em;
2020-10-05 11:02:43 -04:00
width: 5em;
2019-07-02 08:47:34 -04:00
}
h1 {
margin-top: auto;
margin-bottom: 0;
}
h3 {
margin-top: auto;
margin-bottom: 0.1em;
margin-left: 0.5em;
color: whitesmoke;
text-shadow:
1px 1px 0 dimgray,
-1px 1px 0 dimgray,
1px -1px 0 dimgray,
-1px -1px 0 dimgray;
}
2019-06-20 07:48:11 -04:00
.font-awesome {
font-family: FontAwesome;
2019-06-20 09:01:14 -04:00
font-style: normal;
2019-06-20 07:48:11 -04:00
}
nav {
background-color: whitesmoke;
2019-07-02 08:47:34 -04:00
border-top: 1px solid darkgray;
2019-06-20 07:48:11 -04:00
border-bottom: 1px solid darkgray;
display: flex;
}
nav span {
2019-07-02 08:47:34 -04:00
color: dimgray;
2019-06-20 07:48:11 -04:00
cursor: pointer;
transition: 0.1s;
padding: 0.5em;
margin-left: 0.5em;
margin-right: 0.5em;
}
2019-06-22 18:37:16 -04:00
nav a {
text-decoration: none;
color: inherit;
}
2019-06-20 07:48:11 -04:00
nav span:hover {
background-color: lightgray;
}
2019-06-18 12:49:01 -04:00
#devices {
padding: 5%;
2019-06-16 18:22:47 -04:00
display: flex;
2019-06-20 07:49:29 -04:00
flex-wrap: wrap;
2019-06-16 18:22:47 -04:00
justify-content: center;
}
2019-06-05 16:04:44 -04:00
.device {
2019-06-13 10:46:59 -04:00
border: 2px solid darkgray;
border-radius: 0.5em;
padding: 3em;
margin: 3em;
2019-06-05 16:04:44 -04:00
display: flex;
flex-direction: column;
align-items: center;
2019-06-13 10:46:59 -04:00
background-color: whitesmoke;
}
2019-11-18 13:05:37 -05:00
.ip_address, .mqtt_root {
2019-06-13 10:46:59 -04:00
font-size: 0.8em;
2019-06-20 09:01:14 -04:00
font-style: italic;
2019-06-24 09:06:41 -04:00
color: dimgray;
2019-06-13 10:46:59 -04:00
margin: 0.2em;
2019-06-05 16:04:44 -04:00
}
2019-11-20 11:00:37 -05:00
.light_controls {
display: grid;
grid-template-columns: 1fr 1fr;
}
2019-06-05 16:04:44 -04:00
.sub_devices {
display: flex;
}
.sub_device {
2019-06-13 10:46:59 -04:00
border: 2px solid darkgray;
border-radius: 0.5em;
2019-06-05 16:04:44 -04:00
padding: 1em;
margin: 1em;
2019-06-05 23:26:22 -04:00
display: flex;
flex-direction: column;
align-items: center;
}
.outlet_image {
width: 5em;
height: 5em;
2019-06-05 16:04:44 -04:00
}
2019-07-02 13:09:31 -04:00
.LightStrip .sub_devices {
flex-wrap: wrap;
}
.NeoPixel {
2019-07-02 13:09:31 -04:00
padding: 0.25em;
margin: 0.125em;
}
.NeoPixel_color {
2019-07-02 13:09:31 -04:00
border-radius: 0.25em;
width: 1em;
height: 1em;
}
.NeoPixel_color_input {
2019-07-02 13:09:31 -04:00
opacity: 0;
display: block;
width: 1em;
height: 1em;
border: 0;
}
2019-06-13 10:46:59 -04:00
@font-face {
font-family: FontAwesome;
src: url("/static/fontawesome-webfont.woff2");
}
2019-06-20 14:51:00 -04:00
.edit, .save, .lock, .unlock, .delete {
2019-06-13 10:46:59 -04:00
font-size: 0.8em;
color: dimgrey;
margin-left: 0.4em;
2019-06-13 10:46:59 -04:00
}
2019-06-20 14:51:00 -04:00
.edit:hover, .save:hover, .lock:hover, .unlock:hover, .delete:hover {
2019-06-13 10:46:59 -04:00
color: red;
cursor: pointer;
}
2019-06-23 14:01:03 -04:00
.manage-table {
border-collapse: collapse;
}
.manage-table th {
padding-left: 0.5em;
padding-right: 0.5em;
}
.manage-table td {
border: 1px solid darkgray;
padding-left: 0.5em;
padding-right: 0.5em;
text-align: center;
}
.sub-table {
margin-top: 5em;
}
2019-06-23 15:03:03 -04:00
.manage-table tfoot td {
border: none;
}
.add {
color: dimgrey;
}
.add:hover {
color: red;
cursor: pointer;
}
2020-12-11 14:03:44 -05:00
#new_device_dialog {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 2px solid darkgray;
border-radius: 0.5em;
padding: 3em;
margin: 3em;
background-color: whitesmoke;
}
#new_device_settings {
display: flex;
column-gap: 2em;
}