_misc.scss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. // Blur effect
  2. .blur {
  3. box-shadow: $blur-box-shadow;
  4. -webkit-backdrop-filter: $blur-backdrop-filter;
  5. backdrop-filter: $blur-backdrop-filter;
  6. background-color: $card-background-blur !important;
  7. &.saturation-less {
  8. -webkit-backdrop-filter: $blur-backdrop-filter-less;
  9. backdrop-filter: $blur-backdrop-filter-less;
  10. }
  11. &.blur-rounded {
  12. border-radius: $blur-border-radius-rounded;
  13. }
  14. &.blur-light {
  15. background-color: $blur-light-background;
  16. }
  17. &.blur-dark {
  18. background-color: $blur-dark-background;
  19. }
  20. }
  21. .shadow-blur {
  22. box-shadow: $shadow-blur-box-shadow !important;
  23. }
  24. .shadow-card {
  25. box-shadow: $card-box-shadow !important;
  26. }
  27. .navbar-blur {
  28. -webkit-backdrop-filter: $blur-backdrop-filter;
  29. backdrop-filter: $blur-backdrop-filter;
  30. background-color: rgba($white, .58) !important;
  31. }
  32. .blur-section {
  33. -webkit-backdrop-filter: $blur-backdrop-filter;
  34. backdrop-filter: $blur-backdrop-filter;
  35. &.blur-gradient-primary {
  36. @include gradient-directional(rgba($primary-gradient, .95) 0%, rgba($primary-gradient-state, .95) 100%, $deg: 310deg);
  37. }
  38. }
  39. // Transition on hover
  40. * {
  41. &.move-on-hover {
  42. -webkit-transition: $move-transition;
  43. transition: $move-transition;
  44. overflow: $move-overflow;
  45. -webkit-transform-origin: $move-transform-origin;
  46. transform-origin: $move-transform-origin;
  47. transform-origin: $move-transform-origin;
  48. -webkit-transform: $move-transform;
  49. transform: $move-transform;
  50. -webkit-backface-visibility: $move-backface-visibility;
  51. backface-visibility: $move-backface-visibility;
  52. will-change: $move-will-change;
  53. &:hover {
  54. -webkit-transform: $move-hover-transform;
  55. transform: $move-hover-transform;
  56. }
  57. }
  58. &.gradient-animation {
  59. background: $gradient-animation-background;
  60. background-size: $gradient-animation-bg-size !important;
  61. animation: $device-wrapper-animation;
  62. }
  63. }
  64. // hr lines
  65. hr {
  66. border-top: none !important;
  67. height: 1px;
  68. }
  69. // Vertical Line
  70. hr.vertical {
  71. position: absolute;
  72. background-color: $hr-bg-color;
  73. height: 100%;
  74. right: 0;
  75. top: 0;
  76. width: 1px;
  77. &.light {
  78. background-image: $hr-vertical-bg-image-light;
  79. }
  80. &.dark {
  81. background-image: $hr-vertical-bg-image-dark;
  82. }
  83. &.gray-light {
  84. background-image: $hr-horizontal-bg-image-gray-light;
  85. }
  86. }
  87. // Horizontal Line
  88. hr.horizontal {
  89. background-color: $hr-bg-color;
  90. &.light {
  91. background-image: $hr-horizontal-bg-image-light;
  92. }
  93. &.dark {
  94. background-image: $hr-horizontal-bg-image-dark;
  95. }
  96. &.gray-light {
  97. background-image: $hr-horizontal-bg-image-gray-light;
  98. }
  99. }
  100. // lock style
  101. .lock-size {
  102. width: 1.7rem;
  103. height: 1.7rem;
  104. }
  105. .border-radius-xs {
  106. border-radius: $border-radius-xs;
  107. }
  108. .border-radius-sm {
  109. border-radius: $border-radius-sm;
  110. }
  111. .border-radius-md {
  112. border-radius: $border-radius-md;
  113. }
  114. .border-radius-lg {
  115. border-radius: $border-radius-lg;
  116. }
  117. .border-radius-xl {
  118. border-radius: $border-radius-xl;
  119. }
  120. .border-radius-2xl {
  121. border-radius: $border-radius-2xl;
  122. }
  123. .border-radius-section {
  124. border-radius: $border-radius-section;
  125. }
  126. .border-bottom-end-radius-0 {
  127. border-bottom-right-radius: 0;
  128. }
  129. .border-top-end-radius-0 {
  130. border-top-right-radius: 0;
  131. }
  132. .border-bottom-start-radius-0 {
  133. border-bottom-left-radius: 0;
  134. }
  135. .border-top-start-radius-0 {
  136. border-top-left-radius: 0;
  137. }
  138. .border-dashed{
  139. border-style: dashed;
  140. }
  141. .z-index-sticky {
  142. z-index: $zindex-sticky;
  143. }
  144. // moving waves animation
  145. .waves {
  146. position: $waves-position;
  147. width: $waves-width;
  148. height: $waves-height;
  149. margin-bottom: $waves-margin-bottom;
  150. /*Fix for safari gap*/
  151. min-height: $waves-min-height;
  152. max-height: $waves-max-height;
  153. &.waves-sm {
  154. height: $waves-height-sm;
  155. min-height: $waves-min-height-sm;
  156. }
  157. &.no-animation {
  158. .moving-waves > use {
  159. animation: none;
  160. }
  161. }
  162. }
  163. .wave-rotate {
  164. transform: $waves-rotate;
  165. }
  166. /* Animation for the waves */
  167. .moving-waves > use {
  168. animation: $moving-waves-animation;
  169. }
  170. .moving-waves > use:nth-child(1) {
  171. animation-delay: $moving-waves-child-1-delay;
  172. animation-duration: $moving-waves-child-1-duration;
  173. }
  174. .moving-waves > use:nth-child(2) {
  175. animation-delay: $moving-waves-child-2-delay;
  176. animation-duration: $moving-waves-child-2-duration;
  177. }
  178. .moving-waves > use:nth-child(3) {
  179. animation-delay: $moving-waves-child-3-delay;
  180. animation-duration: $moving-waves-child-3-duration;
  181. }
  182. .moving-waves > use:nth-child(4) {
  183. animation-delay: $moving-waves-child-4-delay;
  184. animation-duration: $moving-waves-child-4-duration;
  185. }
  186. .moving-waves > use:nth-child(5) {
  187. animation-delay: $moving-waves-child-5-delay;
  188. animation-duration: $moving-waves-child-5-duration;
  189. }
  190. .moving-waves > use:nth-child(6) {
  191. animation-delay: $moving-waves-child-6-delay;
  192. animation-duration: $moving-waves-child-6-duration;
  193. }
  194. @keyframes move-forever {
  195. 0% {
  196. transform: $moving-waves-keyframe-0;
  197. }
  198. 100% {
  199. transform: $moving-waves-keyframe-100;
  200. }
  201. }
  202. /*Shrinking for mobile*/
  203. @include media-breakpoint-down(md) {
  204. .waves {
  205. height: $waves-mobile-height;
  206. min-height: $waves-mobile-height;
  207. }
  208. hr.horizontal {
  209. background-color: $hr-bg;
  210. &:not(.dark) {
  211. background-image: $hr-bg-image;
  212. }
  213. &.vertical {
  214. transform: $hr-transform;
  215. }
  216. &.dark {
  217. background-image: $hr-bg-dark-image;
  218. }
  219. }
  220. }
  221. .overflow-visible {
  222. overflow: visible !important;
  223. }
  224. // popover title
  225. .popover {
  226. .popover-header {
  227. font-weight: 600;
  228. }
  229. }
  230. // Background Sizes
  231. .bg-cover{
  232. background-size: cover;
  233. }
  234. // Overflow directional
  235. .overflow-x-hidden {
  236. overflow-x: hidden;
  237. }
  238. .overflow-y-hidden {
  239. overflow-y: hidden;
  240. }
  241. .overflow-x-scroll {
  242. overflow-x: scroll;
  243. }
  244. .overflow-y-scroll {
  245. overflow-y: scroll;
  246. }
  247. // Mask Class
  248. .mask {
  249. position: $mask-position;
  250. background-size: $mask-bg-size;
  251. background-position: $mask-bg-position;
  252. top: $mask-top;
  253. left: $mask-left;
  254. width: $mask-width;
  255. height: $mask-height;
  256. opacity: $mask-opacity;
  257. }
  258. // Cursor Pointer Class
  259. .cursor-pointer {
  260. cursor: pointer;
  261. }
  262. // Translate 50% Class
  263. .transform-translate-50{
  264. transform: translate(0,-50%)
  265. }
  266. // VR Pages
  267. @include media-breakpoint-up(lg) {
  268. .virtual-reality {
  269. .sidenav {
  270. margin-top: $spacer * 1.5;
  271. animation-name: $animation-name;
  272. animation-fill-mode: $animation-mode;
  273. animation-duration: $animation-duration;
  274. transform: $transform-scale;
  275. background: $white;
  276. left: $position-left !important;
  277. position: absolute;
  278. }
  279. }
  280. }
  281. // border inside iframe sections
  282. html {
  283. border: none !important;
  284. }
  285. .container,
  286. .container-fluid {
  287. @include make-container();
  288. }