mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 03:03:01 +02:00
Issue #1189 : Add a compare mode on years and month in the statistic page.
* Number of years compared is a configuration variable (default 5) * Months compared are the actual, the last and the actual month the last year (you can also visualize the average last 12 months)
This commit is contained in:
@@ -266,6 +266,13 @@ TABLE.doubleSelect SELECT.categoryList {
|
||||
transition: 0.2s ease;
|
||||
}
|
||||
|
||||
.stat-data-selector label.unavailable {
|
||||
color: gray;
|
||||
background-color: #aaa;
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.stat-data-selector label:hover {
|
||||
background-color: #ccc
|
||||
}
|
||||
@@ -273,6 +280,7 @@ TABLE.doubleSelect SELECT.categoryList {
|
||||
.stat-data-selector input:checked + label {
|
||||
background-color: #FFA646;
|
||||
color: white;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.stat-data-selector input{
|
||||
@@ -287,6 +295,12 @@ TABLE.doubleSelect SELECT.categoryList {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.stat-compare-mode {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
transform: translate(0, 10px);
|
||||
}
|
||||
|
||||
.over{
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
|
||||
Reference in New Issue
Block a user