51 lines
1.1 KiB
SCSS
Raw Normal View History

2019-04-02 19:54:29 +02:00
@mixin vertical-align($position: relative) {
position: $position;
top: 50%;
2019-05-27 17:03:03 +02:00
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
2019-04-02 19:54:29 +02:00
}
2019-04-03 15:29:46 +02:00
@mixin flexNowrap() {
2019-05-27 17:03:03 +02:00
display: -webkit-inline-box;
display: -ms-inline-flexbox;
2019-04-03 15:29:46 +02:00
display: inline-flex;
2019-05-27 17:03:03 +02:00
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
2019-04-03 15:29:46 +02:00
width: 100%;
height: $Hh;
2019-04-02 19:54:29 +02:00
}
2019-04-03 15:29:46 +02:00
@mixin inlineflex(){
2019-05-27 17:03:03 +02:00
display: -webkit-inline-box;
display: -ms-inline-flexbox;
2019-04-03 15:29:46 +02:00
display: inline-flex;
2019-05-27 17:03:03 +02:00
-ms-flex-wrap: wrap;
flex-wrap: wrap;
2019-04-02 19:54:29 +02:00
}
2019-04-03 15:29:46 +02:00
@mixin flexcenter(){
2019-05-27 17:03:03 +02:00
display: -webkit-inline-box;
display: -ms-inline-flexbox;
2019-04-03 15:29:46 +02:00
display: inline-flex;
2019-05-27 17:03:03 +02:00
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
2019-04-03 15:29:46 +02:00
}
@mixin upper(){
text-transform: uppercase;
}
2019-04-02 19:54:29 +02:00
2019-04-03 15:29:46 +02:00
@mixin flexcenter_column(){
2019-05-27 17:03:03 +02:00
display: -webkit-inline-box;
display: -ms-inline-flexbox;
2019-04-03 15:29:46 +02:00
display: inline-flex;
2019-05-27 17:03:03 +02:00
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
2019-04-02 19:54:29 +02:00
}