sample_pir-lights_rgb

Dependencies:   ChainableLED

webapp/public/style.css

Committer:
iv123
Date:
2017-06-18
Revision:
0:7a352727249b

File content as of revision 0:7a352727249b:

#header { margin-top: 20px; }
#logo { width: 167px; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0;
  padding: 0 20px;
  font-weight: 300;
  color: rgb(80, 79, 77);
  font-size: 16px;
}
h1 {
  background-color: #159ab5;
  background-image: url('/blueband_BG.png');
  background-position-x: right;
  background-size: 140%;
  color: white;
  font-weight: 400;
  font-size: 48px;
  margin: 20px -20px;
  padding: 30px 20px;
}
a {
  color: rgb(232, 146, 45);
  text-decoration: none;
}
a:hover { color: #008CBA; }
p, li {
  line-height: 23px;
}
h2 {
  font-weight: 300;
}
#lights { padding: 0; margin-top: -20px; }
#lights li {
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 20px 0;
  border-bottom: solid 1px lightgray;
}
.color {
  min-width: 25vw;
  height: 25vw;
  margin-right: 5vw;
}
.right-col {
  width: 100%;
  max-width: calc(100% - 30vw);
}
.endpoint {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  font-size: 20px;
  padding-bottom: 2px;
}
.timeout {
  margin: 8px 0;
}
.status {
  display: flex;
  flex-direction: row;
  border: solid 1px gray;
  border-radius: 4px;
}
.status div {
  padding: 6px;
  flex-grow: 1;
  width: 33%;
  text-align: center;
  border-right: solid 1px gray;
}
.status div.selected {
  background: lightgray;
}
.status div:last-child {
  border-right: none;
}
#color-picker-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#color-picker-overlay h2 {
  color: white;
}
#notification {
  position: fixed;
  bottom: 20px;
  background: rgba(0,0,0,0.6);
  color: white;
  border-radius: 10px;
  display: inline-block;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.6s ease-out;
  left: 50%;
  transform: translateX(-50%);
}