54 lines
754 B
SCSS
54 lines
754 B
SCSS
.button{
|
|
border-radius: 12px;
|
|
background: var(--background);
|
|
padding: 3px 10px;
|
|
cursor: pointer;
|
|
filter: brightness(97%);
|
|
border: none;
|
|
font-size: 14px;
|
|
min-height: 27px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
|
|
&.secondary{
|
|
background: var(--secondary);
|
|
}
|
|
&.primary{
|
|
background: var(--primary);
|
|
}
|
|
|
|
&:focus {
|
|
filter: brightness(94%);
|
|
}
|
|
|
|
&:hover {
|
|
filter: brightness(94%);
|
|
}
|
|
&.active {
|
|
filter: brightness(74%);
|
|
}
|
|
|
|
&[disabled] {
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
.upload-button{
|
|
padding: 0;
|
|
border: none;
|
|
|
|
|
|
label{
|
|
font-size: 14px;
|
|
line-height: 14px;
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
|
|
.button-text{
|
|
border: none;
|
|
padding: 0;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
} |