@internetstiftelsen/styleguide 4.1.9 → 4.1.10-beta.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/package.json +2 -2
- package/src/atoms/button/_button.scss +4 -3
- package/src/atoms/checkbox/_checkbox.scss +3 -2
- package/src/atoms/file/_file.scss +1 -1
- package/src/atoms/icon/_all-icons.zip +0 -0
- package/src/atoms/icon/search-domain.svg +1 -0
- package/src/atoms/icon/sprite.svg +3 -0
- package/src/atoms/main-menu/main-menu.config.js +5 -1
- package/src/atoms/meta/_meta.scss +8 -8
- package/src/atoms/paging/_paging.scss +2 -1
- package/src/atoms/radiobutton/_radiobutton.scss +3 -2
- package/src/atoms/range/_range.scss +2 -1
- package/src/atoms/textarea/_textarea.scss +10 -0
- package/src/atoms/textarea/rich-text.js +1 -1
- package/src/configurations/_extends.scss +5 -4
- package/src/configurations/colors/_colors-functions.scss +12 -6
- package/src/configurations/colors/_colors.scss +15 -7
- package/src/configurations/forms/_fields.scss +4 -3
- package/src/molecules/cookie-disclaimer/cookie-disclaimer.scss +2 -3
- package/src/molecules/glider/_glider.scss +2 -1
- package/src/molecules/submenu/_submenu.scss +7 -6
- package/src/molecules/table/_table.scss +1 -1
- package/src/organisms/accordion/_accordion.scss +4 -4
- package/src/organisms/domain-search/_domain-search.scss +4 -4
- package/src/organisms/domain-search/domain-search.config.js +2 -1
- package/src/organisms/event-listing-item/_event-listing-item.scss +4 -5
- package/src/organisms/mega-menu/_mega-menu.scss +174 -18
- package/src/organisms/mega-menu/mega-menu.config.js +34 -11
- package/src/organisms/podcast/_podcast-player.scss +2 -1
- package/src/organisms/search/_search.scss +7 -4
- package/src/organisms/tabs/_tabs.scss +2 -1
- package/src/organisms/video-guide/_video-guide.scss +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@internetstiftelsen/styleguide",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.10-beta.0.1",
|
|
4
4
|
"main": "dist/components.js",
|
|
5
5
|
"ports": {
|
|
6
6
|
"fractal": "3000"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"postcss-class-prefix": "^0.3.0",
|
|
66
66
|
"postcss-cli": "^8.3.1",
|
|
67
67
|
"replace": "^1.2.1",
|
|
68
|
-
"sass": "^1.
|
|
68
|
+
"sass": "^1.79.4",
|
|
69
69
|
"stylelint": "^13.13.1",
|
|
70
70
|
"uglify-es": "^3.3.9"
|
|
71
71
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
// Default Button
|
|
4
5
|
/// @group Buttons
|
|
@@ -342,7 +343,7 @@
|
|
|
342
343
|
|
|
343
344
|
&:hover,
|
|
344
345
|
&:focus {
|
|
345
|
-
color:
|
|
346
|
+
color: color.adjust($color-jade, $lightness: -10%);
|
|
346
347
|
text-shadow: none;
|
|
347
348
|
}
|
|
348
349
|
|
|
@@ -430,7 +431,7 @@
|
|
|
430
431
|
color: $color-peacock;
|
|
431
432
|
|
|
432
433
|
&:hover {
|
|
433
|
-
color:
|
|
434
|
+
color: color.adjust($color-peacock, $lightness: -10%);
|
|
434
435
|
text-shadow: none;
|
|
435
436
|
}
|
|
436
437
|
|
|
@@ -501,7 +502,7 @@
|
|
|
501
502
|
&:hover {
|
|
502
503
|
color: $color-sandstone;
|
|
503
504
|
}
|
|
504
|
-
|
|
505
|
+
|
|
505
506
|
&:focus {
|
|
506
507
|
color: $color-sandstone-light;
|
|
507
508
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
@include atom(checkbox) {
|
|
4
5
|
&[type='checkbox'] {
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
&:hover {
|
|
31
32
|
+ label {
|
|
32
33
|
&::before {
|
|
33
|
-
background-color:
|
|
34
|
+
background-color: color.adjust($color-ash, $lightness: -5%);
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
}
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
@extend %disabled;
|
|
59
60
|
|
|
60
61
|
&::before {
|
|
61
|
-
background-color:
|
|
62
|
+
background-color: color.adjust($color-concrete, $lightness: -5%);
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" id="icon-search-domain"><path d="m24 21.8 8 8-2.1 2.2-8-8c-5.9 4.6-14.3 3.6-19-2.2S-.7 7.6 5.1 2.9C10.9-1.8 19.3-.7 24 5.1c3.9 4.9 3.9 11.8 0 16.7Zm-10.6 2.1c5.8 0 10.5-4.7 10.5-10.5S19.2 3 13.4 3 3 7.7 3 13.4s4.7 10.5 10.4 10.5Z"/><path d="M6 15.2h1.8V17H6v-1.8ZM9.7 16.7c-.5-.3-.9-.6-1.2-1l1.2-1c.2.3.4.5.7.7.3.2.6.3 1 .3s.6 0 .8-.2c.2-.1.3-.3.3-.5s0-.3-.2-.4c-.1-.1-.3-.2-.4-.3s-.4-.1-.7-.2c-.5-.1-.9-.3-1.2-.4-.3-.1-.6-.4-.8-.6-.2-.3-.3-.6-.3-1.1s.1-.8.3-1.1.5-.5.9-.7c.4-.2.8-.3 1.3-.3s1 .1 1.5.3.8.5 1 .9l-1.1.8-.6-.6c-.3-.1-.5-.2-.8-.2s-.5 0-.6.2c-.2.1-.3.2-.3.4s0 .2.1.3.2.2.4.2.4.1.7.2c.5.1.9.3 1.3.4.3.1.6.3.9.6.3.3.4.7.4 1.2s-.1.8-.3 1.2c-.2.3-.6.6-1 .8-.4.2-.9.3-1.5.3s-1.3-.1-1.8-.4ZM16.2 16.7c-.5-.3-.9-.7-1.1-1.3-.2-.5-.4-1.1-.4-1.7s.1-1.2.3-1.8c.2-.5.6-1 1.1-1.3.5-.3 1.1-.5 1.8-.5s1.3.2 1.7.5c.5.3.8.7 1.1 1.2.2.5.4 1.1.4 1.8v.6h-4.6c0 .4.2.8.5 1 .3.3.7.4 1.2.4s1.2-.2 1.6-.7l1.2 1c-.4.4-.8.7-1.2.9-.5.2-1 .3-1.6.3s-1.4-.2-1.9-.5Zm3.3-3.8c0-.3 0-.5-.2-.7-.1-.2-.3-.4-.5-.5-.2-.1-.5-.2-.8-.2-.5 0-.9.1-1.1.4-.3.3-.4.6-.5 1h3.1Z"/></svg>
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
<symbol id="icon-search" viewbox="0 0 32 32">
|
|
9
9
|
<path d="M24,21.8l8,8L29.9,32l-8-8c-5.9,4.6-14.3,3.6-19-2.2S-0.7,7.6,5.1,2.9S19.3-0.7,24,5.1C27.9,10,27.9,16.9,24,21.8L24,21.8z M13.4,23.9c5.8,0,10.5-4.7,10.5-10.5S19.2,3,13.4,3S3,7.7,3,13.4S7.7,23.9,13.4,23.9z"/>
|
|
10
10
|
</symbol>
|
|
11
|
+
<symbol id="icon-search-domain" viewbox="0 0 32 32">
|
|
12
|
+
<path d="m24 21.8 8 8-2.1 2.2-8-8c-5.9 4.6-14.3 3.6-19-2.2S-.7 7.6 5.1 2.9C10.9-1.8 19.3-.7 24 5.1c3.9 4.9 3.9 11.8 0 16.7Zm-10.6 2.1c5.8 0 10.5-4.7 10.5-10.5S19.2 3 13.4 3 3 7.7 3 13.4s4.7 10.5 10.4 10.5Z"/><path d="M6 15.2h1.8V17H6v-1.8ZM9.7 16.7c-.5-.3-.9-.6-1.2-1l1.2-1c.2.3.4.5.7.7.3.2.6.3 1 .3s.6 0 .8-.2c.2-.1.3-.3.3-.5s0-.3-.2-.4c-.1-.1-.3-.2-.4-.3s-.4-.1-.7-.2c-.5-.1-.9-.3-1.2-.4-.3-.1-.6-.4-.8-.6-.2-.3-.3-.6-.3-1.1s.1-.8.3-1.1.5-.5.9-.7c.4-.2.8-.3 1.3-.3s1 .1 1.5.3.8.5 1 .9l-1.1.8-.6-.6c-.3-.1-.5-.2-.8-.2s-.5 0-.6.2c-.2.1-.3.2-.3.4s0 .2.1.3.2.2.4.2.4.1.7.2c.5.1.9.3 1.3.4.3.1.6.3.9.6.3.3.4.7.4 1.2s-.1.8-.3 1.2c-.2.3-.6.6-1 .8-.4.2-.9.3-1.5.3s-1.3-.1-1.8-.4ZM16.2 16.7c-.5-.3-.9-.7-1.1-1.3-.2-.5-.4-1.1-.4-1.7s.1-1.2.3-1.8c.2-.5.6-1 1.1-1.3.5-.3 1.1-.5 1.8-.5s1.3.2 1.7.5c.5.3.8.7 1.1 1.2.2.5.4 1.1.4 1.8v.6h-4.6c0 .4.2.8.5 1 .3.3.7.4 1.2.4s1.2-.2 1.6-.7l1.2 1c-.4.4-.8.7-1.2.9-.5.2-1 .3-1.6.3s-1.4-.2-1.9-.5Zm3.3-3.8c0-.3 0-.5-.2-.7-.1-.2-.3-.4-.5-.5-.2-.1-.5-.2-.8-.2-.5 0-.9.1-1.1.4-.3.3-.4.6-.5 1h3.1Z"/>
|
|
13
|
+
</symbol>
|
|
11
14
|
<symbol id="icon-arrow-forwards" viewbox="0 0 18.9 32">
|
|
12
15
|
<polygon points="2.8,0 18.9,16 2.8,32 0,29.1 12.5,16 0,2.9 "/>
|
|
13
16
|
</symbol>
|
|
@@ -68,7 +68,11 @@ module.exports = {
|
|
|
68
68
|
extra_class: 'js-toggle-mega-menu',
|
|
69
69
|
has_expandable: true,
|
|
70
70
|
controls: 'mega-menu',
|
|
71
|
-
hide_mobile: false
|
|
71
|
+
hide_mobile: false,
|
|
72
|
+
has_id: true,
|
|
73
|
+
id: 'mega-menu-text',
|
|
74
|
+
toggle_text: true,
|
|
75
|
+
data_toggle_text: 'Meny|Stäng'
|
|
72
76
|
}
|
|
73
77
|
]
|
|
74
78
|
}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
2
|
|
|
3
3
|
@include atom(meta) {
|
|
4
|
-
@include plumber(
|
|
5
|
-
$font-size: 1.7,
|
|
6
|
-
$baseline: $mono-baseline,
|
|
7
|
-
$leading-bottom: 0
|
|
8
|
-
);
|
|
9
|
-
|
|
10
|
-
@include color_values($colors, 'fill', $prefix: '--', $separator: '-');
|
|
11
|
-
|
|
12
4
|
display: flex;
|
|
13
5
|
position: relative;
|
|
14
6
|
align-items: center;
|
|
@@ -18,6 +10,14 @@
|
|
|
18
10
|
text-transform: uppercase;
|
|
19
11
|
white-space: nowrap;
|
|
20
12
|
|
|
13
|
+
@include plumber(
|
|
14
|
+
$font-size: 1.7,
|
|
15
|
+
$baseline: $mono-baseline,
|
|
16
|
+
$leading-bottom: 0
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
@include color_values($colors, 'fill', $prefix: '--', $separator: '-');
|
|
20
|
+
|
|
21
21
|
span {
|
|
22
22
|
margin-left: rem(3px);
|
|
23
23
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
// Forwards / backwards
|
|
4
5
|
/// @group Paging
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
border: 1px solid $color-ash;
|
|
30
31
|
border-radius: 50%;
|
|
31
32
|
background-color: $color-snow;
|
|
32
|
-
box-shadow: 0 3px 5px
|
|
33
|
+
box-shadow: 0 3px 5px color.adjust($color-granit, $lightness: 15%);
|
|
33
34
|
|
|
34
35
|
@include bp-up(sm) {
|
|
35
36
|
width: rhythm(6);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
@include atom(radio) {
|
|
4
5
|
&[type='radio'] {
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
&:hover {
|
|
32
33
|
+ label {
|
|
33
34
|
&::before {
|
|
34
|
-
background-color:
|
|
35
|
+
background-color: color.adjust($color-snow, $lightness: -5%);
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
}
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
@extend %disabled;
|
|
51
52
|
|
|
52
53
|
&::before {
|
|
53
|
-
background-color:
|
|
54
|
+
background-color: color.adjust($color-concrete, $lightness: -5%);
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
@include atom(range) {
|
|
4
5
|
-webkit-appearance: none;
|
|
@@ -12,7 +13,7 @@
|
|
|
12
13
|
background-color: $color-concrete;
|
|
13
14
|
height: rhythm(1);
|
|
14
15
|
border-radius: $border-radius;
|
|
15
|
-
border-top: 1px solid
|
|
16
|
+
border-top: 1px solid color.adjust($color-granit, $lightness: 15%);
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
&::-moz-range-track {
|
|
@@ -19,6 +19,16 @@
|
|
|
19
19
|
@extend %discreet;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
@include m(hidden) {
|
|
23
|
+
@include visuallyhidden;
|
|
24
|
+
|
|
25
|
+
// Usually in a field-group and we want validation messages at the top
|
|
26
|
+
top: 0;
|
|
27
|
+
min-height: 0;
|
|
28
|
+
min-width: 0;
|
|
29
|
+
padding: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
22
32
|
@include m(rich-text) {
|
|
23
33
|
min-height: auto;
|
|
24
34
|
|
|
@@ -180,7 +180,7 @@ export function setupTextArea(el, onChange = () => {}) {
|
|
|
180
180
|
editorEl.className = el.className;
|
|
181
181
|
editorEl.classList.add(className('a-textarea--rich-text'));
|
|
182
182
|
|
|
183
|
-
el.
|
|
183
|
+
el.classList.add(className('a-textarea--hidden'));
|
|
184
184
|
el.editor = editor;
|
|
185
185
|
|
|
186
186
|
el.parentNode.insertBefore(editorEl, el);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
%normalize-links {
|
|
4
5
|
padding: 0;
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
padding: rhythm(1);
|
|
61
62
|
border: 1px solid $color-granit;
|
|
62
63
|
border-radius: $border-radius;
|
|
63
|
-
background-color:
|
|
64
|
+
background-color: color.adjust($color-ash, $lightness: 4%);
|
|
64
65
|
-webkit-appearance: none;
|
|
65
66
|
font-size: rem(16px);
|
|
66
67
|
}
|
|
@@ -72,7 +73,7 @@
|
|
|
72
73
|
|
|
73
74
|
%invalid {
|
|
74
75
|
border-color: $color-ruby;
|
|
75
|
-
background-color:
|
|
76
|
+
background-color: color.adjust($color-ruby-light, $lightness: 16%);
|
|
76
77
|
}
|
|
77
78
|
|
|
78
79
|
%disabled {
|
|
@@ -88,12 +89,12 @@
|
|
|
88
89
|
|
|
89
90
|
%discreet {
|
|
90
91
|
border-style: dashed;
|
|
91
|
-
border-color:
|
|
92
|
+
border-color: color.adjust($color-granit, $lightness: 20%);
|
|
92
93
|
background-color: transparent;
|
|
93
94
|
|
|
94
95
|
&:focus {
|
|
95
96
|
border-style: solid;
|
|
96
|
-
background-color:
|
|
97
|
+
background-color: color.adjust($color-ash, $lightness: 4%);
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
100
|
|
|
@@ -24,32 +24,38 @@ $colors: (
|
|
|
24
24
|
ruby: (
|
|
25
25
|
base: $color-ruby,
|
|
26
26
|
light: $color-ruby-light,
|
|
27
|
-
dark: $color-ruby-dark
|
|
27
|
+
dark: $color-ruby-dark,
|
|
28
|
+
medium-dark: $color-ruby-medium-dark
|
|
28
29
|
),
|
|
29
30
|
peacock: (
|
|
30
31
|
base: $color-peacock,
|
|
31
32
|
light: $color-peacock-light,
|
|
32
|
-
dark: $color-peacock-dark
|
|
33
|
+
dark: $color-peacock-dark,
|
|
34
|
+
medium-dark: $color-peacock-medium-dark
|
|
33
35
|
),
|
|
34
36
|
jade: (
|
|
35
37
|
base: $color-jade,
|
|
36
38
|
light: $color-jade-light,
|
|
37
|
-
dark: $color-jade-dark
|
|
39
|
+
dark: $color-jade-dark,
|
|
40
|
+
medium-dark: $color-jade-medium-dark
|
|
38
41
|
),
|
|
39
42
|
sandstone: (
|
|
40
43
|
base: $color-sandstone,
|
|
41
44
|
light: $color-sandstone-light,
|
|
42
|
-
dark: $color-sandstone-dark
|
|
45
|
+
dark: $color-sandstone-dark,
|
|
46
|
+
medium-dark: $color-sandstone-medium-dark
|
|
43
47
|
),
|
|
44
48
|
lemon: (
|
|
45
49
|
base: $color-lemon,
|
|
46
50
|
light: $color-lemon-light,
|
|
47
|
-
dark: $color-lemon-dark
|
|
51
|
+
dark: $color-lemon-dark,
|
|
52
|
+
medium-dark: $color-lemon-medium-dark
|
|
48
53
|
),
|
|
49
54
|
ocean: (
|
|
50
55
|
base: $color-ocean,
|
|
51
56
|
light: $color-ocean-light,
|
|
52
|
-
dark : $color-ocean-dark
|
|
57
|
+
dark : $color-ocean-dark,
|
|
58
|
+
medium-dark: $color-ocean-medium-dark
|
|
53
59
|
)
|
|
54
60
|
);
|
|
55
61
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
/// @group Colors
|
|
4
5
|
$color-black: #000 !default;
|
|
@@ -24,11 +25,18 @@ $color-facebook: #0866ff !default;
|
|
|
24
25
|
$color-twitter: #00aced !default;
|
|
25
26
|
$color-linkedin: #0a66c2 !default;
|
|
26
27
|
|
|
27
|
-
//
|
|
28
|
+
// Dark colors only for accessibility
|
|
29
|
+
$color-ruby-dark: color.adjust($color-ruby, $lightness: -20%);
|
|
30
|
+
$color-peacock-dark: color.adjust($color-peacock, $lightness: -20%);
|
|
31
|
+
$color-jade-dark: color.adjust($color-jade, $lightness: -20%);
|
|
32
|
+
$color-sandstone-dark: color.adjust($color-sandstone, $lightness: -20%);
|
|
33
|
+
$color-lemon-dark: color.adjust($color-lemon, $lightness: -15%);
|
|
34
|
+
$color-ocean-dark:color.adjust($color-ocean, $lightness: -24%);
|
|
28
35
|
|
|
29
|
-
|
|
30
|
-
$color-
|
|
31
|
-
$color-
|
|
32
|
-
$color-
|
|
33
|
-
$color-
|
|
34
|
-
$color-
|
|
36
|
+
// Medium dark colors, for decoration purposes like borders
|
|
37
|
+
$color-ruby-medium-dark: color.adjust($color-ruby, $lightness: -10%);
|
|
38
|
+
$color-peacock-medium-dark: color.adjust($color-peacock, $lightness: -10%);
|
|
39
|
+
$color-jade-medium-dark: color.adjust($color-jade, $lightness: -10%);
|
|
40
|
+
$color-sandstone-medium-dark: color.adjust($color-sandstone, $lightness: -10%);
|
|
41
|
+
$color-lemon-medium-dark: color.adjust($color-lemon, $lightness: -13%);
|
|
42
|
+
$color-ocean-medium-dark: color.adjust($color-ocean, $lightness: -10%);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
@include b(field-group) {
|
|
4
5
|
position: relative;
|
|
@@ -94,7 +95,7 @@ fieldset[disabled] {
|
|
|
94
95
|
@extend %disabled;
|
|
95
96
|
|
|
96
97
|
&::before {
|
|
97
|
-
background-color:
|
|
98
|
+
background-color: color.adjust($color-concrete, $lightness: -5%) !important;
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
}
|
|
@@ -104,14 +105,14 @@ fieldset[disabled] {
|
|
|
104
105
|
@extend %disabled;
|
|
105
106
|
|
|
106
107
|
&::before {
|
|
107
|
-
background-color:
|
|
108
|
+
background-color: color.adjust($color-concrete, $lightness: -5%);
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
&:hover,
|
|
111
112
|
&:focus {
|
|
112
113
|
/* stylelint-disable */
|
|
113
114
|
&::before {
|
|
114
|
-
background-color:
|
|
115
|
+
background-color: color.adjust($color-concrete, $lightness: -5%);
|
|
115
116
|
}
|
|
116
117
|
/* stylelint-enable */
|
|
117
118
|
}
|
|
@@ -23,14 +23,13 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
@include e(inner) {
|
|
26
|
-
|
|
27
|
-
@include make-container-max-widths();
|
|
28
|
-
|
|
29
26
|
display: flex;
|
|
30
27
|
flex-wrap: wrap;
|
|
31
28
|
margin-right: auto;
|
|
32
29
|
margin-left: auto;
|
|
33
30
|
|
|
31
|
+
@include make-container-max-widths();
|
|
32
|
+
|
|
34
33
|
@include bp-down(xl) {
|
|
35
34
|
padding-right: $grid-gutter-width;
|
|
36
35
|
padding-left: $grid-gutter-width;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
// The Glider components is dependant on JS-classes and is therefore not namespaced
|
|
4
5
|
|
|
@@ -114,7 +115,7 @@
|
|
|
114
115
|
|
|
115
116
|
&.disabled {
|
|
116
117
|
background-color: $color-ash;
|
|
117
|
-
box-shadow: 0 2px 5px
|
|
118
|
+
box-shadow: 0 2px 5px color.adjust($color-granit, $lightness: 25%);
|
|
118
119
|
pointer-events: none;
|
|
119
120
|
|
|
120
121
|
svg {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
|
|
3
3
|
@use "sass:math";
|
|
4
|
+
@use "sass:color";
|
|
4
5
|
|
|
5
6
|
@include molecule(submenu) {
|
|
6
7
|
margin: 0 0 rhythm(2) 0;
|
|
@@ -143,7 +144,7 @@
|
|
|
143
144
|
margin: 0;
|
|
144
145
|
padding: rhythm(1) rhythm(3);
|
|
145
146
|
border: 0;
|
|
146
|
-
border-left: 1px solid
|
|
147
|
+
border-left: 1px solid color.adjust($color-ash, $lightness: -5%);
|
|
147
148
|
background-color: transparent;
|
|
148
149
|
|
|
149
150
|
&::before,
|
|
@@ -171,7 +172,7 @@
|
|
|
171
172
|
|
|
172
173
|
&[aria-expanded='true'] {
|
|
173
174
|
margin-bottom: -1px;
|
|
174
|
-
background-color:
|
|
175
|
+
background-color: color.adjust($color-ash, $lightness: 3%);
|
|
175
176
|
|
|
176
177
|
&::after {
|
|
177
178
|
transform: rotate(-135deg);
|
|
@@ -183,7 +184,7 @@
|
|
|
183
184
|
}
|
|
184
185
|
|
|
185
186
|
&:hover {
|
|
186
|
-
background-color:
|
|
187
|
+
background-color: color.adjust($color-ash, $lightness: 3%);
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
@include bp-up(md) {
|
|
@@ -207,8 +208,8 @@
|
|
|
207
208
|
@include e(sublevel) {
|
|
208
209
|
margin: 0;
|
|
209
210
|
padding: 0;
|
|
210
|
-
border-top: 1px solid
|
|
211
|
-
background-color:
|
|
211
|
+
border-top: 1px solid color.adjust($color-ash, $lightness: -3%);
|
|
212
|
+
background-color: color.adjust($color-ash, $lightness: 3%);
|
|
212
213
|
list-style: none;
|
|
213
214
|
|
|
214
215
|
&[aria-hidden='true'] {
|
|
@@ -221,7 +222,7 @@
|
|
|
221
222
|
padding: 0 rhythm(1.5);
|
|
222
223
|
|
|
223
224
|
& + & {
|
|
224
|
-
border-top: 1px solid
|
|
225
|
+
border-top: 1px solid color.adjust($color-ash, $lightness: -4%);
|
|
225
226
|
}
|
|
226
227
|
|
|
227
228
|
/* Support for icon on sublevel */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
// Extends
|
|
4
5
|
%header {
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
font-family: $font-family-headings;
|
|
14
15
|
font-size: rem(17px);
|
|
15
16
|
text-align: left;
|
|
17
|
+
-webkit-appearance: none;
|
|
16
18
|
|
|
17
19
|
@include bp-up(md) {
|
|
18
20
|
font-size: rem(18px);
|
|
@@ -22,8 +24,6 @@
|
|
|
22
24
|
font-size: rem(20px);
|
|
23
25
|
}
|
|
24
26
|
|
|
25
|
-
-webkit-appearance: none;
|
|
26
|
-
|
|
27
27
|
&::before,
|
|
28
28
|
&::after {
|
|
29
29
|
content: '';
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
@include organism(accordion) {
|
|
129
|
-
background-color:
|
|
129
|
+
background-color: color.adjust($color-ash, $lightness: 4%);
|
|
130
130
|
|
|
131
131
|
@include e(panel) {
|
|
132
132
|
&[aria-hidden='false'],
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
|
|
241
241
|
@include m(ash) {
|
|
242
242
|
border-radius: 0;
|
|
243
|
-
background-color:
|
|
243
|
+
background-color: color.adjust($color-ash, $lightness: 4%);
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
@include organism(domain-search) {
|
|
4
5
|
padding: rhythm(2) 0 rhythm(1) 0;
|
|
5
|
-
background-color: $color-snow;
|
|
6
6
|
|
|
7
7
|
&:not([class*='is-in-mega-menu']) {
|
|
8
8
|
display: none;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
transition: padding 0.25s ease-out;
|
|
73
73
|
border: 0;
|
|
74
74
|
border-radius: $border-radius;
|
|
75
|
-
background-color:
|
|
75
|
+
background-color: color.adjust($color-ash, $lightness: 4%);
|
|
76
76
|
letter-spacing: -0.1px;
|
|
77
77
|
-webkit-appearance: none;
|
|
78
78
|
|
|
@@ -81,10 +81,10 @@
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
@include m(force-focus-look) {
|
|
84
|
-
background-color:
|
|
84
|
+
background-color: color.adjust($color-ash, $lightness: 4%);
|
|
85
85
|
|
|
86
86
|
&:focus {
|
|
87
|
-
background-color:
|
|
87
|
+
background-color: color.adjust($color-ash, $lightness: 4%);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
|
|
3
3
|
@include organism(event-listing-item) {
|
|
4
|
-
|
|
5
|
-
@include e(button) {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
4
|
position: relative;
|
|
10
5
|
padding: rhythm(2);
|
|
11
6
|
border-left: 4px solid;
|
|
@@ -13,6 +8,10 @@
|
|
|
13
8
|
background-color: $color-snow;
|
|
14
9
|
font-size: $size-medium-plus;
|
|
15
10
|
|
|
11
|
+
@include e(button) {
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
16
15
|
@include bp-up(md) {
|
|
17
16
|
font-size: $size-base;
|
|
18
17
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
$border-color: darken($color-jade, 5%);
|
|
2
|
-
|
|
3
1
|
@include organism(mega-menu) {
|
|
4
2
|
z-index: z_index(middlegroundImportant);
|
|
5
3
|
padding-right: 0;
|
|
6
4
|
padding-left: 0;
|
|
7
5
|
transition: transform 0.25s ease-out;
|
|
8
|
-
background-color:
|
|
6
|
+
background-color: currentColor;
|
|
9
7
|
|
|
10
8
|
&[aria-hidden='true'] {
|
|
11
9
|
display: none;
|
|
@@ -31,35 +29,182 @@ $border-color: darken($color-jade, 5%);
|
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
@include e(wrapper) {
|
|
34
|
-
padding-top: rhythm(3);
|
|
35
|
-
|
|
36
32
|
@include bp-down(md) {
|
|
37
33
|
padding-right: rhythm(1);
|
|
38
34
|
padding-left: rhythm(1);
|
|
35
|
+
border-bottom: 1px solid currentColor;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@include bp-up(lg) {
|
|
39
|
+
padding-top: rhythm(3);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@include e(column) {
|
|
44
|
+
padding-bottom: rhythm(2);
|
|
45
|
+
|
|
46
|
+
@include bp-down(md) {
|
|
47
|
+
padding-left: 0;
|
|
48
|
+
padding-right: 0;
|
|
49
|
+
padding-bottom: 0;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@include e(buttons-list) {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: stretch;
|
|
56
|
+
margin: 0;
|
|
57
|
+
padding: 0;
|
|
58
|
+
list-style: none;
|
|
59
|
+
|
|
60
|
+
@include e(item) {
|
|
61
|
+
width: 50%;
|
|
62
|
+
flex-grow: 1;
|
|
63
|
+
flex-shrink: 0;
|
|
64
|
+
margin: 0;
|
|
65
|
+
padding: 0;
|
|
66
|
+
|
|
67
|
+
& + & {
|
|
68
|
+
border-left: 1px solid currentColor;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@include e(link) {
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
align-items: center;
|
|
76
|
+
padding-top: rhythm(2);
|
|
77
|
+
padding-bottom: rhythm(2);
|
|
78
|
+
text-align: center;
|
|
79
|
+
color: $color-cyberspace;
|
|
80
|
+
text-decoration: none;
|
|
81
|
+
font-family: $font-family-headings;
|
|
82
|
+
border: 0;
|
|
83
|
+
background-color: transparent;
|
|
84
|
+
appearance: none;
|
|
85
|
+
width: 100%;
|
|
86
|
+
height: 100%;
|
|
87
|
+
|
|
88
|
+
&[aria-expanded='true'] {
|
|
89
|
+
background-color: currentColor;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
svg {
|
|
93
|
+
width: $icon-size-large * 1.25;
|
|
94
|
+
height: $icon-size-large * 1.25;
|
|
95
|
+
margin-bottom: rhythm(1);
|
|
96
|
+
pointer-events: none;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
span {
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@include bp-up(lg) {
|
|
105
|
+
display: none;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@include e(search-container) {
|
|
110
|
+
background-color: currentcolor;
|
|
111
|
+
padding-top: rhythm(2);
|
|
112
|
+
padding-bottom: rhythm(2);
|
|
113
|
+
|
|
114
|
+
&[aria-hidden='true'] {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@include e(topic) {
|
|
120
|
+
display: flex;
|
|
121
|
+
justify-content: space-between;
|
|
122
|
+
align-items: center;
|
|
123
|
+
border-top: 1px solid currentColor;
|
|
124
|
+
|
|
125
|
+
@include bp-up(lg) {
|
|
126
|
+
background-color: transparent;
|
|
127
|
+
border-top: 0;
|
|
128
|
+
margin-bottom: rhythm(1);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@include e(topic-button) {
|
|
133
|
+
margin-left: auto;
|
|
134
|
+
align-self: stretch;
|
|
135
|
+
padding-left: rhythm(1.5);
|
|
136
|
+
padding-right: rhythm(1.5);
|
|
137
|
+
border-left: 1px solid currentColor;
|
|
138
|
+
|
|
139
|
+
@include bp-up(lg) {
|
|
140
|
+
display: none;
|
|
141
|
+
pointer-events: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&[aria-expanded='true'] {
|
|
145
|
+
background-color: currentColor;
|
|
146
|
+
|
|
147
|
+
svg {
|
|
148
|
+
transform: rotate(-180deg);
|
|
149
|
+
}
|
|
39
150
|
}
|
|
40
151
|
}
|
|
41
152
|
|
|
42
153
|
@include e(list) {
|
|
43
|
-
margin-top:
|
|
154
|
+
margin-top: 0;
|
|
155
|
+
background-color: currentColor;
|
|
156
|
+
margin-bottom: 0;
|
|
157
|
+
padding-top: 0;
|
|
158
|
+
padding-bottom: 0;
|
|
159
|
+
|
|
160
|
+
&[aria-hidden='true'] {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@include bp-up(lg) {
|
|
165
|
+
margin-top: rhythm(1);
|
|
166
|
+
background-color: transparent;
|
|
167
|
+
border-bottom: 0;
|
|
168
|
+
|
|
169
|
+
&[aria-hidden='true'] {
|
|
170
|
+
display: initial;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
44
173
|
|
|
45
174
|
@include e(topic) {
|
|
46
|
-
margin-top:
|
|
47
|
-
margin-bottom:
|
|
48
|
-
|
|
49
|
-
border-bottom: 1px solid $border-color;
|
|
175
|
+
margin-top: 0;
|
|
176
|
+
margin-bottom: 0;
|
|
177
|
+
border-bottom: 1px solid currentColor;
|
|
50
178
|
font-family: $font-family-headings;
|
|
51
179
|
|
|
52
|
-
|
|
53
|
-
|
|
180
|
+
> a {
|
|
181
|
+
padding: rhythm(1) rhythm(3.5);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@include bp-up(lg) {
|
|
185
|
+
margin-top: rhythm(2);
|
|
186
|
+
margin-bottom: rhythm(0.5);
|
|
187
|
+
padding: rhythm(1) rhythm(1);
|
|
188
|
+
border-bottom: 0;
|
|
189
|
+
|
|
190
|
+
> a {
|
|
191
|
+
padding: 0;
|
|
192
|
+
}
|
|
54
193
|
}
|
|
55
194
|
}
|
|
56
195
|
|
|
57
196
|
@include e(item) {
|
|
58
|
-
margin: 0
|
|
59
|
-
|
|
197
|
+
margin: 0;
|
|
198
|
+
border-bottom: 1px solid currentColor;
|
|
60
199
|
|
|
61
|
-
|
|
62
|
-
border-
|
|
200
|
+
&:last-child {
|
|
201
|
+
border-bottom: 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@include bp-up(lg) {
|
|
205
|
+
padding: rhythm(1) rhythm(1);
|
|
206
|
+
margin-bottom: rhythm(0.5);
|
|
207
|
+
border-bottom: 0;
|
|
63
208
|
}
|
|
64
209
|
}
|
|
65
210
|
|
|
@@ -85,8 +230,14 @@ $border-color: darken($color-jade, 5%);
|
|
|
85
230
|
@include e(link) {
|
|
86
231
|
display: inline-flex;
|
|
87
232
|
align-items: baseline;
|
|
233
|
+
width: 100%;
|
|
88
234
|
color: $color-cyberspace;
|
|
89
235
|
text-decoration: none;
|
|
236
|
+
padding: rhythm(1) rhythm(3.5);
|
|
237
|
+
|
|
238
|
+
@include m(sub-level) {
|
|
239
|
+
padding: rhythm(1) rhythm(5);
|
|
240
|
+
}
|
|
90
241
|
|
|
91
242
|
&:hover {
|
|
92
243
|
&:not(span) {
|
|
@@ -94,15 +245,20 @@ $border-color: darken($color-jade, 5%);
|
|
|
94
245
|
}
|
|
95
246
|
}
|
|
96
247
|
|
|
248
|
+
@include bp-up(lg) {
|
|
249
|
+
padding: 0;
|
|
250
|
+
}
|
|
251
|
+
|
|
97
252
|
@include m(large) {
|
|
98
253
|
display: block;
|
|
99
|
-
|
|
254
|
+
width: 100%;
|
|
255
|
+
padding: rhythm(1.5) rhythm(2);
|
|
100
256
|
font-family: $font-family-headings;
|
|
101
|
-
font-size: rem(23px);
|
|
102
257
|
white-space: nowrap;
|
|
103
258
|
|
|
104
259
|
@include bp-up(lg) {
|
|
105
260
|
padding: 0;
|
|
261
|
+
font-size: rem(23px);
|
|
106
262
|
}
|
|
107
263
|
}
|
|
108
264
|
|
|
@@ -3,11 +3,12 @@ module.exports = {
|
|
|
3
3
|
|
|
4
4
|
context: {
|
|
5
5
|
hidden: 'false',
|
|
6
|
-
id: '
|
|
6
|
+
id: 'megaMenu',
|
|
7
7
|
modifier:'',
|
|
8
8
|
columns: [
|
|
9
9
|
{
|
|
10
10
|
headline: 'Domäner',
|
|
11
|
+
list_id: 'domains',
|
|
11
12
|
topics: [
|
|
12
13
|
{
|
|
13
14
|
topic: '',
|
|
@@ -61,18 +62,22 @@ module.exports = {
|
|
|
61
62
|
},
|
|
62
63
|
{
|
|
63
64
|
headline: 'Kunskap',
|
|
65
|
+
list_id: 'kunskap',
|
|
64
66
|
topics: [
|
|
65
67
|
{
|
|
66
68
|
topic: 'För skolan',
|
|
67
69
|
items: [
|
|
68
70
|
{
|
|
69
|
-
item: 'Digitala lektioner'
|
|
71
|
+
item: 'Digitala lektioner',
|
|
72
|
+
is_sub_level: true,
|
|
70
73
|
},
|
|
71
74
|
{
|
|
72
|
-
item: 'Lärarfortbildning'
|
|
75
|
+
item: 'Lärarfortbildning',
|
|
76
|
+
is_sub_level: true,
|
|
73
77
|
},
|
|
74
78
|
{
|
|
75
|
-
item: 'Fördjupning'
|
|
79
|
+
item: 'Fördjupning',
|
|
80
|
+
is_sub_level: true,
|
|
76
81
|
},
|
|
77
82
|
|
|
78
83
|
]
|
|
@@ -81,13 +86,16 @@ module.exports = {
|
|
|
81
86
|
topic: 'För samhället',
|
|
82
87
|
items: [
|
|
83
88
|
{
|
|
84
|
-
item: 'Svenskarna och internet'
|
|
89
|
+
item: 'Svenskarna och internet',
|
|
90
|
+
is_sub_level: true,
|
|
85
91
|
},
|
|
86
92
|
{
|
|
87
|
-
item: 'Projekt internetaccess'
|
|
93
|
+
item: 'Projekt internetaccess',
|
|
94
|
+
is_sub_level: true,
|
|
88
95
|
},
|
|
89
96
|
{
|
|
90
|
-
item: 'Federationers'
|
|
97
|
+
item: 'Federationers',
|
|
98
|
+
is_sub_level: true,
|
|
91
99
|
},
|
|
92
100
|
|
|
93
101
|
]
|
|
@@ -96,6 +104,7 @@ module.exports = {
|
|
|
96
104
|
},
|
|
97
105
|
{
|
|
98
106
|
headline: 'Mötesplatser',
|
|
107
|
+
list_id: 'motesplatser',
|
|
99
108
|
topics: [
|
|
100
109
|
{
|
|
101
110
|
topic: '',
|
|
@@ -117,7 +126,7 @@ module.exports = {
|
|
|
117
126
|
},
|
|
118
127
|
{
|
|
119
128
|
item: 'Investeringar',
|
|
120
|
-
external: true
|
|
129
|
+
external: true,
|
|
121
130
|
},
|
|
122
131
|
|
|
123
132
|
]
|
|
@@ -126,22 +135,27 @@ module.exports = {
|
|
|
126
135
|
},
|
|
127
136
|
{
|
|
128
137
|
headline: 'Om oss',
|
|
138
|
+
list_id: 'om-oss',
|
|
129
139
|
topics: [
|
|
130
140
|
{
|
|
131
141
|
topic: 'Presentation',
|
|
132
142
|
items: [
|
|
133
143
|
{
|
|
134
144
|
item: 'Jobba hos oss',
|
|
145
|
+
is_sub_level: true,
|
|
135
146
|
external: true
|
|
136
147
|
},
|
|
137
148
|
{
|
|
138
|
-
item: 'Press'
|
|
149
|
+
item: 'Press',
|
|
150
|
+
is_sub_level: true,
|
|
139
151
|
},
|
|
140
152
|
{
|
|
141
|
-
item: 'Pressbilder och fotografier'
|
|
153
|
+
item: 'Pressbilder och fotografier',
|
|
154
|
+
is_sub_level: true,
|
|
142
155
|
},
|
|
143
156
|
{
|
|
144
|
-
item: 'Kontakt'
|
|
157
|
+
item: 'Kontakt',
|
|
158
|
+
is_sub_level: true,
|
|
145
159
|
}
|
|
146
160
|
|
|
147
161
|
]
|
|
@@ -150,6 +164,7 @@ module.exports = {
|
|
|
150
164
|
},
|
|
151
165
|
{
|
|
152
166
|
headline: 'English',
|
|
167
|
+
list_id: 'english',
|
|
153
168
|
topics: [
|
|
154
169
|
{
|
|
155
170
|
topic: '',
|
|
@@ -182,6 +197,14 @@ module.exports = {
|
|
|
182
197
|
context: {
|
|
183
198
|
domain_search: true
|
|
184
199
|
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
name: 'With both searches',
|
|
203
|
+
context: {
|
|
204
|
+
domain_search: true,
|
|
205
|
+
search: true,
|
|
206
|
+
hidden: true
|
|
207
|
+
}
|
|
185
208
|
}
|
|
186
209
|
]
|
|
187
210
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
@use "sass:math";
|
|
4
5
|
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
transform: translateY(0);
|
|
18
19
|
transition: transform 0.25s ease-out;
|
|
19
20
|
background-color: $color-snow;
|
|
20
|
-
box-shadow: 0 -#{rhythm(1)} rhythm(3)
|
|
21
|
+
box-shadow: 0 -#{rhythm(1)} rhythm(3) color.adjust($color-cyberspace, $lightness: 70%);
|
|
21
22
|
|
|
22
23
|
@include m(hidden) {
|
|
23
24
|
transform: translateY(100%);
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
3
|
+
|
|
1
4
|
@include organism(search) {
|
|
2
5
|
border-radius: $border-radius;
|
|
3
6
|
background-color: $color-snow;
|
|
@@ -33,13 +36,13 @@
|
|
|
33
36
|
transition: padding 0.25s ease-out;
|
|
34
37
|
border: 0;
|
|
35
38
|
border-radius: $border-radius;
|
|
36
|
-
background-color:
|
|
39
|
+
background-color: color.adjust($color-ash, $lightness: 4%);
|
|
37
40
|
letter-spacing: -0.1px;
|
|
38
41
|
-webkit-appearance: none;
|
|
39
42
|
|
|
40
43
|
&:focus {
|
|
41
44
|
@extend %input-focus;
|
|
42
|
-
|
|
45
|
+
|
|
43
46
|
background-color: $color-snow;
|
|
44
47
|
}
|
|
45
48
|
|
|
@@ -48,10 +51,10 @@
|
|
|
48
51
|
}
|
|
49
52
|
|
|
50
53
|
@include m(force-focus-look) {
|
|
51
|
-
background-color:
|
|
54
|
+
background-color: color.adjust($color-ash, $lightness: 4%);
|
|
52
55
|
|
|
53
56
|
&:focus {
|
|
54
|
-
background-color:
|
|
57
|
+
background-color: color.adjust($color-ash, $lightness: 4%);
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
60
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
@include organism(tab-list) {
|
|
4
5
|
overflow: hidden;
|
|
@@ -81,7 +82,7 @@
|
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
&:hover {
|
|
84
|
-
background-color:
|
|
85
|
+
background-color: color.adjust($color-concrete, $lightness: -5%);
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
88
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
+
@use "sass:color";
|
|
2
3
|
|
|
3
4
|
@include organism(video-guide) {
|
|
4
5
|
flex-direction: column;
|
|
@@ -306,7 +307,7 @@
|
|
|
306
307
|
padding: 0;
|
|
307
308
|
margin: 0;
|
|
308
309
|
display: block;
|
|
309
|
-
border-top: 1px solid
|
|
310
|
+
border-top: 1px solid color.adjust($color-cyberspace, $lightness: 10%);
|
|
310
311
|
}
|
|
311
312
|
}
|
|
312
313
|
|
|
@@ -343,7 +344,7 @@
|
|
|
343
344
|
&:hover,
|
|
344
345
|
&:focus,
|
|
345
346
|
&.is-current {
|
|
346
|
-
background-color:
|
|
347
|
+
background-color: color.adjust($color-cyberspace, $lightness: 10%);
|
|
347
348
|
|
|
348
349
|
&::after {
|
|
349
350
|
overflow: visible;
|