iot-v2-rn/ctrl_server/views/css/style.css
2021-10-08 19:46:11 +01:00

114 lines
2.1 KiB
CSS

main svg {
position: relative;
left: 50%;
transform: translate(-50%);
}
footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
background-color: #D8D8D8;
text-align: center;
height: 50px;
font-size: 25px;
padding-top: 5px;
}
body {
height: 100%;
width: 100%;
background-color: black;
overflow: hidden;
}
.slidecontainer {
width: 100%;
/* Width of the outside container */
}
.container {
margin-top: auto;
position: relative;
top: 40%;
transform: translateY(-50%);
transform: translateX(5%);
width: 90%;
}
.power {
width: 100%;
padding-left: 50%;
}
.button {
background-color: #421e57;
/* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
transform: translateX(-50%);
}
/* The slider itself */
.slider {
-webkit-appearance: none;
/* Override default CSS styles */
appearance: none;
width: 100%;
/* Full-width */
height: 25px;
/* Specified height */
background: #646464;
/* Grey background */
outline: none;
/* Remove outline */
opacity: 0.7;
/* Set transparency (for mouse-over effects on hover) */
-webkit-transition: .2s;
/* 0.2 seconds transition on hover */
transition: opacity .2s;
}
/* Mouse-over effects */
.slider:hover {
opacity: 1;
/* Fully shown on mouse-over */
}
/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
/* Override default look */
appearance: none;
width: 25px;
/* Set a specific slider handle width */
height: 25px;
/* Slider handle height */
background: #7f30e6;
/* Green background */
cursor: pointer;
/* Cursor on hover */
}
.slider::-moz-range-thumb {
width: 25px;
/* Set a specific slider handle width */
height: 25px;
/* Slider handle height */
background: #7f30e6;
/* Green background */
cursor: pointer;
/* Cursor on hover */
}