mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
[WIP] space permissions UX
This commit is contained in:
parent
e10313b7cc
commit
1c08a7fbcf
8 changed files with 121 additions and 102 deletions
8
gui/app/styles/bootstrap.scss
vendored
8
gui/app/styles/bootstrap.scss
vendored
|
@ -98,5 +98,11 @@ $link-hover-decoration: none;
|
|||
@import "node_modules/bootstrap/scss/utilities";
|
||||
@import "node_modules/bootstrap/scss/popover";
|
||||
@import "node_modules/bootstrap/scss/tooltip";
|
||||
// @import "node_modules/bootstrap/scss/images";
|
||||
@import "node_modules/bootstrap/scss/tables";
|
||||
// @import "node_modules/bootstrap/scss/navbar";
|
||||
// @import "node_modules/bootstrap/scss/images";
|
||||
|
||||
|
||||
.modal-80 {
|
||||
max-width: 80% !important;
|
||||
}
|
||||
|
|
|
@ -1,48 +1,4 @@
|
|||
.space-settings {
|
||||
> .panel {
|
||||
@include content-container();
|
||||
@include ease-in();
|
||||
@extend .transition-all;
|
||||
margin: 0 0 30px 0;
|
||||
}
|
||||
|
||||
.permissions-table {
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
width: 90%;
|
||||
|
||||
> .row {
|
||||
padding: 8px 0;
|
||||
|
||||
> .permission-name-cell {
|
||||
font-size: 1.1rem;
|
||||
background-color: $color-off-white;
|
||||
padding: 10px 10px;
|
||||
}
|
||||
|
||||
> .permission-roles-cell {
|
||||
margin: 15px 0 20px 40px;
|
||||
|
||||
> .role-container {
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
margin-bottom: 10px;
|
||||
|
||||
> .role-category {
|
||||
color: $color-gray;
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
> label {
|
||||
color: $color-gray;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.category-table {
|
||||
padding: 0;
|
||||
margin: 0 0 0 20px;
|
||||
|
|
|
@ -118,4 +118,37 @@
|
|||
}
|
||||
}
|
||||
|
||||
.space-admin {
|
||||
> .permission-table {
|
||||
// width: 100%;
|
||||
// overflow-x: auto;
|
||||
|
||||
> tbody, > thead {
|
||||
> tr, > th {
|
||||
> td, > th {
|
||||
margin: 0;
|
||||
padding: 10px 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
> td:first-child {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> thead {
|
||||
> tr {
|
||||
> th {
|
||||
background-color: $color-off-white;
|
||||
color: $color-gray;
|
||||
}
|
||||
|
||||
> th:first-child {
|
||||
background-color: $color-white !important;
|
||||
border: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue