vbax-template_go 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/vbax/sass/template_go.scss +2 -0
- data/lib/vbax/sass/template_go/components/_accordion.scss +436 -0
- data/lib/vbax/sass/template_go/components/_badges.scss +35 -0
- data/lib/vbax/sass/template_go/components/_blog.scss +321 -0
- data/lib/vbax/sass/template_go/components/_boxes.scss +169 -0
- data/lib/vbax/sass/template_go/components/_breadcrumbs.scss +88 -0
- data/lib/vbax/sass/template_go/components/_buttons.scss +145 -0
- data/lib/vbax/sass/template_go/components/_cards.scss +129 -0
- data/lib/vbax/sass/template_go/components/_carousel.scss +260 -0
- data/lib/vbax/sass/template_go/components/_components.scss +31 -0
- data/lib/vbax/sass/template_go/components/_docs.scss +107 -0
- data/lib/vbax/sass/template_go/components/_dropdowns.scss +115 -0
- data/lib/vbax/sass/template_go/components/_features.scss +50 -0
- data/lib/vbax/sass/template_go/components/_gallery.scss +104 -0
- data/lib/vbax/sass/template_go/components/_hero.scss +266 -0
- data/lib/vbax/sass/template_go/components/_icons.scss +53 -0
- data/lib/vbax/sass/template_go/components/_jobs.scss +24 -0
- data/lib/vbax/sass/template_go/components/_list.scss +111 -0
- data/lib/vbax/sass/template_go/components/_maps.scss +43 -0
- data/lib/vbax/sass/template_go/components/_masonry.scss +28 -0
- data/lib/vbax/sass/template_go/components/_modals.scss +48 -0
- data/lib/vbax/sass/template_go/components/_nav.scss +288 -0
- data/lib/vbax/sass/template_go/components/_navbar.scss +119 -0
- data/lib/vbax/sass/template_go/components/_partners.scss +27 -0
- data/lib/vbax/sass/template_go/components/_presentations.scss +173 -0
- data/lib/vbax/sass/template_go/components/_pricing.scss +111 -0
- data/lib/vbax/sass/template_go/components/_progress.scss +70 -0
- data/lib/vbax/sass/template_go/components/_swiper.scss +239 -0
- data/lib/vbax/sass/template_go/components/_syntax.scss +173 -0
- data/lib/vbax/sass/template_go/components/_tables.scss +140 -0
- data/lib/vbax/sass/template_go/components/_testimonials.scss +191 -0
- data/lib/vbax/sass/template_go/components/_users.scss +307 -0
- data/lib/vbax/sass/template_go/components/_video.scss +113 -0
- data/lib/vbax/sass/template_go/layout/_colors.scss +54 -0
- data/lib/vbax/sass/template_go/layout/_components.scss +253 -0
- data/lib/vbax/sass/template_go/layout/_content.scss +376 -0
- data/lib/vbax/sass/template_go/layout/_custom-forms.scss +367 -0
- data/lib/vbax/sass/template_go/layout/_footer.scss +39 -0
- data/lib/vbax/sass/template_go/layout/_forms.scss +103 -0
- data/lib/vbax/sass/template_go/layout/_header.scss +105 -0
- data/lib/vbax/sass/template_go/layout/_helpers.scss +9 -0
- data/lib/vbax/sass/template_go/layout/_icons.scss +5319 -0
- data/lib/vbax/sass/template_go/layout/_invert.scss +195 -0
- data/lib/vbax/sass/template_go/layout/_layout.scss +16 -0
- data/lib/vbax/sass/template_go/layout/_mixins.scss +110 -0
- data/lib/vbax/sass/template_go/layout/_overlay.scss +165 -0
- data/lib/vbax/sass/template_go/layout/_project.scss +172 -0
- data/lib/vbax/sass/template_go/layout/_sidebar.scss +12 -0
- data/lib/vbax/sass/template_go/layout/_sizing.scss +114 -0
- data/lib/vbax/sass/template_go/layout/_typography.scss +197 -0
- data/lib/vbax/template_go.rb +9 -0
- data/lib/vbax/template_go/engine.rb +14 -0
- data/lib/vbax/template_go/version.rb +5 -0
- data/vbax-template_go.gemspec +29 -0
- metadata +133 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
// Badges
|
2
|
+
//
|
3
|
+
//
|
4
|
+
//
|
5
|
+
//
|
6
|
+
|
7
|
+
[class*="badge"] {
|
8
|
+
@include transition;
|
9
|
+
}
|
10
|
+
|
11
|
+
@each $color, $value in $colors {
|
12
|
+
.badge-#{$color} {
|
13
|
+
@include badge-variant($value);
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
|
18
|
+
// outline badges
|
19
|
+
@mixin badge-outline($bg) {
|
20
|
+
color: $bg;
|
21
|
+
border: $border-width solid $bg;
|
22
|
+
background-color: transparent;
|
23
|
+
}
|
24
|
+
|
25
|
+
@each $color, $value in $colors {
|
26
|
+
.badge-outline-#{$color} {
|
27
|
+
@include badge-outline($value);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
@each $color, $value in $theme-colors {
|
32
|
+
.badge-outline-#{$color} {
|
33
|
+
@include badge-outline($value);
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,321 @@
|
|
1
|
+
// Blog
|
2
|
+
//
|
3
|
+
//
|
4
|
+
//
|
5
|
+
|
6
|
+
|
7
|
+
//
|
8
|
+
// entry
|
9
|
+
//
|
10
|
+
.entry {
|
11
|
+
@include transition(0.2s);
|
12
|
+
overflow: hidden;
|
13
|
+
position: relative;
|
14
|
+
|
15
|
+
> a {
|
16
|
+
padding: 2.5rem;
|
17
|
+
color: inherit;
|
18
|
+
}
|
19
|
+
|
20
|
+
&:not(:first-child) { border-top: $border-width solid $border-color; }
|
21
|
+
|
22
|
+
&::after {
|
23
|
+
position: absolute;
|
24
|
+
top: 50%;
|
25
|
+
right: 2.5rem;
|
26
|
+
display: block;
|
27
|
+
content: "\f105";
|
28
|
+
font-size: 1.375rem;
|
29
|
+
font-family: $font-icon;
|
30
|
+
@include transition(0.2s);
|
31
|
+
@include translate(0,-50%);
|
32
|
+
}
|
33
|
+
|
34
|
+
&:hover {
|
35
|
+
background: $border-color;
|
36
|
+
|
37
|
+
&::after { right: 1.875rem; }
|
38
|
+
}
|
39
|
+
|
40
|
+
time {
|
41
|
+
@extend %eyebrow;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.entry-title {
|
46
|
+
font-size: 1rem;
|
47
|
+
font-family: $font-family-sans-serif;
|
48
|
+
font-weight: $font-weight-normal;
|
49
|
+
}
|
50
|
+
|
51
|
+
.text-white {
|
52
|
+
.entry {
|
53
|
+
&:not(:first-child) { border-color: $text-white-border; }
|
54
|
+
|
55
|
+
&:hover {
|
56
|
+
background: $text-white-border;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
//
|
65
|
+
// News
|
66
|
+
//
|
67
|
+
.news {
|
68
|
+
margin-top: .3125rem;
|
69
|
+
|
70
|
+
&:first-child {
|
71
|
+
margin-top: 0;
|
72
|
+
}
|
73
|
+
|
74
|
+
a {
|
75
|
+
@include border-radius;
|
76
|
+
@include transition;
|
77
|
+
position: relative;
|
78
|
+
padding: 1.875rem;
|
79
|
+
display: inline-block;
|
80
|
+
background: $border-color;
|
81
|
+
color: inherit;
|
82
|
+
|
83
|
+
&:hover {
|
84
|
+
padding-left: 2.5rem;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
time {
|
89
|
+
@include translate(1.25rem,-50%);
|
90
|
+
left: 100%;
|
91
|
+
top: 50%;
|
92
|
+
position: absolute;
|
93
|
+
white-space: nowrap;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
.news-title {
|
98
|
+
margin: 0;
|
99
|
+
font-size: 1rem;
|
100
|
+
font-family: $font-family-sans-serif;
|
101
|
+
font-weight: $font-weight-normal;
|
102
|
+
}
|
103
|
+
|
104
|
+
.text-white {
|
105
|
+
.news {
|
106
|
+
a {
|
107
|
+
background: rgba($black, .1);
|
108
|
+
}
|
109
|
+
|
110
|
+
time {
|
111
|
+
color: $text-white-secondary;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
@include media-breakpoint-down(sm) {
|
117
|
+
.news {
|
118
|
+
time {
|
119
|
+
position: static;
|
120
|
+
font-size: $font-size-sm;
|
121
|
+
letter-spacing: $letter-spacing-sm;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
//
|
130
|
+
// tiles
|
131
|
+
//
|
132
|
+
.tile {
|
133
|
+
@extend %equal;
|
134
|
+
@include border-radius;
|
135
|
+
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
136
|
+
overflow: hidden;
|
137
|
+
|
138
|
+
.tile-content {
|
139
|
+
@extend %text-white;
|
140
|
+
@extend %text-shadow;
|
141
|
+
|
142
|
+
// Dark overlay for background image
|
143
|
+
&::before {
|
144
|
+
content: "";
|
145
|
+
position: absolute;
|
146
|
+
top: 0;
|
147
|
+
right: 0;
|
148
|
+
bottom: 0;
|
149
|
+
left: 0;
|
150
|
+
display: block;
|
151
|
+
background: rgba($black, 0.2);
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
&:hover {
|
156
|
+
.tile-image {
|
157
|
+
@include scale;
|
158
|
+
}
|
159
|
+
|
160
|
+
.tile-header {
|
161
|
+
@include translate(0,5%);
|
162
|
+
}
|
163
|
+
|
164
|
+
.tile-footer {
|
165
|
+
@include translate(0,-5%);
|
166
|
+
}
|
167
|
+
|
168
|
+
.on-hover {
|
169
|
+
opacity: 1;
|
170
|
+
|
171
|
+
&.tile-header { @include translate(0,0) }
|
172
|
+
&.tile-footer { @include translate(0,0) }
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
.tile-image {
|
178
|
+
@include transition;
|
179
|
+
background-size: cover;
|
180
|
+
background-position: 50% 50%;
|
181
|
+
}
|
182
|
+
|
183
|
+
.tile-header,
|
184
|
+
.tile-footer {
|
185
|
+
@include transition;
|
186
|
+
position: absolute;
|
187
|
+
top: 0;
|
188
|
+
width: 100%;
|
189
|
+
padding: $card-spacer-x;
|
190
|
+
}
|
191
|
+
|
192
|
+
.on-hover {
|
193
|
+
opacity: 0;
|
194
|
+
&.tile-header {
|
195
|
+
@include translate(0,-25%)
|
196
|
+
}
|
197
|
+
|
198
|
+
&.tile-footer {
|
199
|
+
@include translate(0,25%)
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
.tile-footer {
|
204
|
+
top: auto;
|
205
|
+
bottom: 0;
|
206
|
+
}
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
//
|
212
|
+
// Sidebar
|
213
|
+
//
|
214
|
+
.widget {
|
215
|
+
+ .widget {
|
216
|
+
margin-top: 3.125rem;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
.widget-title {
|
221
|
+
@extend %eyebrow;
|
222
|
+
display: block;
|
223
|
+
margin-bottom: 1rem;
|
224
|
+
}
|
225
|
+
|
226
|
+
|
227
|
+
// Tag Cloud
|
228
|
+
.tag-cloud {
|
229
|
+
margin: -.25rem;
|
230
|
+
|
231
|
+
a {
|
232
|
+
@include transition;
|
233
|
+
float: left;
|
234
|
+
display: block;
|
235
|
+
margin: .25rem;
|
236
|
+
background: $gray-200;
|
237
|
+
padding: .5rem 1rem;
|
238
|
+
font-size: $font-size-sm;
|
239
|
+
color: $body-color;
|
240
|
+
border-radius: 10rem;
|
241
|
+
|
242
|
+
&:hover {
|
243
|
+
background: $primary;
|
244
|
+
color: $white;
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
|
250
|
+
// Categories
|
251
|
+
.list-group-categories {
|
252
|
+
.list-group-item {
|
253
|
+
@include transition;
|
254
|
+
color: $black;
|
255
|
+
|
256
|
+
&:hover {
|
257
|
+
color: $primary;
|
258
|
+
|
259
|
+
.badge {
|
260
|
+
color: $primary;
|
261
|
+
}
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
.badge {
|
266
|
+
background: $gray-200;
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
|
271
|
+
// Latest posts
|
272
|
+
.feed {
|
273
|
+
padding: 0;
|
274
|
+
list-style: none;
|
275
|
+
|
276
|
+
li {
|
277
|
+
&:not(:last-child) {
|
278
|
+
margin-bottom: ($grid-gutter-width / 2);
|
279
|
+
padding-bottom: ($grid-gutter-width / 2);
|
280
|
+
border-bottom: $border-width solid $border-color;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
.feed-item {
|
286
|
+
@include transition;
|
287
|
+
display: -ms-flexbox;
|
288
|
+
display: flex;
|
289
|
+
-ms-flex-align: start;
|
290
|
+
align-items: flex-start;
|
291
|
+
-ms-flex-align: center !important;
|
292
|
+
align-items: center !important;
|
293
|
+
|
294
|
+
&:hover {
|
295
|
+
.feed-item-content h3 {
|
296
|
+
color: $primary;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
img {
|
301
|
+
@extend %boxed;
|
302
|
+
@include border-radius;
|
303
|
+
width: 70px;
|
304
|
+
}
|
305
|
+
}
|
306
|
+
|
307
|
+
.feed-item-content {
|
308
|
+
padding-left: ($grid-gutter-width / 2);
|
309
|
+
|
310
|
+
h3 {
|
311
|
+
@include transition;
|
312
|
+
margin-bottom: 0;
|
313
|
+
font-size: $font-size-base;
|
314
|
+
font-weight: 400;
|
315
|
+
}
|
316
|
+
|
317
|
+
span {
|
318
|
+
font-size: $font-size-sm;
|
319
|
+
color: $body-color;
|
320
|
+
}
|
321
|
+
}
|
@@ -0,0 +1,169 @@
|
|
1
|
+
//
|
2
|
+
// Boxes
|
3
|
+
//
|
4
|
+
//
|
5
|
+
|
6
|
+
%bordered {
|
7
|
+
@include border-radius;
|
8
|
+
@include transition;
|
9
|
+
background-color: transparent;
|
10
|
+
border: $border-width solid $border-color;
|
11
|
+
}
|
12
|
+
|
13
|
+
%bordered-text-whiteed {
|
14
|
+
background: transparent;
|
15
|
+
border-color: $text-white-border;
|
16
|
+
}
|
17
|
+
|
18
|
+
%boxed {
|
19
|
+
@include border-radius;
|
20
|
+
@include shadow;
|
21
|
+
background-color: $white;
|
22
|
+
}
|
23
|
+
|
24
|
+
%floating {
|
25
|
+
-webkit-box-shadow: 0px 10px 15px 0 rgba($black,0.1);
|
26
|
+
-moz-box-shadow: 0px 10px 15px 0 rgba($black,0.1);
|
27
|
+
box-shadow: 0px 10px 15px 0 rgba($black,0.1);
|
28
|
+
}
|
29
|
+
|
30
|
+
[class*="boxed"] { @extend %boxed; }
|
31
|
+
[class*="bordered"] { @extend %bordered; }
|
32
|
+
[class*="floating"] { @extend %floating; }
|
33
|
+
[class*="rounded"] {
|
34
|
+
border-radius: 10rem!important;
|
35
|
+
&.blk_syst{
|
36
|
+
border-radius: 0rem!important;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Hovers
|
42
|
+
%scaling {
|
43
|
+
@include transition;
|
44
|
+
|
45
|
+
&:hover {
|
46
|
+
@include scale;
|
47
|
+
@include shadow;
|
48
|
+
position: relative;
|
49
|
+
z-index: 50;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
%rising {
|
54
|
+
@include transition();
|
55
|
+
|
56
|
+
&:hover {
|
57
|
+
@include translate(0,-10px);
|
58
|
+
position: relative;
|
59
|
+
z-index: 50;
|
60
|
+
-webkit-box-shadow: 0px 10px 15px 0 rgba($black,0.1);
|
61
|
+
-moz-box-shadow: 0px 10px 15px 0 rgba($black,0.1);
|
62
|
+
box-shadow: 0px 10px 15px 0 rgba($black,0.1);
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
@include media-breakpoint-up(md) {
|
67
|
+
[class*="scaling"] {
|
68
|
+
@include transition();
|
69
|
+
|
70
|
+
&:hover {
|
71
|
+
@include scale;
|
72
|
+
@include shadow;
|
73
|
+
position: relative;
|
74
|
+
z-index: 50;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
[class*="rising"] {
|
79
|
+
@include transition();
|
80
|
+
|
81
|
+
&:hover {
|
82
|
+
@include translate(0,-10px);
|
83
|
+
position: relative;
|
84
|
+
z-index: 50;
|
85
|
+
-webkit-box-shadow: 0px 10px 15px 0 rgba($black,0.1);
|
86
|
+
-moz-box-shadow: 0px 10px 15px 0 rgba($black,0.1);
|
87
|
+
box-shadow: 0px 10px 15px 0 rgba($black,0.1);
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
|
93
|
+
//
|
94
|
+
// separated items
|
95
|
+
//
|
96
|
+
.separated {
|
97
|
+
overflow: hidden;
|
98
|
+
|
99
|
+
> * {
|
100
|
+
@include prefix(box-shadow, -1px -1px 0px 0px $border-color, webkit moz);
|
101
|
+
|
102
|
+
&:not(:last-child) {
|
103
|
+
margin-bottom: 0!important;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
.text-white {
|
109
|
+
.separated {
|
110
|
+
> * {
|
111
|
+
@include prefix(box-shadow, -1px -1px 0px 0px $text-white-border, webkit moz);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
|
117
|
+
// Equal
|
118
|
+
//
|
119
|
+
// equalise width and height of a box
|
120
|
+
%equal {
|
121
|
+
position: relative;
|
122
|
+
// overflow: hidden;
|
123
|
+
|
124
|
+
&::before {
|
125
|
+
display: block;
|
126
|
+
content: "";
|
127
|
+
width: 100%;
|
128
|
+
padding-top: 100%;
|
129
|
+
}
|
130
|
+
|
131
|
+
> * {
|
132
|
+
position: absolute;
|
133
|
+
top: 0;
|
134
|
+
right: 0;
|
135
|
+
bottom: 0;
|
136
|
+
left: 0;
|
137
|
+
}
|
138
|
+
|
139
|
+
&[class*="-short"] {
|
140
|
+
&::before {
|
141
|
+
padding-top: 75%;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
&[class*="-long"] {
|
146
|
+
&::before {
|
147
|
+
padding-top: 125%;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
.equal {
|
153
|
+
@extend %equal;
|
154
|
+
|
155
|
+
.equal-header,
|
156
|
+
.equal-footer {
|
157
|
+
position: absolute;
|
158
|
+
right: 0;
|
159
|
+
left: 0;
|
160
|
+
padding: 30px;
|
161
|
+
}
|
162
|
+
|
163
|
+
.equal-header { top: 0; }
|
164
|
+
.equal-footer { bottom: 0; }
|
165
|
+
|
166
|
+
.row {
|
167
|
+
height: 100%;
|
168
|
+
}
|
169
|
+
}
|