_global.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. html {
  2. height: 100%;
  3. }
  4. body {
  5. @include body-font;
  6. min-height: 100%;
  7. display: flex;
  8. flex-direction: column;
  9. }
  10. main {
  11. flex: 1;
  12. }
  13. h1,
  14. h2,
  15. h3,
  16. h4,
  17. h5,
  18. h6 {
  19. @include body-font;
  20. font-weight: 700;
  21. }
  22. a {
  23. color: $theme-color;
  24. &:hover {
  25. color: #a2171c;
  26. }
  27. }
  28. .section {
  29. padding-top: 2rem;
  30. padding-bottom: 2rem;
  31. @media (min-width: 768px) {
  32. padding-top: 6rem;
  33. padding-bottom: 6rem;
  34. }
  35. }
  36. .section-small {
  37. padding-top: 2rem;
  38. padding-bottom: 2rem;
  39. @media (min-width: 768px) {
  40. padding-top: 4rem !important;
  41. padding-bottom: 4rem !important;
  42. }
  43. }
  44. .container {
  45. @media (min-width: $sm) {
  46. max-width: 100%;
  47. }
  48. @media (min-width: $md) {
  49. max-width: 720px;
  50. }
  51. @media (min-width: $lg) {
  52. max-width: 1180px;
  53. }
  54. }
  55. @media (min-width: 768px) {
  56. .w-content {
  57. width: 80%;
  58. margin-left: auto;
  59. margin-right: auto;
  60. }
  61. }
  62. // Components
  63. .box-info-container {
  64. margin-bottom: 30px;
  65. }
  66. .box-info-container .label {
  67. font-weight: 600;
  68. }
  69. .box-info-container .label-ref {
  70. font-size: 19px;
  71. font-weight: 600;
  72. }
  73. .box-info-container > .row {
  74. margin-bottom: 10px;
  75. }
  76. .box-info {
  77. background-color: white;
  78. border-radius: 10px;
  79. padding: 35px 25px;
  80. }
  81. .box-info #time {
  82. color: #898989;
  83. font-style: italic;
  84. font-weight: 400;
  85. font-size: 19px;
  86. }
  87. .box-info .box-info-subtitle {
  88. font-style: italic;
  89. font-weight: 400;
  90. color: #696969;
  91. font-size: 24px;
  92. }
  93. .box-info-title {
  94. margin-bottom: 35px;
  95. }
  96. .box-info-main-title {
  97. color: #b61924;
  98. font-weight: 400;
  99. font-size: 32px;
  100. margin-bottom: 0;
  101. }
  102. .box_info-tabs {
  103. height: 100%;
  104. border: 1px solid #dee2e6;
  105. padding: 5px 13px;
  106. }
  107. .box-info-image {
  108. #contrassegno {
  109. border: 1px solid #ccc;
  110. padding: 5px;
  111. margin-bottom: 3px;
  112. }
  113. #nome_contrassegno {
  114. font-size: 15px;
  115. color: #5e5e5e;
  116. line-height: 1.25;
  117. font-style: italic;
  118. }
  119. }
  120. .headInfo {
  121. margin-bottom: 20px;
  122. h2 {
  123. font-size: 25px;
  124. font-weight: 400;
  125. }
  126. }
  127. #map_buttons a {
  128. color: #30383f;
  129. font-size: 15px;
  130. }
  131. #map_buttons a:not(:last-child) {
  132. margin-right: 20px;
  133. }
  134. #col_graph {
  135. background-color: #b61924;
  136. color: #fff;
  137. font-size: 16px;
  138. padding: 10px 0;
  139. }
  140. .nav-tabs {
  141. .nav-link {
  142. background-color: transparent;
  143. padding: 0 15px;
  144. font-size: 15px;
  145. border: 0;
  146. font-weight: 700;
  147. text-transform: uppercase;
  148. border-bottom: 2px solid transparent;
  149. &:hover,
  150. &:focus,
  151. &:active,
  152. &.active {
  153. border-bottom: 2px solid $theme-color;
  154. outline: none;
  155. color: black;
  156. }
  157. }
  158. }
  159. .loader {
  160. border: 10px solid #f3f3f3;
  161. border-radius: 50%;
  162. border-top: 10px solid $theme-color;
  163. width: 120px;
  164. height: 120px;
  165. -webkit-animation: spin 2s linear infinite;
  166. animation: spin 2s linear infinite;
  167. margin: auto;
  168. }
  169. @-webkit-keyframes spin {
  170. 0% { -webkit-transform: rotate(0deg); }
  171. 100% { -webkit-transform: rotate(360deg); }
  172. }
  173. @keyframes spin {
  174. 0% { transform: rotate(0deg); }
  175. 100% { transform: rotate(360deg); }
  176. }
  177. #link_buttons {
  178. text-align: right;
  179. }
  180. .link {
  181. text-decoration: underline;
  182. cursor: pointer;
  183. color: $theme-color;
  184. &:hover {
  185. color: #a2171c;
  186. }
  187. }