@@ -11,9 +11,9 @@ export default {
1111 let styleGeneral = this .createStyleSize ();
1212
1313 if (this .xs || this .sm || this .md || this .lg || this .xl ) {
14- styleGeneral += ` --colFlexSGR :0;` ;
14+ styleGeneral += ` --colFlexVGR :0;` ;
1515 } else {
16- styleGeneral = ` --colFlexSGR :1;` ;
16+ styleGeneral = ` --colFlexVGR :1;` ;
1717 }
1818
1919 return {
@@ -51,12 +51,12 @@ export default {
5151 let newStyle = ' ' ;
5252
5353 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 )} ; ` : ' ' ;
6060
6161 return newStyle;
6262 }
@@ -69,45 +69,45 @@ export default {
6969 box-sizing : border-box ;
7070 display : flex ;
7171 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 );
7474}
7575
7676.col {
7777 position : relative ;
7878 box-sizing : border-box ;
79- flex-grow : var (--colFlexSGR );
80- padding : var (--paddingSGR );
79+ flex-grow : var (--colFlexVGR );
80+ padding : var (--paddingVGR );
8181}
8282.col-xs {
83- flex-basis : var (--xsWidthSGR );
84- max-width : var (--xsWidthSGR );
83+ flex-basis : var (--xsWidthVGR );
84+ max-width : var (--xsWidthVGR );
8585}
8686
8787@media (min-width : 576px ) {
8888 .col-sm {
89- flex-basis : var (--smWidthSGR );
90- max-width : var (--smWidthSGR );
89+ flex-basis : var (--smWidthVGR );
90+ max-width : var (--smWidthVGR );
9191 }
9292}
9393
9494@media (min-width : 768px ) {
9595 .col-md {
96- flex-basis : var (--mdWidthSGR );
97- max-width : var (--mdWidthSGR );
96+ flex-basis : var (--mdWidthVGR );
97+ max-width : var (--mdWidthVGR );
9898 }
9999}
100100
101101@media (min-width : 992px ) {
102102 .col-lg {
103- flex-basis : var (--lgWidthSGR );
104- max-width : var (--lgWidthSGR );
103+ flex-basis : var (--lgWidthVGR );
104+ max-width : var (--lgWidthVGR );
105105 }
106106}
107107
108108@media (min-width : 1200px ) {
109109 .col-xl {
110- max-width : var (--xlWidthSGR );
110+ max-width : var (--xlWidthVGR );
111111 }
112112}
113113 </style >
0 commit comments