File "_preview-20241115093321.scss"
Full Path: /home/krishnamexports/public_html/panel/scss/components/_preview-20241115093321.scss
File size: 2.35 KB
MIME-type: text/plain; charset=us-ascii
Charset: utf-8
/* Preview */
.preview-list {
.preview-item {
@include display-flex;
@include flex-direction(row);
@include align-items(flex-start);
padding: 0.75rem 1.5rem;
font-size: 0.875rem;
&:last-child {
border-bottom: 0;
}
&:hover {
background: $dropdown-link-hover-bg;
}
.form-check {
margin-top: 8px;
margin-right: 1rem;
}
.preview-thumbnail {
color: color(white);
position: relative;
.preview-icon,
img {
width: 36px;
height: 36px;
border-radius: 100%;
}
.preview-icon {
padding: 6px;
text-align: center;
i {
font-size: 1.125rem;
}
}
.badge {
border: 2px solid color(white);
border-radius: 100%;
bottom: 5px;
display: block;
height: 14px;
left: -5px;
padding: 0;
position: absolute;
width: 14px;
&.badge-online {
@extend .badge-success;
}
&.badge-offline {
@extend .badge-info;
}
&.badge-busy {
@extend .badge-warning;
}
}
}
.preview-item-content {
line-height: 1;
padding-left: 15px;
.rtl & {
padding-left: 0;
padding-right: 15px;
}
&:first-child {
padding-left: 0;
.rtl & {
padding-right: 0;
}
}
p {
margin-bottom: 10px;
.content-category {
font-family: $type-1;
padding-right: 15px;
border-right: 1px solid $border-color;
@extend .text-muted;
}
}
}
.preview-actions {
@include display-flex;
@include flex-direction(row);
i {
width: 29px;
color: color(gray-lightest);
height: 29px;
border: 2px solid color(gray-lightest);
border-radius: 100%;
padding: 3px 6px;
display: inline-block;
&:first-child {
margin-right: 10px;
}
}
}
}
&.comment-preview {
.preview-item {
padding: 0.87rem 0;
&:first-child {
padding-top: 0;
}
p {
line-height: 27px;
}
}
}
&.bordered {
.preview-item {
border-bottom: 1px solid $border-color;
&:last-child {
border-bottom: 0;
}
}
}
}