| @@ -1,5 +1,5 @@ | ||
| 1 | -@use '../common/banners'; | |
| 1 | +@use '../common/notices'; | |
| 2 | 2 | @use '../common/checkbox'; |
| 3 | 3 | @use '../common/theme'; |
| 4 | 4 | |
| 5 | 5 | .cloud-snippet-status { |
| @@ -5,9 +5,9 @@ | ||
| 5 | 5 | .cloud-snippet-status { |
| 6 | 6 | display: inline-flex; |
| 7 | 7 | align-items: center; |
| 8 | 8 | gap: 8px; |
| 9 | - color: #646970; | |
| 9 | + color: var(--cs-color-text-muted); | |
| 10 | 10 | font-size: 12px; |
| 11 | 11 | font-weight: 500; |
| 12 | 12 | white-space: nowrap; |
| 13 | 13 | |
| @@ -17,22 +17,28 @@ | ||
| 17 | 17 | inline-size: 10px; |
| 18 | 18 | border-radius: 50%; |
| 19 | 19 | display: inline-block; |
| 20 | 20 | } |
| 21 | -} | |
| 22 | 21 | |
| 23 | -$status-colors: ( | |
| 24 | - public #64baba, | |
| 25 | - private #cc96fb, | |
| 26 | - unverified #ea835e, | |
| 27 | - ai-verified #1cabcf, | |
| 28 | - pro-verified #41a269, | |
| 29 | -); | |
| 22 | + &-public::before { | |
| 23 | + background: var(--cs-cloud-status-public-color); | |
| 24 | + } | |
| 30 | 25 | |
| 31 | -@each $status, $color in $status-colors { | |
| 32 | - .cloud-snippet-status-#{$status}::before { | |
| 33 | - background: $color; | |
| 26 | + &-private::before { | |
| 27 | + background: var(--cs-cloud-status-private-color); | |
| 34 | 28 | } |
| 29 | + | |
| 30 | + &-unverified::before { | |
| 31 | + background: var(--cs-cloud-status-unverified-color); | |
| 32 | + } | |
| 33 | + | |
| 34 | + &-ai-verified::before { | |
| 35 | + background: var(--cs-cloud-status-ai-verified-color); | |
| 36 | + } | |
| 37 | + | |
| 38 | + &-pro-verified::before { | |
| 39 | + background: var(--cs-cloud-status-pro-verified-color); | |
| 40 | + } | |
| 35 | 41 | } |
| 36 | 42 | |
| 37 | 43 | .bundle-share-code-form, |
| 38 | 44 | .cloud-search-form { |
| @@ -76,9 +82,9 @@ | ||
| 76 | 82 | } |
| 77 | 83 | } |
| 78 | 84 | |
| 79 | 85 | .cloud-search { |
| 80 | - @include banners.banners; | |
| 86 | + @include notices.notices('banner'); | |
| 81 | 87 | |
| 82 | 88 | padding-block-start: 10px; |
| 83 | 89 | |
| 84 | 90 | .banner { |
| @@ -84,11 +90,8 @@ | ||
| 84 | 90 | .banner { |
| 85 | 91 | justify-content: center; |
| 86 | 92 | } |
| 87 | 93 | |
| 88 | - .cloud-search-filters select { | |
| 89 | - inline-size: 245px; | |
| 90 | - } | |
| 91 | 94 | } |
| 92 | 95 | |
| 93 | 96 | .bundle-share-code-form { |
| 94 | 97 | max-inline-size: 60%; |
| @@ -130,8 +133,13 @@ | ||
| 130 | 133 | .column-name { |
| 131 | 134 | inline-size: 22%; |
| 132 | 135 | } |
| 133 | 136 | |
| 137 | + .column-desc { | |
| 138 | + inline-size: 30%; | |
| 139 | + min-inline-size: 18rem; | |
| 140 | + } | |
| 141 | + | |
| 134 | 142 | .column-type { |
| 135 | 143 | inline-size: 90px; |
| 136 | 144 | } |
| 137 | 145 | |
| @@ -149,9 +157,9 @@ | ||
| 149 | 157 | padding: 0; |
| 150 | 158 | margin: 0; |
| 151 | 159 | font-size: inherit; |
| 152 | 160 | font-weight: 600; |
| 153 | - color: theme.$accent; | |
| 161 | + color: var(--cs-color-accent); | |
| 154 | 162 | text-decoration: none; |
| 155 | 163 | cursor: pointer; |
| 156 | 164 | text-align: start; |
| 157 | 165 | |