forked from dogandpony/sushi-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample._responsive.scss
More file actions
35 lines (26 loc) · 1.11 KB
/
example._responsive.scss
File metadata and controls
35 lines (26 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* =====================================================================
* SUSHI RESPONSIVE
*
* All files are disabled to save bandwidth by default. You may enable
* all responsive modifiers/utilities at once, but that will increase
* the file size substantially.
*
* You may (actually should) include here the responsive classes from
* any custom modules you create. This makes the code cleaner (and
* smaller) since equal media queries will be written in the same place.
* ===================================================================== */
@if (variable-exists(mq-breakpoints)) {
@each $breakpointName, $breakpointValue in $mq-breakpoints {
$breakpoint: #{$breakpointSeparator}#{$breakpointName};
@include mq($from: $breakpointName) {
@include layoutModifiers($breakpoint);
@include wrapperModifiers($breakpoint);
@include displayUtility($breakpoint);
@include flexUtility($breakpoint);
@include overflowUtility($breakpoint);
@include positionUtility($breakpoint);
@include spacingUtility($breakpoint);
@include typographyUtility($breakpoint);
}
}
}