From 5248b0c6319ae2cd06e8a8bdd2ba19c8d58bcba3 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 23 Jul 2015 10:24:34 -0700 Subject: [PATCH] css prettification --- skins/base/css/organisms/RoomDirectory.css | 26 +++++++++++++++ skins/base/views/organisms/CreateRoom.js | 32 ++++++++++++------ skins/base/views/organisms/RoomDirectory.js | 36 +++++++++++---------- skins/base/views/templates/Login.js | 2 +- skins/base/views/templates/Register.js | 2 +- 5 files changed, 69 insertions(+), 29 deletions(-) diff --git a/skins/base/css/organisms/RoomDirectory.css b/skins/base/css/organisms/RoomDirectory.css index 1be87c1f..c8dcd077 100644 --- a/skins/base/css/organisms/RoomDirectory.css +++ b/skins/base/css/organisms/RoomDirectory.css @@ -18,6 +18,7 @@ limitations under the License. width: 720px; margin-left: auto; margin-right: auto; + color: #4a4a4a; } .mx_RoomDirectory_input { @@ -31,8 +32,33 @@ limitations under the License. margin-bottom: 12px; } +.mx_RoomDirectory_tableWrapper { + overflow-y: scroll; + height: 400px; +} + .mx_RoomDirectory_table { width: 100%; + text-align: left; +} + +.mx_RoomDirectory_table th { + font-weight: 400; + font-size: 12px; +} + +.mx_RoomDirectory_table td { + font-weight: 300; + font-size: 16px; +} + +.mx_RoomDirectory_table .mx_RoomDirectory_name { + font-weight: 400; +} + +.mx_RoomDirectory_table .mx_RoomDirectory_topic { + font-weight: 400; + font-size: 12px; } .mx_RoomDirectory_table td, diff --git a/skins/base/views/organisms/CreateRoom.js b/skins/base/views/organisms/CreateRoom.js index 21769621..f44e745c 100644 --- a/skins/base/views/organisms/CreateRoom.js +++ b/skins/base/views/organisms/CreateRoom.js @@ -28,6 +28,7 @@ var CreateRoomButton = ComponentBroker.get("atoms/create_room/CreateRoomButton") var RoomAlias = ComponentBroker.get("atoms/create_room/RoomAlias"); var Presets = ComponentBroker.get("atoms/create_room/Presets"); var UserSelector = ComponentBroker.get("molecules/UserSelector"); +var RoomHeader = ComponentBroker.get("molecules/RoomHeader"); var Loader = require("react-loader"); @@ -141,16 +142,27 @@ module.exports = React.createClass({ } return (
-
-