_common.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. body {
  2. background-color: $body-color;
  3. overflow-x: hidden;
  4. }
  5. ::selection {
  6. background-color:darken($color: $primary-color, $amount: 10);
  7. color: $white;
  8. }
  9. body::-webkit-scrollbar {
  10. width: .5rem;
  11. }
  12. body::-webkit-scrollbar-track {
  13. box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  14. }
  15. body::-webkit-scrollbar-thumb {
  16. background-color: $primary-color;
  17. outline: 2px solid #fff;
  18. }
  19. /* preloader */
  20. .preloader {
  21. position: fixed;
  22. top: 0;
  23. left: 0;
  24. right: 0;
  25. bottom: 0;
  26. background-color: #fff;
  27. z-index: 9999;
  28. display: flex;
  29. align-items: center;
  30. justify-content: center;
  31. }
  32. ol,
  33. ul {
  34. margin: 0px;
  35. }
  36. img {
  37. vertical-align: middle;
  38. border: 0;
  39. }
  40. a,
  41. a:hover,
  42. a:focus {
  43. text-decoration: none;
  44. }
  45. a,
  46. button,
  47. select {
  48. cursor: pointer;
  49. transition: .2s ease;
  50. &:focus {
  51. outline: 0;
  52. }
  53. }
  54. a:hover {
  55. color: $primary-color;
  56. }
  57. .slick-slide {
  58. outline: 0;
  59. }
  60. .section {
  61. padding-top: 70px;
  62. padding-bottom: 70px;
  63. &-title {
  64. margin-bottom: 30px;
  65. }
  66. }
  67. .bg-cover {
  68. background-size: cover;
  69. background-position: center center;
  70. background-repeat: no-repeat;
  71. }
  72. .border-default {
  73. border-color: $border-color !important;
  74. }
  75. /* overlay */
  76. .overlay {
  77. position: relative;
  78. &::before {
  79. position: absolute;
  80. content: '';
  81. height: 100%;
  82. width: 100%;
  83. top: 0;
  84. left: 0;
  85. background-color: $black;
  86. opacity: .5;
  87. }
  88. }
  89. .bg-primary {
  90. background-color: $primary-color !important;
  91. }
  92. .bg-light {
  93. background-color: $light !important;
  94. }
  95. .text-primary {
  96. color: $primary-color !important;
  97. }
  98. .rounded-lg{
  99. border-radius: 10px !important;
  100. }
  101. .shadow{
  102. box-shadow: 0 12px 24px -6px rgba(45,67,121,.10) !important;
  103. }
  104. // form control
  105. .form-control {
  106. &:focus {
  107. outline: 0;
  108. border-color: $primary-color;
  109. box-shadow: none;
  110. }
  111. &::placeholder {
  112. color: $text-color;
  113. }
  114. }
  115. textarea.form-control {
  116. height: 100px !important;
  117. }
  118. .list-unstyled{
  119. li{
  120. margin-bottom: 10px;
  121. }
  122. }
  123. .check-mark{
  124. position: relative;
  125. padding-left: 0px;
  126. &::before{
  127. position: absolute;
  128. content: "\e64c";
  129. font-family: $icon-font;
  130. color: $white;
  131. height: 25px;
  132. width: 25px;
  133. line-height: 25px;
  134. background-color: $primary-color;
  135. border-radius: 50%;
  136. font-size: 15px;
  137. text-align: center;
  138. left: -30px;
  139. top: 3px;
  140. }
  141. }
  142. .shadow_action {
  143. box-shadow: 10px 12px 24px 0px rgba(45,67,121,.10);
  144. }