Chatwoot/app/javascript/dashboard/assets/scss/_helper-classes.scss
Nithin David Thomas a951fb20cb
Chore: UI fixes and enhancements (#796)
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
2020-05-02 09:47:36 +05:30

59 lines
931 B
SCSS

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