1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 21:14:18 +00:00
pds-2021-g2-nest/nest_frontend/components/base/Button.module.css

52 lines
939 B
CSS
Raw Normal View History

.Button {
font-family: var(--font-regular);
border-width: 0;
border-radius: 25px;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
2021-04-30 14:37:28 +00:00
padding: 5px;
margin: 0 2px;
cursor: pointer;
}
2021-05-12 02:10:36 +00:00
.Button[disabled] {
opacity: 0.5;
}
2021-04-22 16:26:45 +00:00
.Button:focus-visible {
2021-04-22 16:29:36 +00:00
outline: 4px solid var(--outline);
2021-04-22 16:26:45 +00:00
}
.ButtonGreen {
color: var(--fg-green);
background-color: var(--bg-green);
border-color: var(--bg-green);
}
.ButtonGrey {
color: var(--fg-grey);
background-color: var(--bg-grey);
border-color: var(--bg-grey);
}
.ButtonYellow {
color: var(--fg-yellow);
background-color: var(--bg-yellow);
border-color: var(--bg-yellow);
}
.ButtonRed {
color: var(--fg-red);
background-color: var(--bg-red);
border-color: var(--bg-red);
}
.Icon {
font-size: large;
/* TODO: non so quanto sia una buona idea, ma funziona accettabilmente */
line-height: 0;
vertical-align: sub;
}