1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

document view activity

This commit is contained in:
Harvey Kandola 2017-12-11 12:04:48 +00:00
parent 486b5983d9
commit cce1b5ef50
11 changed files with 85 additions and 93 deletions

View file

@ -1,52 +0,0 @@
.document-sidebar-view-activity {
> .items {
list-style-type: none;
margin: 0;
padding: 0;
white-space: nowrap;
> .item {
margin: 0;
padding: 10px 0;
width: 100%;
> .avatar-box {
display: inline-block;
margin: 0 10px 0 0;
}
> .name {
display: inline-block;
font-size: 0.9rem;
color: $color-gray;
width: 200px;
@extend .text-truncate;
}
> .detail {
display: block;
font-size: 0.9rem;
color: $color-off-black;
margin-left: 50px;
width: 200px;
@extend .text-truncate;
.viewed {
color: $color-goldy;
}
.added {
color: $color-green;
}
.changed {
color: $color-blue;
}
.deleted {
color: $color-red;
}
}
}
}
}

View file

@ -1,4 +1,3 @@
@import "history.scss";
@import "activity.scss";
@import "toc.scss";
@import "new-section.scss";

View file

@ -1,5 +1,6 @@
@import "doc-meta.scss";
@import "doc-structure.scss";
@import "section-editor.scss";
@import "view-attachment.scss";
@import "view-activity.scss";
@import "wysiwyg.scss";
@import "view-attachment.scss";

View file

@ -0,0 +1,65 @@
.view-activity {
> .items {
list-style-type: none;
margin: 0;
padding: 0;
white-space: nowrap;
> .item {
margin: 0;
padding: 20px 0;
width: 100%;
> .avatar-box {
display: inline-block;
cursor: default;
position: relative;
overflow: hidden;
width: 35px;
height: 35px;
line-height: 34px;
padding: 0;
border-radius: 50%;
text-align: center;
font-weight: bold;
background-color: $color-gray;
color: $color-white;
margin: 0 20px 0 0;
}
> .activity {
display: inline-block;
> .name {
display: block;
font-size: 1.2rem;
color: $color-off-black;
font-weight: bold;
}
> .detail {
display: block;
font-size: 1rem;
color: $color-gray;
.viewed {
color: $color-goldy;
}
.added {
color: $color-green;
}
.changed {
color: $color-blue;
}
.deleted {
color: $color-red;
}
}
}
}
}
}