Commit | Line | Data |
---|---|---|
6cad44fd AE |
1 | /* object list, e.g. users and groups */ |
2 | .aclList { | |
bf3aa380 MW |
3 | max-height: 400px; |
4 | overflow: auto; | |
7a44cd7c C |
5 | } |
6 | ||
7 | .aclList:not(:empty) { | |
8 | border-bottom: 1px solid var(--wcfContentBorder); | |
9 | border-top: 1px solid var(--wcfContentBorder); | |
10 | } | |
11 | ||
12 | .aclListItem { | |
13 | align-items: center; | |
14 | display: flex; | |
15 | padding: 10px 0; | |
16 | } | |
17 | ||
18 | .aclListItem:not(.active) { | |
19 | cursor: pointer; | |
20 | } | |
21 | ||
22 | .aclListItem.active { | |
23 | background-color: var(--wcfTabularBoxBackgroundActive); | |
24 | } | |
25 | ||
7813bd4a | 26 | .aclItemDeleteButton { |
7a44cd7c C |
27 | flex: 0 0 36px; |
28 | padding: 0 5px; | |
29 | } | |
30 | ||
31 | .aclLabel { | |
32 | flex: 1 1 auto; | |
33 | margin: 0 5px; | |
34 | } | |
35 | ||
36 | .aclListItem:first-child { | |
37 | border-top: none; | |
38 | } | |
39 | ||
40 | .aclListItem:last-child { | |
41 | border-bottom: none; | |
42 | } | |
8a52619a | 43 | |
7a44cd7c C |
44 | /* search input */ |
45 | .aclSearchInput { | |
46 | margin-top: 20px !important; | |
6cad44fd AE |
47 | } |
48 | ||
49 | /* permissions per object */ | |
50 | .aclPermissionList { | |
51 | margin-top: 40px; | |
f9b4f5f1 | 52 | position: relative; |
8dbf4db1 C |
53 | display: grid; |
54 | column-gap: 1px; | |
cda43639 | 55 | grid-template-columns: 10px auto repeat(3, 60px); |
8dbf4db1 | 56 | grid-template-rows: auto; |
6c9ef4ed | 57 | } |
8a52619a | 58 | |
6c9ef4ed C |
59 | .aclPermissionListItem:not(:last-child):not(:first-child) { |
60 | border-bottom: 1px solid var(--wcfContentBorderInner); | |
61 | } | |
8a52619a | 62 | |
6c9ef4ed C |
63 | .aclOption { |
64 | grid-column: 1 / span 5; | |
65 | transition: background-color 0.2s; | |
66 | padding: 10px 0; | |
67 | display: grid; | |
68 | grid-template-columns: subgrid; | |
69 | grid-template-rows: subgrid; | |
70 | } | |
8a52619a | 71 | |
6c9ef4ed C |
72 | .aclOptionTitle { |
73 | grid-column: span 2; | |
74 | grid-column-start: 2; | |
75 | } | |
8a52619a | 76 | |
6c9ef4ed C |
77 | .aclOptionInputLabel { |
78 | text-align: center; | |
79 | cursor: pointer; | |
80 | } | |
8a52619a | 81 | |
6c9ef4ed C |
82 | .aclOption:hover { |
83 | background-color: var(--wcfTabularBoxBackgroundActive); | |
84 | } | |
8dbf4db1 | 85 | |
6c9ef4ed C |
86 | .aclCategory { |
87 | grid-column: 1 / span 5; | |
88 | padding: 20px 10px 10px 0; | |
8dbf4db1 | 89 | |
6c9ef4ed C |
90 | @include wcfFontHeadline; |
91 | } | |
8dbf4db1 | 92 | |
6c9ef4ed C |
93 | .aclHeader { |
94 | grid-column: 1 / span 5; | |
95 | position: sticky; | |
96 | border-bottom: 1px solid var(--wcfContentBorder); | |
97 | top: 50px; | |
98 | background-color: var(--wcfContentContainerBackground); | |
99 | display: grid; | |
100 | grid-template-columns: subgrid; | |
101 | grid-template-rows: subgrid; | |
102 | } | |
8dbf4db1 | 103 | |
6c9ef4ed | 104 | .aclHeaderSpan { |
ee9ebe61 | 105 | padding: 10px 0; |
6c9ef4ed | 106 | text-align: center; |
ee9ebe61 | 107 | |
6c9ef4ed C |
108 | @include wcfFontSmall; |
109 | } | |
cda43639 | 110 | |
6c9ef4ed C |
111 | .aclHeaderInherited { |
112 | grid-column-start: 3; | |
113 | } | |
8a52619a | 114 | |
6c9ef4ed C |
115 | .aclHeaderGrant { |
116 | grid-column-start: 4; | |
117 | } | |
8a52619a | 118 | |
6c9ef4ed C |
119 | .aclHeaderDeny { |
120 | grid-column-start: 5; | |
6cad44fd | 121 | } |