Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit 1a92a8f

Browse files
committed
Make big changes and upgrade to v2.0.0
1 parent b2b9ec4 commit 1a92a8f

File tree

17 files changed

+219
-545
lines changed

17 files changed

+219
-545
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chuckcss",
3-
"version": "1.0.3",
3+
"version": "2.0.0",
44
"description": "Responsive CSS framework based on Flexbox grids compiled with LESS and Autoprefixer",
55
"authors": {
66
"name": "Mickael SURREL <ALPIXEL>",

chuckcss/components/alerts.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
border: 1px solid transparent;
2020
margin:1.5em 0;
2121
position:relative;
22-
._border-radius(unit(@alert-br,px));
22+
border-radius:unit(@alert-br,px);
2323

2424
/* Links inside a .alert element */
2525
a {
@@ -42,7 +42,7 @@
4242
padding:1em;
4343
height:100%;
4444
background-color:transparent;
45-
._opacity(1);
45+
opacity:1;
4646

4747
i {
4848
._reset;

chuckcss/components/grids.less

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
._phone({._generatePhoneColumns;}); // Launch _generatePhoneColumns
1414

1515
.columns {
16-
._flex-display;
17-
._flex-wrap(wrap);
16+
display:flex;
17+
flex-wrap:wrap;
1818
margin:0 -@cols-gutter/2;
1919

2020
&.cc {
@@ -37,7 +37,7 @@
3737
._reset;
3838
padding:@cols-pa;
3939
margin:@cols-ma-top @cols-gutter/2 @cols-ma-bottom;
40-
._flex(1);
40+
flex:1 1 0%;
4141

4242
/* Nested columns */
4343
&.columns {
@@ -60,11 +60,11 @@
6060
}
6161

6262
&-first-t {
63-
._flex-order(-2);
63+
order:-2;
6464
}
6565

6666
&-last-t {
67-
._flex-order(2);
67+
order:2;
6868
}
6969
}
7070

@@ -86,11 +86,11 @@
8686
}
8787

8888
&-first-s {
89-
._flex-order(-3);
89+
order:-3;
9090
}
9191

9292
&-last-s {
93-
._flex-order(3);
93+
order:3;
9494
}
9595
}
9696

chuckcss/components/modals.less

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,25 @@ body.opened-modal {
3333

3434
/* Modal wrapper */
3535
.modal {
36-
._flex-display;
37-
._flex-justify(center);
38-
._flex-align-items(center);
39-
._box-shadow('none');
36+
display:flex;
37+
justify-content:center;
38+
align-items:center;
39+
box-shadow:none;
4040
z-index:-1;
4141
position:fixed;
4242
top:0px;
4343
bottom:0px;
4444
left:0px;
4545
right:0px;
46-
._opacity(0);
46+
opacity:0;
4747

4848
/* Shown modal */
4949
&.active {
50-
._opacity(1);
50+
opacity:1;
5151
z-index:99;
5252

5353
.modal-content {
54-
._opacity(1);
54+
opacity:1;
5555
._scale(1);
5656
}
5757

@@ -100,7 +100,7 @@ body.opened-modal {
100100
left:50%;
101101
z-index:98;
102102
background:none;
103-
._border-radius(100%);
103+
border-radius:100%;
104104
line-height:inherit;
105105
background-color:transparent;
106106
width:40px;
@@ -116,7 +116,7 @@ body.opened-modal {
116116
height:3px;
117117
background-color:white;
118118

119-
._border-radius(4px);
119+
border-radius:4px;
120120
position:absolute;
121121
top:19px;
122122
left:10px;
@@ -141,8 +141,8 @@ body.opened-modal {
141141
overflow-x:hidden;
142142
background-color:white;
143143
z-index:99;
144-
._border-radius(4px);
145-
._opacity(0);
144+
border-radius:4px;
145+
opacity:0;
146146
._transition;
147147
._scale(0.5);
148148

@@ -181,13 +181,13 @@ body.opened-modal {
181181
&[data-fixed-hf] {
182182
.modal-content {
183183
overflow:hidden;
184-
._flex-display;
185-
._flex-direction(column);
184+
display:flex;
185+
flex-direction:column;
186186
}
187187
.modal-footer,
188188
.modal-header,
189189
.wrap-modal-body {
190-
._flex(1 0 auto);
190+
flex:1 0 auto;
191191
}
192192
.wrap-modal-body {
193193
overflow-y: auto;

chuckcss/core/animations.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
@description : animate standart loader dots
3131
***** */
3232
@keyframes loaderDots {
33-
0%, 39%, 100% { ._opacity(0); }
34-
40% { ._opacity(1); }
33+
0%, 39%, 100% { opacity:0; }
34+
40% { opacity:1; }
3535
}

chuckcss/core/base.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ body {
1515
line-height: @text-lh;
1616
color: @text-mc;
1717
overflow-x: hidden;
18-
._box-sizing(border-box);
18+
box-sizing:border-box;
1919

2020
/* Box-sizing */
2121
*,
2222
*:before,
2323
*:after {
24-
._box-sizing(border-box);
24+
box-sizing:border-box;
2525
}
2626

2727
// Affix - Override Bootstrap CSS

chuckcss/core/flexbox.less

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)