datasurvey/src/main/webapp/content/scss/paper-dashboard/cards/_card-chart.scss

86 lines
1.3 KiB
SCSS

.card-chart {
.card-header {
.card-title {
margin-top: 10px;
margin-bottom: 0;
}
.card-category {
margin-bottom: 5px;
}
}
.table {
margin-bottom: 0;
td {
border-top: none;
border-bottom: 1px solid #e9ecef;
}
}
.card-progress {
margin-top: 30px;
}
.chart-area {
height: 190px;
width: calc(100% + 30px);
margin-left: -15px;
margin-right: -15px;
}
.card-footer {
margin-top: 15px;
.stats {
color: $dark-gray;
}
}
.dropdown {
position: absolute;
right: 20px;
top: 20px;
.btn {
margin: 0;
}
}
}
.card-circle-chart {
.card-header {
&:first-child {
border-radius: 12px;
}
}
.card-title {
font-size: 1.2em;
font-weight: 700;
margin-top: 10px;
}
.card-content {
color: #fff;
padding: 10px 15px 10px;
text-align: center;
}
.chart-circle {
display: inline-block;
font-size: 2em;
height: 160px;
line-height: 160px;
margin-top: 30px;
margin-bottom: 30px;
position: relative;
text-align: center;
width: 160px;
canvas {
position: absolute;
top: 0;
left: -4px;
border: 4px solid #ffffffc4;
border-radius: 100%;
}
}
}