Skip to content
Snippets Groups Projects
style.css 5.54 KiB
Newer Older
*{
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
}
input[type=text], input[type=password], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid white;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: transparent;
    color: white;
}
input[type=submit] {
    width: 100%;
    background-color: transparent;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: 1px solid white;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: white;
    color: black;
}
nav ul{
    float: right;
    margin-right: 20px;
}
nav ul li{
    display: inline-block;
    line-height: 30px;
    margin: 0 5px;
}
nav ul li a{
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}
a.active,a:hover{
    background: white;
    color: black;
    border-color: black;
    transition: .5s;
}
/* Question mark button */
.in-circle {
    display: block;
    background: #9CADCE;
    color: white;
    border-radius: 50%;
    border: none;
    width: 24px;
    height: 24px;
    text-align: center;
    vertical-align: center;
    font-size: 18px;
    font-family: Courier New;
    cursor: pointer;
}
Karl-Luca's avatar
Karl-Luca committed
body {
    color: white;
    background-color: #9CADCE;
Karl-Luca's avatar
Karl-Luca committed
    
}
.button {
    border: none;
Karl-Luca's avatar
Karl-Luca committed
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}
  
.button1 {
    background-color: white; 
    color: black;
    border-color: black;
Karl-Luca's avatar
Karl-Luca committed
    border-radius: 10px;
Karl-Luca's avatar
Karl-Luca committed
}
  
.button1:hover {
    background-color: #7691c9;
Karl-Luca's avatar
Karl-Luca committed
    color: #4D4B4B;
Karl-Luca's avatar
Karl-Luca committed
}
  
.button2 {
    background-color: white; 
    color: black;
    border-color: black; 
Karl-Luca's avatar
Karl-Luca committed
    border-radius: 10px;
}
  
.button2:hover {
    background-color: #7691c9;
Karl-Luca's avatar
Karl-Luca committed
    color: #4D4B4B;
}

.button3 {
    background-color: white;
    color: black;
    border-color: black;
    border-radius: 10px;
}

.button3:hover {
    background-color: #7691c9;
    color: #4D4B4B;
}

Karl-Luca's avatar
Karl-Luca committed
.button1:active {
      background-color: #5570a7;
Karl-Luca's avatar
Karl-Luca committed
      transform: translate(4px);
}

.button2:active {
    background-color: #5570a7;
Karl-Luca's avatar
Karl-Luca committed
    transform: translate(4px);
}

.button3:active {
    background-color: #5570a7;
    transform: translate(4px);
}

Karl-Luca's avatar
Karl-Luca committed
.move-right{
    margin-left: 50px;
}
/*th, td {
    
    border: 1px solid black;
    border-radius: 10px;
} */
table {
    border: 1px solid black;
    border-radius: 10px;
}
Karl-Luca's avatar
Karl-Luca committed
    margin-left: 10%;
Karl-Luca's avatar
Karl-Luca committed
    width: 20%; 
Karl-Luca's avatar
Karl-Luca committed
.left2 {
    margin-left: 10%;
    float: left;
    width: 20%;

/*Regler für Steuerung beim Licht*/
.slidecontainer {
  width: 30%;
}

/* The slider itself */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  /*background: #d3d3d3;*/
  background: white;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 25px;
  border-radius: 50%;*/
  width: 12px;
  height: 40px;
  border-radius: 8px;
  background: #5570a7;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #5570a7;
  cursor: pointer;
}

/*Zeitschalter für Licht*/
.toggle label {
  position: relative;
  display: inline-block;
  width: 10em;
  height: 3.5em;
}
.toggle input {
  display: none;
}
.toggle  .slider {    /* Grundfläche */
  position: absolute;
  cursor: pointer;
  top: 1.5em;
  left: 3em;
  width: 4em;
  height: 2em;
  background-color: #c32e04; /* red */
  transition: all .3s ease-in-out;
  border-radius: 1em;
}
.toggle  .slider:before {  /* verschiebbarer Button */
  position: absolute;
  content: "";
  height: 1.6em;
  width: 1.6em;
  left: 0.2em;
  bottom: 0.2em;
  background-color: white;
  border-radius: 50%;
  transition: all .3s ease-in-out;
}

.toggle input:checked + .slider {
  background-color: #5a9900; /* green */
}

.toggle input:focus + .slider {
  background-color:pink;
  box-shadow: 0 0 1px #5a9900;
}

.toggle  input:checked + .slider:before {
  transform: translateX(1.9em);
}

/*PopUp*/
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  /*background-color: #888;*/
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
  /*border-color: #888 transparent transparent transparent;*/
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
binh.pham's avatar
binh.pham committed
/*Image of the plant for health analysis*/
.plant-image {
    width: 488px;
    height: 325px;
    overflow: hidden;
    object-fit: cover;
    border: 5px solid white;
}