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,273 @@
1
+ .styleguide-item {
2
+ margin-bottom: 2rem;
3
+
4
+ .copy-link {
5
+ > h2,
6
+ > h4,
7
+ > h5,
8
+ > h3 {
9
+ padding-top: 2rem;
10
+ }
11
+ }
12
+
13
+ .styleguide-item-inner {
14
+ position: relative;
15
+ padding: 1rem;
16
+ margin: 1rem 0 0;
17
+ border: solid #f7f7f9;
18
+ border-width: 0.2rem 0 0;
19
+ border-width: 0.2rem;
20
+ }
21
+
22
+ .styleguide-item-html {
23
+ position: relative;
24
+ padding: 1rem;
25
+ border: solid #f7f7f9;
26
+ background-color: #f7f7f9;
27
+ border-width: 0.2rem 0 0;
28
+ border-width: 0.2rem;
29
+ @media (max-width: 768px) {
30
+ padding: 1rem 0;
31
+ }
32
+
33
+ pre {
34
+ margin-bottom: 0;
35
+ }
36
+ }
37
+ }
38
+
39
+ .copy-link {
40
+ h4 {
41
+ padding-top: 2rem;
42
+ }
43
+ }
44
+
45
+ .styleguide-item-inner {
46
+ h1,
47
+ h2,
48
+ h2,
49
+ h3,
50
+ h4,
51
+ h5,
52
+ h6 {
53
+ margin-bottom: 0.7rem;
54
+ padding-bottom: 0;
55
+ }
56
+ }
57
+
58
+ .styleguide-btn-list {
59
+ .btn {
60
+ margin-bottom: 5px;
61
+ }
62
+ }
63
+
64
+ .s {
65
+ color: #d44950;
66
+ }
67
+
68
+ .mf {
69
+ color: #f60;
70
+ }
71
+
72
+ .na {
73
+ color: #4f9fcf;
74
+ }
75
+
76
+ .nt {
77
+ color: #2f6f9f;
78
+ }
79
+
80
+ .sidebar-styleguide {
81
+ margin-top: 1.5rem;
82
+ margin-left: -64px;
83
+ .navbar {
84
+ padding: 0;
85
+ }
86
+ }
87
+
88
+ .copy-link {
89
+ display: block;
90
+
91
+ &:after {
92
+ content: "";
93
+ height: 1rem;
94
+ width: 1rem;
95
+ margin-left: 0.25rem;
96
+ display: inline-block;
97
+ background-image: url("../assets/images/icons/icon-unlink.svg");
98
+ }
99
+
100
+ h1,
101
+ h2,
102
+ h3,
103
+ h4,
104
+ h5,
105
+ h6 {
106
+ display: inline-block;
107
+ }
108
+ }
109
+
110
+ // CODE SYNTAX HIGHLIGHTING
111
+ .highlight pre, pre {
112
+ background-color: #f8f8f8;
113
+ border: 1px solid #ccc;
114
+ padding: 6px 10px;
115
+ border-radius: 3px;
116
+ }
117
+
118
+ .highlight {
119
+ .hll {
120
+ background-color: #f8f8f8;
121
+ border: 1px solid #ccc;
122
+ padding: 6px 10px;
123
+ border-radius: 3px;
124
+ }
125
+ .c {
126
+ color: #999988;
127
+ font-style: italic;
128
+ }
129
+ .err {
130
+ color: #a61717;
131
+ background-color: #e3d2d2;
132
+ }
133
+ .k, .o {
134
+ font-weight: bold;
135
+ }
136
+ .cm {
137
+ color: #999988;
138
+ font-style: italic;
139
+ }
140
+ .cp {
141
+ color: #999999;
142
+ font-weight: bold;
143
+ }
144
+ .c1 {
145
+ color: #999988;
146
+ font-style: italic;
147
+ }
148
+ .cs {
149
+ color: #999999;
150
+ font-weight: bold;
151
+ font-style: italic;
152
+ }
153
+ .gd {
154
+ color: #000000;
155
+ background-color: #ffdddd;
156
+ .x {
157
+ color: #000000;
158
+ background-color: #ffaaaa;
159
+ }
160
+ }
161
+ .ge {
162
+ font-style: italic;
163
+ }
164
+ .gr {
165
+ color: #aa0000;
166
+ }
167
+ .gh {
168
+ color: #999999;
169
+ }
170
+ .gi {
171
+ color: #000000;
172
+ background-color: #ddffdd;
173
+ .x {
174
+ color: #000000;
175
+ background-color: #aaffaa;
176
+ }
177
+ }
178
+ .go {
179
+ color: #888888;
180
+ }
181
+ .gp {
182
+ color: #555555;
183
+ }
184
+ .gs {
185
+ font-weight: bold;
186
+ }
187
+ .gu {
188
+ color: #800080;
189
+ font-weight: bold;
190
+ }
191
+ .gt {
192
+ color: #aa0000;
193
+ }
194
+ .kc, .kd, .kn, .kp, .kr {
195
+ font-weight: bold;
196
+ }
197
+ .kt {
198
+ color: #445588;
199
+ font-weight: bold;
200
+ }
201
+ .m {
202
+ color: #009999;
203
+ }
204
+ .s {
205
+ color: #dd1144;
206
+ }
207
+ .n {
208
+ color: #333333;
209
+ }
210
+ .na {
211
+ color: teal;
212
+ }
213
+ .nb {
214
+ color: #0086b3;
215
+ }
216
+ .nc {
217
+ color: #445588;
218
+ font-weight: bold;
219
+ }
220
+ .no {
221
+ color: teal;
222
+ }
223
+ .ni {
224
+ color: purple;
225
+ }
226
+ .ne, .nf {
227
+ color: #990000;
228
+ font-weight: bold;
229
+ }
230
+ .nn {
231
+ color: #555555;
232
+ }
233
+ .nt {
234
+ color: navy;
235
+ }
236
+ .nv {
237
+ color: teal;
238
+ }
239
+ .ow {
240
+ font-weight: bold;
241
+ }
242
+ .w {
243
+ color: #bbbbbb;
244
+ }
245
+ .mf, .mh, .mi, .mo {
246
+ color: #009999;
247
+ }
248
+ .sb, .sc, .sd, .s2, .se, .sh, .si, .sx {
249
+ color: #dd1144;
250
+ }
251
+ .sr {
252
+ color: #009926;
253
+ }
254
+ .s1 {
255
+ color: #dd1144;
256
+ }
257
+ .ss {
258
+ color: #990073;
259
+ }
260
+ .bp {
261
+ color: #999999;
262
+ }
263
+ .vc, .vg, .vi {
264
+ color: teal;
265
+ }
266
+ .il {
267
+ color: #009999;
268
+ }
269
+ .gc {
270
+ color: #999;
271
+ background-color: #EAF2F5;
272
+ }
273
+ }
data/_sass/_table.scss ADDED
@@ -0,0 +1,160 @@
1
+ table {
2
+ td,
3
+ th {
4
+ border-width: 0;
5
+ padding: 0.5rem 0.25rem;
6
+ vertical-align: middle;
7
+ }
8
+
9
+ tbody tr:nth-of-type(odd) {
10
+ background-color: transparent;
11
+ }
12
+ }
13
+
14
+ .table-styled {
15
+ @extend .table;
16
+ @extend .table-striped;
17
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
18
+
19
+ td {
20
+ font-size: 12px;
21
+ font-weight: 500;
22
+ color: rgba(0, 35, 75, 0.5);
23
+ padding-left: 0.5rem;
24
+ padding-right: 0.5rem;
25
+ border-top: 1px solid #f7f7f9;
26
+ }
27
+
28
+ th {
29
+ font-size: 10px;
30
+ font-weight: 500;
31
+ color: #7f91a5;
32
+ text-transform: uppercase;
33
+ padding-left: 0.5rem;
34
+ padding-right: 0.5rem;
35
+ }
36
+ }
37
+
38
+ .table-data {
39
+ @extend .table;
40
+ @extend .table-hover;
41
+
42
+ th {
43
+ font-size: 10px;
44
+ font-weight: 500;
45
+ color: $blue-grey;
46
+ text-transform: uppercase;
47
+
48
+ &:first-of-type {
49
+ padding-left: 40px;
50
+ }
51
+ }
52
+
53
+ th {
54
+ &:nth-of-type(4) {
55
+ text-align: center;
56
+ }
57
+
58
+ &:last-of-type {
59
+ padding-right: 20px;
60
+ }
61
+ }
62
+
63
+ td {
64
+ font-size: 12px;
65
+ font-weight: 500;
66
+ color: $navy-50;
67
+
68
+ &:first-of-type {
69
+ padding-left: 40px;
70
+ color: $navy-50;
71
+ }
72
+
73
+ &:last-of-type {
74
+ padding-right: 40px;
75
+ }
76
+
77
+ &:nth-of-type(2) {
78
+ color: $navy;
79
+ }
80
+
81
+ &:nth-of-type(5) {
82
+ text-align: center;
83
+ }
84
+
85
+ a {
86
+ text-decoration: underline;
87
+ @extend .text-info;
88
+ }
89
+ }
90
+ }
91
+
92
+ .table-hover tbody tr:hover td {
93
+ color: $navy;
94
+ }
95
+ @media (max-width: 768px) {
96
+ .table-data {
97
+ thead {
98
+ display: none;
99
+ }
100
+
101
+ tr {
102
+ display: -webkit-flex;
103
+ display: -ms-flex;
104
+ display: flex;
105
+ flex-wrap: wrap;
106
+ border-bottom: solid 1px #e0e0e0;
107
+ padding: 25px 0;
108
+
109
+ td {
110
+ padding: 0;
111
+ }
112
+
113
+ td:nth-of-type(2) {
114
+ min-width: 40px;
115
+ max-width: 40px;
116
+ border-right: solid 1px #e0e0e0;
117
+ line-height: 1;
118
+ text-transform: uppercase;
119
+
120
+ h2 {
121
+ margin-bottom: 0;
122
+ font-size: 2rem;
123
+ }
124
+ }
125
+
126
+ td:nth-of-type(3) {
127
+ min-width: calc(100% - 80px);
128
+ max-width: 100%;
129
+ padding-left: 10px;
130
+ }
131
+
132
+ td:nth-of-type(5) {
133
+ -ms-flex-order: 3;
134
+ order: 3;
135
+ padding-left: 50px;
136
+ margin-top: -20px;
137
+ padding-right: 0;
138
+
139
+ &:after {
140
+ content: "Credits";
141
+ margin-right: 10px;
142
+ }
143
+ }
144
+
145
+ td:nth-of-type(4) {
146
+ -ms-flex-order: 4;
147
+ order: 4;
148
+ margin-top: -20px;
149
+
150
+ &:before {
151
+ content: '\2219';
152
+ font-size: 30px;
153
+ line-height: 0;
154
+ vertical-align: -4px;
155
+ margin-right: 10px;
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
data/_sass/_tiles.scss ADDED
@@ -0,0 +1,196 @@
1
+ // Tiles
2
+
3
+ .tiles {
4
+ margin-bottom: 2rem;
5
+ position: relative;
6
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
7
+ font-size: 0.75rem;
8
+ transition: transform 0.2s ease-in-out;
9
+
10
+ .tiles-image:after {
11
+ transition: background-image 0.2s ease-in-out;
12
+ background-image: linear-gradient(0deg, #00234B 0%, #00234B 12%, rgba(0,35,75, 0.7) 20%, rgba(0,35,75, 0) 45%, rgba(0,35,75, 0) 100%);
13
+ opacity: 0.9;
14
+ }
15
+ }
16
+
17
+ .tiles-body {
18
+ position: absolute;
19
+ left: 20px;
20
+ bottom: 20px;
21
+ right: 20px;
22
+
23
+ h3 {
24
+ margin-bottom: 0;
25
+ color: $white;
26
+ line-height: 1.25;
27
+ font-weight: 700;
28
+ }
29
+
30
+ a h3 {
31
+ &:after {
32
+ font-family: 'icomoon' !important;
33
+ content: "\e900";
34
+ font-size: 12px;
35
+ margin-left: 10px;
36
+ margin-top: -1px;
37
+ }
38
+ }
39
+ }
40
+
41
+ .tiles-label {
42
+ font-family: $font-family-sans-serif;
43
+ font-weight: 500;
44
+ color: $white;
45
+ text-transform: uppercase;
46
+ }
47
+
48
+ .tiles-square {
49
+ .tiles-image {
50
+ padding-bottom: 100%;
51
+ }
52
+
53
+ &:hover {
54
+ transform: scale(1.055);
55
+ }
56
+ }
57
+
58
+ .tiles-wrapper {
59
+ background-color: $white;
60
+ box-shadow: 0 5px 10px 0 rgba(0, 35, 75, 0.15);
61
+
62
+ .tiles {
63
+ box-shadow: none;
64
+ margin-bottom: 0;
65
+ }
66
+ }
67
+
68
+ .tiles-image {
69
+ position: relative;
70
+ margin-bottom: 1rem;
71
+ overflow: hidden;
72
+
73
+ &:after {
74
+ content: "";
75
+ opacity: 0.9;
76
+ position: absolute;
77
+ left: 0;
78
+ right: 0;
79
+ bottom: 0;
80
+ top: 0;
81
+ }
82
+
83
+ img {
84
+ animation-delay: 0.75s;
85
+ animation-name: fade;
86
+ position: absolute;
87
+ top: 50%;
88
+ left: 50%;
89
+ transform: translate(-50%, -50%);
90
+ height: 100%;
91
+ @include media-breakpoint-down(xs) {
92
+ width: 100%;
93
+ height: auto;
94
+ }
95
+ }
96
+ }
97
+
98
+ .tiles-footer {
99
+ padding: 1.875rem;
100
+ display: flex;
101
+ justify-content: space-between;
102
+ align-items: center;
103
+ }
104
+
105
+ .tiles-stretch {
106
+ height: 100%;
107
+ }
108
+
109
+ .benefits-icon {
110
+ margin-bottom: 0.5rem;
111
+
112
+ svg {
113
+ display: block;
114
+ margin: 0 auto;
115
+ }
116
+ }
117
+
118
+ .benefits-items {
119
+ padding: 30px 40px;
120
+
121
+ p {
122
+ font-size: 0.75rem;
123
+ }
124
+
125
+ h3 {
126
+ margin-bottom: 1.5rem;
127
+ }
128
+
129
+ h6 {
130
+ margin-bottom: 0;
131
+ }
132
+
133
+ .row {
134
+ margin-right: -40px;
135
+ margin-left: -40px;
136
+ }
137
+
138
+ .col-md-12,
139
+ .col-md-4 {
140
+ padding-right: 40px;
141
+ padding-left: 40px;
142
+ }
143
+
144
+ .col-md-4 + .col-md-4 {
145
+ &:after {
146
+ content: "";
147
+ position: absolute;
148
+ border-left: 1px solid #dee2e3;
149
+ top: 5px;
150
+ bottom: 0;
151
+ left: 0;
152
+ }
153
+ }
154
+ }
155
+
156
+ .tiles-container {
157
+ padding: 40px 190px 40px 40px;
158
+ @include media-breakpoint-down(lg) {
159
+ padding-right: 60px;
160
+ }
161
+ @include media-breakpoint-down(md) {
162
+ padding-right: 40px;
163
+ }
164
+ }
165
+
166
+ .tiles-fixed-heading {
167
+ min-height: 90px;
168
+ }
169
+
170
+ .tiles-link {
171
+ position: absolute;
172
+ left: 0;
173
+ right: 0;
174
+ bottom: 0;
175
+ top: 0;
176
+ z-index: 10;
177
+ }
178
+
179
+ .tiles-indent {
180
+ margin-top: -100px;
181
+ margin-bottom: 50px;
182
+ }
183
+
184
+ .tiles-icon-header {
185
+ position: absolute;
186
+ left: 50%;
187
+ top: 0;
188
+ transform: translate(-50%, -30%);
189
+ }
190
+
191
+ .tiles-icon-footer {
192
+ position: absolute;
193
+ left: 50%;
194
+ top: 100%;
195
+ transform: translate(-50%, -30%);
196
+ }