2022-02-18 09:15:48 +01:00
|
|
|
.field {
|
|
|
|
padding-top: .6rem;
|
2022-02-18 16:53:54 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-02-18 11:05:10 +01:00
|
|
|
|
|
|
|
&.has-addons {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
2022-02-18 16:53:54 +01:00
|
|
|
flex-direction: row;
|
2022-02-18 11:05:10 +01:00
|
|
|
|
|
|
|
.button {
|
|
|
|
margin-bottom: 0;
|
2022-02-18 16:53:54 +01:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2022-02-18 11:05:10 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-18 09:15:48 +01:00
|
|
|
label {
|
|
|
|
font-weight: 800;
|
|
|
|
}
|
2022-02-18 16:53:54 +01:00
|
|
|
input,
|
2022-02-22 14:50:07 +01:00
|
|
|
textarea,
|
2022-02-18 16:53:54 +01:00
|
|
|
select {
|
2022-02-23 19:26:52 +01:00
|
|
|
border-radius: 4px;
|
2022-02-18 09:15:48 +01:00
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
2022-02-23 18:51:23 +01:00
|
|
|
background-color: var(--default-color);
|
2022-02-23 19:26:52 +01:00
|
|
|
border: 1px solid transparent !important;
|
|
|
|
color: var(--input-color);
|
2022-02-23 22:38:50 +01:00
|
|
|
@include transition() {}
|
2022-02-18 16:53:54 +01:00
|
|
|
|
|
|
|
&:focus-visible {
|
|
|
|
outline: unset;
|
2022-02-23 19:26:52 +01:00
|
|
|
border-color: var(--input-active-color) !important;
|
2022-02-18 16:53:54 +01:00
|
|
|
}
|
2022-02-18 09:15:48 +01:00
|
|
|
}
|
2022-02-19 09:25:51 +01:00
|
|
|
|
|
|
|
select {
|
|
|
|
appearance: none;
|
|
|
|
background-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20style%3D%22isolation%3Aisolate%22%20viewBox%3D%220%200%2020%2020%22%20width%3D%2220%22%20height%3D%2220%22%3E%3Cpath%20d%3D%22%20M%209.96%2011.966%20L%203.523%205.589%20C%202.464%204.627%200.495%206.842%201.505%207.771%20L%201.505%207.771%20L%208.494%2014.763%20C%209.138%2015.35%2010.655%2015.369%2011.29%2014.763%20L%2011.29%2014.763%20L%2018.49%207.771%20C%2019.557%206.752%2017.364%204.68%2016.262%205.725%20L%2016.262%205.725%20L%209.96%2011.966%20Z%20%22%20fill%3D%22inherit%22/%3E%3C/svg%3E");
|
|
|
|
background-position: right 0.8rem center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1.2rem;
|
|
|
|
padding-right: 2.4rem;
|
|
|
|
}
|
2022-02-23 18:51:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.theme-switch-wrapper {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-02-23 19:26:52 +01:00
|
|
|
|
2022-02-23 18:51:23 +01:00
|
|
|
em {
|
|
|
|
margin-left: 10px;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
}
|
2022-02-23 19:26:52 +01:00
|
|
|
|
2022-02-23 18:51:23 +01:00
|
|
|
.theme-switch {
|
|
|
|
display: inline-block;
|
|
|
|
height: 34px;
|
|
|
|
position: relative;
|
|
|
|
width: 60px;
|
|
|
|
}
|
2022-02-23 19:26:52 +01:00
|
|
|
|
2022-02-23 18:51:23 +01:00
|
|
|
.theme-switch input {
|
|
|
|
display:none;
|
|
|
|
}
|
2022-02-23 19:26:52 +01:00
|
|
|
|
2022-02-23 18:51:23 +01:00
|
|
|
.slider {
|
|
|
|
background-color: #ccc;
|
|
|
|
bottom: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
transition: .4s;
|
2022-02-23 22:38:50 +01:00
|
|
|
@include transition() {}
|
2022-02-23 18:51:23 +01:00
|
|
|
}
|
2022-02-23 19:26:52 +01:00
|
|
|
|
2022-02-23 18:51:23 +01:00
|
|
|
.slider:before {
|
|
|
|
background-color: #fff;
|
|
|
|
bottom: 4px;
|
|
|
|
content: '\f185';
|
|
|
|
height: 26px;
|
|
|
|
left: 4px;
|
|
|
|
position: absolute;
|
|
|
|
transition: .4s;
|
|
|
|
width: 26px;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
font-family: "icon";
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
display: inline-block;
|
|
|
|
text-decoration: inherit;
|
|
|
|
text-align: center;
|
|
|
|
font-variant: normal;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
2022-02-23 19:26:52 +01:00
|
|
|
|
2022-02-23 18:51:23 +01:00
|
|
|
input:checked + .slider {
|
2022-02-23 19:26:52 +01:00
|
|
|
background-color: var(--primary-bg-color);
|
2022-02-23 22:38:50 +01:00
|
|
|
@include transition() {}
|
2022-02-23 18:51:23 +01:00
|
|
|
}
|
2022-02-23 19:26:52 +01:00
|
|
|
|
2022-02-23 18:51:23 +01:00
|
|
|
input:checked + .slider:before {
|
|
|
|
transform: translateX(26px);
|
|
|
|
content: '\f186';
|
2022-02-23 19:26:52 +01:00
|
|
|
background-color: var(--input-active-color);
|
2022-02-23 22:38:50 +01:00
|
|
|
@include transition() {}
|
2022-02-23 18:51:23 +01:00
|
|
|
}
|
2022-02-23 19:26:52 +01:00
|
|
|
|
2022-02-23 18:51:23 +01:00
|
|
|
.slider.round {
|
|
|
|
border-radius: 34px;
|
|
|
|
}
|
2022-02-23 19:26:52 +01:00
|
|
|
|
2022-02-23 18:51:23 +01:00
|
|
|
.slider.round:before {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|