customizer.scss 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*=========================================================================================
  2. File Name: customizer.scss
  3. Description: CSS used for demo purpose only. Remove this css from your project.
  4. ----------------------------------------------------------------------------------------
  5. Item Name: Vuexy - Vuejs, React, Angular, HTML & Laravel Admin Dashboard Template
  6. Author: PIXINVENT
  7. Author URL: http://www.themeforest.net/user/pixinvent
  8. ==========================================================================================*/
  9. .customizer {
  10. width: 400px;
  11. right: -400px;
  12. padding: 0;
  13. background-color: $white;
  14. z-index: 1051;
  15. position: fixed;
  16. top: 0;
  17. bottom: 0;
  18. height: 100vh;
  19. height: calc(var(--vh, 1vh) * 100);
  20. transition: right 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99);
  21. backface-visibility: hidden;
  22. border-left: 1px solid rgba($black, 0.05);
  23. &.open {
  24. box-shadow: 0 15px 30px 0 rgba($black, 0.11), 0 5px 15px 0 rgba($black, 0.08);
  25. right: 0;
  26. }
  27. // customizer content height
  28. .customizer-content {
  29. position: relative;
  30. height: 100%;
  31. }
  32. //customizer close button
  33. .customizer-close {
  34. position: absolute;
  35. right: 0.6rem;
  36. top: 0.6rem;
  37. padding: 7px;
  38. width: auto;
  39. z-index: 10;
  40. color: $headings-color;
  41. i,
  42. svg {
  43. font-size: 1.5rem;
  44. height: 1.5rem;
  45. width: 1.5rem;
  46. }
  47. }
  48. // customizer toggle icon
  49. .customizer-toggle {
  50. background: $primary;
  51. color: $white !important;
  52. display: block;
  53. box-shadow: -3px 0px 8px rgba($black, 0.1);
  54. border-top-left-radius: 6px;
  55. border-bottom-left-radius: 6px;
  56. position: absolute;
  57. top: 50%;
  58. width: 38px;
  59. height: 38px;
  60. left: -39px;
  61. text-align: center;
  62. line-height: 40px;
  63. cursor: pointer;
  64. }
  65. // theme color box styles
  66. .color-box {
  67. height: 24px;
  68. width: 24px;
  69. margin: 0.5rem;
  70. border-radius: 0.5rem;
  71. cursor: pointer;
  72. position: relative;
  73. &.selected {
  74. &:after {
  75. content: '';
  76. border: 1px solid $primary;
  77. height: 30px;
  78. width: 30px;
  79. top: -3px;
  80. left: -3px;
  81. position: absolute;
  82. border-radius: 0.5rem;
  83. }
  84. &.border {
  85. &:after {
  86. top: -4px;
  87. left: -4px;
  88. }
  89. }
  90. }
  91. }
  92. }