TP_JO2024/home/dist/component/input/input.legacy.css

95 lines
2.3 KiB
CSS
Raw Normal View History

2024-03-27 17:19:37 +01:00
/*!
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
*/
.fr-input:disabled {
color: var(--text-disabled-grey);
box-shadow: inset 0 -2px 0 0 var(--border-disabled-grey);
}
@media (min-width: 36em) {
/*! media sm */
/*! media sm */
}
@media (min-width: 48em) {
/*! media md */
/*! media md */
}
@media (min-width: 62em) {
/*! media lg */
/*! media lg */
}
@media (min-width: 78em) {
/*! media xl */
/*! media xl */
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.fr-input-wrap--addon .fr-btn {
flex-shrink: 0;
}
.fr-input {
color: #3a3a3a;
background-color: #eee;
box-shadow: inset 0 -2px 0 0 #3a3a3a;
}
.fr-input::placeholder {
color: #666;
}
.fr-input::-webkit-contacts-auto-fill-button {
background-color: #161616;
}
.fr-input::-webkit-contacts-auto-fill-button:hover {
background-color: #343434;
}
.fr-input::-webkit-contacts-auto-fill-button:active {
background-color: #474747;
}
.fr-input:autofill,
.fr-input:autofill:hover,
.fr-input:autofill:focus,
.fr-input:-webkit-autofill,
.fr-input:-webkit-autofill:hover,
.fr-input:-webkit-autofill:focus {
box-shadow: inset 0 -2px 0 0 #3a3a3a, inset 0 0 0 1000px #e8edff;
-webkit-text-fill-color: #161616;
}
.fr-input-wrap--addon > .fr-input:not(:last-child) {
box-shadow: inset 0 -2px 0 0 #000091;
}
.fr-fieldset--valid .fr-input,
.fr-fieldset--valid .fr-input-wrap--addon > .fr-input:not(:last-child),
.fr-input-group--valid .fr-input,
.fr-input-group--valid .fr-input-wrap--addon > .fr-input:not(:last-child) {
box-shadow: inset 0 -2px 0 0 #18753c;
}
.fr-fieldset--error .fr-input,
.fr-fieldset--error .fr-input-wrap--addon > .fr-input:not(:last-child),
.fr-input-group--error .fr-input,
.fr-input-group--error .fr-input-wrap--addon > .fr-input:not(:last-child) {
box-shadow: inset 0 -2px 0 0 #ce0500;
}
.fr-input-group--error::before {
background-image: linear-gradient(0deg, #ce0500, #ce0500);
}
.fr-input-group--valid::before {
background-image: linear-gradient(0deg, #18753c, #18753c);
}
.fr-input-group--info::before {
background-image: linear-gradient(0deg, #0063cb, #0063cb);
}
}