1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-26 15:04:18 +00:00
pds-2021-g2-nest/code/frontend/src/components/ButtonSidebar.module.css

42 lines
798 B
CSS
Raw Normal View History

2021-04-21 13:53:23 +00:00
.ButtonSidebar {
font-family: var(--font-title);
border-width: 0;
border-radius: 0 25px 25px 0;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
padding: 10px;
margin: 0;
cursor: pointer;
background-color: var(--bg-button-off);
color: var(--fg-button-off);
font-size: large;
display: flex;
flex-direction: row;
gap: 10px;
/* Hackerino per ignorare il padding */
width: calc(100% + 10px);
position: relative;
left: -10px;
}
.ButtonSidebar.Active {
background-color: var(--bg-button-on);
color: var(--fg-button-on);
}
.ButtonIcon {
font-size: x-large;
/* TODO: non so quanto sia una buona idea, ma funziona accettabilmente */
line-height: 0;
vertical-align: sub;
}
.ButtonText {
text-align: center;
}