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,92 @@
1
+ .footer {
2
+ background-color: theme-color("secondary");
3
+ padding: 50px 0;
4
+ }
5
+
6
+ .footer-col {
7
+ flex: 0 0 100%;
8
+ max-width: 100%;
9
+ min-height: 1px;
10
+ padding-right: 15px;
11
+ padding-left: 15px;
12
+ margin-bottom: 1rem;
13
+ @include media-breakpoint-up(sm) {
14
+ flex: 0 0 50%;
15
+ max-width: 50%;
16
+ }
17
+ @include media-breakpoint-up(md) {
18
+ flex: 0 0 33.33333%;
19
+ max-width: 33.33333%;
20
+ }
21
+ @include media-breakpoint-up(lg) {
22
+ flex: 0 0 20%;
23
+ max-width: 20%;
24
+ margin-bottom: 0;
25
+ }
26
+
27
+ h5 {
28
+ color: $white;
29
+ margin-bottom: 0.75rem;
30
+ }
31
+
32
+ ul:not(.social-list) {
33
+ padding: 0;
34
+ margin: 0;
35
+ list-style: none;
36
+
37
+ li + li {
38
+ a {
39
+ margin-top: 8px;
40
+ }
41
+ }
42
+
43
+ a {
44
+ color: $gray-600;
45
+ font-size: 0.75rem;
46
+ display: block;
47
+
48
+ &:hover {
49
+ opacity: 0.8;
50
+ }
51
+ }
52
+ }
53
+ }
54
+ // Copyright
55
+
56
+ .copyright {
57
+ opacity: 0.6;
58
+ font-size: 10px;
59
+ color: $gray-600;
60
+ margin-bottom: 0.125rem;
61
+ }
62
+ // Social list
63
+
64
+ .social-list {
65
+ padding: 0;
66
+ margin: 0;
67
+ list-style: none;
68
+ display: flex;
69
+ margin-left: -5px;
70
+ margin-top: 1rem;
71
+
72
+ li {
73
+ margin: 0 5px;
74
+ }
75
+ }
76
+
77
+ .social-list-item {
78
+ circle,
79
+ path {
80
+ transition: all 0.3s ease-in-out;
81
+ }
82
+
83
+ &:hover {
84
+ circle {
85
+ fill: theme-color("primary");
86
+ }
87
+
88
+ path {
89
+ fill: theme-color("secondary");
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,336 @@
1
+ .navbar-primary {
2
+ @extend .navbar;
3
+ @extend .navbar-expand-lg;
4
+ @extend .navbar-dark;
5
+ background-color: theme-color("secondary");
6
+ height: 53px;
7
+ box-shadow: $navbar-shadow;
8
+ @include media-breakpoint-up(md) {
9
+ height: 80px;
10
+ }
11
+
12
+ .navbar-nav:not(.navbar-icon) {
13
+ @include media-breakpoint-down(md) {
14
+ padding: 0 30px;
15
+
16
+ .nav-item + .nav-item {
17
+ border-top: 1px solid rgba(127, 145, 165, 0.5);
18
+ }
19
+ }
20
+
21
+ .nav-link {
22
+ font-size: 1rem;
23
+ font-weight: 500;
24
+ height: 100%;
25
+ padding-left: $nav-link-padding-x;
26
+ padding-right: $nav-link-padding-x;
27
+ display: flex;
28
+ align-items: center;
29
+ position: relative;
30
+ text-transform: capitalize;
31
+ @include media-breakpoint-down(md) {
32
+ padding: 0.75rem;
33
+ font-size: 1.125rem;
34
+ width: fit-content;
35
+ }
36
+
37
+ &:after {
38
+ position: absolute;
39
+ content: "";
40
+ left: $nav-link-padding-x;
41
+ right: $nav-link-padding-x;
42
+ bottom: 0;
43
+ border-bottom: 4px solid theme-color("primary");
44
+ width: 0;
45
+ -webkit-transition: width cubic-bezier(0.83, 0.01, 0.68, 1) 0.3s;
46
+ -o-transition: width cubic-bezier(0.83, 0.01, 0.68, 1) 0.3s;
47
+ transition: width cubic-bezier(0.83, 0.01, 0.68, 1) 0.3s;
48
+ @include media-breakpoint-down(md) {
49
+ left: 0.75rem;
50
+ right: 0.75rem;
51
+ bottom: 12px;
52
+ }
53
+ }
54
+
55
+ &:focus:not(.active),
56
+ &:hover:not(.active) {
57
+ color: theme-color("primary");
58
+ }
59
+
60
+ &.active {
61
+ color: $white;
62
+ font-weight: 700;
63
+
64
+ &:after {
65
+ width: calc(100% - 2.5rem);
66
+ @include media-breakpoint-down(md) {
67
+ width: calc(100% - 1.5rem);
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+
74
+ .container {
75
+ height: 100%;
76
+ }
77
+ }
78
+
79
+ .navbar-secondary {
80
+ &.fixed {
81
+ position: absolute;
82
+ z-index: 10;
83
+ top: 80px;
84
+ left: 0;
85
+ right: 0;
86
+ }
87
+
88
+ .navbar-nav {
89
+ margin-left: -$nav-secondary-link-padding-x;
90
+
91
+ .nav-link {
92
+ font-size: 0.75rem;
93
+ font-weight: 500;
94
+ text-transform: uppercase;
95
+ height: 100%;
96
+ padding: $nav-secondary-link-padding-y $nav-secondary-link-padding-x;
97
+ position: relative;
98
+
99
+ &:after {
100
+ display: block;
101
+ content: attr(title);
102
+ font-weight: bold;
103
+ height: 0;
104
+ overflow: hidden;
105
+ visibility: hidden;
106
+ }
107
+ }
108
+
109
+ .nav-link {
110
+ &.active,
111
+ &:focus,
112
+ &:hover {
113
+ font-weight: 700;
114
+ }
115
+ }
116
+ }
117
+ }
118
+
119
+ .btn-login {
120
+ align-self: stretch;
121
+ display: flex;
122
+ align-items: center;
123
+ padding: 0.7825rem 2rem;
124
+ text-transform: uppercase;
125
+ font-weight: 500;
126
+ font-size: 0.75rem;
127
+
128
+ .icon-user {
129
+ padding-right: 1.5rem;
130
+ }
131
+ @include media-breakpoint-down(md) {
132
+ background-color: transparent;
133
+ border-color: transparent;
134
+ position: absolute;
135
+ bottom: 54px;
136
+ right: 0;
137
+ }
138
+ }
139
+
140
+ .navbar-icon {
141
+ @extend .flex-row;
142
+ @extend .ml-md-auto;
143
+ @extend .d-flex;
144
+ padding-right: 1.25rem;
145
+ @include media-breakpoint-down(md) {
146
+ position: absolute;
147
+ bottom: 62px;
148
+ left: 25px;
149
+ }
150
+
151
+ .nav-link-icon {
152
+ color: theme-color("primary");
153
+ font-weight: 500;
154
+ text-transform: uppercase;
155
+ padding-left: 0.625rem;
156
+ padding-right: 0;
157
+ display: -webkit-flex;
158
+ display: -ms-flex;
159
+ display: flex;
160
+
161
+ &:hover {
162
+ opacity: 0.8;
163
+ }
164
+ @include media-breakpoint-down(md) {
165
+ svg {
166
+ height: 19px;
167
+ width: auto;
168
+ }
169
+ }
170
+
171
+ svg {
172
+ margin-right: 5px;
173
+
174
+ &.icon-search {
175
+ margin-right: 10px;
176
+ }
177
+ }
178
+
179
+ small {
180
+ font-weight: 500;
181
+ font-size: 85.75%;
182
+ line-height: 0.8;
183
+ align-self: center;
184
+ @include media-breakpoint-down(md) {
185
+ display: none;
186
+ }
187
+ }
188
+ }
189
+ }
190
+
191
+ .navbar-toggler {
192
+ border-width: 0;
193
+ }
194
+
195
+ .navbar-brand {
196
+ margin-right: 70px;
197
+ @include media-breakpoint-down(md) {
198
+ padding-top: 0;
199
+ margin-right: 0;
200
+
201
+ img {
202
+ width: 100px;
203
+ }
204
+ }
205
+ }
206
+
207
+ .mobile-buttons-group {
208
+ display: flex;
209
+ align-items: center;
210
+ }
211
+
212
+ .navbar-search {
213
+ display: flex;
214
+ padding-right: 1.25rem;
215
+ background-color: transparent;
216
+ border: transparent;
217
+ @include media-breakpoint-up(lg) {
218
+ display: none;
219
+ }
220
+ }
221
+
222
+ .navbar-collapse {
223
+ @include media-breakpoint-down(md) {
224
+ background-color: theme-color("secondary");
225
+ position: fixed;
226
+ display: block !important;
227
+ top: 0;
228
+ right: 0;
229
+ bottom: 0;
230
+ width: 315px;
231
+ z-index: 2000;
232
+ height: 100vh;
233
+ transform: translateX(340px);
234
+ transition: transform 0.2s ease-in-out;
235
+ overflow: scroll;
236
+ -webkit-overflow-scrolling: touch;
237
+
238
+ &.show {
239
+ transform: translateX(0px);
240
+ }
241
+ }
242
+ }
243
+
244
+ .navbar-collapse-header {
245
+ height: 53px;
246
+ display: flex;
247
+ justify-content: flex-end;
248
+ padding: 0 1.25rem;
249
+ @include media-breakpoint-up(lg) {
250
+ display: none;
251
+ }
252
+ }
253
+
254
+ .overlay {
255
+ background-color: $navy-50;
256
+ position: fixed;
257
+ top: 0;
258
+ right: 0;
259
+ left: 0;
260
+ bottom: 0;
261
+ z-index: 1000;
262
+ display: none;
263
+
264
+ &.show {
265
+ display: block;
266
+ }
267
+ }
268
+
269
+ .navbar-collapse-inner {
270
+ @include media-breakpoint-down(md) {
271
+ min-height: 450px;
272
+ height: 100vh;
273
+ position: relative;
274
+ }
275
+ @include media-breakpoint-up(lg) {
276
+ width: 100%;
277
+ display: flex !important;
278
+ flex-basis: auto;
279
+ height: 100%;
280
+ align-items: center;
281
+ }
282
+ }
283
+ // navs
284
+
285
+ .nav-tabs {
286
+ margin-left: -$nav-tabs-link-padding-x;
287
+ margin-bottom: 40px;
288
+
289
+ .nav-link {
290
+ font-size: 0.75rem;
291
+ font-weight: 500;
292
+ padding: 12px 0;
293
+ text-transform: uppercase;
294
+ position: relative;
295
+ color: $white;
296
+
297
+ &:after {
298
+ position: absolute;
299
+ content: "";
300
+ left: $nav-tabs-link-padding-x;
301
+ right: $nav-tabs-link-padding-x;
302
+ bottom: 0;
303
+ border-bottom: 4px solid theme-color("primary");
304
+ width: 0;
305
+ @include transition(width cubic-bezier(0.83, 0.01, 0.68, 1) 0.3s);
306
+ }
307
+
308
+ &.active,
309
+ &:focus,
310
+ &:hover {
311
+ &:after {
312
+ width: calc(100% - 1.875rem);
313
+ @include media-breakpoint-down(xs) {
314
+ width: 100%;
315
+ }
316
+ }
317
+ }
318
+ }
319
+ }
320
+
321
+ .nav-tabs.nav-fill {
322
+ @include media-breakpoint-down(xs) {
323
+ .nav-item {
324
+ width: 100%;
325
+ }
326
+ }
327
+ }
328
+
329
+ .dropdown-menu .dropdown-item {
330
+ font-size: 12px;
331
+ }
332
+
333
+ #dropdown-container {
334
+ top: 7px !important;
335
+ left: -100% !important;
336
+ }
@@ -0,0 +1,217 @@
1
+ // #nav-sidebar {
2
+ // .white {
3
+ // border: solid white;
4
+ // border-width: 0 2px 2px 0;
5
+ // display: inline-block;
6
+ // padding: 3px;
7
+ // }
8
+ // .black {
9
+ // border: solid $blue-grey;
10
+ // border-width: 0 2px 2px 0;
11
+ // display: inline-block;
12
+ // padding: 3px;
13
+ // }
14
+ // .right {
15
+ // transform: rotate(-45deg);
16
+ // -webkit-transform: rotate(-45deg);
17
+ // }
18
+ // .left {
19
+ // transform: rotate(135deg);
20
+ // -webkit-transform: rotate(135deg);
21
+ // }
22
+ // .up {
23
+ // transform: rotate(-135deg);
24
+ // -webkit-transform: rotate(-135deg);
25
+ // }
26
+ // .down {
27
+ // transform: rotate(45deg);
28
+ // -webkit-transform: rotate(45deg);
29
+ // }
30
+ // a.bg-primary:focus, a.bg-primary:hover, button.bg-primary:focus, button.bg-primary:hover {
31
+ // background-color: transparent !important;
32
+ // }
33
+ // .navchild-active {
34
+ // @extend .bl-5;
35
+ // font-weight: 700;
36
+ // }
37
+ // .category-active {
38
+ // font-weight: 700;
39
+ // font-size: 1.1rem;
40
+ // }
41
+ // .category-inactive {
42
+ // font-weight: 500;
43
+ // font-size: 1.1rem;
44
+ // color: $blue-grey;
45
+ // }
46
+ // .collapse {
47
+ // span {
48
+ // color: $blue-grey;
49
+ // }
50
+ // }
51
+ // }
52
+ // Sidebar
53
+
54
+ .sidebar {
55
+ background-color: $white;
56
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
57
+ margin-bottom: 1rem;
58
+ }
59
+ // Main category
60
+
61
+ .main-category__item {
62
+ > a {
63
+ font-size: 16px;
64
+ font-weight: 600;
65
+ letter-spacing: -0.2px;
66
+ line-height: 1.75;
67
+ padding: 20px;
68
+ display: block;
69
+ position: relative;
70
+ text-transform: uppercase;
71
+
72
+ &:after {
73
+ content: "\e905";
74
+ font-size: 12px;
75
+ position: absolute;
76
+ top: 50%;
77
+ right: 20px;
78
+ transform: translateY(-50%);
79
+ font-family: 'icomoon' !important;
80
+ }
81
+ }
82
+
83
+ & + .main-category__item {
84
+ border-top: solid 1px #dee2e3;
85
+ }
86
+
87
+ > a.collapsed {
88
+ position: relative;
89
+
90
+ &:after {
91
+ content: "\e904";
92
+ }
93
+ }
94
+
95
+ > a.directed {
96
+ position: relative;
97
+
98
+ &:after {
99
+ content: "\e900";
100
+ }
101
+ }
102
+ }
103
+ // Secondary category
104
+
105
+ .secondary-category {
106
+ position: relative;
107
+
108
+ .list-group-item {
109
+ border: 0;
110
+ }
111
+
112
+ &:not(.active) {
113
+ position: relative;
114
+ margin-top: -1px;
115
+
116
+ [data-toggle="collapse"] {
117
+ &:after {
118
+ color: theme-color("secondary");
119
+ }
120
+ }
121
+
122
+ &:before {
123
+ border-top: solid 1px #dee2e3;
124
+ content: "";
125
+ display: block;
126
+ position: absolute;
127
+ right: 0;
128
+ left: 0;
129
+ top: 0;
130
+ z-index: 10;
131
+ @include media-breakpoint-up(lg) {
132
+ right: 20px;
133
+ left: 20px;
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ .secondary-category__item {
140
+ color: $blue-grey;
141
+ display: block;
142
+ font-size: 16px;
143
+ font-weight: 600;
144
+ letter-spacing: -0.2px;
145
+ line-height: 1.75;
146
+ padding: 20px 25px;
147
+ text-transform: capitalize;
148
+ @include media-breakpoint-up(lg) {
149
+ font-size: 16px;
150
+ padding: 28px 40px;
151
+ }
152
+
153
+ &[data-toggle="collapse"] {
154
+ position: relative;
155
+
156
+ &:after {
157
+ content: "\e903";
158
+ font-size: 12px;
159
+ position: absolute;
160
+ top: 50%;
161
+ right: 20px;
162
+ transform: translateY(-50%);
163
+ font-family: 'icomoon' !important;
164
+ }
165
+
166
+ &.collapsed {
167
+ position: relative;
168
+
169
+ &:after {
170
+ content: "\e902";
171
+ }
172
+ }
173
+ }
174
+ }
175
+
176
+ .secondary-category__item—active {
177
+ background-color: theme-color("primary");
178
+ color: $white;
179
+ }
180
+ // Subcategory
181
+
182
+ .sub-category {
183
+ padding: 20px 0;
184
+
185
+ .sub-category__item {
186
+ border: none;
187
+ border: 0;
188
+ color: theme-color("secondary");
189
+ font-weight: 500;
190
+ font-size: 14px;
191
+ line-height: 1.5;
192
+ padding: 11px 40px;
193
+ text-transform: capitalize;
194
+ display: block;
195
+ @include media-breakpoint-up(lg) {
196
+ color: $blue-grey;
197
+ font-size: 16px;
198
+ padding: 11px 60px;
199
+ }
200
+
201
+ &.sub-category__item-active {
202
+ color: theme-color("secondary");
203
+ position: relative;
204
+
205
+ &:before {
206
+ background-color: theme-color("primary");
207
+ bottom: 5px;
208
+ content: "";
209
+ display: block;
210
+ left: 0;
211
+ position: absolute;
212
+ top: 5px;
213
+ width: 5px;
214
+ }
215
+ }
216
+ }
217
+ }
Binary file
Binary file
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="arrow-right" d="M782.858 397.307l-440.304-440.29c-28.009-28.022-73.42-28.022-101.415 0-27.997 27.997-27.997 73.406 0 101.401l389.601 389.589-389.589 389.576c-27.997 28.009-27.997 73.413 0 101.41 27.997 28.009 73.406 28.009 101.415 0l440.304-440.297c13.999-14.005 20.99-32.342 20.99-50.687 0-18.354-7.005-36.704-21.001-50.703z" />
11
+ <glyph unicode="&#xe901;" glyph-name="arrow-left" d="M220.146 448.008c0 18.345 7.005 36.695 20.983 50.687l440.308 440.297c28.009 28.009 73.42 28.009 101.417 0 27.997-27.997 27.997-73.399 0-101.41l-389.603-389.574 389.576-389.589c27.997-27.997 27.997-73.406 0-101.401-27.997-28.022-73.395-28.022-101.404 0l-440.31 440.29c-13.976 13.999-20.967 32.349-20.967 50.701z" />
12
+ <glyph unicode="&#xe902;" glyph-name="icon-plus" d="M457.143 857.6c0 30.297 24.56 54.857 54.857 54.857s54.857-24.56 54.857-54.857v-819.2c0-30.297-24.56-54.857-54.857-54.857s-54.857 24.56-54.857 54.857v819.2zM102.4 393.143c-30.297 0-54.857 24.56-54.857 54.857s24.56 54.857 54.857 54.857h819.2c30.297 0 54.857-24.56 54.857-54.857s-24.56-54.857-54.857-54.857h-819.2z" />
13
+ <glyph unicode="&#xe903;" glyph-name="icon-minus" d="M60.472 387.528c-33.398 0-60.472 27.074-60.472 60.472s27.074 60.472 60.472 60.472h903.055c33.398 0 60.472-27.074 60.472-60.472s-27.074-60.472-60.472-60.472h-903.055z" />
14
+ <glyph unicode="&#xe904;" glyph-name="arrow-down" d="M461.307 177.142l-440.29 440.304c-28.022 28.009-28.022 73.42 0 101.415 27.997 27.997 73.406 27.997 101.401 0l389.589-389.601 389.576 389.589c28.009 27.997 73.413 27.997 101.41 0 28.009-27.997 28.009-73.406 0-101.415l-440.297-440.304c-14.005-13.999-32.342-20.99-50.687-20.99-18.354 0-36.704 7.005-50.703 21.001z" />
15
+ <glyph unicode="&#xe905;" glyph-name="arrow-up" d="M512.008 739.854c18.345 0 36.695-7.005 50.687-20.983l440.297-440.308c28.009-28.009 28.009-73.42 0-101.417-27.997-27.997-73.399-27.997-101.41 0l-389.574 389.603-389.589-389.576c-27.997-27.997-73.406-27.997-101.401 0-28.022 27.997-28.022 73.395 0 101.404l440.29 440.31c13.999 13.976 32.349 20.967 50.701 20.967z" />
16
+ </font></defs></svg>
Binary file
Binary file