mirror of
https://github.com/flarum/core.git
synced 2025-08-06 00:17:31 +02:00
Webpack (#4)
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
This commit is contained in:
71
extensions/statistics/less/admin.less
Normal file
71
extensions/statistics/less/admin.less
Normal file
@@ -0,0 +1,71 @@
|
||||
.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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user