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

33 lines
607 B
SCSS
Raw Normal View History

2022-11-27 01:17:33 +00:00
.ps-button {
font-size: 1rem;
2022-11-28 14:28:56 +00:00
padding: 0.5em 1em;
line-height: 1.2em;
border: 0.125em solid var(--foreground);
border-radius: 1.5em;
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 {
2022-11-28 14:28:56 +00:00
border: 0.25em solid var(--foreground);
2022-11-27 03:13:27 +00:00
background-color: var(--background);
color: var(--foreground);
font-weight: bold;
&:focus,
&:hover {
background-color: var(--foreground);
color: var(--background);
}
}
2022-11-28 14:28:56 +00:00
&_small {
font-size: 0.8rem;
padding: 0.25em 0.7em;
}
2022-11-27 01:17:33 +00:00
}