more factoring

This commit is contained in:
Matthew Hodgson 2017-01-17 02:00:34 +00:00
parent 87fd136e21
commit 4f8d3b0e2b
6 changed files with 10 additions and 5 deletions

View File

@ -266,12 +266,12 @@ textarea {
::-moz-selection { ::-moz-selection {
background-color: $accent-color; background-color: $accent-color;
color: white; color: $selection-fg-color;
} }
::selection { ::selection {
background-color: $accent-color; background-color: $accent-color;
color: white; color: $selection-fg-color;
} }
/** green button with rounded corners */ /** green button with rounded corners */

View File

@ -46,7 +46,7 @@ limitations under the License.
border-top-left-radius: 10px; border-top-left-radius: 10px;
border-top-right-radius: 10px; border-top-right-radius: 10px;
background-color: rgba(255, 255, 255, 0.9); background-color: $droptarget-bg-color;
border: 2px #e1dddd solid; border: 2px #e1dddd solid;
border-bottom: none; border-bottom: none;
position: absolute; position: absolute;

View File

@ -13,6 +13,8 @@ $focus-bg-color: #dddddd;
$accent-fg-color: #ffffff; $accent-fg-color: #ffffff;
$accent-color: #76CFA6; $accent-color: #76CFA6;
$selection-fg-color: $primary-bg-color;
// red warning colour // red warning colour
$warning-color: #ff0064; $warning-color: #ff0064;

View File

@ -13,6 +13,8 @@ $light-fg-color: #747474;
$accent-fg-color: $primary-bg-color; $accent-fg-color: $primary-bg-color;
$accent-color: #76CFA6; $accent-color: #76CFA6;
$selection-fg-color: $primary-bg-color;
// red warning colour // red warning colour
$warning-color: #ff0064; $warning-color: #ff0064;

View File

@ -58,7 +58,8 @@ limitations under the License.
width: 25px; width: 25px;
height: 5px; height: 5px;
border-radius: 5px; border-radius: 5px;
background-color: rgba(118, 207, 166, 0.2); background-color: $accent-color;
opacity: 0.2;
} }
.mx_RightPanel_headerButton_badge { .mx_RightPanel_headerButton_badge {

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: $accent-fg-color; color: $accent-color;
} }
.mx_RoomDirectory_topic { .mx_RoomDirectory_topic {