_switcher.scss 3.45 KB
Newer Older
Ooh-Ao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
/* Start switcher Styles */
#hs-overlay-switcher {
  @apply sm:w-96 w-80 z-[1000000000];

  .ti-offcanvas-header {
    @apply bg-white dark:bg-bgdark;
  }

  .ti-offcanvas-body {
    @apply bg-white dark:bg-bgdark;
  }
  .ti-offcanvas-footer {
    @apply flex justify-between py-3 px-4 absolute bottom-0 bg-white dark:bg-bgdark border-t dark:border-white/10 shadow-lg w-full;
  }

  .switcher-style-head {
    @apply text-sm font-medium mb-0 bg-primary/10 text-primary px-3 py-2 leading-none;
  }

  #switcher-body {
    @apply h-screen px-0 pb-56;

    label {
      @apply font-medium;
    }
  }

  .switcher-style {
    @apply px-6;
  }

  .theme-colors {
    @apply space-y-6;

    .switch-select {
      .ti-form-radio[type="radio"]:checked {
        // @apply shadow-[0_0px_1px_5px_rgba(255,255,255,0.8)];
        @apply border-4 border-gray-200 dark:border-white/10 p-2 bg-none;
      }

      .color-input {
        @apply w-8 h-8 rounded-md border border-gray-200 dark:border-white/10;

        &.color-white.ti-form-radio[type="radio"]:checked {
          @apply shadow-md;
        }

        &.color-white {
          @apply bg-white;
        }

        &.color-dark {
          @apply bg-black;
        }

        &.color-primary {
          @apply bg-primary;
        }

        &.color-gradient {
          @apply bg-gradient-to-r from-primary to-secondary;
        }

        &.color-transparent {
          @apply bg-[url('../img/menu-bg-images/transparent.png')] bg-cover;
        }

        &.color-primary {
          @apply bg-primary;
        }

        &.color-primary-1 {
          @apply bg-[#3a5892];
        }

        &.color-primary-2 {
          @apply bg-[#5c90a3];
        }

        &.color-primary-3 {
          @apply bg-[#acac50];
        }

        &.color-primary-4 {
          @apply bg-[#a55e83];
        }

        &.color-primary-5 {
          @apply bg-[#574475];
        }

        &.color-bg-1 {
          @apply bg-[#323e5d];
        }

        &.color-bg-2 {
          @apply bg-[#515d32];
        }

        &.color-bg-3 {
          @apply bg-[#4f325d];
        }

        &.color-bg-4 {
          @apply bg-[#32575d];
        }

        &.color-bg-5 {
          @apply bg-[#5d3232];
        }
      }

      &.form-check {
        @apply mb-0 min-h-0;
      }
    }

    .theme-container-primary button,
    .theme-container-background button {
      @apply hidden;
    }

    .pickr-container-primary .pickr .pcr-button::after,
    .pickr-container-background .pickr .pcr-button::after {
      @apply content-["\efc3"] font-['remixicon'] text-white/70 leading-loose #{!important};
    }
  }

  .menu-image {
    .bgimage-input {
      @apply w-12 h-20 rounded-md border-0 bg-center bg-cover bg-no-repeat;

      &.form-check-input:focus {
        @apply border-transparent shadow-md;
      }

      &.form-check-input:checked[type="radio"] {
        background-color: none;
      }

      &.bg-img1 {
        @apply bg-[url('../img/menu-bg-images/bg-img1.jpg')] #{!important};
      }

      &.bg-img2 {
        @apply bg-[url('../img/menu-bg-images/bg-img2.jpg')] #{!important};
      }

      &.bg-img3 {
        @apply bg-[url('../img/menu-bg-images/bg-img3.jpg')] #{!important};
      }

      &.bg-img4 {
        @apply bg-[url('../img/menu-bg-images/bg-img4.jpg')] #{!important};
      }

      &.bg-img5 {
        @apply bg-[url('../img/menu-bg-images/bg-img5.jpg')] #{!important};
      }
    }
  }

  .ti-offcanvas-body {
    @apply h-auto;
  }
}

/* End switcher Styles */