server actix for cannabinieri website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

244 lines
3.3 KiB

#mobile {
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 85vh;
}
svg {
width: 95%;
height: auto;
position: absolute;
align-self: center;
}
.edges {
stroke: #000;
stroke-width: 1%;
}
.nodes {
stroke: #afb3b6;
}
.nodes:active, .nodes:hover {
animation: svg_pulse 2s ease-in-out forwards;
}
#circle_one:active {
opacity: 100% !important;
}
@keyframes svg_pulse {
0% {
transform: scale(1);
stroke: #00ffef;
}
20% {
transform: scale(1.01);
}
80% {
transform: scale(1);
stroke: #7df9ff;
}
80% {
transform: scale(1.01);
}
100% {
transform: scale(1);
stroke: #00ffef;
}
}
.group_1:hover > #edge_1 {
animation: glowing 2s ease-in forwards;
}
.group_1:active > #edge_1 {
animation: glowing 2s ease-in forwards;
}
.group_1:hover > #edge_2 {
animation: glowing 2s ease-in forwards;
}
.group_1:active > #edge_2 {
animation: glowing 2s ease-in forwards;
}
.group_2:hover > #edge_3 {
animation: glowing 2s ease-in forwards;
}
.group_2:active > #edge_3 {
animation: glowing 2s ease-in forwards;
}
.group_2:hover > #edge_4 {
animation: glowing 2s ease-in forwards;
}
.group_2:active > #edge_4 {
animation: glowing 2s ease-in forwards;
}
.group_2:hover > #edge_5 {
animation: glowing 2s ease-in forwards;
}
.group_2:active > #edge_5 {
animation: glowing 2s ease-in forwards;
}
.group_2:hover > #edge_6 {
animation: glowing 2s ease-in forwards;
}
.group_2:active > #edge_6 {
animation: glowing 2s ease-in forwards;
}
.group_3:hover > #edge_7 {
animation: glowing 2s ease-in forwards;
}
.group_3:active > #edge_7 {
animation: glowing 2s ease-in forwards;
}
.group_3:hover > #edge_8 {
animation: glowing 2s ease-in forwards;
}
.group_3:active > #edge_8 {
animation: glowing 2s ease-in forwards;
}
.group_4:hover > #edge_9 {
animation: glowing 2s ease-in forwards;
}
.group_4:active > #edge_9 {
animation: glowing 2s ease-in forwards;
}
.group_5:hover > #edge_10 {
animation: glowing 2s ease-in forwards;
}
.group_5:active > #edge_10 {
animation: glowing 2s ease-in forwards;
}
@keyframes glowing {
0% {
stroke: #00ffef;
}
50% {
stroke: #7df9ff;
}
100% {
stroke: #00ffef;
}
}
/* Test */
.mobile_placeholder {
display: flex;
justify-content: center;
}
.open {
position: fixed;
height: 50vh;
width: 70vw;
background: #e5e7e6;
top: 25vh;
display: flex;
}
.close {
height: 10vh;
width: auto;
align-self: flex-start;
color: #e5e7e6;
position: fixed;
top: 15vh;
}
input {
height: 20vw;
width: 20vh;
z-index: 200;
opacity: 0%;
cursor: pointer;
position: fixed;
top: 15vh;
}
input:checked ~ .open {
display: none;
}
input:checked ~ .close {
display: none;
}
input:hover ~ .close {
animation: shine 4s ease-in forwards;
}
@keyframes shine {
0% {
stroke: url('#myGradient');
}
50% {
stroke: url('#myGradient2');
}
100% {
stroke: url('#myGradient');
}
}