_reset_basic.scss 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157
  1. /*---reset---*/
  2. /*Body*/
  3. html{
  4. height: $p100;
  5. font-size: 14px;
  6. }
  7. body{
  8. height: $p100;
  9. &.layout-boxed{
  10. height: $p100;
  11. }
  12. }
  13. .wrapper{
  14. height: $p100;
  15. overflow-x: hidden;
  16. overflow-y: hidden;
  17. background-color: transparent;
  18. position: relative;
  19. @include before-after-state{
  20. content: " ";
  21. display: table;
  22. }
  23. }
  24. body{
  25. overflow-x: hidden;
  26. overflow-y: auto;
  27. color:$dark;
  28. font-size: 1rem;
  29. font-style: normal;
  30. font-weight:400;
  31. font-family: $bodyfont;
  32. line-height:1.5;
  33. background-color: $wrapper;
  34. }
  35. /*---basic---*/
  36. a {
  37. color:lighten($dark, 20%);
  38. }
  39. a{
  40. @include hover-state{
  41. outline: 0;
  42. text-decoration: none;
  43. }
  44. }
  45. h1,h2,h3,h4,h5,h6,.h1, .h2, .h3, .h4, .h5, .h6 {
  46. font-family: $headingfont;
  47. font-weight: 400;
  48. line-height: 1.2;
  49. }
  50. h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small {
  51. font-size: 65%;
  52. }
  53. h4, .h4, h5, .h5, h6, .h6 {
  54. margin-bottom: 0.7142857143rem;
  55. }
  56. .h1, h1 {
  57. font-size: 2.5714285714285716rem;
  58. }
  59. .h2, h2 {
  60. font-size: 2.142857142857143rem;
  61. }
  62. .h3, h3 {
  63. font-size: 1.7142857142857142rem;
  64. }
  65. .h4, h4 {
  66. font-size: 1.2857142857142858rem;
  67. }
  68. .h5, h5 {
  69. font-size: 1.1428571428571428rem;
  70. }
  71. .h6, h6 {
  72. font-size: 1rem;
  73. }
  74. h1, h2, h3, .h1, .h2, .h3 {
  75. margin-top: 0.7142857143rem;
  76. margin-bottom: 0.7142857143rem;
  77. }
  78. img {
  79. max-width: $p100;
  80. }
  81. .img-fluid{
  82. width: $p100;
  83. }
  84. .align-sub {
  85. vertical-align: sub;
  86. }
  87. .base-font{font-family: $bodyfont !important; }
  88. .heading-font{font-family: $headingfont !important; }
  89. $font-size-map: ( fs-: font-size);
  90. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 72 76 78 80 100 140 180 200;
  91. @each $size in $sizes-list {
  92. $val: $size / 14 + rem + !important;
  93. @each $keyword,
  94. $property in $font-size-map {
  95. .#{$keyword}#{$size} {
  96. #{$property}: $val;
  97. }
  98. }
  99. }
  100. $line-height-map: ( l-h-: line-height);
  101. $sizes-list: 0 10 12 14 16 18 20 22 24 25 26 30 32 35 36 38 40 42 45 46 48 50 60 70 72 76 78 80 100 140 180 200;
  102. @each $size in $sizes-list {
  103. $val: $size / 14 + rem + !important;
  104. @each $keyword,
  105. $property in $line-height-map {
  106. .#{$keyword}#{$size} {
  107. #{$property}: $val;
  108. }
  109. }
  110. }
  111. .l-h-n{
  112. line-height: normal !important;
  113. }
  114. $font-weight-map: ( fw-: font-weight);
  115. $sizes-list: 100 200 300 400 500 600 700 800 900;
  116. @each $size in $sizes-list {
  117. $val: $size;
  118. @each $keyword,
  119. $property in $font-weight-map {
  120. .#{$keyword}#{$size} {
  121. #{$property}: $val;
  122. }
  123. }
  124. }
  125. .fw-light {
  126. font-weight: $fw-light;
  127. }
  128. .fw-normal {
  129. font-weight: $fw-normal;
  130. }
  131. .fw-medium {
  132. font-weight: $fw-medium;
  133. }
  134. .fw-bold {
  135. font-weight: $fw-bold;
  136. }
  137. .hide {
  138. display: none !important;
  139. }
  140. .no-border {
  141. border: 0 !important;
  142. }
  143. .no-radius {
  144. border-radius: 0 !important;
  145. }
  146. .no-padding {
  147. padding: 0 !important;
  148. }
  149. .no-margin {
  150. margin: 0 !important;
  151. }
  152. .no-shadow {
  153. box-shadow: none !important;
  154. }
  155. .chart-legend, .contacts-list, .list-unstyled, .mailbox-attachments, .users-list {
  156. list-style: none;
  157. margin: 0;
  158. padding: 0;
  159. }
  160. .list-group-unbordered>.list-group-item {
  161. border-left: 0;
  162. border-right: 0;
  163. border-radius: 0;
  164. padding-left: 0;
  165. padding-right: 0;
  166. }
  167. .code-preview {
  168. border: 1px solid $light;
  169. padding: 20px;
  170. background-color: $white;
  171. }
  172. code {
  173. border: 1px solid $light;
  174. background-color: $white;
  175. border-radius: .25rem;
  176. padding: .2rem .4rem;
  177. }
  178. .d3-line{
  179. fill:rgba(255, 255, 255, 0);
  180. }
  181. .theme-switch li a.active{
  182. opacity: 0.6;
  183. border: 5px solid #ffffff;
  184. }
  185. .dark-skin .theme-switch li a.active{
  186. border: 5px solid lighten($black, 15%);
  187. }
  188. .custom-select{
  189. cursor: pointer;
  190. border-radius: $fct-border-radius;
  191. }
  192. .image-popup-vertical-fit img,
  193. .image-popup-fit-width img,
  194. .image-popup-no-margins img,
  195. .popup-gallery img,
  196. .zoom-gallery img,
  197. #image-popups img{
  198. border-radius: $default-border-radius;
  199. }
  200. /*---border radius---*/
  201. $border-radius-map: ( rounded: border-radius);
  202. $sizes-list: 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100;
  203. @each $size in $sizes-list {
  204. $val: $size + px;
  205. @each $keyword,
  206. $property in $border-radius-map {
  207. .#{$keyword}#{$size} {
  208. #{$property}: $val;
  209. }
  210. }
  211. }
  212. .overflow-h{
  213. overflow: hidden;
  214. }
  215. .overflow-v{
  216. overflow: visible;
  217. }
  218. .overflow-xh{
  219. overflow-x: hidden;
  220. }
  221. .overflow-xv{
  222. overflow-x: visible;
  223. }
  224. .overflow-yh{
  225. overflow-y: hidden;
  226. }
  227. .overflow-yv{
  228. overflow-y: visible;
  229. }
  230. /*---border---*/
  231. $border-sizes-list: 0 1 2 3 4 5;
  232. @each $size in $border-sizes-list {
  233. .b-#{$size} { border: #{$size}px solid $light !important; } // All sides
  234. .bt-#{$size} { border-top: #{$size}px solid $light !important; }
  235. .be-#{$size} { border-right: #{$size}px solid $light !important; }
  236. .bb-#{$size} { border-bottom: #{$size}px solid $light !important; }
  237. .bs-#{$size} { border-left: #{$size}px solid $light !important; }
  238. // Axes
  239. .bx-#{$size} {
  240. border-right: #{$size}px solid $light !important;
  241. border-left: #{$size}px solid $light !important;
  242. }
  243. .by-#{$size} {
  244. border-top: #{$size}px solid $light !important;
  245. border-bottom: #{$size}px solid $light !important;
  246. }
  247. }
  248. .rtl{
  249. @each $size in $border-sizes-list {
  250. .bs-#{$size} { border-right-width: #{$size}px !important; border-right-style: solid !important; border-left-width: 0 !important; }
  251. .be-#{$size} { border-left-width: #{$size}px !important; border-left-style: solid !important; border-right-width: 0 !important; }
  252. }
  253. }
  254. .dark-skin{
  255. @each $size in $border-sizes-list {
  256. .b-#{$size}:not([class*=border-]) { border: #{$size}px solid $dark2 !important; } // All sides
  257. .bt-#{$size}:not([class*=border-]) { border-top: #{$size}px solid $dark2 !important; }
  258. .be-#{$size}:not([class*=border-]) { border-right: #{$size}px solid $dark2 !important; }
  259. .bb-#{$size}:not([class*=border-]) { border-bottom: #{$size}px solid $dark2 !important; }
  260. .bs-#{$size}:not([class*=border-]) { border-left: #{$size}px solid $dark2 !important; }
  261. // Axes
  262. .bx-#{$size}:not([class*=border-]) {
  263. border-right: #{$size}px solid $dark2 !important;
  264. border-left: #{$size}px solid $dark2 !important;
  265. }
  266. .by-#{$size}:not([class*=border-]) {
  267. border-top: #{$size}px solid $dark2 !important;
  268. border-bottom: #{$size}px solid $dark2 !important;
  269. }
  270. }
  271. &.rtl{
  272. @each $size in $border-sizes-list {
  273. .bs-#{$size}:not([class*=border-]) { border-right-width: #{$size}px !important; border-right-style: solid !important; border-left-width: 0 !important; }
  274. .be-#{$size}:not([class*=border-]) { border-left-width: #{$size}px !important; border-left-style: solid !important; border-right-width: 0 !important; }
  275. }
  276. }
  277. }
  278. .border {
  279. border: 1px solid $light !important;
  280. }
  281. // Border colors
  282. //
  283. @each $name, $value in $colors {
  284. .border-#{$name} {
  285. border-color: $value !important;
  286. }
  287. }
  288. .border-transparent {border-color: transparent !important; }
  289. .border-white {border-color: #fff !important; }
  290. .border-light {border-color: $light !important; }
  291. .border-fade {border-color: lighten($light, 01%) !important; }
  292. .b-dashed{
  293. border-style: dashed !important;
  294. }
  295. .bt-dashed{
  296. border-top-style: dashed !important;
  297. }
  298. .bs-dashed{
  299. border-left-style: dashed !important;
  300. }
  301. .be-dashed{
  302. border-right-style: dashed !important;
  303. }
  304. .bb-dashed{
  305. border-bottom-style: dashed !important;
  306. }
  307. .b-dotted{
  308. border-style: dotted !important;
  309. }
  310. .bt-dotted{
  311. border-top-style: dotted !important;
  312. }
  313. .bs-dotted{
  314. border-left-style: dotted !important;
  315. }
  316. .be-dotted{
  317. border-right-style: dotted !important;
  318. }
  319. .bb-dotted{
  320. border-bottom-style: dotted !important;
  321. }
  322. .b-double{
  323. border-style: double !important;
  324. }
  325. .bt-double{
  326. border-top-style: double !important;
  327. }
  328. .bs-double{
  329. border-left-style: double !important;
  330. }
  331. .be-double{
  332. border-right-style: double !important;
  333. }
  334. .bb-double{
  335. border-bottom-style: double !important;
  336. }
  337. .b-groove{
  338. border-style: groove !important;
  339. }
  340. .bt-groove{
  341. border-top-style: groove !important;
  342. }
  343. .bs-groove{
  344. border-left-style: groove !important;
  345. }
  346. .be-groove{
  347. border-right-style: groove !important;
  348. }
  349. .bb-groove{
  350. border-bottom-style: groove !important;
  351. }
  352. .bter-0{
  353. border-top-right-radius: 0 !important;
  354. }
  355. .bber-0{
  356. border-bottom-right-radius: 0 !important;
  357. }
  358. .btsr-0{
  359. border-top-left-radius: 0 !important;
  360. }
  361. .bbsr-0{
  362. border-bottom-left-radius: 0 !important;
  363. }
  364. .ber-0{
  365. border-top-right-radius: 0 !important;
  366. border-bottom-right-radius: 0 !important;
  367. }
  368. .bsr-0{
  369. border-top-left-radius: 0 !important;
  370. border-bottom-left-radius: 0 !important;
  371. }
  372. .bar-0{
  373. border-radius: 0 !important;
  374. }
  375. /*---vertical-align---*/
  376. .vertical-align{
  377. font-size: 0;
  378. }
  379. .vertical-align:before{
  380. display: inline-block;
  381. height: 100%;
  382. content: '';
  383. vertical-align: middle;
  384. }
  385. .vertical-align-middle, .vertical-align-bottom{
  386. display: inline-block;
  387. max-width: 100%;
  388. }
  389. .vertical-align-middle{
  390. vertical-align: middle;
  391. }
  392. .vertical-align-bottom{
  393. vertical-align: bottom;
  394. }
  395. .r-0{right:0}
  396. .l-0{left:0}
  397. .bg-none{ background: none !important};
  398. // max-width 1199
  399. @include screen-lg-max {
  400. .bg-none-lg{ background: none !important};
  401. }
  402. // max-width 1024
  403. @include screen-tl {
  404. .bg-none-tl{ background: none !important};
  405. }
  406. // max-width 991
  407. @include screen-md-max {
  408. .bg-none-md{ background: none !important};
  409. }
  410. // max-width 767
  411. @include screen-sm-max {
  412. .bg-none-sm{ background: none !important};
  413. }
  414. // max-width 575
  415. @include screen-xs {
  416. .bg-none-xs{ background: none !important};
  417. }
  418. // max-width 370
  419. @include screen-small {
  420. .bg-none-small{ background: none !important};
  421. }
  422. .input-group-prepend, .input-group-append {
  423. display: flex;
  424. }
  425. .media {
  426. display: flex;
  427. align-items: flex-start;
  428. }
  429. .media-body {
  430. flex: 1;
  431. }
  432. small, .small {
  433. font-weight: 400;
  434. }
  435. // max-width 575
  436. @include screen-xs {
  437. .xs-nowrap{white-space: nowrap;}
  438. .xs-position-static {position: static !important; }
  439. .xs-position-relative {position: relative !important; }
  440. .xs-position-absolute {position: absolute !important; }
  441. .xs-position-fixed {position: fixed !important; }
  442. .xs-position-sticky {position: sticky !important; }
  443. $right-property-map: ( xs-r-: right);
  444. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  445. @each $size in $sizes-list {
  446. $val: $size / 14 + rem + !important;
  447. @each $keyword,
  448. $property in $right-property-map {
  449. .#{$keyword}#{$size} {
  450. #{$property}: $val;
  451. }
  452. }
  453. }
  454. $left-property-map: ( xs-l-: left);
  455. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  456. @each $size in $sizes-list {
  457. $val: $size / 14 + rem + !important;
  458. @each $keyword,
  459. $property in $left-property-map {
  460. .#{$keyword}#{$size} {
  461. #{$property}: $val;
  462. }
  463. }
  464. }
  465. $top-property-map: ( xs-t-: top);
  466. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  467. @each $size in $sizes-list {
  468. $val: $size / 14 + rem + !important;
  469. @each $keyword,
  470. $property in $top-property-map {
  471. .#{$keyword}#{$size} {
  472. #{$property}: $val;
  473. }
  474. }
  475. }
  476. $bottom-property-map: ( xs-l-: bottom);
  477. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  478. @each $size in $sizes-list {
  479. $val: $size / 14 + rem + !important;
  480. @each $keyword,
  481. $property in $bottom-property-map {
  482. .#{$keyword}#{$size} {
  483. #{$property}: $val;
  484. }
  485. }
  486. }
  487. }
  488. // min-width 576
  489. @include screen-sm {
  490. .sm-nowrap{white-space: nowrap;}
  491. .sm-position-static {position: static !important; }
  492. .sm-position-relative {position: relative !important; }
  493. .sm-position-absolute {position: absolute !important; }
  494. .sm-position-fixed {position: fixed !important; }
  495. .sm-position-sticky {position: sticky !important; }
  496. $right-property-map: ( sm-r-: right);
  497. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  498. @each $size in $sizes-list {
  499. $val: $size / 14 + rem + !important;
  500. @each $keyword,
  501. $property in $right-property-map {
  502. .#{$keyword}#{$size} {
  503. #{$property}: $val;
  504. }
  505. }
  506. }
  507. $left-property-map: ( sm-l-: left);
  508. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  509. @each $size in $sizes-list {
  510. $val: $size / 14 + rem + !important;
  511. @each $keyword,
  512. $property in $left-property-map {
  513. .#{$keyword}#{$size} {
  514. #{$property}: $val;
  515. }
  516. }
  517. }
  518. $top-property-map: ( sm-t-: top);
  519. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  520. @each $size in $sizes-list {
  521. $val: $size / 14 + rem + !important;
  522. @each $keyword,
  523. $property in $top-property-map {
  524. .#{$keyword}#{$size} {
  525. #{$property}: $val;
  526. }
  527. }
  528. }
  529. $bottom-property-map: ( sm-b-: bottom);
  530. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  531. @each $size in $sizes-list {
  532. $val: $size / 14 + rem + !important;
  533. @each $keyword,
  534. $property in $bottom-property-map {
  535. .#{$keyword}#{$size} {
  536. #{$property}: $val;
  537. }
  538. }
  539. }
  540. }
  541. // max-width 767
  542. @include screen-sm-max {
  543. .sm-max-nowrap{white-space: nowrap;}
  544. .sm-max-position-static {position: static !important; }
  545. .sm-max-position-relative {position: relative !important; }
  546. .sm-max-position-absolute {position: absolute !important; }
  547. .sm-max-position-fixed {position: fixed !important; }
  548. .sm-max-position-sticky {position: sticky !important; }
  549. $right-property-map: ( sm-max-r-: right);
  550. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  551. @each $size in $sizes-list {
  552. $val: $size / 14 + rem + !important;
  553. @each $keyword,
  554. $property in $right-property-map {
  555. .#{$keyword}#{$size} {
  556. #{$property}: $val;
  557. }
  558. }
  559. }
  560. $left-property-map: ( sm-max-l-: left);
  561. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  562. @each $size in $sizes-list {
  563. $val: $size / 14 + rem + !important;
  564. @each $keyword,
  565. $property in $left-property-map {
  566. .#{$keyword}#{$size} {
  567. #{$property}: $val;
  568. }
  569. }
  570. }
  571. $top-property-map: ( sm-max-t-: top);
  572. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  573. @each $size in $sizes-list {
  574. $val: $size / 14 + rem + !important;
  575. @each $keyword,
  576. $property in $top-property-map {
  577. .#{$keyword}#{$size} {
  578. #{$property}: $val;
  579. }
  580. }
  581. }
  582. $bottom-property-map: ( sm-max-b-: bottom);
  583. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  584. @each $size in $sizes-list {
  585. $val: $size / 14 + rem + !important;
  586. @each $keyword,
  587. $property in $bottom-property-map {
  588. .#{$keyword}#{$size} {
  589. #{$property}: $val;
  590. }
  591. }
  592. }
  593. }
  594. // min-width 768
  595. @include screen-md {
  596. .md-nowrap{white-space: nowrap;}
  597. .md-position-static {position: static !important; }
  598. .md-position-relative {position: relative !important; }
  599. .md-position-absolute {position: absolute !important; }
  600. .md-position-fixed {position: fixed !important; }
  601. .md-position-sticky {position: sticky !important; }
  602. $right-property-map: ( md-r-: right);
  603. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  604. @each $size in $sizes-list {
  605. $val: $size / 14 + rem + !important;
  606. @each $keyword,
  607. $property in $right-property-map {
  608. .#{$keyword}#{$size} {
  609. #{$property}: $val;
  610. }
  611. }
  612. }
  613. $left-property-map: ( md-l-: left);
  614. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  615. @each $size in $sizes-list {
  616. $val: $size / 14 + rem + !important;
  617. @each $keyword,
  618. $property in $left-property-map {
  619. .#{$keyword}#{$size} {
  620. #{$property}: $val;
  621. }
  622. }
  623. }
  624. $top-property-map: ( md-t-: top);
  625. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  626. @each $size in $sizes-list {
  627. $val: $size / 14 + rem + !important;
  628. @each $keyword,
  629. $property in $top-property-map {
  630. .#{$keyword}#{$size} {
  631. #{$property}: $val;
  632. }
  633. }
  634. }
  635. $bottom-property-map: ( md-b-: bottom);
  636. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  637. @each $size in $sizes-list {
  638. $val: $size / 14 + rem + !important;
  639. @each $keyword,
  640. $property in $bottom-property-map {
  641. .#{$keyword}#{$size} {
  642. #{$property}: $val;
  643. }
  644. }
  645. }
  646. }
  647. // max-width 991
  648. @include screen-md-max {
  649. .md-max-nowrap{white-space: nowrap;}
  650. .md-max-position-static {position: static !important; }
  651. .md-max-position-relative {position: relative !important; }
  652. .md-max-position-absolute {position: absolute !important; }
  653. .md-max-position-fixed {position: fixed !important; }
  654. .md-max-position-sticky {position: sticky !important; }
  655. $right-property-map: ( md-max-r-: right);
  656. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  657. @each $size in $sizes-list {
  658. $val: $size / 14 + rem + !important;
  659. @each $keyword,
  660. $property in $right-property-map {
  661. .#{$keyword}#{$size} {
  662. #{$property}: $val;
  663. }
  664. }
  665. }
  666. $left-property-map: ( md-max-l-: left);
  667. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  668. @each $size in $sizes-list {
  669. $val: $size / 14 + rem + !important;
  670. @each $keyword,
  671. $property in $left-property-map {
  672. .#{$keyword}#{$size} {
  673. #{$property}: $val;
  674. }
  675. }
  676. }
  677. $top-property-map: ( md-max-t-: top);
  678. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  679. @each $size in $sizes-list {
  680. $val: $size / 14 + rem + !important;
  681. @each $keyword,
  682. $property in $top-property-map {
  683. .#{$keyword}#{$size} {
  684. #{$property}: $val;
  685. }
  686. }
  687. }
  688. $bottom-property-map: ( md-max-b-: bottom);
  689. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  690. @each $size in $sizes-list {
  691. $val: $size / 14 + rem + !important;
  692. @each $keyword,
  693. $property in $bottom-property-map {
  694. .#{$keyword}#{$size} {
  695. #{$property}: $val;
  696. }
  697. }
  698. }
  699. }
  700. // min-width 992
  701. @include screen-lg {
  702. .lg-nowrap{white-space: nowrap;}
  703. .lg-position-static {position: static !important; }
  704. .lg-position-relative {position: relative !important; }
  705. .lg-position-absolute {position: absolute !important; }
  706. .lg-position-fixed {position: fixed !important; }
  707. .lg-position-sticky {position: sticky !important; }
  708. $right-property-map: ( lg-r-: right);
  709. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  710. @each $size in $sizes-list {
  711. $val: $size / 14 + rem + !important;
  712. @each $keyword,
  713. $property in $right-property-map {
  714. .#{$keyword}#{$size} {
  715. #{$property}: $val;
  716. }
  717. }
  718. }
  719. $left-property-map: ( lg-l-: left);
  720. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  721. @each $size in $sizes-list {
  722. $val: $size / 14 + rem + !important;
  723. @each $keyword,
  724. $property in $left-property-map {
  725. .#{$keyword}#{$size} {
  726. #{$property}: $val;
  727. }
  728. }
  729. }
  730. $top-property-map: ( lg-t-: top);
  731. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  732. @each $size in $sizes-list {
  733. $val: $size / 14 + rem + !important;
  734. @each $keyword,
  735. $property in $top-property-map {
  736. .#{$keyword}#{$size} {
  737. #{$property}: $val;
  738. }
  739. }
  740. }
  741. $bottom-property-map: ( lg-b-: bottom);
  742. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  743. @each $size in $sizes-list {
  744. $val: $size / 14 + rem + !important;
  745. @each $keyword,
  746. $property in $bottom-property-map {
  747. .#{$keyword}#{$size} {
  748. #{$property}: $val;
  749. }
  750. }
  751. }
  752. }
  753. // max-width 1024
  754. @include screen-tl {
  755. .tl-nowrap{white-space: nowrap;}
  756. .tl-position-static {position: static !important; }
  757. .tl-position-relative {position: relative !important; }
  758. .tl-position-absolute {position: absolute !important; }
  759. .tl-position-fixed {position: fixed !important; }
  760. .tl-position-sticky {position: sticky !important; }
  761. $right-property-map: ( tl-r-: right);
  762. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  763. @each $size in $sizes-list {
  764. $val: $size / 14 + rem + !important;
  765. @each $keyword,
  766. $property in $right-property-map {
  767. .#{$keyword}#{$size} {
  768. #{$property}: $val;
  769. }
  770. }
  771. }
  772. $left-property-map: ( tl-l-: left);
  773. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  774. @each $size in $sizes-list {
  775. $val: $size / 14 + rem + !important;
  776. @each $keyword,
  777. $property in $left-property-map {
  778. .#{$keyword}#{$size} {
  779. #{$property}: $val;
  780. }
  781. }
  782. }
  783. $top-property-map: ( tl-t-: top);
  784. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  785. @each $size in $sizes-list {
  786. $val: $size / 14 + rem + !important;
  787. @each $keyword,
  788. $property in $top-property-map {
  789. .#{$keyword}#{$size} {
  790. #{$property}: $val;
  791. }
  792. }
  793. }
  794. $bottom-property-map: ( tl-b-: bottom);
  795. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  796. @each $size in $sizes-list {
  797. $val: $size / 14 + rem + !important;
  798. @each $keyword,
  799. $property in $bottom-property-map {
  800. .#{$keyword}#{$size} {
  801. #{$property}: $val;
  802. }
  803. }
  804. }
  805. }
  806. // max-width 1199
  807. @include screen-lg-max {
  808. .lg-max-nowrap{white-space: nowrap;}
  809. .lg-max-position-static {position: static !important; }
  810. .lg-max-position-relative {position: relative !important; }
  811. .lg-max-position-absolute {position: absolute !important; }
  812. .lg-max-position-fixed {position: fixed !important; }
  813. .lg-max-position-sticky {position: sticky !important; }
  814. $right-property-map: ( lg-max-r-: right);
  815. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  816. @each $size in $sizes-list {
  817. $val: $size / 14 + rem + !important;
  818. @each $keyword,
  819. $property in $right-property-map {
  820. .#{$keyword}#{$size} {
  821. #{$property}: $val;
  822. }
  823. }
  824. }
  825. $left-property-map: ( lg-max-l-: left);
  826. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  827. @each $size in $sizes-list {
  828. $val: $size / 14 + rem + !important;
  829. @each $keyword,
  830. $property in $left-property-map {
  831. .#{$keyword}#{$size} {
  832. #{$property}: $val;
  833. }
  834. }
  835. }
  836. $top-property-map: ( lg-max-t-: top);
  837. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  838. @each $size in $sizes-list {
  839. $val: $size / 14 + rem + !important;
  840. @each $keyword,
  841. $property in $top-property-map {
  842. .#{$keyword}#{$size} {
  843. #{$property}: $val;
  844. }
  845. }
  846. }
  847. $bottom-property-map: ( lg-max-b-: bottom);
  848. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  849. @each $size in $sizes-list {
  850. $val: $size / 14 + rem + !important;
  851. @each $keyword,
  852. $property in $bottom-property-map {
  853. .#{$keyword}#{$size} {
  854. #{$property}: $val;
  855. }
  856. }
  857. }
  858. }
  859. // Extra large devices (min-width 1200)
  860. @include screen-xl {
  861. .xl-nowrap{white-space: nowrap;}
  862. .xl-position-static {position: static !important; }
  863. .xl-position-relative {position: relative !important; }
  864. .xl-position-absolute {position: absolute !important; }
  865. .xl-position-fixed {position: fixed !important; }
  866. .xl-position-sticky {position: sticky !important; }
  867. $right-property-map: ( xl-r-: right);
  868. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  869. @each $size in $sizes-list {
  870. $val: $size / 14 + rem + !important;
  871. @each $keyword,
  872. $property in $right-property-map {
  873. .#{$keyword}#{$size} {
  874. #{$property}: $val;
  875. }
  876. }
  877. }
  878. $left-property-map: ( xl-l-: left);
  879. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  880. @each $size in $sizes-list {
  881. $val: $size / 14 + rem + !important;
  882. @each $keyword,
  883. $property in $left-property-map {
  884. .#{$keyword}#{$size} {
  885. #{$property}: $val;
  886. }
  887. }
  888. }
  889. $top-property-map: ( xl-t-: top);
  890. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  891. @each $size in $sizes-list {
  892. $val: $size / 14 + rem + !important;
  893. @each $keyword,
  894. $property in $top-property-map {
  895. .#{$keyword}#{$size} {
  896. #{$property}: $val;
  897. }
  898. }
  899. }
  900. $bottom-property-map: ( xl-b-: bottom);
  901. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  902. @each $size in $sizes-list {
  903. $val: $size / 14 + rem + !important;
  904. @each $keyword,
  905. $property in $bottom-property-map {
  906. .#{$keyword}#{$size} {
  907. #{$property}: $val;
  908. }
  909. }
  910. }
  911. }
  912. // Extra large devices (min-width 1400)
  913. @include screen-xxl {
  914. .xxl-nowrap{white-space: nowrap;}
  915. .xxl-position-static {position: static !important; }
  916. .xxl-position-relative {position: relative !important; }
  917. .xxl-position-absolute {position: absolute !important; }
  918. .xxl-position-fixed {position: fixed !important; }
  919. .xxl-position-sticky {position: sticky !important; }
  920. $right-property-map: ( xxl-r-: right);
  921. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  922. @each $size in $sizes-list {
  923. $val: $size / 14 + rem + !important;
  924. @each $keyword,
  925. $property in $right-property-map {
  926. .#{$keyword}#{$size} {
  927. #{$property}: $val;
  928. }
  929. }
  930. }
  931. $left-property-map: ( xxl-l-: left);
  932. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  933. @each $size in $sizes-list {
  934. $val: $size / 14 + rem + !important;
  935. @each $keyword,
  936. $property in $left-property-map {
  937. .#{$keyword}#{$size} {
  938. #{$property}: $val;
  939. }
  940. }
  941. }
  942. $top-property-map: ( xxl-t-: top);
  943. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  944. @each $size in $sizes-list {
  945. $val: $size / 14 + rem + !important;
  946. @each $keyword,
  947. $property in $top-property-map {
  948. .#{$keyword}#{$size} {
  949. #{$property}: $val;
  950. }
  951. }
  952. }
  953. $bottom-property-map: ( xxl-b-: bottom);
  954. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  955. @each $size in $sizes-list {
  956. $val: $size / 14 + rem + !important;
  957. @each $keyword,
  958. $property in $bottom-property-map {
  959. .#{$keyword}#{$size} {
  960. #{$property}: $val;
  961. }
  962. }
  963. }
  964. }
  965. // Extra large devices (min-width 1599)
  966. @include screen-xxxl {
  967. .xxxl-nowrap{white-space: nowrap;}
  968. .xxxl-position-static {position: static !important; }
  969. .xxxl-position-relative {position: relative !important; }
  970. .xxxl-position-absolute {position: absolute !important; }
  971. .xxxl-position-fixed {position: fixed !important; }
  972. .xxxl-position-sticky {position: sticky !important; }
  973. $right-property-map: ( xxxl-r-: right);
  974. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  975. @each $size in $sizes-list {
  976. $val: $size / 14 + rem + !important;
  977. @each $keyword,
  978. $property in $right-property-map {
  979. .#{$keyword}#{$size} {
  980. #{$property}: $val;
  981. }
  982. }
  983. }
  984. $left-property-map: ( xxxl-l-: left);
  985. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  986. @each $size in $sizes-list {
  987. $val: $size / 14 + rem + !important;
  988. @each $keyword,
  989. $property in $left-property-map {
  990. .#{$keyword}#{$size} {
  991. #{$property}: $val;
  992. }
  993. }
  994. }
  995. $top-property-map: ( xxxl-t-: top);
  996. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  997. @each $size in $sizes-list {
  998. $val: $size / 14 + rem + !important;
  999. @each $keyword,
  1000. $property in $top-property-map {
  1001. .#{$keyword}#{$size} {
  1002. #{$property}: $val;
  1003. }
  1004. }
  1005. }
  1006. $bottom-property-map: ( xxxl-b-: bottom);
  1007. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  1008. @each $size in $sizes-list {
  1009. $val: $size / 14 + rem + !important;
  1010. @each $keyword,
  1011. $property in $bottom-property-map {
  1012. .#{$keyword}#{$size} {
  1013. #{$property}: $val;
  1014. }
  1015. }
  1016. }
  1017. }
  1018. $right-property-map: ( r-: right);
  1019. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  1020. @each $size in $sizes-list {
  1021. $val: $size / 14 + rem + !important;
  1022. @each $keyword,
  1023. $property in $right-property-map {
  1024. .#{$keyword}#{$size} {
  1025. #{$property}: $val;
  1026. }
  1027. }
  1028. }
  1029. $left-property-map: ( l-: left);
  1030. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  1031. @each $size in $sizes-list {
  1032. $val: $size / 14 + rem + !important;
  1033. @each $keyword,
  1034. $property in $left-property-map {
  1035. .#{$keyword}#{$size} {
  1036. #{$property}: $val;
  1037. }
  1038. }
  1039. }
  1040. $top-property-map: ( t-: top);
  1041. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  1042. @each $size in $sizes-list {
  1043. $val: $size / 14 + rem + !important;
  1044. @each $keyword,
  1045. $property in $top-property-map {
  1046. .#{$keyword}#{$size} {
  1047. #{$property}: $val;
  1048. }
  1049. }
  1050. }
  1051. $bottom-property-map: ( b-: bottom);
  1052. $sizes-list: 0 10 12 14 16 18 20 22 24 26 30 32 36 38 40 42 46 48 50 60 70 80 90 100 110 120 130 140 150;
  1053. @each $size in $sizes-list {
  1054. $val: $size / 14 + rem + !important;
  1055. @each $keyword,
  1056. $property in $bottom-property-map {
  1057. .#{$keyword}#{$size} {
  1058. #{$property}: $val;
  1059. }
  1060. }
  1061. }