-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.sass
412 lines (374 loc) · 7.58 KB
/
style.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
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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
//IMPORTS OTHER SASS FILES (TREAT THESE AS CONSTANTS)
@import includes/colors
@import includes/reset
//STAR SELECTOR
*
font-family: 'Oswald', sans-serif
color: $black
transition: all 0.3s ease-in-out
//border: 1px solid rgba(200, 0, 0, 0.4)
//REUSABLE CLASSES
.clear
clear: both
content: ""
display: table
width: 100%
padding-bottom: 10px
.floatLeft
float:left
.floatRight
float: right
.left-40
float: left
width: 40%
.right-50
float: right
width: 50%
.middle-80
max-width: 960px
width: 80%
margin: auto
.textShadow
text-shadow: -1px 2px 7px rgba(40, 40, 40, 0.29)
.centerText
text-align: center
width: 50%
margin: 0 auto 0 auto
.centerImg
display: block
width: 50%
margin: auto
.mainBtn
margin: 5px
border-radius: 4px
padding: 8px
background-color: $olive
border: 2px solid $olive
transition: .2s linear .1s
&:hover
background-color: $lime
.secondaryBtn
margin: 5px
border-radius: 4px
padding: 8px
background-color: rgba(0, 0, 0, 0)
border: 2px solid $lightgray
&:hover
background-color: rgba(0, 0, 0, .2)
.linkBtn
text-decoration: none
color: $white
font-size: 1.2em
text-transform: uppercase
.secondaryLinkBtn
text-decoration: none
color: rgba(255, 238, 237, .6)
font-size: 1.2em
text-transform: uppercase
&:hover
color: $white
.customH1
font-size: 2.7em
.customH2
text-transform: uppercase
color: $gray
font-size: 2em
.customP
font-family: 'Merriweather', serif
font-size: 1.3em
.customA
text-decoration: none
font-weight: bold
.formGroup
display: block
padding: 10px
//SPECIFIC SELECTORS
body
background:
color: $slate
//INDEX SECTION
.welcomeImg
padding-bottom: 20px
min-width: 400px
.welcomeH1
text-transform: uppercase
color: $gray
font-size: 4em
.welcomeContainer
padding: 10px
display: block
box-shadow: 10px 1px 1px 1px $black
border-top: 1px solid $tan
border-bottom: 1px solid $tan
background-color: rgba(230, 229, 229, .2)
.subH1
color: $melon
line-height: 1.1
padding-bottom: 20px
.subHeading
color: $white
padding-left: 15px
max-width: 400px
.bracketExampleImage
padding-top: 10px
position: relative
width: 100%
box-shadow: 0px 5px 10px 1px $black
.padding-10
padding: 10px
//NAV SECTION
nav
background-color: $lightslate
border-bottom: $gray 2px solid
box-shadow: 10px 1px 1px 1px rgba(6, 7, 14, .3)
.navContainer
height: 70px
margin-left: auto
margin-right: auto
max-width: 960px
display: block
background-color: $lightslate
ul
width: 100%
list-style-type: none
display: inline-block
li
float: left
margin-top: 10px
font-size: 1.2em
li:last-child
float: right
li a
display: block
color: $white
text-align: center
padding: 10px 12px
text-decoration: none
li a:hover
color: $olive
.navLogo
text-align: center
width: 40px
height: 40px
//View Brackets section
.viewBracketsTitleContainer
display: block
background-color: $offwhite
border-radius: 10px 10px 0 0
border: 1px solid $slate
margin: 10px 0px 10px
padding: 5px
border-bottom: 5px solid $lightslate
.viewBracketsTableContainer
display: block
background-color: $offwhite
border: 1px solid $slate
margin: 10px 0px 10px
padding: 5px
border-top: 5px solid $lightslate
div.middle-80 table.viewBracketsTableContainer:last-child
border-radius: 0px 0px 10px 10px
.tableRow
margin: auto
text-align: left
width: 42%
th
width: 25%
td
width: 25%
//LOG IN ___________________________________________
#login input[type=text]
background: url(images/email-light.png) no-repeat scroll 7px 13px
width: 50%
padding: 12px 20px 12px 35px
margin: 8px 0
box-sizing: border-box
border: 2px solid $lime
border-radius: 4px
color: rgba(6, 7, 14, .6)
transition: .2s linear .1s
&:focus
cursor: pointer
outline: none
color: $black
border: 2px solid $slate
background: url(images/email.png) no-repeat scroll 7px 13px
#login input[type=password]
background: url(images/password-light.png) no-repeat scroll 7px 13px
width: 50%
padding: 12px 20px 12px 35px
margin: 8px 0
box-sizing: border-box
border: 2px solid $lime
border-radius: 4px
color: rgba(6, 7, 14, .6)
transition: .2s linear .1s
&:focus
outline: none
color: $black
border: 2px solid $slate
background: url(images/password.png) no-repeat scroll 7px 13px
.loginError
display: block
background-color: $offwhite
border: 1px solid $slate
margin: 10px 0px 10px
padding: 5px
border-bottom: 5px solid $red
border-radius: 0px 0px 10px 10px
.loginH1
text-transform: uppercase
color: $gray
font-size: 1.2em
.loginImg
height: 50px
width: 50px
margin-left: auto
margin-right: auto
display: block
.loginCenterButtons
padding-top: 20px
margin: auto
text-align: center
.loginCenter
text-align: center
.loginRegister
color: rgba(6, 7, 14, .6)
.loginA
color: rgba(6, 7, 14, .65)
text-decoration: none
font-weight: bold
&:hover
color: $gray
.loginBtn
width: 50%
margin: 5px
border-radius: 4px
padding: 8px
background-color: $olive
border: 2px solid $olive
&:hover
background-color: $lime
.createBracketContainer
display: block
background-color: $offwhite
border-radius: 10px 10px 0 0
border: 1px solid $slate
padding: 5px
border-bottom: 5px solid $lightslate
#create
width: 50%
padding: 0px 10px 0px 10px
margin: 3px 0
box-sizing: border-box
border: 2px solid $lime
border-radius: 4px
color: rgba(6, 7, 14, .6)
transition: .2s linear .1s
&:focus
cursor: pointer
outline: none
color: $black
border: 2px solid $slate
//Bracket page
.bracket
display: flex
justify-content: space-between
padding: 0px 20px
.round
margin-left: 10px
margin-right: 10px
.playerContainer
background-color: $lightkhaki
border-radius: 5px
color: $slate
margin: 10px 0px 10px 0px
padding: 10px 30px 10px 20px
font-weight: bold
font-size: 1.3em
border: 5px solid $lightkhaki
.match
width: 100%
padding: 10px 10px 10px 0px
.winningPlayer
border: 5px solid $lime
.losingPlayer
opacity: .35
.matchBtn
margin: 5px
border-radius: 4px
padding: 0px 20px
background-color: $slate
color: $white
border: 1px solid $lime
transition: .1s linear
&:hover
background-color: $lime
color: $slate
.thisMatch
text-align: center
.thisContainer
display: inline-block
width: 65%
.matchInput
width: 10%
text-align: center
margin: 8px 0
color: $white
box-sizing: border-box
border: 2px solid $lime
border-radius: 4px
color: rgba(6, 7, 14, .6)
transition: .2s linear .1s
&:focus
outline: none
.thisPlayer
width:
color: $gray
background-color: $white
font-size: 2em
text-transform: uppercase
border-top: 1px solid $lime
border-bottom: 1px solid $lime
border-right: 1px solid $lime
border-left: 8px solid $slate
.matchLnkBtn
text-decoration: none
color: $white
font-size: 1.2em
.scoreContainer
font-size: 1.3em
color: $slate
position: relative
padding-left: 85%
bottom: 54px
font-weight: bold
.matchEdit
position: relative
display: block
margin: 0 auto 0 auto
padding: 0 0 0 0
bottom: 30px
width: 50%
text-decoration: none
color: $offwhite
//SIGN UP
#signupInput
width: 50%
padding: 0px 10px 0px 10px
margin: 3px 0
box-sizing: border-box
border: 2px solid $lime
border-radius: 4px
color: rgba(6, 7, 14, .6)
transition: .2s linear .1s
&:focus
cursor: pointer
outline: none
color: $black
border: 2px solid $slate
.signUpMargin
margin-left: 10px
margin-right: 5px
.signUpBottom
padding-bottom: 15px