This commit is contained in:
Roman Pyrih
2024-11-26 16:48:33 +01:00
parent 1994d995d8
commit 22bf30902e
10 changed files with 494 additions and 218 deletions

View File

@@ -4372,13 +4372,13 @@ tbody.collapse.in {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#fff' d='M0 2h4'/%3E%3C/svg%3E");
}
.custom-radio .custom-control-indicator {
border-radius: 50%;
}
// .custom-radio .custom-control-indicator {
// border-radius: 50%;
// }
.custom-radio .custom-control-input:checked ~ .custom-control-indicator {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#fff'/%3E%3C/svg%3E");
}
// .custom-radio .custom-control-input:checked ~ .custom-control-indicator {
// background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#fff'/%3E%3C/svg%3E");
// }
.custom-controls-stacked .custom-control {
float: left;
@@ -8063,9 +8063,9 @@ textarea:active:-moz-placeholder {
font-size: 0.9375rem;
}
.radio-inline .custom-radio {
margin-right: 0.5rem;
}
// .radio-inline .custom-radio {
// margin-right: 0.5rem;
// }
.radio-inline:first-of-type {
margin-right: 1rem;
@@ -8091,78 +8091,78 @@ form .form-control-label {
color: #232323;
}
.custom-radio {
position: relative;
display: inline-block;
width: 18px;
height: 18px;
margin-top: 0.1rem;
margin-right: 0.5rem;
vertical-align: middle;
cursor: pointer;
background: #fff;
border: #979797 1px solid;
border-radius: 50%;
}
// .custom-radio {
// position: relative;
// display: inline-block;
// width: 18px;
// height: 18px;
// margin-top: 0.1rem;
// margin-right: 0.5rem;
// vertical-align: middle;
// cursor: pointer;
// background: #fff;
// border: #979797 1px solid;
// border-radius: 50%;
// }
.custom-radio input[type='radio'] {
cursor: pointer;
opacity: 0;
}
// .custom-radio input[type='radio'] {
// cursor: pointer;
// opacity: 0;
// }
.custom-radio input[type='radio']:checked + span {
position: absolute;
top: 0.125rem;
left: 0.125rem;
display: block;
width: 12px;
height: 12px;
background-color: #24b9d7;
border-radius: 50%;
}
// .custom-radio input[type='radio']:checked + span {
// position: absolute;
// top: 0.125rem;
// left: 0.125rem;
// display: block;
// width: 12px;
// height: 12px;
// background-color: #24b9d7;
// border-radius: 50%;
// }
.custom-radio input[type='radio']:focus + span {
border-color: #7a7a7a;
}
// .custom-radio input[type='radio']:focus + span {
// border-color: #7a7a7a;
// }
.custom-checkbox {
position: relative;
}
.custom-checkbox input[type='checkbox'] {
position: absolute;
width: 18px;
height: 18px;
margin-top: 0.25rem;
cursor: pointer;
opacity: 0;
}
// .custom-checkbox input[type='checkbox'] {
// position: absolute;
// width: 18px;
// height: 18px;
// margin-top: 0.25rem;
// cursor: pointer;
// opacity: 0;
// }
.custom-checkbox input[type='checkbox'] + span {
display: inline-block;
width: 1.125rem;
height: 1.125rem;
margin-right: 0.5rem;
vertical-align: middle;
pointer-events: none;
cursor: pointer;
border: 1px #979797 solid;
}
// .custom-checkbox input[type='checkbox'] + span {
// display: inline-block;
// width: 1.125rem;
// height: 1.125rem;
// margin-right: 0.5rem;
// vertical-align: middle;
// pointer-events: none;
// cursor: pointer;
// border: 1px #979797 solid;
// }
.custom-checkbox input[type='checkbox'] + span .checkbox-checked {
display: none;
margin: -0.125rem;
font-size: 1.25rem;
color: #232323;
}
// .custom-checkbox input[type='checkbox'] + span .checkbox-checked {
// display: none;
// margin: -0.125rem;
// font-size: 1.25rem;
// color: #232323;
// }
.custom-checkbox input[type='checkbox']:checked + span .checkbox-checked {
display: block;
}
// .custom-checkbox input[type='checkbox']:checked + span .checkbox-checked {
// display: block;
// }
.custom-checkbox input[type='checkbox']:focus + span {
border-color: #7a7a7a;
}
// .custom-checkbox input[type='checkbox']:focus + span {
// border-color: #7a7a7a;
// }
.custom-checkbox label {
text-align: left;
@@ -8837,9 +8837,9 @@ body#checkout .custom-checkbox {
display: flex;
}
body#checkout .custom-checkbox > label {
padding-left: 1.5rem;
}
// body#checkout .custom-checkbox > label {
// padding-left: 1.5rem;
// }
body#checkout .custom-checkbox span {
position: absolute;
@@ -8970,7 +8970,7 @@ body#checkout section.checkout-step.-reachable.-complete h1 .done {
}
body#checkout section.checkout-step.-reachable.-complete h1 .step-number {
display: none;
// display: none;
}
body#checkout section.checkout-step.-reachable.-complete h1 .step-edit {
@@ -9108,10 +9108,10 @@ body#checkout section.checkout-step .radio-block {
cursor: pointer;
}
body#checkout section.checkout-step .custom-radio input[type='radio'] {
width: 1.25rem;
height: 1.25rem;
}
// body#checkout section.checkout-step .custom-radio input[type='radio'] {
// width: 1.25rem;
// height: 1.25rem;
// }
body#checkout section.checkout-step .delete-address,
body#checkout section.checkout-step .edit-address {