Guest User

Untitled

a guest
Dec 13th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. /**
  2.  
  3. space
  4. -----
  5.  
  6. Spacing between elements as multiple of 5
  7.  
  8. **/
  9.  
  10.  
  11. //.font-size-10, .font-size-36
  12. $fontamounts: (
  13. 8,
  14. 9,
  15. 10,
  16. 11,
  17. 12,
  18. 13,
  19. 14,
  20. 16,
  21. 18,
  22. 20,
  23. 24,
  24. 28,
  25. 36
  26. ); // Adjust this to include the pixel amounts you need.
  27.  
  28. @each $fontsize in $fontamounts {
  29.  
  30. .font-size-#{$fontsize} {
  31. font-size: #{$fontsize}px;
  32. }
  33. }
  34.  
  35. // .padding-0 , .padding-1, .padding-3 ... .padding-50, .margin-0, .margin-1,...., .margin-50
  36. $spaceamounts: (
  37. 0,
  38. 5,
  39. 10,
  40. 15,
  41. 20,
  42. 25,
  43. 30,
  44. 35,
  45. 40,
  46. 45,
  47. 50,
  48. 60,
  49. 75,
  50. 100,
  51. 125,
  52. 150,
  53. 175,
  54. 200
  55. ); // Adjust this to include the pixel amounts you need.
  56.  
  57. @each $space in $spaceamounts {
  58.  
  59. .margin-#{$space} {
  60. margin: #{$space}px !important;
  61. }
  62.  
  63. .margin-t-#{$space} {
  64. margin-top: #{$space}px !important;
  65. }
  66.  
  67. .margin-b-#{$space} {
  68. margin-bottom: #{$space}px !important;
  69. }
  70.  
  71. .padding-#{$space} {
  72. padding: #{$space}px !important;
  73. }
  74.  
  75. .padding-x-#{$space} {
  76. padding-right: #{$space}px !important;
  77. padding-left: #{$space}px !important;
  78. }
  79.  
  80. .padding-y-#{$space} {
  81. padding-top: #{$space}px !important;
  82. padding-bottom: #{$space}px !important;
  83. }
  84.  
  85. .padding-t-#{$space} {
  86. padding-top: #{$space}px !important;
  87. }
  88.  
  89. .padding-b-#{$space} {
  90. padding-bottom: #{$space}px !important;
  91. }
  92.  
  93. .padding-l-#{$space} {
  94. padding-left: #{$space}px !important;
  95. }
  96.  
  97. .padding-r-#{$space} {
  98. padding-right: #{$space}px !important;
  99. }
  100.  
  101. .gap-#{$space} {
  102. height: #{$space}px !important;
  103. clear: both;
  104. }
  105. }
  106.  
  107. $radiusamounts: (0, 2, 4, 8, 16); // Adjust this to include the pixel amounts you need.
  108.  
  109. @each $radius in $radiusamounts {
  110.  
  111. .r-#{$radius} {
  112. border-radius: #{$radius}px !important;
  113. }
  114. }
  115.  
  116. .pointer {
  117. cursor: pointer;
  118. }
  119.  
  120. .display-contents {
  121. display: contents !important;
  122. }
Add Comment
Please, Sign In to add comment