1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-06-27 16:36:00 +00:00
wallabag/assets/scss/_sidenav.scss

86 lines
1.5 KiB
SCSS
Raw Permalink Normal View History

/* ==========================================================================
2025-02-18 22:44:02 +01:00
Sidenav
========================================================================== */
2025-02-18 22:44:02 +01:00
.sidenav {
width: 240px;
li {
padding: 0;
&.logo > a:hover {
background: initial;
}
2020-11-19 11:38:02 +01:00
2025-03-19 01:31:35 +01:00
& button > i.material-icons.theme-toggle-icon,
2020-11-19 11:38:02 +01:00
& > a > i.material-icons.theme-toggle-icon {
float: none;
margin-left: 0;
}
}
a {
2017-05-05 09:19:56 +02:00
margin: 0;
}
2025-04-10 01:29:49 +02:00
&.sidenav-fixed button,
&.sidenav-fixed a {
font-size: 13px;
line-height: 44px;
height: 44px;
}
.collapsible-header,
&.sidenav-fixed .collapsible-header {
height: 45px;
line-height: 44px;
padding: 0 20px;
}
> li.logo {
line-height: 0;
text-align: center;
}
}
2025-04-10 01:29:49 +02:00
// adapted from anchor styles from node_modules/@materializecss/materialize/sass/components/_sidenav.scss
.sidenav li button {
2025-03-19 01:31:35 +01:00
color: rgba(0 0 0 / 87%);
display: block;
font-size: 14px;
font-weight: 500;
height: 48px;
line-height: 48px;
padding: 0 (16px * 2);
width: 100%;
text-align: left;
&:hover {
background-color: rgba(0 0 0 / 5%);
}
& > i,
& > i.material-icons {
float: left;
height: 48px;
line-height: 48px;
margin: 0 (16px * 2) 0 0;
width: 24px;
color: rgba(0 0 0 / 54%);
}
}
.bold > a,
.bold > button {
font-weight: bold;
}
2023-06-06 22:53:56 +02:00
.items-number {
float: right;
}
2025-02-19 03:29:20 +01:00
.button-filters .sidenav-trigger,
.button-export .sidenav-trigger {
display: block;
}