GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/self/root/home/parhudrw/anqa.it/wp-content/themes/essentials/inc/scss/components/_forms.scss
/*!
 * icheck-material v1.0.0 (https://github.com/bantikyan/icheck-material)
 * Copyright 2018 Hovhannes Bantikyan.
 * Licensed under MIT (https://github.com/bantikyan/icheck-material/blob/master/LICENSE)
 */


 //
 // Textual form controls
 //

 .form-control {
   display: block;
   width: 100%;
   height: $input-height;
   padding: $input-padding-y $input-padding-x;
   font-size: $input-font-size;
   font-weight: $input-font-weight;
   line-height: $input-line-height;
   color: $input-color;
   background-color: $input-bg;
   background-clip: padding-box;
   border: $input-border-width solid $input-border-color;

   @include form-control-rounded($input-font-size, $input-padding-y);

   // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
   @include border-radius($input-border-radius, 0);

   &:not(.shadow-0){
    @include box-shadow($input-box-shadow);
   }


   @include transition($input-transition);

   // Unstyle the caret on `<select>`s in IE10+.
   &::-ms-expand {
     background-color: transparent;
     border: 0;
   }

   // Customize the `:focus` state to imitate native WebKit styles.
   @include form-control-focus();

   // Placeholder
   &::-webkit-input-placeholder {
     color: $input-placeholder-color;
     // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.
     opacity: 1;
   }
   &::-moz-placeholder {
     color: $input-placeholder-color;
     // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.
     opacity: 1;
   }
   &:-ms-input-placeholder {
     color: $input-placeholder-color;
     // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.
     opacity: 1;
   }
   &::-ms-input-placeholder {
     color: $input-placeholder-color;
     // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.
     opacity: 1;
   }
   &::placeholder {
     color: $input-placeholder-color;
     // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.
     opacity: 1;
   }

   // Disabled and read-only inputs
   //
   // HTML5 says that controls under a fieldset > legend:first-child won't be
   // disabled if the fieldset is disabled. Due to implementation difficulty, we
   // don't honor that edge case; we style them as disabled anyway.
   &:disabled,
   &[readonly] {
     background-color: $input-disabled-bg;
     // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.
     opacity: 1;
   }
 }

 select.form-control {
     text-indent: 12px;
   &:focus::-ms-value {
     // Suppress the nested default white text on blue background highlight given to
     // the selected option text when the (still closed) <select> receives focus
     // in IE and (under certain conditions) Edge, as it looks bad and cannot be made to
     // match the appearance of the native widget.
     // See https://github.com/twbs/bootstrap/issues/19398.
     color: $input-color;
     background-color: $input-bg;
   }
 }

 // Make file inputs better match text inputs by forcing them to new lines.
 .form-control-file,
 .form-control-range {
   display: block;
   width: 100%;
 }



 //
 // Labels
 //

 // For use with horizontal and inline forms, when you need the label (or legend)
 // text to align with the form controls.
 .col-form-label {
   padding-top: calc(#{$input-padding-y} + #{$input-border-width});
   padding-bottom: calc(#{$input-padding-y} + #{$input-border-width});
   margin-bottom: 0; // Override the `<label>/<legend>` default
   font-size: inherit; // Override the `<legend>` default
   line-height: $input-line-height;
 }

 .col-form-label-xl {
   padding-top: calc(#{$input-padding-y-xl} + #{$input-border-width});
   padding-bottom: calc(#{$input-padding-y-xl} + #{$input-border-width});
   font-size: $input-font-size-xl;
   line-height: $input-line-height-xl;
 }

 .col-form-label-lg {
   padding-top: calc(#{$input-padding-y-lg} + #{$input-border-width});
   padding-bottom: calc(#{$input-padding-y-lg} + #{$input-border-width});
   font-size: $input-font-size-lg;
   line-height: $input-line-height-lg;
 }

 .col-form-label-md {
   padding-top: calc(#{$input-padding-y-md} + #{$input-border-width});
   padding-bottom: calc(#{$input-padding-y-md} + #{$input-border-width});
   font-size: $input-font-size-md;
   line-height: $input-line-height-md;
 }

 .col-form-label-sm {
   padding-top: calc(#{$input-padding-y-sm} + #{$input-border-width});
   padding-bottom: calc(#{$input-padding-y-sm} + #{$input-border-width});
   font-size: $input-font-size-sm;
   line-height: $input-line-height-sm;
 }


 // Readonly controls as plain text
 //
 // Apply class to a readonly input to make it appear like regular plain
 // text (without any border, background color, focus indicator)

 .form-control-plaintext {
   display: block;
   width: 100%;
   padding-top: $input-padding-y;
   padding-bottom: $input-padding-y;
   margin-bottom: 0; // match inputs if this class comes on inputs with default margins
   line-height: $input-line-height;
   color: $input-plaintext-color;
   background-color: transparent;
   border: solid transparent;
   border-width: $input-border-width 0;

   &.form-control-sm,
   &.form-control-md,
   &.form-control-lg,
   &.form-control-xl {
     padding-right: 0;
     padding-left: 0;
   }
 }


 // Form control sizing
 //
 // Build on `.form-control` with modifier classes to decrease or increase the
 // height and font-size of form controls.
 //
 // Repeated in `_input_group.scss` to avoid Sass extend issues.

 .form-control-sm {
   height: $input-height-sm;
   padding: $input-padding-y-sm $input-padding-x-sm;
   font-size: $input-font-size-sm;
   line-height: $input-line-height-sm;
   @include form-control-rounded($input-font-size-sm, $input-padding-y-sm);
   @include border-radius($input-border-radius-sm);
 }

 .form-control-md {
   height: $input-height-md ;
   font-size: $input-font-size-md;
   line-height: $input-line-height-md;
   @include form-control-rounded($input-font-size-md, $input-padding-y-md);
   @include border-radius($input-border-radius-md);
 }

 .form-control-lg {
   height: $input-height-lg ;
   font-size: $input-font-size-lg;
   line-height: $input-line-height-lg;
   @include form-control-rounded($input-font-size-lg, $input-padding-y-lg);
   @include border-radius($input-border-radius-lg);
 }

 .form-control-xl {
   height: $input-height-xl;
   font-size: $input-font-size-xl;
   line-height: $input-line-height-xl;
   @include form-control-rounded($input-font-size-xl, $input-padding-y-xl);
   @include border-radius($input-border-radius-xl);
 }

 // stylelint-disable-next-line no-duplicate-selectors
 select.form-control {
   &[size],
   &[multiple] {
     height: auto;
   }
 }

 // stylelint-disable-next-line no-duplicate-selectors
 textarea.form-control {
   height: auto;
   min-height: 45px;
 }

 // Form groups
 //
 // Designed to help with the organization and spacing of vertical forms. For
 // horizontal forms, use the predefined grid classes.

 .form-group {
   margin-bottom: $form-group-margin-bottom;
 }

 .form-text {
   display: block;
   margin-top: $form-text-margin-top;
 }


 // Form grid
 //
 // Special replacement for our grid system's `.row` for tighter form layouts.

 .form-row {
   display: -webkit-box;
   display: flex;
   flex-wrap: wrap;
   margin-right: -$form-grid-gutter-width / 2;
   margin-left: -$form-grid-gutter-width / 2;

   > .col,
   > [class*="col-"] {
     padding-right: $form-grid-gutter-width / 2;
     padding-left: $form-grid-gutter-width / 2;
   }
 }


 // Checkboxes and radios
 //
 // Indent the labels to position radios/checkboxes as hanging controls.

 .form-check {
   position: relative;
   display: block;
   padding-left: $form-check-input-gutter;
 }

 .form-check-input {
   position: absolute;
   margin-top: $form-check-input-margin-y;
   margin-left: -$form-check-input-gutter;

   &:disabled ~ .form-check-label {
     color: $text-muted;
   }
 }

 .form-check-label {
   margin-bottom: 0; // Override default `<label>` bottom margin
 }

 .form-check-inline {
   display: -webkit-inline-box;
   display: inline-flex;
   -webkit-box-align: center;
           align-items: center;
   padding-left: 0; // Override base .form-check
   margin-right: $form-check-inline-margin-x;

   // Undo .form-check-input defaults and add some `margin-right`.
   .form-check-input {
     position: static;
     margin-top: 0;
     margin-right: $form-check-inline-input-margin-x;
     margin-left: 0;
   }
 }


 // Form validation
 //
 // Provide feedback to users when form field values are valid or invalid. Works
 // primarily for client-side validation via scoped `:invalid` and `:valid`
 // pseudo-classes but also includes `.is-invalid` and `.is-valid` classes for
 // server side validation.

 @include form-validation-state("valid", $form-feedback-valid-color);
 @include form-validation-state("invalid", $form-feedback-invalid-color);

 // Inline forms
 //
 // Make forms appear inline(-block) by adding the `.form-inline` class. Inline
 // forms begin stacked on extra small (mobile) devices and then go inline when
 // viewports reach <768px.
 //
 // Requires wrapping inputs and labels with `.form-group` for proper display of
 // default HTML form controls and our custom form controls (e.g., input groups).

 .form-inline {
   display: -webkit-box;
   display: flex;
   -webkit-box-orient: horizontal;
   -webkit-box-direction: normal;
           flex-flow: row wrap;
   -webkit-box-align: center;
           align-items: center; // Prevent shorter elements from growing to same height as others (e.g., small buttons growing to normal sized button height)

   // Because we use flex, the initial sizing of checkboxes is collapsed and
   // doesn't occupy the full-width (which is what we want for xs grid tier),
   // so we force that here.
   .form-check {
     width: 100%;
   }

   // Kick in the inline
   @include media-breakpoint-up(sm) {
     label {
       display: -webkit-box;
       display: flex;
       -webkit-box-align: center;
               align-items: center;
       -webkit-box-pack: center;
               justify-content: center;
       margin-bottom: 0;
     }

     // Inline-block all the things for "inline"
     .form-group {
       display: -webkit-box;
       display: flex;
       -webkit-box-flex: 0;
               flex: 0 0 auto;
       -webkit-box-orient: horizontal;
       -webkit-box-direction: normal;
               flex-flow: row wrap;
       -webkit-box-align: center;
               align-items: center;
       margin-bottom: 0;
     }

     // Allow folks to *not* use `.form-group`
     .form-control {
       display: inline-block;
       width: auto; // Prevent labels from stacking above inputs in `.form-group`
       vertical-align: middle;
     }

     // Make static controls behave like regular ones
     .form-control-plaintext {
       display: inline-block;
     }

     .input-group,
     .custom-select {
       width: auto;
     }

     // Remove default margin on radios/checkboxes that were used for stacking, and
     // then undo the floating of radios and checkboxes to match.
     .form-check {
       display: -webkit-box;
       display: flex;
       -webkit-box-align: center;
               align-items: center;
       -webkit-box-pack: center;
               justify-content: center;
       width: auto;
       padding-left: 0;
     }
     .form-check-input {
       position: relative;
       flex-shrink: 0;
       margin-top: 0;
       margin-right: $form-check-input-margin-x;
       margin-left: 0;
     }

     .custom-control {
       -webkit-box-align: center;
               align-items: center;
       -webkit-box-pack: center;
               justify-content: center;
     }
     .custom-control-label {
       margin-bottom: 0;
     }
   }
 }











[class*="form-check"] {
    // min-height: 16px;
    // margin-top: 6px !important;
    // margin-bottom: 6px !important;
    padding-left: 0px;

    > label {
        padding-left: 29px !important;
        display: inline-block;
        position: relative;
        vertical-align: middle;
        margin-bottom: 0;
        cursor: pointer;
    }

    > input:first-child {
        position: absolute !important;
        opacity: 0;
        margin: 0;
        margin-top: 6px;
        background-color: #787878;
        border-radius: 50%;
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        -ms-appearance: none;
        display: block;
        width: 18px;
        height: 18px;
        outline: none;
        -webkit-transform: scale(2);
                transform: scale(2);
        -ms-transform: scale(2);
        -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
        transition: opacity 0.5s, -webkit-transform 0.5s;
        transition: opacity 0.5s, transform 0.5s;
        transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;

        &:disabled {
            cursor: default;

            + label,
            + input[type="hidden"] + label,
            + label::before,
            + input[type="hidden"] + label::before {
                pointer-events: none;
                cursor: default;
                filter: alpha(opacity=65);
                box-shadow: none;
                opacity: .65;
            }
        }

        + label::before,
        + input[type="hidden"] + label::before {
            content: "";
            display: inline-block;
            position: absolute;
            width: 18px;
            height: 18px;
            border: 2px solid #787878;
            border-radius: 3px;
            margin-left: -29px;
            margin-top: 6px;
            box-sizing: border-box;
        }

        &:checked {
            + label::after,
            + input[type="hidden"] + label::after {
                content: "";
                display: inline-block;
                position: absolute;
                top: 0;
                left: 0;
                width: 7px;
                height: 10px;
                border: solid 2px #fff;
                border-left: none;
                border-top: none;
                margin-top: 6px;
                -webkit-transform: translate(7.75px, 4.5px) rotate(45deg);
                        transform: translate(7.75px, 4.5px) rotate(45deg);
                -ms-transform: translate(7.75px, 4.5px) rotate(45deg);
                box-sizing: border-box;
            }
        }

        &:not(:checked):not(:disabled):hover {
            + label::before,
            + input[type="hidden"] + label::before {
                border-width: 2px;
            }
        }

        &::-ms-check {
            opacity: 0;
            border-radius: 50%;
        }

        &:active {
            -webkit-transform: scale(0);
                    transform: scale(0);
            -ms-transform: scale(0);
            opacity: 1;
            -webkit-transition: opacity 0s, -webkit-transform 0s;
            transition: opacity 0s, -webkit-transform 0s;
            transition: opacity 0s, transform 0s;
            transition: opacity 0s, transform 0s, -webkit-transform 0s;
        }
    }

    > input[type="radio"]:first-child {
        + label::before,
        + input[type="hidden"] + label::before {
            border-radius: 50%;
        }

        &:checked {
            + label::before,
            + input[type="hidden"] + label::before {
                background-color: transparent;
            }

            + label::after,
            + input[type="hidden"] + label::after {
                content: "";
                position: absolute;
                width: 8px;
                height: 8px;
                border-radius: 50%;
                border: none;
                top: 5px;
                left: 5px;
                -webkit-transform: none;
                        transform: none;
                -ms-transform: none;
            }
        }
    }

    > input[type="checkbox"]:first-child {
        &:checked {
            + label::after,
            + input[type="hidden"] + label::after {
                width: 5px;
                height: 12px;
                -webkit-transform: translate(7px, 2px) rotate(45deg);
                        transform: translate(7px, 2px) rotate(45deg);
                -ms-transform: translate(7px, 2px) rotate(45deg);
            }
        }
    }
}

.form-check-inline {
    display: inline-block;
    margin-left: .75rem;
    margin-top: 6px;
}


$check-border-color: green;
$check-background-color: black;
$radio-checkmark-color: red;
$checkbox-checkmark-color: yellow;
$check-effect-color: #333;

.form-check {
     @include theme($primary);
    // @include theme-advanced(#1B83F8);
}



.pix-select {
    .dropdown-menu {
        margin-top: 10px;
        box-shadow: $box-shadow-lg !important;
        outline: none !important;
        -webkit-transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        .text {
            font-weight: $font-weight-bold;
            font-size: 14px;
        }
        li a {
            border-radius: 0px;
            &:not(.selected){
                color: $body-color !important;
            }
            &:focus {
                outline: none !important;
            }
            &:active {
                span {
                    color: $white !important;
                }
                background: darken($primary, 10%) !important;
            }
            &.selected {
                color: $white !important;
            }
        }
    }
}