mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
traffic chart styles fix
This commit is contained in:
parent
4b3665007b
commit
21cd0bc433
2 changed files with 28 additions and 28 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xlg-12 col-lg-12 col-md-12 col-sm-12">
|
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12">
|
||||||
<pie-chart></pie-chart>
|
<pie-chart></pie-chart>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<ba-card class="col-lg-6 col-md-12 col-sm-12"
|
<ba-card class="col-xl-6 col-lg-12 col-md-12 col-sm-12"
|
||||||
title="Acquisition Channels" baCardClass="popular-app medium-card">
|
title="Acquisition Channels" baCardClass="traffic-panel medium-card">
|
||||||
<traffic-chart></traffic-chart>
|
<traffic-chart></traffic-chart>
|
||||||
</ba-card>
|
</ba-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,11 @@
|
||||||
|
|
||||||
.channels-info {
|
.channels-info {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: calc(100% - 400px);
|
width: calc(100% - 370px);
|
||||||
margin-left: 70px;
|
margin-left: 70px;
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.small-container {
|
.small-container {
|
||||||
.channels-info {
|
.channels-info {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
@ -28,7 +29,7 @@
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
opacity: 0.9;
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
.channel-number{
|
.channel-number {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
@ -109,28 +110,28 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
background-color: rgba(0, 0, 0, 0.25);
|
background-color: rgba(0, 0, 0, 0.25);
|
||||||
.progress-bar{
|
.progress-bar {
|
||||||
height: 4px;
|
height: 4px;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.legend-color{
|
.legend-color {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.25);
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 27px;
|
top: 27px;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
left: -45px;
|
left: -45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.traffic-chart canvas{
|
.traffic-chart canvas {
|
||||||
border: 10px solid rgba(0,0,0,0.0);
|
border: 10px solid rgba(0, 0, 0, 0.0);
|
||||||
border-radius: 150px;
|
border-radius: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart-bg{
|
.chart-bg {
|
||||||
background-color: $view-total;
|
background-color: $view-total;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
|
|
@ -141,47 +142,46 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: $resM) {
|
@media (max-width: $resM) {
|
||||||
div.channels-info{
|
div.channels-info {
|
||||||
display: block;
|
display: block;
|
||||||
width: calc(100% - 88px);
|
width: calc(100% - 88px);
|
||||||
margin-top: -65px;
|
margin-top: -65px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
.panel.medium-panel.traffic-panel{
|
.card.medium-card.traffic-panel {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
.traffic-chart{
|
.traffic-chart {
|
||||||
position: inherit;
|
position: inherit;
|
||||||
float: none;
|
float: none;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
.chart-bg{
|
.chart-bg {
|
||||||
left: calc(50% - 90px);
|
left: calc(50% - 90px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1465px) and (min-width: 1199px){
|
@media (max-width: 1465px) and (min-width: 1199px) {
|
||||||
.channels-info{
|
.channels-info {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.traffic-chart{
|
.traffic-chart {
|
||||||
position: inherit;
|
position: inherit;
|
||||||
float: none;
|
float: none;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
.chart-bg{
|
.chart-bg {
|
||||||
left: calc(50% - 90px);
|
left: calc(50% - 90px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 380px) {
|
||||||
|
|
||||||
@media (max-width: 380px){
|
.traffic-chart {
|
||||||
|
|
||||||
.traffic-chart{
|
|
||||||
width: 240px;
|
width: 240px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.canvas-holder{
|
.canvas-holder {
|
||||||
width: 240px;
|
width: 240px;
|
||||||
height: 240px;
|
height: 240px;
|
||||||
}
|
}
|
||||||
|
|
@ -190,7 +190,8 @@
|
||||||
top: 30px;
|
top: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (max-width: 320px){
|
|
||||||
|
@media (max-width: 320px) {
|
||||||
.chart-bg {
|
.chart-bg {
|
||||||
left: 50px;
|
left: 50px;
|
||||||
top: 50px;
|
top: 50px;
|
||||||
|
|
@ -199,10 +200,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.badmin-transparent {
|
||||||
body.badmin-transparent{
|
.traffic-chart canvas {
|
||||||
.traffic-chart canvas{
|
border: 10px solid rgba(0, 0, 0, 0.35);
|
||||||
border: 10px solid rgba(0,0,0,0.35);
|
|
||||||
box-shadow: 0 0 5px 0 rgb(0, 0, 0) inset;
|
box-shadow: 0 0 5px 0 rgb(0, 0, 0) inset;
|
||||||
border-radius: 150px;
|
border-radius: 150px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue