_variables.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. // Variables
  2. // Fonts
  3. $roboto-font-path: "../font/roboto/" !default;
  4. $roboto-font-family: "Roboto", sans-serif !default;
  5. $font-size-large: 1.5rem !default;
  6. $font-bold: 500 !default;
  7. $font-small: .9rem !default;
  8. $line-height-small: 1 !default;
  9. $line-height-extra-large: 2.5 !default;
  10. // Reponsive Headings
  11. $responsive-headings: () !default;
  12. $responsive-headings: map-merge((
  13. "xs": (
  14. "h1": 150%,
  15. "h2": 145%,
  16. "h3": 135%,
  17. "h4": 135%,
  18. "h5": 135%
  19. ),
  20. "sm": (
  21. "h1": 170%,
  22. "h2": 140%,
  23. "h3": 125%,
  24. "h4": 125%,
  25. "h5": 125%
  26. ),
  27. "md": (
  28. "h1": 200%,
  29. "h2": 170%,
  30. "h3": 140%,
  31. "h4": 125%,
  32. "h5": 125%
  33. ),
  34. "lg": (
  35. "h1": 200%,
  36. "h2": 170%,
  37. "h3": 140%,
  38. "h4": 125%,
  39. "h5": 125%
  40. ),
  41. "xl": (
  42. "h1": 250%,
  43. "h2": 200%,
  44. "h3": 170%,
  45. "h4": 140%,
  46. "h5": 125%
  47. ),
  48. ), $responsive-headings);
  49. //Custom map for file browser
  50. $custom-mdb-file-text: (
  51. es: "Elegir",
  52. pl-PL: "Wybierz",
  53. fr : "Choisir",
  54. in: "Pilih",
  55. zh: "選擇",
  56. de: "Wählen",
  57. ru: "выбирать"
  58. );
  59. // Blockquote
  60. $blockquote-padding-y: .5rem !default;
  61. $blockquote-padding-x: 1rem !default;
  62. $blockquote-p-padding-y: $blockquote-padding-x !default;
  63. $blockquote-p-padding-l: 2rem !default;
  64. $blockquote-p-font-size: 1.1rem !default;
  65. // Shadows
  66. $z-depth-1: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !default;
  67. $z-depth-1-half: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15) !default;
  68. $z-depth-2: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !default;
  69. $z-depth-3: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19) !default;
  70. $z-depth-4: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21) !default;
  71. $z-depth-5: 0 27px 24px 0 rgba(0, 0, 0, 0.2), 0 40px 77px 0 rgba(0, 0, 0, 0.22) !default;
  72. // Transitions
  73. $transition-basic: all .2s ease-in-out !default;
  74. $transition-hoverable: all .55s ease-in-out !default;
  75. // Border radius
  76. $border-radius-base: .125rem !default;
  77. $border-radius-circle: 50% !default;
  78. // Buttons
  79. $btn-color-basic: $white-base !default;
  80. $btn-margin-basic: .375rem !default;
  81. $btn-padding-y-basic: .84rem !default;
  82. $btn-padding-x-basic: 2.14rem !default;
  83. $btn-font-size-basic: .81rem !default;
  84. $btn-padding-y-large: 1rem !default;
  85. $btn-padding-x-large: 2.4rem !default;
  86. $btn-font-size-large: .94rem !default;
  87. $btn-padding-y-medium: .7rem !default;
  88. $btn-padding-x-medium: 1.6rem !default;
  89. $btn-font-size-medium: .7rem !default;
  90. $btn-padding-y-small: .5rem !default;
  91. $btn-padding-x-small: 1.6rem !default;
  92. $btn-font-size-small: .64rem !default;
  93. $btn-outline-padding-y-basic: .7rem !default;
  94. $btn-outline-padding-y-large: .88rem !default;
  95. $btn-outline-padding-y-medium: .58rem !default;
  96. $btn-outline-padding-y-small: .38rem !default;
  97. $btn-tb-padding-y: 0.3rem !default;
  98. $btn-tb-padding-x: 1rem !default;
  99. $btn-transition: $transition-basic !default;
  100. $btn-icon-basic: .9rem !default;
  101. $btn-icon-large: 1rem !default;
  102. $btn-icon-medium: .8rem !default;
  103. $btn-icon-small: .7rem !default;
  104. $btn-icon-margin: .3rem !default;
  105. /*** Global ***/
  106. // Media Query Ranges
  107. $small-screen-up: 601px !default;
  108. $medium-screen-up: 993px !default;
  109. $large-screen-up: 1201px !default;
  110. $small-screen: 600px !default;
  111. $medium-screen: 992px !default;
  112. $large-screen: 1200px !default;
  113. $sidenav-breakpoint: 1440px !default;
  114. $medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
  115. $large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
  116. $small-and-down: "only screen and (max-width : #{$small-screen})" !default;
  117. $medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
  118. $medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
  119. $hide-sidenav: "only screen and (max-width : #{$sidenav-breakpoint})" !default;
  120. // Link color
  121. $link-color: #0275d8 !default;
  122. $link-hover-color: darken($link-color, 15%) !default;
  123. // Dividers colors
  124. $hr-light: $white-base !default;
  125. $hr-dark: #666 !default;
  126. $flex-center-ul-mb: 1rem !default;
  127. // Divider
  128. $divider-margin-y: 2.8rem !default;
  129. $divider-margin-x: .5rem !default;
  130. $divider-height: 2px !default;
  131. // Masks
  132. $mask-overlay-transition: all .4s ease-in-out !default;
  133. $mask-zoom-transition: all .2s linear !default;
  134. $mask-zoom-transform: scale(1.1) !default;
  135. $intro-video-transform: translateX(-50%) translateY(-50%) !default;
  136. $intro-video-transition: 1s !default;
  137. // Cards
  138. $md-card-border-radius: .25rem !default;
  139. $md-card-link-transition: .2s ease-in-out !default;
  140. $md-card-font-size: .9rem !default;
  141. $md-card-text-color: #747373 !default;
  142. // Images
  143. $image-path: "../img" !default;
  144. $avatar-img-max-width: 100px !default;
  145. // Carousels
  146. $carousel-control-icon-width: 2.25rem !default;
  147. $carousel-control-icon-height: $carousel-control-icon-width !default;
  148. $carousel-control-prev-icon: url(#{$image-path}/svg/arrow_left.svg) !default;
  149. $carousel-control-next-icon: url(#{$image-path}/svg/arrow_right.svg) !default;
  150. $carousel-indicators-width: .625rem !default;
  151. $carousel-indicators-height: $carousel-indicators-width !default;
  152. $carousel-indicators-border-radius: $border-radius-circle !default;
  153. $carousel-transition-duration: .6s !default;
  154. $carousel-item-transform: translateX(0) !default;
  155. $carousel-item-transform-2: translate3d(0, 0, 0) !default;
  156. // Badges
  157. $badge-pill-padding-x: .6rem !default;
  158. $badge-pill-border-radius: 10rem !default;
  159. // Footers
  160. $footer-copyright-color: rgba($white-base, .6) !default;
  161. $footer-copyright-bg-color: rgba($black-base, .2) !default;
  162. $footer-font-size: .9rem !default;
  163. // Forms
  164. $input-bg-color: $white-base !default;
  165. $label-font-size: .8rem !default;
  166. $input-transition: all .3s !default;
  167. $input-disabled-color: rgba(0,0,0, .46) !default;
  168. $input-md-focus-color: $primary-color !default;
  169. $input-error-color: $error-color !default;
  170. $input-success-color: $success-color !default;
  171. $input-label-after-top: 65px !default;
  172. $input-label-after-transition: .2s opacity ease-out, .2s color ease-out !default;
  173. $input-border-color: #ced4da !default;
  174. $input-label-transition: .2s ease-out !default;
  175. $input-label-color: #757575 !default;
  176. $input-label-top: .65rem !default;
  177. $input-label-active-transform: translateY(-14px) !default;
  178. $input-prefix-transition: color .2s !default;
  179. $input-md-form-margin-top: 1.5rem !default;
  180. $input-md-form-margin-bottom: $input-md-form-margin-top !default;
  181. $input-label-font-size: 1rem !default;
  182. $input-label-active-font-size: 1rem !default;
  183. $input-prefix-top: .25rem !default;
  184. $input-prefix-font-size: 1.75rem !default;
  185. $input-prefix-margin-left: 2.5rem !default;
  186. $input-prefix-width: calc(100% - 2.5rem) !default;
  187. $input-group-addon-font-size: 1.4rem !default;
  188. $input-form-text-ml: 2.6rem !default;
  189. $input-validate-mb: 2.5rem !default;
  190. $input-label-valid-top: 4.1rem !default;
  191. $input-label-invalid-top: 4rem !default;
  192. $input-label-font-size-lg: 1.25rem !default;
  193. $input-label-active-font-size-lg: 1.15rem !default;
  194. $input-prefix-top-lg: .4rem !default;
  195. $input-prefix-font-size-lg: 2rem !default;
  196. $input-prefix-margin-left-lg: 3rem !default;
  197. $input-prefix-width-lg: calc(100% - 3rem) !default;
  198. $input-group-addon-font-size-lg: 1.65rem !default;
  199. $input-form-text-ml-lg: 3.1rem !default;
  200. $input-validate-mb-lg: 2.8rem !default;
  201. $input-label-valid-top-lg: 4.6rem !default;
  202. $input-label-invalid-top-lg: 4.6rem !default;
  203. $input-label-font-size-sm: .875rem !default;
  204. $input-label-active-font-size-sm: .95rem !default;
  205. $input-prefix-top-sm: .35rem !default;
  206. $input-prefix-font-size-sm: 1.5rem !default;
  207. $input-prefix-margin-left-sm: 2rem !default;
  208. $input-prefix-width-sm: calc(100% - 2rem) !default;
  209. $input-group-addon-font-size-sm: 1.15rem !default;
  210. $input-form-text-ml-sm: 2rem !default;
  211. $input-validate-mb-sm: 2.3rem !default;
  212. $input-label-valid-top-sm: 3.7rem !default;
  213. $input-label-invalid-top-sm: 3.6rem !default;
  214. $textarea-padding: 1.5rem !default;
  215. $input-form-control-margin-bottom: .5rem !default;
  216. $input-form-control-padding-top: .6rem !default;
  217. $input-form-control-padding-bottom: .4rem !default;
  218. $input-disabled-solid-color: #BDBDBD !default;
  219. // Input group
  220. $input-group-text-bgc: #e0e0e0 !default;
  221. $input-group-form-control-px: .75rem !default;
  222. $input-group-form-control-py: .375rem !default;
  223. // List group
  224. $list-group-padding: 0 10px 10px 0 !default;
  225. $list-group-transition: .5s !default;
  226. // Modals
  227. $modal-distance: 10px !default;
  228. $modal-width: 400px !default;
  229. $modal-full-height-medium-screen: 800px !default;
  230. $modal-full-height-large-screen: 1000px !default;
  231. $modal-fade-top-transform: translate3d(0, -25%, 0) !default;
  232. $modal-fade-bottom-transform: translate3d(0, 25%, 0) !default;
  233. $modal-fade-right-transform: translate3d(25%, 0, 0) !default;
  234. $modal-fade-left-transform: translate3d(-25%, 0, 0) !default;
  235. $modal-notify-body-padding: 1.5rem !default;
  236. $modal-notify-heading-padding: .3rem !default;
  237. $modal-notify-font-size: 1.15rem !default;
  238. $modal-avatar-margin-top: 6rem !default;
  239. $modal-avatar-header-margin-top: -6rem !default;
  240. $modal-avatar-header-margin-bottom: -1rem !default;
  241. $modal-avatar-img-width: 130px !default;
  242. $modal-body-padding-right: 2rem !default;
  243. $modal-body-padding-left: $modal-body-padding-right !default;
  244. $modal-body-margin-top: 1rem !default;
  245. $cascading-modal-margin-top: -2rem !default;
  246. $cascading-modal-margin-right: 1rem !default;
  247. $cascading-modal-margin-bottom: $cascading-modal-margin-right !default;
  248. $cascading-modal-margin-left: $cascading-modal-margin-right !default;
  249. $cascading-modal-padding: 1.5rem !default;
  250. $cascading-modal-close-margin-right: $cascading-modal-margin-right !default;
  251. $cascading-modal-font-size: 1.25rem !default;
  252. $cascading-modal-fa-margin-right: 9px !default;
  253. $cascading-modal-social-margin-top: $cascading-modal-padding !default;
  254. $cascading-modal-a-font-size: 1rem !default;
  255. $cascading-modal-tabs-margin-x: 1rem !default;
  256. $cascading-modal-tabs-margin-top: -1.5rem !default;
  257. $cascading-modal-tabs-padding-top: 1.7rem !default;
  258. // Miscellaneous
  259. $edge-header-height: 278px !default;
  260. $edge-header-background-color: #ccc !default;
  261. $edge-header-margin-top: -100px !default;
  262. // Navbars
  263. $navbar-font-weight: 300 !default;
  264. $navbar-double-font-size: 15px !default;
  265. $navbar-light-toggler-icon: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !default;
  266. $navbar-light-bg-active-color: rgba($black-base, .1) !default;
  267. $navbar-light-hover-color: rgba($black-base, .75) !default;
  268. $navbar-light-disabled-color: rgba(0, 0, 0, 0.5) !default;
  269. $navbar-dark-toggler-icon: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !default;
  270. $navbar-dark-bg-active-color: rgba($white-base, .1) !default;
  271. $navbar-dark-hover-color: rgba($white-base, .75) !default;
  272. $navbar-dark-disabled-color: rgba(255, 255, 255, 0.5) !default;
  273. $navbar-scrolling-transition: background .5s ease-in-out, padding .5s ease-in-out !default;
  274. $navbar-scrolling-transition-duration: 1s !default;
  275. $navbar-scrolling-padding: 12px !default;
  276. $navbar-top-collapse-padding: 5px !default;
  277. $navbar-nav-transition: .35s !default;
  278. $navbar-dropdown-font-size: 0.9375rem !default;
  279. $navbar-dropdown-menu-padding: 10px !default;
  280. $navbar-flex-icons-padding-md: 6px !default;
  281. $navbar-flex-icons-padding-lg: 3px !default;
  282. $navbar-form-input-mr: 5px !default;
  283. $navbar-form-input-mb: 1px !default;
  284. $navbar-form-input-ml: 8px !default;
  285. $navbar-form-input-height: 1rem !default;
  286. $navbar-breadcrumb-padding-top: .3rem !default;
  287. $navbar-breadcrumb-padding-left: 1rem !default;
  288. $navbar-breadcrumb-color: rgba(255,255,255,.65) !default;
  289. // Pagination
  290. $pagination-active-transition: all .2s linear !default;
  291. $pagination-page-link-transition: all .3s linear !default;
  292. $pagination-page-link-font-size: .9rem !default;
  293. $pagination-page-link-font-size-lg: 1rem !default;
  294. $pagination-page-link-font-size-sm: .8rem !default;
  295. $pagination-page-item-disabled-color: #868e96 !default;
  296. $pagination-page-link-color: #212529 !default;
  297. $pagination-page-link-hover-bg-color: #eee !default;
  298. $pagination-circle-margin-x: 2px !default;
  299. $pagination-circle-border-radius: $border-radius-circle !default;
  300. // Tables
  301. $table-th-font-size: .9rem !default;
  302. $table-td-font-size: $table-th-font-size !default;
  303. $table-th-padding-top: 1.1rem !default;
  304. $table-td-padding-bottom: 1rem !default;
  305. $table-a-color: #212529 !default;
  306. $table-hover-transition: .5s !default;
  307. $table-hover-background-color: rgba(0, 0, 0, 0.075) !default;
  308. $table-sm-padding-y: .6rem !default;
  309. $table-inverse-color-border: $white-base !default;
  310. $product-table-img-max-height: 150px !default;
  311. $product-table-img-min-width: 50px !default;
  312. $table-th-lg-min-width: 9rem !default;
  313. $table-th-sm-min-width: 6rem !default;
  314. $table-scroll-vertical-max-height: 300px !default;
  315. $table-label-height: 0.94rem !default;
  316. $table-label-line-height: $table-label-height !default;
  317. // Steppers
  318. $stepper-li-a-padding: 1.5rem!default;
  319. $stepper-li-a-circle-color: $white !default;
  320. $stepper-li-a-circle-border-radius: $border-radius-circle !default;
  321. $stepper-li-a-circle-bg: rgba($black, .38) !default;
  322. $stepper-li-a-circle-mr: .5rem !default;
  323. $stepper-li-a-label-color: rgba($black, .87) !default;
  324. $stepper-horizontal-li-transition: .5s !default;
  325. $stepper-horizontal-li-a-label-mt: .63rem !default;
  326. $stepper-horizontal-li-after-margin: .5rem !default;
  327. $stepper-horizontal-li-after-height: 1px !default;
  328. $stepper-horizontal-li-after-bgc: rgba($black, .1) !default;
  329. $stepper-horizontal-breakpoint: 47.9375rem !default;
  330. $stepper-horizontal-small-li-a-label-mt: .2rem !default;
  331. $stepper-horizontal-small-li-after-width: $stepper-horizontal-li-after-height !default;
  332. $stepper-horizontal-small-li-after-height: calc(100% - 40px) !default;
  333. $stepper-horizontal-small-li-after-left: 2.19rem !default;
  334. $stepper-horizontal-small-li-after-top: 3.75rem !default;
  335. $stepper-vertical-li-a-label-mt: $stepper-horizontal-small-li-a-label-mt !default;
  336. $stepper-vertical-li-step-content-ml: 3.13rem !default;
  337. $stepper-vertical-li-step-content-padding: .94rem !default;
  338. $stepper-vertical-li-step-content-p-font-size: .88rem !default;
  339. $stepper-vertical-li-after-width: 1px !default;
  340. $stepper-vertical-li-after-height: $stepper-horizontal-small-li-after-height !default;
  341. $stepper-vertical-li-after-left: $stepper-horizontal-small-li-after-left !default;
  342. $stepper-vertical-li-after-top: 3.44rem !default;
  343. $stepper-vertical-li-after-bgc: $stepper-horizontal-li-after-bgc !default;