352 lines
8.6 KiB
SCSS
352 lines
8.6 KiB
SCSS
//Avatar
|
|
|
|
.employee_avatar_small {
|
|
@extend .avatar-sm;
|
|
vertical-align: middle;
|
|
|
|
img {
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.employee_avatar {
|
|
@extend .avatar-lg;
|
|
display: block !important;
|
|
margin: 10px auto !important;
|
|
text-align: center;
|
|
}
|
|
|
|
.avatar-xs {
|
|
@include avatar(16px, 16px);
|
|
}
|
|
|
|
.avatar-sm {
|
|
@include avatar(32px, 32px);
|
|
}
|
|
|
|
.avatar-md {
|
|
@include avatar(48px, 32px);
|
|
}
|
|
|
|
.avatar-lg {
|
|
@include avatar(80px, 80px);
|
|
}
|
|
|
|
.avatar-xl {
|
|
@include avatar(128px, 128px);
|
|
}
|
|
|
|
#employee-thumbnail {
|
|
position: relative;
|
|
width: 104px;
|
|
height: 104px;
|
|
margin-bottom: 10px;
|
|
// stylelint-disable-next-line
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAIAAACzY+a1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAB1ZJREFUeNrsnV1PGl0UhcsUbGmtVotYQatVbFqrF973/1+ZJqaJX0hFRKh8CRYBUZyu0KR5k1eBwWFmHV3romlShdPzzN577TMz5wTOz8+fSSbL0hQIoSSEkhAKoSSEkhBKQiiEkhBKQigJoRBKQigJoSSET1bBJ/W/7XQ6rVarXq83Go2rq6ubmxv8/fr6Gv80OTm5vr5uWZYQ0umqq3K5/Pv372q1CoS3t7f//7E3b94oCrmw1Wq1SqWCP//FWQ99+fJlcXFRCP1Xu93O5XLFYhHkkCQH8gKWBX4LCwuqhX4KtICtUCggW4Kio98Nh8NG8zMeIVxJPp/PZrPNZnO4T0CORaYdHx83dxIChj6ECFeSSqXAb8CE2UOhUGhlZWVpaUlR6JFs20bBOzg4gGdx5QMRiHt7eyifnz9/fvHihRCOVmgM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);
|
|
@include box-shadow(white 0 0 0 4px inset);
|
|
|
|
&::before {
|
|
@extend .icon;
|
|
@extend .icon-spin;
|
|
@extend .icon-refresh;
|
|
position: absolute;
|
|
top: 10px;
|
|
z-index: 10;
|
|
display: block;
|
|
font-size: 2em;
|
|
color: #ccc;
|
|
text-align: center;
|
|
@include left(10px);
|
|
}
|
|
|
|
a {
|
|
position: absolute;
|
|
top: 1px;
|
|
z-index: 100;
|
|
display: block;
|
|
width: 100px;
|
|
height: 100px;
|
|
overflow: hidden;
|
|
background-position: center;
|
|
background-size: contain;
|
|
border: none;
|
|
@include left(1px);
|
|
@include box-shadow(white 0 0 0 3px inset);
|
|
}
|
|
}
|
|
|
|
.message-item-initial {
|
|
h2 {
|
|
font-size: 1.5em;
|
|
@include margin(0, 0, 5px, 0);
|
|
}
|
|
|
|
.message-item-initial-body {
|
|
@extend .panel;
|
|
position: relative;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.message-date {
|
|
margin-bottom: 10px;
|
|
color: #bbb;
|
|
}
|
|
//Messages
|
|
}
|
|
|
|
.message-item {
|
|
@extend .media;
|
|
position: relative;
|
|
padding: 10px 0;
|
|
border-bottom: solid 1px #eee;
|
|
@include margin(0, 0, 0, 30px);
|
|
|
|
&:last-child {
|
|
border: none;
|
|
}
|
|
|
|
.message-item-heading {
|
|
display: inline-block;
|
|
}
|
|
|
|
.message-body {
|
|
@include margin(0, 0, 0, 80px);
|
|
|
|
.message-item-text {
|
|
@include padding(0, 0, 0, 10px);
|
|
@include border-left(2px solid #ccc);
|
|
}
|
|
}
|
|
|
|
.message-avatar {
|
|
position: absolute;
|
|
top: 10px;
|
|
@include left(10px);
|
|
}
|
|
|
|
.message-date {
|
|
color: #bbb;
|
|
}
|
|
//Arrows
|
|
}
|
|
|
|
.arrow::before,
|
|
.arrow::after {
|
|
position: absolute;
|
|
display: inline-block;
|
|
content: "";
|
|
border-color: transparent;
|
|
border-style: solid;
|
|
}
|
|
|
|
.arrow-left::before {
|
|
top: 6px;
|
|
@include ltr () {
|
|
border-width: 7px 7px 7px 0;
|
|
border-right-color: #d1d4d7;
|
|
}
|
|
@include rtl () {
|
|
border-width: 7px 0 7px 7px;
|
|
border-left-color: #d1d4d7;
|
|
}
|
|
@include margin-left(-7px);
|
|
@include left(0);
|
|
}
|
|
|
|
.arrow-left::after {
|
|
top: 7px;
|
|
@include ltr () {
|
|
border-width: 6px 6px 6px 0;
|
|
border-right-color: #fff;
|
|
}
|
|
@include rtl () {
|
|
border-width: 6px 0 6px 6px;
|
|
border-left-color: #fff;
|
|
}
|
|
@include left(0);
|
|
@include margin-left(-6px);
|
|
}
|
|
|
|
.arrow-right::before {
|
|
top: 6px;
|
|
@include ltr () {
|
|
border-width: 7px 0 7px 7px;
|
|
border-left-color: #d1d4d7;
|
|
}
|
|
@include rtl () {
|
|
border-width: 7px 7px 7px 0;
|
|
border-right-color: #d1d4d7;
|
|
}
|
|
@include right(0);
|
|
@include margin-right(-7px);
|
|
}
|
|
|
|
.arrow-right::after {
|
|
top: 7px;
|
|
@include ltr () {
|
|
border-width: 6px 0 6px 6px;
|
|
border-left-color: #fff;
|
|
}
|
|
@include rtl () {
|
|
border-width: 6px 6px 6px 0;
|
|
border-right-color: #fff;
|
|
}
|
|
@include right(0);
|
|
@include margin-right(-6px);
|
|
}
|
|
//Timeline
|
|
$time-icon-size: 40px;
|
|
|
|
.timeline {
|
|
position: relative;
|
|
display: table;
|
|
width: 100%;
|
|
table-layout: fixed;
|
|
border-spacing: 0;
|
|
border-collapse: collapse;
|
|
|
|
&::before {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 30px;
|
|
z-index: 0;
|
|
width: 6px;
|
|
content: "";
|
|
background-color: #ddd;
|
|
@include margin-left(-4px);
|
|
@include left(50%);
|
|
}
|
|
|
|
.timeline-item {
|
|
display: table-row;
|
|
|
|
.timeline-caption {
|
|
display: table-cell;
|
|
width: 50%;
|
|
vertical-align: top;
|
|
|
|
.timeline-panel {
|
|
@extend .panel;
|
|
position: relative;
|
|
display: inline-block;
|
|
@include text-align(left);
|
|
@include margin-left($time-icon-size + 2px);
|
|
@include box-shadow(0);
|
|
}
|
|
|
|
h5 {
|
|
margin: 0;
|
|
|
|
span {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
}
|
|
|
|
p {
|
|
margin-top: 10px;
|
|
margin-bottom: 0;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
.timeline-date {
|
|
position: absolute;
|
|
top: 10px;
|
|
width: 150px;
|
|
@include text-align(right);
|
|
@include left(-220px);
|
|
}
|
|
|
|
.timeline-icon {
|
|
position: absolute;
|
|
top: -2px;
|
|
width: $time-icon-size;
|
|
height: $time-icon-size;
|
|
line-height: $time-icon-size;
|
|
text-align: center;
|
|
background-color: #666;
|
|
border: 2px solid #fff;
|
|
border-radius: $time-icon-size;
|
|
@include left(-($time-icon-size + $time-icon-size / 2 + 2px));
|
|
|
|
i {
|
|
margin-top: 5px;
|
|
font-size: ($time-icon-size / 2);
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
&::before,
|
|
&.alt::after {
|
|
display: block;
|
|
width: 50%;
|
|
content: "";
|
|
}
|
|
|
|
&.alt {
|
|
@include text-align(right);
|
|
|
|
&::before {
|
|
display: none;
|
|
}
|
|
|
|
.timeline-panel {
|
|
@include margin-right($time-icon-size);
|
|
@include margin-left(0);
|
|
}
|
|
|
|
.timeline-date {
|
|
@include right(-220px);
|
|
@include text-align(left);
|
|
@include left(auto);
|
|
}
|
|
|
|
.timeline-icon {
|
|
@include left(auto);
|
|
@include right(-($time-icon-size + $time-icon-size / 2));
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
display: table-caption;
|
|
text-align: center;
|
|
|
|
&::before {
|
|
width: 1%;
|
|
}
|
|
|
|
.timeline-panel {
|
|
@include margin-left(0);
|
|
}
|
|
|
|
.timeline-caption {
|
|
display: inline-block;
|
|
width: auto;
|
|
}
|
|
|
|
.timeline-date,
|
|
.timeline-icon {
|
|
position: static;
|
|
display: inline-block;
|
|
width: auto;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.command-danger {
|
|
background-color: $brand-danger !important;
|
|
}
|
|
|
|
.command-success {
|
|
background-color: $brand-success !important;
|
|
}
|