diff --git a/src/assets/images/icons/chat-history.png b/src/assets/images/icons/chat-history.png new file mode 100644 index 00000000..da51f37e Binary files /dev/null and b/src/assets/images/icons/chat-history.png differ diff --git a/src/assets/images/icons/cog.png b/src/assets/images/icons/cog.png new file mode 100644 index 00000000..b7101d71 Binary files /dev/null and b/src/assets/images/icons/cog.png differ diff --git a/src/assets/images/icons/like-room.png b/src/assets/images/icons/like-room.png new file mode 100644 index 00000000..1c13cd85 Binary files /dev/null and b/src/assets/images/icons/like-room.png differ diff --git a/src/assets/images/icons/room-link.png b/src/assets/images/icons/room-link.png new file mode 100644 index 00000000..efbebf4a Binary files /dev/null and b/src/assets/images/icons/room-link.png differ diff --git a/src/assets/images/icons/small-room.png b/src/assets/images/icons/small-room.png new file mode 100644 index 00000000..c8bbbccc Binary files /dev/null and b/src/assets/images/icons/small-room.png differ diff --git a/src/assets/images/icons/zoom-less.png b/src/assets/images/icons/zoom-less.png new file mode 100644 index 00000000..36423da8 Binary files /dev/null and b/src/assets/images/icons/zoom-less.png differ diff --git a/src/assets/images/icons/zoom-more.png b/src/assets/images/icons/zoom-more.png new file mode 100644 index 00000000..c14a9e8d Binary files /dev/null and b/src/assets/images/icons/zoom-more.png differ diff --git a/src/assets/styles/icons.scss b/src/assets/styles/icons.scss index a53d7b2b..e73bd296 100644 --- a/src/assets/styles/icons.scss +++ b/src/assets/styles/icons.scss @@ -303,6 +303,48 @@ height: 15px; } + &.icon-small-room { + background: url("../images/icons/small-room.png"); + width: 17px; + height: 16px; + } + + &.icon-cog { + background: url("../images/icons/cog.png"); + width: 21px; + height: 21px; + } + + &.icon-chat-history { + background: url("../images/icons/chat-history.png"); + width: 17px; + height: 21px; + } + + &.icon-room-link { + background: url("../images/icons/room-link.png"); + width: 17px; + height: 15px; + } + + &.icon-zoom-more { + background: url("../images/icons/zoom-more.png"); + width: 12px; + height: 22px; + } + + &.icon-zoom-less { + background: url("../images/icons/zoom-less.png"); + width: 12px; + height: 22px; + } + + &.icon-like-room { + background: url("../images/icons/like-room.png"); + width: 20px; + height: 22px; + } + &.icon-arrows { background: url("../images/icons/arrows.png"); width: 17px; diff --git a/src/views/chat-history/ChatHistoryView.tsx b/src/views/chat-history/ChatHistoryView.tsx index f80ddbbd..acb432ea 100644 --- a/src/views/chat-history/ChatHistoryView.tsx +++ b/src/views/chat-history/ChatHistoryView.tsx @@ -80,18 +80,19 @@ export const ChatHistoryView: FC<{}> = props => parent={props.parent} rowIndex={props.index} > -
+
{(item.type === ChatEntryType.TYPE_CHAT) && -
-
{item.timestamp}
-
-
{item.message}
+
+
{item.timestamp}
+
+
{item.message}
} {(item.type === ChatEntryType.TYPE_ROOM_INFO) && -
-
{item.timestamp}
-
{item.name}
+
+
{item.timestamp}
+ +
{item.name}
} @@ -134,9 +135,9 @@ export const ChatHistoryView: FC<{}> = props => {isVisible && - + setIsVisible(false) } theme={'dark'}/> - +
{({ height, width }) => diff --git a/src/views/floorplan-editor/FloorplanEditorView.tsx b/src/views/floorplan-editor/FloorplanEditorView.tsx index 48a7d34b..67778b47 100644 --- a/src/views/floorplan-editor/FloorplanEditorView.tsx +++ b/src/views/floorplan-editor/FloorplanEditorView.tsx @@ -122,7 +122,7 @@ export const FloorplanEditorView: FC<{}> = props => <> {isVisible && - + setIsVisible(false)} /> diff --git a/src/views/floorplan-editor/common/FloorplanEditor.ts b/src/views/floorplan-editor/common/FloorplanEditor.ts index 7d1aad13..06e37db6 100644 --- a/src/views/floorplan-editor/common/FloorplanEditor.ts +++ b/src/views/floorplan-editor/common/FloorplanEditor.ts @@ -30,7 +30,7 @@ export class FloorplanEditor extends PixiApplicationProxy super({ width: width, height: height, - backgroundColor: 0x2b2b2b, + backgroundColor: 0x000000, antialias: true, autoDensity: true, resolution: 1, diff --git a/src/views/floorplan-editor/views/FloorplanCanvasView.tsx b/src/views/floorplan-editor/views/FloorplanCanvasView.tsx index a52fae94..870b8c79 100644 --- a/src/views/floorplan-editor/views/FloorplanCanvasView.tsx +++ b/src/views/floorplan-editor/views/FloorplanCanvasView.tsx @@ -105,7 +105,9 @@ export const FloorplanCanvasView: FC<{}> = props =>
-
+
+
+
diff --git a/src/views/room/widgets/room-tools/RoomToolsWidgetView.scss b/src/views/room/widgets/room-tools/RoomToolsWidgetView.scss index 51e42d8f..044a286b 100644 --- a/src/views/room/widgets/room-tools/RoomToolsWidgetView.scss +++ b/src/views/room/widgets/room-tools/RoomToolsWidgetView.scss @@ -1,7 +1,7 @@ .nitro-room-tools { position: absolute; bottom: 125px; - left: -133px; + left: -145px; background: rgba($dark,.95); box-shadow: inset 0px 5px lighten(rgba($dark,.6),2.5), inset 0 -4px darken(rgba($dark,.6),4); border-top-right-radius: $border-radius; @@ -36,4 +36,16 @@ opacity: .5; } } + + .tools-item { + .icon { + width: 22px; + background-repeat: no-repeat; + background-position: center; + } + + &:hover { + text-decoration: underline; + } + } } diff --git a/src/views/room/widgets/room-tools/RoomToolsWidgetView.tsx b/src/views/room/widgets/room-tools/RoomToolsWidgetView.tsx index d52ef382..d9e9b6e8 100644 --- a/src/views/room/widgets/room-tools/RoomToolsWidgetView.tsx +++ b/src/views/room/widgets/room-tools/RoomToolsWidgetView.tsx @@ -45,21 +45,21 @@ export const RoomToolsWidgetView: FC<{}> = props => return (
-
-
handleToolClick('settings') }> - { LocalizeText('room.settings.button.text') } +
+
handleToolClick('settings') }> + { LocalizeText('room.settings.button.text') }
-
handleToolClick('zoom') }> - { LocalizeText('room.zoom.button.text') } +
handleToolClick('zoom') }> + { LocalizeText('room.zoom.button.text') }
-
handleToolClick('chat_history') }> - { LocalizeText('room.chathistory.button.text') } +
handleToolClick('chat_history') }> + { LocalizeText('room.chathistory.button.text') }
-
handleToolClick('like_room') }> - { LocalizeText('room.like.button.text') } +
handleToolClick('like_room') }> + { LocalizeText('room.like.button.text') }
-
handleToolClick('toggle_room_link') }> - { LocalizeText('navigator.embed.caption') } +
handleToolClick('toggle_room_link') }> + { LocalizeText('navigator.embed.caption') }
setIsExpanded(value => !value)}>