mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-2556] first step to create add people or group to permissions * [ADF-2556] creating a dialog with user results * [ADF-2556] integrated service for add and remove permission from node * [ADF-2556] fixed behaviour and style for add user group * [ADF-2556] added some refactoring for dialog service * [ADF-2556] refactoring the dependencies of the components * [ADF-2556] added some fix and a new key for dialog * [ADF-2556] start adding test for node permission service * [ADF-2556] added test for add permission panel component * [ADf-2556] adding tests for new add permission component * [ADF-2556] fixed tests and added documentation * [ADF-2556] fixed documentation for add-node components * [ADF-2556] added peer review changes
69 lines
1.7 KiB
SCSS
69 lines
1.7 KiB
SCSS
@mixin adf-add-permission-panel-theme($theme) {
|
|
|
|
$background: map-get($theme, background);
|
|
$foreground: map-get($theme, foreground);
|
|
$primary: map-get($theme, primary);
|
|
$accent: map-get($theme, accent);
|
|
$mat-menu-border-radius: 2px !default;
|
|
|
|
.adf {
|
|
|
|
&-permission-result-list {
|
|
display: flex;
|
|
height: 300px;
|
|
overflow: auto;
|
|
border: 2px solid mat-color($foreground, base, 0.07);
|
|
|
|
&-elements {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
&-permission-start-message {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
height: 300px;
|
|
overflow: auto;
|
|
border: 2px solid mat-color($foreground, base, 0.07);
|
|
}
|
|
|
|
&-permission-no-result{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
width: 100%;
|
|
}
|
|
|
|
&-permission-search {
|
|
&-input {
|
|
width: 100%;
|
|
|
|
&-icon {
|
|
color: mat-color($foreground, disabled-button);
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
color: mat-color($foreground, base);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&-list-option-item .mat-list-text {
|
|
display: flex;
|
|
flex-direction: row !important;
|
|
align-items: center;
|
|
}
|
|
|
|
&-permission-action {
|
|
&[disabled] {
|
|
opacity: 0.6;
|
|
}
|
|
&:enabled {
|
|
color: mat-color($primary);
|
|
}
|
|
}
|
|
}
|
|
}
|