Chatwoot/app/javascript/dashboard/assets/scss/_helper-classes.scss
2019-10-20 13:34:19 +05:30

58 lines
940 B
SCSS

.bg-light {
@include background-light;
}
.flex-center {
display: flex;
@include flex-align(center, middle);
}
.bottom-space-fix {
margin-bottom: auto;
}
.full-height {
@include full-height();
}
.spinner {
@include color-spinner();
position: relative;
display: inline-block;
width: $space-medium;
height: $space-medium;
padding: $zero $space-medium;
vertical-align: middle;
&.message {
padding: $space-normal;
top: 0;
left: 0;
margin: 0 auto;
margin-top: $space-slab;
background: $color-white;
border-radius: $space-large;
@include elegent-shadow;
&:before {
margin-top: -$space-slab;
margin-left: -$space-slab;
}
}
&.small {
width: $space-normal;
height: $space-normal;
&:before {
width: $space-normal;
height: $space-normal;
margin-top: -$space-small;
}
}
}
input, textarea {
border-radius: 4px !important;
}