2024-10-25 14:35:16 +02:00
|
|
|
.ppcp-r {
|
|
|
|
|
|
|
|
&__radio-value {
|
|
|
|
@include hide-input-field;
|
|
|
|
|
2024-11-21 11:38:01 +01:00
|
|
|
&:checked + .ppcp-r__radio-presentation {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border-radius: 12px;
|
|
|
|
background-color: $color-blueberry;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
2024-10-25 14:35:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-11-26 13:28:03 +01:00
|
|
|
&__checkbox {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin: 0;
|
|
|
|
border-color: $color-gray-600;
|
2024-10-25 14:35:16 +02:00
|
|
|
|
2024-11-26 13:28:03 +01:00
|
|
|
&:checked {
|
|
|
|
background-color: $color-blueberry;
|
|
|
|
border-color:$color-blueberry;
|
|
|
|
}
|
2024-10-25 14:35:16 +02:00
|
|
|
}
|
|
|
|
|
2024-11-26 13:28:03 +01:00
|
|
|
.components-checkbox-control__input-container {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2024-10-25 14:35:16 +02:00
|
|
|
|
2024-11-26 13:28:03 +01:00
|
|
|
.components-base-control__field {
|
|
|
|
margin: 0;
|
2024-10-25 14:35:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__radio-presentation {
|
|
|
|
@include fake-input-field(20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__checkbox-presentation {
|
|
|
|
@include fake-input-field(2px);
|
|
|
|
}
|
2024-11-11 14:02:49 +01:00
|
|
|
|
|
|
|
&__radio-wrapper {
|
|
|
|
display: flex;
|
|
|
|
gap: 18px;
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
label {
|
2024-12-08 09:33:49 +01:00
|
|
|
@include font(13, 20, 400);
|
2024-11-11 14:02:49 +01:00
|
|
|
color: $color-gray-800;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__radio-description {
|
2024-12-08 09:33:49 +01:00
|
|
|
@include font(13, 20, 400);
|
2024-11-13 17:29:11 +01:00
|
|
|
margin: 0;
|
|
|
|
color: $color-gray-800;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__radio-content-additional {
|
|
|
|
padding-left: 38px;
|
|
|
|
padding-top: 18px;
|
2024-11-11 14:02:49 +01:00
|
|
|
}
|
2024-10-25 14:35:16 +02:00
|
|
|
}
|
2024-11-11 14:02:49 +01:00
|
|
|
|
2024-11-13 17:29:11 +01:00
|
|
|
.components-base-control {
|
|
|
|
&__label {
|
|
|
|
color: $color-gray-900;
|
|
|
|
@include font(13, 16, 600);
|
|
|
|
text-transform: none;
|
|
|
|
}
|
2024-11-11 14:02:49 +01:00
|
|
|
|
2024-11-13 17:29:11 +01:00
|
|
|
&__input {
|
|
|
|
border: 1px solid $color-gray-700;
|
|
|
|
border-radius: 2px;
|
|
|
|
box-shadow: none;
|
2024-11-11 14:02:49 +01:00
|
|
|
|
2024-11-13 17:29:11 +01:00
|
|
|
&:focus {
|
|
|
|
border-color: $color-blueberry;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input[type='text'] {
|
|
|
|
padding: 7px 11px;
|
|
|
|
@include font(14, 20, 400);
|
|
|
|
@include primaryFont;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
padding: 7px 27px 7px 11px;
|
|
|
|
@include font(14, 20, 400);
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-form-toggle.is-checked > .components-form-toggle__track {
|
|
|
|
background-color: $color-blueberry;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ppcp-r-vertical-text-control {
|
|
|
|
.components-base-control__field {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-11-21 11:38:01 +01:00
|
|
|
gap: 0;
|
2024-11-13 17:29:11 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|