keycloak-theme/common/resources/scss/button.scss

28 lines
537 B
SCSS
Raw Normal View History

2022-11-27 01:17:33 +00:00
.ps-button {
padding: 0.5rem 1rem;
font-size: 1rem;
line-height: 1.2rem;
border: 2px solid var(--foreground);
border-radius: 1.5rem;
2022-11-27 03:51:25 +00:00
background-color: var(--background-darker-2);
2022-11-27 01:17:33 +00:00
cursor: pointer;
&:hover,
&:focus {
border-color: var(--accent);
}
2022-11-27 03:13:27 +00:00
&_primary {
border: 4px solid var(--foreground);
background-color: var(--background);
color: var(--foreground);
font-weight: bold;
&:focus,
&:hover {
background-color: var(--foreground);
color: var(--background);
}
}
2022-11-27 01:17:33 +00:00
}