PWA Fundvelo der Caritas.
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.

app.css 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. body {
  2. overscroll-behavior-y: contain;
  3. }
  4. :root {
  5. --caritas-red: #db001b;
  6. --caritas-red-accent: #FF4081;
  7. --caritas-red-dark: #d0001a;
  8. --caritas-red-deep: #bf0018;
  9. --primary: var(--caritas-red);
  10. --mdc-theme-primary: var(--primary);
  11. --mdc-theme-secondary: var(--secondary);
  12. --mdc-theme-error: var(--danger);
  13. }
  14. a {
  15. color: var(--primary);
  16. }
  17. a:hover {
  18. color: var(--caritas-red-accent);
  19. }
  20. .inputFile {
  21. width: 0.1px;
  22. height: 0.1px;
  23. opacity: 0;
  24. overflow: hidden;
  25. position: absolute;
  26. z-index: -1;
  27. }
  28. .inputFile + label {
  29. cursor: pointer;
  30. width: 100%;
  31. text-align: center;
  32. }
  33. .inputfile-mat-ripple {
  34. width: 48px;
  35. height: 48px;
  36. -moz-border-radius: 24px;
  37. -webkit-border-radius: 24px;
  38. border-radius: 24px;
  39. align-items: baseline;
  40. justify-content: center;
  41. display: inline-flex;
  42. }
  43. .navmenu-mat-ripple {
  44. margin-left: 0.5em;
  45. margin-right: 0.5em;
  46. border-radius: 6px;
  47. }
  48. .btn-primary {
  49. color: #fff;
  50. background-color: var(--primary);
  51. border-color: var(--caritas-red-accent);
  52. }
  53. .btn-primary:hover {
  54. color: #fff;
  55. background-color: var(--primary);
  56. border-color: var(--caritas-red-accent);
  57. }
  58. .btn-primary.focus, .btn-primary:focus {
  59. color: #fff;
  60. background-color: var(--caritas-red-dark);
  61. border-color: var(--primary);
  62. box-shadow: 0 0 0 .2rem rgb(255 64 88 / 0.5);
  63. }
  64. .btn-primary:not(:disabled):not(.disabled).active,
  65. .btn-primary:not(:disabled):not(.disabled):active,
  66. .show > .btn-primary.dropdown-toggle {
  67. color: #fff;
  68. background-color: var(--caritas-red-deep);
  69. border-color: var(--caritas-red-dark);
  70. }
  71. .text-black {
  72. color: rgba(0,0,0) !important;
  73. }
  74. .bg-primary-color {
  75. background-color: var(--primary);
  76. }
  77. .fv-mat-card {
  78. border-radius: 10%;
  79. }
  80. .mat-icon-large {
  81. height: 46px !important;
  82. width: 46px !important;
  83. padding: 0 4px;
  84. }
  85. button.mat-icon-large > i {
  86. height: 48px !important;
  87. width: 48px !important;
  88. font-size: 48px !important;
  89. margin-left: -5px;
  90. display: block;
  91. }
  92. .fullscreen {
  93. width: 100vw;
  94. height: 100vh;
  95. }
  96. .sidebar {
  97. background-color: var(--primary);
  98. }
  99. #blazor-error-ui {
  100. background: lightyellow;
  101. bottom: 0;
  102. box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  103. display: none;
  104. left: 0;
  105. padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  106. position: fixed;
  107. width: 100%;
  108. z-index: 1000;
  109. }
  110. #blazor-error-ui .dismiss {
  111. cursor: pointer;
  112. position: absolute;
  113. right: 0.75rem;
  114. top: 0.5rem;
  115. }
  116. .navBar-title {
  117. padding-left: 0px;
  118. font-size: 90%;
  119. font-weight: 500;
  120. white-space: normal;
  121. line-height: inherit;
  122. }
  123. div.mat-card-media div.mdc-circular-progress {
  124. margin: 0;
  125. position: absolute;
  126. top: 50%;
  127. left: 50%;
  128. -ms-transform: translate(-50%, -50%);
  129. transform: translate(-50%, -50%);
  130. }
  131. div.icon-only.mat-select {
  132. min-width: 48px;
  133. max-width: 48px;
  134. }
  135. div.icon-only.mat-select div.mdc-select__anchor {
  136. padding-left: 0;
  137. }
  138. div.icon-only.mat-select span.mdc-select_dropdown-icon {
  139. margin-left: 0;
  140. }
  141. .mat-autocomplete-list-popup {
  142. opacity: 1;
  143. }
  144. div.mat-autocomplete-list.mat-autocomplete-list-wrapper {
  145. margin-bottom: 0.5rem;
  146. }
  147. div.outlined label.mat-text-field {
  148. border-bottom-right-radius: 4px;
  149. border-bottom-left-radius: 4px;
  150. margin-bottom: auto;
  151. }
  152. div.outlined input.mat-text-field-input {
  153. border-width: 1px;
  154. border-style: solid;
  155. border-color: rgb(0 0 0 / 38%);
  156. border-radius: 4px;
  157. }
  158. div.outlined input.mat-text-field-input:focus {
  159. border-width: 2px;
  160. border-style: solid;
  161. border-color: var(--primary);
  162. border-radius: 4px;
  163. }
  164. div.outlined .mdc-text-field.mdc-text-field--fullwidth .mdc-floating-label.mdc-floating-label--float-above {
  165. transform: translateY(-172%) translateX(-2%) scale(0.75);
  166. background-color: white;
  167. z-index: 2;
  168. min-width: 60px;
  169. text-align: center;
  170. padding: 0px 8px;
  171. }
  172. .mat-autocomplete-list-popup {
  173. background-color: white;
  174. z-index: 5;
  175. }
  176. .fv-osm-tile {
  177. border: 1px solid rgb(0 0 0 /.38);
  178. border-radius: 10%;
  179. }
  180. #bicycleLocationMap {
  181. position: relative;
  182. z-index: 0;
  183. width: 100%;
  184. padding-top: 100%;
  185. border-radius: 20px;
  186. }
  187. label.italic input.mat-text-field-input {
  188. font-style: italic;
  189. }
  190. .mdc-form-field > label {
  191. margin-bottom: 0;
  192. font-size: initial;
  193. color: rgb(0 0 0 / 62%);
  194. }
  195. div.mdc-checkbox {
  196. margin-left: -11px;
  197. }
  198. div.mat-select.required span#outlined-select-label.mdc-floating-label::after {
  199. content: "*";
  200. }
  201. .mat-toast-container.mat-toast-bottom-center > div {
  202. width: 95%;
  203. }
  204. .pending_batch {
  205. background-color: royalblue;
  206. color: white;
  207. position: absolute;
  208. z-index: 3;
  209. transform: translate(-24px, -8px)
  210. }
  211. .mdc-nav-item.selected {
  212. background-color: var(--primary);
  213. color: #fff !important;
  214. }
  215. .mat-drawer {
  216. border-right-width: 0px;
  217. width: var(--mat-drawer-custom-width, 300px);
  218. }
  219. #snackbarDiv {
  220. bottom: 30px;
  221. width: 100%;
  222. justify-content: center;
  223. padding: 0 40px;
  224. position: absolute;
  225. z-index: -1;
  226. }
  227. #snackbarDiv.show {
  228. z-index: 1;
  229. }
  230. #snackbar {
  231. visibility: hidden;
  232. background-color: #333;
  233. color: #fff;
  234. text-align: center;
  235. border-radius: 10px;
  236. padding: 16px;
  237. z-index: -1;
  238. }
  239. #snackbar.show {
  240. visibility: visible;
  241. -webkit-animation: fadein 1s;
  242. animation: fadein 1s;
  243. z-index: 1;
  244. }
  245. @-webkit-keyframes fadein {
  246. from {
  247. bottom: 0;
  248. opacity: 0;
  249. }
  250. to {
  251. bottom: 30px;
  252. opacity: 1;
  253. }
  254. }
  255. @keyframes fadein {
  256. from {
  257. bottom: 0;
  258. opacity: 0;
  259. }
  260. to {
  261. bottom: 30px;
  262. opacity: 1;
  263. }
  264. }
  265. .ios-prompt {
  266. background-color: #fcfcfc;
  267. border: 1px solid #666;
  268. display: none;
  269. padding: 0.8rem 1rem 0 0.5rem;
  270. text-decoration: none;
  271. font-size: 16px;
  272. color: #555;
  273. position: absolute;
  274. margin: 0 auto 1rem;
  275. left: 1rem;
  276. right: 1rem;
  277. bottom: 0;
  278. }