actuel-inactuel/assets/css/src/_footer.scss

90 lines
1.7 KiB
SCSS
Raw Normal View History

2024-01-26 11:03:42 +01:00
#main-footer {
2024-11-26 13:21:42 +01:00
position: fixed;
bottom: 0;
2024-04-15 09:16:27 +02:00
box-sizing: border-box;
2024-12-02 16:39:38 +01:00
border-bottom: 0;
z-index: 2;
2024-12-02 16:39:38 +01:00
}
2024-04-15 09:16:27 +02:00
[data-template="home"] #main-footer {
2024-03-09 11:27:10 +01:00
position: fixed;
2024-01-26 11:03:42 +01:00
left: 0;
bottom: 0;
2024-04-15 09:16:27 +02:00
}
#main-footer li:not(.footer-btn-wrapper) {
2024-12-02 16:39:38 +01:00
display: none;
2024-01-26 11:03:42 +01:00
}
2026-02-20 17:14:40 +01:00
#main-footer li {
flex: 1;
}
2026-02-20 17:14:40 +01:00
#main-footer li > * {
width: calc(100% - var(--unit--vertical) * 2);
}
#main-footer button.plus {
transform: translateY(-2px);
}
2024-03-10 19:24:24 +01:00
[data-template="home"] .title-wrapper button.plus[data-open-panel] {
2025-02-21 12:43:48 +01:00
display: inline-block !important;
}
@media screen and (max-width: 640px) {
#main-footer .footer-btn-wrapper button {
display: flex;
justify-content: center;
outline: none;
font-size: var(--font-size-m);
background-color: var(--color-background);
color: var(--color-primary);
line-height: 1;
padding: calc(var(--unit--vertical) / 2) var(--unit--horizontal);
}
2026-03-28 16:32:27 +01:00
#main-footer ul {
bottom: 0;
display: flex;
justify-content: space-around;
border-top: 1px solid var(--color-primary);
background-color: var(--color-background);
}
}
2024-03-10 19:24:24 +01:00
@media screen and (min-width: 640px) {
2024-12-02 16:39:38 +01:00
#main-footer li {
display: block !important;
}
2024-03-10 19:24:24 +01:00
#main-footer {
2024-11-26 13:21:42 +01:00
position: fixed;
left: 0;
bottom: 0;
width: var(--body-padding);
2024-12-01 13:57:24 +01:00
background-color: transparent;
padding: var(--unit--vertical) var(--unit--horizontal);
2024-11-26 13:21:42 +01:00
}
#main-footer ul {
display: block;
2024-03-10 19:24:24 +01:00
}
2025-02-21 12:30:54 +01:00
#main-footer button.plus {
2024-12-01 13:57:24 +01:00
margin-bottom: var(--unit--vertical);
}
2025-02-18 17:11:09 +01:00
[data-template="home"] #main-footer .footer-btn-wrapper {
2025-02-18 17:11:09 +01:00
display: none !important;
}
.footer-btn-wrapper {
2025-02-18 17:11:09 +01:00
padding: 0;
border: none;
background-color: transparent;
}
2026-03-28 16:32:27 +01:00
.side-panel-button-wrapper {
position: fixed;
top: calc(var(--unit--vertical) * 7);
}
2024-03-10 19:24:24 +01:00
}