jekyll-theme-pga-default 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
data/_sass/_fonts.scss ADDED
File without changes
@@ -0,0 +1,93 @@
1
+ // Footer
2
+
3
+ .footer {
4
+ background-color: theme-color("secondary");
5
+ padding: 50px 0;
6
+ }
7
+
8
+ .footer-col {
9
+ flex: 0 0 100%;
10
+ max-width: 100%;
11
+ min-height: 1px;
12
+ padding-right: 15px;
13
+ padding-left: 15px;
14
+ margin-bottom: 1rem;
15
+ @include media-breakpoint-up(sm) {
16
+ flex: 0 0 50%;
17
+ max-width: 50%;
18
+ }
19
+ @include media-breakpoint-up(md) {
20
+ flex: 0 0 33.33333%;
21
+ max-width: 33.33333%;
22
+ }
23
+ @include media-breakpoint-up(lg) {
24
+ flex: 0 0 20%;
25
+ max-width: 20%;
26
+ margin-bottom: 0;
27
+ }
28
+
29
+ h5 {
30
+ color: $white;
31
+ margin-bottom: 0.75rem;
32
+ }
33
+
34
+ ul:not(.social-list) {
35
+ padding: 0;
36
+ margin: 0;
37
+ list-style: none;
38
+ line-height: 2;
39
+
40
+ li + li {
41
+ margin-top: 8px;
42
+ }
43
+
44
+ a {
45
+ color: $gray-600;
46
+ font-size: 0.75rem;
47
+ display: block;
48
+
49
+ &:hover {
50
+ opacity: 0.8;
51
+ }
52
+ }
53
+ }
54
+ }
55
+ // Copyright
56
+
57
+ .copyright {
58
+ opacity: 0.6;
59
+ font-size: 10px;
60
+ color: $gray-600;
61
+ margin-bottom: 0.125rem;
62
+ }
63
+ // Social list
64
+
65
+ .social-list {
66
+ padding: 0;
67
+ margin: 0;
68
+ list-style: none;
69
+ display: flex;
70
+ margin-left: -5px;
71
+ margin-top: 1rem;
72
+
73
+ li {
74
+ margin: 0 5px;
75
+ }
76
+ }
77
+
78
+ .social-list-item {
79
+ circle,
80
+ path {
81
+ transition: all 0.3s ease-in-out;
82
+ }
83
+
84
+ &:hover {
85
+ circle {
86
+ fill: theme-color("primary");
87
+ }
88
+
89
+ path {
90
+ fill: theme-color("secondary");
91
+ }
92
+ }
93
+ }
data/_sass/_form.scss ADDED
@@ -0,0 +1,81 @@
1
+ .select {
2
+ cursor: pointer;
3
+ display: inline-block;
4
+ position: relative;
5
+ font-size: 16px;
6
+ line-height: 1.2;
7
+ width: 100%;
8
+ height: 45px;
9
+ }
10
+
11
+ .select-hidden {
12
+ display: none;
13
+ visibility: hidden;
14
+ padding-right: 10px;
15
+ }
16
+
17
+ .select-styled {
18
+ position: absolute;
19
+ top: 0;
20
+ right: 0;
21
+ bottom: 0;
22
+ left: 0;
23
+ background-color: $white;
24
+ font-size: 0.875rem;
25
+ color: $navy;
26
+ border: 1px solid #7f91a5;
27
+ padding: 0.75rem 1.25rem;
28
+ @include transition(all 0.2s ease-in);
29
+
30
+ &:after {
31
+ content: "";
32
+ width: 0;
33
+ height: 0;
34
+ border: 5px solid transparent;
35
+ border-color: #7f91a5 transparent transparent transparent;
36
+ position: absolute;
37
+ top: 50%;
38
+ right: 15px;
39
+ transform: translateY(-2px);
40
+ }
41
+
42
+ &.active,
43
+ &:active {
44
+ &:after {
45
+ transform: rotare(180deg);
46
+ }
47
+ }
48
+ }
49
+
50
+ .select-options {
51
+ display: none;
52
+ position: absolute;
53
+ top: 100%;
54
+ right: 0;
55
+ left: 0;
56
+ z-index: 999;
57
+ margin: 0;
58
+ padding: 0;
59
+ list-style: none;
60
+ background-color: $white;
61
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
62
+
63
+ li {
64
+ margin: 0;
65
+ padding: 12px 0;
66
+ text-indent: 15px;
67
+ @include transition(all 0.15s ease-in);
68
+
69
+ &:hover {
70
+ background-color: #f4f7f8;
71
+ }
72
+
73
+ &[rel="hide"] {
74
+ display: none;
75
+ }
76
+ }
77
+ }
78
+
79
+ .form-control {
80
+ font-size: 0.875rem;
81
+ }
@@ -0,0 +1,86 @@
1
+ // Bootstrap functions
2
+ //
3
+ // Utility mixins and functions for evalutating source code across our variables, maps, and mixins.
4
+
5
+ // Ascending
6
+ // Used to evaluate Sass maps like our grid breakpoints.
7
+ @mixin _assert-ascending($map, $map-name) {
8
+ $prev-key: null;
9
+ $prev-num: null;
10
+ @each $key, $num in $map {
11
+ @if $prev-num == null {
12
+ // Do nothing
13
+ } @else if not comparable($prev-num, $num) {
14
+ @warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
15
+ } @else if $prev-num >= $num {
16
+ @warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
17
+ }
18
+ $prev-key: $key;
19
+ $prev-num: $num;
20
+ }
21
+ }
22
+
23
+ // Starts at zero
24
+ // Another grid mixin that ensures the min-width of the lowest breakpoint starts at 0.
25
+ @mixin _assert-starts-at-zero($map) {
26
+ $values: map-values($map);
27
+ $first-value: nth($values, 1);
28
+ @if $first-value != 0 {
29
+ @warn "First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{$first-value}.";
30
+ }
31
+ }
32
+
33
+ // Replace `$search` with `$replace` in `$string`
34
+ // Used on our SVG icon backgrounds for custom forms.
35
+ //
36
+ // @author Hugo Giraudel
37
+ // @param {String} $string - Initial string
38
+ // @param {String} $search - Substring to replace
39
+ // @param {String} $replace ('') - New value
40
+ // @return {String} - Updated string
41
+ @function str-replace($string, $search, $replace: "") {
42
+ $index: str-index($string, $search);
43
+
44
+ @if $index {
45
+ @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
46
+ }
47
+
48
+ @return $string;
49
+ }
50
+
51
+ // Color contrast
52
+ @function color-yiq($color) {
53
+ $r: red($color);
54
+ $g: green($color);
55
+ $b: blue($color);
56
+
57
+ $yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
58
+
59
+ @if ($yiq >= $yiq-contrasted-threshold) {
60
+ @return $yiq-text-dark;
61
+ } @else {
62
+ @return $yiq-text-light;
63
+ }
64
+ }
65
+
66
+ // Retrieve color Sass maps
67
+ @function color($key: "blue") {
68
+ @return map-get($colors, $key);
69
+ }
70
+
71
+ @function theme-color($key: "primary") {
72
+ @return map-get($theme-colors, $key);
73
+ }
74
+
75
+ @function gray($key: "100") {
76
+ @return map-get($grays, $key);
77
+ }
78
+
79
+ // Request a theme color level
80
+ @function theme-color-level($color-name: "primary", $level: 0) {
81
+ $color: theme-color($color-name);
82
+ $color-base: if($level > 0, #000, #fff);
83
+ $level: abs($level);
84
+
85
+ @return mix($color-base, $color, $level * $theme-color-interval);
86
+ }
@@ -0,0 +1,282 @@
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
+ &:focus:not(.active),
38
+ &:hover:not(.active) {
39
+ color: theme-color("primary");
40
+ }
41
+
42
+ &.active {
43
+ font-weight: 700;
44
+
45
+ &:after {
46
+ content: "";
47
+ position: absolute;
48
+ left: $nav-link-padding-x;
49
+ right: $nav-link-padding-x;
50
+ bottom: 0;
51
+ border-bottom: 4px solid theme-color("primary");
52
+ width: calc(100% - 2.5rem);
53
+ @include media-breakpoint-down(md) {
54
+ width: calc(100% - 1.5rem);
55
+ left: 0.75rem;
56
+ right: 0.75rem;
57
+ bottom: 10px;
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+
64
+ .container {
65
+ height: 100%;
66
+ }
67
+ }
68
+
69
+ .navbar-secondary {
70
+ &.fixed {
71
+ position: absolute;
72
+ z-index: 10;
73
+ top: 80px;
74
+ left: 0;
75
+ right: 0;
76
+ }
77
+
78
+ &.bg-white {
79
+ position: relative;
80
+ top: 0;
81
+ }
82
+
83
+ .navbar-nav {
84
+ margin-left: -$nav-secondary-link-padding-x;
85
+
86
+ .nav-link {
87
+ font-size: 0.75rem;
88
+ font-weight: 500;
89
+ text-transform: uppercase;
90
+ height: 100%;
91
+ padding: $nav-secondary-link-padding-y $nav-secondary-link-padding-x;
92
+ position: relative;
93
+
94
+ &:after {
95
+ display: block;
96
+ content: attr(title);
97
+ font-weight: bold;
98
+ height: 0;
99
+ overflow: hidden;
100
+ visibility: hidden;
101
+ }
102
+ }
103
+
104
+ .nav-link {
105
+ &.active,
106
+ &:focus,
107
+ &:hover {
108
+ font-weight: 700;
109
+ }
110
+ }
111
+ }
112
+ }
113
+
114
+ .btn-login {
115
+ align-self: stretch;
116
+ display: flex;
117
+ align-items: center;
118
+ padding: 0.7825rem 2rem;
119
+ text-transform: uppercase;
120
+ font-weight: 500;
121
+ font-size: 0.75rem;
122
+
123
+ .icon-user {
124
+ margin-right: 0.25rem;
125
+ }
126
+ @include media-breakpoint-down(md) {
127
+ background-color: transparent;
128
+ border-color: transparent;
129
+ position: absolute;
130
+ bottom: 54px;
131
+ right: 0;
132
+ }
133
+ }
134
+
135
+ .navbar-icon {
136
+ @extend .flex-row;
137
+ @extend .ml-md-auto;
138
+ @extend .d-flex;
139
+ padding-right: 1.25rem;
140
+ // margin-top: -4px;
141
+ @include media-breakpoint-down(md) {
142
+ position: absolute;
143
+ bottom: 70px;
144
+ left: 25px;
145
+ }
146
+
147
+ .nav-link-icon {
148
+ color: theme-color("primary");
149
+ font-weight: 500;
150
+ text-transform: uppercase;
151
+ padding-left: 0.625rem;
152
+ padding-right: 0;
153
+ display: -webkit-flex;
154
+ display: -ms-flex;
155
+ display: flex;
156
+
157
+ &:hover {
158
+ opacity: 0.8;
159
+ }
160
+
161
+ svg {
162
+ margin-right: 5px;
163
+
164
+ &.icon-search {
165
+ margin-right: 10px;
166
+ }
167
+ }
168
+
169
+ small {
170
+ font-weight: 500;
171
+ font-size: 85.75%;
172
+ line-height: 0.8;
173
+ align-self: center;
174
+ @include media-breakpoint-down(md) {
175
+ display: none;
176
+ }
177
+ }
178
+ @include media-breakpoint-down(md) {
179
+ svg {
180
+ height: 19px;
181
+ width: auto;
182
+ }
183
+ }
184
+
185
+ svg {
186
+ vertical-align: middle;
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
+ }
@@ -0,0 +1,163 @@
1
+ .highlight pre, pre {
2
+ background-color: #f8f8f8;
3
+ border: 1px solid #ccc;
4
+ padding: 6px 10px;
5
+ border-radius: 3px;
6
+ }
7
+
8
+ .highlight {
9
+ .hll {
10
+ background-color: #f8f8f8;
11
+ border: 1px solid #ccc;
12
+ padding: 6px 10px;
13
+ border-radius: 3px;
14
+ }
15
+ .c {
16
+ color: #999988;
17
+ font-style: italic;
18
+ }
19
+ .err {
20
+ color: #a61717;
21
+ background-color: #e3d2d2;
22
+ }
23
+ .k, .o {
24
+ font-weight: bold;
25
+ }
26
+ .cm {
27
+ color: #999988;
28
+ font-style: italic;
29
+ }
30
+ .cp {
31
+ color: #999999;
32
+ font-weight: bold;
33
+ }
34
+ .c1 {
35
+ color: #999988;
36
+ font-style: italic;
37
+ }
38
+ .cs {
39
+ color: #999999;
40
+ font-weight: bold;
41
+ font-style: italic;
42
+ }
43
+ .gd {
44
+ color: #000000;
45
+ background-color: #ffdddd;
46
+ .x {
47
+ color: #000000;
48
+ background-color: #ffaaaa;
49
+ }
50
+ }
51
+ .ge {
52
+ font-style: italic;
53
+ }
54
+ .gr {
55
+ color: #aa0000;
56
+ }
57
+ .gh {
58
+ color: #999999;
59
+ }
60
+ .gi {
61
+ color: #000000;
62
+ background-color: #ddffdd;
63
+ .x {
64
+ color: #000000;
65
+ background-color: #aaffaa;
66
+ }
67
+ }
68
+ .go {
69
+ color: #888888;
70
+ }
71
+ .gp {
72
+ color: #555555;
73
+ }
74
+ .gs {
75
+ font-weight: bold;
76
+ }
77
+ .gu {
78
+ color: #800080;
79
+ font-weight: bold;
80
+ }
81
+ .gt {
82
+ color: #aa0000;
83
+ }
84
+ .kc, .kd, .kn, .kp, .kr {
85
+ font-weight: bold;
86
+ }
87
+ .kt {
88
+ color: #445588;
89
+ font-weight: bold;
90
+ }
91
+ .m {
92
+ color: #009999;
93
+ }
94
+ .s {
95
+ color: #dd1144;
96
+ }
97
+ .n {
98
+ color: #333333;
99
+ }
100
+ .na {
101
+ color: teal;
102
+ }
103
+ .nb {
104
+ color: #0086b3;
105
+ }
106
+ .nc {
107
+ color: #445588;
108
+ font-weight: bold;
109
+ }
110
+ .no {
111
+ color: teal;
112
+ }
113
+ .ni {
114
+ color: purple;
115
+ }
116
+ .ne, .nf {
117
+ color: #990000;
118
+ font-weight: bold;
119
+ }
120
+ .nn {
121
+ color: #555555;
122
+ }
123
+ .nt {
124
+ color: navy;
125
+ }
126
+ .nv {
127
+ color: teal;
128
+ }
129
+ .ow {
130
+ font-weight: bold;
131
+ }
132
+ .w {
133
+ color: #bbbbbb;
134
+ }
135
+ .mf, .mh, .mi, .mo {
136
+ color: #009999;
137
+ }
138
+ .sb, .sc, .sd, .s2, .se, .sh, .si, .sx {
139
+ color: #dd1144;
140
+ }
141
+ .sr {
142
+ color: #009926;
143
+ }
144
+ .s1 {
145
+ color: #dd1144;
146
+ }
147
+ .ss {
148
+ color: #990073;
149
+ }
150
+ .bp {
151
+ color: #999999;
152
+ }
153
+ .vc, .vg, .vi {
154
+ color: teal;
155
+ }
156
+ .il {
157
+ color: #009999;
158
+ }
159
+ .gc {
160
+ color: #999;
161
+ background-color: #EAF2F5;
162
+ }
163
+ }