1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-25 14:34:19 +00:00
pds-2021-g2-nest/nest_frontend/components/base/ButtonSidebar.module.css

54 lines
884 B
CSS
Raw Normal View History

.ButtonLink {
text-decoration: none;
}
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);
display: flex;
flex-direction: row;
2021-04-21 14:04:00 +00:00
gap: 20px;
font-size: large;
2021-04-21 13:53:23 +00:00
/* 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);
}
2021-04-22 16:26:45 +00:00
.ButtonLink:focus-visible .ButtonSidebar {
2021-04-22 16:29:36 +00:00
outline: 4px solid var(--outline);
2021-04-22 16:26:45 +00:00
}
2021-04-21 13:53:23 +00:00
.ButtonIcon {
font-size: x-large;
line-height: 0;
2021-04-21 14:04:00 +00:00
/* Hackerino per centrare le icone */
position: relative;
top: 2px;
2021-04-21 13:53:23 +00:00
}
.ButtonText {
2021-04-21 14:04:00 +00:00
}