@internetstiftelsen/styleguide 2.22.3-beta.0.21 → 2.22.3-beta.0.24
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
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
2
|
|
|
3
|
+
@use "sass:math";
|
|
4
|
+
|
|
3
5
|
// Grid only
|
|
4
6
|
//
|
|
5
7
|
// Includes relevant variables and mixins for the flexbox grid
|
|
@@ -83,15 +85,15 @@
|
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
@include bp-up(sm) {
|
|
86
|
-
$bp-gap: $gap * 1.25;
|
|
87
|
-
|
|
88
88
|
margin: rhythm($margin * 1.25) 0 0;
|
|
89
89
|
|
|
90
90
|
&:not(.asymmetric-reversed) {
|
|
91
|
+
$bp-gap: $gap * 1.25;
|
|
91
92
|
@include make-asymmetric-cols($bp-gap);
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
&.asymmetric-reversed {
|
|
96
|
+
$bp-gap: math.div($gap, 2);
|
|
95
97
|
@include make-asymmetric-cols($bp-gap, true);
|
|
96
98
|
}
|
|
97
99
|
}
|
|
@@ -103,30 +105,32 @@
|
|
|
103
105
|
}
|
|
104
106
|
|
|
105
107
|
@include bp-up(lg) {
|
|
106
|
-
|
|
108
|
+
|
|
107
109
|
|
|
108
110
|
margin: rhythm($margin * 1.5) 0 0;
|
|
109
111
|
|
|
110
112
|
&:not(.asymmetric-reversed) {
|
|
113
|
+
$bp-gap: $gap * 1.5;
|
|
111
114
|
@include make-asymmetric-cols($bp-gap);
|
|
112
115
|
}
|
|
113
116
|
|
|
114
117
|
&.asymmetric-reversed {
|
|
118
|
+
$bp-gap: $gap;
|
|
115
119
|
@include make-asymmetric-cols($bp-gap, true);
|
|
116
120
|
margin-bottom: calc(180px);
|
|
117
121
|
}
|
|
118
122
|
}
|
|
119
123
|
|
|
120
124
|
@include bp-up(xl) {
|
|
121
|
-
$bp-gap: $gap * 2;
|
|
122
|
-
|
|
123
125
|
margin: rhythm($margin * 2) 0 0;
|
|
124
126
|
|
|
125
127
|
&:not(.asymmetric-reversed) {
|
|
128
|
+
$bp-gap: $gap * 2;
|
|
126
129
|
@include make-asymmetric-cols($bp-gap);
|
|
127
130
|
}
|
|
128
131
|
|
|
129
132
|
&.asymmetric-reversed {
|
|
133
|
+
$bp-gap: $gap;
|
|
130
134
|
@include make-asymmetric-cols($bp-gap, true);
|
|
131
135
|
margin-bottom: calc(216px);
|
|
132
136
|
}
|
|
@@ -118,7 +118,7 @@ html {
|
|
|
118
118
|
transition: opacity 1s ease-out, transform 5s cubic-bezier(0, 1, 0, 1);
|
|
119
119
|
transform: translateY(200px);
|
|
120
120
|
will-change: opacity, transform;
|
|
121
|
-
transition-delay: 0.
|
|
121
|
+
//transition-delay: 0.25s;
|
|
122
122
|
flex: 100%;
|
|
123
123
|
|
|
124
124
|
&.animate {
|
|
@@ -141,16 +141,11 @@ html {
|
|
|
141
141
|
background-position: center center;
|
|
142
142
|
background-size: 45px 45px;
|
|
143
143
|
|
|
144
|
-
@include bp-up(
|
|
144
|
+
@include bp-up(lg) {
|
|
145
145
|
min-height: 100px;
|
|
146
146
|
background-size: 100px 100px;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
@include bp-up(xl) {
|
|
150
|
-
min-height: 150px;
|
|
151
|
-
background-size: 150px 150px;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
149
|
&[data-timeline-post-expanded-content="true"] {
|
|
155
150
|
background-image: none;
|
|
156
151
|
}
|