mirror of
https://github.com/flarum/framework.git
synced 2025-01-09 12:26:23 +08:00
6eae43688e
See https://github.com/flarum/core/pull/1367 * Replace gulp with webpack and npm scripts for JS compilation * Set up Travis CI to commit compiled JS * Restructure `js` directory; only one instance of npm, forum/admin are "submodules" * Restructure `less` directory
72 lines
1.3 KiB
Plaintext
72 lines
1.3 KiB
Plaintext
.StatisticsWidget-table {
|
|
margin-top: -20px;
|
|
}
|
|
.StatisticsWidget-labels {
|
|
float: left;
|
|
min-width: 130px;
|
|
padding-right: 10px;
|
|
padding-top: 45px;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
color: @muted-color;
|
|
}
|
|
.StatisticsWidget-label {
|
|
padding-top: 8px;
|
|
}
|
|
.StatisticsWidget-entity {
|
|
float: left;
|
|
min-width: 130px;
|
|
padding: 15px 20px;
|
|
color: @text-color;
|
|
font-size: 20px;
|
|
|
|
&:hover {
|
|
background: mix(@control-bg, @body-bg, 50%);
|
|
text-decoration: none;
|
|
}
|
|
&.active {
|
|
border-top: 4px solid @primary-color;
|
|
padding-top: 15 - 4px;
|
|
}
|
|
}
|
|
.StatisticsWidget-change {
|
|
font-size: 11px;
|
|
}
|
|
.StatisticsWidget-change--up {
|
|
color: #00a502;
|
|
}
|
|
.StatisticsWidget-change--down {
|
|
color: #d0011b;
|
|
}
|
|
.StatisticsWidget-heading {
|
|
height: 30px;
|
|
padding-top: 5px;
|
|
margin: 0;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
color: @muted-color;
|
|
|
|
.active & {
|
|
color: @primary-color;
|
|
}
|
|
}
|
|
.StatisticsWidget-total,
|
|
.StatisticsWidget-period,
|
|
.StatisticsWidget-label {
|
|
height: 35px;
|
|
}
|
|
.StatisticsWidget-total {
|
|
font-weight: bold;
|
|
}
|
|
.StatisticsWidget-chart {
|
|
clear: left;
|
|
max-width: 600px;
|
|
margin: -20px -10px;
|
|
|
|
// Hide the "last period" data from the tooltip
|
|
.chart-container .graph-svg-tip ul.data-point-list > li:first-child {
|
|
display: none;
|
|
}
|
|
}
|