@@ -11,9 +11,9 @@ export default {
11
11
let styleGeneral = this .createStyleSize ();
12
12
13
13
if (this .xs || this .sm || this .md || this .lg || this .xl ) {
14
- styleGeneral += ` --colFlexSGR :0;` ;
14
+ styleGeneral += ` --colFlexVGR :0;` ;
15
15
} else {
16
- styleGeneral = ` --colFlexSGR :1;` ;
16
+ styleGeneral = ` --colFlexVGR :1;` ;
17
17
}
18
18
19
19
return {
@@ -51,12 +51,12 @@ export default {
51
51
let newStyle = ' ' ;
52
52
53
53
newStyle += this .xs
54
- ? ` --xsWidthSGR :${ this .getValue (this .xs )} ; `
55
- : ` --xsWidthSGR :100%; ` ;
56
- newStyle += this .sm ? ` --smWidthSGR :${ this .getValue (this .sm )} ; ` : ' ' ;
57
- newStyle += this .md ? ` --mdWidthSGR :${ this .getValue (this .md )} ; ` : ' ' ;
58
- newStyle += this .lg ? ` --lgWidthSGR :${ this .getValue (this .lg )} ; ` : ' ' ;
59
- newStyle += this .xl ? ` --xlWidthSGR :${ this .getValue (this .xl )} ; ` : ' ' ;
54
+ ? ` --xsWidthVGR :${ this .getValue (this .xs )} ; `
55
+ : ` --xsWidthVGR :100%; ` ;
56
+ newStyle += this .sm ? ` --smWidthVGR :${ this .getValue (this .sm )} ; ` : ' ' ;
57
+ newStyle += this .md ? ` --mdWidthVGR :${ this .getValue (this .md )} ; ` : ' ' ;
58
+ newStyle += this .lg ? ` --lgWidthVGR :${ this .getValue (this .lg )} ; ` : ' ' ;
59
+ newStyle += this .xl ? ` --xlWidthVGR :${ this .getValue (this .xl )} ; ` : ' ' ;
60
60
61
61
return newStyle;
62
62
}
@@ -69,45 +69,45 @@ export default {
69
69
box-sizing : border-box ;
70
70
display : flex ;
71
71
flex-wrap : wrap ;
72
- width : calc (100% + (var (--paddingSGR ) * 2 ));
73
- margin : var (--marginSGR );
72
+ width : calc (100% + (var (--paddingVGR ) * 2 ));
73
+ margin : var (--marginVGR );
74
74
}
75
75
76
76
.col {
77
77
position : relative ;
78
78
box-sizing : border-box ;
79
- flex-grow : var (--colFlexSGR );
80
- padding : var (--paddingSGR );
79
+ flex-grow : var (--colFlexVGR );
80
+ padding : var (--paddingVGR );
81
81
}
82
82
.col-xs {
83
- flex-basis : var (--xsWidthSGR );
84
- max-width : var (--xsWidthSGR );
83
+ flex-basis : var (--xsWidthVGR );
84
+ max-width : var (--xsWidthVGR );
85
85
}
86
86
87
87
@media (min-width : 576px ) {
88
88
.col-sm {
89
- flex-basis : var (--smWidthSGR );
90
- max-width : var (--smWidthSGR );
89
+ flex-basis : var (--smWidthVGR );
90
+ max-width : var (--smWidthVGR );
91
91
}
92
92
}
93
93
94
94
@media (min-width : 768px ) {
95
95
.col-md {
96
- flex-basis : var (--mdWidthSGR );
97
- max-width : var (--mdWidthSGR );
96
+ flex-basis : var (--mdWidthVGR );
97
+ max-width : var (--mdWidthVGR );
98
98
}
99
99
}
100
100
101
101
@media (min-width : 992px ) {
102
102
.col-lg {
103
- flex-basis : var (--lgWidthSGR );
104
- max-width : var (--lgWidthSGR );
103
+ flex-basis : var (--lgWidthVGR );
104
+ max-width : var (--lgWidthVGR );
105
105
}
106
106
}
107
107
108
108
@media (min-width : 1200px ) {
109
109
.col-xl {
110
- max-width : var (--xlWidthSGR );
110
+ max-width : var (--xlWidthVGR );
111
111
}
112
112
}
113
113
</style >
0 commit comments