jekyll-theme-pga-default 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/component.html +29 -0
  3. data/_includes/foot.html +3 -0
  4. data/_includes/head.html +20 -0
  5. data/_includes/header.html +34 -0
  6. data/_layouts/default.html +12 -1
  7. data/_sass/_articles.scss +324 -0
  8. data/_sass/_buttons.scss +17 -0
  9. data/_sass/_cards.scss +26 -0
  10. data/_sass/_components.scss +577 -0
  11. data/_sass/_font-awesome.scss +2337 -0
  12. data/_sass/_fonts.scss +0 -0
  13. data/_sass/_footer.scss +93 -0
  14. data/_sass/_form.scss +81 -0
  15. data/_sass/_functions.scss +86 -0
  16. data/_sass/_header.scss +282 -0
  17. data/_sass/_highlight.scss +163 -0
  18. data/_sass/_icons-font.scss +47 -0
  19. data/_sass/_icons.scss +3 -0
  20. data/_sass/_jumbotron.scss +90 -0
  21. data/_sass/_keyframes.scss +23 -0
  22. data/_sass/_loading.scss +43 -0
  23. data/_sass/_mixin.scss +63 -0
  24. data/_sass/_navs.scss +64 -0
  25. data/_sass/_owl.carousel.scss +368 -0
  26. data/_sass/_reset.scss +5 -0
  27. data/_sass/_styleguide.scss +273 -0
  28. data/_sass/_table.scss +160 -0
  29. data/_sass/_tiles.scss +196 -0
  30. data/_sass/_typography.scss +151 -0
  31. data/_sass/_variables-custom.scss +612 -0
  32. data/_sass/components/_breadcrumbs.scss +42 -0
  33. data/_sass/components/_button.scss +17 -0
  34. data/_sass/components/_footer.scss +92 -0
  35. data/_sass/components/_header.scss +336 -0
  36. data/_sass/components/_nav-sidebar.scss +217 -0
  37. data/assets/fonts/.DS_Store +0 -0
  38. data/assets/fonts/icomoon/icomoon.eot +0 -0
  39. data/assets/fonts/icomoon/icomoon.svg +16 -0
  40. data/assets/fonts/icomoon/icomoon.ttf +0 -0
  41. data/assets/fonts/icomoon/icomoon.woff +0 -0
  42. data/assets/images/pga-logo-tm.svg +72 -0
  43. data/assets/scripts/bootstrap.min.js +7 -0
  44. data/assets/scripts/jquery-3.3.1.min.js +2 -0
  45. data/assets/scripts/popper.min.js +5 -0
  46. metadata +46 -3
@@ -0,0 +1,577 @@
1
+ section {
2
+ padding: 50px 0;
3
+ }
4
+
5
+ body,
6
+ html {
7
+ height: 100%;
8
+ margin: 0;
9
+ opacity: 1;
10
+ transition: opacity 0.5s ease-in;
11
+ }
12
+
13
+ .wrapper {
14
+ @include media-breakpoint-up(md) {
15
+ min-height: calc(100vh - 315px);
16
+ }
17
+ }
18
+
19
+ .content-default {
20
+ background-color: $white;
21
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
22
+ margin: 80px 0;
23
+ padding: 50px 10px;
24
+ @include media-breakpoint-up(md) {
25
+ padding: 50px;
26
+ }
27
+ }
28
+
29
+ .section-indent {
30
+ margin-top: -100px;
31
+ @include media-breakpoint-down(md) {
32
+ margin-top: 0;
33
+ }
34
+ }
35
+
36
+ .bg-navy {
37
+ color: $white;
38
+ }
39
+
40
+ .image-center-container {
41
+ height: 100%;
42
+ text-align: center;
43
+
44
+ img {
45
+ min-height: 100%;
46
+ min-width: 100%;
47
+ }
48
+ @include media-breakpoint-down(md) {
49
+ img {
50
+ max-width: 100%;
51
+ min-width: 0;
52
+ }
53
+ }
54
+ }
55
+
56
+ .modal-open {
57
+ position: fixed;
58
+ }
59
+
60
+ .program {
61
+ align-items: center;
62
+ display: -webkit-flex;
63
+ display: -ms-flex;
64
+ display: flex;
65
+ @include media-breakpoint-down(xs) {
66
+ flex-wrap: wrap;
67
+ }
68
+ }
69
+
70
+ .program-body {
71
+ border-top: solid 1px $blue-grey;
72
+ margin-top: 1rem;
73
+ padding-top: 1rem;
74
+ @include media-breakpoint-up(sm) {
75
+ border-left: solid 1px $blue-grey;
76
+ border-top: 0;
77
+ flex: 1;
78
+ margin-left: 30px;
79
+ margin-top: 0;
80
+ padding-left: 30px;
81
+ padding-top: 0;
82
+ }
83
+ }
84
+
85
+ .program-image {
86
+ flex-basis: 92px;
87
+ min-width: 92px;
88
+ @include media-breakpoint-down(xs) {
89
+ flex-basis: 100%;
90
+ margin-bottom: 1rem;
91
+ min-width: 100%;
92
+ text-align: center;
93
+ }
94
+ }
95
+
96
+ .section-dark {
97
+ background-color: #e4e8ea;
98
+ }
99
+
100
+ .timeline-section {
101
+ display: flex;
102
+ flex-wrap: wrap;
103
+ }
104
+
105
+ .timeline-section li {
106
+ list-style: none;
107
+ position: relative;
108
+ text-align: left;
109
+ width: 100%;
110
+ @extend .clearfix;
111
+
112
+ .timeline-item {
113
+ padding: 0 50px;
114
+ position: relative;
115
+
116
+ &:before {
117
+ background-color: #e2e2e2;
118
+ border: 1px solid theme-color("primary");
119
+ border-radius: 50%;
120
+ content: "";
121
+ display: block;
122
+ height: 1rem;
123
+ position: absolute;
124
+ top: 6px;
125
+ width: 1rem;
126
+ z-index: 10;
127
+ }
128
+ }
129
+
130
+ &:nth-child(2n) {
131
+ padding-right: 50%;
132
+ text-align: right;
133
+
134
+ .timeline-item {
135
+ &:before {
136
+ right: -0.5rem;
137
+ }
138
+ }
139
+ }
140
+
141
+ &:nth-child(2n+1) {
142
+ padding-left: 50%;
143
+
144
+ .timeline-item {
145
+ &:before {
146
+ left: -0.5rem;
147
+ }
148
+ }
149
+ }
150
+ }
151
+
152
+ .timeline-wrapper {
153
+ min-height: 400px;
154
+ position: relative;
155
+ }
156
+
157
+ .timeline-section {
158
+ padding: 0;
159
+ }
160
+
161
+ .timeline-nested {
162
+ max-height: 0;
163
+ position: absolute;
164
+ top: 0;
165
+ transform: scale(0);
166
+ transition: all ease-in;
167
+ transition-delay: 0s;
168
+ transition-duration: 0.2s;
169
+
170
+ &:after {
171
+ border-left: 1px solid theme-color("primary");
172
+ bottom: 0;
173
+ content: "";
174
+ left: 50%;
175
+ margin-left: -0.5px;
176
+ position: absolute;
177
+ top: -10px;
178
+ }
179
+
180
+ &.collapse-show {
181
+ max-height: 900px;
182
+ position: relative;
183
+ transform: scale(1);
184
+ transition-delay: 0.2s;
185
+ transition-duration: 0.5s;
186
+ }
187
+ }
188
+
189
+ .timeline {
190
+ max-height: 450px;
191
+ transform: scale(1);
192
+ transition: all ease-in;
193
+ transition-delay: 0.2s;
194
+ transition-duration: 0.5s;
195
+
196
+ &:after {
197
+ border-left: 1px solid theme-color("primary");
198
+ bottom: 0;
199
+ content: "";
200
+ left: 50%;
201
+ margin-left: -0.5px;
202
+ position: absolute;
203
+ top: -10px;
204
+ }
205
+
206
+ &.collapse-hide {
207
+ max-height: 0;
208
+ transform: scale(0);
209
+ transition-delay: 0s;
210
+ transition-duration: 0.2s;
211
+ }
212
+ }
213
+
214
+ .timeline-nested-close {
215
+ position: absolute;
216
+ top: 0;
217
+ z-index: 10;
218
+ }
219
+
220
+ .timeline-nested-title {
221
+ align-items: center;
222
+ background-color: theme-color("primary");
223
+ border-radius: 50%;
224
+ color: $white;
225
+ display: flex;
226
+ height: 100px;
227
+ justify-content: center;
228
+ margin: 0 auto 40px;
229
+ position: relative;
230
+ width: 100px;
231
+ z-index: 20;
232
+
233
+ h4 {
234
+ margin-bottom: 0;
235
+ }
236
+ }
237
+
238
+ .card {
239
+ background-color: $white;
240
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
241
+ margin-bottom: 30px;
242
+ }
243
+
244
+ .card-horizontal {
245
+ @include media-breakpoint-up(md) {
246
+ flex-direction: row;
247
+ }
248
+
249
+ .card-body {
250
+ margin-left: 10px;
251
+ }
252
+ }
253
+
254
+ .section-footer {
255
+ padding: 30px 0 80px;
256
+ }
257
+
258
+ .section-bio {
259
+ margin-top: 50px;
260
+ }
261
+
262
+ .bio-wrapper {
263
+ background-color: $white;
264
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
265
+ margin-top: 20px;
266
+ padding: 50px;
267
+ }
268
+
269
+ .editor-link {
270
+ display: none;
271
+ }
272
+
273
+ .cms-editor-active .editor-link {
274
+ background-color: #f7e064;
275
+ display: block;
276
+ margin: 0 auto;
277
+ padding: 10px 20px;
278
+ }
279
+
280
+ .btn-link {
281
+ @extend .text-primary;
282
+ }
283
+
284
+ .fill-blue g,
285
+ .fill-blue path {
286
+ fill: #546c7e;
287
+ }
288
+ // Modal
289
+
290
+ .modal-open {
291
+ bottom: 0;
292
+ left: 0;
293
+ right: 0;
294
+ top: 0;
295
+ }
296
+
297
+ .modal-title {
298
+ color: $navy;
299
+ line-height: 1;
300
+ }
301
+
302
+ .modal-header {
303
+ padding: 1.5rem 2.5rem;
304
+ }
305
+
306
+ .modal-body {
307
+ max-height: 500px;
308
+ overflow: scroll;
309
+ padding: 0;
310
+ }
311
+
312
+ .modal-content {
313
+ border-radius: 0;
314
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
315
+
316
+ &:after {
317
+ background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.78) 61%, $white);
318
+ bottom: 0;
319
+ content: "";
320
+ height: 53px;
321
+ left: 0;
322
+ pointer-events: none;
323
+ position: absolute;
324
+ right: 0;
325
+ }
326
+ }
327
+
328
+ .modal-header .close {
329
+ padding: 0;
330
+ }
331
+
332
+ .modal-nav {
333
+ align-items: center;
334
+ display: -webkit-flex;
335
+ display: -ms-flex;
336
+ display: flex;
337
+ justify-content: space-between;
338
+ margin-bottom: 1rem;
339
+ padding: 0 2.5rem;
340
+
341
+ .breadcrumb {
342
+ margin-bottom: 0;
343
+ }
344
+ }
345
+ @media (max-width: 768px) {
346
+ .modal-body {
347
+ padding: 0 40px;
348
+ }
349
+ }
350
+ // Breadcrumb
351
+
352
+ .breadcrumb {
353
+ font-size: 12px;
354
+ font-weight: 500;
355
+ }
356
+
357
+ .breadcrumb-item {
358
+ a {
359
+ @extend .text-info;
360
+ }
361
+ }
362
+ // Dropdown
363
+
364
+ .dropdown-toggle {
365
+ font-size: 12px;
366
+ }
367
+
368
+ .dropdown-menu {
369
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
370
+ }
371
+
372
+ .dropdown-item {
373
+ font-size: 12px;
374
+ @extend .text-info;
375
+ font-weight: 500;
376
+ }
377
+
378
+ .dropdown-toggle {
379
+ white-space: nowrap;
380
+ }
381
+
382
+ .dropdown-toggle:after {
383
+ background-image: url("data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDQ1MS44NDcgNDUxLjg0NyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDUxLjg0NyA0NTEuODQ3OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgY2xhc3M9IiI+PGc+PGc+Cgk8cGF0aCBkPSJNMjI1LjkyMywzNTQuNzA2Yy04LjA5OCwwLTE2LjE5NS0zLjA5Mi0yMi4zNjktOS4yNjNMOS4yNywxNTEuMTU3Yy0xMi4zNTktMTIuMzU5LTEyLjM1OS0zMi4zOTcsMC00NC43NTEgICBjMTIuMzU0LTEyLjM1NCwzMi4zODgtMTIuMzU0LDQ0Ljc0OCwwbDE3MS45MDUsMTcxLjkxNWwxNzEuOTA2LTE3MS45MDljMTIuMzU5LTEyLjM1NCwzMi4zOTEtMTIuMzU0LDQ0Ljc0NCwwICAgYzEyLjM2NSwxMi4zNTQsMTIuMzY1LDMyLjM5MiwwLDQ0Ljc1MUwyNDguMjkyLDM0NS40NDlDMjQyLjExNSwzNTEuNjIxLDIzNC4wMTgsMzU0LjcwNiwyMjUuOTIzLDM1NC43MDZ6IiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIiBjbGFzcz0iYWN0aXZlLXBhdGgiIHN0eWxlPSJmaWxsOiMwMDIzNEIiIGRhdGEtb2xkX2NvbG9yPSIjMDAyMzRiIj48L3BhdGg+CjwvZz48L2c+IDwvc3ZnPg==");
384
+ background-repeat: no-repeat;
385
+ background-size: contain;
386
+ border: 0;
387
+ height: 8px;
388
+ vertical-align: 0;
389
+ width: 9px;
390
+ }
391
+ // Alerts
392
+ @each $color, $value in $theme-colors {
393
+ .alert-#{$color} {
394
+ .alert-close {
395
+ @include alert-close-variant($value)
396
+ }
397
+ }
398
+ }
399
+
400
+ .alert {
401
+ .close {
402
+ position: absolute;
403
+ right: 1.25rem;
404
+ top: 50%;
405
+ transform: translateY(-50%);
406
+ }
407
+ }
408
+ // Map
409
+
410
+ #map {
411
+ height: 450px;
412
+ width: 100%;
413
+ }
414
+
415
+ .map-wrapper {
416
+ position: relative;
417
+ @include media-breakpoint-up(md) {
418
+ .tiles-wrapper {
419
+ max-width: 400px;
420
+ position: absolute;
421
+ right: 50px;
422
+ top: 50%;
423
+ transform: translateY(-50%);
424
+ z-index: 100;
425
+ }
426
+ }
427
+ }
428
+
429
+ .sub-category-content {
430
+ img {
431
+ display: block;
432
+ height: auto;
433
+ margin-bottom: 1rem;
434
+ max-width: 100%;
435
+ }
436
+ }
437
+
438
+ .content-main {
439
+ a {
440
+ text-decoration: underline;
441
+ }
442
+ }
443
+ // Sidebar
444
+
445
+ .sidebar {
446
+ background-color: $white;
447
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
448
+ margin-bottom: 1rem;
449
+ }
450
+
451
+ .category {
452
+ .list-group-item {
453
+ border: 0;
454
+ }
455
+
456
+ > a {
457
+ color: $blue-grey;
458
+ display: block;
459
+ font-size: 16px;
460
+ font-weight: 600;
461
+ letter-spacing: -0.2px;
462
+ line-height: 1.75;
463
+ padding: 20px 21px;
464
+ text-transform: capitalize;
465
+ @include media-breakpoint-up(lg) {
466
+ font-size: 20px;
467
+ padding: 28px 30px;
468
+ }
469
+
470
+ &[data-toggle="collapse"] {
471
+ position: relative;
472
+
473
+ &:after {
474
+ content: "\e903";
475
+ font-size: 12px;
476
+ position: absolute;
477
+ top: 50%;
478
+ right: 20px;
479
+ transform: translateY(-50%);
480
+ font-family: 'icomoon' !important;
481
+ }
482
+
483
+ &.collapsed {
484
+ position: relative;
485
+
486
+ &:after {
487
+ content: "\e902";
488
+ }
489
+ }
490
+ }
491
+ }
492
+
493
+ &:not(.active) {
494
+ position: relative;
495
+ margin-top: -1px;
496
+
497
+ [data-toggle="collapse"] {
498
+ &:after {
499
+ color: theme-color("secondary");
500
+ }
501
+ }
502
+
503
+ .category-inactive {
504
+ border-bottom: solid 1px #dee2e3;
505
+ }
506
+ }
507
+
508
+ & + .category:not(.active) {
509
+ position: relative;
510
+
511
+ &:before {
512
+ border-top: solid 1px #dee2e3;
513
+ content: "";
514
+ display: block;
515
+ position: absolute;
516
+ right: 0;
517
+ left: 0;
518
+ top: 0;
519
+ z-index: 10;
520
+ @include media-breakpoint-up(lg) {
521
+ right: 20px;
522
+ left: 20px;
523
+ }
524
+ }
525
+ }
526
+
527
+ &.active {
528
+ .category-active {
529
+ background-color: theme-color("primary");
530
+ color: $white;
531
+ }
532
+ }
533
+ }
534
+
535
+ .sub-category {
536
+ padding: 20px 0;
537
+
538
+ .list-group-item {
539
+ border: none;
540
+ border: 0;
541
+ color: theme-color("secondary");
542
+ font-weight: 500;
543
+ font-size: 14px;
544
+ line-height: 1.5;
545
+ padding: 11px 40px;
546
+ text-transform: capitalize;
547
+ @include media-breakpoint-up(lg) {
548
+ color: $blue-grey;
549
+ font-size: 16px;
550
+ padding: 11px 30px;
551
+ }
552
+
553
+ &.sub-category-active {
554
+ color: theme-color("secondary");
555
+ position: relative;
556
+
557
+ &:before {
558
+ background-color: theme-color("primary");
559
+ bottom: 5px;
560
+ content: "";
561
+ display: block;
562
+ left: 0;
563
+ position: absolute;
564
+ top: 5px;
565
+ width: 5px;
566
+ }
567
+ }
568
+ }
569
+ }
570
+
571
+ .component__body {
572
+ padding: 1rem;
573
+ margin: 1rem 0 0;
574
+ border: solid #f7f7f9;
575
+ border-width: 0.2rem 0 0;
576
+ border-width: 0.2rem;
577
+ }