mirror of https://github.com/akveo/blur-admin
fix panel header layout
parent
e1958b5e86
commit
36766349f5
|
@ -1,3 +1,5 @@
|
||||||
|
$panel-title-height: 35px;
|
||||||
|
|
||||||
.panel {
|
.panel {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
|
@ -21,22 +23,26 @@
|
||||||
height: $large-panel-height;
|
height: $large-panel-height;
|
||||||
}
|
}
|
||||||
&.with-scroll {
|
&.with-scroll {
|
||||||
|
.panel-body {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
height: calc(100% - #{$panel-title-height});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-heading, .panel-default > .panel-heading {
|
.panel-heading, .panel-default > .panel-heading {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 7px 22px 0px;
|
padding: 0 22px;
|
||||||
margin-bottom: -5px;
|
|
||||||
color: $default-text;
|
color: $default-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-title {
|
.panel-title {
|
||||||
font-weight: normal;
|
height: $panel-title-height;
|
||||||
|
line-height: 20px;
|
||||||
|
padding-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-body {
|
.panel-body {
|
||||||
padding: 16px 22px;
|
padding: 15px 22px;
|
||||||
}
|
}
|
|
@ -6,3 +6,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.user-stats-panel {
|
||||||
|
.panel-title {
|
||||||
|
padding: 0 0 15px;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
<pie-charts></pie-charts>
|
<pie-charts></pie-charts>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<blur-panel>
|
<blur-panel class-container="user-stats-panel">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h3>Acquisition Channels</h3>
|
<h3 class="panel-title">Acquisition Channels</h3>
|
||||||
<traffic-chart></traffic-chart>
|
<traffic-chart></traffic-chart>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h3>Users by country</h3>
|
<h3 class="panel-title">Users by Country</h3>
|
||||||
<am-chart-map></am-chart-map>
|
<am-chart-map></am-chart-map>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -57,7 +57,7 @@ blurAdminApp.directive('pieCharts', function () {
|
||||||
|
|
||||||
function updatePieCharts() {
|
function updatePieCharts() {
|
||||||
$('.pie-charts .chart').each(function(index, chart) {
|
$('.pie-charts .chart').each(function(index, chart) {
|
||||||
$(chart).data('easyPieChart').update(getRandomArbitrary(60, 90));
|
$(chart).data('easyPieChart').update(getRandomArbitrary(55, 90));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,6 @@ $resMin: 320px;
|
||||||
|
|
||||||
$top-height: 66px;
|
$top-height: 66px;
|
||||||
|
|
||||||
$small-panel-height: 120px;
|
$small-panel-height: 114px;
|
||||||
$medium-panel-height: 400px;
|
$medium-panel-height: 400px;
|
||||||
$large-panel-height: 824px;
|
$large-panel-height: 824px;
|
Loading…
Reference in New Issue