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

33 lines
607 B
SCSS
Raw Normal View History

2022-11-27 02:17:33 +01:00
.ps-button {
font-size: 1rem;
2022-11-28 15:28:56 +01:00
padding: 0.5em 1em;
line-height: 1.2em;
border: 0.125em solid var(--foreground);
border-radius: 1.5em;
2022-11-27 04:51:25 +01:00
background-color: var(--background-darker-2);
2022-11-27 02:17:33 +01:00
cursor: pointer;
&:hover,
&:focus {
border-color: var(--accent);
}
2022-11-27 04:13:27 +01:00
&_primary {
2022-11-28 15:28:56 +01:00
border: 0.25em solid var(--foreground);
2022-11-27 04:13:27 +01:00
background-color: var(--background);
color: var(--foreground);
font-weight: bold;
&:focus,
&:hover {
background-color: var(--foreground);
color: var(--background);
}
}
2022-11-28 15:28:56 +01:00
&_small {
font-size: 0.8rem;
padding: 0.25em 0.7em;
}
2022-11-27 02:17:33 +01:00
}