mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #5417 from vector-im/luke/groups-settings-privileged-only
CSS for preventing editing of UI requiring user privilege if user unprivileged
This commit is contained in:
commit
f258b3253f
@ -159,8 +159,12 @@ limitations under the License.
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.mx_GroupView_rooms_header h3 {
|
||||
margin-bottom: 10px
|
||||
.mx_GroupView h3 {
|
||||
text-transform: uppercase;
|
||||
color: $h3-color;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mx_GroupView_rooms_header .mx_AccessibleButton {
|
||||
@ -169,15 +173,24 @@ limitations under the License.
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.mx_GroupView_rooms_header_addButton {
|
||||
display: inline-block;
|
||||
.mx_GroupView_group {
|
||||
border-top: 1px solid $primary-hairline-color;
|
||||
}
|
||||
|
||||
.mx_GroupView_rooms_header_addButton object {
|
||||
.mx_GroupView_group_disabled {
|
||||
opacity: 0.3;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.mx_GroupView_rooms_header_addButton_label {
|
||||
.mx_GroupView_rooms_header_addRow_button {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.mx_GroupView_rooms_header_addRow_button object {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.mx_GroupView_rooms_header_addRow_label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
line-height: 24px;
|
||||
@ -222,14 +235,6 @@ limitations under the License.
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.mx_GroupView_memberSettings h3 {
|
||||
text-transform: uppercase;
|
||||
color: $h3-color;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mx_GroupView_memberSettings input {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user