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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  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. div.mdc-select--outlined {
  146. margin-bottom: 0.5rem;
  147. }
  148. div.outlined label.mat-text-field {
  149. border-bottom-right-radius: 4px;
  150. border-bottom-left-radius: 4px;
  151. margin-bottom: auto;
  152. }
  153. div.outlined input.mat-text-field-input {
  154. border-width: 1px;
  155. border-style: solid;
  156. border-color: rgb(0 0 0 / 38%);
  157. border-radius: 4px;
  158. }
  159. div.outlined input.mat-text-field-input:focus {
  160. border-width: 2px;
  161. border-style: solid;
  162. border-color: var(--primary);
  163. border-radius: 4px;
  164. }
  165. div.outlined .mdc-text-field.mdc-text-field--fullwidth .mdc-floating-label.mdc-floating-label--float-above {
  166. transform: translateY(-172%) translateX(-2%) scale(0.75);
  167. background-color: white;
  168. z-index: 2;
  169. min-width: 60px;
  170. text-align: center;
  171. padding: 0px 8px;
  172. }
  173. .mat-autocomplete-list-popup {
  174. background-color: white;
  175. z-index: 5;
  176. }
  177. .fv-osm-tile {
  178. border: 1px solid rgb(0 0 0 /.38);
  179. border-radius: 10%;
  180. }
  181. #bicycleLocationMap {
  182. position: relative;
  183. z-index: 0;
  184. width: 100%;
  185. padding-top: 100%;
  186. border-radius: 20px;
  187. }
  188. label.italic input.mat-text-field-input {
  189. font-style: italic;
  190. }
  191. .mdc-form-field > label {
  192. margin-bottom: 0;
  193. font-size: initial;
  194. color: rgb(0 0 0 / 62%);
  195. }
  196. div.mdc-checkbox {
  197. margin-left: -11px;
  198. }
  199. div.mat-select.required span#outlined-select-label.mdc-floating-label::after {
  200. content: "*";
  201. }
  202. .mat-toast-container.mat-toast-bottom-center > div {
  203. width: 95%;
  204. }
  205. .pending_batch {
  206. background-color: royalblue;
  207. color: white;
  208. position: absolute;
  209. z-index: 3;
  210. transform: translate(-24px, -8px)
  211. }
  212. .mdc-nav-item.selected {
  213. background-color: var(--primary);
  214. color: #fff !important;
  215. }
  216. .mat-drawer {
  217. border-right-width: 0px;
  218. width: var(--mat-drawer-custom-width, 300px);
  219. }
  220. #snackbarDiv {
  221. bottom: 30px;
  222. width: 100%;
  223. justify-content: center;
  224. padding: 0 40px;
  225. position: absolute;
  226. z-index: -1;
  227. }
  228. #snackbarDiv.show {
  229. z-index: 1;
  230. }
  231. #snackbar {
  232. visibility: hidden;
  233. background-color: #333;
  234. color: #fff;
  235. text-align: center;
  236. border-radius: 10px;
  237. padding: 16px;
  238. z-index: -1;
  239. }
  240. #snackbar.show {
  241. visibility: visible;
  242. -webkit-animation: fadein 1s;
  243. animation: fadein 1s;
  244. z-index: 1;
  245. }
  246. @-webkit-keyframes fadein {
  247. from {
  248. bottom: 0;
  249. opacity: 0;
  250. }
  251. to {
  252. bottom: 30px;
  253. opacity: 1;
  254. }
  255. }
  256. @keyframes fadein {
  257. from {
  258. bottom: 0;
  259. opacity: 0;
  260. }
  261. to {
  262. bottom: 30px;
  263. opacity: 1;
  264. }
  265. }
  266. .ios-prompt {
  267. background-color: #fcfcfc;
  268. border: 1px solid #666;
  269. display: none;
  270. padding: 0.8rem 1rem 0 0.5rem;
  271. text-decoration: none;
  272. font-size: 16px;
  273. color: #555;
  274. position: absolute;
  275. margin: 0 auto 1rem;
  276. left: 1rem;
  277. right: 1rem;
  278. bottom: 0;
  279. }