azure-devops-ui
Version:
React components for building web UI in Azure DevOps
385 lines (358 loc) • 11.1 kB
CSS
.bolt-textfield {
color: rgba(0, 0, 0, .9);
color: var(--text-primary-color,rgba(0, 0, 0, .9));
border-radius: 2px;
border: 1px solid rgba(0, 0, 0, .55);
border: 1px solid var(--text-secondary-color,rgba(0, 0, 0, .55));
background-color: rgba(255, 255, 255, 1);
background-color: var(--background-color,rgba(255, 255, 255, 1));
overflow: hidden;
min-width: 64px;
}
body.ms-vss-web-vsts-theme-hc-dark .bolt-textfield {
border: 2px solid rgba(0, 120, 212, 1);
border: 2px solid var(--focus-border-color,rgba(0, 120, 212, 1));
}
body.ms-vss-web-vsts-theme-hc-light .bolt-textfield {
border: 2px solid rgba(0, 120, 212, 1);
border: 2px solid var(--focus-border-color,rgba(0, 120, 212, 1));
}
.bolt-textfield-counter {
align-self: end;
}
.bolt-textfield.disabled {
color: rgba(0, 0, 0, .38);
color: var(--text-disabled-color,rgba(0, 0, 0, .38));
background-color: rgba( 244, 244, 244 , 1 );
background-color: rgba( var(--palette-neutral-4,244, 244, 244) , 1 );
}
@media (forced-colors: active) {
.bolt-textfield.disabled {
color: graytext;
background-color: window;
forced-color-adjust: none;
border: 1px solid graytext;
}
.bolt-textfield.disabled input {
background-color: window;
}
}
.bolt-textfield.focused.focus-treatment {
border-color: rgba(0, 120, 212, 1);
border-color: var(--communication-background,rgba(0, 120, 212, 1));
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-textfield.focused.focus-treatment {
animation: none;
}
}
@media (forced-colors: active) {
.bolt-textfield.focused.focus-treatment {
forced-color-adjust: none;
border-color: highlight;
}
}
@media screen and (-ms-high-contrast: black-on-white) {
.bolt-textfield.focused.focus-treatment {
outline: 1px solid highlight;
outline-offset: 1px;
}
}
@media (forced-colors: active) {
.bolt-textfield.focused.focus-treatment {
color: windowtext;
background-color: window;
}
}
@media (forced-colors: active) {
.bolt-textfield.focused.focus-treatment > * {
forced-color-adjust: auto;
}
}
body.ms-vss-web-vsts-theme-hc-dark .bolt-textfield.focused.focus-treatment {
outline: 2px solid rgba(0, 90, 158, 1);
outline: 2px solid var(--communication-foreground,rgba(0, 90, 158, 1));
border-color: rgba(0, 120, 212, 1);
border-color: var(--focus-border-color,rgba(0, 120, 212, 1));
}
body.ms-vss-web-vsts-theme-hc-light .bolt-textfield.focused.focus-treatment {
outline: 2px solid rgba(0, 90, 158, 1);
outline: 2px solid var(--communication-foreground,rgba(0, 90, 158, 1));
border-color: rgba(0, 120, 212, 1);
border-color: var(--focus-border-color,rgba(0, 120, 212, 1));
}
.bolt-textfield.focused {
border-color: rgba(0, 120, 212, 1);
border-color: var(--communication-background,rgba(0, 120, 212, 1));
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-textfield.focused {
animation: none;
}
}
@media (forced-colors: active) {
.bolt-textfield.focused {
forced-color-adjust: none;
border-color: highlight;
}
}
@media screen and (-ms-high-contrast: black-on-white) {
.bolt-textfield.focused {
outline: 1px solid highlight;
outline-offset: 1px;
}
}
@media (forced-colors: active) {
.bolt-textfield.focused {
color: windowtext;
background-color: window;
}
}
@media (forced-colors: active) {
.bolt-textfield.focused > * {
forced-color-adjust: auto;
}
}
body.ms-vss-web-vsts-theme-hc-dark .bolt-textfield.focused {
outline: 2px solid rgba(0, 90, 158, 1);
outline: 2px solid var(--communication-foreground,rgba(0, 90, 158, 1));
border-color: rgba(0, 120, 212, 1);
border-color: var(--focus-border-color,rgba(0, 120, 212, 1));
}
body.ms-vss-web-vsts-theme-hc-light .bolt-textfield.focused {
outline: 2px solid rgba(0, 90, 158, 1);
outline: 2px solid var(--communication-foreground,rgba(0, 90, 158, 1));
border-color: rgba(0, 120, 212, 1);
border-color: var(--focus-border-color,rgba(0, 120, 212, 1));
}
.bolt-textfield .prefix {
padding-left: 4px;
margin-left: 7px;
}
.bolt-textfield .suffix {
padding-right: 4px;
margin-right: 7px;
}
.subtle.bolt-textfield:not(.focused):not(.disabled) {
background-color: inherit;
}
.hide-border.bolt-textfield:not(.focused):not(:hover) {
border-color: transparent;
}
.bolt-textfield-error.bolt-textfield,
.bolt-textfield-error .bolt-textfield {
border-color: rgba(218, 10, 0, 1);
border-color: var(--status-error-text,rgba(218, 10, 0, 1));
}
.bolt-textfield-warning.bolt-textfield {
border-color: rgba(184, 94, 6, 1);
border-color: var(--status-warning-text,rgba(184, 94, 6, 1));
}
.bolt-textfield-auto-adjust {
overflow: hidden;
}
.bolt-textfield-auto-adjust-hidden {
position: absolute;
visibility: hidden;
width: 100%;
}
.bolt-textfield-auto-unresizable {
resize: none;
}
.bolt-textfield-input {
border: none;
outline: none;
background-color: inherit;
padding: 5px 11px;
resize: none;
}
.bolt-textfield-input::placeholder {
color: rgba(0, 0, 0, .55);
color: var(--text-secondary-color,rgba(0, 0, 0, .55));
}
.bolt-textfield-input:-ms-input-placeholder {
color: rgba(0, 0, 0, .55);
color: var(--text-secondary-color,rgba(0, 0, 0, .55));
}
.bolt-textfield-input::-ms-input-placeholder {
color: rgba(0, 0, 0, .55);
color: var(--text-secondary-color,rgba(0, 0, 0, .55));
}
.bolt-textfield-input::-webkit-input-placeholder {
color: rgba(0, 0, 0, .55);
color: var(--text-secondary-color,rgba(0, 0, 0, .55));
}
.bolt-textfield-input:-moz-placeholder {
color: rgba(0, 0, 0, .55);
color: var(--text-secondary-color,rgba(0, 0, 0, .55));
}
body.ms-vss-web-vsts-theme-hc-dark .bolt-textfield-input::placeholder {
color: rgba(0, 0, 0, .9);
color: var(--text-primary-color,rgba(0, 0, 0, .9));
}
body.ms-vss-web-vsts-theme-hc-light .bolt-textfield-input::placeholder {
color: rgba(0, 0, 0, .9);
color: var(--text-primary-color,rgba(0, 0, 0, .9));
}
.bolt-textfield-input::-ms-clear {
display: none;
}
.bolt-textfield-input:-moz-ui-invalid {
box-shadow: none;
}
.bolt-textfield-input.activatable {
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.bolt-textfield-input.activatable::-moz-selection {
background: transparent;
}
.bolt-textfield-input.activatable::selection {
background: transparent;
}
.bolt-textfield-input-with-prefix {
padding-left: 8px;
}
.bolt-textfield-input-with-suffix {
padding-right: 8px;
}
.bolt-textfield-no-text {
color: rgba(0, 0, 0, .55);
color: var(--text-secondary-color,rgba(0, 0, 0, .55));
}
.bolt-textfield-message {
margin-top: 8px;
font-size: 0.75rem;
color: rgba(0, 0, 0, .55);
color: var(--text-secondary-color,rgba(0, 0, 0, .55));
}
.bolt-textfield-message-error {
color: rgba(218, 10, 0, 1);
color: var(--status-error-text,rgba(218, 10, 0, 1));
}
.bolt-textfield-message-warning {
color: rgba(184, 94, 6, 1);
color: var(--status-warning-text,rgba(184, 94, 6, 1));
}
.bolt-textfield-label {
margin-bottom: 8px;
}
.bolt-textfield-label--required::after {
content: " *";
color: rgba(218, 10, 0, 1);
color: var(--status-error-text,rgba(218, 10, 0, 1));
}
.bolt-text-filterbaritem {
background-color: transparent;
border: none;
}
.bolt-text-filterbaritem-input {
background-color: transparent;
text-overflow: ellipsis;
position: relative;
}
.bolt-text-filterbaritem-input::placeholder {
color: rgba(0, 0, 0, 0.60);
color: var(--palette-black-alpha-60,rgba(0, 0, 0, 0.60));
}
.bolt-text-filterbaritem-input:-ms-input-placeholder {
color: rgba(0, 0, 0, 0.60);
color: var(--palette-black-alpha-60,rgba(0, 0, 0, 0.60));
}
.bolt-text-filterbaritem-input::-ms-input-placeholder {
color: rgba(0, 0, 0, 0.60);
color: var(--palette-black-alpha-60,rgba(0, 0, 0, 0.60));
}
.bolt-text-filterbaritem-input::-webkit-input-placeholder {
color: rgba(0, 0, 0, 0.60);
color: var(--palette-black-alpha-60,rgba(0, 0, 0, 0.60));
}
.bolt-text-filterbaritem-input:-moz-placeholder {
color: rgba(0, 0, 0, 0.60);
color: var(--palette-black-alpha-60,rgba(0, 0, 0, 0.60));
}
.bolt-text-filterbaritem-clear.bolt-button:not(:hover) {
background-color: transparent;
}
.bolt-text-filterbaritem-clear.bolt-button.icon-only {
padding: 4px;
font-size: 1rem;
border-color: transparent;
}
.bolt-focus-visible .bolt-text-filterbaritem-clear.bolt-button.bolt-focus-treatment:focus {
animation: none;
box-shadow: none;
background-color: rgba(0, 0, 0, 0.10);
background-color: var(--palette-black-alpha-10,rgba(0, 0, 0, 0.10));
}
.bolt-textfield-inline {
background-color: rgba(0, 0, 0, 0.06);
background-color: var(--palette-black-alpha-6,rgba(0, 0, 0, 0.06));
}
.bolt-textfield-inline:not(.disabled) {
border-color: transparent;
}
.bolt-textfield-inline .bolt-textfield-input {
background-color: transparent;
}
.bolt-textfield-inline:hover:not(.disabled):not(.focused) {
background-color: rgba(0, 0, 0, 0.10);
background-color: var(--palette-black-alpha-10,rgba(0, 0, 0, 0.10));
}
.bolt-textfield-inline:hover:not(.disabled) {
cursor: text;
}
.bolt-textfield-default-width {
width: 296px;
}
.bolt-textfield-inline-tabbar-width {
width: 244px;
}
@media screen and (max-width: 599px) {
.bolt-inline-keyword-filter-bar {
flex-grow: 1;
margin-top: 16px;
}
}
.bolt-focus-visible .bolt-textfield.focused.focus-keyboard-only {
border-color: rgba(0, 120, 212, 1);
border-color: var(--communication-background,rgba(0, 120, 212, 1));
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-textfield.focused.focus-keyboard-only {
animation: none;
}
}
@media (forced-colors: active) {
.bolt-focus-visible .bolt-textfield.focused.focus-keyboard-only {
forced-color-adjust: none;
border-color: highlight;
}
}
@media screen and (-ms-high-contrast: black-on-white) {
.bolt-focus-visible .bolt-textfield.focused.focus-keyboard-only {
outline: 1px solid highlight;
outline-offset: 1px;
}
}
@media (forced-colors: active) {
.bolt-focus-visible .bolt-textfield.focused.focus-keyboard-only {
background: window;
color: windowtext;
}
}
/*# sourceMappingURL=TextField.css.map */