mirror of
https://github.com/CyanoFresh/SmartHomePHP.git
synced 2026-03-03 08:34:02 +01:00
101 lines
2.4 KiB
CSS
101 lines
2.4 KiB
CSS
.temperature {
|
|
font-size: 40px;
|
|
}
|
|
|
|
.item-rgb .sp-replacer {
|
|
margin: 4px 0;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
color: inherit;
|
|
background: #efefef;
|
|
display: inline-block;
|
|
position: relative;
|
|
height: 30px;
|
|
width: 100%;
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.item-rgb .sp-preview {
|
|
border: none;
|
|
margin-right: 0;
|
|
height: 30px;
|
|
width: 100%;
|
|
}
|
|
|
|
.item-rgb .sp-dd {
|
|
display: none;
|
|
}
|
|
|
|
.item-rgb label {
|
|
margin: 0;
|
|
}
|
|
|
|
.item-rgb .col-xs-4 {
|
|
margin: 0;
|
|
padding: 0;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.item-rgb .col-xs-8 {
|
|
margin: 0;
|
|
padding: 0;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.item-rgb .border-right {
|
|
border-right: 1px solid rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.item-rgb .rgb-mode {
|
|
display: inline-block;
|
|
width: 60px;
|
|
height: 50px;
|
|
cursor: pointer;
|
|
margin: 5px 10px 0 0;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.item-rgb .rgb-mode.active {
|
|
/*border: 1px solid #fff;*/
|
|
}
|
|
|
|
.item-rgb .rgb-mode.active .rgb-mode-image {
|
|
box-shadow: inset 0 0 0 2px #fff;
|
|
}
|
|
|
|
.item-rgb .rgb-mode-image {
|
|
height: 100%;
|
|
width: 100%;
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.item-rgb .rgb-mode-rainbow {
|
|
background: red; /* not working, let's see some red */
|
|
background: -moz-linear-gradient(left,
|
|
rgba(255, 0, 0, 1) 0%,
|
|
rgba(255, 255, 0, 1) 15%,
|
|
rgba(0, 255, 0, 1) 30%,
|
|
rgba(0, 255, 255, 1) 50%,
|
|
rgba(0, 0, 255, 1) 65%,
|
|
rgba(255, 0, 255, 1) 80%,
|
|
rgba(255, 0, 0, 1) 100%);
|
|
background: -webkit-gradient(linear, left top, right top,
|
|
color-stop(0%, rgba(255, 0, 0, 1)),
|
|
color-stop(15%, rgba(255, 255, 0, 1)),
|
|
color-stop(30%, rgba(0, 255, 0, 1)),
|
|
color-stop(50%, rgba(0, 255, 255, 1)),
|
|
color-stop(65%, rgba(0, 0, 255, 1)),
|
|
color-stop(80%, rgba(255, 0, 255, 1)),
|
|
color-stop(100%, rgba(255, 0, 0, 1)));
|
|
}
|
|
|
|
.item-rgb .rgb-mode-breath {
|
|
background: #000000; /* Old browsers */
|
|
background: -moz-linear-gradient(left, #000000 0%, #30ff60 51%, #000000 100%); /* FF3.6-15 */
|
|
background: -webkit-linear-gradient(left, #000000 0%, #30ff60 51%, #000000 100%); /* Chrome10-25,Safari5.1-6 */
|
|
background: linear-gradient(to right, #000000 0%, #30ff60 51%, #000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#000000', GradientType=1);
|
|
}
|