|
| 1 | +.downloads-table-card__wrapper { |
| 2 | + overflow-x: auto; |
| 3 | + width: 100%; |
| 4 | + border-radius: var(--border-radius-l); |
| 5 | + border: 1px solid var(--color-stroke-weak); |
| 6 | + background: var(--color-surface-weak); |
| 7 | +} |
| 8 | + |
| 9 | +.downloads-table-card__table { |
| 10 | + width: 100%; |
| 11 | + border-collapse: collapse; |
| 12 | + font-size: var(--font-size-xs); |
| 13 | + color: var(--color-text-primary); |
| 14 | + border-style: hidden; |
| 15 | +} |
| 16 | + |
| 17 | +.downloads-table-card__th, |
| 18 | +.downloads-table-card__td { |
| 19 | + border: 1px solid var(--color-stroke-weak); |
| 20 | + padding: var(--space-default) var(--space-large); |
| 21 | + text-align: left; |
| 22 | + vertical-align: middle; |
| 23 | +} |
| 24 | + |
| 25 | +.downloads-table-card__th { |
| 26 | + font-family: var(--font-display); |
| 27 | + font-size: var(--font-size-small); |
| 28 | + font-weight: var(--font-weight-medium); |
| 29 | + line-height: var(--line-height-tight); |
| 30 | + letter-spacing: var(--letter-spacing-tight); |
| 31 | + background-color: var(--color-surface-mid); |
| 32 | + white-space: nowrap; |
| 33 | +} |
| 34 | + |
| 35 | +.downloads-table-card__td--platform { |
| 36 | + font-weight: var(--font-weight-medium); |
| 37 | + white-space: nowrap; |
| 38 | + color: var(--color-text-secondary); |
| 39 | +} |
| 40 | + |
| 41 | +.downloads-table-card__platform-wrapper { |
| 42 | + display: flex; |
| 43 | + align-items: center; |
| 44 | + justify-content: flex-start; |
| 45 | +} |
| 46 | + |
| 47 | +.downloads-table-card__os-icon { |
| 48 | + display: inline-flex; |
| 49 | + align-items: center; |
| 50 | + vertical-align: middle; |
| 51 | + width: 16px; |
| 52 | + height: 16px; |
| 53 | + flex-shrink: 0; |
| 54 | + margin-right: var(--space-s); |
| 55 | + color: var(--color-text-primary); |
| 56 | +} |
| 57 | + |
| 58 | +.downloads-table-card__os-name { |
| 59 | + font-family: var(--font-sans); |
| 60 | + font-size: var(--font-size-xs); |
| 61 | + font-weight: var(--font-weight-medium); |
| 62 | + line-height: 100%; |
| 63 | + letter-spacing: -0.12px; |
| 64 | +} |
| 65 | + |
| 66 | +.downloads-table-card__td--file { |
| 67 | + word-break: break-all; |
| 68 | +} |
| 69 | + |
| 70 | +.downloads-table-card__file-link { |
| 71 | + color: var(--color-text-primary); |
| 72 | + text-decoration: underline; |
| 73 | + text-decoration-color: var(--color-text-primary); |
| 74 | + font-size: var(--font-size-xs); |
| 75 | + font-style: normal; |
| 76 | + font-weight: var(--font-weight-regular); |
| 77 | + line-height: var(--line-height-default); |
| 78 | + letter-spacing: var(--letter-spacing-tight); |
| 79 | +} |
| 80 | + |
| 81 | +.downloads-table-card__hash-wrapper { |
| 82 | + display: flex; |
| 83 | + justify-content: space-between; |
| 84 | + align-items: center; |
| 85 | + gap: var(--space-medium); |
| 86 | +} |
| 87 | + |
| 88 | +.downloads-table-card__hash-link { |
| 89 | + display: block; |
| 90 | + width: 100%; |
| 91 | + overflow: hidden; |
| 92 | + text-overflow: ellipsis; |
| 93 | + white-space: nowrap; |
| 94 | + color: var(--color-text-link-accent); |
| 95 | + font-size: var(--font-size-xs); |
| 96 | + font-style: normal; |
| 97 | + font-weight: var(--font-weight-regular); |
| 98 | + line-height: var(--line-height-default); |
| 99 | + letter-spacing: var(--letter-spacing-tight); |
| 100 | + background: none; |
| 101 | + border: none; |
| 102 | + outline: none; |
| 103 | + padding: 0; |
| 104 | + cursor: text; |
| 105 | +} |
| 106 | + |
| 107 | +.downloads-table-card__copy-btn { |
| 108 | + display: none; |
| 109 | + align-items: center; |
| 110 | + justify-content: center; |
| 111 | + width: 24px; |
| 112 | + height: 24px; |
| 113 | + background: none; |
| 114 | + border: none; |
| 115 | + cursor: pointer; |
| 116 | + color: var(--color-icon-primary); |
| 117 | + padding: 0; |
| 118 | + border-radius: var(--border-radius-s); |
| 119 | + flex-shrink: 0; |
| 120 | + transition: color 0.3s ease; |
| 121 | +} |
| 122 | + |
| 123 | +.downloads-table-card__copy-btn.is-copied { |
| 124 | + color: var(--color-text-link-accent); |
| 125 | +} |
| 126 | + |
| 127 | +.downloads-table-card__copy-btn.is-error { |
| 128 | + color: var(--color-text-error); |
| 129 | +} |
| 130 | + |
| 131 | +.js-copy-enabled .downloads-table-card__copy-btn { |
| 132 | + display: flex; |
| 133 | +} |
| 134 | + |
| 135 | +@media (max-width: 1279px) { |
| 136 | + .downloads-table-card__os-name { |
| 137 | + font-size: 10px; |
| 138 | + line-height: 10px; |
| 139 | + letter-spacing: -0.1px; |
| 140 | + } |
| 141 | +} |
| 142 | + |
| 143 | +/* ── Mobile ── */ |
| 144 | +@media (max-width: 767px) { |
| 145 | + |
| 146 | + |
| 147 | + .downloads-table-card__wrapper { |
| 148 | + -webkit-overflow-scrolling: touch; |
| 149 | + } |
| 150 | + |
| 151 | + .downloads-table-card__table { |
| 152 | + min-width: 600px; |
| 153 | + } |
| 154 | +} |
0 commit comments