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,195 @@
1
+ //
2
+ // text-white
3
+ //
4
+
5
+ %text-white {
6
+ color: $white;
7
+
8
+ h1, h2, h3, h4, h5, h6,
9
+ .h1, .h2, .h3, .h4, .h5, .h6,
10
+ strong, b, li, a:not(.btn) {
11
+ color: $text-white-primary;
12
+ }
13
+
14
+ p, span:not(.badge) {
15
+ color: $text-white-secondary;
16
+ &.reworkcolor{
17
+ // TODO: variable
18
+ color: $buttonGreen;
19
+ font-weight: 800;
20
+ }
21
+ }
22
+
23
+
24
+ hr {
25
+ border-color: $text-white-border;
26
+ }
27
+ }
28
+
29
+ %revert {
30
+ color: $body-color;
31
+
32
+ h1, h2, h3, h4, h5, h6,
33
+ .h1, .h2, .h3, .h4, .h5, .h6,
34
+ strong, b, li {
35
+ color: $black;
36
+ }
37
+
38
+ p, span {
39
+ color: $body-color;
40
+ }
41
+
42
+ hr {
43
+ border-color: $border-color;
44
+ }
45
+ }
46
+
47
+ .revert {
48
+ @extend %revert;
49
+ }
50
+
51
+
52
+
53
+ // text-whiteed Components
54
+ //
55
+ //
56
+ .text-white {
57
+ @extend %text-white;
58
+
59
+
60
+
61
+ // Typography
62
+ .lead {
63
+ color: rgba($white, .75);
64
+ }
65
+
66
+ .text-muted {
67
+ color: $text-white-secondary!important;
68
+ }
69
+
70
+ // Socials
71
+ .socials {
72
+ @extend %socials-text-whiteed;
73
+ }
74
+
75
+ // Bordered
76
+ [class*="bordered"] {
77
+ @extend %bordered-text-whiteed;
78
+ }
79
+
80
+ // Box
81
+ .box {
82
+ @extend %text-whiteed-box;
83
+ }
84
+
85
+
86
+ // Text Decorated
87
+ .text-decorated {
88
+ @extend %text-decorated-text-white;
89
+ }
90
+
91
+
92
+ // Blockquote
93
+ .blockquote {
94
+ @extend %blockquote-text-white;
95
+ }
96
+
97
+ // Breadcrumb
98
+ .breadcrumb {
99
+ @extend %breadcrumb-text-whiteed;
100
+ }
101
+
102
+
103
+ // Separator
104
+ [class*="separator"] {
105
+ @extend %separator-text-white;
106
+ }
107
+
108
+ &[class*="separator"] {
109
+ @extend %separator-text-white;
110
+ }
111
+
112
+
113
+
114
+
115
+ // Progress
116
+ @extend %progress-text-white;
117
+
118
+
119
+ // Owl Carousel Dots
120
+ .owl-dots {
121
+
122
+ .owl-dot {
123
+
124
+ span { background: rgba($white, .2); }
125
+
126
+ &:hover {
127
+ span { background: rgba($white, .4); }
128
+ }
129
+
130
+ &.active {
131
+ span { background: $white; }
132
+ }
133
+ }
134
+ }
135
+
136
+ // Tabs
137
+ .nav {
138
+ .lavalamp-object {
139
+ border-color: $white;
140
+ }
141
+
142
+ .nav-link {
143
+ color: rgba($white, 0.5);
144
+
145
+ &.active,
146
+ &:hover {
147
+ color: $white;
148
+ }
149
+ }
150
+
151
+ &.nav--line {
152
+ border-color: rgba($white, 0.2);
153
+ }
154
+ }
155
+
156
+
157
+ // Step
158
+ .step {
159
+
160
+ &::before {
161
+ border-color: rgba($white, 0.2);
162
+ color: $white;
163
+ }
164
+
165
+ &:hover,
166
+ &.step-highlight {
167
+ &::before {
168
+ background: $white;
169
+ border-color: $white;
170
+ color: $black;
171
+ }
172
+ }
173
+
174
+ &::after {
175
+ background-color: rgba($white, 0.2)!important;
176
+ }
177
+ }
178
+
179
+
180
+ // Table
181
+ .table {
182
+ @extend %table-text-whiteed;
183
+ }
184
+
185
+
186
+
187
+
188
+ // SVG ICON
189
+ .svg-icon {
190
+ color: $white;
191
+ }
192
+
193
+
194
+
195
+ }
@@ -0,0 +1,16 @@
1
+ @import 'mixins';
2
+ @import 'helpers';
3
+ @import 'colors';
4
+ @import 'sizing';
5
+ @import 'icons';
6
+ @import 'forms';
7
+ @import 'custom-forms';
8
+ @import 'typography';
9
+ @import 'header';
10
+ @import 'content';
11
+ @import 'components';
12
+ @import 'sidebar';
13
+ @import 'footer';
14
+ @import 'overlay';
15
+ @import 'invert';
16
+ @import 'project';
@@ -0,0 +1,110 @@
1
+ //
2
+ // Mixins & Functions
3
+ //
4
+
5
+
6
+ //
7
+ // Rem Calculator
8
+ //
9
+ @function rem($size) {
10
+ $rem: $size / 16;
11
+ @return #{$rem}rem;
12
+ }
13
+
14
+ @function px($size) {
15
+ $px: strip-units($size) * 16;
16
+ @return #{$px}px;
17
+ }
18
+
19
+ // removing "px" or "rem" from variable
20
+ @function strip-units($number) {
21
+ @return $number / ($number * 0 + 1);
22
+ }
23
+
24
+
25
+ //
26
+ // vendor prefixes
27
+ //
28
+ @mixin prefix($property, $value, $prefixes: ()) {
29
+ @each $prefix in $prefixes {
30
+ #{'-' + $prefix + '-' + $property}: $value;
31
+ }
32
+
33
+ // Output standard non-prefixed declaration
34
+ #{$property}: $value;
35
+ }
36
+
37
+
38
+
39
+ //
40
+ // Font Size
41
+ //
42
+ $font-size-list: ( 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 50, 60, 70, 80, 90, 100 );
43
+ @each $size in $font-size-list {
44
+ .fs-#{$size} {
45
+ font-size: rem($size)!important;
46
+ line-height: 1.4em;
47
+ }
48
+ }
49
+
50
+
51
+
52
+ // Helpers
53
+ @mixin text-shadow($size: 25px) {
54
+ text-shadow: 0px 0px $size rgba($black, 0.4);
55
+ }
56
+
57
+
58
+ @mixin translate($vertical, $horizontal) {
59
+ @include prefix(transform, translate($vertical, $horizontal), webkit moz);
60
+ }
61
+
62
+
63
+ @mixin transition($time: 0.2s, $type: all, $delay: 0s) {
64
+ @include prefix(transition, $type $time, webkit moz);
65
+ @include prefix(transition-delay, $delay, webkit moz);
66
+ }
67
+
68
+ @mixin selection($type) {
69
+ @include prefix(user-select, $type, webkit moz ms);
70
+ }
71
+
72
+ @mixin shadow($size: 10px, $size-2: 0px, $color: rgba($black,0.05)) {
73
+ @include prefix(box-shadow , 0px 0px $size $size-2 $color, webkit moz);
74
+ }
75
+
76
+ @mixin scale($ratio: 1.05) {
77
+ @include prefix(transform , scale($ratio), webkit moz);
78
+ }
79
+
80
+ @mixin rotate($grade: 90deg) {
81
+ @include prefix(transform , rotate($grade), webkit moz);
82
+ }
83
+
84
+
85
+ // remove ?
86
+ @mixin no-shadow() {
87
+ @include prefix(box-shadow , none!important, webkit moz);
88
+ }
89
+
90
+
91
+ @mixin animation($duration, $mode) {
92
+ @include prefix(animation-duration , $duration, webkit moz);
93
+ @include prefix(animation-fill-mode , $mode, webkit moz);
94
+ }
95
+
96
+
97
+ // Placeholder
98
+ @mixin placeholder {
99
+ &::-webkit-input-placeholder {@content}
100
+ &:-moz-placeholder {@content}
101
+ &::-moz-placeholder {@content}
102
+ &:-ms-input-placeholder {@content}
103
+ }
104
+
105
+
106
+ @mixin input-hover {
107
+ &:hover,
108
+ &:focus,
109
+ &:active {@content}
110
+ }
@@ -0,0 +1,165 @@
1
+ // Overlay
2
+ //
3
+ //
4
+
5
+ .overlay-active {
6
+ overflow: hidden;
7
+ }
8
+
9
+ // Vendor prefixes
10
+ $sass-burger-add-vendor-prefixes: true !default;
11
+
12
+ // Burger
13
+ @mixin burger($width: 30px, $height: 5px, $gutter: 3px, $color: #000, $border-radius: 0, $transition-duration: .3s) {
14
+ $burger-height: $height !global;
15
+ $burger-gutter: $gutter !global;
16
+
17
+ position: relative;
18
+ margin-top: $height + $gutter;
19
+ margin-bottom: $height + $gutter;
20
+
21
+ @if $sass-burger-add-vendor-prefixes {
22
+ @include prefix(user-select, none, webkit moz ms);
23
+ }
24
+ user-select: none;
25
+
26
+ // 1. Fixes jagged edges in Firefox, see issue #10.
27
+ &, &::before, &::after {
28
+ display: block;
29
+ width: $width;
30
+ height: $height;
31
+ background-color: $color;
32
+ outline: 1px solid transparent; // 1
33
+ @if $border-radius != 0 {
34
+ border-radius: $border-radius;
35
+ }
36
+
37
+ @if $sass-burger-add-vendor-prefixes {
38
+ @include prefix(transition-property, background-color, webkit moz o);
39
+ }
40
+ transition-property: background-color, transform;
41
+
42
+ @if $sass-burger-add-vendor-prefixes {
43
+ @include prefix(transition-duration, $transition-duration, webkit moz o);
44
+ }
45
+ transition-duration: $transition-duration;
46
+ }
47
+
48
+ &::before, &::after {
49
+ position: absolute;
50
+ content: "";
51
+ }
52
+
53
+ &::before {
54
+ top: -($height + $gutter);
55
+ }
56
+
57
+ &::after {
58
+ top: $height + $gutter;
59
+ }
60
+ }
61
+
62
+
63
+ // Burger animations
64
+ @mixin burger-to-cross($color: auto) {
65
+ & {
66
+ background-color: transparent;
67
+ }
68
+ @if ($color != auto) {
69
+ &::before, &::after {
70
+ background-color: $color;
71
+ }
72
+ }
73
+ &::before {
74
+ @if $sass-burger-add-vendor-prefixes {
75
+ @include prefix(transform, translateY($burger-gutter + $burger-height) rotate(45deg), webkit moz ms o);
76
+ }
77
+ transform: translateY($burger-gutter + $burger-height) rotate(45deg);
78
+ }
79
+ &::after {
80
+ @if $sass-burger-add-vendor-prefixes {
81
+ @include prefix(transform, translateY(-($burger-gutter + $burger-height)) rotate(-45deg), webkit moz ms o);
82
+ }
83
+ transform: translateY(-($burger-gutter + $burger-height)) rotate(-45deg);
84
+ }
85
+ }
86
+
87
+
88
+
89
+ .burger {
90
+ display: inline-block;
91
+ position: relative;
92
+ width: 60px;
93
+ height: 60px;
94
+ z-index: 100;
95
+
96
+ span {
97
+ @include burger(20px, 2px, 4px, $black);
98
+ position: absolute;
99
+ top: 50%;
100
+ left: 50%;
101
+ margin-left: -10px;
102
+ margin-top: -1.5px;
103
+ }
104
+
105
+ &.clicked {
106
+ span {
107
+ @include burger-to-cross();
108
+
109
+ &:before, &:after {
110
+ background-color: $black;
111
+ }
112
+ }
113
+ }
114
+
115
+ &.burger-dot {
116
+ @include shadow;
117
+ background: $white;
118
+ border-radius: 50%;
119
+ }
120
+
121
+ &:hover {
122
+ cursor: pointer;
123
+ }
124
+ }
125
+
126
+
127
+
128
+ // Overlay
129
+ .overlay-menu {
130
+ @include transition(.5s);
131
+ @include translate(0,100%);
132
+ visibility: hidden;
133
+ position: fixed;
134
+ top: 0;
135
+ right: 0;
136
+ bottom: 0;
137
+ left: 0;
138
+ background: rgba($black,.75);
139
+ z-index: 90;
140
+ overflow: hidden;
141
+
142
+ &.opened {
143
+ @include translate(0,0);
144
+ visibility: visible;
145
+ }
146
+ }
147
+
148
+ .overlay-nav {
149
+ list-style: none;
150
+ padding: 0;
151
+
152
+ a {
153
+ font-size: 30px;
154
+ line-height: 2em;
155
+ }
156
+ }
157
+
158
+
159
+ .wrapper {
160
+ @include transition(.5s);
161
+
162
+ &.push {
163
+ @include scale(.8);
164
+ }
165
+ }