2019-02-03 17:23:33 +07:00
|
|
|
@import "variables";
|
|
|
|
|
|
|
|
@mixin border($direction, $width, $style, $color) {
|
|
|
|
border-#{$direction}: $width $style $color;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin border-bottom-default($color) {
|
|
|
|
border-bottom: 1px solid $color;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin searchBox {
|
|
|
|
width: 100%;
|
|
|
|
font-size: $font-size-md;
|
|
|
|
line-height: $line-height-xl;
|
|
|
|
border: none;
|
|
|
|
@include border-bottom-default($grey-light);
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
@include border-bottom-default($grey);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin ellipsis {
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin fullSize {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin container-size {
|
|
|
|
@media screen and (min-width: $break-lg) {
|
|
|
|
max-width: $break-lg;
|
2019-03-28 05:39:06 +07:00
|
|
|
width: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2019-02-03 17:23:33 +07:00
|
|
|
}
|
|
|
|
}
|