@internetstiftelsen/styleguide 2.26.21 → 2.26.23-beta.0.2
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/package.json +1 -1
- package/src/app.scss +3 -0
- package/src/atoms/icon/gauge-pointer.svg +1 -0
- package/src/atoms/main-menu/_main-menu.scss +1 -0
- package/src/atoms/meta/_meta.scss +24 -0
- package/src/atoms/progress/_progress.scss +48 -0
- package/src/atoms/progress/progress.config.js +11 -0
- package/src/atoms/range/_range.scss +104 -0
- package/src/atoms/range/range.config.js +45 -0
- package/src/atoms/range/range.js +23 -0
- package/src/components.js +1 -0
- package/src/configurations/typography/_typography.scss +9 -0
- package/src/molecules/card/_card.scss +9 -0
- package/src/organisms/hero/_hero--bbk.scss +141 -0
- package/src/organisms/mega-menu/mega-menu.config.js +166 -1
- package/src/pages/bredbandskollen/bredbandskollen.config.js +100 -0
- package/src/utilities/_fill.scss +12 -0
- package/src/utilities/_hide.scss +6 -0
- package/src/utilities/_icons.scss +11 -1
package/package.json
CHANGED
package/src/app.scss
CHANGED
|
@@ -41,6 +41,8 @@ $namespace: '';
|
|
|
41
41
|
@import 'atoms/ribbon/ribbon';
|
|
42
42
|
@import 'atoms/quote/quote';
|
|
43
43
|
@import 'atoms/rating/rating';
|
|
44
|
+
@import 'atoms/progress/progress';
|
|
45
|
+
@import 'atoms/range/range';
|
|
44
46
|
|
|
45
47
|
// Molecules
|
|
46
48
|
@import 'molecules/breadcrumb/breadcrumb';
|
|
@@ -74,6 +76,7 @@ $namespace: '';
|
|
|
74
76
|
@import 'organisms/mega-menu/mega-menu';
|
|
75
77
|
@import 'organisms/hero/hero';
|
|
76
78
|
@import 'organisms/hero/hero--dynamic-headline';
|
|
79
|
+
@import 'organisms/hero/hero--bbk';
|
|
77
80
|
@import 'organisms/sections/sections';
|
|
78
81
|
@import 'organisms/accordion/accordion';
|
|
79
82
|
@import 'organisms/domain-search/domain-search';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="32" height="30" xmlns="http://www.w3.org/2000/svg"><g fill-rule="nonzero" fill="none"><path d="M27.7 18.3C23.4 22.2 0 29.5 0 29.5S9.4 6.8 13.6 3c4.2-3.9 10.8-3.6 14.7.7 3.9 4.2 3.6 10.7-.6 14.6" fill="#3284BF"/><path d="M25.4 11.4c-.1 2.8-2.5 4.9-5.3 4.8-2.8-.1-4.9-2.5-4.8-5.3.1-2.8 2.5-4.9 5.3-4.8 2.7.2 4.9 2.5 4.8 5.3" fill="#FFF"/><path d="M25.4 11.4c-.1 2.8-2.5 4.9-5.3 4.8-2.8-.1-4.9-2.5-4.8-5.3.1-2.8 2.5-4.9 5.3-4.8 2.7.2 4.9 2.5 4.8 5.3" fill="#FFF"/></g></svg>
|
|
@@ -47,4 +47,28 @@
|
|
|
47
47
|
@include m(wrap) {
|
|
48
48
|
white-space: normal;
|
|
49
49
|
}
|
|
50
|
+
|
|
51
|
+
@include m(responsive) {
|
|
52
|
+
@include plumber(
|
|
53
|
+
$font-size: 1.4,
|
|
54
|
+
$baseline: $mono-baseline,
|
|
55
|
+
$leading-bottom: 0
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
@include bp-up(md) {
|
|
59
|
+
@include plumber(
|
|
60
|
+
$font-size: 1.6,
|
|
61
|
+
$baseline: $mono-baseline,
|
|
62
|
+
$leading-bottom: 0
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@include bp-up(lg) {
|
|
67
|
+
@include plumber(
|
|
68
|
+
$font-size: 1.7,
|
|
69
|
+
$baseline: $mono-baseline,
|
|
70
|
+
$leading-bottom: 0
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
50
74
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
3
|
+
@include atom(progress) {
|
|
4
|
+
&[value] {
|
|
5
|
+
-webkit-appearance: none;
|
|
6
|
+
-moz-appearance: none;
|
|
7
|
+
appearance: none;
|
|
8
|
+
display: block;
|
|
9
|
+
color: $color-ocean;
|
|
10
|
+
background: $color-concrete;
|
|
11
|
+
border: none;
|
|
12
|
+
width: 100%;
|
|
13
|
+
border-radius: 0;
|
|
14
|
+
height: rhythm(1);
|
|
15
|
+
|
|
16
|
+
@include bp-up(md) {
|
|
17
|
+
height: rhythm(2);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
&[value]::-webkit-progress-bar {
|
|
21
|
+
border-radius: 0;
|
|
22
|
+
background: $color-concrete;
|
|
23
|
+
}
|
|
24
|
+
&[value]::-webkit-progress-value {
|
|
25
|
+
border-radius: 0;
|
|
26
|
+
background: $color-ocean;
|
|
27
|
+
transition: width 5s ease;
|
|
28
|
+
}
|
|
29
|
+
&[value]::-moz-progress-bar {
|
|
30
|
+
border-radius: 0;
|
|
31
|
+
background: $color-ocean;
|
|
32
|
+
transition: padding-bottom 5s ease;
|
|
33
|
+
padding-left: 60px;
|
|
34
|
+
padding-bottom: var(--value);
|
|
35
|
+
height: 0;
|
|
36
|
+
transform-origin: 0 0;
|
|
37
|
+
transform: rotate(-90deg) translateX(-60px) ;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@include atom(progress-label) {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
|
|
45
|
+
> progress {
|
|
46
|
+
margin-left: rhythm(1);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
@charset 'UTF-8';
|
|
2
|
+
|
|
3
|
+
@include atom(range) {
|
|
4
|
+
-webkit-appearance: none;
|
|
5
|
+
appearance: none;
|
|
6
|
+
background: transparent;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
width: 100%;
|
|
9
|
+
|
|
10
|
+
&::-webkit-slider-runnable-track {
|
|
11
|
+
background-color: $color-concrete;
|
|
12
|
+
height: rhythm(1);
|
|
13
|
+
border-radius: $border-radius;
|
|
14
|
+
border-top: 1px solid lighten($color-granit, 15%);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&::-moz-range-track {
|
|
18
|
+
background-color: $color-concrete;
|
|
19
|
+
height: rhythm(1);
|
|
20
|
+
border-radius: $border-radius;
|
|
21
|
+
border-top: 1px solid $color-granit;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&::-webkit-slider-thumb {
|
|
25
|
+
-webkit-appearance: none;
|
|
26
|
+
appearance: none;
|
|
27
|
+
margin-top: -#{rhythm(1.125)};
|
|
28
|
+
background-color: $color-ash;
|
|
29
|
+
height: rhythm(3);
|
|
30
|
+
width: rhythm(1.5);
|
|
31
|
+
border: 1px solid $color-granit;
|
|
32
|
+
border-radius: $border-radius;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&::-moz-range-thumb {
|
|
36
|
+
background-color: $color-ash;
|
|
37
|
+
height: rhythm(3);
|
|
38
|
+
width: rhythm(1.5);
|
|
39
|
+
border-radius: 0;
|
|
40
|
+
border: 0;
|
|
41
|
+
border: 1px solid $color-granit;
|
|
42
|
+
border-radius: $border-radius;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:focus {
|
|
46
|
+
outline: none;
|
|
47
|
+
|
|
48
|
+
& + output {
|
|
49
|
+
background-color: $color-ocean-light;
|
|
50
|
+
|
|
51
|
+
&::after {
|
|
52
|
+
border-bottom-color: $color-ocean-light;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:disabled {
|
|
58
|
+
cursor: not-allowed;
|
|
59
|
+
opacity: 0.45;
|
|
60
|
+
|
|
61
|
+
& + output {
|
|
62
|
+
cursor: not-allowed;
|
|
63
|
+
opacity: 0.45;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:focus::-webkit-slider-thumb {
|
|
68
|
+
background-color: $color-snow;
|
|
69
|
+
border-color: $color-ocean;
|
|
70
|
+
box-shadow: 0 0 0 inset rgba($color-cyberspace, 0.2), 0 1px 2px rgba($color-cyberspace, 0.2), 0 0 0 3px $color-ocean-light;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:focus::-moz-range-thumb {
|
|
74
|
+
background-color: $color-snow;
|
|
75
|
+
border-color: $color-ocean;
|
|
76
|
+
box-shadow: 0 0 0 inset rgba($color-cyberspace, 0.2), 0 1px 2px rgba($color-cyberspace, 0.2), 0 0 0 3px $color-ocean-light;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include e(value){
|
|
80
|
+
background-color: $color-concrete;
|
|
81
|
+
padding: rhythm(0.5) rhythm(1);
|
|
82
|
+
position: absolute;
|
|
83
|
+
border-radius: $border-radius;
|
|
84
|
+
left: 50%;
|
|
85
|
+
transform: translateX(-50%) translateY(calc(100% + 8px));
|
|
86
|
+
font-size: $size-medium;
|
|
87
|
+
|
|
88
|
+
&::after {
|
|
89
|
+
bottom: 100%;
|
|
90
|
+
left: 50%;
|
|
91
|
+
border: solid transparent;
|
|
92
|
+
content: "";
|
|
93
|
+
height: 0;
|
|
94
|
+
width: 0;
|
|
95
|
+
position: absolute;
|
|
96
|
+
pointer-events: none;
|
|
97
|
+
border-color: rgba($color-concrete, 0);
|
|
98
|
+
border-bottom-color: $color-concrete;
|
|
99
|
+
border-width: 4px;
|
|
100
|
+
margin-left: -4px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
status: 'wip',
|
|
3
|
+
|
|
4
|
+
context: {
|
|
5
|
+
label: 'Värde',
|
|
6
|
+
id: 'value',
|
|
7
|
+
disabled: false,
|
|
8
|
+
value: '0',
|
|
9
|
+
min: '0',
|
|
10
|
+
max: '100',
|
|
11
|
+
step: '1',
|
|
12
|
+
},
|
|
13
|
+
variants: [
|
|
14
|
+
{
|
|
15
|
+
name: 'Decimals',
|
|
16
|
+
context: {
|
|
17
|
+
disabled: false,
|
|
18
|
+
value: '0',
|
|
19
|
+
min: '0',
|
|
20
|
+
max: '1',
|
|
21
|
+
step: '0.01'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'Minus value',
|
|
26
|
+
context: {
|
|
27
|
+
disabled: false,
|
|
28
|
+
value: '0',
|
|
29
|
+
min: '-100',
|
|
30
|
+
max: '100',
|
|
31
|
+
step: '01',
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Disabled',
|
|
36
|
+
context: {
|
|
37
|
+
disabled: true,
|
|
38
|
+
value: '0',
|
|
39
|
+
min: '0',
|
|
40
|
+
max: '100',
|
|
41
|
+
step: '1',
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const ranges = document.querySelectorAll('.js-range-wrapper');
|
|
2
|
+
function setValue(range, rangeValue) {
|
|
3
|
+
const val = range.value;
|
|
4
|
+
const min = range.min ? range.min : 0;
|
|
5
|
+
const max = range.max ? range.max : 100;
|
|
6
|
+
const newVal = Number(((val - min) * 100) / (max - min));
|
|
7
|
+
rangeValue.innerHTML = val;
|
|
8
|
+
|
|
9
|
+
// Sorta magic numbers based on size of the native UI thumb
|
|
10
|
+
rangeValue.style.left = `calc(${newVal}% + (${8 - newVal * 0.15}px))`;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
ranges.forEach((wrap) => {
|
|
14
|
+
const range = wrap.querySelector('.js-range');
|
|
15
|
+
const rangeValue = wrap.querySelector('.js-range-value');
|
|
16
|
+
|
|
17
|
+
range.addEventListener('input', () => {
|
|
18
|
+
setValue(range, rangeValue);
|
|
19
|
+
range.focus();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
setValue(range, rangeValue);
|
|
23
|
+
});
|
package/src/components.js
CHANGED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
@charset 'UTF-8';
|
|
2
|
+
|
|
3
|
+
@include organism(hero) {
|
|
4
|
+
@include m(bbk) {
|
|
5
|
+
background-color: $color-ocean-dark;
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-items: center;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
position: relative;
|
|
11
|
+
overflow: visible;
|
|
12
|
+
|
|
13
|
+
@include e(top) {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-items: center;
|
|
18
|
+
position: relative;
|
|
19
|
+
padding-top: rhythm(2);
|
|
20
|
+
padding-bottom: rhythm(2);
|
|
21
|
+
max-width: 100%;
|
|
22
|
+
|
|
23
|
+
@include bp-up(md) {
|
|
24
|
+
padding-top: rhythm(4);
|
|
25
|
+
padding-bottom: rhythm(4);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@include bp-up(lg) {
|
|
29
|
+
max-width: 900px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@include bp-up(xl) {
|
|
33
|
+
padding-top: rhythm(8);
|
|
34
|
+
padding-bottom: rhythm(8);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@include bp-up(xxl) {
|
|
38
|
+
padding-top: rhythm(10);
|
|
39
|
+
padding-bottom: rhythm(10);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include e(gauge) {
|
|
45
|
+
width: rem(162px);
|
|
46
|
+
height: rem(162px);
|
|
47
|
+
flex-shrink: 0;
|
|
48
|
+
transform: scale(.7) translate3d(0,0,0);
|
|
49
|
+
position: relative;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
@include bp-up(md) {
|
|
53
|
+
position: absolute;
|
|
54
|
+
left: 0;
|
|
55
|
+
top:37%;
|
|
56
|
+
transition: left 0.25s ease;
|
|
57
|
+
transform: scale(.7) translate3d(0,-50%,0);
|
|
58
|
+
|
|
59
|
+
&.is-testing {
|
|
60
|
+
left: 50%;
|
|
61
|
+
transition: scale 0.25s ease, transform 0.25s, left 0.25s ease;
|
|
62
|
+
transform: scale(.7) translate3d(-70%,-50%,0);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@include bp-up(xl) {
|
|
67
|
+
top: 50%;
|
|
68
|
+
transform: scale(1) translate3d(0,-50%,0);
|
|
69
|
+
|
|
70
|
+
&.is-testing {
|
|
71
|
+
left: 50%;
|
|
72
|
+
transition: scale 0.25s ease, transform 0.25s, left 0.25s ease;
|
|
73
|
+
transform: translate3d(-50%,-50%,0);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include e(icon-gauge) {
|
|
80
|
+
fill: $color-snow;
|
|
81
|
+
width: 100%;
|
|
82
|
+
height: 100%;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@include e(icon-pointer) {
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: 50%;
|
|
88
|
+
left: 50%;
|
|
89
|
+
width: rhythm(2);
|
|
90
|
+
height: rhythm(2);
|
|
91
|
+
margin-top: -#{rhythm(1)};
|
|
92
|
+
margin-left: -#{rhythm(1)};
|
|
93
|
+
transform: rotate(0deg);
|
|
94
|
+
transition: transform .8s;
|
|
95
|
+
|
|
96
|
+
&.is-testing {
|
|
97
|
+
transform: rotate(188deg);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&::before {
|
|
101
|
+
content: '';
|
|
102
|
+
display: block;
|
|
103
|
+
width: 46px;
|
|
104
|
+
height: 43px;
|
|
105
|
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMjcuNyAxOC4zQzIzLjQgMjIuMiAwIDI5LjUgMCAyOS41UzkuNCA2LjggMTMuNiAzYzQuMi0zLjkgMTAuOC0zLjYgMTQuNy43IDMuOSA0LjIgMy42IDEwLjctLjYgMTQuNiIgZmlsbD0iIzMyODRCRiIvPjxwYXRoIGQ9Ik0yNS40IDExLjRjLS4xIDIuOC0yLjUgNC45LTUuMyA0LjgtMi44LS4xLTQuOS0yLjUtNC44LTUuMy4xLTIuOCAyLjUtNC45IDUuMy00LjggMi43LjIgNC45IDIuNSA0LjggNS4zIiBmaWxsPSIjRkZGIi8+PHBhdGggZD0iTTI1LjQgMTEuNGMtLjEgMi44LTIuNSA0LjktNS4zIDQuOC0yLjgtLjEtNC45LTIuNS00LjgtNS4zLjEtMi44IDIuNS00LjkgNS4zLTQuOCAyLjcuMiA0LjkgMi41IDQuOCA1LjMiIGZpbGw9IiNGRkYiLz48L2c+PC9zdmc+Cg==');
|
|
106
|
+
background-repeat: no-repeat;
|
|
107
|
+
background-size: 46px 43px;
|
|
108
|
+
position: absolute;
|
|
109
|
+
top: -#{rem(7px)};
|
|
110
|
+
left: -#{rem(20px)};
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@include e(button) {
|
|
115
|
+
position: absolute;
|
|
116
|
+
bottom: 0;
|
|
117
|
+
transform: translateY(50%);
|
|
118
|
+
|
|
119
|
+
@extend %box-shadow;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@include e(text) {
|
|
123
|
+
color: $color-snow;
|
|
124
|
+
margin-left: rhythm(4);
|
|
125
|
+
transition: opacity 0.25s ease;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
opacity: 1;
|
|
128
|
+
|
|
129
|
+
&.is-minimized {
|
|
130
|
+
opacity: 0;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@include bp-up(md) {
|
|
134
|
+
max-width: 60%;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@include bp-up(lg) {
|
|
138
|
+
max-width: 60%;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -3,7 +3,172 @@ module.exports = {
|
|
|
3
3
|
|
|
4
4
|
context: {
|
|
5
5
|
hidden: 'false',
|
|
6
|
-
id: 'mega-menu'
|
|
6
|
+
id: 'mega-menu',
|
|
7
|
+
modifier:'',
|
|
8
|
+
columns: [
|
|
9
|
+
{
|
|
10
|
+
headline: 'Domäner',
|
|
11
|
+
topics: [
|
|
12
|
+
{
|
|
13
|
+
topic: '',
|
|
14
|
+
items: [
|
|
15
|
+
{
|
|
16
|
+
item: 'Är domänen ledig?'
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
item: 'Regler och beskrivning av whois'
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
item: 'Registrera en domän'
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
item: 'Villkor och regler'
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
item: '.se-/.nu-domäner som snart kan bli lediga'
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
item: 'Tips innan du registrerar en domän/Inspiration och tips'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
item: 'Återförsäljare'
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
item: 'Kontakta din kundtjänst'
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
item: 'Så fungerar ett domännamn'
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
item: 'Oseriösa metoder'
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
item: 'Tvistlösning'
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
item: 'Domännamnsbranschen'
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
item: 'Tjänster'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
item: 'Domänstatistik'
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
headline: 'Kunskap',
|
|
64
|
+
topics: [
|
|
65
|
+
{
|
|
66
|
+
topic: 'För skolan',
|
|
67
|
+
items: [
|
|
68
|
+
{
|
|
69
|
+
item: 'Digitala lektioner'
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
item: 'Lärarfortbildning'
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
item: 'Fördjupning'
|
|
76
|
+
},
|
|
77
|
+
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
topic: 'För samhället',
|
|
82
|
+
items: [
|
|
83
|
+
{
|
|
84
|
+
item: 'Svenskarna och internet'
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
item: 'Projekt internetaccess'
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
item: 'Federationers'
|
|
91
|
+
},
|
|
92
|
+
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
headline: 'Mötesplatser',
|
|
99
|
+
topics: [
|
|
100
|
+
{
|
|
101
|
+
topic: '',
|
|
102
|
+
items: [
|
|
103
|
+
{
|
|
104
|
+
item: 'Internetdagarna',
|
|
105
|
+
external: true
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
item: 'Goto 10',
|
|
109
|
+
external: true
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
item: 'Forskningssamarbeten',
|
|
113
|
+
external: true
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
item: 'Internetstiftelsen stöttar'
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
item: 'Investeringar',
|
|
120
|
+
external: true
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
headline: 'Om oss',
|
|
129
|
+
topics: [
|
|
130
|
+
{
|
|
131
|
+
topic: 'Presentation',
|
|
132
|
+
items: [
|
|
133
|
+
{
|
|
134
|
+
item: 'Jobba hos oss',
|
|
135
|
+
external: true
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
item: 'Press'
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
item: 'Pressbilder och fotografier'
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
item: 'Kontakt'
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
headline: 'English',
|
|
153
|
+
topics: [
|
|
154
|
+
{
|
|
155
|
+
topic: '',
|
|
156
|
+
items: [
|
|
157
|
+
{
|
|
158
|
+
item: 'Lorem ipsum'
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
item: 'Dolor sit amet'
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
item: 'Aenean sodales vestibulum'
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
}
|
|
171
|
+
]
|
|
7
172
|
},
|
|
8
173
|
variants: [
|
|
9
174
|
{
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
status: 'wip',
|
|
3
|
+
|
|
4
|
+
context: {
|
|
5
|
+
hidden: 'true',
|
|
6
|
+
id: true,
|
|
7
|
+
addidional_classes: false,
|
|
8
|
+
columns: [
|
|
9
|
+
{
|
|
10
|
+
headline: 'Om Bredbandskollen',
|
|
11
|
+
topics: [
|
|
12
|
+
{
|
|
13
|
+
topic: 'Mer om Bredbandskollen',
|
|
14
|
+
items: [
|
|
15
|
+
{
|
|
16
|
+
item: 'Appar för'
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
item: 'IOS och Android'
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
item: 'Värdera din uppkoppling'
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
item: 'Bredbandskollen över IPv6'
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
item: 'Bredbandskollen CLI'
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
item: 'Appar och behörighet'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
item: 'Problem med webbläsartillägg'
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
item: 'Mätning över http och websockets'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
headline: 'Hjälp',
|
|
47
|
+
topics: [
|
|
48
|
+
{
|
|
49
|
+
topic: '',
|
|
50
|
+
items: [
|
|
51
|
+
{
|
|
52
|
+
item: 'Frågor och svar'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
item: 'Surfa mobilt'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
item: 'Surfa trådlöst'
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
headline: 'English',
|
|
67
|
+
topics: [
|
|
68
|
+
{
|
|
69
|
+
topic: 'About Bredbandskollen',
|
|
70
|
+
items: [
|
|
71
|
+
{
|
|
72
|
+
item: 'More about Bredbandskollen'
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
item: 'Contact'
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
headline: 'Kontakt',
|
|
84
|
+
topics: [
|
|
85
|
+
{
|
|
86
|
+
topic: '',
|
|
87
|
+
items: [
|
|
88
|
+
{
|
|
89
|
+
item: 'Avtalsvillkor',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
item: 'Integritetspolicy',
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
}
|
package/src/utilities/_fill.scss
CHANGED
package/src/utilities/_hide.scss
CHANGED
|
@@ -15,7 +15,7 @@ $fill-color: $color-black;
|
|
|
15
15
|
width: $icon-size-smallest !important;
|
|
16
16
|
height: $icon-size-smallest !important;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
@include m(small) {
|
|
20
20
|
width: $icon-size-small !important;
|
|
21
21
|
height: $icon-size-small !important;
|
|
@@ -36,6 +36,16 @@ $fill-color: $color-black;
|
|
|
36
36
|
height: $icon-size-large * 1.5 !important;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
@include m(responsive) {
|
|
40
|
+
width: $icon-size !important;
|
|
41
|
+
height: $icon-size !important;
|
|
42
|
+
|
|
43
|
+
@include bp-up(md) {
|
|
44
|
+
width: $icon-size-large !important;
|
|
45
|
+
height: $icon-size-large !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
39
49
|
// Specific icons
|
|
40
50
|
@include m(check) {
|
|
41
51
|
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;
|