switch to using TypeScript
This commit is contained in:
parent
1d120b273a
commit
d163fd27fe
53 changed files with 2875 additions and 1614 deletions
60
src/scss/global/_flex.scss
Normal file
60
src/scss/global/_flex.scss
Normal file
|
@ -0,0 +1,60 @@
|
|||
/* ----------------------------------------- */
|
||||
/* Flexbox */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
.flexrow {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
|
||||
> * {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.flex1 {
|
||||
flex: 1;
|
||||
}
|
||||
.flex2 {
|
||||
flex: 2;
|
||||
}
|
||||
.flex3 {
|
||||
flex: 3;
|
||||
}
|
||||
.flex4 {
|
||||
flex: 4;
|
||||
}
|
||||
}
|
||||
|
||||
.flexcol {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
|
||||
> * {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.flex1 {
|
||||
flex: 1;
|
||||
}
|
||||
.flex2 {
|
||||
flex: 2;
|
||||
}
|
||||
.flex3 {
|
||||
flex: 3;
|
||||
}
|
||||
.flex4 {
|
||||
flex: 4;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-center {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.flex-between {
|
||||
justify-content: space-between;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue