Improved behavior for missing comment approval permission
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / ui / acl.scss
CommitLineData
6cad44fd
AE
1/* object list, e.g. users and groups */
2.aclList {
3 > li {
4 align-items: center;
5 display: flex;
6 padding: 10px 0;
7
8 &:not(.active) {
9 cursor: pointer;
10 }
11
12 &.active {
13 background-color: $wcfTabularBoxBackgroundActive;
14 }
15
16 > .icon {
17 flex: 0 0 36px;
18 padding: 0 5px;
19 }
20
21 > .aclLabel {
22 flex: 1 1 auto;
23 margin: 0 5px;
24 }
25 }
26
27 /* search input */
28 & + .dropdown {
29 display: block;
30 margin-top: 20px;
31 }
32}
33
34/* permissions per object */
35.aclPermissionList {
36 margin-top: 40px;
f9b4f5f1
AE
37 position: relative;
38
39 &::after,
40 &::before {
41 min-width: 60px;
42 position: absolute;
43 text-align: center;
44 top: -5px;
45 transform: translateY(-100%);
46
47 @include wcfFontSmall;
48 }
49
50 &::after {
51 content: attr(data-deny);
52 right: 0;
53 }
54
55 &::before {
56 content: attr(data-grant);
57 right: 80px;
58 }
6cad44fd
AE
59
60 > li {
61 &.aclCategory {
62 padding: 20px 10px 10px 0;
63
64 @include wcfFontHeadline;
65
66 &:hover {
67 background-color: transparent;
68 }
69 }
70
71 &:not(.aclCategory) {
72 display: flex;
73 padding: 10px 0;
74 }
75
76 > span {
77 flex: 1 1 auto;
78 padding-left: 10px;
79 }
80
81 > label {
82 cursor: pointer;
83 flex: 0 0 auto;
84 padding: 0 20px;
85
86 & + label {
87 margin-left: 20px;
88 }
89 }
90 }
91}