vbax-template_go 0.1.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 (63) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +39 -0
  6. data/Rakefile +2 -0
  7. data/bin/console +14 -0
  8. data/bin/setup +8 -0
  9. data/lib/vbax/sass/template_go.scss +2 -0
  10. data/lib/vbax/sass/template_go/components/_accordion.scss +436 -0
  11. data/lib/vbax/sass/template_go/components/_badges.scss +35 -0
  12. data/lib/vbax/sass/template_go/components/_blog.scss +321 -0
  13. data/lib/vbax/sass/template_go/components/_boxes.scss +169 -0
  14. data/lib/vbax/sass/template_go/components/_breadcrumbs.scss +88 -0
  15. data/lib/vbax/sass/template_go/components/_buttons.scss +145 -0
  16. data/lib/vbax/sass/template_go/components/_cards.scss +129 -0
  17. data/lib/vbax/sass/template_go/components/_carousel.scss +260 -0
  18. data/lib/vbax/sass/template_go/components/_components.scss +31 -0
  19. data/lib/vbax/sass/template_go/components/_docs.scss +107 -0
  20. data/lib/vbax/sass/template_go/components/_dropdowns.scss +115 -0
  21. data/lib/vbax/sass/template_go/components/_features.scss +50 -0
  22. data/lib/vbax/sass/template_go/components/_gallery.scss +104 -0
  23. data/lib/vbax/sass/template_go/components/_hero.scss +266 -0
  24. data/lib/vbax/sass/template_go/components/_icons.scss +53 -0
  25. data/lib/vbax/sass/template_go/components/_jobs.scss +24 -0
  26. data/lib/vbax/sass/template_go/components/_list.scss +111 -0
  27. data/lib/vbax/sass/template_go/components/_maps.scss +43 -0
  28. data/lib/vbax/sass/template_go/components/_masonry.scss +28 -0
  29. data/lib/vbax/sass/template_go/components/_modals.scss +48 -0
  30. data/lib/vbax/sass/template_go/components/_nav.scss +288 -0
  31. data/lib/vbax/sass/template_go/components/_navbar.scss +119 -0
  32. data/lib/vbax/sass/template_go/components/_partners.scss +27 -0
  33. data/lib/vbax/sass/template_go/components/_presentations.scss +173 -0
  34. data/lib/vbax/sass/template_go/components/_pricing.scss +111 -0
  35. data/lib/vbax/sass/template_go/components/_progress.scss +70 -0
  36. data/lib/vbax/sass/template_go/components/_swiper.scss +239 -0
  37. data/lib/vbax/sass/template_go/components/_syntax.scss +173 -0
  38. data/lib/vbax/sass/template_go/components/_tables.scss +140 -0
  39. data/lib/vbax/sass/template_go/components/_testimonials.scss +191 -0
  40. data/lib/vbax/sass/template_go/components/_users.scss +307 -0
  41. data/lib/vbax/sass/template_go/components/_video.scss +113 -0
  42. data/lib/vbax/sass/template_go/layout/_colors.scss +54 -0
  43. data/lib/vbax/sass/template_go/layout/_components.scss +253 -0
  44. data/lib/vbax/sass/template_go/layout/_content.scss +376 -0
  45. data/lib/vbax/sass/template_go/layout/_custom-forms.scss +367 -0
  46. data/lib/vbax/sass/template_go/layout/_footer.scss +39 -0
  47. data/lib/vbax/sass/template_go/layout/_forms.scss +103 -0
  48. data/lib/vbax/sass/template_go/layout/_header.scss +105 -0
  49. data/lib/vbax/sass/template_go/layout/_helpers.scss +9 -0
  50. data/lib/vbax/sass/template_go/layout/_icons.scss +5319 -0
  51. data/lib/vbax/sass/template_go/layout/_invert.scss +195 -0
  52. data/lib/vbax/sass/template_go/layout/_layout.scss +16 -0
  53. data/lib/vbax/sass/template_go/layout/_mixins.scss +110 -0
  54. data/lib/vbax/sass/template_go/layout/_overlay.scss +165 -0
  55. data/lib/vbax/sass/template_go/layout/_project.scss +172 -0
  56. data/lib/vbax/sass/template_go/layout/_sidebar.scss +12 -0
  57. data/lib/vbax/sass/template_go/layout/_sizing.scss +114 -0
  58. data/lib/vbax/sass/template_go/layout/_typography.scss +197 -0
  59. data/lib/vbax/template_go.rb +9 -0
  60. data/lib/vbax/template_go/engine.rb +14 -0
  61. data/lib/vbax/template_go/version.rb +5 -0
  62. data/vbax-template_go.gemspec +29 -0
  63. metadata +133 -0
@@ -0,0 +1,113 @@
1
+ //
2
+ // Video
3
+ //
4
+
5
+ .video-js {
6
+ @extend %floating;
7
+ @include border-radius;
8
+ position: absolute;
9
+ width: 100% !important;
10
+ height: 100% !important;
11
+ left: 0;
12
+ top: 0;
13
+ z-index: 50;
14
+ background: transparent;
15
+ }
16
+
17
+ .video-3-4 {
18
+ position: relative;
19
+ width: 100%;
20
+ height: 0;
21
+ padding-bottom: 42.6%;
22
+ }
23
+
24
+ .video-16-9 {
25
+ position: relative;
26
+ width: 100%;
27
+ height: 0;
28
+ padding-bottom: 56.25%;
29
+ overflow: hidden;
30
+ }
31
+
32
+ .youtube {
33
+ .vjs-control-bar {
34
+ display: none;
35
+ }
36
+ }
37
+
38
+
39
+ .video-js .vjs-big-play-button {
40
+ top: 50%;
41
+ left: 50%;
42
+ width: 80px;
43
+ height: 80px;
44
+ margin: -40px 0 0 -40px;
45
+ line-height: 80px;
46
+ font-size:40px;
47
+ background: none;
48
+ color: $white;
49
+ border: 0;
50
+ z-index: 5;
51
+ @include transition();
52
+
53
+ &::before {
54
+ @include transition();
55
+ position: absolute;
56
+ top: 50%;
57
+ left: 50%;
58
+ margin-top: -40px;
59
+ margin-left: -40px;
60
+ display: block;
61
+ width: 80px;
62
+ height: 80px;
63
+ line-height: 80px;
64
+ text-align: center;
65
+ cursor: pointer;
66
+ border: 2px solid $white;
67
+ content: "";
68
+ font-size: 20px;
69
+ color: $black;
70
+ border-radius: 50%;
71
+ }
72
+ }
73
+
74
+ .video-js:hover .vjs-big-play-button {
75
+ background: none;
76
+
77
+ &::before {
78
+ @include scale(1.2);
79
+ }
80
+ }
81
+
82
+
83
+
84
+
85
+ // Background Video
86
+ .jquery-background-video-wrapper {
87
+ @include prefix(background-size, cover, webkit moz);
88
+ position: relative;
89
+ overflow: hidden;
90
+ background-position: center center;
91
+ background-repeat: no-repeat;
92
+ }
93
+ .jquery-background-video {
94
+ @include prefix(object-fit, contain, o);
95
+ position: absolute;
96
+ min-width: 100%;
97
+ min-height: 100%;
98
+ width: auto;
99
+ height: auto;
100
+ top: 0;
101
+ left: 0;
102
+ }
103
+ /**
104
+ * Fade in videos
105
+ * Note the .js class - so non js users still
106
+ * see the video
107
+ */
108
+ .js .video-bg video {
109
+ opacity: 0;
110
+ }
111
+ .js .video-bg video.is-playing {
112
+ opacity: 1;
113
+ }
@@ -0,0 +1,54 @@
1
+ //
2
+ // colors
3
+ //
4
+ //
5
+
6
+ // background colors
7
+ @each $color, $value in $colors {
8
+ @include bg-variant(".bg-#{$color}", $value);
9
+ }
10
+
11
+ .bg-image {
12
+ background-size: cover;
13
+ background-position: center;
14
+
15
+ &::after {
16
+ content: "";
17
+ position: absolute;
18
+ top: 0;
19
+ right: 0;
20
+ bottom: 0;
21
+ left: 0;
22
+ background: rgba($black, .4);
23
+ z-index: 10;
24
+ }
25
+
26
+ > .container {
27
+ position: relative;
28
+ z-index: 20;
29
+ }
30
+
31
+ > .image {
32
+ &[class*="blured"] {
33
+ @include prefix(filter, blur(5px), webkit moz o ms);
34
+ position: absolute;
35
+ top: -2.5rem;
36
+ right: -2.5rem;
37
+ bottom: -2.5rem;
38
+ left: -2.5rem;
39
+ }
40
+ }
41
+
42
+
43
+ }
44
+
45
+ // text colors
46
+ @each $color, $value in $colors {
47
+ @include text-emphasis-variant(".text-#{$color}", $value);
48
+ }
49
+
50
+ @each $color, $value in $socials {
51
+ @include text-emphasis-variant(".text-#{$color}", $value);
52
+ }
53
+
54
+ .text-black { color: $black!important; }
@@ -0,0 +1,253 @@
1
+ //
2
+ // Components
3
+ //
4
+
5
+ .logo-sm {
6
+ max-height: 2rem;
7
+ }
8
+
9
+ img {
10
+ max-width: 100%;
11
+ }
12
+
13
+
14
+ // anchor
15
+ .anchor {
16
+ @extend %equal;
17
+ @include transition;
18
+ @include border-radius;
19
+ position: relative;
20
+ display: block;
21
+ background-color: $gray-200;
22
+
23
+ i {
24
+ @include translate(-50%,-50%);
25
+ position: absolute;
26
+ top: 50%;
27
+ left: 50%;
28
+ font-size: 1.5rem;
29
+ color: $black;
30
+ }
31
+
32
+ &:hover {
33
+ background-color: $primary;
34
+
35
+ i {
36
+ color: $white;
37
+ }
38
+ }
39
+ }
40
+
41
+
42
+ // typed
43
+ #typed-strings {
44
+ display: none;
45
+ }
46
+
47
+
48
+
49
+ // socials
50
+ .socials {
51
+ @include transition();
52
+ display: inline-block;
53
+ width: auto;
54
+ overflow: hidden;
55
+ list-style: none;
56
+ margin: 0;
57
+ padding: 0;
58
+ overflow: hidden;
59
+
60
+ li {
61
+ float: left;
62
+ }
63
+
64
+ a {
65
+ @include transition();
66
+ display: block;
67
+ line-height: 1em;
68
+ width: 1em;
69
+ padding: 1rem;
70
+ border-radius: 50%;
71
+
72
+ &:hover {
73
+ background: gray('100');
74
+ }
75
+ }
76
+
77
+ &[class*="vertical"] {
78
+ > li {
79
+ float: none;
80
+ }
81
+ }
82
+
83
+ &[class*="-sm"] {
84
+ a {
85
+ padding: .75rem;
86
+ }
87
+ }
88
+
89
+ &[class*="bordered"],
90
+ &[class*="boxed"] {
91
+ a {
92
+ border-radius: 0;
93
+ }
94
+ }
95
+ }
96
+
97
+
98
+ %socials-text-whiteed {
99
+ a {
100
+ color: $text-white-primary;
101
+
102
+ &:hover {
103
+ background: $text-white-border;
104
+ }
105
+ }
106
+ }
107
+
108
+
109
+ // step
110
+ .step {
111
+ position: relative;
112
+ padding:5.625rem 20% 0 0;
113
+
114
+ &::before {
115
+ @include transition;
116
+ content: counter(owlItem, decimal);
117
+ position: absolute;
118
+ display: block;
119
+ top: 0;
120
+ left: 0;
121
+ width: 3.75rem;
122
+ height: 3.75rem;
123
+ line-height: calc(3.75rem - .25rem);
124
+ text-align: center;
125
+ border: ( 2 * $border-width) solid $border-color;
126
+ z-index: 20;
127
+ border-radius: 50%;
128
+ font-size: 1.5rem;
129
+ }
130
+
131
+ &:hover,
132
+ &.step-highlight {
133
+ &::before {
134
+ @include shadow;
135
+ @include scale(1.25);
136
+ background: $primary;
137
+ border-color: transparent;
138
+ color: $white;
139
+ }
140
+ }
141
+ }
142
+
143
+ .owl-item {
144
+
145
+ &:not(:last-child) {
146
+ .step {
147
+ &::after {
148
+ content: "";
149
+ display: block;
150
+ position: absolute;
151
+ top: 29px;
152
+ left: 3.75rem;
153
+ width: calc(100% - 40px);
154
+ height: 2px;
155
+ background: $gray-200;
156
+ z-index: 10;
157
+ }
158
+ }
159
+ }
160
+ }
161
+
162
+ .step-title {
163
+ font-size: $font-size-lg;
164
+ font-weight: $font-weight-normal;
165
+ letter-spacing: $letter-spacing-sm;
166
+ }
167
+
168
+
169
+
170
+ // meteo widget
171
+ .meteo {
172
+ display: inline-block;
173
+ padding: .5rem 1rem;
174
+
175
+ > * { vertical-align: middle; }
176
+
177
+ // icon
178
+ .svg-icon {
179
+ font-size: 40px;
180
+ padding-right: .5rem;
181
+ }
182
+
183
+ // temperature
184
+ span {
185
+ font-size: $font-size-lg;
186
+ color: $white!important;
187
+
188
+ b {
189
+ font-weight: $font-weight-normal;
190
+ color: rgba($white, .5);
191
+ }
192
+ }
193
+ }
194
+
195
+
196
+ // number
197
+ .number {
198
+ padding: 2.5rem;
199
+ text-align: center;
200
+ text-transform: uppercase;
201
+ letter-spacing: $letter-spacing;
202
+ font-size: $font-size-sm;
203
+
204
+ b {
205
+ display: block;
206
+ font-size: 3.125rem;
207
+ font-weight: 400;
208
+ }
209
+ }
210
+
211
+
212
+ // phone number widget
213
+ .phone {
214
+ @include border-radius;
215
+ @include transition;
216
+ position: relative;
217
+ display: inline-block;
218
+ padding: 1rem 1rem 1rem 5rem;
219
+ color: $black;
220
+ letter-spacing: $letter-spacing;
221
+
222
+ &::before {
223
+ @include transition;
224
+ position: absolute;
225
+ top: 0;
226
+ left: 0;
227
+ bottom: 0;
228
+ width: 3.625rem;
229
+ content: "\ec73";
230
+ text-align: center;
231
+ line-height: 3.625rem;
232
+ font-family: $font-icon;
233
+ font-size: 20px;
234
+ background-color: $border-color;
235
+ }
236
+
237
+ &:hover {
238
+ border-color: $primary!important;
239
+
240
+ &::before {
241
+ background-color: $primary!important;
242
+ color: $white;
243
+ }
244
+ }
245
+ }
246
+
247
+ .text-white {
248
+ .phone {
249
+ &::before {
250
+ background: $text-white-border;
251
+ }
252
+ }
253
+ }
@@ -0,0 +1,376 @@
1
+ //
2
+ // Content
3
+ //
4
+ //
5
+
6
+ body {
7
+ position: relative;
8
+ -webkit-font-smoothing: antialiased;
9
+ -moz-osx-font-smoothing: grayscale;
10
+ }
11
+
12
+ [class*="container"] {
13
+
14
+ + [class*="container"] {
15
+ margin-top: ($section-padding / 2);
16
+ }
17
+ }
18
+
19
+ .container-full {
20
+ overflow: hidden;
21
+ }
22
+
23
+ .container-fluid {
24
+ @include media-breakpoint-up(lg) { max-width: 1370px }
25
+ @include media-breakpoint-up(xl) { max-width: 1770px; }
26
+ }
27
+
28
+
29
+ .pattern {
30
+ &::before,
31
+ &::after {
32
+ @include rotate(-45deg);
33
+ position: absolute;
34
+ content: "";
35
+ display: block;
36
+ background: rgba($white, .05);
37
+ border-radius: 10rem;
38
+ }
39
+
40
+ &::before {
41
+ width: 80vw;
42
+ height: 80vw;
43
+ bottom: -40vw;
44
+ left: 25vw;
45
+ }
46
+
47
+ &::after {
48
+ width: 60vw;
49
+ height: 60vw;
50
+ bottom: -30vw;
51
+ left: 80vw;
52
+ }
53
+
54
+ &.pattern-dark {
55
+ &::before,
56
+ &::after {
57
+ background: rgba($dark, .05);
58
+ }
59
+ }
60
+
61
+ > * {
62
+ position: relative;
63
+ z-index: 10;
64
+ }
65
+
66
+
67
+ @include media-breakpoint-down(sm) {
68
+ &::before {
69
+ width: 160vw;
70
+ height: 160vw;
71
+ bottom: -80vw;
72
+ }
73
+
74
+ &::after {
75
+ width: 120vw;
76
+ height: 120vw;
77
+ bottom: -60vw;
78
+ left: 80vw;
79
+ }
80
+ }
81
+ }
82
+
83
+
84
+ //
85
+ // section
86
+ //
87
+ body {
88
+
89
+ > section,
90
+ > footer {
91
+ position: relative;
92
+ margin: 0 auto;
93
+ padding: $section-padding 0;
94
+ overflow: hidden;
95
+ }
96
+
97
+ [class*="container"] {
98
+ .row:not(:last-child) {
99
+ margin-bottom: ($section-padding / 2);
100
+ }
101
+ }
102
+ }
103
+
104
+ @include media-breakpoint-down(sm) {
105
+ body {
106
+ > section,
107
+ > footer {
108
+ padding: ($section-padding / 2) 0;
109
+ }
110
+
111
+ [class*="container"] {
112
+ .row:not(:last-child) {
113
+ margin-bottom: ($section-padding / 3);
114
+ }
115
+ }
116
+ }
117
+ }
118
+
119
+
120
+
121
+ //
122
+ // layers section
123
+ //
124
+ .layers {
125
+ position: relative;
126
+ margin: 0 auto;
127
+ }
128
+
129
+ .layers-foreground {
130
+ position: relative;
131
+ z-index: 50;
132
+
133
+ @include media-breakpoint-down(sm) {
134
+ background: rgba($purple, .5);
135
+ }
136
+ }
137
+
138
+ .layers-background {
139
+ position: absolute;
140
+ top: 0;
141
+ right: 0;
142
+ bottom: 0;
143
+ left: 0;
144
+ z-index: 40;
145
+
146
+ > .container,
147
+ > .container-fluid,
148
+ > .container-full {
149
+ height: 100%;
150
+
151
+ > .row {
152
+ height: 100%;
153
+ }
154
+ }
155
+ }
156
+
157
+ .layers-background-overlay {
158
+ position: absolute;
159
+ top: 0;
160
+ right: 0;
161
+ bottom: 0;
162
+ left: 0;
163
+ background: $purple;
164
+ z-index: 45;
165
+ }
166
+
167
+
168
+ //
169
+ // split
170
+ //
171
+ .split-background {
172
+ position: absolute;
173
+ top: 0;
174
+ bottom: 0;
175
+ width: 100%;
176
+
177
+ .container,
178
+ .container-fluid,
179
+ .container-full {
180
+ height: 100%;
181
+
182
+ .row { height: 100%; }
183
+ }
184
+ }
185
+
186
+ @include media-breakpoint-down(sm) {
187
+ .split-background {
188
+ position: static;
189
+ }
190
+ }
191
+
192
+
193
+ //
194
+ // overlay
195
+ //
196
+ .overlay {
197
+ &::before {
198
+ position: absolute;
199
+ content: "";
200
+ display: block;
201
+ top: 0;
202
+ right: 0;
203
+ bottom: 0;
204
+ left: 0;
205
+ background-color: currentColor;
206
+ opacity: .8;
207
+ z-index: 10;
208
+ }
209
+ }
210
+
211
+
212
+
213
+ //
214
+ // Section Sizing
215
+ //
216
+ section {
217
+ &[class*="large"] {
218
+ padding: ($section-padding * 1.5) 0;
219
+ }
220
+
221
+ &[class*="small"] {
222
+ padding: ($section-padding / 1.5) 0;
223
+ }
224
+ }
225
+ //////////
226
+ // need to add responsive breakpoints here
227
+ //////////
228
+
229
+
230
+ //
231
+ // separator
232
+ //
233
+ [class*="separator"] {
234
+ border-width: 0;
235
+ border-color: $border-color;
236
+ border-style: solid;
237
+
238
+ &[class*="-top"] { border-top-width: $border-width; }
239
+ &[class*="-right"] { border-right-width: $border-width; }
240
+ &[class*="-bottom"] { border-bottom-width: $border-width; }
241
+ &[class*="-left"] { border-left-width: $border-width; }
242
+ }
243
+
244
+ %separator-text-white {
245
+ border-color: rgba($white, .1);
246
+ }
247
+
248
+ //
249
+ // SVG shape section decoration
250
+ //
251
+ .section-decorated-top {
252
+ padding-top: ($section-padding * 1.5);
253
+ }
254
+
255
+ .section-decorated-bottom {
256
+ padding-bottom: ($section-padding * 1.5);
257
+ }
258
+
259
+ .decorated-top {
260
+ position: absolute;
261
+ top: -$border-width;
262
+ right: 0;
263
+ bottom: auto;
264
+ left: 0;
265
+ z-index: 20;
266
+ height: ($section-padding / 2);
267
+ transform: translateZ(0);
268
+
269
+ svg {
270
+ position: absolute;
271
+ width: 100%;
272
+ bottom: 0;
273
+ left: 0;
274
+ height: 100%;
275
+
276
+ > * {
277
+ fill: currentColor;
278
+ @include shadow();
279
+ }
280
+ }
281
+
282
+ @include media-breakpoint-down(sm) {
283
+ height: 20px;
284
+ }
285
+ }
286
+
287
+ .decorated-bottom {
288
+ position: absolute;
289
+ top: auto;
290
+ right: 0;
291
+ bottom: -$border-width;
292
+ left: 0;
293
+ z-index: 20;
294
+ height: ($section-padding / 2);
295
+ transform: translateZ(0);
296
+
297
+ svg {
298
+ position: absolute;
299
+ width: 100%;
300
+ bottom: 0;
301
+ left: 0;
302
+ height: 100%;
303
+
304
+ > * {
305
+ fill: currentColor;
306
+ @include shadow(20px);
307
+ }
308
+ }
309
+
310
+ @include media-breakpoint-down(sm) {
311
+ height: 20px;
312
+ }
313
+ }
314
+
315
+ .decorated-sm {
316
+ height: 20px;
317
+ }
318
+
319
+
320
+
321
+
322
+ //
323
+ // fullscreen section
324
+ //
325
+ .viewport {
326
+ position: relative;
327
+ overflow: hidden;
328
+ }
329
+
330
+
331
+ // background decoration
332
+ .circle {
333
+ position: absolute;
334
+ top: 40%;
335
+ width: 20vw;
336
+ height: 20vw;
337
+ background: rgba($black, .1);
338
+ border-radius: 50%;
339
+ }
340
+
341
+ .square {
342
+ position: absolute;
343
+ top: 80%;
344
+ left: 75vw;
345
+ width: 15vw;
346
+ height: 15vw;
347
+ background: rgba($black, .1);
348
+ }
349
+
350
+
351
+
352
+ // Responsive
353
+ //
354
+ //
355
+ @include media-breakpoint-up(xl) {
356
+
357
+ body {
358
+ > section,
359
+ > footer {
360
+ padding: 7.5rem 0;
361
+ }
362
+ }
363
+ }
364
+
365
+ @include media-breakpoint-down(md) {
366
+
367
+ .container,
368
+ .container-fluid,
369
+ .container-full {
370
+ > .row {
371
+ > *:not(:last-child) {
372
+ margin-bottom: 1.875rem;
373
+ }
374
+ }
375
+ }
376
+ }