forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpositioning.styl
More file actions
93 lines (83 loc) · 1.39 KB
/
positioning.styl
File metadata and controls
93 lines (83 loc) · 1.39 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
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
84
85
86
87
88
89
90
91
92
93
.float-left
float left
.float-right
float right
.relative-position
position relative
.fixed,
.fullscreen,
.fixed-center,
.fixed-bottom,
.fixed-left,
.fixed-right,
.fixed-top,
.fixed-top-left,
.fixed-top-right,
.fixed-bottom-left,
.fixed-bottom-right
position fixed
.absolute,
.absolute-full,
.absolute-center,
.absolute-bottom,
.absolute-left,
.absolute-right,
.absolute-top,
.absolute-top-left,
.absolute-top-right,
.absolute-bottom-left,
.absolute-bottom-right
position absolute
.fixed-top, .absolute-top
top 0
left 0
right 0
.fixed-right, .absolute-right
top 0
right 0
bottom 0
.fixed-bottom, .absolute-bottom
right 0
bottom 0
left 0
.fixed-left, .absolute-left
top 0
bottom 0
left 0
.fixed-top-left, .absolute-top-left
top 0
left 0
.fixed-top-right, .absolute-top-right
top 0
right 0
.fixed-bottom-left, .absolute-bottom-left
bottom 0
left 0
.fixed-bottom-right, .absolute-bottom-right
bottom 0
right 0
.fullscreen
z-index $z-fullscreen
border-radius 0 !important
max-width 100vw
max-height 100vh
.absolute-full, .fullscreen
top 0
right 0
bottom 0
left 0
.fixed-center, .absolute-center
top 50%
left 50%
transform translate(-50%, -50%)
.vertical-
&top
vertical-align top !important
&middle
vertical-align middle !important
&bottom
vertical-align bottom !important
.on-left
margin-right 12px
.on-right
margin-left 12px