mirror of
https://github.com/tabler/tabler.git
synced 2026-08-28 12:56:24 +04:00
80 lines
1.2 KiB
SCSS
80 lines
1.2 KiB
SCSS
@use 'highlight';
|
|
|
|
.dropdown-menu-demo {
|
|
display: inline-block;
|
|
width: 100%;
|
|
position: relative;
|
|
top: 0;
|
|
margin-bottom: 1rem !important;
|
|
}
|
|
|
|
.demo-icon-preview {
|
|
position: sticky;
|
|
top: 0;
|
|
|
|
svg,
|
|
i {
|
|
width: 15rem;
|
|
height: 15rem;
|
|
font-size: 15rem;
|
|
stroke-width: 1.5;
|
|
margin: 0 auto;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.demo-icon-preview-icon {
|
|
pre {
|
|
margin: 0;
|
|
user-select: all;
|
|
}
|
|
}
|
|
|
|
.demo-dividers {
|
|
> p {
|
|
opacity: 0.2;
|
|
user-select: none;
|
|
}
|
|
}
|
|
|
|
$demo-icon-size: 4rem;
|
|
.demo-icons-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: 0;
|
|
margin: 0 -2px -1px 0;
|
|
list-style: none;
|
|
|
|
> * {
|
|
flex: 1 0 $demo-icon-size;
|
|
}
|
|
}
|
|
|
|
.demo-icons-list-wrap {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.demo-icons-list-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
aspect-ratio: 1;
|
|
text-align: center;
|
|
padding: 0.5rem;
|
|
border-right: var(--border-width) var(--border-style) var(--border-color);
|
|
border-bottom: var(--border-width) var(--border-style) var(--border-color);
|
|
color: inherit;
|
|
cursor: pointer;
|
|
|
|
.icon {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
}
|