From 4a657b279d257a847978a4379cce4c632beb6e97 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Sun, 16 Jun 2019 15:21:20 +0200 Subject: [PATCH] apply css from prototype, other small changes, keep scroll at bottom --- index.html | 49 +----------- src/domain/session/avatar.js | 4 + src/domain/session/room/RoomViewModel.js | 7 +- .../room/timeline/tiles/MessageTile.js | 2 +- .../room/timeline/tiles/RoomMemberTile.js | 15 +++- .../session/room/timeline/tiles/TextTile.js | 4 +- .../session/roomlist/RoomTileViewModel.js | 6 ++ src/ui/web/css/avatar.css | 27 +++++++ src/ui/web/css/layout.css | 56 ++++++++++++++ src/ui/web/css/left-panel.css | 47 ++++++++++++ src/ui/web/css/main.css | 21 ++++++ src/ui/web/css/room.css | 65 ++++++++++++++++ src/ui/web/css/timeline.css | 74 +++++++++++++++++++ src/ui/web/general/ListView.js | 18 ++++- src/ui/web/general/TemplateView.js | 2 +- src/ui/web/general/html.js | 2 +- src/ui/web/session/RoomPlaceholderView.js | 2 +- src/ui/web/session/RoomTile.js | 5 +- src/ui/web/session/SessionView.js | 4 +- src/ui/web/session/SyncStatusBar.js | 1 + src/ui/web/session/room/RoomView.js | 70 ++++++++---------- src/ui/web/session/room/TimelineList.js | 31 ++++++++ ...AnnoucementView.js => AnnouncementView.js} | 2 +- .../session/room/timeline/TextMessageView.js | 1 + 24 files changed, 415 insertions(+), 100 deletions(-) create mode 100644 src/domain/session/avatar.js create mode 100644 src/ui/web/css/avatar.css create mode 100644 src/ui/web/css/layout.css create mode 100644 src/ui/web/css/left-panel.css create mode 100644 src/ui/web/css/main.css create mode 100644 src/ui/web/css/room.css create mode 100644 src/ui/web/css/timeline.css create mode 100644 src/ui/web/session/room/TimelineList.js rename src/ui/web/session/room/timeline/{AnnoucementView.js => AnnouncementView.js} (63%) diff --git a/index.html b/index.html index 0ab41b2d..8ae1e5cf 100644 --- a/index.html +++ b/index.html @@ -2,54 +2,7 @@ - +