red-ui/apps/red-ui/src/assets/styles/red-button.scss
2020-12-11 11:48:48 +02:00

89 lines
1.7 KiB
SCSS

@import 'red-variables';
.mat-button,
.mat-flat-button {
font-family: Inter, sans-serif !important;
border-radius: 17px !important;
font-size: 13px !important;
height: 34px;
display: flex !important;
align-items: center;
.mat-button-wrapper {
display: flex;
align-items: center;
line-height: 34px;
> *:not(last-child) {
margin-right: 6px;
}
}
}
.cdk-program-focused .mat-button-focus-overlay {
opacity: 0 !important;
}
.mat-flat-button.mat-primary.red-button {
padding: 0 14px;
transition: background-color 0.2s;
&:not(.mat-button-disabled):hover {
background-color: $red-2;
}
}
redaction-icon-button,
redaction-chevron-button,
redaction-circle-button {
position: relative;
display: flex;
transition: background-color 0.2s;
button {
font-weight: 400 !important;
&.overlay {
background: rgba($primary, 0.1);
}
&:not(.overlay):hover {
background-color: $grey-6;
}
&.primary {
font-weight: 500 !important;
background-color: $primary;
color: $white;
&:hover {
background-color: $red-2;
}
}
&.dark-bg:hover {
background-color: $grey-4;
}
}
.dot {
background: $primary;
height: 10px;
width: 10px;
border-radius: 50%;
position: absolute;
top: 0;
left: 0;
}
}
redaction-chevron-button,
redaction-circle-button,
redaction-icon-button {
&[aria-expanded='true'] {
button {
background: rgba($primary, 0.1);
}
}
}