1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-26 00:48:35 +00:00

header less remove

This commit is contained in:
Vladimir Volek 2018-08-13 16:35:49 +02:00
parent 6e55e8951d
commit 49ad6726cb
5 changed files with 7 additions and 55 deletions

View File

@ -32,7 +32,9 @@
], ],
"settings": { "settings": {
"import/parser": "babel-eslint", "import/parser": "babel-eslint",
"import/resolver": "babel-plugin-root-import", "import/resolver": {
"babel-plugin-root-import": {}
},
"import/ignore": [ "import/ignore": [
"\\.(scss|less|css)$" "\\.(scss|less|css)$"
] ]

View File

@ -9,10 +9,10 @@ const Wrapper = styled.header`
background: ${colors.HEADER}; background: ${colors.HEADER};
svg { svg {
fill: ${colors.WHITE}; fill: ${colors.WHITE};
height: 28px; height: 28px;
width: 100px; width: 100px;
flex: 1; flex: 1;
} }
`; `;

View File

@ -9,20 +9,8 @@ import { H2 } from '~/js/components/common/Heading';
import * as LogActions from '~/js/actions/LogActions'; import * as LogActions from '~/js/actions/LogActions';
import type { State, Dispatch } from '~/flowtype'; import type { State, Dispatch } from '~/flowtype';
type Props = {
log: $ElementType<State, 'log'>,
toggle: typeof LogActions.toggle
}
const Log = (props: Props): ?React$Element<string> => { const Log = (props: Props): ?React$Element<string> => {
if (!props.log.opened) return null; if (!props.log.opened) return null;
// const entries = props.log.entries.map(entry => {
// return (
// )
// })
return ( return (
<div className="log"> <div className="log">
<button className="log-close transparent" onClick={props.toggle} /> <button className="log-close transparent" onClick={props.toggle} />

View File

@ -1,37 +0,0 @@
header {
width: 100%;
height: 52px;
background: @color_header;
svg {
fill: @color_white;
height: 28px;
width: 100px;
flex: 1;
}
.layout-wrapper {
width: 100%;
height: 100%;
max-width: 1170px;
margin: 0 auto;
padding: 0 32px;
display: flex;
align-items: center;
}
a, a:visited {
color: @color_white;
margin-left: 24px;
.hover();
&:first-child {
margin: 0px;
}
&:hover,
&:active {
color: @color_text_secondary;
}
}
}

View File

@ -2,7 +2,6 @@
@import './colors.less'; @import './colors.less';
@import './mixins.less'; @import './mixins.less';
@import './base.less'; @import './base.less';
@import './header.less';
@import './aside.less'; @import './aside.less';
@import './content.less'; @import './content.less';
@import './modal.less'; @import './modal.less';