mirror of
https://github.com/documize/community.git
synced 2025-08-05 13:35:25 +02:00
re-working space permissions -- WIP
This commit is contained in:
parent
c51ba65b1d
commit
ae05cacf3f
37 changed files with 735 additions and 601 deletions
|
@ -1,4 +1,4 @@
|
|||
@import "document.scss";
|
||||
@import "folder.scss";
|
||||
@import "wizard.scss";
|
||||
@import "sidebar.scss";
|
||||
@import "settings.scss";
|
||||
|
|
42
gui/app/styles/view/folder/settings.scss
Normal file
42
gui/app/styles/view/folder/settings.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue