merge fixes from Cristoph, working filter, calendar view

This commit is contained in:
rra
2022-09-28 14:11:14 +02:00
parent ce945e77db
commit 0e2f6a71a1
19 changed files with 414 additions and 193 deletions

View File

@ -189,14 +189,14 @@ a {
background: #009d9b;
padding: 5px 30px;
color: #fff;
font-weight: 900;
font-weight: 900;
position: absolute;
right: 1.5rem;
right: 1.5rem;
}
.menu-row {
margin: 0 auto;
max-width: fit-content;
max-width: 80%;
width: 100%;
display: flex;
justify-content: center;
@ -204,6 +204,7 @@ a {
position: sticky;
top: 15px;
z-index: 99;
max-width: fit-content;
}
.menu-row .menu .filter-link {
@ -332,6 +333,7 @@ a {
align-items: center;
border: 2px solid #333;
padding: 0 1.5rem;
background: #fff;
}
.login a {
@ -791,7 +793,7 @@ div.pen-source {
/* gallery cards */
.card.social.lumbunggallery {
.card.social.lumbunggallery, .card.social.lumbunggallery .post-footer a {
border-color: var(--gallery-dark);
background-color: var(--gallery-light);
color: var(--gallery-dark);
@ -1096,6 +1098,8 @@ li.page-item:after {
z-index: -100;
}
/* Landingpage */
.welcome-text {
text-align: center;
@ -1115,6 +1119,7 @@ li.page-item:after {
text-align: center;
padding: 3.5%;
}
.app-column a {
text-decoration: none;
}
@ -1137,6 +1142,7 @@ li.page-item:after {
margin-bottom: 0.2em;
color: #333;
}
.app-description {
font-size: 14px;
display: block;
@ -1144,6 +1150,7 @@ li.page-item:after {
margin-right: auto;
}
/* FILTER */
.filter-item, .card, .video-box {
@ -1151,7 +1158,7 @@ li.page-item:after {
}
.show-item {
display: flex !important;
display: block !important;
}
.filter-container {
@ -1159,13 +1166,14 @@ li.page-item:after {
background: #fff;
padding: 1.5rem;
border: 2px solid #333;
position: absolute;
border-top: 0;
position: absolute;
left: 0;
z-index: 99;
width: 100%;
justify-content: space-between;
}
.filter-information {
width: 15%;
}
@ -1174,7 +1182,7 @@ li.page-item:after {
align-items: center;
display: flex;
width: calc(85% - 30px);
}
}
.filter-buttons-container-header {
display: flex;
@ -1194,6 +1202,7 @@ li.page-item:after {
.filter-link:hover + .filter-container {
display: flex;
}
.filter-container:hover {
display: flex;
}
@ -1201,7 +1210,7 @@ li.page-item:after {
.filter-buttons-dropdown {
position: absolute;
top: 41px;
width: calc(100% 2px);
width: calc(100% + 2px);
left: -1px;
background: #fff;
max-height: 35vh;
@ -1213,9 +1222,18 @@ li.page-item:after {
display: none;
}
.post.tv {
margin: auto;
}
@media all and (min-width: 980px) {
.filter-buttons:hover .filter-buttons-dropdown {
display: block;
display: block;
}
.filter-buttons:hover {
display: block;
}
}
.filter-buttons {
@ -1247,8 +1265,7 @@ li.page-item:after {
border-color: #333333 transparent transparent transparent;
position: absolute;
right: 0.5rem;
}
}
.filter-buttons button {
display: flex;
@ -1268,7 +1285,7 @@ li.page-item:after {
border-bottom: 1px solid;
}
.filter-buttons .filter-button{
.filter-buttons .filter-button {
padding: 0.6rem 0.6rem 0.6rem 1.6rem;
}
@ -1298,15 +1315,15 @@ li.page-item:after {
.filter-buttons-dropdown button:last-child {
border-bottom: 0;
}
}
.filter-buttons .filter-button.active {
background: #c2c2ff;
}
.disable-button {
.disable-button {
display: none !important;
}
}
.page-nav {
display: flex;
@ -1335,6 +1352,7 @@ li.page-item:after {
left: 0;
}
/* ### Timeline ### */
/* Timeline Tags */
@ -1486,11 +1504,6 @@ a.timeline-url {
text-decoration: underline;
}
.menu-row {
font-size: 1.78vw;
}
.link-svg {
height: 1.2vw;
width: 1.2vw;
@ -1668,6 +1681,119 @@ a.timeline-url {
}
/* EVENT LIST */
.event-list {
border: 2px solid var(--calendar-dark);
background-color: var(--calendar-light);
color: var(--calendar-dark);
margin: 1rem 0 4rem;
}
.event-list .tape-label span {
background-color: var(--calendar-dark);
}
.event-list-item {
border-top: 1px solid;
display: flex;
flex-wrap: wrap;
}
.event-list-item-head {
display: flex;
}
.event-list-item a {
color: var(--calendar-dark);
}
.event-list-item .date-start, .event-list-item .title, .event-list-item .time, .event-list-item .duration, .event-list-item .location {
display: flex;
align-items: center;
border-right: 1px solid var(--calendar-dark);
padding: 0.8rem 0;
overflow: hidden;
}
.event-list-item .date-start {
font-size: 1.2rem;
width: 110px;
padding-left: 0.4rem;
border-right: 0;
}
.event-list-item .title {
width: calc(45% - 110px);
padding-left: 0.4rem;
}
.event-list-item .p-name {
margin: 0;
font-size: 1.2rem;
padding: 0;
display: block;
width: 100%;
}
.event-list-item .p-name a {
color: var(--calendar-dark);
text-decoration: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: calc(100% - 20px);
display: block;
}
.event-list-item .time {
width: 20%;
}
.event-list-item .time .start-scroller {
border-bottom: 0px;
}
.event-list-item .duration {
width: 12.5%;
font-size: 0.8rem;
padding: 0.8rem 0.4rem;
}
.event-list-item .duration b {
margin-left: 3px;
}
.event-list-item .location {
min-width: unset;
width: 15%;
font-size: 0.8rem;
padding: 0.8rem 0.4rem;
}
.event-list-item .button {
width: 7.5%;
}
.event-list-item .calendar {
width: 7.5%;
display: flex;
align-items: center;
padding: 0.8rem 0.4rem;
cursor: pointer;
}
.event-list-item .description {
display: none;
border-top: 1px solid;
font-size: 1.2rem;
}
input:checked + label + .description {
display: block;
transition: ease .5s;
}
/* Page footer */
#footer {
@ -1827,6 +1953,10 @@ a.timeline-url {
font-size: 1.8vw;
vertical-align: top;
}
.menu-row {
font-size: 1.78vw;
}
}
@ -1841,14 +1971,12 @@ a.timeline-url {
width: 100%;
}
.menu,
#login {
.logo {
max-height: 50px;
}
/* menu styles */
.menu-row, #top-menu {
position: fixed !important;
z-index: 97;
@ -1891,7 +2019,7 @@ a.timeline-url {
left: 20px;
top: clamp(25px, 7vw, 35px);
}
.menu ul.submenu {
margin-left: 0;
margin-top: 4px;
@ -1941,6 +2069,7 @@ a.timeline-url {
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
.menu-button.active .menu-button--line:nth-child(1) {
-webkit-transform: translateY(8px);
-ms-transform: translateY(8px);
@ -1964,6 +2093,13 @@ a.timeline-url {
-o-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.filter {
position: fixed;
right: 20px;
top: clamp(25px, 7vw, 35px);
}
.filter-container {
flex-wrap: wrap;
border-top: 2px solid #333;
@ -1982,14 +2118,16 @@ a.timeline-url {
width: 100%;
margin-bottom: 15px;
}
.filter-buttons-container {
display: block;
width: 100%;
}
}
.filter-buttons-container.open {
display: block !important;
}
.filter-buttons-dropdown {
z-index: 99;
}
@ -2020,7 +2158,7 @@ a.timeline-url {
.filter-icon path {
fill: #333;
}
}
.filter-buttons-dropdown.active {
display: block;
@ -2030,7 +2168,6 @@ a.timeline-url {
transform: rotate(180deg);
}
#top-menu div.mobile-menu {
display: flex;
justify-content: space-between;
@ -2135,6 +2272,38 @@ a.timeline-url {
.f-main .logo {
max-width: unset;
}
/* EVENT LIST */
.event-list .event-list-item:nth-child(2n) {
background: #c8efff;
}
.event-list-item .date-start {
border-bottom: 1px solid;
}
.event-list-item .title {
width: calc(100% - 110px);
border-bottom: 1px solid;
border-right: 0;
}
.event-list-item .time {
width: 100%;
border-bottom: 1px solid;
border-right: 0;
padding: 0;
}
.event-list-item .duration, .event-list-item .location {
width: 42%;
}
.event-list-item .calendar {
width: 16%;
}
}
/* mobile styles */
@ -2143,7 +2312,7 @@ a.timeline-url {
/* card styles */
.card,
.card.shout {
.card.network {
max-width: 83vw;
}