_accordion.scss
3 months ago
_badge.scss
5 years ago
_buttons.scss
4 months ago
_card.scss
5 years ago
_entries-views.scss
1 month ago
_evf-header-skeleton.scss
4 months ago
_evf-pro-upsell.scss
1 month ago
_forms.scss
5 years ago
_table.scss
1 month ago
_toast.scss
5 months ago
_evf-header-skeleton.scss
226 lines
| 1 | $evf-color-primary: #7c3aed; |
| 2 | $evf-color-primary-bg: #f8faff; |
| 3 | $evf-color-text: #383838; |
| 4 | $evf-color-border: #e9e9e9; |
| 5 | $evf-color-divider: #e2e8f0; |
| 6 | $evf-color-orange: #dd6b20; |
| 7 | $evf-color-white: #ffffff; |
| 8 | |
| 9 | $evf-header-height: 70px; |
| 10 | $evf-header-z: 10; |
| 11 | $evf-nav-active-bar: 3px; |
| 12 | |
| 13 | $evf-font-stack: 'Inter', sans-serif; |
| 14 | $evf-font-size-nav: 15px; |
| 15 | $evf-font-size-version: 12px; |
| 16 | |
| 17 | @keyframes evf-skeleton-pulse { |
| 18 | 0%, |
| 19 | 100% { |
| 20 | opacity: 1; |
| 21 | } |
| 22 | 50% { |
| 23 | opacity: 0.4; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | #evf-react-header-root { |
| 28 | min-height: $evf-header-height; |
| 29 | contain: layout style; |
| 30 | } |
| 31 | |
| 32 | .evf-skeleton { |
| 33 | display: flex; |
| 34 | align-items: center; |
| 35 | justify-content: space-between; |
| 36 | min-height: $evf-header-height; |
| 37 | width: 100%; |
| 38 | background: $evf-color-white; |
| 39 | border-bottom: 1px solid $evf-color-border; |
| 40 | padding: 0 16px; |
| 41 | box-sizing: border-box; |
| 42 | position: relative; |
| 43 | z-index: $evf-header-z; |
| 44 | transition: opacity 0.12s ease-out; |
| 45 | |
| 46 | &--hidden { |
| 47 | opacity: 0; |
| 48 | pointer-events: none; |
| 49 | user-select: none; |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | .evf-skeleton__left { |
| 54 | display: flex; |
| 55 | align-items: center; |
| 56 | gap: 28px; |
| 57 | height: $evf-header-height; |
| 58 | flex-shrink: 0; |
| 59 | } |
| 60 | |
| 61 | .evf-skeleton__logo { |
| 62 | display: flex; |
| 63 | align-items: center; |
| 64 | flex-shrink: 0; |
| 65 | text-decoration: none !important; |
| 66 | outline: none; |
| 67 | |
| 68 | &:focus-visible { |
| 69 | outline: 2px solid $evf-color-primary; |
| 70 | outline-offset: 2px; |
| 71 | border-radius: 6px; |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | .evf-skeleton__nav { |
| 76 | display: flex; |
| 77 | align-items: stretch; |
| 78 | list-style: none; |
| 79 | margin: 0; |
| 80 | padding: 0; |
| 81 | height: $evf-header-height; |
| 82 | gap: 0; |
| 83 | } |
| 84 | |
| 85 | .evf-skeleton__nav-item { |
| 86 | display: flex; |
| 87 | align-items: center; |
| 88 | |
| 89 | &--active { |
| 90 | .evf-skeleton__nav-link { |
| 91 | color: $evf-color-primary; |
| 92 | border-bottom-color: $evf-color-primary; |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | .evf-skeleton__nav-link { |
| 98 | display: inline-flex; |
| 99 | align-items: center; |
| 100 | height: 100%; |
| 101 | padding: 0 8px; |
| 102 | font-size: $evf-font-size-nav; |
| 103 | font-weight: 600; |
| 104 | line-height: 1.5; |
| 105 | font-family: $evf-font-stack; |
| 106 | color: $evf-color-text; |
| 107 | text-decoration: none !important; |
| 108 | border-bottom: $evf-nav-active-bar solid transparent; |
| 109 | margin-bottom: -1px; |
| 110 | box-sizing: border-box; |
| 111 | white-space: nowrap; |
| 112 | transition: color 0.1s ease; |
| 113 | outline: none; |
| 114 | |
| 115 | &:hover { |
| 116 | color: $evf-color-primary; |
| 117 | } |
| 118 | |
| 119 | &:focus-visible { |
| 120 | outline: 2px solid $evf-color-primary; |
| 121 | outline-offset: -2px; |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | .evf-skeleton__right { |
| 126 | display: flex; |
| 127 | align-items: center; |
| 128 | gap: 12px; |
| 129 | height: $evf-header-height; |
| 130 | flex-shrink: 0; |
| 131 | } |
| 132 | |
| 133 | .evf-skeleton__right-nav { |
| 134 | display: flex; |
| 135 | align-items: stretch; |
| 136 | gap: 4px; |
| 137 | height: $evf-header-height; |
| 138 | } |
| 139 | |
| 140 | .evf-skeleton__right-link { |
| 141 | display: inline-flex; |
| 142 | align-items: center; |
| 143 | height: 100%; |
| 144 | padding: 0 8px; |
| 145 | font-size: $evf-font-size-nav; |
| 146 | font-weight: 600; |
| 147 | font-family: $evf-font-stack; |
| 148 | color: $evf-color-text; |
| 149 | text-decoration: none !important; |
| 150 | border-bottom: $evf-nav-active-bar solid transparent; |
| 151 | margin-bottom: -1px; |
| 152 | white-space: nowrap; |
| 153 | transition: color 0.1s ease; |
| 154 | |
| 155 | &:hover { |
| 156 | color: $evf-color-primary; |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | .evf-skeleton__divider { |
| 161 | width: 1px; |
| 162 | height: 18px; |
| 163 | background: $evf-color-divider; |
| 164 | flex-shrink: 0; |
| 165 | align-self: center; |
| 166 | } |
| 167 | |
| 168 | .evf-skeleton__upgrade { |
| 169 | display: inline-flex; |
| 170 | align-items: center; |
| 171 | gap: 4px; |
| 172 | font-size: $evf-font-size-nav; |
| 173 | font-weight: 600; |
| 174 | font-family: $evf-font-stack; |
| 175 | color: $evf-color-orange; |
| 176 | text-decoration: none !important; |
| 177 | white-space: nowrap; |
| 178 | transition: opacity 0.1s ease; |
| 179 | |
| 180 | &:hover { |
| 181 | opacity: 0.8; |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | .evf-skeleton__version { |
| 186 | display: inline-flex; |
| 187 | align-items: center; |
| 188 | padding: 2px 10px; |
| 189 | border: 1px solid $evf-color-primary; |
| 190 | border-radius: 9999px; |
| 191 | background: $evf-color-primary-bg; |
| 192 | color: $evf-color-primary; |
| 193 | font-size: $evf-font-size-version; |
| 194 | font-weight: 500; |
| 195 | font-family: $evf-font-stack; |
| 196 | white-space: nowrap; |
| 197 | flex-shrink: 0; |
| 198 | } |
| 199 | |
| 200 | .evf-skeleton__bell { |
| 201 | display: inline-flex; |
| 202 | align-items: center; |
| 203 | justify-content: center; |
| 204 | width: 40px; |
| 205 | height: 40px; |
| 206 | border-radius: 50%; |
| 207 | border: 2px solid $evf-color-divider; |
| 208 | background: transparent; |
| 209 | cursor: default; |
| 210 | flex-shrink: 0; |
| 211 | overflow: hidden; |
| 212 | padding: 0; |
| 213 | box-sizing: border-box; |
| 214 | |
| 215 | &-inner { |
| 216 | width: 24px; |
| 217 | height: 24px; |
| 218 | border-radius: 50%; |
| 219 | background: $evf-color-divider; |
| 220 | |
| 221 | body:not(.evf-js-loaded) & { |
| 222 | animation: evf-skeleton-pulse 1.6s ease-in-out infinite; |
| 223 | } |
| 224 | } |
| 225 | } |
| 226 |