Retrospring/app/javascript/styles/components/_mobile-nav.scss

48 lines
1008 B
SCSS
Raw Normal View History

2021-08-05 15:36:02 -07:00
#rs-mobile-nav {
.container {
padding: 0;
}
padding: 4px 0 unquote('calc(env(safe-area-inset-bottom) + 4px)') 0;
2021-08-05 15:36:02 -07:00
2021-08-07 10:18:01 -07:00
.navbar-icon-row {
2021-08-05 15:36:02 -07:00
flex-direction: row;
justify-content: space-around;
2021-08-05 15:36:02 -07:00
width: 100%;
2021-08-06 14:19:50 -07:00
.nav-link {
padding: 0;
.fa {
padding-top: 8px;
font-size: 20px;
}
2021-08-12 04:29:50 -07:00
.badge {
position: absolute;
top: 4px;
transform: translateX(16px);
2021-08-12 04:29:50 -07:00
}
2021-08-06 14:19:50 -07:00
}
2021-08-05 15:36:02 -07:00
}
2021-08-07 10:18:01 -07:00
}
#rs-mobile-nav-notifications,
#rs-mobile-nav-profile {
bottom: unquote("calc(env(safe-area-inset-bottom) + #{$navbar-height + 2px})");
position: fixed;
top: unset;
}
#rs-mobile-nav-profile {
left: unset;
right: unquote("calc(env(safe-area-inset-right) + 15px)");
}
#rs-mobile-nav-notifications {
left: unquote("calc(env(safe-area-inset-left) + 8px)");
right: unquote("calc(env(safe-area-inset-right) + 8px)");
max-width: unquote("calc(100vw - (8px + env(safe-area-inset-right)) - (8px + env(safe-area-inset-left)))");
min-width: unset;
2021-08-07 10:18:01 -07:00
}