John Cowen 8263879e6f
ui: Restrict the viewing/editing of certain UI elements based on the users ACLs (#9687)
This commit use the internal authorize endpoint along wiht ember-can to further restrict user access to certain UI features and navigational elements depending on the users ACL token
2021-02-19 16:42:16 +00:00

31 lines
655 B
SCSS

.topology-metrics-popover {
> button {
position: absolute;
transform: translate(-50%,-50%);
background-color: $white;
padding: 1px 1px;
&:hover {
cursor: pointer;
}
&:active, &:focus {
outline: none;
}
&:disabled {
cursor: default;
}
}
&.deny .informed-action header::before {
display: none;
}
&.deny > button::before,
&.deny .tippy-arrow::after {
@extend %with-cancel-square-fill-color-mask, %as-pseudo;
background-color: $red-500;
}
&.l7 > button::before,
&.l7 .tippy-arrow::after {
@extend %with-layers-mask, %as-pseudo;
background-color: $gray-300;
}
}