1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00
documize/gui/app/styles/core/view/space.scss

284 lines
4.5 KiB
SCSS
Raw Normal View History

.view-space {
> .documents {
2018-12-17 13:39:13 +00:00
margin: 0;
padding: 0;
> .document {
@include card();
list-style-type: none;
2018-12-17 13:39:13 +00:00
margin: 0 0 2rem 0;
padding: 15px 20px;
width: 100%;
2018-12-17 13:39:13 +00:00
position: relative;
&:hover {
> .checkbox {
display: block;
}
}
> .checkbox {
position: absolute;
display: none;
top: 10px;
2018-12-17 13:39:13 +00:00
right: 10px;
cursor: pointer;
2018-12-17 13:39:13 +00:00
> .dicon {
color: map-get($yellow-shades, 700);
cursor: pointer;
font-weight: 600;
font-size: 20px;
}
}
2017-11-22 13:39:46 +00:00
> .actions {
position: absolute;
display: none;
2018-12-17 13:39:13 +00:00
bottom: 10px;
right: 10px;
2017-11-22 13:39:46 +00:00
cursor: pointer;
}
2018-12-17 13:39:13 +00:00
> .info {
padding: 0;
align-self: self-start;
justify-self: self-start;
> .name {
font-size: 1.3rem;
font-weight: 700;
color: map-get($gray-shades, 800);
}
> .desc {
font-size: 1.1rem;
font-weight: 400;
margin-top: 0.4rem;
color: $color-black-light-3;
}
}
> .meta {
padding: 25px 0 0 0;
> .lifecycle {
display: inline-block;
text-transform: uppercase;
font-size: 0.9rem;
font-weight: 500;
text-align: center;
@include border-radius(5px);
background-color: map-get($gray-shades, 300);
padding: 0.25rem 1rem;
> .draft {
color: map-get($yellow-shades, 600);
}
> .live {
color: map-get($green-shades, 600);
}
> .archived {
color: map-get($red-shades, 600);
}
}
> .dicon {
color: map-get($gray-shades, 600);
font-size: 20px;
}
.hashtags {
display: inline-block;
padding: 0 10px 0 10px;
> .hashtag {
padding: 0 10px 0 10px;
> .dicon {
color: map-get($gray-shades, 500);
font-size: 20px;
vertical-align: bottom;
}
> .name {
display: inline-block;
color: map-get($gray-shades, 800);
font-size: 1rem;
}
&:hover {
> .dicon, > .name {
color: map-get($gray-shades, 600);
}
}
}
}
}
}
> .selected {
2018-12-17 13:39:13 +00:00
background-color: map-get($yellow-shades, 200);
> .checkbox {
display: block;
}
2017-11-22 13:39:46 +00:00
> .actions {
display: block;
}
&:hover {
2018-12-17 13:39:13 +00:00
background-color: map-get($yellow-shades, 200);
}
}
}
}
2017-11-24 12:50:06 +00:00
.space-admin {
> .blocks {
margin: 0;
padding: 0;
> .block {
@include card();
list-style-type: none;
margin: 0 0 2rem 0;
padding: 15px 20px;
width: 100%;
position: relative;
2017-11-24 12:50:06 +00:00
> .name {
font-size: 1.3rem;
font-weight: 700;
color: map-get($gray-shades, 800);
}
> .desc {
font-size: 1.1rem;
font-weight: 400;
margin: 0.4rem 0 1rem 0;
color: $color-black-light-3;
}
}
2017-11-27 15:38:39 +00:00
}
> .permission-table {
2017-11-24 12:50:06 +00:00
> tbody, > thead {
> tr, > th {
> td, > th {
margin: 0;
padding: 10px 15px;
text-align: center;
> .dicon {
color: map-get($gray-shades, 700);
}
2017-11-24 12:50:06 +00:00
}
> td:first-child {
text-align: left;
}
}
}
> thead {
> tr {
> th {
2018-12-04 17:26:57 +00:00
background-color: map-get($gray-shades, 100);
color: map-get($gray-shades, 600);
2017-11-24 12:50:06 +00:00
}
2017-11-24 12:50:06 +00:00
> th:first-child {
background-color: $color-white !important;
border: none !important;
}
}
}
}
2017-11-27 15:38:39 +00:00
.add-users {
text-align: center;
> .item {
margin: 7px;
display: inline-block;
}
}
2017-11-27 15:38:39 +00:00
> .categories {
padding: 0;
margin: 0;
> .category {
2017-11-27 16:17:17 +00:00
@include card();
list-style-type: none;
margin: 0 0 2rem 0;
padding: 15px 20px;
width: 100%;
position: relative;
2017-11-27 15:38:39 +00:00
> .info {
padding: 0;
align-self: self-start;
justify-self: self-start;
2017-11-27 15:38:39 +00:00
> .name {
font-size: 1.3rem;
font-weight: 700;
color: map-get($gray-shades, 800);
2017-11-27 15:38:39 +00:00
}
> .desc {
font-size: 1.1rem;
font-weight: 400;
margin-top: 0.4rem;
color: $color-black-light-3;
2017-11-27 15:38:39 +00:00
}
}
> .actions {
margin-top: 20px;
2017-11-27 15:38:39 +00:00
}
}
}
2017-11-24 12:50:06 +00:00
}
.space-label-picker {
display : block;
> .label {
@extend .no-select;
@extend .text-truncate;
display: inline-block;
width: 200px;
margin: 0 20px 20px 0;
padding: 0.5rem 0.75rem;
font-size: 1rem;
font-weight: 500;
color: $color-white;
border: 3px solid map-get($gray-shades, 300);
@include border-radius(3px);
cursor: pointer;
&:hover {
border: 3px solid map-get($gray-shades, 600);
}
}
.none {
background-color: $color-white;
color: map-get($gray-shades, 500);
}
> .selected {
border: 3px solid map-get($yellow-shades, 800);
&:hover {
border: 3px solid map-get($yellow-shades, 800);
}
}
}