-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolumns.sass
83 lines (67 loc) · 1.49 KB
/
columns.sass
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*! https://github.com/greenoss/columns v1.2.4 | MIT License | https://github.com/greenoss/columns */
@charset "utf-8"
@import "config/_all"
@import "mixins/_all"
/* general */
*
+box-sizing(border-box)
.clearfix, .columns::after
+clearfix
.columns, .row
> .column
float: left
&:last-child, &.floated-right
float: right
&.floated-left:last-child
float: left
.invisible
position: fixed
top: -100px
left: -100px
display: block
visibility: hidden
width: 0
height: 0
color: transparent
overflow: hidden
/* all devices */
+setup-width
+setup-display
+setup-position
+setup-alignment
/* from phone above */
+from-phone
+setup-width(phone)
+setup-display(phone)
+setup-position(phone)
+setup-alignment(phone)
/* from phone landscape above */
+from-phonels
+setup-width(phonels)
+setup-display(phonels)
+setup-position(phonels)
+setup-alignment(phonels)
/* from tablet above */
+from-tablet
+setup-width(tablet)
+setup-display(tablet)
+setup-position(tablet)
+setup-alignment(tablet)
/* from tablet landscape above */
+from-tabletls
+setup-width(tabletls)
+setup-display(tabletls)
+setup-position(tabletls)
+setup-alignment(tabletls)
/* from desktop above */
+from-desktop
+setup-width(desktop)
+setup-display(desktop)
+setup-position(desktop)
+setup-alignment(desktop)
/* from widescreen above */
+from-widescreen
+setup-width(widescreen)
+setup-display(widescreen)
+setup-position(widescreen)
+setup-alignment(widescreen)