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

[WIP ]space view

Document list renders as per design
This commit is contained in:
Harvey Kandola 2017-11-21 14:47:49 +00:00
parent 4bc08cbdee
commit acc947c2ed
28 changed files with 518 additions and 553 deletions

View file

@ -1,121 +1,3 @@
.space-heading {
margin: 0 0 55px 0;
.space-name {
font-size: 2rem;
margin: 0 0 10px 0;
font-weight: normal;
// color: $color-primary;
}
.space-summary {
font-size: 1.2rem;
color: $color-gray;
margin: 0 0 45px;
}
}
.edit-space-heading {
margin: 0 0 10px 0;
.edit-space-name {
> input {
font-size: 2rem;
font-weight: normal;
margin: 0 0 40px 0;
color: $color-wysiwyg;
}
}
}
.documents-list {
margin-bottom: 50px;
> .caption {
text-transform: uppercase;
color: $color-gray;
font-weight: bold;
font-size: 1.0rem;
margin: 0 0 10px 0;
}
.document-item {
margin: 0 0 25px 0;
padding: 25px 15px;
position: relative;
transition: 0.3s;
@include content-container();
&:hover {
> .link {
> .title {
color: $color-link;
}
> .snippet {
color: $color-gray;
}
}
> .checkbox {
display: block;
}
}
> .checkbox {
position: absolute;
display: none;
top: 10px;
right: 20px;
cursor: pointer;
> .material-icons {
width: 10px;
margin: 0;
padding: 0;
color: $color-checkbox;
}
}
.link {
text-decoration: none;
color: $color-off-black;
cursor: pointer;
&:hover {
text-decoration: none;
color: $color-link;
> .title {
color: $color-link;
}
> .snippet {
color: $color-link;
}
}
> .title {
font-size: 18px;
margin-bottom: 10px;
}
> .snippet {
color: $color-gray;
font-size: 14px;
line-height: 24px;
}
}
}
.selected-card {
background-color: $color-selected-item !important;
> .checkbox {
display: block;
}
}
}
.move-document-options {
height: 200px;
@ -140,38 +22,3 @@
color: $color-link;
}
}
.space-filter {
display: inline-block;
margin: 0 30px 30px 0;
> .caption {
text-transform: uppercase;
color: $color-gray;
font-weight: bold;
font-size: 1.0rem;
margin: 0 0 10px 0;
}
> .regular-button {
margin-bottom: 10px;
}
}
.category-filter {
display: inline-block;
margin: 0 0 30px 0;
> .regular-button {
margin-right: 10px;
margin-bottom: 10px;
}
> .caption {
text-transform: uppercase;
color: $color-gray;
font-weight: bold;
font-size: 1.0rem;
margin: 0 0 10px 0;
}
}

View file

@ -0,0 +1,109 @@
.view-space {
> .heading {
height: 10px;
> .view-heading {
font-size: 1.5rem;
font-weight: bold;
color: $color-dark;
}
}
> .filter-caption {
color: $color-gray;
font-size: 1.0rem;
margin: 0 0 10px 0;
}
> .documents {
margin: 60px 0;
padding: 0;
> .document {
@include card();
@include ease-in();
list-style-type: none;
overflow: hidden;
position: relative;
margin: 0 0 30px 0;
width: 100%;
// height: 150px;
&:hover {
> .checkbox {
display: block;
}
}
> a {
@include ease-in();
display: block;
position: relative;
padding: 15px 20px;
> .title {
color: $color-black;
font-size: 1.3rem;
margin-bottom: 5px;
}
> .snippet {
color: $color-gray;
font-size: 1rem;
line-height: 24px;
}
&:hover {
color: $color-gray;
> .title {
color: $color-link;
}
> .snippet {
color: $color-link;
}
}
}
> .checkbox {
position: absolute;
display: none;
top: 10px;
right: 20px;
cursor: pointer;
> .material-icons {
width: 10px;
margin: 0;
padding: 0;
color: $color-checkbox;
}
}
}
> .selected {
background-color: $color-primary-light !important;
> .checkbox {
display: block;
}
}
}
.hashtags {
> .hashtag {
display: inline-block;
margin: 5px 10px 0 5px;
color: $color-gray;
font-size: 0.875rem;
font-style: italic;
&:hover {
color: $color-link;
}
}
}
}

View file

@ -11,6 +11,7 @@
display: inline-block;
margin-right: 30px;
cursor: pointer;
@include ease-in();
&:hover {
color: $color-link;

View file

@ -1 +1,2 @@
@import "spaces.scss";
@import "space.scss";