You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

39 lines
1.4 KiB

.vxe-radio--button .vxe-radio--label {
background-color: var(--vxe-ui-layout-background-color);
}
.vxe-radio--button:first-child .vxe-radio--label {
border-left: 1px solid var(--vxe-ui-input-border-color);
border-radius: var(--vxe-ui-base-border-radius) 0 0 var(--vxe-ui-base-border-radius);
}
.vxe-radio--button:last-child .vxe-radio--label {
border-radius: 0 var(--vxe-ui-base-border-radius) var(--vxe-ui-base-border-radius) 0;
}
.vxe-radio--button > input:checked + .vxe-radio--label {
color: #fff;
background-color: var(--vxe-ui-font-primary-color);
}
.vxe-radio--button .vxe-radio--label {
padding: 0 1em;
line-height: calc(var(--vxe-ui-button-height-default) - 2px);
display: inline-block;
border-style: solid;
border-color: var(--vxe-ui-input-border-color);
border-width: 1px 1px 1px 0;
max-width: 50em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.vxe-radio--button > input:focus + .vxe-radio--label {
border-color: var(--vxe-ui-font-primary-color);
box-shadow: 0 0 0.2em 0 var(--vxe-ui-font-primary-color);
}
.vxe-radio--button.size--medium .vxe-radio--label {
line-height: calc(var(--vxe-ui-button-height-medium) - 2px);
}
.vxe-radio--button.size--small .vxe-radio--label {
line-height: calc(var(--vxe-ui-button-height-small) - 2px);
}
.vxe-radio--button.size--mini .vxe-radio--label {
line-height: calc(var(--vxe-ui-button-height-mini) - 2px);
}