@internetstiftelsen/styleguide 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/assets/js/iconToggle.js +1 -2
  2. package/dist/assets/js/parallax.js +0 -2
  3. package/dist/assets/js/textToggle.js +0 -1
  4. package/dist/assets/js/track.js +2 -2
  5. package/dist/assets/js/youtube.js +2 -1
  6. package/dist/components.js +0 -4
  7. package/dist/molecules/glider/glider-hero.js +1 -2
  8. package/dist/molecules/modal/modal.js +2 -2
  9. package/dist/molecules/overview-navigation/overview-navigation.js +1 -2
  10. package/dist/organisms/mailchimp/mailchimp.js +2 -1
  11. package/dist/organisms/tabs/tabs.js +3 -2
  12. package/dist/organisms/timeline/timeline.js +2 -4
  13. package/package.json +8 -3
  14. package/src/app.js +1 -15
  15. package/src/assets/js/iconToggle.js +2 -2
  16. package/src/assets/js/parallax.js +0 -2
  17. package/src/assets/js/textToggle.js +1 -1
  18. package/src/assets/js/track.js +2 -2
  19. package/src/assets/js/youtube.js +2 -1
  20. package/src/atoms/archive-link/archive-link.config.js +1 -1
  21. package/src/atoms/button/_button.scss +6 -6
  22. package/src/atoms/checkbox/checkbox.config.js +1 -1
  23. package/src/atoms/file/file.config.js +1 -1
  24. package/src/atoms/grid-toggle/grid-toggle.config.js +1 -1
  25. package/src/atoms/height-limiter/height-limiter.config.js +1 -1
  26. package/src/atoms/hr/hr.config.js +1 -1
  27. package/src/atoms/icon/icon.config.js +2 -2
  28. package/src/atoms/input/input.config.js +1 -1
  29. package/src/atoms/label/label.config.js +1 -1
  30. package/src/atoms/logotype/logotype.config.js +3 -3
  31. package/src/atoms/main-menu/_main-menu.scss +1 -1
  32. package/src/atoms/main-menu/main-menu.config.js +1 -1
  33. package/src/atoms/meta/meta.config.js +1 -1
  34. package/src/atoms/paging/paging.config.js +1 -1
  35. package/src/atoms/password-toggle/password-toggle.config.js +1 -1
  36. package/src/atoms/progress/progress.config.js +1 -1
  37. package/src/atoms/quote/quote.config.js +1 -1
  38. package/src/atoms/radiobutton/radiobutton.config.js +1 -1
  39. package/src/atoms/range/range.config.js +1 -1
  40. package/src/atoms/rating/rating.config.js +1 -1
  41. package/src/atoms/ribbon/_ribbon.scss +1 -1
  42. package/src/atoms/ribbon/ribbon.config.js +1 -1
  43. package/src/atoms/select/select.config.js +1 -1
  44. package/src/atoms/skip/skip.config.js +1 -1
  45. package/src/atoms/spinner/spinner.config.js +1 -1
  46. package/src/atoms/tag/tag.config.js +1 -1
  47. package/src/atoms/textarea/textarea.config.js +1 -1
  48. package/src/atoms/toggle-button/toggle-button.config.js +1 -1
  49. package/src/atoms/tooltip/tooltip.config.js +1 -1
  50. package/src/base/_normalize.scss +93 -93
  51. package/src/brandbook/goto10/goto10.config.js +1 -1
  52. package/src/brandbook/internetstiftelsen/bildman/303/251r/bildman/303/251r.config.js +1 -1
  53. package/src/brandbook/internetstiftelsen/identitet/identitet.config.js +1 -1
  54. package/src/brandbook/internetstiftelsen/tonalitet och spr/303/245kbruk/tonalitet och spr/303/245kbruk.config.js" +1 -1
  55. package/src/configurations/_bem.scss +22 -22
  56. package/src/configurations/_config.scss +13 -13
  57. package/src/configurations/_functions.scss +6 -6
  58. package/src/configurations/_variables.scss +20 -20
  59. package/src/configurations/_wordpress.scss +6 -6
  60. package/src/configurations/colors/_colors.scss +3 -3
  61. package/src/configurations/colors/colors.config.js +1 -1
  62. package/src/configurations/favicon/favicon.config.js +1 -1
  63. package/src/configurations/grid/grid.config.js +1 -1
  64. package/src/configurations/icons.json +1 -1
  65. package/src/configurations/typography/typography.config.js +1 -1
  66. package/src/molecules/alert/alert.config.js +1 -1
  67. package/src/molecules/breadcrumb/breadcrumb.config.js +1 -1
  68. package/src/molecules/byline/byline.config.js +1 -1
  69. package/src/molecules/context-menu/context-menu.config.js +11 -11
  70. package/src/molecules/continue-video-guide/continue-video-guide.config.js +1 -1
  71. package/src/molecules/cookie-disclaimer/cookie-disclaimer.config.js +1 -1
  72. package/src/molecules/download/download.config.js +1 -1
  73. package/src/molecules/form/form.config.js +1 -1
  74. package/src/molecules/form-control/form-control.config.js +1 -1
  75. package/src/molecules/glider/glider-hero.js +1 -3
  76. package/src/molecules/glider/glider.config.js +1 -1
  77. package/src/molecules/icon-overlay/icon-overlay.config.js +1 -1
  78. package/src/molecules/info-box/info-box.config.js +1 -1
  79. package/src/molecules/input-group/input-group.config.js +1 -1
  80. package/src/molecules/modal/modal.js +2 -2
  81. package/src/molecules/multi-select/multi-select.js +3 -3
  82. package/src/molecules/natural-language-form/natural-language-form.config.js +4 -4
  83. package/src/molecules/overview-navigation/overview-navigation.js +2 -2
  84. package/src/molecules/share/share.config.js +1 -1
  85. package/src/molecules/submenu/submenu.config.js +1 -1
  86. package/src/molecules/system-error/system-error.config.js +1 -1
  87. package/src/molecules/table/table.config.js +1 -1
  88. package/src/molecules/teaser-news-list/teaser-news-list.config.js +1 -1
  89. package/src/organisms/accordion/_accordion.scss +4 -4
  90. package/src/organisms/accordion/accordion.config.js +1 -1
  91. package/src/organisms/domain-search/domain-search.config.js +1 -1
  92. package/src/organisms/filter/filter.config.js +1 -1
  93. package/src/organisms/footer/_footer.scss +1 -1
  94. package/src/organisms/footer/footer.config.js +1 -1
  95. package/src/organisms/header/header.config.js +1 -1
  96. package/src/organisms/hero/hero.config.js +35 -36
  97. package/src/organisms/mailchimp/_mailchimp.scss +1 -1
  98. package/src/organisms/mailchimp/mailchimp.config.js +1 -1
  99. package/src/organisms/mailchimp/mailchimp.js +2 -1
  100. package/src/organisms/mega-menu/mega-menu.config.js +1 -1
  101. package/src/organisms/members-service-product/members-service-product.config.js +1 -3
  102. package/src/organisms/podcast/_podcast-player.scss +1 -1
  103. package/src/organisms/podcast/podcast.config.js +1 -1
  104. package/src/organisms/search-result/search-result.config.js +1 -1
  105. package/src/organisms/sections/sections.config.js +1 -1
  106. package/src/organisms/tabs/tabs.config.js +1 -1
  107. package/src/organisms/tabs/tabs.js +3 -2
  108. package/src/organisms/timeline/timeline.config.js +1 -1
  109. package/src/organisms/timeline/timeline.js +3 -2
  110. package/src/organisms/video-guide/VideoGuidePlayback.js +1 -1
  111. package/src/organisms/video-guide/video-guide.config.js +1 -1
  112. package/src/organisms/video-guide/video-guide.js +2 -2
  113. package/src/pages/animate-footer/animate-footer.config.js +1 -1
  114. package/src/pages/bredbandskollen/bredbandskollen.config.js +1 -1
  115. package/src/pages/conditional/conditional.config.js +1 -1
  116. package/src/pages/dark-mode/dark-mode.config.js +1 -1
  117. package/src/pages/internetguider/internetguider.config.js +1 -1
  118. package/src/pages/magazine/magazine.config.js +1 -1
  119. package/src/pages/mailchimp-newsletter/mailchimp-newsletter.config.js +1 -1
  120. package/src/pages/responsive-position/responsive-position.config.js +1 -1
  121. package/src/pages/search/search.config.js +1 -1
  122. package/src/pages/wordpress-blocks/wordpress-blocks.config.js +1 -1
  123. package/src/theme/_theme.scss +1 -1
  124. package/src/utilities/_icons.scss +4 -4
  125. package/src/utilities/_margin.scss +8 -8
  126. package/src/utilities/_padding.scss +8 -8
@@ -12,7 +12,7 @@
12
12
  @use '../../vendor/grid/grid' as grid;
13
13
  @use '../../vendor/baseline/plumber' as plumber;
14
14
 
15
- $footer-font-size: 18px; // To ensure all footers on all sites have the same font size this component used pixel based values
15
+ $footer-font-size: 18px; /* To ensure all footers on all sites have the same font size this component used pixel based values */
16
16
 
17
17
  * { /* Because not all of the old sites have this */
18
18
  box-sizing: border-box;
@@ -27,4 +27,4 @@ module.exports = {
27
27
  site_heading_8: 'Internetstiftelsen',
28
28
  site_description_8: 'Internetstiftelsen verkar för ett internet som bidrar positivt till människan och samhället'
29
29
  }
30
- }
30
+ };
@@ -7,4 +7,4 @@ module.exports = {
7
7
  label: 'sök en .se- eller .nu-domän',
8
8
  controls: ''
9
9
  }
10
- }
10
+ };
@@ -20,7 +20,6 @@ module.exports = {
20
20
  no_image_class: false,
21
21
  has_radius: true,
22
22
  limited_width: true,
23
- has_radius: true,
24
23
  has_buttons: false,
25
24
  text: 'Nästan alla i Sverige använder internet – men hur meningsfull är tiden vi spenderar där? I rapporten Svenskarna och internet 2019 frågar vi för första gången om meningsfullhet, och det syns stora skillnader mellan olika aktiviteter.',
26
25
  }
@@ -74,44 +73,44 @@ module.exports = {
74
73
  },
75
74
  {
76
75
  name: 'Event hero',
77
- context: {
78
- event_title: 'Creator Circle Meetup',
79
- organizer: 'Creator Circle',
80
- city: 'Stockholm',
81
- time: '24 januari 2020 18:20-21:30',
82
- event_text: 'Event på Goto 10 i',
83
- no_image_class: 'o-hero--no-image',
84
- icon_share: 'share',
85
- icon_export: 'external-link',
86
- limited_width: false,
87
- has_image: false,
88
- has_video: false,
89
- is_event: true,
90
- has_buttons: false,
91
- background_color: 'background-peacock-light'
92
- }
76
+ context: {
77
+ event_title: 'Creator Circle Meetup',
78
+ organizer: 'Creator Circle',
79
+ city: 'Stockholm',
80
+ time: '24 januari 2020 18:20-21:30',
81
+ event_text: 'Event på Goto 10 i',
82
+ no_image_class: 'o-hero--no-image',
83
+ icon_share: 'share',
84
+ icon_export: 'external-link',
85
+ limited_width: false,
86
+ has_image: false,
87
+ has_video: false,
88
+ is_event: true,
89
+ has_buttons: false,
90
+ background_color: 'background-peacock-light'
91
+ }
93
92
  },
94
93
  {
95
94
  name: 'Event hero with button',
96
95
  status: 'ready',
97
- context: {
98
- event_title: 'Framtidsoptimism och problemlösning i en uppkopplad värld',
99
- organizer: 'Heja framtiden',
100
- city: false,
101
- time: '22 november 09:00-17:00',
102
- event_text: 'Digitalt spår på Internetdagarna',
103
- no_image_class: 'o-hero--no-image',
104
- geometric_figures: false,
105
- icon_share: 'share',
106
- icon_export: 'external-link',
107
- limited_width: false,
108
- has_image: false,
109
- has_video: false,
110
- is_event: true,
111
- has_button: true,
112
- text: 'Köp biljett',
113
- background_color: 'background-jade-light'
114
- }
96
+ context: {
97
+ event_title: 'Framtidsoptimism och problemlösning i en uppkopplad värld',
98
+ organizer: 'Heja framtiden',
99
+ city: false,
100
+ time: '22 november 09:00-17:00',
101
+ event_text: 'Digitalt spår på Internetdagarna',
102
+ no_image_class: 'o-hero--no-image',
103
+ geometric_figures: false,
104
+ icon_share: 'share',
105
+ icon_export: 'external-link',
106
+ limited_width: false,
107
+ has_image: false,
108
+ has_video: false,
109
+ is_event: true,
110
+ has_button: true,
111
+ text: 'Köp biljett',
112
+ background_color: 'background-jade-light'
113
+ }
115
114
  },
116
115
  {
117
116
  name: 'Clean',
@@ -151,4 +150,4 @@ module.exports = {
151
150
  }
152
151
  },
153
152
  ]
154
- }
153
+ };
@@ -32,7 +32,7 @@
32
32
 
33
33
  @include breakpoint.bp-up(lg) {
34
34
  display: flex;
35
- display: -webkit-box; // Weird Sarafi bug needs this
35
+ display: -webkit-box; /* Weird Sarafi bug needs this */
36
36
  width: 50%;
37
37
  margin-bottom: 0;
38
38
  }
@@ -35,4 +35,4 @@ module.exports = {
35
35
  }
36
36
  }
37
37
  ]
38
- }
38
+ };
@@ -49,7 +49,8 @@ function isInViewport(element) {
49
49
  const height = element.offsetHeight;
50
50
 
51
51
  while (element.offsetParent) {
52
- element = element.offsetParent; // eslint-disable-line
52
+ // eslint-disable-next-line no-param-reassign
53
+ element = element.offsetParent;
53
54
  top += element.offsetTop;
54
55
  }
55
56
 
@@ -207,4 +207,4 @@ module.exports = {
207
207
  }
208
208
  }
209
209
  ]
210
- }
210
+ };
@@ -1,5 +1,3 @@
1
- const { filter } = require("lodash");
2
-
3
1
  module.exports = {
4
2
  status: 'wip',
5
3
  default: 'Single item',
@@ -76,4 +74,4 @@ module.exports = {
76
74
  }
77
75
  }
78
76
  ]
79
- }
77
+ };
@@ -14,7 +14,7 @@
14
14
 
15
15
  @include mixin.organism(podcast-player) {
16
16
 
17
- // Player
17
+ /* Player */
18
18
 
19
19
  $time-left-width: func.to_rem(65px);
20
20
 
@@ -73,4 +73,4 @@ module.exports = {
73
73
  }
74
74
  }
75
75
  ]
76
- }
76
+ };
@@ -9,4 +9,4 @@ module.exports = {
9
9
  url: 'http://www.google.se',
10
10
  exerpt: 'Praesent tempus metus in arcu mollis, non convallis odio faucibus. Nullam lectus nulla, rutrum nec odio ut, mollis interdum enim. Proin tincidunt odio at quam eleifend imperdiet. Mauris sagittis nulla ipsum, consectetur efficitur libero dignissim in.'
11
11
  }
12
- }
12
+ };
@@ -65,4 +65,4 @@ module.exports = {
65
65
  }
66
66
  }
67
67
  ]
68
- }
68
+ };
@@ -74,4 +74,4 @@ module.exports = {
74
74
  }
75
75
  }
76
76
  ]
77
- }
77
+ };
@@ -73,7 +73,7 @@ window.a11yTabs = (function tabsComponentIIFE(global, document) {
73
73
  }
74
74
  });
75
75
 
76
- this.eventCallback = handleEvents.bind(this); // eslint-disable-line
76
+ this.eventCallback = handleEvents.bind(this);
77
77
  this.tabList.addEventListener('click', this.eventCallback, false);
78
78
  this.tabList.addEventListener('keydown', this.eventCallback, false);
79
79
 
@@ -257,4 +257,5 @@ window.a11yTabs = (function tabsComponentIIFE(global, document) {
257
257
  };
258
258
  }(window, document));
259
259
 
260
- const tabComponent = a11yTabs.create('[data-tab-component]'); // eslint-disable-line
260
+ // eslint-disable-next-line no-unused-vars,no-undef
261
+ const tabComponent = a11yTabs.create('[data-tab-component]');
@@ -4,4 +4,4 @@ module.exports = {
4
4
  context: {
5
5
 
6
6
  }
7
- }
7
+ };
@@ -2,7 +2,7 @@ import '../../assets/js/parallax';
2
2
 
3
3
  const { offsetTop, offsetBottom, offsetLeft } = require('../../assets/js/offset');
4
4
 
5
- // eslint-disable-next-line no-underscore-dangle
5
+
6
6
  const dataLayer = window._mtm || [];
7
7
  const progressBar = document.querySelector('.js-progress-bar');
8
8
  const decadeContainer = document.querySelector('.js-decade-container');
@@ -85,7 +85,8 @@ function isInViewport(element) {
85
85
  const height = element.offsetHeight;
86
86
 
87
87
  while (element.offsetParent) {
88
- element = element.offsetParent; // eslint-disable-line
88
+ // eslint-disable-next-line no-param-reassign
89
+ element = element.offsetParent;
89
90
  top += element.offsetTop;
90
91
  }
91
92
 
@@ -244,5 +244,5 @@ export default class VideoGuidePlayback {
244
244
  },
245
245
  });
246
246
  }
247
- }
247
+ };
248
248
  }
@@ -5,4 +5,4 @@ module.exports = {
5
5
  videoSrc: 'https://internetmuseum.se/app/uploads/2023/01/guidad-tur-nar-internet-kom-till-svenska-hem.mp4',
6
6
  videoSrc2: 'https://internetmuseum.se/app/uploads/2023/01/guidad-tur-nar-internet-kom-till-svenska-hem-vp9-chrome.webm',
7
7
  }
8
- }
8
+ };
@@ -39,7 +39,7 @@ class VideoGuide {
39
39
  this.timeline = new VideoGuideTimeline(this.element, this.video);
40
40
 
41
41
  this.video.classList.remove('is-loading');
42
- }
42
+ };
43
43
 
44
44
  dispatchEvent = (eventName) => {
45
45
  [this.playback, this.subtitles, this.timeline].forEach((instance) => {
@@ -47,7 +47,7 @@ class VideoGuide {
47
47
  instance[eventName]();
48
48
  }
49
49
  });
50
- }
50
+ };
51
51
 
52
52
  onPlay = () => this.dispatchEvent('onPlay');
53
53
 
@@ -186,4 +186,4 @@ module.exports = {
186
186
  }
187
187
  ]
188
188
  }
189
- }
189
+ };
@@ -97,4 +97,4 @@ module.exports = {
97
97
  },
98
98
  ]
99
99
  }
100
- }
100
+ };
@@ -1,4 +1,4 @@
1
1
  module.exports = {
2
2
  status: 'ready',
3
3
  context: {}
4
- }
4
+ };
@@ -16,4 +16,4 @@ module.exports = {
16
16
  has_image: true,
17
17
  has_radius: true
18
18
  }
19
- }
19
+ };
@@ -4,4 +4,4 @@ module.exports = {
4
4
  context: {
5
5
 
6
6
  }
7
- }
7
+ };
@@ -16,4 +16,4 @@ module.exports = {
16
16
  has_image: true,
17
17
  has_radius: true
18
18
  }
19
- }
19
+ };
@@ -4,4 +4,4 @@ module.exports = {
4
4
  context: {
5
5
 
6
6
  }
7
- }
7
+ };
@@ -1,4 +1,4 @@
1
1
  module.exports = {
2
2
  status: 'ready',
3
3
  context: {}
4
- }
4
+ };
@@ -4,4 +4,4 @@ module.exports = {
4
4
  context: {
5
5
  label: 'sök på internetstiftelsen.se',
6
6
  }
7
- }
7
+ };
@@ -16,4 +16,4 @@ module.exports = {
16
16
  has_image: true,
17
17
  has_radius: true
18
18
  }
19
- }
19
+ };
@@ -17,7 +17,7 @@
17
17
 
18
18
  $namespace: '';
19
19
 
20
- // Theme palette
20
+ /* Theme palette */
21
21
  $theme-palette: (
22
22
  background: var(--ash-color)
23
23
  ) !default;
@@ -4,7 +4,7 @@
4
4
  @use '../configurations/bem' as bem;
5
5
  @use '../vendor/grid/breakpoints' as breakpoint;
6
6
 
7
- // Default
7
+ /* Default */
8
8
  $fill-color: colors.$color-black;
9
9
 
10
10
  @include bem.b(u-icon) {
@@ -14,7 +14,7 @@ $fill-color: colors.$color-black;
14
14
  background-repeat: no-repeat !important;
15
15
  background-position: center center !important;
16
16
 
17
- // Sizes
17
+ /* Sizes */
18
18
  @include bem.m(smallest) {
19
19
  width: var.$icon-size-smallest !important;
20
20
  height: var.$icon-size-smallest !important;
@@ -50,10 +50,10 @@ $fill-color: colors.$color-black;
50
50
  }
51
51
  }
52
52
 
53
- // Specific icons
53
+ /* Specific icons */
54
54
  @include bem.m(check) {
55
55
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24.42' fill='" + $fill-color + "'%3E%3Cpolygon points='12.04 24.42 0 13.26 2.87 10.16 11.81 18.44 28.9 0 32 2.87 12.04 24.42' data-name='Layer 3'/%3E%3C/svg%3E") !important;
56
- // Colors
56
+ /* Colors */
57
57
  @include bem.m(jade) {
58
58
  $fill-color: colors.$color-jade !important;
59
59
 
@@ -3,7 +3,7 @@
3
3
  @use '../configurations/variables' as var;
4
4
  @use '../configurations/functions' as func;
5
5
 
6
- /// @group Utilities
6
+ /* @group Utilities */
7
7
  $class-m: u-m !default;
8
8
  $class-m-t: u-m-t !default;
9
9
  $class-m-r: u-m-r !default;
@@ -13,38 +13,38 @@ $class-m-x: u-m-x !default;
13
13
  $class-m-y: u-m-y !default;
14
14
 
15
15
  @for $i from 0 through 8 {
16
- // Margin all
16
+ /* Margin all */
17
17
  .#{$class-m}-#{$i} {
18
18
  margin: func.rhythm($i) !important;
19
19
  }
20
20
 
21
- // Margin top
21
+ /* Margin top */
22
22
  .#{$class-m-t}-#{$i} {
23
23
  margin-top: func.rhythm($i) !important;
24
24
  }
25
25
 
26
- // Margin right
26
+ /* Margin right */
27
27
  .#{$class-m-r}-#{$i} {
28
28
  margin-right: func.rhythm($i) !important;
29
29
  }
30
30
 
31
- // Margin bottom
31
+ /* Margin bottom */
32
32
  .#{$class-m-b}-#{$i} {
33
33
  margin-bottom: func.rhythm($i) !important;
34
34
  }
35
35
 
36
- // Margin left
36
+ /* Margin left */
37
37
  .#{$class-m-l}-#{$i} {
38
38
  margin-left: func.rhythm($i) !important;
39
39
  }
40
40
 
41
- // Margin x (left and right)
41
+ /* Margin x (left and right) */
42
42
  .#{$class-m-x}-#{$i} {
43
43
  margin-right: func.rhythm($i) !important;
44
44
  margin-left: func.rhythm($i) !important;
45
45
  }
46
46
 
47
- // Margin y (top and bottom)
47
+ /* Margin y (top and bottom) */
48
48
  .#{$class-m-y}-#{$i} {
49
49
  margin-top: func.rhythm($i) !important;
50
50
  margin-bottom: func.rhythm($i) !important;
@@ -3,7 +3,7 @@
3
3
  @use '../configurations/variables' as var;
4
4
  @use '../configurations/functions' as func;
5
5
 
6
- /// @group Utilities
6
+ /* @group Utilities */
7
7
  $class-p: u-p !default;
8
8
  $class-p-t: u-p-t !default;
9
9
  $class-p-r: u-p-r !default;
@@ -14,38 +14,38 @@ $class-p-y: u-p-y !default;
14
14
 
15
15
  /* stylelint-disable */
16
16
  @for $i from 0 through 8 {
17
- // Padding all
17
+ /* Padding all */
18
18
  .#{$class-p}-#{$i} {
19
19
  padding: func.rhythm($i) !important;
20
20
  }
21
21
 
22
- // Padding top
22
+ /* Padding top */
23
23
  .#{$class-p-t}-#{$i} {
24
24
  padding-top: func.rhythm($i) !important;
25
25
  }
26
26
 
27
- // Padding right
27
+ /* Padding right */
28
28
  .#{$class-p-r}-#{$i} {
29
29
  padding-right: func.rhythm($i) !important;
30
30
  }
31
31
 
32
- // Padding bottom
32
+ /* Padding bottom */
33
33
  .#{$class-p-b}-#{$i} {
34
34
  padding-bottom: func.rhythm($i) !important;
35
35
  }
36
36
 
37
- // Padding left
37
+ /* Padding left */
38
38
  .#{$class-p-l}-#{$i} {
39
39
  padding-left: func.rhythm($i) !important;
40
40
  }
41
41
 
42
- // Padding x (left and right)
42
+ /* Padding x (left and right) */
43
43
  .#{$class-p-x}-#{$i} {
44
44
  padding-right: func.rhythm($i) !important;
45
45
  padding-left: func.rhythm($i) !important;
46
46
  }
47
47
 
48
- // Padding x (left and right)
48
+ /* Padding x (left and right) */
49
49
  .#{$class-p-y}-#{$i} {
50
50
  padding-top: func.rhythm($i) !important;
51
51
  padding-bottom: func.rhythm($i) !important;