Chatwoot/app/javascript/dashboard/assets/scss/widgets/_buttons.scss
Pranav Raj S b9be43b276
fix: Add compact type, fix spacing in contact panel (#1352)
* fix: Add compact type, fix spacing in contact panel

* Set padding-top, padding-bottom
2020-10-21 15:18:36 +05:30

52 lines
728 B
SCSS

.button {
margin-bottom: 0;
&.icon {
padding-left: $space-normal;
padding-right: $space-normal;
i {
padding-right: $space-small;
}
}
&.nice {
border-radius: $space-smaller;
}
&.hollow {
&.link {
border-color: transparent;
padding-left: 0;
&:hover,
&:focus {
border-color: transparent;
}
}
}
>.icon {
font-size: $font-size-default;
}
&.tiny {
font-size: $font-size-mini;
padding: $space-small $space-slab;
}
&.round {
border-radius: $space-larger;
}
&.compact {
padding-bottom: 0;
padding-top: 0;
}
}
.button--fixed-right-top {
position: fixed;
right: $space-small;
top: $space-small;
}