factor out remaining # colours

This commit is contained in:
Matthew Hodgson 2017-01-16 23:13:47 +00:00
parent cab5bf8849
commit 87fd136e21
14 changed files with 51 additions and 47 deletions

View File

@ -77,12 +77,12 @@ limitations under the License.
.mx_EntityTile_ellipsis .mx_EntityTile_name { .mx_EntityTile_ellipsis .mx_EntityTile_name {
font-style: italic; font-style: italic;
font-color: $primary-fg-color; color: $primary-fg-color;
} }
.mx_EntityTile_invitePlaceholder .mx_EntityTile_name { .mx_EntityTile_invitePlaceholder .mx_EntityTile_name {
font-style: italic; font-style: italic;
font-color: $primary-fg-color; color: $primary-fg-color;
} }
.mx_EntityTile_unavailable .mx_EntityTile_avatar, .mx_EntityTile_unavailable .mx_EntityTile_avatar,

View File

@ -19,8 +19,8 @@ limitations under the License.
margin-right: 15px; margin-right: 15px;
margin-bottom: 15px; margin-bottom: 15px;
display: flex; display: flex;
border-left: 4px solid #ddd; border-left: 4px solid $preview-widget-bar-color;
color: #888; color: $preview-widget-fg-color;
} }
.mx_LinkPreviewWidget_image { .mx_LinkPreviewWidget_image {

View File

@ -69,7 +69,6 @@ limitations under the License.
} }
.mx_MemberInfo_profileField { .mx_MemberInfo_profileField {
font-color: #999999;
font-size: 13px; font-size: 13px;
position: relative; position: relative;
background-color: $primary-bg-color; background-color: $primary-bg-color;

View File

@ -57,7 +57,7 @@ limitations under the License.
height: 60px; height: 60px;
text-align: center; text-align: center;
font-style: italic; font-style: italic;
color: #888; color: $greyed-fg-color;
} }
.mx_MessageComposer_input_wrapper { .mx_MessageComposer_input_wrapper {
@ -90,10 +90,10 @@ limitations under the License.
} }
.mx_MessageComposer_input blockquote { .mx_MessageComposer_input blockquote {
color: rgb(119, 119, 119); color: $blockquote-fg-color;
margin: 0 0 16px; margin: 0 0 16px;
padding: 0 15px; padding: 0 15px;
border-left: 4px solid rgb(221, 221, 221); border-left: 4px solid $blockquote-bar-color;
} }
.mx_MessageComposer_input textarea { .mx_MessageComposer_input textarea {
@ -151,7 +151,7 @@ limitations under the License.
.mx_MessageComposer_formatbar_wrapper { .mx_MessageComposer_formatbar_wrapper {
width: 100%; width: 100%;
background-color: #f7f7f7; background-color: $menu-bg-color;
box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.08); box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.08);
} }
@ -168,7 +168,7 @@ limitations under the License.
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
font-size: 10px; font-size: 10px;
color: #888; color: $greyed-fg-color;
} }
.mx_MessageComposer_formatbar * { .mx_MessageComposer_formatbar * {

View File

@ -16,7 +16,6 @@ limitations under the License.
/* add 20px to the height of the header when editing */ /* add 20px to the height of the header when editing */
.mx_RoomHeader_editing { .mx_RoomHeader_editing {
-webit-flex: 0 0 93px ! important;
flex: 0 0 93px ! important; flex: 0 0 93px ! important;
} }
@ -24,25 +23,19 @@ limitations under the License.
max-width: 960px; max-width: 960px;
margin: auto; margin: auto;
height: 70px; height: 70px;
align-items: center; align-items: center;
display: flex; display: flex;
} }
.mx_RoomHeader_leftRow { .mx_RoomHeader_leftRow {
margin-left: -2px; margin-left: -2px;
order: 1; order: 1;
flex: 1; flex: 1;
} }
.mx_RoomHeader_spinner { .mx_RoomHeader_spinner {
height: 36px; height: 36px;
order: 2; order: 2;
padding-left: 12px; padding-left: 12px;
padding-right: 12px; padding-right: 12px;
} }
@ -56,9 +49,7 @@ limitations under the License.
line-height: 34px; line-height: 34px;
margin-top: -2px; margin-top: -2px;
text-align: center; text-align: center;
order: 2; order: 2;
cursor: pointer; cursor: pointer;
/* /*
@ -70,9 +61,7 @@ limitations under the License.
.mx_RoomHeader_cancelButton { .mx_RoomHeader_cancelButton {
order: 2; order: 2;
cursor: pointer; cursor: pointer;
padding-left: 12px; padding-left: 12px;
padding-right: 12px; padding-right: 12px;
} }
@ -126,7 +115,7 @@ limitations under the License.
} }
.mx_RoomHeader_settingsHint { .mx_RoomHeader_settingsHint {
color: #a2a2a2 ! important; color: $settings-grey-fg-color ! important;
} }
.mx_RoomHeader_searchStatus { .mx_RoomHeader_searchStatus {
@ -151,7 +140,7 @@ limitations under the License.
} }
.mx_RoomHeader_placeholder { .mx_RoomHeader_placeholder {
color: #a2a2a2 ! important; color: $settings-grey-fg-color ! important;
} }
.mx_RoomHeader_editable { .mx_RoomHeader_editable {
@ -170,7 +159,7 @@ limitations under the License.
vertical-align: bottom; vertical-align: bottom;
float: left; float: left;
max-height: 42px; max-height: 42px;
color: #A2A2A2; color: $settings-grey-fg-color;
font-weight: 300; font-weight: 300;
font-size: 13px; font-size: 13px;
margin-left: 19px; margin-left: 19px;

View File

@ -17,13 +17,9 @@ limitations under the License.
.mx_RoomPreviewBar { .mx_RoomPreviewBar {
text-align: center; text-align: center;
height: 176px; height: 176px;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
display: flex; display: flex;
} }
@ -40,7 +36,7 @@ limitations under the License.
.mx_RoomPreviewBar_preview_text { .mx_RoomPreviewBar_preview_text {
margin-top: 25px; margin-top: 25px;
color: #a4a4a4; color: $settings-grey-fg-color;
} }
.mx_RoomPreviewBar_join_text a { .mx_RoomPreviewBar_join_text a {

View File

@ -205,7 +205,7 @@ limitations under the License.
} }
.mx_RoomSettings_aliasPlaceholder { .mx_RoomSettings_aliasPlaceholder {
color: #a2a2a2; color: $settings-grey-fg-color;
} }
.mx_RoomSettings_buttons { .mx_RoomSettings_buttons {

View File

@ -69,8 +69,8 @@ limitations under the License.
.mx_SearchableEntityList hr { .mx_SearchableEntityList hr {
height: 1px; height: 1px;
border: 0px; border: 0px;
color: #e1dddd; color: $primary-fg-color;
background-color: #e1dddd; background-color: $primary-fg-color;
margin-right: 15px; margin-right: 15px;
margin-top: 11px; margin-top: 11px;
margin-bottom: 11px; margin-bottom: 11px;

View File

@ -61,9 +61,9 @@ limitations under the License.
} }
.mx_IncomingCallBox_buttons_decline { .mx_IncomingCallBox_buttons_decline {
background-color: #f48080; background-color: $voip-decline-color;
} }
.mx_IncomingCallBox_buttons_accept { .mx_IncomingCallBox_buttons_accept {
background-color: #80f480; background-color: $voip-accept-color;
} }

View File

@ -55,6 +55,19 @@ $h3-color: #3d3b39;
$dialog-background-bg-color: #e9e9e9; $dialog-background-bg-color: #e9e9e9;
$lightbox-background-bg-color: #000; $lightbox-background-bg-color: #000;
$greyed-fg-color: #888;
$preview-widget-bar-color: #ddd;
$preview-widget-fg-color: $greyed-fg-color;
$blockquote-bar-color: #ddd;
$blockquote-fg-color: #777;
$settings-grey-fg-color: #a2a2a2;
$voip-decline-color: #f48080;
$voip-accept-color: #80f480;
// ******************** // ********************
$roomtile-name-color: rgba(69, 69, 69, 0.8); $roomtile-name-color: rgba(69, 69, 69, 0.8);

View File

@ -55,6 +55,19 @@ $h3-color: $primary-fg-color;
$dialog-background-bg-color: #000; $dialog-background-bg-color: #000;
$lightbox-background-bg-color: #000; $lightbox-background-bg-color: #000;
$greyed-fg-color: #888;
$preview-widget-bar-color: $menu-bg-color;
$preview-widget-fg-color: $greyed-fg-color;
$blockquote-bar-color: #ddd;
$blockquote-fg-color: #777;
$settings-grey-fg-color: #a2a2a2;
$voip-decline-color: #f48080;
$voip-accept-color: #80f480;
// ******************** // ********************
$roomtile-name-color: rgba(186, 186, 186, 0.8); $roomtile-name-color: rgba(186, 186, 186, 0.8);

View File

@ -101,7 +101,7 @@ limitations under the License.
text-transform: uppercase; text-transform: uppercase;
font-weight: 600; font-weight: 600;
font-size: 11px; font-size: 11px;
color: #61c295; color: $accent-fg-color;
} }
.mx_RoomDirectory_topic { .mx_RoomDirectory_topic {
@ -110,7 +110,7 @@ limitations under the License.
.mx_RoomDirectory_alias { .mx_RoomDirectory_alias {
font-size: 12px; font-size: 12px;
color: #b3b3b3; color: $settings-grey-fg-color;
} }
.mx_RoomDirectory_roomMemberCount { .mx_RoomDirectory_roomMemberCount {

View File

@ -70,8 +70,7 @@ limitations under the License.
border-right-style: none; border-right-style: none;
border-top-style: solid; border-top-style: solid;
border-top-width: 1px; border-top-width: 1px;
border-color: #bbbbbb; border-color: $menu-border-color;
opacity: 0.4;
} }
.mx_RoomTagContextMenu_fieldSet .mx_RoomTagContextMenu_icon { .mx_RoomTagContextMenu_fieldSet .mx_RoomTagContextMenu_icon {

View File

@ -29,10 +29,8 @@ limitations under the License.
order: 1; order: 1;
flex: 1 1 10%; flex: 1 1 10%;
min-width: 60px; min-width: 60px;
/* // background-color: #080;
background-color: #080; // height: 20px;
height: 20px;
*/
} }
.mx_ImageView_content { .mx_ImageView_content {
@ -41,7 +39,6 @@ limitations under the License.
min-width: 0px; min-width: 0px;
height: 90%; height: 90%;
flex: 15 15 0; flex: 15 15 0;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -132,8 +129,6 @@ limitations under the License.
order: 3; order: 3;
flex: 1 1 10%; flex: 1 1 10%;
min-width: 300px; min-width: 300px;
/* // background-color: #800;
background-color: #800; // height: 20px;
height: 20px;
*/
} }