2022-09-01 16:29:39 +02:00
|
|
|
@import "colors";
|
2022-09-20 17:33:12 +02:00
|
|
|
|
2022-10-06 12:59:02 +02:00
|
|
|
// override default transparent background on inputs & font-size to 16px by default
|
2022-09-01 16:29:39 +02:00
|
|
|
input,
|
|
|
|
textarea,
|
|
|
|
select {
|
|
|
|
background: $white;
|
2022-10-06 12:59:02 +02:00
|
|
|
font-size: 1em;
|
2022-09-08 15:46:47 +02:00
|
|
|
}
|
2022-09-28 19:26:44 +02:00
|
|
|
|
2022-09-01 16:29:39 +02:00
|
|
|
// with Marianne font, weight of font is less bolder, so bold it up
|
|
|
|
.button.primary {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-09-07 19:00:56 +02:00
|
|
|
|
2022-11-14 10:10:29 +01:00
|
|
|
// Fix firefox < 80, Safari < 15.4, Chrome < 83 not supporting "appearance: auto" on inputs
|
|
|
|
// This rule was set by DSFR for DSFR design, but broke our legacy forms.
|
2022-09-07 19:00:56 +02:00
|
|
|
// scss-lint:disable DuplicateProperty
|
|
|
|
input[type="checkbox"] {
|
|
|
|
-moz-appearance: checkbox;
|
|
|
|
-moz-appearance: auto;
|
2022-11-14 10:10:29 +01:00
|
|
|
|
|
|
|
-webkit-appearance: checkbox;
|
|
|
|
-webkit-appearance: auto;
|
2022-09-07 19:00:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"] {
|
|
|
|
-moz-appearance: radio;
|
|
|
|
-moz-appearance: auto;
|
2022-11-14 10:10:29 +01:00
|
|
|
|
|
|
|
-webkit-appearance: radio;
|
|
|
|
-webkit-appearance: auto;
|
2022-09-07 19:00:56 +02:00
|
|
|
}
|
|
|
|
// scss-lint:enable DuplicateProperty
|
2022-09-09 12:07:10 +02:00
|
|
|
|
|
|
|
// remove pointer cursor on textarea
|
|
|
|
textarea {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
2022-10-06 12:59:02 +02:00
|
|
|
|
|
|
|
fieldset {
|
2022-10-06 17:01:29 +02:00
|
|
|
border: none;
|
2022-10-06 12:59:02 +02:00
|
|
|
padding-left: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|