Add slug support and new admin features

This commit is contained in:
Tomas Dvorak
2026-03-14 10:40:04 +01:00
parent 4773e4cab1
commit 21574a8b30
31 changed files with 37490 additions and 36033 deletions
+31231 -31231
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
File diff suppressed because one or more lines are too long
+162 -162
View File
@@ -1,163 +1,163 @@
.lt-custom-popup {
position: fixed;
right: 8px;
top: 50%;
z-index: 1000;
display: none;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
text-align: center;
border-radius: 64px;
box-shadow: 0 0 25px rgba(0,0,0,.08);
padding: 20px 10px 20px 10px;
background-color: #fff;
}
.lt-custom-popup img {
margin-bottom: 12px;
}
.lt-custom-popup .close {
font-size: 14px;
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
font-size: 20px;
color: #CE4F4D;
z-index: 20;
text-align: center;
line-height: 20px;
width: 20px;
height: 20px;
display: block;
opacity: 1;
background-color: #EEEEEE;
transition: all 0.5s ease;
}
.lt-custom-popup.closed {
padding: 15px 8px 6px 10px;
right: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
transition: all 0.25s ease;
}
.lt-custom-popup.closed:hover {
padding-right: 14px;
}
.ltx-font-selector:hover {
cursor: pointer;
}
.lt-custom-popup.closed img:hover {
cursor: pointer;
}
.lt-custom-popup.closed .close {
display: none;
}
.lt-custom-popup.closed div {
display: none;
}
.lt-custom-popup.closed .img {
display: block;
overflow: hidden;
height: 35px;
width: 35px;
text-align: center;
}
.lt-custom-popup.closed .img img {
margin: 0;
}
.lt-custom-popup .close:hover {
opacity: 1;
color: #000;
}
@media (max-width: 991px) {
.lt-custom-popup {
display: none !important;
}
}
.ltx-font-selector div,
.ltx-color-selector div {
border-radius: 50%;
width: 35px;
height: 35px;
border: 4px solid #fff;
display: block;
margin: 4px auto 0;
box-shadow: 0 0 5px rgba(0,0,0,.1);
cursor: pointer;
transition: all 0.5s ease;
}
.ltx-font-selector div:hover,
.ltx-color-selector div:hover {
box-shadow: 0 0 5px rgba(0,0,0,.2);
}
.lt-custom-field {
padding: 0;
border: 0;
width: 20px;
height: 20px;
border-radius: 50%;
margin-bottom: 14px;
margin-left: auto;
margin-right: auto;
cursor: pointer;
display: block;
}
/* FACR upcoming mobile visibility overrides */
@media (max-width: 767px) {
/* Show the Zápasy (x/y) header on phones */
.lte-football-upcoming .lte-header-upcoming {
display: inline-block !important;
font-size: 18px;
line-height: 1.2;
padding: 2px 8px;
}
/* Ensure countdown line is visible and centered */
#facr-countdown.lte-football-date {
display: block !important;
text-align: center !important;
}
.lt-custom-popup {
position: fixed;
right: 8px;
top: 50%;
z-index: 1000;
display: none;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
text-align: center;
border-radius: 64px;
box-shadow: 0 0 25px rgba(0,0,0,.08);
padding: 20px 10px 20px 10px;
background-color: #fff;
}
.lt-custom-popup img {
margin-bottom: 12px;
}
.lt-custom-popup .close {
font-size: 14px;
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
font-size: 20px;
color: #CE4F4D;
z-index: 20;
text-align: center;
line-height: 20px;
width: 20px;
height: 20px;
display: block;
opacity: 1;
background-color: #EEEEEE;
transition: all 0.5s ease;
}
.lt-custom-popup.closed {
padding: 15px 8px 6px 10px;
right: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
transition: all 0.25s ease;
}
.lt-custom-popup.closed:hover {
padding-right: 14px;
}
.ltx-font-selector:hover {
cursor: pointer;
}
.lt-custom-popup.closed img:hover {
cursor: pointer;
}
.lt-custom-popup.closed .close {
display: none;
}
.lt-custom-popup.closed div {
display: none;
}
.lt-custom-popup.closed .img {
display: block;
overflow: hidden;
height: 35px;
width: 35px;
text-align: center;
}
.lt-custom-popup.closed .img img {
margin: 0;
}
.lt-custom-popup .close:hover {
opacity: 1;
color: #000;
}
@media (max-width: 991px) {
.lt-custom-popup {
display: none !important;
}
}
.ltx-font-selector div,
.ltx-color-selector div {
border-radius: 50%;
width: 35px;
height: 35px;
border: 4px solid #fff;
display: block;
margin: 4px auto 0;
box-shadow: 0 0 5px rgba(0,0,0,.1);
cursor: pointer;
transition: all 0.5s ease;
}
.ltx-font-selector div:hover,
.ltx-color-selector div:hover {
box-shadow: 0 0 5px rgba(0,0,0,.2);
}
.lt-custom-field {
padding: 0;
border: 0;
width: 20px;
height: 20px;
border-radius: 50%;
margin-bottom: 14px;
margin-left: auto;
margin-right: auto;
cursor: pointer;
display: block;
}
/* FACR upcoming mobile visibility overrides */
@media (max-width: 767px) {
/* Show the Zápasy (x/y) header on phones */
.lte-football-upcoming .lte-header-upcoming {
display: inline-block !important;
font-size: 18px;
line-height: 1.2;
padding: 2px 8px;
}
/* Ensure countdown line is visible and centered */
#facr-countdown.lte-football-date {
display: block !important;
text-align: center !important;
}
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+145 -145
View File
@@ -1,146 +1,146 @@
.lt-custom-popup {
position: fixed;
right: 8px;
top: 50%;
z-index: 1000;
display: none;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
text-align: center;
border-radius: 64px;
box-shadow: 0 0 25px rgba(0,0,0,.08);
padding: 20px 10px 20px 10px;
background-color: #fff;
}
.lt-custom-popup img {
margin-bottom: 12px;
}
.lt-custom-popup .close {
font-size: 14px;
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
font-size: 20px;
color: #CE4F4D;
z-index: 20;
text-align: center;
line-height: 20px;
width: 20px;
height: 20px;
display: block;
opacity: 1;
background-color: #EEEEEE;
transition: all 0.5s ease;
}
.lt-custom-popup.closed {
padding: 15px 8px 6px 10px;
right: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
transition: all 0.25s ease;
}
.lt-custom-popup.closed:hover {
padding-right: 14px;
}
.ltx-font-selector:hover {
cursor: pointer;
}
.lt-custom-popup.closed img:hover {
cursor: pointer;
}
.lt-custom-popup.closed .close {
display: none;
}
.lt-custom-popup.closed div {
display: none;
}
.lt-custom-popup.closed .img {
display: block;
overflow: hidden;
height: 35px;
width: 35px;
text-align: center;
}
.lt-custom-popup.closed .img img {
margin: 0;
}
.lt-custom-popup .close:hover {
opacity: 1;
color: #000;
}
@media (max-width: 991px) {
.lt-custom-popup {
display: none !important;
}
}
.ltx-font-selector div,
.ltx-color-selector div {
border-radius: 50%;
width: 35px;
height: 35px;
border: 4px solid #fff;
display: block;
margin: 4px auto 0;
box-shadow: 0 0 5px rgba(0,0,0,.1);
cursor: pointer;
transition: all 0.5s ease;
}
.ltx-font-selector div:hover,
.ltx-color-selector div:hover {
box-shadow: 0 0 5px rgba(0,0,0,.2);
}
.lt-custom-field {
padding: 0;
border: 0;
width: 20px;
height: 20px;
border-radius: 50%;
margin-bottom: 14px;
margin-left: auto;
margin-right: auto;
cursor: pointer;
display: block;
.lt-custom-popup {
position: fixed;
right: 8px;
top: 50%;
z-index: 1000;
display: none;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
text-align: center;
border-radius: 64px;
box-shadow: 0 0 25px rgba(0,0,0,.08);
padding: 20px 10px 20px 10px;
background-color: #fff;
}
.lt-custom-popup img {
margin-bottom: 12px;
}
.lt-custom-popup .close {
font-size: 14px;
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
font-size: 20px;
color: #CE4F4D;
z-index: 20;
text-align: center;
line-height: 20px;
width: 20px;
height: 20px;
display: block;
opacity: 1;
background-color: #EEEEEE;
transition: all 0.5s ease;
}
.lt-custom-popup.closed {
padding: 15px 8px 6px 10px;
right: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
transition: all 0.25s ease;
}
.lt-custom-popup.closed:hover {
padding-right: 14px;
}
.ltx-font-selector:hover {
cursor: pointer;
}
.lt-custom-popup.closed img:hover {
cursor: pointer;
}
.lt-custom-popup.closed .close {
display: none;
}
.lt-custom-popup.closed div {
display: none;
}
.lt-custom-popup.closed .img {
display: block;
overflow: hidden;
height: 35px;
width: 35px;
text-align: center;
}
.lt-custom-popup.closed .img img {
margin: 0;
}
.lt-custom-popup .close:hover {
opacity: 1;
color: #000;
}
@media (max-width: 991px) {
.lt-custom-popup {
display: none !important;
}
}
.ltx-font-selector div,
.ltx-color-selector div {
border-radius: 50%;
width: 35px;
height: 35px;
border: 4px solid #fff;
display: block;
margin: 4px auto 0;
box-shadow: 0 0 5px rgba(0,0,0,.1);
cursor: pointer;
transition: all 0.5s ease;
}
.ltx-font-selector div:hover,
.ltx-color-selector div:hover {
box-shadow: 0 0 5px rgba(0,0,0,.2);
}
.lt-custom-field {
padding: 0;
border: 0;
width: 20px;
height: 20px;
border-radius: 50%;
margin-bottom: 14px;
margin-left: auto;
margin-right: auto;
cursor: pointer;
display: block;
}
+171 -171
View File
@@ -1,172 +1,172 @@
.wpcf7 .screen-reader-response {
position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
word-wrap: normal !important;
}
.wpcf7 form .wpcf7-response-output {
margin: 2em 0.5em 1em;
padding: 0.2em 1em;
border: 2px solid #00a0d2; /* Blue */
}
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
border-color: #46b450; /* Green */
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
border-color: #dc3232; /* Red */
}
.wpcf7 form.spam .wpcf7-response-output {
border-color: #f56e28; /* Orange */
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
border-color: #ffb900; /* Yellow */
}
.wpcf7-form-control-wrap {
position: relative;
}
.wpcf7-not-valid-tip {
color: #dc3232; /* Red */
font-size: 1em;
font-weight: normal;
display: block;
}
.use-floating-validation-tip .wpcf7-not-valid-tip {
position: relative;
top: -2ex;
left: 1em;
z-index: 100;
border: 1px solid #dc3232;
background: #fff;
padding: .2em .8em;
width: 24em;
}
.wpcf7-list-item {
display: inline-block;
margin: 0 0 0 1em;
}
.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
content: " ";
}
.wpcf7-spinner {
visibility: hidden;
display: inline-block;
background-color: #23282d; /* Dark Gray 800 */
opacity: 0.75;
width: 24px;
height: 24px;
border: none;
border-radius: 100%;
padding: 0;
margin: 0 24px;
position: relative;
}
form.submitting .wpcf7-spinner {
visibility: visible;
}
.wpcf7-spinner::before {
content: '';
position: absolute;
background-color: #fbfbfc; /* Light Gray 100 */
top: 4px;
left: 4px;
width: 6px;
height: 6px;
border: none;
border-radius: 100%;
transform-origin: 8px 8px;
animation-name: spin;
animation-duration: 1000ms;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@media (prefers-reduced-motion: reduce) {
.wpcf7-spinner::before {
animation-name: blink;
animation-duration: 2000ms;
}
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes blink {
from {
opacity: 0;
}
50% {
opacity: 1;
}
to {
opacity: 0;
}
}
.wpcf7 [inert] {
opacity: 0.5;
}
.wpcf7 input[type="file"] {
cursor: pointer;
}
.wpcf7 input[type="file"]:disabled {
cursor: default;
}
.wpcf7 .wpcf7-submit:disabled {
cursor: not-allowed;
}
.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
direction: ltr;
}
.wpcf7-reflection > output {
display: list-item;
list-style: none;
}
.wpcf7-reflection > output[hidden] {
display: none;
.wpcf7 .screen-reader-response {
position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
word-wrap: normal !important;
}
.wpcf7 form .wpcf7-response-output {
margin: 2em 0.5em 1em;
padding: 0.2em 1em;
border: 2px solid #00a0d2; /* Blue */
}
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
border-color: #46b450; /* Green */
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
border-color: #dc3232; /* Red */
}
.wpcf7 form.spam .wpcf7-response-output {
border-color: #f56e28; /* Orange */
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
border-color: #ffb900; /* Yellow */
}
.wpcf7-form-control-wrap {
position: relative;
}
.wpcf7-not-valid-tip {
color: #dc3232; /* Red */
font-size: 1em;
font-weight: normal;
display: block;
}
.use-floating-validation-tip .wpcf7-not-valid-tip {
position: relative;
top: -2ex;
left: 1em;
z-index: 100;
border: 1px solid #dc3232;
background: #fff;
padding: .2em .8em;
width: 24em;
}
.wpcf7-list-item {
display: inline-block;
margin: 0 0 0 1em;
}
.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
content: " ";
}
.wpcf7-spinner {
visibility: hidden;
display: inline-block;
background-color: #23282d; /* Dark Gray 800 */
opacity: 0.75;
width: 24px;
height: 24px;
border: none;
border-radius: 100%;
padding: 0;
margin: 0 24px;
position: relative;
}
form.submitting .wpcf7-spinner {
visibility: visible;
}
.wpcf7-spinner::before {
content: '';
position: absolute;
background-color: #fbfbfc; /* Light Gray 100 */
top: 4px;
left: 4px;
width: 6px;
height: 6px;
border: none;
border-radius: 100%;
transform-origin: 8px 8px;
animation-name: spin;
animation-duration: 1000ms;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@media (prefers-reduced-motion: reduce) {
.wpcf7-spinner::before {
animation-name: blink;
animation-duration: 2000ms;
}
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes blink {
from {
opacity: 0;
}
50% {
opacity: 1;
}
to {
opacity: 0;
}
}
.wpcf7 [inert] {
opacity: 0.5;
}
.wpcf7 input[type="file"] {
cursor: pointer;
}
.wpcf7 input[type="file"]:disabled {
cursor: default;
}
.wpcf7 .wpcf7-submit:disabled {
cursor: not-allowed;
}
.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
direction: ltr;
}
.wpcf7-reflection > output {
display: list-item;
list-style: none;
}
.wpcf7-reflection > output[hidden] {
display: none;
}
+531 -531
View File
File diff suppressed because it is too large Load Diff