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:
parent
6e55e8951d
commit
49ad6726cb
@ -32,7 +32,9 @@
|
||||
],
|
||||
"settings": {
|
||||
"import/parser": "babel-eslint",
|
||||
"import/resolver": "babel-plugin-root-import",
|
||||
"import/resolver": {
|
||||
"babel-plugin-root-import": {}
|
||||
},
|
||||
"import/ignore": [
|
||||
"\\.(scss|less|css)$"
|
||||
]
|
||||
|
@ -9,10 +9,10 @@ const Wrapper = styled.header`
|
||||
background: ${colors.HEADER};
|
||||
|
||||
svg {
|
||||
fill: ${colors.WHITE};
|
||||
height: 28px;
|
||||
width: 100px;
|
||||
flex: 1;
|
||||
fill: ${colors.WHITE};
|
||||
height: 28px;
|
||||
width: 100px;
|
||||
flex: 1;
|
||||
}
|
||||
`;
|
||||
|
||||
|
@ -9,20 +9,8 @@ import { H2 } from '~/js/components/common/Heading';
|
||||
import * as LogActions from '~/js/actions/LogActions';
|
||||
import type { State, Dispatch } from '~/flowtype';
|
||||
|
||||
type Props = {
|
||||
log: $ElementType<State, 'log'>,
|
||||
toggle: typeof LogActions.toggle
|
||||
}
|
||||
|
||||
const Log = (props: Props): ?React$Element<string> => {
|
||||
if (!props.log.opened) return null;
|
||||
|
||||
// const entries = props.log.entries.map(entry => {
|
||||
// return (
|
||||
|
||||
// )
|
||||
// })
|
||||
|
||||
return (
|
||||
<div className="log">
|
||||
<button className="log-close transparent" onClick={props.toggle} />
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
@ -2,7 +2,6 @@
|
||||
@import './colors.less';
|
||||
@import './mixins.less';
|
||||
@import './base.less';
|
||||
@import './header.less';
|
||||
@import './aside.less';
|
||||
@import './content.less';
|
||||
@import './modal.less';
|
||||
|
Loading…
Reference in New Issue
Block a user