|
1 | | -@import './base.css'; |
| 1 | +@import "tailwindcss/theme.css" layer(theme); |
| 2 | +@import "tailwindcss/utilities.css" layer(utilities); |
| 3 | + |
| 4 | +@layer theme, base, components, utilities; |
| 5 | + |
| 6 | +.rvo-theme { |
| 7 | + background-color: var(--utrecht-document-background-color); |
| 8 | + color: var(--utrecht-document-color); |
| 9 | + font-family: var(--utrecht-document-font-family); |
| 10 | + font-size: var(--utrecht-document-font-size); |
| 11 | + font-weight: var(--utrecht-document-font-weight); |
| 12 | + line-height: var(--utrecht-document-line-height); |
| 13 | +} |
| 14 | + |
| 15 | +.progress-tracker-font { |
| 16 | + color: var(--rvo-color-hemelblauw); |
| 17 | + font-weight: bold; |
| 18 | +} |
| 19 | + |
| 20 | +#progress-question-mobile { |
| 21 | + @media only screen and (width <= 800px) { |
| 22 | + display: flex; |
| 23 | + align-items: center; |
| 24 | + } |
| 25 | +} |
| 26 | + |
| 27 | +.aiv-definition { |
| 28 | + position: relative; |
| 29 | + display: inline-block; |
| 30 | + border-bottom: 2px dotted black; |
| 31 | +} |
| 32 | + |
| 33 | +.aiv-definition .aiv-definition-text { |
| 34 | + visibility: hidden; |
| 35 | + width: 300px; |
| 36 | + background-color: var(--rvo-color-wit); |
| 37 | + color: var(--rvo-color-zwart); |
| 38 | + filter: drop-shadow(0 4px 4px rgba(115, 142, 171, 0.5)); |
| 39 | + text-align: left; |
| 40 | + border-radius: var(--rvo-border-radius-xl); |
| 41 | + border-color: var(--rvo-color-grijs-200); |
| 42 | + border: 1px; |
| 43 | + padding: var(--rvo-alert-padding-sm-padding-block-end); |
| 44 | + position: absolute; |
| 45 | + z-index: 1; |
| 46 | + /* hack for Safari, https://stackoverflow.com/questions/38762661/css-drop-shadow-not-working-properly-in-safari/75027316#75027316 **/ |
| 47 | + backdrop-filter: blur(0); |
| 48 | +} |
| 49 | + |
| 50 | +.aiv-definition:hover .aiv-definition-text { |
| 51 | + visibility: visible; |
| 52 | +} |
| 53 | + |
| 54 | +/* reset some styles without using tailwind pre-flight */ |
| 55 | +ol, ul, menu { |
| 56 | + list-style: none; |
| 57 | + margin: 0; |
| 58 | + padding: 0; |
| 59 | +} |
0 commit comments