AdminLTE/build/scss/_info-box.scss

76 lines
1.2 KiB
SCSS
Raw Normal View History

2015-10-31 21:00:16 +00:00
/*
* Component: Info Box
* -------------------
*/
.info-box {
display: block;
2016-10-22 19:32:28 +00:00
min-height: 80px;
2015-10-31 21:00:16 +00:00
background: #fff;
width: 100%;
box-shadow: $box-boxshadow;
@include border-radius(2px);
margin-bottom: 15px;
2016-10-22 19:32:28 +00:00
2015-10-31 21:00:16 +00:00
small {
2016-10-22 19:32:28 +00:00
font-size: $font-size-sm;
2015-10-31 21:00:16 +00:00
}
2016-10-22 19:32:28 +00:00
.progress[value] {
background-color: rgba(0, 0, 0, 0.125);
margin: 5px 0;
2015-10-31 21:00:16 +00:00
height: 2px;
2016-10-22 19:32:28 +00:00
@include progress-variant(#fff);
@include border-radius(0);
}
.progress[value]::-webkit-progress-bar {
background-color: rgba(0, 0, 0, 0.125);
2015-10-31 21:00:16 +00:00
}
}
.info-box-icon {
2016-10-22 19:32:28 +00:00
@include border-left-radius(2px);
2015-10-31 21:00:16 +00:00
display: block;
float: left;
2016-10-22 19:32:28 +00:00
height: 80px;
width: 80px;
2015-10-31 21:00:16 +00:00
text-align: center;
2016-10-22 19:32:28 +00:00
font-size: 40px;
line-height: 80px;
2015-10-31 21:00:16 +00:00
background: rgba(0, 0, 0, 0.2);
2016-10-22 19:32:28 +00:00
2015-10-31 21:00:16 +00:00
> img {
max-width: 100%;
}
}
.info-box-content {
padding: 5px 10px;
2016-10-22 19:32:28 +00:00
margin-left: 80px;
2015-10-31 21:00:16 +00:00
}
.info-box-number {
display: block;
font-weight: bold;
}
.progress-description,
.info-box-text {
display: block;
2016-10-22 19:32:28 +00:00
font-size: $font-size-sm;
2015-10-31 21:00:16 +00:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.info-box-text {
text-transform: uppercase;
}
.info-box-more {
display: block;
}
.progress-description {
margin: 0;
}