Files
asset-management-system/resources/assets/scss/bootstrap/_forms.scss
Arya Dwi Putra 5514f7de5b first commit
2025-12-01 06:41:22 +07:00

1500 lines
29 KiB
SCSS

@use "../variables";
.form-control {
border-color: variables.$input-border;
color: variables.$default-text-color;
background-color: variables.$form-control-bg;
font-size: 0.875rem;
font-weight: variables.$default-font-weight;
line-height: 1.5;
border-radius: 0.3rem;
padding: 0.5rem 0.75rem ;
&:focus {
border-color: variables.$primary;
background-color: variables.$custom-white;
box-shadow: 0 2px 6px 0px variables.$primary-03;
color: variables.$default-text-color;
}
&.border-dotted {
border-style: dotted;
}
&.border-dashed {
border-style: dashed;
}
}
.form-label {
font-size: 0.8rem;
font-weight: 500;
color: variables.$default-text-color;
}
.form-text {
color: variables.$text-muted;
}
.form-control-light {
background-color: variables.$light;
border: 0;
&:focus {
background-color: variables.$light;
}
}
.form-control-primary {
background-color: variables.$primary-01;
border: 0;
color: variables.$primary;
&:focus {
background-color: variables.$primary-01;
color: variables.$primary;
}
}
.form-input-color {
height: 2.25rem;
width: 2.25rem;
border-radius: variables.$default-radius;
overflow: hidden;
padding: 0;
}
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
color: variables.$text-muted;
}
.form-floating > .form-control:not(:placeholder-shown) ~ label::after {
background-color: transparent;
}
.form-select {
background-color: variables.$form-control-bg;
border: 1px solid variables.$input-border;
color: variables.$default-text-color;
font-size: variables.$default-font-size;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-size: 1.25rem;
option {
background-color: transparent;
padding: 0.35rem 0.75rem;
border-radius: 0.25rem;
}
option:checked {
background-color: variables.$primary-02;
color: variables.$primary;
}
}
.form-check-input {
width: 1.1em;
height: 1.1em;
background-color: variables.$custom-white;
border: 1px solid variables.$input-border;
&:checked {
background-color: variables.$primary;
border-color: variables.$primary;
}
&.form-checked-outline {
&:checked {
background-color: transparent;
border-color: variables.$primary;
}
}
&.form-checked-gray {
&:checked {
background-color: variables.$gray-3;
border-color: variables.$gray-3;
}
}
&.form-checked-secondary {
&:checked {
background-color: variables.$secondary;
border-color: variables.$secondary;
}
}
&.form-checked-warning {
&:checked {
background-color: variables.$warning;
border-color: variables.$warning;
}
}
&.form-checked-info {
&:checked {
background-color: variables.$info;
border-color: variables.$info;
}
}
&.form-checked-success {
&:checked {
background-color: variables.$success;
border-color: variables.$success;
}
}
&.form-checked-orange {
&:checked {
background-color: variables.$orange;
border-color: variables.$orange;
}
}
&.form-checked-danger {
&:checked {
background-color: variables.$danger;
border-color: variables.$danger;
}
}
&.form-checked-light {
&:checked {
background-color: variables.$light;
border-color: variables.$light;
}
}
&.form-checked-dark {
&:checked {
background-color: variables.$dark;
border-color: variables.$dark;
}
}
&:focus {
box-shadow: none;
}
}
.form-checked-outline:checked[type="checkbox"] {
background-image: none;
position: relative;
background-color: transparent;
&:before {
content: "\F633";
font-family: bootstrap-icons !important;
position: absolute;
color: variables.$primary;
width: 0.625rem;
height: 0.625rem;
inset-block-start: -1px;
inset-inline-start: 0px;
font-size: 0.688rem;
}
&.form-checked-secondary {
&:before {
color: variables.$secondary;
}
}
&.form-checked-warning {
&:before {
color: variables.$warning;
}
}
&.form-checked-info {
&:before {
color: variables.$info;
}
}
&.form-checked-success {
&:before {
color: variables.$success;
}
}
&.form-checked-danger {
&:before {
color: variables.$danger;
}
}
&.form-checked-light {
&:before {
color: variables.$light;
}
}
&.form-checked-dark {
&:before {
color: variables.$dark;
}
}
}
.form-checked-outline:checked[type="radio"] {
background-image: none;
position: relative;
background-color: transparent;
&:before {
content: "\F309";
font-family: bootstrap-icons !important;
position: absolute;
color: variables.$primary;
width: 0.625rem;
height: 0.625rem;
inset-block-start: -1.08rem;
inset-inline-start: -0.59rem;
font-size: 2rem;
}
&.form-checked-secondary {
&:before {
color: variables.$secondary;
}
}
&.form-checked-warning {
&:before {
color: variables.$warning;
}
}
&.form-checked-info {
&:before {
color: variables.$info;
}
}
&.form-checked-success {
&:before {
color: variables.$success;
}
}
&.form-checked-danger {
&:before {
color: variables.$danger;
}
}
&.form-checked-light {
&:before {
color: variables.$light;
}
}
&.form-checked-dark {
&:before {
color: variables.$dark;
}
}
}
fieldset:disabled .btn {
color: variables.$white;
background-color: variables.$primary;
border-color: variables.$primary;
}
.form-select:focus {
border-color: variables.$primary-05;
outline: 0;
box-shadow: none;
}
.btn-check:focus + .btn,
.btn:focus {
background-color: none;
border-color: none;
outline: 0;
}
.btn-check:active + .btn:focus,
.btn-check:checked + .btn:focus,
.btn.active:focus,
.btn.show:focus,
.btn:active:focus {
box-shadow: none;
}
.form-control,
.form-select {
&:disabled {
background-color: variables.$light;
color: variables.$default-text-color;
}
}
.form-control-plaintext {
color: variables.$default-text-color;
}
.form-control::-webkit-file-upload-button {
color: variables.$default-text-color;
background-color: variables.$default-background;
}
.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
background-color: variables.$default-background;
}
/* Start::placeholder */
.form-control {
&::-webkit-input-placeholder {
font-size: 0.8rem;
font-weight: 400;
opacity: 0.6;
color: variables.$default-text-color;
padding-inline-start: 0px;
transition: padding-inline-start 0.1s ease-in;
}
&:-moz-placeholder {
/* Firefox 18- */
font-size: 0.8rem;
font-weight: 400;
opacity: 0.6;
color: variables.$default-text-color;
}
&::-moz-placeholder {
/* Firefox 19+ */
font-size: 0.8rem;
font-weight: 400;
opacity: 0.6;
color: variables.$default-text-color;
}
&:-ms-input-placeholder {
font-size: 0.8rem;
font-weight: 400;
opacity: 0.6;
color: variables.$default-text-color;
}
}
/* End::placeholder */
/* Start:: sizes */
.form-control-sm {
font-size: 0.8rem;
padding: 0.25rem 0.8rem;
line-height: inherit;
border-radius: 0.25rem;
}
.form-control-lg {
font-size: 1rem;
padding: 0.5rem 1rem;
}
.form-check-md {
.form-check-input {
width: 1.15rem;
height: 1.15rem;
}
&.form-switch {
.form-check-input {
width: 2.25rem;
}
}
label {
margin-inline-start: 0.5rem;
font-size: 0.95rem;
margin-block-start: 2px;
}
}
.form-check-lg {
.form-check-input {
width: 1.35rem;
height: 1.35rem;
}
&.form-switch {
.form-check-input {
width: 2.5rem;
}
}
label {
margin-inline-start: 0.5rem;
font-size: 1rem;
margin-block-start: 3px;
}
}
/* End:: sizes */
/* Start:: toggle switches-1 */
.toggle {
width: 3.75rem;
height: 1.563rem;
background-color: variables.$light;
margin-inline-start: 0.625rem;
margin-block-end: 0.313rem;
padding: 0.125rem;
border-radius: 0.188rem;
position: relative;
overflow: hidden;
transition: all 0.2s ease;
span {
position: absolute;
inset-block-start: 0.188rem;
inset-block-end: 0.25rem;
inset-inline-start: 0.2rem;
display: block;
width: 1.25rem;
border-radius: 0.125rem;
background-color: variables.$custom-white;
box-shadow: 0 0.125rem 0.125rem 0 rgba(0, 0, 0, 0.25);
cursor: pointer;
transition: all 0.2s ease;
&::before {
content: "on";
inset-inline-start: -1.563rem;
}
&::after {
content: "off";
inset-inline-end: -1.813rem;
color: variables.$text-muted;
}
&::before,
&::after {
position: absolute;
font-size: 0.625rem;
font-weight: 500;
letter-spacing: 0.5px;
text-transform: uppercase;
inset-block-start: 0.188rem;
line-height: 1.38;
transition: all 0.2s ease;
}
}
&.on {
background-color: variables.$primary-03;
span {
background-color: variables.$primary;
&::before {
color: variables.$primary;
}
}
&.toggle-secondary {
background-color: rgba(var(--secondary-rgb), 0.3);
span {
background-color: variables.$secondary;
&::before {
color: variables.$secondary;
}
}
}
&.toggle-warning {
background-color: rgba(var(--warning-rgb), 0.3);
span {
background-color: variables.$warning;
&::before {
color: variables.$warning;
}
}
}
&.toggle-info {
background-color: rgba(var(--info-rgb), 0.3);
span {
background-color: variables.$info;
&::before {
color: variables.$info;
}
}
}
&.toggle-success {
background-color: rgba(var(--success-rgb), 0.3);
span {
background-color: variables.$success;
&::before {
color: variables.$success;
}
}
}
&.toggle-danger {
background-color: rgba(var(--danger-rgb), 0.3);
span {
background-color: variables.$danger;
&::before {
color: variables.$danger;
}
}
}
&.toggle-light {
background-color: rgba(var(--light-rgb), 0.3);
span {
background-color: variables.$light;
&::before,
&::after {
color: variables.$text-muted;
}
}
}
&.toggle-dark {
background-color: rgba(var(--dark-rgb), 0.3);
span {
background-color: variables.$dark;
&::before {
color: variables.$custom-white;
}
}
}
span {
inset-inline-start: 2.313rem;
}
&.toggle-sm span {
inset-inline-start: 2.313rem;
&::before {
inset-block-start: -1px;
inset-inline-start: -1.563rem;
}
}
&.toggle-lg span {
inset-inline-start: 2.563rem;
&::before {
inset-block-start: 0.5rem;
inset-inline-start: -1.75rem;
}
}
}
&.toggle-sm {
height: 1.063rem;
width: 3.125rem;
span {
width: 0.625rem;
height: 0.625rem;
&::after {
inset-inline-end: -1.875rem;
inset-block-start: -1px;
}
}
}
&.toggle-lg {
height: 2.125rem;
width: 4.5rem;
span {
width: 1.75rem;
&::after {
inset-block-start: 0.5rem;
inset-inline-end: -1.938rem;
}
}
}
}
/* End:: toggle switches-1 */
/* Start:: toggle switches-2 */
.custom-toggle-switch > input[type="checkbox"] {
display: none;
}
.custom-toggle-switch > label {
cursor: pointer;
height: 0;
position: relative;
width: 2.5rem;
}
.label-primary {
background: variables.$primary;
color: variables.$white;
}
.label-secondary {
background: variables.$secondary;
color: variables.$white;
}
.label-warning {
background: variables.$warning;
color: variables.$white;
}
.label-info {
background: variables.$info;
color: variables.$white;
}
.label-success {
background: variables.$success;
color: variables.$white;
}
.label-danger {
background: variables.$danger;
color: variables.$white;
}
.label-light {
background: variables.$light;
color: variables.$white;
}
.label-dark {
background: variables.$dark;
color: variables.$white;
}
.custom-toggle-switch > input[type="checkbox"]:checked + label::before {
background: inherit;
opacity: 0.5;
}
.custom-toggle-switch > label {
&::before {
background: variables.$text-muted;
box-shadow: inset 0px 0px 0.625rem variables.$white-5;
border-radius: 0.5rem;
content: "";
height: 1rem;
margin-block-start: -0.5rem;
position: absolute;
opacity: 0.3;
transition: all 0.4s ease-in-out;
width: 2.5rem;
}
&::after {
background: variables.$custom-white;
border-radius: 1rem;
box-shadow: 0 0 0.313rem rgba(228, 229, 237, 0.8);
content: "";
height: 1.5rem;
inset-inline-start: -0.25rem;
margin-block-start: -0.5rem;
position: absolute;
inset-block-start: -0.25rem;
transition: all 0.3s ease-in-out;
width: 1.5rem;
}
}
.custom-toggle-switch > input[type="checkbox"]:checked + label::after {
background: inherit;
inset-inline-start: 50%;
}
.custom-toggle-switch.toggle-sm > label::before {
height: 10px;
width: 27px;
border-radius: 10px;
}
.custom-toggle-switch.toggle-sm input[type="checkbox"]:checked + label::after {
inset-inline-start: 13px;
}
.custom-toggle-switch.toggle-sm > label::after {
height: 17px;
width: 17px;
border-radius: 50%;
}
.custom-toggle-switch.toggle-lg > label::before {
height: 27px;
width: 55px;
border-radius: 20px;
}
.custom-toggle-switch.toggle-lg input[type="checkbox"]:checked + label::after {
inset-inline-start: 77%;
}
.custom-toggle-switch.toggle-lg > label::after {
height: 35px;
width: 35px;
margin-block-start: -8px;
border-radius: 50%;
}
/* End:: toggle switches-2 */
/* Start:: floating labels */
.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
height: calc(3.5rem - 4px);
}
.form-floating {
&.floating-primary {
label {
color: variables.$primary !important;
opacity: 1;
}
input {
border: 1px solid variables.$primary;
}
& > .form-control:focus ~ label {
color: variables.$primary !important;
}
}
&.floating-secondary {
label {
color: variables.$secondary !important;
opacity: 1;
}
input {
border: 1px solid variables.$secondary;
}
& > .form-control:focus ~ label {
color: variables.$secondary !important;
}
}
&.floating-warning {
label {
color: variables.$warning !important;
opacity: 1;
}
input {
border: 1px solid variables.$warning;
}
& > .form-control:focus ~ label {
color: variables.$warning !important;
}
}
&.floating-info {
label {
color: variables.$info !important;
opacity: 1;
}
input {
border: 1px solid variables.$info;
}
& > .form-control:focus ~ label {
color: variables.$info !important;
}
}
&.floating-success {
label {
color: variables.$success !important;
opacity: 1;
}
input {
border: 1px solid variables.$success;
}
& > .form-control:focus ~ label {
color: variables.$success !important;
}
}
&.floating-danger {
label {
color: variables.$danger !important;
opacity: 1;
}
input {
border: 1px solid variables.$danger;
}
& > .form-control:focus ~ label {
color: variables.$danger !important;
}
}
}
.form-floating > .form-control-plaintext ~ label::after,
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.form-floating > .form-select ~ label::after {
background-color: variables.$custom-white;
border-radius: variables.$default-radius;
}
/* End:: floating labels */
/* Start:: form valildation */
.form-control.is-valid:focus,
.was-validated .form-control:valid:focus {
border-color: variables.$success;
box-shadow: none;
}
.form-control.is-valid,
.was-validated .form-control:valid {
border-color: variables.$success;
}
/* End:: form valildation */
/* Start:: color picker */
.form-control-color {
width: 1.75rem;
height: 1.75rem;
overflow: hidden;
padding: 0;
}
.example-picker {
.pcr-button {
border-radius: 0.35rem !important;
overflow: hidden;
}
}
/* End:: color picker */
/* Start:: rtl */
[dir="rtl"] {
[type="email"],
[type="number"],
[type="tel"],
[type="url"] {
direction: rtl;
}
}
/* End:: rtl */
/* Start:: form validations */
.form-select.is-invalid:not([multiple]):not([size]) {
padding-right: 1.125rem;
background-size: 16px 28px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
/* End:: form validations */
/* Start:: input group */
.invoice-quantity-container
.input-group
> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(
.valid-feedback
):not(.invalid-tooltip):not(.invalid-feedback) {
margin-left: 0;
}
.input-group.input-btn-outline {
.form-control {
&:focus {
z-index: 2;
}
}
}
/* End:: input group */
/* Start:: range slider */
input[type="range"]::-webkit-slider-runnable-track {
background-color: variables.$light;
}
/* End:: range slider */
/* Start:: form outline checkbox */
[dir="rtl"] {
.form-checked-outline:checked[type="checkbox"]:before {
inset-inline-start: 1px;
}
}
/* End:: form outline checkbox */
/* Start:: from check */
.form-check {
min-height: inherit !important;
}
/* End:: from check */
/* Start:: Col Form Label */
.col-form-label-lg,
.col-form-label-sm,
.col-form-label {
font-weight: 400;
}
/* End:: Col Form Label */
#exampleColorInput::-webkit-color-swatch-wrapper {
direction: rtl; /* Set the direction to RTL */
}
[dir="rtl"] {
input {
&[type="week"],
&[type="month"],
&[type="date"],
&[type="datetime-local"],
&[type="time"] {
text-align: end;
}
}
}
/* Start:: form wizard */
.wizard-tab {
transition: all .3s ease-in;
display: none;
.wizard-nav {
display: flex;
flex-wrap: wrap;
transition: all .3s ease-in;
margin-block-start: 60px;
padding-inline: 1.5rem;
.wizard-step {
cursor: pointer;
}
.wizard-step.nav-buttons {
cursor: default;
span {
cursor: default;
}
}
}
.wizard-nav.tabs {
.wizard-step {
position: relative;
font-size: 14px;
flex-basis: 0;
flex-grow: 1;
max-width: 100%;
text-align: center;
border-bottom: 1px solid variables.$gray-3;
padding: .5rem 1rem;
}
.wizard-step.active {
border: 1px solid variables.$gray-3;
border-top-left-radius: .25rem;
border-top-right-radius: .25rem;
border-bottom: 0px;
}
}
.wizard-nav.progress {
height: auto;
overflow: auto;
line-height: 1.5;
font-size: 1rem;
border-radius: .25rem;
.wizard-step {
position: relative;
font-size: 14px;
flex-basis: 0;
flex-grow: 1;
max-width: 100%;
text-align: center;
border: 1px solid variables.$gray-3;
background-color: variables.$success;
color: variables.$white;
padding: .5rem 1rem;
transition: all .3s ease-in;
}
.wizard-step.active~.wizard-step {
background-color: variables.$custom-white;
color: #000;
}
}
.wizard-nav.dots {
.wizard-step {
position: relative;
font-size: 14px;
flex-basis: 0;
flex-grow: 1;
max-width: 100%;
text-align: center;
transition: all .3s ease-in;
&:last-child {
&:before {
display: none;
}
&:after {
display: none;
}
}
span {
cursor: pointer;
font-weight: 500;
}
&:nth-of-type(1).dot {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .1s;
}
&:nth-of-type(2).dot {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .2s;
}
&:nth-of-type(3).dot {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .3s;
}
&:nth-of-type(4).dot {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .4s;
}
&:nth-of-type(5).dot {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .5s;
}
&:nth-of-type(6).dot {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .6s;
}
&:nth-of-type(7).dot {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .7s;
}
&:nth-of-type(8).dot {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .8s;
}
&:nth-of-type(9).dot {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .9s;
}
.dot {
content: "";
position: absolute;
top: -20px;
inset-inline-start: 50%;
z-index: 3;
height: 10px;
width: 10px;
background: variables.$primary;
border-radius: 50%;
box-shadow: 0 0 0 2px variables.$custom-white;
transition: all .5s ease-in-out;
}
&:nth-of-type(1) {
&:before {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .1s;
}
}
&:nth-of-type(2) {
&:before {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .2s;
}
}
&:nth-of-type(3) {
&:before {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .3s;
}
}
&:nth-of-type(4) {
&:before {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .4s;
}
}
&:nth-of-type(5) {
&:before {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .5s;
}
}
&:nth-of-type(6) {
&:before {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .6s;
}
}
&:nth-of-type(7) {
&:before {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .7s;
}
}
&:nth-of-type(8) {
&:before {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .8s;
}
}
&:nth-of-type(9) {
&:before {
transition-property: all;
transition-duration: .2s;
transition-timing-function: ease-in;
transition-delay: .9s;
}
}
&:before {
content: "";
position: absolute;
top: -16px;
inset-inline-start: 50%;
width: 100%;
height: 2px;
z-index: 2;
background: variables.$secondary;
}
&:after {
content: "";
position: absolute;
top: -16px;
inset-inline-start: 50%;
width: 100%;
height: 2px;
background: variables.$gray-3;
z-index: 1;
}
}
.wizard-step.active~.wizard-step {
.dot {
background: variables.$gray-3;
}
&:before {
background: variables.$gray-3;
width: 0%;
}
&:after {
background: variables.$gray-3;
}
}
.wizard-step.active {
.dot {
background-color: variables.$primary;
box-shadow: 0 0 0 3px variables.$primary-02;
}
&:before {
background: variables.$gray-3;
}
&:after {
background: variables.$gray-3;
}
}
}
.wizard-content {
transition: all .3s ease-in;
padding: 3rem;
.wizard-step {
transition: all .3s ease-in;
display: none;
}
.wizard-step.active {
display: block;
}
}
.wizard-buttons {
transition: all .3s ease-in;
display: flex;
align-items: center;
justify-content: flex-end;
.wizard-btn {
display: inline-block;
font-weight: 400;
line-height: 1.5;
text-align: center;
text-decoration: none;
vertical-align: middle;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
border: 1px solid transparent;
padding: .375rem .75rem;
border-radius: .15rem;
transition: all .3s ease-in;
margin: 0 10px;
background-color: variables.$primary;
color: variables.$white;
&:hover {
background-color: rgba(25,143,209,.8);
}
&:disabled {
cursor: not-allowed !important;
pointer-events: none;
opacity: .65;
}
}
}
}
@media (max-width: 350px) {
.wizard-tab {
.wizard-content{
padding: 1rem !important;
}
}
}
.wizard.vertical {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
transition: all .3s ease-in;
.wizard-nav {
flex-direction: column;
flex: 1;
padding: 0 3rem;
transition: all .3s linear;
.wizard-step {
&:before {
top: 7px;
inset-inline-start: -12px;
width: 2px;
height: 100%;
}
&:after {
top: 7px;
inset-inline-start: -12px;
width: 2px;
height: 100%;
}
.dot {
top: 7px;
inset-inline-start: -15px;
}
}
.wizard-step.active~.wizard-step {
&:before {
height: 0%;
}
}
}
.wizard-content {
width: 75%;
transition: all .3s ease-in;
padding: 0 0 3rem 0;
}
.wizard-buttons {
flex-basis: 100%;
transition: all .3s ease-in;
}
}
.highlight-error {
outline: 1px solid variables.$danger;
}
@media screen and (min-width: 1024px) {
.wizard.vertical {
.wizard-nav {
max-width: 250px;
}
}
}
@media screen and (max-width: 767px) {
.wizard.vertical {
.wizard-nav {
.wizard-step {
text-align: left;
padding-inline-start: 1rem;
}
}
.wizard-content {
padding: 2rem 0;
}
}
}
.wizard.wizard-tab .wizard-nav.dots .wizard-step.active~.wizard-step:before {
width: 35%;
padding: 25px;
background: transparent;
}
.wizard.wizard-tab .wizard-nav.dots .wizard-step:before {
content: "";
position: absolute;
top: -16px;
}
.wizard.wizard-tab .wizard-nav.dots .wizard-step .dot {
top: -25px;
inset-inline-start: 46%;
height: 20px;
width: 20px;
}
.wizard.wizard-tab .wizard-nav.dots .wizard-step.active~.wizard-step .dot {
background: variables.$custom-white;
border: 2px solid variables.$gray-3;
}
.wizard-btn.btn.finish {
display: none !important;
}
.wizard.wizard-tab .wizard-buttons {
border-top: 1px solid variables.$default-border;
justify-content: space-between;
padding: 1rem;
}
.wizard.wizard-tab .wizard-buttons .wizard-btn {
margin: 0px;
padding: 0.5rem 0.85rem;
min-width: 100px;
border-radius: 0.35rem;
}
.wizard.wizard-tab .wizard-buttons .wizard-btn:hover {
background-color: variables.$primary ;
}
.wizard.wizard-tab .wizard-buttons .wizard-btn:disabled {
opacity: 0;
}
.wizard-tab .wizard-buttons .wizard-btn.prev {
background-color: variables.$light;
color: variables.$default-text-color;
&:hover {
background-color: variables.$light;
}
}
#basicwizard, #progresswizard{
.first .btn.btn-light.disabled {
background-color: variables.$light;
color: variables.$default-text-color;
border-color: variables.$default-border;
&:hover {
background-color: variables.$light;
}
}
}
.payment-card-container {
position: relative;
padding: 0.625rem;
border: 1px solid var(--input-border);
border-radius: 0.3rem;
.form-check-input {
position: absolute;
inset-inline-end: 0.75rem;
inset-block-start: 1.2rem;
}
}
@media (max-width: 575.98px) {
.wizard-tab .wizard-nav {
flex-direction: column;
gap: 1.5rem;
}
.wizard.wizard-tab .wizard-nav.dots .wizard-step:before {
top: 1.5rem !important;
width: 2px !important;
height: 100%;
inset-inline-start: 2.55rem;
}
.wizard.wizard-tab .wizard-nav.dots .wizard-step:after {
top: 1.5rem !important;
width: 2px !important;
height: 100%;
inset-inline-start: 2.55rem;
}
.wizard.wizard-tab .wizard-nav.dots .wizard-step .dot {
top: 6px !important;
inset-inline-start: 2.25rem !important;
width: 12px !important;
height: 12px !important;
}
.wizard-tab .wizard-nav.dots .wizard-step {
text-align: start !important;
padding-inline-start: 4rem !important;
}
}
/* End:: form wizard */
@media (max-width: 451px) {
.telephone-input-btn {
margin-block-start: 0.5rem;
}
}
@media (min-width: 1200px) and (max-width: 1475px) {
.telephone-input-btn {
margin-block-start: 0.5rem;
}
}
@media (min-width: 1470px) {
[data-width="boxed"] .telephone-input-btn {
margin-block-start: 0.5rem;
}
}
.iti--show-selected-dial-code .iti__selected-flag {
border-radius: 0.3rem 0 0 0.3rem;
}
// [dir="rtl"] {
// .selectMode.form-control.tagify.tagify--select::after {
// left: 30px;
// }
// }