mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-17 21:53:03 +05:30
#48: light -> white
This commit is contained in:
parent
e48fca63b9
commit
0d8696b4f7
@ -3,7 +3,7 @@ import React, { Component, PropTypes } from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { FormattedMessage as Message } from 'react-intl';
|
||||
|
||||
import { skins, SKIN_DARK, COLOR_LIGHT } from 'components/ui';
|
||||
import { skins, SKIN_DARK, COLOR_WHITE } from 'components/ui';
|
||||
import { Button } from 'components/ui/form';
|
||||
|
||||
import styles from './accountSwitcher.scss';
|
||||
@ -114,7 +114,7 @@ export default class AccountSwitcher extends Component {
|
||||
{allowAdd ? (
|
||||
<div>
|
||||
<Button
|
||||
color={COLOR_LIGHT}
|
||||
color={COLOR_WHITE}
|
||||
block
|
||||
small
|
||||
className={styles.addAccount}
|
||||
|
@ -44,11 +44,11 @@ $lightBorderColor: #EEE;
|
||||
transition: .25s;
|
||||
|
||||
&:hover {
|
||||
background-color: $lightButtonLight;
|
||||
background-color: $whiteButtonLight;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: $lightButtonDark;
|
||||
background-color: $whiteButtonDark;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
||||
transition: .2s;
|
||||
|
||||
&:hover {
|
||||
background: $lightButtonLight;
|
||||
background: $whiteButtonLight;
|
||||
color: #262626;
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@ $formColumnWidth: 416px;
|
||||
.paramEditIcon {
|
||||
composes: pencil from 'components/ui/icons.scss';
|
||||
|
||||
color: $light;
|
||||
color: $white;
|
||||
transition: .4s;
|
||||
|
||||
a:hover & {
|
||||
|
@ -51,7 +51,7 @@
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.light {
|
||||
.white {
|
||||
composes: button;
|
||||
|
||||
background-color: #fff;
|
||||
@ -59,11 +59,11 @@
|
||||
|
||||
&:hover {
|
||||
color: #262626;
|
||||
background-color: $lightButtonLight;
|
||||
background-color: $whiteButtonLight;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: $lightButtonDark;
|
||||
background-color: $whiteButtonDark;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,13 +5,13 @@ $violet: #6b5b8c;
|
||||
$dark_blue: #28555b;
|
||||
$light_violet: #8b5d79;
|
||||
$orange: #dd8650;
|
||||
$light: #ebe8e1;
|
||||
$white: #ebe8e1;
|
||||
|
||||
$black: #232323;
|
||||
|
||||
$defaultButtonTextColor : #fff;
|
||||
$lightButtonLight: #f5f5f5;
|
||||
$lightButtonDark: #f5f5f5; // TODO: найти оптимальный цвет для прожатого состояния
|
||||
$whiteButtonLight: #f5f5f5;
|
||||
$whiteButtonDark: #f5f5f5; // TODO: найти оптимальный цвет для прожатого состояния
|
||||
|
||||
@function darker($color) {
|
||||
$elyColorsMap : (
|
||||
|
@ -9,7 +9,7 @@ export const COLOR_LIGHT_VIOLET = 'lightViolet';
|
||||
export const COLOR_ORANGE = 'orange';
|
||||
export const COLOR_RED = 'red';
|
||||
export const COLOR_BLACK = 'black';
|
||||
export const COLOR_LIGHT = 'light';
|
||||
export const COLOR_WHITE = 'white';
|
||||
|
||||
export const colors = [
|
||||
COLOR_GREEN,
|
||||
@ -20,7 +20,7 @@ export const colors = [
|
||||
COLOR_ORANGE,
|
||||
COLOR_RED,
|
||||
COLOR_BLACK,
|
||||
COLOR_LIGHT
|
||||
COLOR_WHITE
|
||||
];
|
||||
|
||||
export const skins = [SKIN_DARK, SKIN_LIGHT];
|
||||
|
@ -76,7 +76,7 @@ $popupMargin: 20px; // Отступ попапа от краёв окна
|
||||
|
||||
.header {
|
||||
position: relative;
|
||||
background: $light;
|
||||
background: $white;
|
||||
padding: 15px $popupPadding;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ body,
|
||||
|
||||
body {
|
||||
font-family: $font-family-base;
|
||||
background: $light;
|
||||
background: $white;
|
||||
color: #444;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
@ -74,7 +74,7 @@
|
||||
left: -40px;
|
||||
width: calc(100% + 60px);
|
||||
height: calc(100% + 20px);
|
||||
background: $light;
|
||||
background: $white;
|
||||
border-left: $border;
|
||||
border-right: $border;
|
||||
box-sizing: border-box;
|
||||
|
Loading…
Reference in New Issue
Block a user