115 lines
2.3 KiB
SCSS
Executable File
115 lines
2.3 KiB
SCSS
Executable File
/* Preview */
|
|
|
|
.preview-list {
|
|
.preview-item {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
padding: 0.75rem 1.5rem;
|
|
font-size: 0.875rem;
|
|
border-bottom: 1px solid $border-color;
|
|
&: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 {
|
|
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: 1.5rem;
|
|
.rtl & {
|
|
padding-left: 0;
|
|
padding-right: 1.5rem;
|
|
}
|
|
&: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 {
|
|
display: flex;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
} |