You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

108 lines
1.7 KiB

/***************************************************************************************
* 유틸리티
****************************************************************************************/
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
&.sr-only-focusable {
&:active,
&:focus {
position: static;
width: auto;
height: auto;
overflow: visible;
clip: auto;
white-space: normal;
}
}
}
.clearfix {
&,
&:before,
&:after {
@include clear-fix();
}
}
@for $i from 1 to 100{
.W#{$i * 5} {
width: 5px * $i !important;
}
.H#{$i * 5} {
height:5px * $i !important;
}
}
@for $i from 0 to 21 {
.M#{$i * 5} {
margin:5px * $i !important;
}
.MT#{$i * 5} {
margin-top:5px * $i !important;
}
.MR#{$i*5} {
margin-right:5px * $i !important;
}
.MB#{$i * 5} {
margin-bottom:5px * $i !important;
}
.ML#{$i * 5} {
margin-left:5px * $i !important;
}
.PT#{$i * 5} {
padding-top:5px * $i !important;
}
.PR#{$i * 5} {
padding-right:5px * $i !important;
}
.PB#{$i * 5} {
padding-bottom:5px * $i !important;
}
.PL#{$i * 5} {
padding-left:5px * $i !important;
}
.P#{$i * 5} {
padding:5px * $i !important;
}
}
@for $i from 1 to 21{
.W#{$i * 5}P {
width: 5% * $i !important;
}
}
.text-left {
text-align: left !important;
}
.text-right {
text-align:right !important;;
}
.text-center {
text-align:center !important;
}
.display-flex {
@include display-flex;
&.align-center {
align-items: center;
}
&.justify-center {
justify-content: center;
}
&.dir-column {
flex-direction: column;
}
}