| 1 |
@use '../common/notices'; |
| 2 |
|
| 3 |
.cloud-bundle-snippets-results h3 { |
| 4 |
margin-block: 24px 16px; |
| 5 |
font-size: 20px; |
| 6 |
font-weight: 510; |
| 7 |
line-height: 1.25; |
| 8 |
color: var(--cs-color-text); |
| 9 |
|
| 10 |
a { |
| 11 |
color: var(--cs-color-accent); |
| 12 |
} |
| 13 |
} |
| 14 |
|
| 15 |
.cloud-bundles { |
| 16 |
> p { |
| 17 |
font-size: 14px; |
| 18 |
line-height: 1.5; |
| 19 |
color: var(--cs-color-text); |
| 20 |
|
| 21 |
a { |
| 22 |
color: var(--cs-color-accent); |
| 23 |
text-decoration: underline; |
| 24 |
} |
| 25 |
} |
| 26 |
|
| 27 |
.code-snippets-cards { |
| 28 |
grid-template-columns: repeat(auto-fill, minmax(385px, 1fr)); |
| 29 |
} |
| 30 |
|
| 31 |
.cloud-bundle { |
| 32 |
h3 { |
| 33 |
margin-block-start: 0; |
| 34 |
} |
| 35 |
|
| 36 |
.bundle-meta { |
| 37 |
display: flex; |
| 38 |
gap: 4px; |
| 39 |
} |
| 40 |
|
| 41 |
footer { |
| 42 |
display: flex; |
| 43 |
align-items: stretch; |
| 44 |
|
| 45 |
.button { |
| 46 |
flex: 1; |
| 47 |
} |
| 48 |
} |
| 49 |
} |
| 50 |
} |
| 51 |
|
| 52 |
.cloud-library-snippets { |
| 53 |
.column-status .badge { |
| 54 |
padding-inline: 5px; |
| 55 |
} |
| 56 |
|
| 57 |
// Constrain the name column and wrap long names onto a second line, |
| 58 |
// clamping with an ellipsis beyond that, so the description column gets |
| 59 |
// room to breathe. |
| 60 |
.column-name { |
| 61 |
inline-size: 18%; |
| 62 |
} |
| 63 |
|
| 64 |
td.column-name strong { |
| 65 |
display: -webkit-box; |
| 66 |
-webkit-box-orient: vertical; |
| 67 |
-webkit-line-clamp: 2; |
| 68 |
line-clamp: 2; |
| 69 |
overflow: hidden; |
| 70 |
overflow-wrap: anywhere; |
| 71 |
} |
| 72 |
|
| 73 |
.column-desc { |
| 74 |
inline-size: 30%; |
| 75 |
min-inline-size: 18rem; |
| 76 |
} |
| 77 |
|
| 78 |
.column-state { |
| 79 |
inline-size: 40px; |
| 80 |
text-align: center; |
| 81 |
vertical-align: middle; |
| 82 |
|
| 83 |
.cloud-sync-indicator { |
| 84 |
display: inline-flex; |
| 85 |
align-items: center; |
| 86 |
justify-content: center; |
| 87 |
vertical-align: middle; |
| 88 |
} |
| 89 |
|
| 90 |
svg { |
| 91 |
display: inline-block; |
| 92 |
vertical-align: middle; |
| 93 |
} |
| 94 |
} |
| 95 |
|
| 96 |
.column-type { |
| 97 |
inline-size: 80px; |
| 98 |
} |
| 99 |
|
| 100 |
.column-status { |
| 101 |
inline-size: 110px; |
| 102 |
} |
| 103 |
|
| 104 |
.column-tags { |
| 105 |
inline-size: 12%; |
| 106 |
} |
| 107 |
|
| 108 |
.column-date { |
| 109 |
inline-size: 110px; |
| 110 |
} |
| 111 |
|
| 112 |
.column-actions { |
| 113 |
inline-size: 210px; |
| 114 |
} |
| 115 |
|
| 116 |
td { |
| 117 |
box-sizing: border-box; |
| 118 |
block-size: 60px; |
| 119 |
vertical-align: middle; |
| 120 |
} |
| 121 |
|
| 122 |
.cloud-snippet-update svg { |
| 123 |
display: block; |
| 124 |
} |
| 125 |
|
| 126 |
// Clamp descriptions to two lines so every row stays the same height. |
| 127 |
.snippet-description-content { |
| 128 |
display: -webkit-box; |
| 129 |
-webkit-box-orient: vertical; |
| 130 |
-webkit-line-clamp: 2; |
| 131 |
line-clamp: 2; |
| 132 |
overflow: hidden; |
| 133 |
max-inline-size: min(25rem, 45vw); |
| 134 |
} |
| 135 |
} |
| 136 |
|