PTMagic/Monitor/wwwroot/assets/scss/_widgets.scss

599 lines
9.7 KiB
SCSS
Raw Normal View History

2018-05-22 10:11:50 +02:00
/* =============
Widgets
============= */
/* Widget-box styles */
.widget-box-1 {
i.inform {
font-size: 20px;
cursor: pointer;
}
h4{
margin-bottom: 5px;
margin-top: 0;
}
h2{
margin: 20px;
font-weight: 600;
}
p{
margin-bottom: 0;
}
}
.widget-s-1 {
border-radius: 6px;
}
/* Widget (background-icon) */
.widget-bg-color-icon {
.bg-icon {
height: 80px;
width: 80px;
text-align: center;
border-radius: 50%;
i{
font-size: 32px;
line-height: 80px;
}
}
.bg-icon-info {
background-color: rgba($info,0.2);
border: 1px solid $info;
}
.bg-icon-primary {
background-color: rgba($primary,0.2);
border: 1px solid $primary;
}
.bg-icon-pink {
background-color: rgba($pink,0.2);
border: 1px solid $pink;
}
.bg-icon-purple {
background-color: rgba($purple,0.2);
border: 1px solid $purple;
}
.bg-icon-success {
background-color: rgba($success,0.2);
border: 1px solid $success;
}
.bg-icon-custom {
background-color: rgba($custom,0.2);
border: 1px solid $custom;
}
.bg-icon-warning {
background-color: rgba($warning,0.2);
border: 1px solid $warning;
}
.bg-icon-danger {
background-color: rgba($danger,0.2);
border: 1px solid $danger;
}
.bg-icon-inverse {
background-color: rgba($inverse,0.2);
border: 1px solid $inverse;
}
}
.mini-stat-icon {
-moz-border-radius: 100%;
-webkit-border-radius: 100%;
border-radius: 100%;
background-color: rgba($white,0.2);
display: inline-block;
float: left;
font-size: 30px;
height: 60px;
line-height: 60px;
margin-right: 10px;
text-align: center;
width: 60px;
}
.mini-stat-info {
padding-top: 2px;
color: $light;
span {
color: $white;
display: block;
font-size: 24px;
font-weight: 600;
}
span.name {
color: $white;
display: block;
font-size: 18px;
font-weight: 600;
margin-top: 5px;
}
}
.widget-inline {
padding: 20px 0 !important;
.col-lg-3 {
padding: 0;
}
.widget-inline-box {
border-right: 1px solid lighten($dark,10%);
padding: 20px;
i{
font-size: 32px;
}
}
}
/* Inbox-widget */
.inbox-widget {
.inbox-item {
border-bottom: 1px solid lighten($dark,10%);
overflow: hidden;
padding: 10px 0;
position: relative;
.inbox-item-img {
display: block;
float: left;
margin-right: 15px;
width: 40px;
}
img {
width: 40px;
}
.inbox-item-author {
color: $white;
display: block;
margin: 0;
}
.inbox-item-text {
color: $muted;
display: block;
font-size: 12px;
margin: 0;
}
.inbox-item-date {
color: $muted;
font-size: 11px;
position: absolute;
right: 7px;
top: 2px;
}
}
}
/* Chat widget */
.conversation-list {
list-style: none;
max-height: 330px;
padding: 0 20px;
li {
margin-bottom: 24px;
}
.chat-avatar {
display: inline-block;
float: left;
text-align: center;
width: 40px;
img {
border-radius: 100%;
width: $width;
}
i {
font-size: 12px;
font-style: normal;
}
}
.ctext-wrap {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
background: lighten($dark,7%);
border-radius: 3px;
display: inline-block;
padding: 10px;
position: relative;
i {
color: $white;
display: block;
font-size: 12px;
font-style: normal;
font-weight: bold;
position: relative;
}
p {
margin: 0;
padding-top: 3px;
}
&:after {
right: 100%;
top: 20%;
border: 5px solid rgba(213, 242, 239, 0);
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-right-color: lighten($dark,7%);
margin-top: -5px;
}
}
.conversation-text {
display: inline-block;
float: left;
font-size: 12px;
margin-left: 12px;
width: 70%;
}
.odd {
.chat-avatar {
float: right !important;
}
.conversation-text {
float: right !important;
margin-right: 12px;
text-align: right;
width: 70% !important;
}
p {
color: darken($white,5%);
}
.ctext-wrap {
background: $custom !important;
i {
color: $white;
}
&:after {
border-color: rgba(238, 238, 242, 0) !important;
border-left-color: $custom !important;
left: 100% !important;
top: 20% !important;
}
}
}
}
.chat-send {
button {
width: $width;
}
}
/* Todos widget */
#todo-message {
font-size: 16px;
}
.todo-list {
li {
border-radius: 0;
border: 0;
margin: 0;
padding: 10px 0;
color: $muted;
display: block;
&:last-of-type {
border-bottom: none;
}
}
}
/* Chat app */
.chat-app-list {
padding: 0 20px;
.list-group-item {
background: transparent;
}
}
/* Widget-chart */
.widget-chart {
ul {
li {
width: 31.5%;
display: inline-block;
padding: 0;
}
}
}
.widget-panel {
padding: 30px 20px;
padding-left: 30px;
border-radius: 4px;
position: relative;
margin-bottom: 20px;
i {
font-size: 60px;
padding: 30px;
position: absolute;
right: 0;
bottom: 0;
top: 0;
line-height: 60px;
}
}
.widget-style-2 {
i{
font-size: 48px;
padding: 30px 40px;
}
}
/* Google maps widget*/
.gmap iframe{
width: 100%;
margin: 0 !important;
padding: 0 !important;
}
.gmap-info:before {
color: #333333;
content: "\f041";
font-family: "FontAwesome";
font-size: 35px;
left: 10px;
position: absolute;
top: 8px;
}
.gmap-info {
float: left;
padding: 0 20px 0 50px;
position: relative;
}
.gmap-buttons {
float: right;
margin-top: 28px;
}
.gmap-buttons .btn { margin-left: 3px;}
/* Google maps ends */
/* Table with Action */
.table-actions-bar {
tr {
td{
vertical-align: middle !important;
}
}
.table-action-btn {
color: $muted;
display: inline-block;
width: 28px;
border-radius: 50%;
text-align: center;
line-height: 24px;
font-size: 20px;
&:hover {
color: $custom;
border-color: $custom;
}
}
}
/* Transaction */
.transaction-list {
li{
padding: 7px 0;
border-bottom: 1px solid lighten($dark,3%);
clear: both;
position: relative;
}
i{
width: 20px;
position: absolute;
top: 10px;
font-size: 12px;
}
.tran-text {
padding-left: 25px;
white-space: nowrap;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
width: 115px;
}
.tran-price {
margin-left: 30px;
}
}
/* Friend list */
.friend-list {
a{
margin: 5px;
display: inline-block;
}
.extra-number {
height: 48px;
width: 48px;
display: block;
line-height: 48px;
color: $muted;
font-weight: 700;
background-color: lighten($dark,7%);
border-radius: 50%;
border: 1px solid lighten($dark,12%);
}
}
/* Profile widget */
.profile-widget {
.bg-profile {
height: 125px;
}
.img-thumbnail {
margin-top: -42px;
border: none;
}
.widget-list {
padding: 10px;
margin-top: 20px;
margin-left: 0;
padding-bottom: 30px;
span {
display: block;
font-weight: bold;
font-size: 18px;
}
}
}
/* Bar widget */
.bar-widget {
.iconbox {
display: inline-block;
height: 50px;
width: 50px;
margin-right: 20px;
border-radius: 50%;
color: $white;
text-align: center;
i {
line-height: 50px;
font-size: 20px;
}
}
}
/* Social type widgets */
.widget-profile-one {
.card-box {
border-radius: 0;
&:first-of-type {
border-top-left-radius: 4px !important;
border-top-right-radius: 4px !important;
}
&:last-of-type {
border-bottom-left-radius: 4px !important;
border-bottom-right-radius: 4px !important;
}
}
}
.social-feed-box {
h3{
font-size: 18px;
font-style: italic;
}
}
.widget-box-two {
border-bottom-left-radius: 3px !important;
border-bottom-right-radius: 3px !important;
}
.social-feed-slider {
padding-bottom: 50px;
.carousel-indicators {
bottom: 0;
}
}
.pro-widget-img {
border-top-left-radius: 4px !important;
border-top-right-radius: 4px !important;
padding: 70px 0;
background-size: cover;
background: url("../images/big/bg.jpg") center right no-repeat;
}
/* Blog styles */
.blog-box-one {
margin-bottom: 20px;
}
.blog-box-one .cover-wrapper {
overflow: hidden;
width: 100%;
position: relative;
z-index: 1;
border-top-left-radius: 4px !important;
border-top-right-radius: 4px !important;
}
.blog-box-one .cover-wrapper img {
transition: all .3s ease;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
border-top-left-radius: 4px !important;
border-top-right-radius: 4px !important;
}
.blog-box-one .cover-wrapper:hover img {
-ms-transform: scale(1.1,1.1);
-webkit-transform: scale(1.1,1.1);
transform: scale(1.1,1.1);
}
.blog-box-one .post-info {
background-color: $dark;
padding: 20px;
border-bottom-left-radius: 4px !important;
border-bottom-right-radius: 4px !important;
}
.blog-box-one .post-info .date{
float: left;
border-bottom: 3px solid #71b6f9 ;
}
.post-info .date .day{
font-size: 22px;
color: $white;
font-weight: 600;
line-height: 22px;
}
.post-info .date .month{
text-transform: uppercase;
text-align: center;
width: 100%;
display: inline-block;
}
.blog-box-one .meta {
padding-left: 0;
}
.blog-box-one .post-info .meta-container {
padding-left: 55px;
}
.blog-box-one .post-info p {
margin-top: 15px;
}
.blog-widget-action {
a{
color: $muted;
display: inline-block;
margin-right: 10px;
}
}