Chatwoot/app/javascript/dashboard/assets/scss/widgets/_buttons.scss
Nithin David Thomas 58fad2561d
chore: Standardize button element (#1633)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-01-18 00:54:20 +05:30

67 lines
1 KiB
SCSS

.button {
margin-bottom: 0;
&.button--emoji {
background: var(--b-50);
border: 1px solid var(--color-border-light);
border-radius: var(--border-radius-large);
font-size: var(--font-size-small);
margin-right: var(--space-small);
padding: var(--space-small);
&:hover {
background: var(--b-200);
}
}
&.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;
}