From f0e990034d3bb7d80b584173f5fb592a16c6a24a Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 23 Jun 2015 15:46:53 +0100 Subject: [PATCH] Strip non-layout CSS to remain as style-agnostic as possible! --- themes/base/css/atoms/MessageTimestamp.css | 2 -- themes/base/css/molecules/MNoticeTile.css | 1 - themes/base/css/molecules/MessageTile.css | 1 - themes/base/css/molecules/ProgressBar.css | 5 +---- themes/base/css/molecules/RoomHeader.css | 2 -- themes/base/css/molecules/RoomTile.css | 4 ---- themes/base/css/molecules/SenderProfile.css | 2 -- themes/base/css/organisms/RoomView.css | 8 -------- themes/base/css/templates/Login.css | 6 ------ 9 files changed, 1 insertion(+), 30 deletions(-) diff --git a/themes/base/css/atoms/MessageTimestamp.css b/themes/base/css/atoms/MessageTimestamp.css index f404bb47..724da1ba 100644 --- a/themes/base/css/atoms/MessageTimestamp.css +++ b/themes/base/css/atoms/MessageTimestamp.css @@ -1,6 +1,4 @@ .mx_MessageTimestamp { - color: #777; width: 75px; - font-size: 80%; display: inline-block; } diff --git a/themes/base/css/molecules/MNoticeTile.css b/themes/base/css/molecules/MNoticeTile.css index baeeab1c..b2076780 100644 --- a/themes/base/css/molecules/MNoticeTile.css +++ b/themes/base/css/molecules/MNoticeTile.css @@ -1,3 +1,2 @@ .mx_MNoticeTile { - color: #666; } diff --git a/themes/base/css/molecules/MessageTile.css b/themes/base/css/molecules/MessageTile.css index ec4a7f64..ab099407 100644 --- a/themes/base/css/molecules/MessageTile.css +++ b/themes/base/css/molecules/MessageTile.css @@ -1,5 +1,4 @@ .mx_MessageTile { - border-bottom: 1px solid #eee; } .mx_MessageTile.sending { diff --git a/themes/base/css/molecules/ProgressBar.css b/themes/base/css/molecules/ProgressBar.css index 4fb64692..791d4b8b 100644 --- a/themes/base/css/molecules/ProgressBar.css +++ b/themes/base/css/molecules/ProgressBar.css @@ -1,12 +1,9 @@ .mx_ProgressBar { height: 5px; - border-radius: 5px; border: 1px solid black; - margin-bottom: 10px; } .mx_ProgressBar_fill { height: 100%; - background-color: #666; - transition: width 0.1s ease; + background-color: #000; } diff --git a/themes/base/css/molecules/RoomHeader.css b/themes/base/css/molecules/RoomHeader.css index 856bc1d4..699026c8 100644 --- a/themes/base/css/molecules/RoomHeader.css +++ b/themes/base/css/molecules/RoomHeader.css @@ -1,6 +1,4 @@ .mx_RoomHeader { - background-color: #eee; - font-weight: bold; height: 1em; padding: 0px; } diff --git a/themes/base/css/molecules/RoomTile.css b/themes/base/css/molecules/RoomTile.css index 50a7157b..26bb3c05 100644 --- a/themes/base/css/molecules/RoomTile.css +++ b/themes/base/css/molecules/RoomTile.css @@ -1,12 +1,9 @@ .mx_RoomTile { height: 20px; - background-color: #ddd; margin-top: 1px; margin-bottom: 1px; padding: 5px; cursor: pointer; - border: 2px solid white; - transition: background-color 0.1s ease; } .mx_RoomTile.selected { @@ -32,5 +29,4 @@ } .mx_RoomTile:hover { - background-color: #ff8; } diff --git a/themes/base/css/molecules/SenderProfile.css b/themes/base/css/molecules/SenderProfile.css index 3c7b4637..08d5f16a 100644 --- a/themes/base/css/molecules/SenderProfile.css +++ b/themes/base/css/molecules/SenderProfile.css @@ -1,6 +1,4 @@ .mx_SenderProfile { display: inline-block; width: 150px; - color: #444; - font-size: 80%; } diff --git a/themes/base/css/organisms/RoomView.css b/themes/base/css/organisms/RoomView.css index 5599039e..87a1929a 100644 --- a/themes/base/css/organisms/RoomView.css +++ b/themes/base/css/organisms/RoomView.css @@ -25,14 +25,6 @@ } .mx_RoomView .mx_RoomView_invitePrompt { - text-align: center; - background-color: #ddd; - border: 1px solid black; - width: 400px; - margin-left: auto; - margin-right: auto; - margin-top: 200px; - padding: 50px; } .mx_RoomView .mx_MemberList { diff --git a/themes/base/css/templates/Login.css b/themes/base/css/templates/Login.css index 4596edd1..86f0f09c 100644 --- a/themes/base/css/templates/Login.css +++ b/themes/base/css/templates/Login.css @@ -1,12 +1,6 @@ .mx_Login { width: 600px; height: 350px; - margin-left: auto; - margin-right: auto; - padding: 10px; - text-align: center; - background-color: #eee; - border: 1px solid black; position: relative; }