TP_JO2024/home/dist/component/select/select.print.css

64 lines
1.9 KiB
CSS
Raw Permalink 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)
*/
@charset "UTF-8";
@media print {
.fr-select {
color: #3a3a3a;
background-color: #eee;
box-shadow: inset 0 -2px 0 0 #3a3a3a;
/**
* Mixin pour gérer l'état disabled
*/
/**
* On applique un style lorsque la valeur est automatiquement remplie par le navigateur
* sur les navigateurs webkit.
*/
}
.fr-fieldset--valid .fr-select,
.fr-select-group--valid .fr-select {
box-shadow: inset 0 -2px 0 0 #18753c;
}
.fr-fieldset--error .fr-select,
.fr-select-group--error .fr-select {
box-shadow: inset 0 -2px 0 0 #ce0500;
}
.fr-select-group--error::before {
background-image: linear-gradient(0deg, #ce0500, #ce0500);
}
.fr-select-group--valid::before {
background-image: linear-gradient(0deg, #18753c, #18753c);
}
.fr-select-group--info::before {
background-image: linear-gradient(0deg, #0063cb, #0063cb);
}
.fr-select:disabled {
color: #929292;
box-shadow: inset 0 -2px 0 0 #e5e5e5;
}
.fr-select:-webkit-autofill,
.fr-select:-webkit-autofill:hover,
.fr-select:-webkit-autofill:focus {
box-shadow: inset 0 -2px 0 0 #3a3a3a, inset 0 0 0 1000px #ececfe;
-webkit-text-fill-color: #161616;
}
}
@media print and (-ms-high-contrast: none), print and (-ms-high-contrast: active) {
.fr-select {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 24 24' %3E%3Cpath fill='%23161616' d='M12,13.1l5-4.9l1.4,1.4L12,15.9L5.6,9.5l1.4-1.4L12,13.1z'/%3E%3C/svg%3E");
}
.fr-select:disabled {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 24 24' %3E%3Cpath fill='%23929292' d='M12,13.1l5-4.9l1.4,1.4L12,15.9L5.6,9.5l1.4-1.4L12,13.1z'/%3E%3C/svg%3E");
}
}