mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
parent
8ac35a6b74
commit
d1774b42bd
2 changed files with 163 additions and 152 deletions
|
@ -3,7 +3,6 @@
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
> a {
|
||||
> .item {
|
||||
@include card();
|
||||
list-style-type: none;
|
||||
|
@ -21,7 +20,9 @@
|
|||
padding: 0;
|
||||
align-self: self-start;
|
||||
justify-self: self-start;
|
||||
width: 100%;
|
||||
|
||||
> a {
|
||||
> .name {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 700;
|
||||
|
@ -35,6 +36,7 @@
|
|||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> .desc {
|
||||
font-size: 1.1rem;
|
||||
|
@ -43,6 +45,7 @@
|
|||
color: $color-black-light-3;
|
||||
}
|
||||
|
||||
> a {
|
||||
> .meta {
|
||||
padding: 15px 0 0 0;
|
||||
|
||||
|
@ -65,7 +68,9 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> a {
|
||||
> .stats {
|
||||
grid-column-start: 1;
|
||||
grid-row-start: 2;
|
||||
|
@ -92,6 +97,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: $display-break-2) {
|
||||
grid-template-columns: 8fr 2fr;
|
||||
|
@ -103,6 +109,7 @@
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
> a {
|
||||
> .stats {
|
||||
grid-column-start: 2;
|
||||
grid-row-start: 1;
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
|
||||
<ul class="list">
|
||||
{{#each spaces as |space|}}
|
||||
{{#link-to "folder.index" space.id space.slug}}
|
||||
<li class="item">
|
||||
<div class="info">
|
||||
{{#link-to "folder.index" space.id space.slug}}
|
||||
<div class="name">
|
||||
{{#if space.icon}}
|
||||
<div class="icon">
|
||||
|
@ -26,10 +26,12 @@
|
|||
{{/if}}
|
||||
{{space.name}}
|
||||
</div>
|
||||
{{/link-to}}
|
||||
{{#if (not-eq viewDensity "3")}}
|
||||
<div class="desc">{{{space.desc}}}</div>
|
||||
{{/if}}
|
||||
{{#if (eq viewDensity "1")}}
|
||||
{{#link-to "folder.index" space.id space.slug}}
|
||||
<div class="meta">
|
||||
{{!-- {{#if (eq space.spaceType constants.SpaceType.Public)}}
|
||||
<i class={{concat "dicon " constants.Icon.World}}>
|
||||
|
@ -50,9 +52,11 @@
|
|||
{{spaces/space-label labels=labels labelId=space.labelId}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if (eq viewDensity "1")}}
|
||||
{{#link-to "folder.index" space.id space.slug}}
|
||||
<div class="stats">
|
||||
<div class="stat">
|
||||
<div class="number">{{space.countContent}}</div>
|
||||
|
@ -63,9 +67,9 @@
|
|||
<div class="label">categories</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/link-to}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue