@internetstiftelsen/styleguide 4.1.13 → 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.
- package/dist/assets/js/iconToggle.js +1 -2
- package/dist/assets/js/parallax.js +0 -2
- package/dist/assets/js/textToggle.js +0 -1
- package/dist/assets/js/track.js +2 -2
- package/dist/assets/js/youtube.js +2 -1
- package/dist/components.js +0 -4
- package/dist/molecules/glider/glider-hero.js +1 -2
- package/dist/molecules/modal/modal.js +2 -2
- package/dist/molecules/overview-navigation/overview-navigation.js +1 -2
- package/dist/organisms/mailchimp/mailchimp.js +2 -1
- package/dist/organisms/tabs/tabs.js +3 -2
- package/dist/organisms/timeline/timeline.js +2 -4
- package/package.json +23 -18
- package/src/app.js +1 -15
- package/src/app.scss +85 -88
- package/src/assets/js/iconToggle.js +2 -2
- package/src/assets/js/parallax.js +0 -2
- package/src/assets/js/textToggle.js +1 -1
- package/src/assets/js/track.js +2 -2
- package/src/assets/js/youtube.js +2 -1
- package/src/atoms/archive-link/archive-link.config.js +1 -1
- package/src/atoms/archive-link/archive-link.scss +24 -17
- package/src/atoms/button/_button.scss +216 -210
- package/src/atoms/checkbox/_checkbox.scss +33 -26
- package/src/atoms/checkbox/checkbox.config.js +1 -1
- package/src/atoms/file/_file.scss +23 -13
- package/src/atoms/file/file.config.js +1 -1
- package/src/atoms/grid-toggle/_grid-toggle.scss +11 -6
- package/src/atoms/grid-toggle/grid-toggle.config.js +1 -1
- package/src/atoms/height-limiter/_height-limiter.scss +21 -14
- package/src/atoms/height-limiter/height-limiter.config.js +1 -1
- package/src/atoms/hr/hr.config.js +1 -1
- package/src/atoms/icon/icon.config.js +2 -2
- package/src/atoms/input/_input.scss +23 -16
- package/src/atoms/input/input.config.js +1 -1
- package/src/atoms/label/label.config.js +1 -1
- package/src/atoms/label/label.scss +11 -5
- package/src/atoms/logotype/_logotype.scss +3 -2
- package/src/atoms/logotype/logotype.config.js +3 -3
- package/src/atoms/main-menu/_main-menu.scss +67 -60
- package/src/atoms/main-menu/main-menu.config.js +1 -1
- package/src/atoms/meta/_meta.scss +44 -33
- package/src/atoms/meta/meta.config.js +2 -2
- package/src/atoms/paging/_paging.scss +27 -21
- package/src/atoms/paging/paging.config.js +1 -1
- package/src/atoms/password-toggle/_password-toggle.scss +9 -6
- package/src/atoms/password-toggle/password-toggle.config.js +1 -1
- package/src/atoms/progress/_progress.scss +19 -11
- package/src/atoms/progress/progress.config.js +1 -1
- package/src/atoms/quote/_quote.scss +17 -10
- package/src/atoms/quote/quote.config.js +1 -1
- package/src/atoms/radiobutton/_radiobutton.scss +33 -26
- package/src/atoms/radiobutton/radiobutton.config.js +1 -1
- package/src/atoms/range/_range.scss +46 -39
- package/src/atoms/range/range.config.js +1 -1
- package/src/atoms/rating/_rating.scss +11 -4
- package/src/atoms/rating/rating.config.js +1 -1
- package/src/atoms/ribbon/_ribbon.scss +17 -10
- package/src/atoms/ribbon/ribbon.config.js +1 -1
- package/src/atoms/select/_select.scss +18 -10
- package/src/atoms/select/select.config.js +1 -1
- package/src/atoms/skip/_skip.scss +9 -6
- package/src/atoms/skip/skip.config.js +1 -1
- package/src/atoms/spinner/_spinner.scss +4 -3
- package/src/atoms/spinner/spinner.config.js +1 -1
- package/src/atoms/tag/_tag.scss +26 -19
- package/src/atoms/tag/tag.config.js +1 -1
- package/src/atoms/textarea/_textarea.scss +22 -13
- package/src/atoms/textarea/textarea.config.js +1 -1
- package/src/atoms/toggle-button/toggle-button.config.js +1 -1
- package/src/atoms/tooltip/_tooltip.scss +28 -21
- package/src/atoms/tooltip/tooltip.config.js +1 -1
- package/src/base/_grid.scss +4 -4
- package/src/base/_normalize.scss +122 -120
- package/src/base/fonts/_fonts.scss +1 -1
- package/src/brandbook/goto10/goto10.config.js +1 -1
- package/src/brandbook/internetstiftelsen/bildman/303/251r/bildman/303/251r.config.js +1 -1
- package/src/brandbook/internetstiftelsen/identitet/identitet.config.js +1 -1
- package/src/brandbook/internetstiftelsen/tonalitet och spr/303/245kbruk/tonalitet och spr/303/245kbruk.config.js" +1 -1
- package/src/components.js +0 -2
- package/src/configurations/_bem.scss +30 -27
- package/src/configurations/_config.scss +24 -23
- package/src/configurations/_extends.scss +38 -34
- package/src/configurations/_functions.scss +25 -9
- package/src/configurations/_mixins.scss +23 -19
- package/src/configurations/_recaptcha.scss +2 -2
- package/src/configurations/_variables.scss +40 -46
- package/src/configurations/_wordpress.scss +69 -62
- package/src/configurations/colors/_background-colors.scss +3 -2
- package/src/configurations/colors/_colors-functions.scss +41 -39
- package/src/configurations/colors/_colors.scss +4 -4
- package/src/configurations/colors/_text-colors.scss +3 -2
- package/src/configurations/colors/_wordpress-colors.scss +3 -2
- package/src/configurations/colors/colors.config.js +1 -1
- package/src/configurations/favicon/favicon.config.js +1 -1
- package/src/configurations/forms/_fields.scss +28 -23
- package/src/configurations/grid/_grid.scss +33 -28
- package/src/configurations/grid/grid.config.js +1 -1
- package/src/configurations/icons.json +1 -1
- package/src/configurations/typography/_typography.scss +113 -105
- package/src/configurations/typography/readme.md +1 -1
- package/src/configurations/typography/typography.config.js +1 -1
- package/src/globals.scss +16 -18
- package/src/isolated-footer.scss +25 -25
- package/src/molecules/alert/_alert.scss +44 -35
- package/src/molecules/alert/alert.config.js +1 -1
- package/src/molecules/breadcrumb/_breadcrumb.scss +43 -35
- package/src/molecules/breadcrumb/breadcrumb.config.js +1 -1
- package/src/molecules/byline/_byline.scss +30 -21
- package/src/molecules/byline/byline.config.js +1 -1
- package/src/molecules/card/_card.scss +87 -77
- package/src/molecules/context-menu/_context-menu.scss +32 -15
- package/src/molecules/context-menu/context-menu.config.js +11 -11
- package/src/molecules/continue-video-guide/continue-video-guide.config.js +1 -1
- package/src/molecules/continue-video-guide/continue-video-guide.scss +37 -28
- package/src/molecules/cookie-disclaimer/cookie-disclaimer.config.js +1 -1
- package/src/molecules/cookie-disclaimer/cookie-disclaimer.scss +32 -23
- package/src/molecules/download/_download.scss +38 -30
- package/src/molecules/download/download.config.js +1 -1
- package/src/molecules/form/form.config.js +1 -1
- package/src/molecules/form-control/_form-control.scss +66 -58
- package/src/molecules/form-control/form-control.config.js +1 -1
- package/src/molecules/glider/_glider-course.scss +29 -23
- package/src/molecules/glider/_glider-hero.scss +112 -104
- package/src/molecules/glider/_glider.scss +36 -30
- package/src/molecules/glider/glider-hero.js +1 -3
- package/src/molecules/glider/glider.config.js +1 -1
- package/src/molecules/icon-overlay/_icon-overlay.scss +29 -20
- package/src/molecules/icon-overlay/icon-overlay.config.js +1 -1
- package/src/molecules/info-box/_info-box.scss +31 -22
- package/src/molecules/info-box/info-box.config.js +1 -1
- package/src/molecules/input-group/_input-group.scss +23 -13
- package/src/molecules/input-group/input-group.config.js +1 -1
- package/src/molecules/modal/_modal.scss +77 -65
- package/src/molecules/modal/modal.js +2 -2
- package/src/molecules/multi-select/_multi-select.scss +44 -33
- package/src/molecules/multi-select/multi-select.js +3 -3
- package/src/molecules/natural-language-form/_natural-language-form.scss +33 -23
- package/src/molecules/natural-language-form/natural-language-form.config.js +4 -4
- package/src/molecules/overview-navigation/_overview-navigation.scss +54 -45
- package/src/molecules/overview-navigation/overview-navigation.js +2 -2
- package/src/molecules/readspeaker/_readspeaker.scss +1 -1
- package/src/molecules/share/_share.scss +23 -15
- package/src/molecules/share/share.config.js +1 -1
- package/src/molecules/submenu/_submenu.scss +77 -69
- package/src/molecules/submenu/submenu.config.js +1 -1
- package/src/molecules/system-error/_system-error.scss +26 -17
- package/src/molecules/system-error/system-error.config.js +1 -1
- package/src/molecules/table/_table.scss +50 -42
- package/src/molecules/table/table.config.js +1 -1
- package/src/molecules/teaser-news-list/_teaser-news-list.scss +21 -12
- package/src/molecules/teaser-news-list/teaser-news-list.config.js +1 -1
- package/src/organisms/accordion/_accordion.scss +64 -54
- package/src/organisms/accordion/accordion.config.js +1 -1
- package/src/organisms/domain-search/_domain-search.scss +54 -45
- package/src/organisms/domain-search/domain-search.config.js +1 -1
- package/src/organisms/event-listing-item/_event-listing-item.scss +36 -26
- package/src/organisms/features-box/_features-box.scss +30 -19
- package/src/organisms/filter/_filter.scss +15 -10
- package/src/organisms/filter/filter.config.js +1 -1
- package/src/organisms/footer/_footer.scss +121 -111
- package/src/organisms/footer/footer.config.js +1 -1
- package/src/organisms/header/_header.scss +24 -14
- package/src/organisms/header/header.config.js +1 -1
- package/src/organisms/hero/_hero--bbk.scss +50 -38
- package/src/organisms/hero/_hero--dynamic-headline.scss +49 -39
- package/src/organisms/hero/_hero.scss +222 -207
- package/src/organisms/hero/hero.config.js +37 -38
- package/src/organisms/mailchimp/_mailchimp.scss +53 -43
- package/src/organisms/mailchimp/mailchimp.config.js +1 -1
- package/src/organisms/mailchimp/mailchimp.js +2 -1
- package/src/organisms/mega-menu/_mega-menu.scss +55 -45
- package/src/organisms/mega-menu/mega-menu.config.js +1 -1
- package/src/organisms/members-service-product/_members-service-product.scss +29 -18
- package/src/organisms/members-service-product/members-service-product.config.js +6 -8
- package/src/organisms/podcast/_podcast-episodes.scss +85 -75
- package/src/organisms/podcast/_podcast-player.scss +73 -64
- package/src/organisms/podcast/podcast.config.js +1 -1
- package/src/organisms/schedule/_schedule.scss +92 -82
- package/src/organisms/search/_search.scss +68 -58
- package/src/organisms/search-result/_search-result.scss +50 -40
- package/src/organisms/search-result/search-result.config.js +1 -1
- package/src/organisms/sections/_sections.scss +41 -31
- package/src/organisms/sections/sections.config.js +1 -1
- package/src/organisms/tabs/_tabs.scss +58 -46
- package/src/organisms/tabs/tabs.config.js +1 -1
- package/src/organisms/tabs/tabs.js +3 -2
- package/src/organisms/timeline/_timeline.scss +92 -81
- package/src/organisms/timeline/timeline.config.js +1 -1
- package/src/organisms/timeline/timeline.js +3 -2
- package/src/organisms/video-guide/VideoGuidePlayback.js +1 -1
- package/src/organisms/video-guide/_video-guide.scss +148 -138
- package/src/organisms/video-guide/video-guide.config.js +1 -1
- package/src/organisms/video-guide/video-guide.js +2 -2
- package/src/pages/animate-footer/animate-footer.config.js +181 -2
- package/src/pages/bredbandskollen/bredbandskollen.config.js +1 -1
- package/src/pages/conditional/conditional.config.js +1 -1
- package/src/pages/dark-mode/dark-mode.config.js +1 -1
- package/src/pages/internetguider/internetguider.config.js +1 -1
- package/src/pages/magazine/magazine.config.js +1 -1
- package/src/pages/mailchimp-newsletter/mailchimp-newsletter.config.js +1 -1
- package/src/pages/responsive-position/responsive-position.config.js +1 -1
- package/src/pages/search/search.config.js +1 -1
- package/src/pages/wordpress-blocks/wordpress-blocks.config.js +1 -1
- package/src/print.scss +1 -1
- package/src/structures/_article.scss +39 -28
- package/src/structures/_core-values.scss +14 -2
- package/src/structures/_manifest.scss +4 -4
- package/src/structures/_section.scss +32 -20
- package/src/structures/_site.scss +19 -7
- package/src/theme/_dark-mode.scss +14 -13
- package/src/theme/_theme.scss +29 -26
- package/src/utilities/_align.scss +1 -1
- package/src/utilities/_border.scss +5 -3
- package/src/utilities/_box-shadow.scss +5 -2
- package/src/utilities/_display.scss +1 -1
- package/src/utilities/_fill.scss +5 -4
- package/src/utilities/_flex.scss +1 -1
- package/src/utilities/_font-size.scss +6 -5
- package/src/utilities/_fonts.scss +6 -5
- package/src/utilities/_gutter.scss +3 -2
- package/src/utilities/_hide.scss +17 -15
- package/src/utilities/_icons.scss +41 -37
- package/src/utilities/_indent.scss +8 -6
- package/src/utilities/_links.scss +22 -18
- package/src/utilities/_lists.scss +19 -14
- package/src/utilities/_manifest.scss +27 -27
- package/src/utilities/_margin.scss +28 -25
- package/src/utilities/_misc.scss +3 -2
- package/src/utilities/_padding.scss +26 -23
- package/src/utilities/_position.scss +3 -2
- package/src/utilities/_show.scss +7 -6
- package/src/utilities/_text.scss +1 -1
- package/src/utilities/_vertical-align.scss +1 -1
- package/src/utilities/_wrap.scss +1 -1
- package/src/utilities/_z-index.scss +7 -6
- package/src/utilities/tab-highlighting/_tab-highlighting.scss +6 -5
- package/src/vendor/baseline/_plumber.scss +14 -13
- package/src/vendor/grid/_breakpoints.scss +17 -13
- package/src/vendor/grid/_flex.scss +8 -4
- package/src/vendor/grid/_functions.scss +9 -6
- package/src/vendor/grid/_grid-framework.scss +14 -9
- package/src/vendor/grid/_grid.scss +19 -16
- package/src/vendor/grid/_spacing.scss +8 -3
- package/src/atoms/toggle-high-contrast/readme.md +0 -6
- package/src/atoms/toggle-high-contrast/toggle-high-contrast.config.js +0 -8
- package/src/atoms/toggle-high-contrast/toggle-high-contrast.js +0 -10
- package/src/molecules/modal/modal-graph.js +0 -40
|
@@ -1,26 +1,34 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
|
|
3
2
|
@use "sass:math";
|
|
4
3
|
@use "sass:color";
|
|
5
|
-
|
|
6
|
-
@
|
|
7
|
-
|
|
4
|
+
@use '../../configurations/mixins' as mixin;
|
|
5
|
+
@use '../../configurations/bem' as bem;
|
|
6
|
+
@use '../../configurations/config' as config;
|
|
7
|
+
@use '../../configurations/variables' as var;
|
|
8
|
+
@use '../../configurations/functions' as func;
|
|
9
|
+
@use '../../configurations/colors/colors' as colors;
|
|
10
|
+
@use '../../configurations/colors/colors-functions' as colorFunc;
|
|
11
|
+
@use '../../vendor/grid/breakpoints' as breakpoint;
|
|
12
|
+
@use '../../vendor/grid/grid' as grid;
|
|
13
|
+
|
|
14
|
+
@include mixin.molecule(submenu) {
|
|
15
|
+
margin: 0 0 func.rhythm(2) 0;
|
|
8
16
|
padding: 0;
|
|
9
17
|
overflow: hidden;
|
|
10
|
-
border-radius:
|
|
11
|
-
background-color:
|
|
18
|
+
border-radius: var.$border-radius;
|
|
19
|
+
background-color: colors.$color-snow;
|
|
12
20
|
list-style: none;
|
|
13
21
|
|
|
14
|
-
@include e(title) {
|
|
22
|
+
@include bem.e(title) {
|
|
15
23
|
background-color: var(--m-submenu-background-color);
|
|
16
24
|
|
|
17
|
-
@include e(link) {
|
|
25
|
+
@include bem.e(link) {
|
|
18
26
|
display: flex;
|
|
19
27
|
align-items: center;
|
|
20
28
|
justify-content: space-between;
|
|
21
|
-
padding: rhythm(2);
|
|
22
|
-
color:
|
|
23
|
-
font-family:
|
|
29
|
+
padding: func.rhythm(2);
|
|
30
|
+
color: colors.$color-cyberspace;
|
|
31
|
+
font-family: var.$font-family-headings;
|
|
24
32
|
text-decoration: none;
|
|
25
33
|
|
|
26
34
|
&:hover,
|
|
@@ -34,47 +42,47 @@
|
|
|
34
42
|
|
|
35
43
|
> svg {
|
|
36
44
|
flex-shrink: 0;
|
|
37
|
-
width:
|
|
38
|
-
height:
|
|
39
|
-
margin-left: rhythm(1);
|
|
45
|
+
width: var.$icon-size-small;
|
|
46
|
+
height: var.$icon-size-small;
|
|
47
|
+
margin-left: func.rhythm(1);
|
|
40
48
|
transform: rotate(-90deg);
|
|
41
49
|
}
|
|
42
50
|
|
|
43
|
-
@include bp-up(md) {
|
|
44
|
-
padding: rhythm(2) rhythm(3);
|
|
51
|
+
@include breakpoint.bp-up(md) {
|
|
52
|
+
padding: func.rhythm(2) func.rhythm(3);
|
|
45
53
|
|
|
46
54
|
> svg {
|
|
47
|
-
width:
|
|
48
|
-
height:
|
|
55
|
+
width: var.$icon-size-medium;
|
|
56
|
+
height: var.$icon-size-medium;
|
|
49
57
|
}
|
|
50
58
|
}
|
|
51
59
|
}
|
|
52
60
|
}
|
|
53
61
|
|
|
54
|
-
@include e(item) {
|
|
62
|
+
@include bem.e(item) {
|
|
55
63
|
margin: 0;
|
|
56
64
|
padding: 0;
|
|
57
65
|
|
|
58
66
|
& + & {
|
|
59
|
-
border-top: 1px solid
|
|
67
|
+
border-top: 1px solid colors.$color-ash;
|
|
60
68
|
}
|
|
61
69
|
|
|
62
70
|
&:last-child {
|
|
63
71
|
> a {
|
|
64
|
-
padding-bottom: rhythm(2);
|
|
72
|
+
padding-bottom: func.rhythm(2);
|
|
65
73
|
|
|
66
|
-
@include bp-up(md) {
|
|
67
|
-
padding-bottom: rhythm(3);
|
|
74
|
+
@include breakpoint.bp-up(md) {
|
|
75
|
+
padding-bottom: func.rhythm(3);
|
|
68
76
|
}
|
|
69
77
|
}
|
|
70
78
|
}
|
|
71
79
|
|
|
72
|
-
@include e(link) {
|
|
80
|
+
@include bem.e(link) {
|
|
73
81
|
display: flex;
|
|
74
82
|
position: relative;
|
|
75
83
|
align-items: center;
|
|
76
84
|
justify-content: space-between;
|
|
77
|
-
padding: rhythm(1) rhythm(6) rhythm(1) rhythm(2);
|
|
85
|
+
padding: func.rhythm(1) func.rhythm(6) func.rhythm(1) func.rhythm(2);
|
|
78
86
|
overflow: hidden;
|
|
79
87
|
color: var(--m-submenu-icon-fill-color);
|
|
80
88
|
text-decoration: none;
|
|
@@ -92,28 +100,28 @@
|
|
|
92
100
|
display: none;
|
|
93
101
|
position: absolute;
|
|
94
102
|
top: 50%;
|
|
95
|
-
right: rhythm(2);
|
|
103
|
+
right: func.rhythm(2);
|
|
96
104
|
flex-shrink: 0;
|
|
97
|
-
width:
|
|
98
|
-
height:
|
|
99
|
-
margin-left: rhythm(1);
|
|
100
|
-
padding: rhythm(0.5);
|
|
105
|
+
width: var.$icon-size;
|
|
106
|
+
height: var.$icon-size;
|
|
107
|
+
margin-left: func.rhythm(1);
|
|
108
|
+
padding: func.rhythm(0.5);
|
|
101
109
|
overflow: hidden;
|
|
102
110
|
transform: translateY(-50%);
|
|
103
111
|
border-radius: 50%;
|
|
104
112
|
background-color: var(--m-submenu-icon-background-hover-color);
|
|
105
113
|
fill: var(--m-submenu-icon-fill-color);
|
|
106
114
|
|
|
107
|
-
@include bp-up(md) {
|
|
108
|
-
right: rhythm(3);
|
|
109
|
-
width:
|
|
110
|
-
height:
|
|
111
|
-
padding: rhythm(1);
|
|
115
|
+
@include breakpoint.bp-up(md) {
|
|
116
|
+
right: func.rhythm(3);
|
|
117
|
+
width: var.$icon-size * 1.6;
|
|
118
|
+
height: var.$icon-size * 1.6;
|
|
119
|
+
padding: func.rhythm(1);
|
|
112
120
|
}
|
|
113
121
|
}
|
|
114
122
|
|
|
115
123
|
&.is-current {
|
|
116
|
-
font-family:
|
|
124
|
+
font-family: var.$font-family-headings;
|
|
117
125
|
pointer-events: none;
|
|
118
126
|
|
|
119
127
|
> svg {
|
|
@@ -121,30 +129,30 @@
|
|
|
121
129
|
}
|
|
122
130
|
}
|
|
123
131
|
|
|
124
|
-
@include bp-up(md) {
|
|
125
|
-
padding: rhythm(2) rhythm(7) rhythm(2) rhythm(3);
|
|
132
|
+
@include breakpoint.bp-up(md) {
|
|
133
|
+
padding: func.rhythm(2) func.rhythm(7) func.rhythm(2) func.rhythm(3);
|
|
126
134
|
}
|
|
127
135
|
|
|
128
|
-
@include m(has-sublevel) {
|
|
136
|
+
@include bem.m(has-sublevel) {
|
|
129
137
|
display: flex;
|
|
130
138
|
flex-grow: 1;
|
|
131
139
|
}
|
|
132
140
|
}
|
|
133
141
|
|
|
134
|
-
@include e(sublevel) {
|
|
142
|
+
@include bem.e(sublevel) {
|
|
135
143
|
display: flex;
|
|
136
144
|
justify-content: space-between;
|
|
137
145
|
}
|
|
138
146
|
|
|
139
|
-
@include e(toggle-button) {
|
|
147
|
+
@include bem.e(toggle-button) {
|
|
140
148
|
display: flex;
|
|
141
149
|
position: relative;
|
|
142
150
|
position: relative;
|
|
143
151
|
align-items: center;
|
|
144
152
|
margin: 0;
|
|
145
|
-
padding: rhythm(1) rhythm(3);
|
|
153
|
+
padding: func.rhythm(1) func.rhythm(3);
|
|
146
154
|
border: 0;
|
|
147
|
-
border-left: 1px solid color.adjust(
|
|
155
|
+
border-left: 1px solid color.adjust(colors.$color-ash, $lightness: -5%);
|
|
148
156
|
background-color: transparent;
|
|
149
157
|
|
|
150
158
|
&::before,
|
|
@@ -152,13 +160,13 @@
|
|
|
152
160
|
content: '';
|
|
153
161
|
display: block;
|
|
154
162
|
position: absolute;
|
|
155
|
-
top:
|
|
156
|
-
right:
|
|
157
|
-
width: math.div(
|
|
163
|
+
top: func.to_rem(22px);
|
|
164
|
+
right: func.to_rem(25px);
|
|
165
|
+
width: math.div(var.$icon-size-small, 1.5);
|
|
158
166
|
height: 2px;
|
|
159
167
|
transform-origin: center center;
|
|
160
168
|
transition: transform 0.25s ease-out;
|
|
161
|
-
background-color:
|
|
169
|
+
background-color: colors.$color-cyberspace;
|
|
162
170
|
}
|
|
163
171
|
|
|
164
172
|
&::before {
|
|
@@ -166,13 +174,13 @@
|
|
|
166
174
|
}
|
|
167
175
|
|
|
168
176
|
&::after {
|
|
169
|
-
right:
|
|
177
|
+
right: func.to_rem(18px);
|
|
170
178
|
transform: rotate(-45deg);
|
|
171
179
|
}
|
|
172
180
|
|
|
173
181
|
&[aria-expanded='true'] {
|
|
174
182
|
margin-bottom: -1px;
|
|
175
|
-
background-color: color.adjust(
|
|
183
|
+
background-color: color.adjust(colors.$color-ash, $lightness: 3%);
|
|
176
184
|
|
|
177
185
|
&::after {
|
|
178
186
|
transform: rotate(-135deg);
|
|
@@ -184,32 +192,32 @@
|
|
|
184
192
|
}
|
|
185
193
|
|
|
186
194
|
&:hover {
|
|
187
|
-
background-color: color.adjust(
|
|
195
|
+
background-color: color.adjust(colors.$color-ash, $lightness: 3%);
|
|
188
196
|
}
|
|
189
197
|
|
|
190
|
-
@include bp-up(md) {
|
|
191
|
-
padding: rhythm(2) rhythm(4);
|
|
198
|
+
@include breakpoint.bp-up(md) {
|
|
199
|
+
padding: func.rhythm(2) func.rhythm(4);
|
|
192
200
|
|
|
193
201
|
&::before,
|
|
194
202
|
&::after {
|
|
195
|
-
top:
|
|
196
|
-
right:
|
|
197
|
-
width:
|
|
203
|
+
top: func.to_rem(31px);
|
|
204
|
+
right: func.to_rem(33px);
|
|
205
|
+
width: var.$icon-size-small;
|
|
198
206
|
height: 3px;
|
|
199
207
|
}
|
|
200
208
|
|
|
201
209
|
&::after {
|
|
202
|
-
right:
|
|
210
|
+
right: func.to_rem(23px);
|
|
203
211
|
}
|
|
204
212
|
}
|
|
205
213
|
}
|
|
206
214
|
}
|
|
207
215
|
|
|
208
|
-
@include e(sublevel) {
|
|
216
|
+
@include bem.e(sublevel) {
|
|
209
217
|
margin: 0;
|
|
210
218
|
padding: 0;
|
|
211
|
-
border-top: 1px solid color.adjust(
|
|
212
|
-
background-color: color.adjust(
|
|
219
|
+
border-top: 1px solid color.adjust(colors.$color-ash, $lightness: -3%);
|
|
220
|
+
background-color: color.adjust(colors.$color-ash, $lightness: 3%);
|
|
213
221
|
list-style: none;
|
|
214
222
|
|
|
215
223
|
&[aria-hidden='true'] {
|
|
@@ -217,24 +225,24 @@
|
|
|
217
225
|
border-top: 1px solid transparent;
|
|
218
226
|
}
|
|
219
227
|
|
|
220
|
-
@include e(item) {
|
|
228
|
+
@include bem.e(item) {
|
|
221
229
|
margin: 0;
|
|
222
|
-
padding: 0 rhythm(1.5);
|
|
230
|
+
padding: 0 func.rhythm(1.5);
|
|
223
231
|
|
|
224
232
|
& + & {
|
|
225
|
-
border-top: 1px solid color.adjust(
|
|
233
|
+
border-top: 1px solid color.adjust(colors.$color-ash, $lightness: -4%);
|
|
226
234
|
}
|
|
227
235
|
|
|
228
236
|
/* Support for icon on sublevel */
|
|
229
237
|
|
|
230
|
-
@include e(link) {
|
|
238
|
+
@include bem.e(link) {
|
|
231
239
|
> svg {
|
|
232
240
|
display: none;
|
|
233
|
-
padding: rhythm(0.5);
|
|
234
|
-
background-color:
|
|
241
|
+
padding: func.rhythm(0.5);
|
|
242
|
+
background-color: colors.$color-concrete;
|
|
235
243
|
|
|
236
|
-
@include bp-up(md) {
|
|
237
|
-
padding: rhythm(1);
|
|
244
|
+
@include breakpoint.bp-up(md) {
|
|
245
|
+
padding: func.rhythm(1);
|
|
238
246
|
}
|
|
239
247
|
}
|
|
240
248
|
|
|
@@ -255,11 +263,11 @@
|
|
|
255
263
|
}
|
|
256
264
|
|
|
257
265
|
25% {
|
|
258
|
-
transform: translateY(-#{rhythm(0.5)}) rotate(-90deg);
|
|
266
|
+
transform: translateY(-#{func.rhythm(0.5)}) rotate(-90deg);
|
|
259
267
|
}
|
|
260
268
|
|
|
261
269
|
75% {
|
|
262
|
-
transform: translateY(rhythm(0.5)) rotate(-90deg);
|
|
270
|
+
transform: translateY(func.rhythm(0.5)) rotate(-90deg);
|
|
263
271
|
}
|
|
264
272
|
|
|
265
273
|
100% {
|
|
@@ -1,41 +1,50 @@
|
|
|
1
|
-
@charset
|
|
2
|
-
|
|
3
|
-
@
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
@use '../../configurations/mixins' as mixin;
|
|
3
|
+
@use '../../configurations/bem' as bem;
|
|
4
|
+
@use '../../configurations/config' as config;
|
|
5
|
+
@use '../../configurations/variables' as var;
|
|
6
|
+
@use '../../configurations/functions' as func;
|
|
7
|
+
@use '../../configurations/colors/colors' as colors;
|
|
8
|
+
@use '../../configurations/colors/colors-functions' as colorFunc;
|
|
9
|
+
@use '../../vendor/grid/breakpoints' as breakpoint;
|
|
10
|
+
@use '../../vendor/baseline/plumber' as plumber;
|
|
11
|
+
|
|
12
|
+
@include mixin.molecule(system-error) {
|
|
4
13
|
display: flex;
|
|
5
14
|
flex-direction: column;
|
|
6
15
|
align-items: center;
|
|
7
|
-
margin: rhythm(8) 0;
|
|
16
|
+
margin: func.rhythm(8) 0;
|
|
8
17
|
|
|
9
|
-
@include bp-up(md) {
|
|
18
|
+
@include breakpoint.bp-up(md) {
|
|
10
19
|
justify-content: center;
|
|
11
20
|
}
|
|
12
21
|
|
|
13
|
-
@include e(content) {
|
|
22
|
+
@include bem.e(content) {
|
|
14
23
|
max-width: 600px;
|
|
15
|
-
padding-right:
|
|
16
|
-
padding-left:
|
|
24
|
+
padding-right: var.$grid-gutter-width;
|
|
25
|
+
padding-left: var.$grid-gutter-width;
|
|
17
26
|
text-align: left;
|
|
18
27
|
}
|
|
19
28
|
|
|
20
|
-
@include e(heading) {
|
|
29
|
+
@include bem.e(heading) {
|
|
21
30
|
|
|
22
|
-
@include plumber(
|
|
23
|
-
|
|
31
|
+
@include plumber.plumber(
|
|
32
|
+
var.$font-size: 10,
|
|
24
33
|
$line-height: 11,
|
|
25
34
|
$leading-bottom: 2
|
|
26
35
|
);
|
|
27
36
|
|
|
28
37
|
animation: rumble 4s infinite linear;
|
|
29
|
-
font-family:
|
|
30
|
-
text-shadow: 0 1px 0 rgba(
|
|
38
|
+
font-family: var.$font-family-mono;
|
|
39
|
+
text-shadow: 0 1px 0 rgba(colors.$color-snow, 0.8), 0 30px 100px rgba(colors.$color-cyberspace, 0.5);
|
|
31
40
|
|
|
32
|
-
@include bp-up(md) {
|
|
41
|
+
@include breakpoint.bp-up(md) {
|
|
33
42
|
|
|
34
|
-
@include plumber(
|
|
35
|
-
|
|
43
|
+
@include plumber.plumber(
|
|
44
|
+
var.$font-size: 15,
|
|
36
45
|
$line-height: 16,
|
|
37
46
|
$leading-bottom: 4
|
|
38
47
|
);
|
|
39
48
|
}
|
|
40
49
|
}
|
|
41
|
-
}
|
|
50
|
+
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
@charset
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
@use '../../configurations/mixins' as mixin;
|
|
3
|
+
@use '../../configurations/bem' as bem;
|
|
4
|
+
@use '../../configurations/config' as config;
|
|
5
|
+
@use '../../configurations/variables' as var;
|
|
6
|
+
@use '../../configurations/functions' as func;
|
|
7
|
+
@use '../../configurations/colors/colors' as colors;
|
|
8
|
+
@use '../../configurations/colors/colors-functions' as colorFunc;
|
|
9
|
+
@use '../../vendor/grid/breakpoints' as breakpoint;
|
|
2
10
|
|
|
3
11
|
@mixin table() {
|
|
4
12
|
width: 100%;
|
|
@@ -7,14 +15,14 @@
|
|
|
7
15
|
counter-reset: table-counter;
|
|
8
16
|
|
|
9
17
|
caption {
|
|
10
|
-
font-family:
|
|
11
|
-
padding-top: rhythm(1);
|
|
12
|
-
padding-bottom: rhythm(1);
|
|
18
|
+
font-family: var.$font-family-headings;
|
|
19
|
+
padding-top: func.rhythm(1);
|
|
20
|
+
padding-bottom: func.rhythm(1);
|
|
13
21
|
}
|
|
14
22
|
|
|
15
23
|
thead,
|
|
16
24
|
tfoot {
|
|
17
|
-
font-family:
|
|
25
|
+
font-family: var.$font-family-mono;
|
|
18
26
|
font-size: 85%;
|
|
19
27
|
text-transform: uppercase;
|
|
20
28
|
}
|
|
@@ -22,15 +30,15 @@
|
|
|
22
30
|
tfoot {
|
|
23
31
|
th,
|
|
24
32
|
td {
|
|
25
|
-
border-top: 2px solid
|
|
26
|
-
font-family:
|
|
33
|
+
border-top: 2px solid colors.$color-granit;
|
|
34
|
+
font-family: var.$font-family-headings;
|
|
27
35
|
font-size: 90%;
|
|
28
36
|
|
|
29
37
|
&::before {
|
|
30
38
|
display: none;
|
|
31
39
|
}
|
|
32
40
|
|
|
33
|
-
@include bp-up(lg) {
|
|
41
|
+
@include breakpoint.bp-up(lg) {
|
|
34
42
|
font-size: 100%;
|
|
35
43
|
}
|
|
36
44
|
}
|
|
@@ -54,11 +62,11 @@
|
|
|
54
62
|
|
|
55
63
|
th,
|
|
56
64
|
td {
|
|
57
|
-
padding-top: rhythm(1);
|
|
58
|
-
padding-right: rhythm(2);
|
|
59
|
-
padding-bottom: rhythm(1);
|
|
60
|
-
padding-left: rhythm(2);
|
|
61
|
-
border-bottom: 2px solid
|
|
65
|
+
padding-top: func.rhythm(1);
|
|
66
|
+
padding-right: func.rhythm(2);
|
|
67
|
+
padding-bottom: func.rhythm(1);
|
|
68
|
+
padding-left: func.rhythm(2);
|
|
69
|
+
border-bottom: 2px solid colors.$color-granit;
|
|
62
70
|
color: var(--cyberspace-color);
|
|
63
71
|
font-size: 90%;
|
|
64
72
|
text-align: left;
|
|
@@ -80,7 +88,7 @@
|
|
|
80
88
|
display: inline;
|
|
81
89
|
}
|
|
82
90
|
|
|
83
|
-
@include bp-up(lg) {
|
|
91
|
+
@include breakpoint.bp-up(lg) {
|
|
84
92
|
font-size: 100%;
|
|
85
93
|
}
|
|
86
94
|
}
|
|
@@ -90,7 +98,7 @@
|
|
|
90
98
|
}
|
|
91
99
|
}
|
|
92
100
|
|
|
93
|
-
@include b(table-container) {
|
|
101
|
+
@include bem.b(table-container) {
|
|
94
102
|
position: relative;
|
|
95
103
|
width: 100%;
|
|
96
104
|
max-width: 1320px;
|
|
@@ -119,16 +127,16 @@
|
|
|
119
127
|
}
|
|
120
128
|
}
|
|
121
129
|
|
|
122
|
-
@include molecule(table) {
|
|
130
|
+
@include mixin.molecule(table) {
|
|
123
131
|
@include table();
|
|
124
132
|
|
|
125
|
-
@include m(columns) {
|
|
133
|
+
@include bem.m(columns) {
|
|
126
134
|
th {
|
|
127
|
-
border-bottom: 2px solid
|
|
135
|
+
border-bottom: 2px solid colors.$color-granit;
|
|
128
136
|
}
|
|
129
137
|
|
|
130
138
|
td {
|
|
131
|
-
border-bottom: 1px solid
|
|
139
|
+
border-bottom: 1px solid colors.$color-granit;
|
|
132
140
|
}
|
|
133
141
|
|
|
134
142
|
th,
|
|
@@ -139,7 +147,7 @@
|
|
|
139
147
|
}
|
|
140
148
|
}
|
|
141
149
|
|
|
142
|
-
@include m(rows) {
|
|
150
|
+
@include bem.m(rows) {
|
|
143
151
|
thead {
|
|
144
152
|
th {
|
|
145
153
|
background-color: var(--ash-color);
|
|
@@ -163,7 +171,7 @@
|
|
|
163
171
|
}
|
|
164
172
|
}
|
|
165
173
|
|
|
166
|
-
@include m(align-text-center) {
|
|
174
|
+
@include bem.m(align-text-center) {
|
|
167
175
|
th,
|
|
168
176
|
td {
|
|
169
177
|
text-align: center;
|
|
@@ -174,7 +182,7 @@
|
|
|
174
182
|
}
|
|
175
183
|
}
|
|
176
184
|
|
|
177
|
-
@include m(increment) {
|
|
185
|
+
@include bem.m(increment) {
|
|
178
186
|
tbody {
|
|
179
187
|
tr:nth-child(odd) {
|
|
180
188
|
th,
|
|
@@ -192,8 +200,8 @@
|
|
|
192
200
|
}
|
|
193
201
|
|
|
194
202
|
th {
|
|
195
|
-
width: rhythm(4);
|
|
196
|
-
padding-right: rhythm(3);
|
|
203
|
+
width: func.rhythm(4);
|
|
204
|
+
padding-right: func.rhythm(3);
|
|
197
205
|
|
|
198
206
|
&::before {
|
|
199
207
|
content: counter(table-counter);
|
|
@@ -202,14 +210,14 @@
|
|
|
202
210
|
}
|
|
203
211
|
}
|
|
204
212
|
|
|
205
|
-
@include m(lines) {
|
|
213
|
+
@include bem.m(lines) {
|
|
206
214
|
tbody {
|
|
207
215
|
tr {
|
|
208
216
|
background-image:
|
|
209
217
|
linear-gradient(
|
|
210
218
|
to right,
|
|
211
|
-
|
|
212
|
-
|
|
219
|
+
colors.$color-cyberspace,
|
|
220
|
+
colors.$color-cyberspace 2px,
|
|
213
221
|
transparent 2px,
|
|
214
222
|
transparent 6px
|
|
215
223
|
);
|
|
@@ -220,8 +228,8 @@
|
|
|
220
228
|
|
|
221
229
|
td,
|
|
222
230
|
th {
|
|
223
|
-
padding-top: rhythm(2);
|
|
224
|
-
padding-bottom: rhythm(2);
|
|
231
|
+
padding-top: func.rhythm(2);
|
|
232
|
+
padding-bottom: func.rhythm(2);
|
|
225
233
|
border: 0;
|
|
226
234
|
}
|
|
227
235
|
}
|
|
@@ -239,22 +247,22 @@
|
|
|
239
247
|
}
|
|
240
248
|
}
|
|
241
249
|
|
|
242
|
-
@include b(scroll-indicator) {
|
|
250
|
+
@include bem.b(scroll-indicator) {
|
|
243
251
|
display: block;
|
|
244
252
|
position: relative;
|
|
245
253
|
width: 100%;
|
|
246
|
-
height: rhythm(3);
|
|
254
|
+
height: func.rhythm(3);
|
|
247
255
|
|
|
248
256
|
&::before {
|
|
249
257
|
content: 'Scroll';
|
|
250
258
|
position: absolute;
|
|
251
|
-
z-index: z_index(background);
|
|
259
|
+
z-index: func.z_index(background);
|
|
252
260
|
top: 0;
|
|
253
|
-
right: rhythm(3);
|
|
254
|
-
width: rhythm(7);
|
|
261
|
+
right: func.rhythm(3);
|
|
262
|
+
width: func.rhythm(7);
|
|
255
263
|
height: 0;
|
|
256
264
|
animation: xPulse 2s infinite;
|
|
257
|
-
font-family:
|
|
265
|
+
font-family: var.$font-family-mono;
|
|
258
266
|
font-size: 80%;
|
|
259
267
|
text-transform: uppercase;
|
|
260
268
|
}
|
|
@@ -262,24 +270,24 @@
|
|
|
262
270
|
&::after {
|
|
263
271
|
content: '›';
|
|
264
272
|
position: absolute;
|
|
265
|
-
z-index: z_index(background);
|
|
266
|
-
top: -#{
|
|
273
|
+
z-index: func.z_index(background);
|
|
274
|
+
top: -#{func.to_rem(4px)};
|
|
267
275
|
right: 0;
|
|
268
276
|
animation: xPulse 2s infinite;
|
|
269
|
-
font-family:
|
|
277
|
+
font-family: var.$font-family-mono;
|
|
270
278
|
}
|
|
271
279
|
}
|
|
272
280
|
|
|
273
|
-
@include b(table-scroll-wrapper) {
|
|
281
|
+
@include bem.b(table-scroll-wrapper) {
|
|
274
282
|
|
|
275
|
-
@include b(table-container) {
|
|
283
|
+
@include bem.b(table-container) {
|
|
276
284
|
overflow-x: auto;
|
|
277
285
|
overflow-y: hidden;
|
|
278
286
|
-webkit-overflow-scrolling: touch;
|
|
279
287
|
}
|
|
280
288
|
|
|
281
|
-
@include bp-up(sm) {
|
|
282
|
-
@include b(scroll-indicator) {
|
|
289
|
+
@include breakpoint.bp-up(sm) {
|
|
290
|
+
@include bem.b(scroll-indicator) {
|
|
283
291
|
display: none;
|
|
284
292
|
}
|
|
285
293
|
}
|
|
@@ -1,30 +1,39 @@
|
|
|
1
|
-
@charset
|
|
2
|
-
|
|
3
|
-
@
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
@use '../../configurations/mixins' as mixin;
|
|
3
|
+
@use '../../configurations/extends';
|
|
4
|
+
@use '../../configurations/bem' as bem;
|
|
5
|
+
@use '../../configurations/config' as config;
|
|
6
|
+
@use '../../configurations/variables' as var;
|
|
7
|
+
@use '../../configurations/functions' as func;
|
|
8
|
+
@use '../../configurations/colors/colors' as colors;
|
|
9
|
+
@use '../../configurations/colors/colors-functions' as colorFunc;
|
|
10
|
+
@use '../../vendor/grid/breakpoints' as breakpoint;
|
|
11
|
+
|
|
12
|
+
@include mixin.molecule(teaser-news) {
|
|
4
13
|
height: 100%;
|
|
5
|
-
padding: rhythm(2);
|
|
6
|
-
border-radius:
|
|
14
|
+
padding: func.rhythm(2);
|
|
15
|
+
border-radius: var.$border-radius;
|
|
7
16
|
background-color: var(--snow-color);
|
|
8
17
|
|
|
9
|
-
@include bp-up(md) {
|
|
10
|
-
padding: rhythm(2) rhythm(4);
|
|
18
|
+
@include breakpoint.bp-up(md) {
|
|
19
|
+
padding: func.rhythm(2) func.rhythm(4);
|
|
11
20
|
}
|
|
12
21
|
|
|
13
|
-
@include e(list) {
|
|
22
|
+
@include bem.e(list) {
|
|
14
23
|
margin: 0;
|
|
15
24
|
padding: 0;
|
|
16
25
|
list-style: none;
|
|
17
26
|
}
|
|
18
27
|
|
|
19
|
-
@include e(item) {
|
|
28
|
+
@include bem.e(item) {
|
|
20
29
|
position: relative;
|
|
21
30
|
|
|
22
31
|
&:not(:last-child) {
|
|
23
|
-
margin-bottom: rhythm(3);
|
|
32
|
+
margin-bottom: func.rhythm(3);
|
|
24
33
|
}
|
|
25
34
|
}
|
|
26
35
|
|
|
27
|
-
@include e(link) {
|
|
36
|
+
@include bem.e(link) {
|
|
28
37
|
@extend %normalize-links;
|
|
29
38
|
|
|
30
39
|
color: currentcolor;
|
|
@@ -32,7 +41,7 @@
|
|
|
32
41
|
|
|
33
42
|
&:hover,
|
|
34
43
|
&:focus {
|
|
35
|
-
color:
|
|
44
|
+
color: colors.$color-ruby;
|
|
36
45
|
text-decoration: underline;
|
|
37
46
|
}
|
|
38
47
|
|