Files
web/packages/design-system/.storybook/content/tokens.module.css
Rasmus Langvad d0546926a9 Merged in fix/3697-prettier-configs (pull request #3396)
fix(SW-3691): Setup one prettier config for whole repo

* Setup prettierrc in root and remove other configs


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2026-01-07 12:45:50 +00:00

142 lines
2.3 KiB
CSS

.tableContainer {
width: 100%;
overflow-x: auto;
margin-top: 1.5rem;
}
.table {
width: 100%;
border-collapse: collapse;
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.tableHeader {
background: #f9fafb;
border-bottom: 2px solid #e5e7eb;
}
.tableHeaderCell {
padding: 0.75rem 1rem;
text-align: left;
font-weight: 600;
font-size: 0.875rem;
color: #374151;
border-right: 1px solid #e5e7eb;
}
.tableHeaderCell:last-child {
border-right: none;
}
.tableRow {
border-bottom: 1px solid #e5e7eb;
transition: background-color 0.15s ease;
}
.tableRow:hover {
background-color: #f9fafb;
}
.tableRow:last-child {
border-bottom: none;
}
.tableCell {
padding: 0.75rem 1rem;
font-size: 0.875rem;
color: #111827;
border-right: 1px solid #e5e7eb;
vertical-align: middle;
}
.tableCell:last-child {
border-right: none;
}
.tokenName {
font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
background: #f3f4f6;
padding: 0.25rem 0.5rem;
border-radius: 4px;
display: inline-block;
cursor: pointer;
transition: all 0.15s ease;
border: 1px solid transparent;
}
.tokenName:hover {
background: #e5e7eb;
border-color: #d1d5db;
}
.value {
font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
color: #6b7280;
cursor: pointer;
transition: color 0.15s ease;
}
.value:hover {
color: #111827;
}
.visualBar {
height: 24px;
background: #3b82f6;
border-radius: 4px;
min-width: 2px;
transition: all 0.15s ease;
}
.visualBarContainer {
display: flex;
align-items: center;
gap: 0.75rem;
}
.visualBarLabel {
font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
font-size: 0.75rem;
color: #6b7280;
min-width: 40px;
text-align: right;
}
.shadowPreview {
width: 60px;
height: 60px;
background: #fff;
border-radius: 8px;
border: 1px solid #e5e7eb;
display: flex;
align-items: center;
justify-content: center;
}
.borderRadiusPreview {
width: 60px;
height: 60px;
background: #3b82f6;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 0.75rem;
font-weight: 600;
}
@media (max-width: 768px) {
.tableContainer {
overflow-x: scroll;
}
.tableHeaderCell,
.tableCell {
padding: 0.5rem 0.75rem;
font-size: 0.8125rem;
}
}