azure-devops-ui
Version:
React components for building web UI in Azure DevOps
140 lines (126 loc) • 4.21 kB
CSS
.bolt-radio-button {
align-items: center;
color: rgba(0, 0, 0, .9);
color: var(--text-primary-color,rgba(0, 0, 0, .9));
display: inline-flex;
border-radius: 0.125rem;
}
.bolt-radio-button:focus {
outline: none;
}
.bolt-radio-button:not(.labelled) {
border-radius: 50%;
margin: 2px;
height: 1rem;
width: 1rem;
justify-content: center;
}
.bolt-radio-button.disabled {
cursor: default;
color: rgba(0, 0, 0, .38);
color: var(--text-disabled-color,rgba(0, 0, 0, .38));
}
@media (forced-colors: active) {
.bolt-radio-button.disabled {
color: grayText;
}
}
.bolt-radio-button.labelled {
padding: 3px 4px 3px 3px;
}
.bolt-radio-button-label {
padding-left: 10px;
display: flex;
flex-direction: column;
}
.bolt-radio-button-icon {
border: 1px solid rgba(0, 0, 0, .55);
border: 1px solid var(--text-secondary-color,rgba(0, 0, 0, .55));
border-radius: 50%;
height: 1rem;
transition: 80ms border-color linear;
width: 1rem;
min-width: 1rem;
}
.bolt-radio-button.checked .bolt-radio-button-icon {
border-color: rgba(0, 120, 212, 1);
border-color: var(--communication-background,rgba(0, 120, 212, 1));
border-width: 0.125rem;
}
.bolt-radio-button.disabled .bolt-radio-button-icon {
border-color: rgba( 200, 200, 200 , 1 );
border-color: rgba( var(--palette-neutral-20,200, 200, 200) , 1 );
}
.bolt-radio-button-bullet {
background-color: transparent;
border: 1px solid;
border-color: rgba( 255, 255, 255 , 1 );
border-color: rgba( var(--palette-neutral-0,255, 255, 255) , 1 );
border-radius: 50%;
width: 0.75rem;
height: 0.75rem;
margin-left: 1px;
margin-top: 1px;
transform: scale(0.1);
}
.bolt-radio-button.checked .bolt-radio-button-bullet {
background-color: rgba(0, 120, 212, 1);
background-color: var(--communication-background,rgba(0, 120, 212, 1));
margin-left: 0px;
margin-top: 0px;
transition: transform 80ms ease-out, background 80ms linear;
transform: scale(1);
}
@media (forced-colors: active) {
.bolt-radio-button.checked .bolt-radio-button-bullet {
background-color: windowtext;
}
}
body.ms-vss-web-vsts-theme-hc-dark .bolt-radio-button.checked .bolt-radio-button-bullet {
background-color: rgba(0, 90, 158, 1);
background-color: var(--communication-foreground,rgba(0, 90, 158, 1));
}
body.ms-vss-web-vsts-theme-hc-light .bolt-radio-button.checked .bolt-radio-button-bullet {
background-color: rgba(0, 90, 158, 1);
background-color: var(--communication-foreground,rgba(0, 90, 158, 1));
}
.bolt-radio-button.checked.disabled .bolt-radio-button-bullet {
background-color: rgba( 200, 200, 200 , 1 );
background-color: rgba( var(--palette-neutral-20,200, 200, 200) , 1 );
}
.bolt-focus-visible .bolt-radio-button.bolt-focus-treatment:not(.labelled):focus {
border-radius: 50%;
}
.bolt-focus-visible .bolt-radio-button.bolt-focus-treatment:not(.labelled):focus .bolt-radio-button-icon {
border-color: rgba(0, 120, 212, 1);
border-color: var(--communication-background,rgba(0, 120, 212, 1));
}
.bolt-focus-visible .bolt-radio-button.bolt-focus-treatment:not(.labelled):focus.checked .bolt-radio-button-icon {
border-width: 0.125rem;
box-shadow: 0 0 0 1px rgba( 255, 255, 255 , 1 );
box-shadow: 0 0 0 1px rgba( var(--palette-neutral-0,255, 255, 255) , 1 );
}
@media (forced-colors: active) {
.bolt-focus-visible .bolt-radio-button.bolt-focus-treatment:not(.labelled):focus {
border-radius: 0;
}
}
.bolt-focus-visible .bolt-radio-button.bolt-focus-treatment:focus {
animation: ms-focus-shadow-with-border-pulse 4s ease-in-out infinite;
box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.23), 0 0 0 1px rgba(0, 120, 212, 1);
box-shadow: 0 0 0 3px var(--focus-pulse-max-color,rgba(0, 120, 212, 0.23)), 0 0 0 1px var(--focus-border-color,rgba(0, 120, 212, 1));
}
@media (forced-colors: active) {
.bolt-focus-visible .bolt-radio-button.bolt-focus-treatment:focus {
animation: none;
}
}
@media (forced-colors: active) {
.bolt-focus-visible .bolt-radio-button.bolt-focus-treatment:focus {
border: 1px solid windowtext;
}
}
.bolt-radio-button-group-container .bolt-formitem-label {
padding-left: 3px;
}
/*# sourceMappingURL=RadioButton.css.map */