From 1d5e661bd027f5a33da7ece3fb8942fdc5fe3307 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 13 Jan 2016 15:56:44 +0000 Subject: [PATCH 1/2] Split out css for new PresenceLabel --- .../views/rooms/MemberTile.css | 5 ----- .../views/rooms/PresenceLabel.css | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 src/skins/vector/css/matrix-react-sdk/views/rooms/PresenceLabel.css diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberTile.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberTile.css index 851e460c..adfb5554 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberTile.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberTile.css @@ -60,11 +60,6 @@ limitations under the License. text-overflow: ellipsis; } -.mx_MemberTile_presence { - font-size: 11px; - opacity: 0.5; -} - .mx_MemberTile_chevron { margin-top: 8px; margin-right: -4px; diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/PresenceLabel.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/PresenceLabel.css new file mode 100644 index 00000000..f66e2d95 --- /dev/null +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/PresenceLabel.css @@ -0,0 +1,20 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +.mx_PresenceLabel { + font-size: 11px; + opacity: 0.5; +} \ No newline at end of file From 927ac5fe645b2f67a2703553a6798e2b86c41e68 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 14 Jan 2016 10:45:38 +0000 Subject: [PATCH 2/2] 2016 only --- .../vector/css/matrix-react-sdk/views/rooms/PresenceLabel.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/PresenceLabel.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/PresenceLabel.css index f66e2d95..682c849c 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/PresenceLabel.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/PresenceLabel.css @@ -1,5 +1,5 @@ /* -Copyright 2015, 2016 OpenMarket Ltd +Copyright 2016 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.