From f89fe4fff8d0cd9b6c1b623d81e3a29ade91ccbd Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 3 Mar 2016 14:37:11 +0000 Subject: [PATCH] when we set an explicit form foreground colour, set an explicit background one too to prevent system-level dark themes on Linux etc making the foreground text unreadable --- src/skins/vector/css/common.css | 1 + .../views/dialogs/SetDisplayNameDialog.css | 1 + .../matrix-react-sdk/views/rooms/MessageComposer.css | 1 + .../matrix-react-sdk/views/rooms/RoomSettings.css | 12 ------------ .../views/rooms/SearchableEntityList.css | 1 + 5 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/skins/vector/css/common.css b/src/skins/vector/css/common.css index 53ab57fe..cd59887b 100644 --- a/src/skins/vector/css/common.css +++ b/src/skins/vector/css/common.css @@ -207,4 +207,5 @@ input[type=text]:focus, textarea:focus { border: 1px solid #f0f0f0; padding: 9px; color: #454545; + background-color: #fff; } diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/SetDisplayNameDialog.css b/src/skins/vector/css/matrix-react-sdk/views/dialogs/SetDisplayNameDialog.css index 66a79672..68409a80 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/SetDisplayNameDialog.css +++ b/src/skins/vector/css/matrix-react-sdk/views/dialogs/SetDisplayNameDialog.css @@ -19,5 +19,6 @@ limitations under the License. border: 1px solid #f0f0f0; padding: 9px; color: #454545; + background-color: #fff; font-size: 15px; } \ No newline at end of file diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css index 6eca5415..8488881d 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css @@ -57,6 +57,7 @@ limitations under the License. -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; + background-color: #fff; /* needed for FF */ font-family: 'Open Sans', Arial, Helvetica, Sans-Serif; diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css index 172da8eb..43cc36d4 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css @@ -47,18 +47,6 @@ limitations under the License. margin-bottom: 10px; } -/* -.mx_RoomSettings input, -.mx_RoomSettings textarea { - border-radius: 3px; - border: 1px solid #c7c7c7; - font-weight: 300; - font-size: 13px; - padding: 9px; - margin-top: 6px; -} -*/ - .mx_RoomSettings .mx_RoomSettings_toggles label { margin-bottom: 8px; display: block; diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/SearchableEntityList.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/SearchableEntityList.css index 0d7639bf..bf5ebe84 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/SearchableEntityList.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/SearchableEntityList.css @@ -28,6 +28,7 @@ limitations under the License. border: 1px solid #f0f0f0; padding: 9px; color: #454545; + background-color: #fff; margin-left: 3px; font-size: 15px; margin-bottom: 8px;