mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 06:49:32 +08:00
25 lines
498 B
Plaintext
25 lines
498 B
Plaintext
|
// mixins
|
||
|
.segmented-disabled-item {
|
||
|
&,
|
||
|
&:hover,
|
||
|
&:focus {
|
||
|
color: @disabled-color;
|
||
|
cursor: not-allowed;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.segmented-item-selected {
|
||
|
background-color: @segmented-selected-bg;
|
||
|
border-radius: @border-radius-base;
|
||
|
box-shadow: 0 2px 8px -2px fade(@black, 5%), 0 1px 4px -1px fade(@black, 7%),
|
||
|
0 0 1px 0 fade(@black, 8%);
|
||
|
}
|
||
|
|
||
|
.segmented-text-ellipsis {
|
||
|
overflow: hidden;
|
||
|
// handle text ellipsis
|
||
|
white-space: nowrap;
|
||
|
text-overflow: ellipsis;
|
||
|
word-break: keep-all;
|
||
|
}
|