Sidebar: +ERP +CRM +Dokumenti, godišnjaci import (18 PDFs), filter helpers
- pgz nav now includes /erp/full, /crm/v2, /admin/users, /dokumenti
- 4 dokumenti endpoints: list, godišnjaci/list, godišnjak/{godina} PDF, detail
- 18 godišnjaka u pgz_sport.dokumenti (2006-2024) with savez_id=333
- PGŽ filter helpers (window._pgz_filter_priority, togglePGZFilter)
- navItemClick handler for nav items with href
This commit is contained in:
@@ -0,0 +1,434 @@
|
||||
.events-list {
|
||||
list-style: none;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.events-list .event {
|
||||
border-bottom: 1px solid #5e5e5e;
|
||||
margin-bottom: 1rem;
|
||||
padding: 1rem 0;
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.events-list .event .date {
|
||||
padding: 1rem 3rem;
|
||||
}
|
||||
|
||||
.events-list .event .date .day,
|
||||
.events-list .event .date .month {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.events-list .event .date .day {
|
||||
font-size: 2.1875rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.events-list .event .date .month {}
|
||||
|
||||
.events-list .event .title {
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.events-list .event .description {
|
||||
margin: .5rem auto;
|
||||
padding: 0;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
|
||||
.events-list .event .images {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.events-list .event .images img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.events-list .event .event-info {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.events-grid .event {
|
||||
float: left;
|
||||
width: 31.33%;
|
||||
margin: 1% 0 1% 3%;
|
||||
border: none !important;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.events-grid .event:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.events-grid .event:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.events-grid .event .images {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
margin-bottom: 1rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.events-grid .event .images .date {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
color: #ffffff;
|
||||
background-color: red;
|
||||
padding: .8rem 1.5rem;
|
||||
}
|
||||
|
||||
.events-grid .event .date .day {
|
||||
font-size: 1.875rem;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.events-grid .event .date .month {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.events-grid .event .images img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.events-grid .event .event-content .title {
|
||||
font-size: 2rem;
|
||||
line-height: 1.3;
|
||||
margin: 0 auto 1rem;
|
||||
}
|
||||
|
||||
.events-grid .event .event-content p {
|
||||
font-size: .875rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.events-grid .event .buttons .btn-cta {
|
||||
background-color: red;
|
||||
color: #ffffff;
|
||||
font-size: 1rem;
|
||||
padding: .8rem 1.5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 700px) {
|
||||
.events-grid .event {
|
||||
width: 48.5%;
|
||||
margin: 1% 0 1% 3%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 480px) {
|
||||
.events-grid .event {
|
||||
float: none;
|
||||
width: 100%;
|
||||
margin: 0 auto 3%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**************************\
|
||||
Basic Modal Styles
|
||||
\**************************/
|
||||
|
||||
.modal__overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.modal__container {
|
||||
background-color: #fff;
|
||||
padding: 30px;
|
||||
width: 900px;
|
||||
max-width: 90%;
|
||||
max-height: 100vh;
|
||||
border-radius: 4px;
|
||||
overflow-y: auto;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.modal__header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.modal__title {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
font-weight: 600;
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.25;
|
||||
color: #000000;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.modal__close {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.modal__header .modal__close:before {
|
||||
content: "\2715";
|
||||
}
|
||||
|
||||
.modal__content {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
line-height: 1.5;
|
||||
color: rgba(0, 0, 0, .8);
|
||||
}
|
||||
|
||||
.modal__btn {
|
||||
font-size: .875rem;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
padding-top: .5rem;
|
||||
padding-bottom: .5rem;
|
||||
background-color: #e6e6e6;
|
||||
color: rgba(0, 0, 0, .8);
|
||||
border-radius: .25rem;
|
||||
border-style: none;
|
||||
border-width: 0;
|
||||
cursor: pointer;
|
||||
-webkit-appearance: button;
|
||||
text-transform: none;
|
||||
overflow: visible;
|
||||
line-height: 1.15;
|
||||
margin: 0;
|
||||
will-change: transform;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
-webkit-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
transition: -webkit-transform .25s ease-out;
|
||||
transition: transform .25s ease-out;
|
||||
transition: transform .25s ease-out, -webkit-transform .25s ease-out;
|
||||
}
|
||||
|
||||
.modal__btn:focus,
|
||||
.modal__btn:hover {
|
||||
-webkit-transform: scale(1.05);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.modal__btn-primary {
|
||||
background-color: #00449e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**************************\
|
||||
Demo Animation Style
|
||||
\**************************/
|
||||
@keyframes mmfadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes mmfadeOut {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes mmslideIn {
|
||||
from {
|
||||
transform: translateY(15%);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes mmslideOut {
|
||||
from {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translateY(-10%);
|
||||
}
|
||||
}
|
||||
|
||||
.micromodal-slide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.micromodal-slide.is-open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.micromodal-slide[aria-hidden="false"] .modal__overlay {
|
||||
animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
|
||||
}
|
||||
|
||||
.micromodal-slide[aria-hidden="false"] .modal__container {
|
||||
animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
|
||||
}
|
||||
|
||||
.micromodal-slide[aria-hidden="true"] .modal__overlay {
|
||||
animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
|
||||
}
|
||||
|
||||
.micromodal-slide[aria-hidden="true"] .modal__container {
|
||||
animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
|
||||
}
|
||||
|
||||
.micromodal-slide .modal__container,
|
||||
.micromodal-slide .modal__overlay {
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.micromodal-slide .title {
|
||||
font-size: 1.5625rem;
|
||||
color: #111111;
|
||||
border: none;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.micromodal-slide .images {
|
||||
margin: .5rem auto 1.5rem;
|
||||
width: 100%;
|
||||
height: 350px;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
-webkit-border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
-ms-border-radius: 10px;
|
||||
-o-border-radius: 10px;
|
||||
}
|
||||
|
||||
.micromodal-slide .images img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.micromodal-slide h2.title {
|
||||
font-size: 1.25rem;
|
||||
margin: 0 auto .5rem;
|
||||
}
|
||||
|
||||
.micromodal-slide h4.title {
|
||||
font-size: 1rem;
|
||||
margin: 0 auto .5rem;
|
||||
}
|
||||
|
||||
.micromodal-slide .short_description {
|
||||
font-size: 1.125rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
.micromodal-slide .long_description {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.micromodal-slide table.period {
|
||||
border: none;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
.micromodal-slide table.period td strong {
|
||||
display: block;
|
||||
font-size: .8125rem;
|
||||
}
|
||||
|
||||
.micromodal-slide table.period tr {
|
||||
border-top: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
.micromodal-slide table.period tr.noborder {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.micromodal-slide table.period td {
|
||||
border: none;
|
||||
font-size: 1rem;
|
||||
vertical-align: top;
|
||||
padding: 1rem .5rem;
|
||||
}
|
||||
|
||||
.micromodal-slide table.period tr.noborder td {
|
||||
padding: 0 .5rem 1rem;
|
||||
}
|
||||
|
||||
.micromodal-slide span.tag {
|
||||
font-size: .8125rem;
|
||||
padding: 5px 8px;
|
||||
color: #ffffff;
|
||||
border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
}
|
||||
|
||||
.micromodal-slide span.tag.canceled {
|
||||
background-color: #FF0000;
|
||||
}
|
||||
.micromodal-slide span.tag.free-entry {
|
||||
background-color: #28A745;
|
||||
}
|
||||
.micromodal-slide span.tag.limited {
|
||||
background-color: #1668B2;
|
||||
}
|
||||
|
||||
.micromodal-slide .tags {
|
||||
margin-right: 1rem;
|
||||
background-color: #f2f2f2;
|
||||
font-size: .8125rem;
|
||||
padding: 5px 8px;
|
||||
color: #111111;
|
||||
border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
}
|
||||
Reference in New Issue
Block a user