Update repo

This commit is contained in:
2026-04-22 12:51:16 +02:00
parent d303a55638
commit d31591e287
24 changed files with 3994 additions and 3501 deletions
+101 -60
View File
@@ -1,60 +1,101 @@
/* Styles for WordPress Activity Stats Plugin - Admin Area */
/* Infografika */
.statpress-infographic-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.statpress-infographic-card {
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 5px;
padding: 15px;
text-align: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.statpress-infographic-card h3 {
margin-top: 0;
color: #555;
font-size: 1.1em;
}
.statpress-infographic-card p {
font-size: 1.8em;
font-weight: bold;
color: #333;
margin-bottom: 0;
}
/* Kontener dla szczegółów aktywności */
#statpress-details-container {
display: flex;
flex-wrap: wrap;
gap: 2%;
}
/* Szczegóły aktywności */
.statpress-details-col {
flex: 1 1 48%; /* Pozwala na elastyczne dopasowanie, z bazową szerokością 48% */
min-width: 300px; /* Zapobiega zbytniemu ściskaniu kolumn na mniejszych ekranach */
}
/* Chart Controls */
.statpress-chart-controls {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
margin-bottom: 15px;
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
}
.statpress-chart-tabs.nav-tab-wrapper {
border-bottom: none;
margin-bottom: 0;
}
.statpress-xaxis-switcher {
padding-top: 5px;
white-space: nowrap;
}
/* Styles for WordPress Activity Stats Plugin - Admin Area */
/* Infografika */
.statpress-infographic-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.statpress-infographic-card {
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 5px;
padding: 15px;
text-align: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.statpress-infographic-card h3 {
margin-top: 0;
color: #555;
font-size: 1.1em;
}
.statpress-infographic-card p {
font-size: 1.8em;
font-weight: bold;
color: #333;
margin-bottom: 0;
}
/* Kontener dla szczegółów aktywności */
#statpress-details-container {
display: flex;
flex-wrap: wrap;
gap: 2%;
}
/* Szczegóły aktywności */
.statpress-details-col {
flex: 1 1 48%; /* Pozwala na elastyczne dopasowanie, z bazową szerokością 48% */
min-width: 300px; /* Zapobiega zbytniemu ściskaniu kolumn na mniejszych ekranach */
}
/* Chart Controls */
.statpress-chart-controls {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
margin-bottom: 15px;
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
}
.statpress-chart-tabs.nav-tab-wrapper {
border-bottom: none;
margin-bottom: 0;
}
.statpress-xaxis-switcher {
padding-top: 5px;
white-space: nowrap;
}
/* Form layout improvements */
.statpress-form-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 1em;
}
.statpress-form-group {
background: #fdfdfd;
border: 1px solid #e5e5e5;
padding: 15px;
border-radius: 4px;
}
.statpress-form-group h3 {
margin-top: 0;
font-size: 1em;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
margin-bottom: 15px;
}
.statpress-form-group p {
margin: 0 0 1em;
}
.statpress-form-group label {
display: block;
margin-bottom: 5px;
}
/* GPX Parser Status */
#gpx_parse_status {
vertical-align: middle;
color: #50575e;
}
#gpx_parse_status .spinner {
margin-top: -2px;
}
+103 -103
View File
@@ -1,103 +1,103 @@
/* Styles for WordPress Activity Stats Plugin - Frontend Shortcodes */
/* Shortcode [moje_statystyki] */
.mystats-shortcode-container table {
width: 100%;
border-collapse: collapse;
margin-bottom: 2em;
}
.mystats-shortcode-container th,
.mystats-shortcode-container td {
padding: 8px 12px;
border: 1px solid #ddd;
text-align: left;
}
.mystats-shortcode-container th {
background-color: #f4f4f4;
}
.mystats-activity-table td:nth-child(4),
.mystats-activity-table td:nth-child(5) {
text-align: right;
}
/* Styles for the nested details table */
.mystats-activity-details-row > .mystats-activity-details-cell {
padding: 0 !important;
border-top: none;
border-bottom: 1px solid #ddd;
}
.mystats-nested-details-table {
width: 100%;
margin: 0;
background-color: #fdfdfd;
border: none !important;
border-collapse: collapse;
}
.mystats-nested-details-table th,
.mystats-nested-details-table td {
border: none !important;
padding: 6px 12px;
text-align: center;
font-size: 0.9em;
width: 33.33%;
}
.mystats-nested-details-table th {
background-color: transparent;
font-weight: normal;
color: #777;
padding-top: 8px;
padding-bottom: 2px;
}
.mystats-nested-details-table td {
font-weight: bold;
padding-top: 0;
padding-bottom: 8px;
}
/* Shortcode [moje_statystyki_wpis] */
.mystat-single-activity-shortcode {
border: 1px solid #eee;
padding: 15px;
margin-bottom: 1.5em;
border-radius: 5px;
background: #f9f9f9;
}
.mystat-single-activity-shortcode h4 {
margin-top: 0;
}
.mystat-single-activity-shortcode p em {
color: #777;
font-size: 0.9em;
}
.mystat-single-columns-container {
display: flex;
flex-wrap: wrap;
gap: 30px;
margin-bottom: 15px;
}
.mystat-single-col {
flex: 1;
min-width: 240px;
}
.mystat-single-summary-table {
width: 100%;
border-collapse: collapse;
}
.mystat-single-summary-table th,
.mystat-single-summary-table td {
padding: 4px 0;
border: none;
text-align: left;
vertical-align: top;
}
.mystat-single-summary-table th {
font-weight: bold;
padding-right: 1em;
white-space: nowrap;
width: 1%;
}
/* Styles for WordPress Activity Stats Plugin - Frontend Shortcodes */
/* Shortcode [statpress_summary] */
.statpress-shortcode-container table {
width: 100%;
border-collapse: collapse;
margin-bottom: 2em;
}
.statpress-shortcode-container th,
.statpress-shortcode-container td {
padding: 8px 12px;
border: 1px solid #ddd;
text-align: left;
}
.statpress-shortcode-container th {
background-color: #f4f4f4;
}
.statpress-activity-table td:nth-child(4),
.statpress-activity-table td:nth-child(5) {
text-align: right;
}
/* Styles for the nested details table */
.statpress-activity-details-row > .statpress-activity-details-cell {
padding: 0 !important;
border-top: none;
border-bottom: 1px solid #ddd;
}
.statpress-nested-details-table {
width: 100%;
margin: 0;
background-color: #fdfdfd;
border: none !important;
border-collapse: collapse;
}
.statpress-nested-details-table th,
.statpress-nested-details-table td {
border: none !important;
padding: 6px 12px;
text-align: center;
font-size: 0.9em;
width: 33.33%;
}
.statpress-nested-details-table th {
background-color: transparent;
font-weight: normal;
color: #777;
padding-top: 8px;
padding-bottom: 2px;
}
.statpress-nested-details-table td {
font-weight: bold;
padding-top: 0;
padding-bottom: 8px;
}
/* Shortcode [statpress_activity] */
.statpress-single-activity-shortcode {
border: 1px solid #eee;
padding: 15px;
margin-bottom: 1.5em;
border-radius: 5px;
background: #f9f9f9;
}
.statpress-single-activity-shortcode h4 {
margin-top: 0;
}
.statpress-single-activity-shortcode p em {
color: #777;
font-size: 0.9em;
}
.statpress-single-columns-container {
display: flex;
flex-wrap: wrap;
gap: 30px;
margin-bottom: 15px;
}
.statpress-single-col {
flex: 1;
min-width: 240px;
}
.statpress-single-summary-table {
width: 100%;
border-collapse: collapse;
}
.statpress-single-summary-table th,
.statpress-single-summary-table td {
padding: 4px 0;
border: none;
text-align: left;
vertical-align: top;
}
.statpress-single-summary-table th {
font-weight: bold;
padding-right: 1em;
white-space: nowrap;
width: 1%;
}