+10









-LAN-
GitHub
twwu
crazywoola
jyong
Wu Tianwei
QuantumGhost
lyzno1
quicksand
Jyong
lyzno1
zxhlyh
Yongtao Huang
autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Joel
Copilot
nite-knite
Hanqing Zhao
gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Harry
85cda47c70
Signed-off-by: -LAN- <[email protected]> Co-authored-by: twwu <[email protected]> Co-authored-by: crazywoola <[email protected]> Co-authored-by: jyong <[email protected]> Co-authored-by: Wu Tianwei <[email protected]> Co-authored-by: QuantumGhost <[email protected]> Co-authored-by: lyzno1 <[email protected]> Co-authored-by: quicksand <[email protected]> Co-authored-by: Jyong <[email protected]> Co-authored-by: lyzno1 <[email protected]> Co-authored-by: zxhlyh <[email protected]> Co-authored-by: Yongtao Huang <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Joel <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: nite-knite <[email protected]> Co-authored-by: Hanqing Zhao <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Harry <[email protected]>
81 lines
1.6 KiB
CSS
81 lines
1.6 KiB
CSS
@tailwind components;
|
|
|
|
@layer components {
|
|
.segmented-control {
|
|
@apply flex items-center bg-components-segmented-control-bg-normal gap-x-px
|
|
}
|
|
|
|
.segmented-control-regular,
|
|
.segmented-control-large {
|
|
@apply rounded-lg
|
|
}
|
|
|
|
.segmented-control-large.padding,
|
|
.segmented-control-regular.padding {
|
|
@apply p-0.5
|
|
}
|
|
|
|
.segmented-control-small {
|
|
@apply rounded-md
|
|
}
|
|
|
|
.segmented-control-small.padding {
|
|
@apply p-px
|
|
}
|
|
|
|
.no-padding {
|
|
@apply border-[0.5px] border-divider-subtle
|
|
}
|
|
|
|
.segmented-control-item {
|
|
@apply flex items-center justify-center relative border-[0.5px] border-transparent
|
|
}
|
|
|
|
.segmented-control-item-regular {
|
|
@apply px-2 h-7 gap-x-0.5 rounded-lg
|
|
}
|
|
|
|
.segmented-control-item-small {
|
|
@apply p-px h-[22px] rounded-md
|
|
}
|
|
|
|
.segmented-control-item-large {
|
|
@apply px-2.5 h-8 gap-x-0.5 rounded-lg
|
|
}
|
|
|
|
.segmented-control-item-disabled {
|
|
@apply cursor-not-allowed text-text-disabled
|
|
}
|
|
|
|
.default {
|
|
@apply hover:bg-state-base-hover text-text-tertiary hover:text-text-secondary
|
|
}
|
|
|
|
.active {
|
|
@apply border-components-segmented-control-item-active-border bg-components-segmented-control-item-active-bg shadow-xs shadow-shadow-shadow-3 text-text-secondary
|
|
}
|
|
|
|
.disabled {
|
|
@apply cursor-not-allowed text-text-disabled hover:text-text-disabled bg-transparent hover:bg-transparent
|
|
}
|
|
|
|
.active.accent {
|
|
@apply text-text-accent
|
|
}
|
|
|
|
.active.accent-light {
|
|
@apply text-text-accent-light-mode-only
|
|
}
|
|
|
|
.item-text-regular {
|
|
@apply p-0.5
|
|
}
|
|
|
|
.item-text-small {
|
|
@apply p-0.5 pr-1
|
|
}
|
|
|
|
.item-text-large {
|
|
@apply px-0.5
|
|
}
|
|
} |