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

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. #mobile {
  2. display: flex;
  3. justify-content: center;
  4. align-items: flex-start;
  5. min-height: 85vh;
  6. }
  7. svg {
  8. width: 95%;
  9. height: auto;
  10. position: absolute;
  11. align-self: center;
  12. }
  13. .edges {
  14. stroke: #000;
  15. stroke-width: 1%;
  16. }
  17. .nodes {
  18. stroke: #afb3b6;
  19. }
  20. .nodes:active, .nodes:hover {
  21. animation: svg_pulse 2s ease-in-out forwards;
  22. }
  23. #circle_one:active {
  24. opacity: 100% !important;
  25. }
  26. @keyframes svg_pulse {
  27. 0% {
  28. transform: scale(1);
  29. stroke: #00ffef;
  30. }
  31. 20% {
  32. transform: scale(1.01);
  33. }
  34. 80% {
  35. transform: scale(1);
  36. stroke: #7df9ff;
  37. }
  38. 80% {
  39. transform: scale(1.01);
  40. }
  41. 100% {
  42. transform: scale(1);
  43. stroke: #00ffef;
  44. }
  45. }
  46. .group_1:hover > #edge_1 {
  47. animation: glowing 2s ease-in forwards;
  48. }
  49. .group_1:active > #edge_1 {
  50. animation: glowing 2s ease-in forwards;
  51. }
  52. .group_1:hover > #edge_2 {
  53. animation: glowing 2s ease-in forwards;
  54. }
  55. .group_1:active > #edge_2 {
  56. animation: glowing 2s ease-in forwards;
  57. }
  58. .group_2:hover > #edge_3 {
  59. animation: glowing 2s ease-in forwards;
  60. }
  61. .group_2:active > #edge_3 {
  62. animation: glowing 2s ease-in forwards;
  63. }
  64. .group_2:hover > #edge_4 {
  65. animation: glowing 2s ease-in forwards;
  66. }
  67. .group_2:active > #edge_4 {
  68. animation: glowing 2s ease-in forwards;
  69. }
  70. .group_2:hover > #edge_5 {
  71. animation: glowing 2s ease-in forwards;
  72. }
  73. .group_2:active > #edge_5 {
  74. animation: glowing 2s ease-in forwards;
  75. }
  76. .group_2:hover > #edge_6 {
  77. animation: glowing 2s ease-in forwards;
  78. }
  79. .group_2:active > #edge_6 {
  80. animation: glowing 2s ease-in forwards;
  81. }
  82. .group_3:hover > #edge_7 {
  83. animation: glowing 2s ease-in forwards;
  84. }
  85. .group_3:active > #edge_7 {
  86. animation: glowing 2s ease-in forwards;
  87. }
  88. .group_3:hover > #edge_8 {
  89. animation: glowing 2s ease-in forwards;
  90. }
  91. .group_3:active > #edge_8 {
  92. animation: glowing 2s ease-in forwards;
  93. }
  94. .group_4:hover > #edge_9 {
  95. animation: glowing 2s ease-in forwards;
  96. }
  97. .group_4:active > #edge_9 {
  98. animation: glowing 2s ease-in forwards;
  99. }
  100. .group_5:hover > #edge_10 {
  101. animation: glowing 2s ease-in forwards;
  102. }
  103. .group_5:active > #edge_10 {
  104. animation: glowing 2s ease-in forwards;
  105. }
  106. @keyframes glowing {
  107. 0% {
  108. stroke: #00ffef;
  109. }
  110. 50% {
  111. stroke: #7df9ff;
  112. }
  113. 100% {
  114. stroke: #00ffef;
  115. }
  116. }
  117. /* Test */
  118. .mobile_placeholder {
  119. display: flex;
  120. justify-content: center;
  121. }
  122. .open {
  123. position: fixed;
  124. height: 50vh;
  125. width: 70vw;
  126. background: #e5e7e6;
  127. top: 25vh;
  128. display: flex;
  129. }
  130. .close {
  131. height: 10vh;
  132. width: auto;
  133. align-self: flex-start;
  134. color: #e5e7e6;
  135. position: fixed;
  136. top: 15vh;
  137. }
  138. input {
  139. height: 20vw;
  140. width: 20vh;
  141. z-index: 200;
  142. opacity: 0%;
  143. cursor: pointer;
  144. position: fixed;
  145. top: 15vh;
  146. }
  147. input:checked ~ .open {
  148. display: none;
  149. }
  150. input:checked ~ .close {
  151. display: none;
  152. }
  153. input:hover ~ .close {
  154. animation: shine 4s ease-in forwards;
  155. }
  156. @keyframes shine {
  157. 0% {
  158. stroke: url('#myGradient');
  159. }
  160. 50% {
  161. stroke: url('#myGradient2');
  162. }
  163. 100% {
  164. stroke: url('#myGradient');
  165. }
  166. }