This repository was archived by the owner on Mar 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.styl
279 lines (272 loc) · 5.76 KB
/
index.styl
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
// New styles
// Colors Auth0
@import 'stylus/variable'
// Mixind
@import 'stylus/mixins'
// Normalizer
@import 'stylus/normalize'
// Compense Style docs.css
@import 'stylus/compens'
#tutorial-navigator
// Add some [email protected]
@import 'stylus/bootstrap'
// Base
@import 'stylus/base'
// Code
@import 'stylus/code'
// Helppers
@import 'stylus/helppers'
// sprite
@import 'stylus/sprite'
// styles
#tutorial-navigator
max-width 845px
width 100%
margin 0 auto
-webkit-font-smoothing: antialiased
-moz-font-smoothing: antialiased
font-family: "proxima-nova", "Helvetica Neue", sans-serif
color grayFont
.tutorial-body
text-align center
h2
text-align center
font-weight 400
.app-type-item
width 150px
display inline-block
vertical-align top
margin 0 10px
cursor pointer
.label
color grayFont
text-align center
font-weight 300
&::first-word
font-weight 600
.grafic
border solid 2px grayBorder
.description
transition all .3s ease
opacity 0
transform translate(0,-5px)
span
font-size 12px
color grayFont !important
margin 10px 0
&:hover
.description
opacity 1
transform translate(0,0)
.grafic
transition all .3s ease
// i
// filter drop-shadow( 5px 5px 4px rgba(black,.2))
// -webkit-filter drop-shadow( 5px 5px 4px rgba(black,.2))
// -moz-filter drop-shadow( 5px 5px 4px rgba(black,.2))
.grafic
width 100%
height 170px
border solid 1px grayBorder
border-radius 3px
text-align center
&:before
content ''
display inline-block
height 100%
vertical-align middle
margin-right -0.25em
i
display inline-block
vertical-align middle
.step
h2
text-align center
margin 0 auto 20px
h3
text-align center
margin 20px auto 20px
.complete
text-align center
// Tutorial Header
.tutorial-header
text-align center
margin-bottom 20px
.step-circle
display inline-block
vertical-align top
margin 0 15px
size(80px,80px)
background grayBackground
border-radius 50%
a
.mask
position relative
top 3px
height 80px
text-align center
i
display inline-block
vertical-align middle
&.icons
top 0
i
height 60%
width 60%
margin 20%
background-size contain
background-repeat no-repeat
background-position 50% 50%
// Search
.inputs
display block
text-align center
position relative
width 640px
margin 0 auto 40px
@extend #tutorial-navigator .clearfix
// Skyp
.skip
background grayBorder
border none
border solid 1px grayBorder
color white
cursor pointer
float none
font-size 25px
outline none
size(20%,60px)
// Steps
.step
@extend #tutorial-navigator .clearfix
width 650px
margin 0 auto
padding-top 0
.tutorial-item
float left
width 120px
margin-bottom 10px
margin-right 10px
a
.grafic
height 120px
width 120px
border-radius 3px 3px 0 0
padding 10%
&:before
display none
i
height 100%
width 100%
filter grayscale(100%)
-webkit-filter grayscale(100%)
-moz-filter grayscale(100%)
background-size contain
background-repeat no-repeat
background-position 50% 50%
.description
border-radius 0 0 3px 3px
height 60px
background grayBorder
color white
display table
width 100%
span
font-size 15px
.inline-middle
display table-cell
text-align center
vertical-align middle
h3
font-size 22px
color blueFont
font-weight 400
.sprite-close
right calc(20% + 15px)
// Snippet
.snippet
text-align left
color grayLightFont
width 640px
margin 0 auto 30px
h1
h2
h3
h4
text-align left
font-weight 300
font-size 22px
margin-bottom 10px
p
font-size 15px
line-height 20px
margin-top 0
a
text-decoration none
color link
pre
width 700px
margin-left -50px
blockquote
margin 0
padding 1em
img
max-width 100%
.code-snippets
h2
margin 40px auto 30px
// Snippet Tabs
.snippet-tabs
width 100%
display table
border-bottom none
margin-bottom 30px
.snippet-tab
width 50%
float left
&.center
float none
display inline-block
a
background white
border none
border solid 1px grayBorder
border-radius 0 3px 3px 0
color grayFont
display inline-block
font-size 24px
height auto
padding 10px
text-align center
width 100%
&.active
color #fff
&.visible
a
border-radius 3px 0 0 3px
// selected
.app-type.selected
@extend #tutorial-navigator .app-type-item:hover
// Colors UI
// Colors - step-1
#tutorial-navigator
.app-type.selected .app-type-item,
.app-type-item:hover
&.native-mobile
ui-step-1(yellow)
&.hybrid
ui-step-1(green)
&.spa
ui-step-1(cyan)
&.webapp
ui-step-1(red)
// Colors - step-2-3
#tutorial-navigator
&[data-ui="native-mobile"]
ui-step(yellow)
&[data-ui="hybrid"]
ui-step(green)
&[data-ui="spa"]
ui-step(cyan)
&[data-ui="webapp"]
ui-step(red)