safing-web/_sass/_button.scss
2018-09-14 16:10:36 +02:00

44 lines
1.2 KiB
SCSS

.ui.button.safing-active {
box-shadow: 0 0 0 2px $primary inset !important;
color: $primary;
}
.ui.button.safing-active:hover {
box-shadow: 0 0 0 2px $primary inset !important;
background-color: $primary;
color: $white;
}
.ui.button.safing-secondary{
box-shadow: 0 0 0 2px $secondary inset !important;
color: $secondary;
}
.ui.button.safing-secondary:hover{
box-shadow: 0 0 0 2px $fill_medium inset !important;
background-color: $fill_medium;
color: $white;
}
//go to top button
#myBtn {
display: none; /* Hidden by default */
position: fixed; /* Fixed/sticky position */
bottom: 200px; /* Place the button at the bottom of the page */
right: 30px; /* Place the button 30px from the right */
z-index: 99; /* Make sure it does not overlap */
border: none; /* Remove borders */
outline: none; /* Remove outline */
background-color: $secondary; /* Set a background color */
color: $white; /* Text color */
cursor: pointer; /* Add a mouse pointer on hover */
padding: 15px; /* Some padding */
border-radius: 10px; /* Rounded corners */
font-size: 18px; /* Increase font size */
}
#myBtn:hover {
background-color: $secondary; /* Add a dark-grey background on hover */
//old color: #555
}