safing-web/_sass/_global.scss
2020-07-22 12:07:01 +02:00

282 lines
4.3 KiB
SCSS

* {
font-family: "Roboto";
}
body {
overflow-x: hidden;
}
footer {
background-image: url('/assets/img/footer.png');
}
.not-allowed {
cursor: not-allowed;
}
.spn-shadow {
box-shadow: 0 0px 90px 0 rgba(59, 93, 199, 0.1), 0 0px 5px 0 rgba(0, 0, 0, 0);
}
.hover:hover {
box-shadow: 0 0px 90px 0 rgba(59, 93, 199, 0.1), 0 0px 5px 0 rgba(0, 0, 0, 0);
}
.shake-horizontal {
-webkit-animation: shake-horizontal .8s cubic-bezier(.455, .03, .515, .955) both;
animation: shake-horizontal .8s cubic-bezier(.455, .03, .515, .955) both
}
@-webkit-keyframes shake-horizontal {
0%, 100% {
-webkit-transform: translateX(0);
transform: translateX(0)
}
10%, 30%, 50%, 70% {
-webkit-transform: translateX(-10px);
transform: translateX(-10px)
}
20%, 40%, 60% {
-webkit-transform: translateX(10px);
transform: translateX(10px)
}
80% {
-webkit-transform: translateX(8px);
transform: translateX(8px)
}
90% {
-webkit-transform: translateX(-8px);
transform: translateX(-8px)
}
}
@keyframes shake-horizontal {
0%, 100% {
-webkit-transform: translateX(0);
transform: translateX(0)
}
10%, 30%, 50%, 70% {
-webkit-transform: translateX(-10px);
transform: translateX(-10px)
}
20%, 40%, 60% {
-webkit-transform: translateX(10px);
transform: translateX(10px)
}
80% {
-webkit-transform: translateX(8px);
transform: translateX(8px)
}
90% {
-webkit-transform: translateX(-8px);
transform: translateX(-8px)
}
}
.spin {
animation-name: spin;
animation-duration: 21000ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.heart {
// animation: .8s infinite beatHeart;
}
@keyframes beatHeart {
0% {
transform: scale(1);
}
25% {
transform: scale(1.1);
}
40% {
transform: scale(1);
}
60% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
#menu-toggle:checked+#menu {
display: block;
}
.wiggle {
animation: wiggle .6s infinite alternate;
}
@keyframes wiggle {
0% {
transform: rotate(4deg);
}
100% {
transform: rotate(10deg);
}
}
.line {
width:100%;
text-align:center;
border-bottom: 2px solid rgba(0, 0, 0, 0.2);
line-height:0.1em;
margin:10px 0 20px;
}
.line span {
background:#fff;
padding:0 25px;
}
.support p{
color: #7d7d7d;
}
a.link {
--text-opacity: 1;
color: #667eea;
color: rgba(102, 126, 234, var(--text-opacity));
text-decoration: inherit;
background-color: transparent;
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
&:hover{
opacity: .5;
transition-duration: 150ms;
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}
}
.opacity-55 {
opacity: 0.55;
}
.hover\:opacity-55:hover {
opacity: 0.55;
}
.dropinput {
position: absolute;
opacity: 0;
z-index: -1;
}
/* Accordion styles */
.tabs {
border-radius: 8px;
overflow: hidden;
}
.tab {
width: 100%;
color: black;
overflow: hidden;
&-label {
display: flex;
justify-content: space-between;
padding: 1em;
background: transparent;
font-weight: bold;
cursor: pointer;
/* Icon */
&:hover {
background: transparent;
}
&::after {
content: " ";
width: 1em;
height: 1em;
text-align: center;
transition: all .0s;
transition-timing-function: ease;
transform: rotate(-90deg);
}
}
&-content {
max-height: 0;
padding: 0 1em;
color: black;
background: transparent;
transition: all .2s;
transition-timing-function: ease;
}
&-close {
display: flex;
justify-content: flex-end;
padding: 1em;
font-size: 0.75em;
background: transparent;
cursor: pointer;
&:hover {
background: transparent;
}
}
}
#icon {
width: 35px;
position: fixed;
}
#icontwo {
width: 35px;
}
// :checked
input:checked {
+ label #icon {
transform: rotate(180deg);
}
+ label #icontwo {
transform: rotate(180deg);
}
~ .tab-content {
max-height: 100vh;
padding: 1em;
}
}
.dot {
position: absolute;
right: 0;
height: 5px;
width: 5px;
background-color: #6188ff;
border-radius: 50%;
display: inline-block;
}