MMCT TEAM
Server IP : 103.191.208.50  /  Your IP : 216.73.216.53
Web Server : LiteSpeed
System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64
User : celkcksm ( 1031)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, popen, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/celkcksm/hrms.ncriptech.com/resources/sass/components/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/hrms.ncriptech.com/resources/sass/components/_theme_switch.scss
/* dark theming start */

.dark-theme{
  .theme-switch {
    &::before {
      background: #272B30;
    }
  }
}

/* dark theming end */

/* When Half Expand start */

.half-expand {
  .theme-switch {
    .switch-field {
      justify-content: center;

      label {
        width: 34px;
        height: 34px;
        justify-content: center;
        p {
          display: none;
        }
      }
    }
  }
}

/* When Half Expand start*/



.theme-switch {
  height: 10%;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 5px 10px;
  position: relative;

  &::before {
    content: "";
    width: 80%;
    height: 2px;
    border-radius: 10px;
    background: #fcfcfc;
    margin-right: 10px;
    position: absolute;
    top: 5px;
  }

  .switch-field {
    overflow: hidden;
    display: flex;
    align-items: center;
    background: $ot-bg-secondary;
    padding: 10px;
    border-radius: 2rem;

    input {
      display: none;
    }

    label {
      display: flex;
      align-items: center;
      gap: 8px;
      background-color: transparent;
      color: #333;
      font-size: 1em;
      font-weight: normal;
      text-align: center;
      text-shadow: none;
      padding: 0.5em 1em;
      -webkit-transition: all 0.1s ease-in-out;
      -moz-transition: all 0.1s ease-in-out;
      -ms-transition: all 0.1s ease-in-out;
      -o-transition: all 0.1s ease-in-out;
      transition: all 0.1s ease-in-out;
      border-radius: 2rem;
      cursor: pointer;
      color: $ot-text-primary;

      p {
        margin: 0;
        font-weight: 600;
      }
    }

    &:hover {
      cursor: pointer;
    }

    input:checked + label {
      background: linear-gradient(90deg, #0f6aff 0%, #21c6fb 100%);
      box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.04);
      border-radius: 50px;
      p {
        color: #fff;
      }
    }
  }
}

.dark-theme{
  .theme-switch {
    .switch-field{
      background-color: $ot-bg-primary;
    }
  }
}

MMCT - 2023