Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions .storybook/modules/interaction.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
.Container {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px;
font-family: system-ui, sans-serif;
}

.Badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 12px;
border-radius: 9999px;
font-size: 14px;
font-weight: 500;
background: #f0f0f0;
color: #333;
width: fit-content;

&[data-modality='keyboard'] {
background: #dbeafe;
color: #1d4ed8;
}

&[data-modality='pointer'] {
background: #dcfce7;
color: #15803d;
}

&[data-modality='virtual'] {
background: #fef3c7;
color: #b45309;
}
}

.Hint,
.Status {
font-size: 14px;
color: #666;
}

.Button {
padding: 8px 16px;
border: 1px solid #d1d5db;
border-radius: 6px;
background: white;
cursor: pointer;
font-size: 14px;
width: fit-content;
outline: none;

&:hover {
background: #f9fafb;
}

&[data-focus-visible] {
outline: 2px solid #3b82f6;
outline-offset: 2px;
}
}

.Field {
display: flex;
flex-direction: column;
gap: 4px;
}

.Label {
font-size: 14px;
font-weight: 500;
}

.Input {
padding: 6px 10px;
border: 1px solid #d1d5db;
border-radius: 6px;
font-size: 14px;
outline: none;

&[data-focus-visible] {
outline: 2px solid #3b82f6;
outline-offset: 2px;
}
}
Loading
Loading