Skip to content

Commit

Permalink
style: missing icon and adapt dialog style to NC30
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien Marinier <[email protected]>
  • Loading branch information
smarinier committed Oct 25, 2024
1 parent 71b2ac3 commit 7a27041
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
17 changes: 16 additions & 1 deletion ts/Manager/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,22 @@

.oc-dialog.bbb-dialog {
max-height: calc(100% - 70px);
margin-top: 25px;
margin-top: 0;
padding: 4px 24px;
}

.bbb-dialog {

.oc-dialog-title {
font-size: 21px;
text-align: center;
margin-top: 0;
}

.oc-dialog-close {
padding: 0;
top: 0;
}
}

.bbb-mb-1 {
Expand Down
3 changes: 2 additions & 1 deletion ts/Manager/RoomRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,15 @@ const RoomRow: React.FC<Props> = (props) => {
function accessToIcon(access: string) {
switch(access) {
case Access.Public:
return <span className="icon icon-visible icon-link" title={AccessOptions[access]} />;
return <span className="icon icon-visible icon-public" title={AccessOptions[access]} />;
case Access.Password:
return <span className="icon icon-visible icon-password" title={AccessOptions[access]} />;
case Access.Internal:
return <span className="icon icon-visible icon-group" title={AccessOptions[access]} />;
case Access.InternalRestricted:
return <span className="icon icon-visible icon-user" title={AccessOptions[access]} />;
case Access.WaitingRoom:
case Access.WaitingRoomAll:
return <span className="icon icon-visible icon-timezone" title={AccessOptions[access]} />;
}

Expand Down
4 changes: 2 additions & 2 deletions ts/Manager/ShareWith.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ const ShareWith: React.FC<Props> = ({ room, permission, shares: allShares, setSh
{share.shareType === ShareType.Circle && <span className="icon-circle-white"></span>}
</div>
<div className="bbb-shareWith__item__label">
<h5>{displayName}
<span>{displayName}
{(share.id === ROOM_OWNER_ID || !isOwner) && (' (' + permissionLabel(share.permission) + ')')}
</h5>
</span>
</div>
{(share.id > ROOM_OWNER_ID && isOwner) && selectPermission(share.permission, (value) => {
setSharePermission(share, value);
Expand Down

0 comments on commit 7a27041

Please sign in to comment.