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

re-working space permissions -- WIP

This commit is contained in:
Harvey Kandola 2017-09-13 19:22:38 +01:00
parent c51ba65b1d
commit ae05cacf3f
37 changed files with 735 additions and 601 deletions

View file

@ -1,4 +1,4 @@
@import "document.scss";
@import "folder.scss";
@import "wizard.scss";
@import "sidebar.scss";
@import "settings.scss";

View file

@ -0,0 +1,42 @@
.space-settings {
> .panel {
@include content-container();
@include ease-in();
@extend .transition-all;
}
.permissions-table {
padding: 0;
margin: 0 0 30px 0;
width: 100%;
> .row {
padding: 8px 0;
> .permission-name-cell {
padding: 10px 5px;
font-size: 1.1rem;
}
> .permission-roles-cell {
background-color: $color-off-white;
margin-top: 10px;
margin-left: 40px;
padding: 10px 10px;
display: inline-block;
> .role-category {
color: $color-gray;
font-weight: bold;
display: inline-block;
}
> label {
color: $color-gray;
font-weight: normal;
}
}
}
}
}

View file

@ -1,57 +0,0 @@
.sidebar-folder-share {
> .input-control {
margin-bottom: 30px;
}
}
.sidebar-permissions {
> .input-control {
margin-bottom: 30px;
}
> .permissions-table {
border: none;
padding: 0;
margin: 0 0 30px 0;
table-layout: fixed;
width: 100%;
white-space: nowrap;
> thead {
> tr {
> th {
font-weight: bold;
text-align: center;
}
> th:nth-child(1) {
width: 70%;
}
> th:nth-child(2), td:nth-child(3) {
width: 20%;
}
}
}
> tbody {
width: 300px;
> tr {
> td {
padding: 8px 0;
@extend .truncate;
}
> td:nth-child(1) {
text-align: left;
}
> td:nth-child(2), td:nth-child(3) {
text-align: center;
}
}
}
}
}