vbax-template_go 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
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
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 034bc3002c637d3eacafa7fcf764bc5b4a4d1bc039e7c011bb75b0aa0a2bed57
4
+ data.tar.gz: 636130f4331cc7a96ed55a6d3ea8a1f04a86508c275a2d91813fa745aaa8d6c6
5
+ SHA512:
6
+ metadata.gz: 9fb812f844d326c05e069638c996f783b27decfb90393999af2601a691da55c0cf99ecc30dc2178cf667310d55cce8a4de6894515dd229630b318fb13d13e79c
7
+ data.tar.gz: 88e142d0bebddc6535eac2ba6152757b3204172124c5eb018bb363374106850b74680f8c2b942175cea8abe24df6b1ddb072c3fe4a190e33f62ea98038854e42
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in vbax-template_go.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 v baxter
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Vbax::TemplateGo
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/vbax/template_go`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'vbax-template_go'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install vbax-template_go
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/vbax-template_go.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "vbax/template_go"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,2 @@
1
+ @import "template_go/layout/layout";
2
+ @import "template_go/components/components";
@@ -0,0 +1,436 @@
1
+ //
2
+ // Accordion
3
+ //
4
+
5
+ .accordion-group {
6
+ @include border-radius;
7
+ // overflow: hidden;
8
+ }
9
+
10
+ .accordion {
11
+ @include transition();
12
+ position: relative;
13
+ padding: .625rem;
14
+ border: $border-width solid $border-color;
15
+
16
+
17
+ // accordion indicator
18
+ &.open .accordion-control::after {
19
+ @include rotate(180deg);
20
+ }
21
+
22
+ &:not(:first-child) {
23
+ border-top-width: 0;
24
+ }
25
+ }
26
+
27
+ .accordion-control {
28
+ position: relative;
29
+ display: -ms-flexbox;
30
+ display: flex;
31
+ -ms-flex-align: center;
32
+ align-items: center;
33
+ width: 100%;
34
+ padding: 1rem 2rem;
35
+ cursor: pointer;
36
+ @include selection(none);
37
+
38
+ > * {
39
+ flex-basis: 0;
40
+ flex-grow: 1;
41
+ max-width: 100%;
42
+ margin: 0;
43
+ font-size: $font-size-base;
44
+ font-family: $font-family-sans-serif;
45
+ font-weight: $font-weight-normal;
46
+ vertical-align: middle;
47
+ }
48
+
49
+ h5 {
50
+ line-height: 1.5em;
51
+ }
52
+
53
+ // accordion state indicator
54
+ &::after {
55
+ content: "\ebfa";
56
+ position: absolute;
57
+ width: 1em;
58
+ line-height: 1em;
59
+ right: 1rem;
60
+ top: 50%;
61
+ font-family: 'icomoon' !important;
62
+ font-size: 1.5rem;
63
+ margin-top: -0.5em;
64
+ @include transition(0.2s);
65
+ }
66
+ }
67
+
68
+ .accordion-content {
69
+ overflow: hidden;
70
+
71
+ .accordion-content-wrapper {
72
+ padding: 0 2rem 1rem 2rem;
73
+ }
74
+ }
75
+
76
+ %accordion-text-whiteed {
77
+ .accordion {
78
+ border: 0;
79
+ background-color: rgba($white, .05);
80
+
81
+ &:not(:first-child) {
82
+ margin-top: ($border-width * 2);
83
+ }
84
+
85
+ &:hover {
86
+ background-color: rgba($white, .1);
87
+ }
88
+ }
89
+
90
+ .accordion-control {
91
+
92
+ h5 {
93
+ color: inherit;
94
+ }
95
+
96
+ &::after {
97
+ color: $text-white-secondary;
98
+ }
99
+ }
100
+ }
101
+
102
+
103
+
104
+ //
105
+ // Feature
106
+ //
107
+ .accordion-group-feature {
108
+ .accordion {
109
+ @include border-radius;
110
+ padding: 1rem;
111
+
112
+ &:not(:first-child) {
113
+ margin-top: .625rem;
114
+ }
115
+
116
+ &:not(:first-child) {
117
+ border-top-width: $border-width;
118
+ }
119
+ }
120
+
121
+ .accordion-control,
122
+ .accordion-content > div {
123
+ padding: 1rem;
124
+ }
125
+ }
126
+
127
+ %accordion-feature-text-whiteed {
128
+ .accordion {
129
+ &:not(:first-child) {
130
+ margin-top: .625rem;
131
+ }
132
+ }
133
+ }
134
+
135
+
136
+ // Minimal
137
+ .accordion-group-minimal {
138
+ .accordion {
139
+ border: 0;
140
+ padding: 0 0 0 3rem;
141
+
142
+ &:not(:first-child) {
143
+ margin-top: 1.25rem;
144
+ }
145
+
146
+ &.open .accordion-control {
147
+ &::after {
148
+ }
149
+ }
150
+ }
151
+
152
+ .accordion-control {
153
+ min-height: 3.75rem;
154
+
155
+ &::after {
156
+ @extend %boxed;
157
+ left: -3rem;
158
+ width: 3.75rem;
159
+ color: $black;
160
+ margin-top: -(3.75rem / 2);
161
+ line-height: 3.75rem;
162
+ text-align: center;
163
+ border-radius: 50%;
164
+ }
165
+ }
166
+ }
167
+
168
+ %accordion-minimal-text-whiteed {
169
+ .accordion {
170
+ background: transparent;
171
+ color: $text-white-primary;
172
+
173
+ &:not(:first-child) {
174
+ margin-top: 1.25rem;
175
+ }
176
+
177
+ &:hover {
178
+ background-color: transparent;
179
+ }
180
+ }
181
+
182
+ .accordion-control {
183
+ &::after {
184
+ color: $black;
185
+ }
186
+ }
187
+ }
188
+
189
+
190
+ //
191
+ // Steps
192
+ //
193
+ .accordion-group-steps {
194
+ overflow: visible;
195
+
196
+ .accordion {
197
+ padding-left: 3.75rem;
198
+ counter-increment: accordion;
199
+ background: transparent;
200
+ border: 0;
201
+
202
+ &.open {
203
+ .accordion-control {
204
+ &::before {
205
+ background: $primary;
206
+ border-color: $primary;
207
+ color: $white;
208
+ @include shadow();
209
+ @include scale(1.4);
210
+ }
211
+ }
212
+ }
213
+
214
+ &:hover {
215
+ .accordion-control {
216
+ &::before {
217
+ border-color: $primary;
218
+ }
219
+ }
220
+ }
221
+
222
+ &:not(:first-child) {
223
+ margin: 0;
224
+
225
+ &::before {
226
+ content: "";
227
+ display: block;
228
+ position: absolute;
229
+ top: 0;
230
+ left: 29px;
231
+ height: calc(50% - 30px);
232
+ width: (2 * $border-width);
233
+ background: $border-color;
234
+ z-index: 10;
235
+ }
236
+ }
237
+
238
+ &:not(:last-child) {
239
+ &::after {
240
+ content: "";
241
+ display: block;
242
+ position: absolute;
243
+ top: calc(50% + 30px);
244
+ left: 29px;
245
+ height: calc(50% - 30px);
246
+ width: 2px;
247
+ background: gray('200');
248
+ z-index: 10;
249
+ }
250
+ }
251
+ }
252
+
253
+ .accordion-control {
254
+ position: static;
255
+
256
+ > * {
257
+ display: block;
258
+ }
259
+
260
+ &::after {
261
+ display: none;
262
+ }
263
+
264
+ &::before {
265
+ @include transition();
266
+ content: counter(accordion, decimal);
267
+ position: absolute;
268
+ display: block;
269
+ top: 50%;
270
+ left: 0;
271
+ width: 3.75rem;
272
+ height: 3.75rem;
273
+ color: $black;
274
+ margin-top: -30px;
275
+ line-height: calc(3.75rem - 4px);
276
+ text-align: center;
277
+ border: (2 * $border-width) solid $border-color;
278
+ z-index: 20;
279
+ border-radius: 50%;
280
+ font-size: 20px;
281
+ }
282
+ }
283
+ }
284
+
285
+ %accordion-steps-text-whiteed {
286
+ .accordion {
287
+ background-color: transparent;
288
+
289
+ &:hover {
290
+ background-color: transparent;
291
+ }
292
+
293
+ &:not(:first-child) {
294
+ margin-top: 0;
295
+
296
+ &::before {
297
+ background: $text-white-border;
298
+ }
299
+ }
300
+
301
+ &:not(:last-child) {
302
+ &::after {
303
+ background: $text-white-border;
304
+ }
305
+ }
306
+ }
307
+
308
+ .accordion-control {
309
+ &::before {
310
+ color: inherit;
311
+ border-color: $text-white-border;
312
+ }
313
+ }
314
+ }
315
+
316
+
317
+ //
318
+ // Highlight
319
+ //
320
+ .accordion-group-highlight {
321
+ overflow: visible;
322
+
323
+ .accordion {
324
+ background: transparent;
325
+ border: 0;
326
+
327
+ &.open {
328
+ @extend %boxed;
329
+ }
330
+ }
331
+ }
332
+
333
+ %accordion-highlight-text-whiteed {
334
+ .accordion {
335
+ background: transparent;
336
+
337
+ &:not(:first-child) {
338
+ margin-top: 0;
339
+ border-top: $border-width solid rgba($white, .05);
340
+ }
341
+
342
+ &.open {
343
+ background-color: rgba($white, .05);
344
+ }
345
+ }
346
+ }
347
+
348
+
349
+ //
350
+ // Portal
351
+ //
352
+ .accordion-group-portal {
353
+ @extend %boxed;
354
+ overflow: hidden;
355
+
356
+ .accordion {
357
+ &.open {
358
+ background: $gray-100;
359
+
360
+ .accordion-control::after {
361
+ @include rotate(45deg);
362
+ }
363
+ }
364
+ }
365
+
366
+ .accordion-control {
367
+ padding: 2rem;
368
+
369
+ &::after {
370
+ content: "\ec7d";
371
+ }
372
+
373
+ h5 {
374
+ font-size: 1.25rem;
375
+ font-family: $font-family-sans-serif;
376
+ }
377
+ }
378
+
379
+ .accordion-content {
380
+ > div {
381
+ padding-bottom: 2rem;
382
+ }
383
+ }
384
+ }
385
+
386
+
387
+
388
+
389
+ //
390
+ // text-whiteed Colors
391
+ //
392
+ .text-white {
393
+ .accordion-group {
394
+ @extend %accordion-text-whiteed;
395
+ }
396
+
397
+ .accordion-group-minimal {
398
+ @extend %accordion-minimal-text-whiteed;
399
+ }
400
+
401
+ .accordion-group-feature {
402
+ @extend %accordion-feature-text-whiteed;
403
+ }
404
+
405
+ .accordion-group-steps {
406
+ @extend %accordion-steps-text-whiteed;
407
+ }
408
+
409
+ .accordion-group-highlight {
410
+ @extend %accordion-highlight-text-whiteed;
411
+ }
412
+ }
413
+
414
+
415
+ //
416
+ // Responsive
417
+ //
418
+ @include media-breakpoint-down(md) {
419
+ .accordion-control {
420
+ display: block;
421
+
422
+ > * {
423
+ &:not(:first-child) {
424
+ margin-top: .25rem;
425
+ }
426
+ }
427
+ }
428
+
429
+ .accordion-group-feature {
430
+ .accordion-control {
431
+ > * {
432
+ display: inline-block;
433
+ }
434
+ }
435
+ }
436
+ }