@medyll/cssfabric 0.0.14 → 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.
- package/bin/index.js +7 -0
- package/gulpfile.js +3 -15
- package/lib/styles/core/animation/animation.css +0 -215
- package/lib/styles/core/animation/animation.min.css +0 -1
- package/lib/styles/core/box/box.css +1038 -852
- package/lib/styles/core/box/box.min.css +1 -1
- package/lib/styles/core/box/box.responsive.css +5253 -6588
- package/lib/styles/core/box/box.responsive.min.css +1 -1
- package/lib/styles/core/color/color.css +36 -36
- package/lib/styles/core/color/color.min.css +1 -1
- package/lib/styles/core/color/color.responsive.css +185 -1110
- package/lib/styles/core/color/color.responsive.min.css +1 -1
- package/lib/styles/core/flex/flex.css +56 -72
- package/lib/styles/core/flex/flex.min.css +1 -1
- package/lib/styles/core/flex/flex.responsive.css +286 -508
- package/lib/styles/core/flex/flex.responsive.min.css +1 -1
- package/lib/styles/core/grid/grid.css +103 -34
- package/lib/styles/core/grid/grid.min.css +1 -1
- package/lib/styles/core/grid/grid.responsive.css +506 -213
- package/lib/styles/core/grid/grid.responsive.min.css +1 -1
- package/lib/styles/core/menu/menu.responsive.css +5 -86
- package/lib/styles/core/menu/menu.responsive.min.css +1 -1
- package/lib/styles/core/overflow/overflow.css +59 -83
- package/lib/styles/core/overflow/overflow.min.css +1 -1
- package/lib/styles/core/overflow/overflow.responsive.css +305 -486
- package/lib/styles/core/overflow/overflow.responsive.min.css +1 -1
- package/lib/styles/core/scale/scale.css +192 -192
- package/lib/styles/core/scale/scale.min.css +1 -1
- package/lib/styles/core/scale/scale.responsive.css +965 -1606
- package/lib/styles/core/scale/scale.responsive.min.css +1 -1
- package/lib/styles/core/table/table.css +71 -70
- package/lib/styles/core/table/table.responsive.css +5 -79
- package/lib/styles/core/table/table.responsive.min.css +1 -1
- package/lib/styles/core/text/text.responsive.css +5 -154
- package/lib/styles/core/text/text.responsive.min.css +1 -1
- package/lib/styles/core/vars.css +37 -41
- package/lib/styles/core/vars.min.css +1 -1
- package/lib/styles/core/zindex/zindex.css +42 -348
- package/lib/styles/core/zindex/zindex.min.css +1 -1
- package/lib/styles/cssfabric.css +1528 -3792
- package/lib/styles/cssfabric.min.css +7 -7
- package/lib/styles/cssfabric.responsive.css +13034 -16229
- package/lib/styles/cssfabric.responsive.min.css +9 -9
- package/package.json +13 -11
- package/src/_generated/export.variables.json +171 -167
- package/src/cssfabric/_utils.scss +1 -1
- package/src/cssfabric/modules/_cssfabric-config.scss +8 -6
- package/src/cssfabric/modules/animation/animation.scss +2 -2
- package/src/cssfabric/modules/box/_box-build.scss +57 -4
- package/src/cssfabric/modules/box/_box-vars.scss +1 -1
- package/src/cssfabric/modules/box/box-responsive.scss +2 -2
- package/src/cssfabric/modules/color/_color-build.scss +1 -1
- package/src/cssfabric/modules/color/color-responsive.scss +1 -1
- package/src/cssfabric/modules/flex/_flex-build.scss +35 -54
- package/src/cssfabric/modules/flex/_flex-vars.scss +3 -6
- package/src/cssfabric/modules/grid/_grid-build.scss +42 -49
- package/src/cssfabric/modules/grid/_grid-vars.scss +6 -5
- package/src/cssfabric/modules/grid/grid-responsive.scss +1 -1
- package/src/cssfabric/modules/menu/menu-responsive.scss +1 -1
- package/src/cssfabric/modules/overflow/overflow-responsive.scss +1 -1
- package/src/cssfabric/modules/scale/_scale-build.scss +1 -1
- package/src/cssfabric/modules/scale/scale-responsive.scss +1 -1
- package/src/cssfabric/modules/table/table-responsive.scss +1 -1
- package/src/cssfabric/modules/text/text-responsive.scss +1 -1
- package/src/cssfabric/modules/theme/_theme-build.scss +2 -0
- package/src/cssfabric/modules/vars.scss +5 -6
- package/src/cssfabric/modules/zindex/_zindex-vars.scss +8 -13
- package/src/cssfabric/modules/zindex/zindex.scss +6 -10
- package/lib/styles/core/main.css +0 -2263
- package/src/cssfabric/modules/main.scss +0 -3
package/bin/index.js
ADDED
package/gulpfile.js
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
// ## WIP
|
|
2
2
|
|
|
3
3
|
const gulp = require("gulp"),
|
|
4
|
-
unescapeJs = require("unescape-js"),
|
|
5
4
|
jsonTransform = require("gulp-json-transform"),
|
|
6
5
|
cache = require("gulp-cached"),
|
|
7
6
|
gulpSass = require("gulp-sass"),
|
|
8
|
-
// sassExport = require("gulp-sass-export"),
|
|
9
|
-
mergeJson = require("gulp-merge-json"),
|
|
10
7
|
gulFileList = require("gulp-filelist"),
|
|
11
8
|
minifyCss = require("gulp-minify-css"),
|
|
12
9
|
fs = require("fs"),
|
|
13
10
|
gulpRename = require("gulp-rename"),
|
|
14
11
|
gulpDownload = require("gulp-download-stream"),
|
|
15
12
|
gulpConcat = require("gulp-concat-util"),
|
|
16
|
-
sassJson = require("gulp-sass-json"),
|
|
17
|
-
sassExport = require("gulp-sass-export"),
|
|
18
|
-
sassVarsToJs = require("gulp-sass-vars-to-js"),
|
|
19
|
-
parse = require("sass-parser")(),
|
|
20
13
|
gulpJsBeautifier = require('gulp-jsbeautifier'),
|
|
21
14
|
modifyFile = require("gulp-modify-file"),
|
|
22
15
|
json2md = require("json2md"),
|
|
@@ -558,25 +551,20 @@ function taskDownload(cb) {
|
|
|
558
551
|
}
|
|
559
552
|
|
|
560
553
|
function watchSassTask(cb) {
|
|
561
|
-
// scss , css , scss
|
|
562
554
|
gulp.watch(
|
|
563
555
|
fabricModuleDir + "/**/*.scss",
|
|
564
|
-
gulp.series(task_sass2css, task_mergeInclude, task_varsExport)
|
|
565
|
-
);
|
|
566
|
-
|
|
556
|
+
gulp.series(task_sass2css, task_mergeInclude, task_varsExport)
|
|
557
|
+
);
|
|
567
558
|
cb();
|
|
568
559
|
}
|
|
569
560
|
|
|
570
561
|
// todo change to styleDir
|
|
571
562
|
function watchInclude(cb) {
|
|
572
|
-
// gulp.watch(fabricStylesDir, task_mergeInclude);
|
|
573
|
-
//gulp.watch(fabricModuleDir, task_mergeInclude);
|
|
574
563
|
|
|
575
564
|
cb();
|
|
576
565
|
}
|
|
577
566
|
|
|
578
567
|
function watchReadme(cb) {
|
|
579
|
-
// console.log([fabricModuleDir,"!"+fabricModuleDir + "/**/_*.scss"])
|
|
580
568
|
gulp.watch(
|
|
581
569
|
[fabricModuleDir, "!" + fabricModuleDir + "/**/_*.scss"],
|
|
582
570
|
task_readme
|
|
@@ -597,7 +585,7 @@ function watchCssExportVars(cb) {
|
|
|
597
585
|
cb();
|
|
598
586
|
}
|
|
599
587
|
|
|
600
|
-
//
|
|
588
|
+
// only one called by npm
|
|
601
589
|
exports.watchSass = watchSassTask;
|
|
602
590
|
|
|
603
591
|
exports.watchInclude = watchInclude;
|
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
@keyframes animate-backIn-up {
|
|
2
|
-
0% {
|
|
3
|
-
transform: scale(1);
|
|
4
|
-
opacity: 1;
|
|
5
|
-
}
|
|
6
|
-
30% {
|
|
7
|
-
transform: translateY(-10px) scale(0.7);
|
|
8
|
-
opacity: 0.7;
|
|
9
|
-
}
|
|
10
|
-
100% {
|
|
11
|
-
transform: translateY(-10px) scale(0.7);
|
|
12
|
-
opacity: 0.5;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
.animate-backIn-up {
|
|
16
|
-
animation-name: translateY(-10px);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@keyframes animate-backIn-up-right {
|
|
20
|
-
0% {
|
|
21
|
-
transform: scale(1);
|
|
22
|
-
opacity: 1;
|
|
23
|
-
}
|
|
24
|
-
30% {
|
|
25
|
-
transform: translateY(-10px) translateX(+10px) scale(0.7);
|
|
26
|
-
opacity: 0.7;
|
|
27
|
-
}
|
|
28
|
-
100% {
|
|
29
|
-
transform: translateY(-10px) translateX(+10px) scale(0.7);
|
|
30
|
-
opacity: 0.5;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
.animate-backIn-up-right {
|
|
34
|
-
animation-name: translateY(-10px) translateX(+10px);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@keyframes animate-backIn-up-left {
|
|
38
|
-
0% {
|
|
39
|
-
transform: scale(1);
|
|
40
|
-
opacity: 1;
|
|
41
|
-
}
|
|
42
|
-
30% {
|
|
43
|
-
transform: translateY(-10px) translateX(-10px) scale(0.7);
|
|
44
|
-
opacity: 0.7;
|
|
45
|
-
}
|
|
46
|
-
100% {
|
|
47
|
-
transform: translateY(-10px) translateX(-10px) scale(0.7);
|
|
48
|
-
opacity: 0.5;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
.animate-backIn-up-left {
|
|
52
|
-
animation-name: translateY(-10px) translateX(-10px);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@keyframes animate-backIn-right {
|
|
56
|
-
0% {
|
|
57
|
-
transform: scale(1);
|
|
58
|
-
opacity: 1;
|
|
59
|
-
}
|
|
60
|
-
30% {
|
|
61
|
-
transform: translateX(+10px) scale(0.7);
|
|
62
|
-
opacity: 0.7;
|
|
63
|
-
}
|
|
64
|
-
100% {
|
|
65
|
-
transform: translateX(+10px) scale(0.7);
|
|
66
|
-
opacity: 0.5;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
.animate-backIn-right {
|
|
70
|
-
animation-name: translateX(+10px);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
@keyframes animate-backIn-right-bottom {
|
|
74
|
-
0% {
|
|
75
|
-
transform: scale(1);
|
|
76
|
-
opacity: 1;
|
|
77
|
-
}
|
|
78
|
-
30% {
|
|
79
|
-
transform: translateX(+10px) translateY(+10px) scale(0.7);
|
|
80
|
-
opacity: 0.7;
|
|
81
|
-
}
|
|
82
|
-
100% {
|
|
83
|
-
transform: translateX(+10px) translateY(+10px) scale(0.7);
|
|
84
|
-
opacity: 0.5;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
.animate-backIn-right-bottom {
|
|
88
|
-
animation-name: translateX(+10px) translateY(+10px);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@keyframes animate-backIn-bottom {
|
|
92
|
-
0% {
|
|
93
|
-
transform: scale(1);
|
|
94
|
-
opacity: 1;
|
|
95
|
-
}
|
|
96
|
-
30% {
|
|
97
|
-
transform: translateY(+10px) scale(0.7);
|
|
98
|
-
opacity: 0.7;
|
|
99
|
-
}
|
|
100
|
-
100% {
|
|
101
|
-
transform: translateY(+10px) scale(0.7);
|
|
102
|
-
opacity: 0.5;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
.animate-backIn-bottom {
|
|
106
|
-
animation-name: translateY(+10px);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@keyframes animate-backIn-bottom-left {
|
|
110
|
-
0% {
|
|
111
|
-
transform: scale(1);
|
|
112
|
-
opacity: 1;
|
|
113
|
-
}
|
|
114
|
-
30% {
|
|
115
|
-
transform: translateY(+10px) translateX(-10px) scale(0.7);
|
|
116
|
-
opacity: 0.7;
|
|
117
|
-
}
|
|
118
|
-
100% {
|
|
119
|
-
transform: translateY(+10px) translateX(-10px) scale(0.7);
|
|
120
|
-
opacity: 0.5;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
.animate-backIn-bottom-left {
|
|
124
|
-
animation-name: translateY(+10px) translateX(-10px);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@keyframes animate-backIn-left {
|
|
128
|
-
0% {
|
|
129
|
-
transform: scale(1);
|
|
130
|
-
opacity: 1;
|
|
131
|
-
}
|
|
132
|
-
30% {
|
|
133
|
-
transform: translateX(-10px) scale(0.7);
|
|
134
|
-
opacity: 0.7;
|
|
135
|
-
}
|
|
136
|
-
100% {
|
|
137
|
-
transform: translateX(-10px) scale(0.7);
|
|
138
|
-
opacity: 0.5;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
.animate-backIn-left {
|
|
142
|
-
animation-name: translateX(-10px);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
@keyframes animate-backOut-up {
|
|
146
|
-
0% {
|
|
147
|
-
transform: scale(1);
|
|
148
|
-
opacity: 1;
|
|
149
|
-
}
|
|
150
|
-
30% {
|
|
151
|
-
transform: translateY(-10px) scale(0.7);
|
|
152
|
-
opacity: 0.7;
|
|
153
|
-
}
|
|
154
|
-
100% {
|
|
155
|
-
transform: translateY(-10px) scale(0.7);
|
|
156
|
-
opacity: 0.5;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
.animate-backOut-up {
|
|
160
|
-
animation-name: translateY(-10px);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@keyframes animate-backOut-right {
|
|
164
|
-
0% {
|
|
165
|
-
transform: scale(1);
|
|
166
|
-
opacity: 1;
|
|
167
|
-
}
|
|
168
|
-
30% {
|
|
169
|
-
transform: translateX(+10px) scale(0.7);
|
|
170
|
-
opacity: 0.7;
|
|
171
|
-
}
|
|
172
|
-
100% {
|
|
173
|
-
transform: translateX(+10px) scale(0.7);
|
|
174
|
-
opacity: 0.5;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
.animate-backOut-right {
|
|
178
|
-
animation-name: translateX(+10px);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
@keyframes animate-backOut-bottom {
|
|
182
|
-
0% {
|
|
183
|
-
transform: scale(1);
|
|
184
|
-
opacity: 1;
|
|
185
|
-
}
|
|
186
|
-
30% {
|
|
187
|
-
transform: translateY(+10px) scale(0.7);
|
|
188
|
-
opacity: 0.7;
|
|
189
|
-
}
|
|
190
|
-
100% {
|
|
191
|
-
transform: translateY(+10px) scale(0.7);
|
|
192
|
-
opacity: 0.5;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
.animate-backOut-bottom {
|
|
196
|
-
animation-name: translateY(+10px);
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
@keyframes animate-backOut-left {
|
|
200
|
-
0% {
|
|
201
|
-
transform: scale(1);
|
|
202
|
-
opacity: 1;
|
|
203
|
-
}
|
|
204
|
-
30% {
|
|
205
|
-
transform: translateX(-10px) scale(0.7);
|
|
206
|
-
opacity: 0.7;
|
|
207
|
-
}
|
|
208
|
-
100% {
|
|
209
|
-
transform: translateX(-10px) scale(0.7);
|
|
210
|
-
opacity: 0.5;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
.animate-backOut-left {
|
|
214
|
-
animation-name: translateX(-10px);
|
|
215
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@keyframes animate-backIn-up{0%{transform:scale(1);opacity:1}30%{transform:translateY(-10px) scale(.7);opacity:.7}100%{transform:translateY(-10px) scale(.7);opacity:.5}}.animate-backIn-up{animation-name:translateY(-10px)}@keyframes animate-backIn-up-right{0%{transform:scale(1);opacity:1}30%{transform:translateY(-10px) translateX(+10px) scale(.7);opacity:.7}100%{transform:translateY(-10px) translateX(+10px) scale(.7);opacity:.5}}.animate-backIn-up-right{animation-name:translateY(-10px) translateX(+10px)}@keyframes animate-backIn-up-left{0%{transform:scale(1);opacity:1}30%{transform:translateY(-10px) translateX(-10px) scale(.7);opacity:.7}100%{transform:translateY(-10px) translateX(-10px) scale(.7);opacity:.5}}.animate-backIn-up-left{animation-name:translateY(-10px) translateX(-10px)}@keyframes animate-backIn-right{0%{transform:scale(1);opacity:1}30%{transform:translateX(+10px) scale(.7);opacity:.7}100%{transform:translateX(+10px) scale(.7);opacity:.5}}.animate-backIn-right{animation-name:translateX(+10px)}@keyframes animate-backIn-right-bottom{0%{transform:scale(1);opacity:1}30%{transform:translateX(+10px) translateY(+10px) scale(.7);opacity:.7}100%{transform:translateX(+10px) translateY(+10px) scale(.7);opacity:.5}}.animate-backIn-right-bottom{animation-name:translateX(+10px) translateY(+10px)}@keyframes animate-backIn-bottom{0%{transform:scale(1);opacity:1}30%{transform:translateY(+10px) scale(.7);opacity:.7}100%{transform:translateY(+10px) scale(.7);opacity:.5}}.animate-backIn-bottom{animation-name:translateY(+10px)}@keyframes animate-backIn-bottom-left{0%{transform:scale(1);opacity:1}30%{transform:translateY(+10px) translateX(-10px) scale(.7);opacity:.7}100%{transform:translateY(+10px) translateX(-10px) scale(.7);opacity:.5}}.animate-backIn-bottom-left{animation-name:translateY(+10px) translateX(-10px)}@keyframes animate-backIn-left{0%{transform:scale(1);opacity:1}30%{transform:translateX(-10px) scale(.7);opacity:.7}100%{transform:translateX(-10px) scale(.7);opacity:.5}}.animate-backIn-left{animation-name:translateX(-10px)}@keyframes animate-backOut-up{0%{transform:scale(1);opacity:1}30%{transform:translateY(-10px) scale(.7);opacity:.7}100%{transform:translateY(-10px) scale(.7);opacity:.5}}.animate-backOut-up{animation-name:translateY(-10px)}@keyframes animate-backOut-right{0%{transform:scale(1);opacity:1}30%{transform:translateX(+10px) scale(.7);opacity:.7}100%{transform:translateX(+10px) scale(.7);opacity:.5}}.animate-backOut-right{animation-name:translateX(+10px)}@keyframes animate-backOut-bottom{0%{transform:scale(1);opacity:1}30%{transform:translateY(+10px) scale(.7);opacity:.7}100%{transform:translateY(+10px) scale(.7);opacity:.5}}.animate-backOut-bottom{animation-name:translateY(+10px)}@keyframes animate-backOut-left{0%{transform:scale(1);opacity:1}30%{transform:translateX(-10px) scale(.7);opacity:.7}100%{transform:translateX(-10px) scale(.7);opacity:.5}}.animate-backOut-left{animation-name:translateX(-10px)}
|