Skip to content

Commit

Permalink
Update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Jan 27, 2025
1 parent 1ff81ee commit 9c3111f
Show file tree
Hide file tree
Showing 2 changed files with 209 additions and 149 deletions.
45 changes: 44 additions & 1 deletion docs/src/app/(private)/experiments/toolbar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,21 @@
cursor: not-allowed !important;
}

.Separator {
.Separator[data-orientation='vertical'] {
width: 1px;
align-self: stretch;
margin-block: 2px;
background-color: var(--color-gray-300);
}

.Separator[data-orientation='horizontal'] {
height: 1px;
align-self: stretch;
/* margin-block: 2px;*/
background-color: var(--color-gray-300);
margin-block: 24px;
}

.Link {
font-size: 0.875rem;
line-height: 1.25rem;
Expand All @@ -45,6 +53,41 @@
}
}

.Button {
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
height: 2.5rem;
padding-inline: 0.875rem;
margin: 0;
outline: 0;
border: 1px solid var(--color-gray-200);
border-radius: 0.375rem;
font-family: inherit;
font-size: 1rem;
line-height: 1.5rem;
background-color: transparent;
color: var(--color-gray-900);
user-select: none;

&:focus-visible {
background-color: transparent;
outline: 2px solid var(--color-blue);
outline-offset: -1px;
}

@media (hover: hover) {
&:hover {
background-color: var(--color-gray-100);
}
}

&:active {
background-color: var(--color-gray-200);
}
}

/* ToggleGroup */
.ToggleGroup {
display: flex;
Expand Down
Loading

0 comments on commit 9c3111f

Please sign in to comment.