-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.stylus
More file actions
137 lines (125 loc) · 2.27 KB
/
style.stylus
File metadata and controls
137 lines (125 loc) · 2.27 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
*
box-sizing border-box
background #947cb0
body
align-items center
display flex
justify-content center
font-family 'Arial', sans-serif
min-height 100vh
padding 0
margin 0
overflow hidden
.mask
position fixed
top 50%
left 0
right 0
bottom 0
background #947cb0
.bear
width 100%
background transparent
transform translate(0, 100%)
&__swear
display none
position absolute
left 105%
top 0
background #fff
font-weight bolder
padding 10px
border-radius 8px
&:before
content ''
background #fff
position absolute
top 90%
right 70%
height 30px
width 30px
clip-path polygon(0 100%, 100% 0, 50% 0)
-webkit-clip-path polygon(0 100%, 100% 0, 50% 0)
&__wrap
width 100px
left 50%
position absolute
top 50%
transform translate(-15%, -50%) rotate(5deg) translate(0, -75%)
background transparent
&__arm-wrap
background transparent
position fixed
height 30px
width 90px
z-index 4
top 50%
left 50%
transform translate(0, -50%) rotate(0deg)
&__arm
background transparent
transform-origin left
position absolute
height 100%
width 100%
top 50%
left 50%
transform translate(-35%, -50%) scaleX(1)
&__paw
background #784421
border-radius 100%
position fixed
height 30px
width 30px
z-index 10
top 50%
left 50%
transform-origin right
transform translate(80px, -15px) scaleX(0)
.checkbox
border-radius 50px
height 100px
position fixed
width 200px
z-index 5
top 50%
left 50%
transform translate(-50%, -50%)
[type='checkbox']
cursor pointer
border-radius 50px
position absolute
outline 0
top 0
right 0
bottom 0
left 0
opacity 0
z-index 10
height 100%
width 100%
margin 0
&__bg
background #aaa
border-radius 50px
height 100%
width 100%
z-index 10
&__indicator
background transparent
height 100%
width 50%
border-radius 100%
position absolute
top 0
left 0
&:after
content ''
border-radius 100%
height 85%
width 85%
background #fff
position absolute
top 50%
left 50%
transform translate(-50%, -50%)