|
|
@ -9,7 +9,7 @@ const Header = ({ dispatch, actions, user, module, setModule, history }) => { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return <div style={{ width: '100%', heigh: '100%' }}> |
|
|
|
return <div style={{ width: '100%', height: 160 }}> |
|
|
|
<div style={{ |
|
|
|
width: '100%', height: 130, |
|
|
|
display: 'flex', |
|
|
@ -25,7 +25,7 @@ const Header = ({ dispatch, actions, user, module, setModule, history }) => { |
|
|
|
<div style={{ |
|
|
|
width: 130, height: 52, |
|
|
|
backgroundImage: 'url(/assets/images/monitor/user.png)', |
|
|
|
backgroundSize: 'cover', |
|
|
|
backgroundSize: '100% 100%', |
|
|
|
backgroundPosition: 'center', |
|
|
|
textIndent: 45, lineHeight: '52px' |
|
|
|
}}> |
|
|
@ -40,9 +40,9 @@ const Header = ({ dispatch, actions, user, module, setModule, history }) => { |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex', justifyContent: 'center' }}> |
|
|
|
<div style={{ |
|
|
|
width: '45%', height: 44, textAlign: 'center', |
|
|
|
width: '45%', height: 30, textAlign: 'center', |
|
|
|
backgroundImage: 'url(/assets/images/monitor/strip.png)', |
|
|
|
backgroundSize: '100% 25%', |
|
|
|
backgroundSize: '100% 50%', |
|
|
|
backgroundPosition: 'center', |
|
|
|
backgroundRepeat: 'no-repeat', |
|
|
|
display: 'flex', |
|
|
@ -55,7 +55,7 @@ const Header = ({ dispatch, actions, user, module, setModule, history }) => { |
|
|
|
return <div key={v.key} style={{ |
|
|
|
width: 100, height: 30, lineHeight: '30px', |
|
|
|
backgroundImage: `url(/assets/images/monitor/${module == v.key ? 'pitch-on' : 'choseNone'}.png)`, |
|
|
|
backgroundSize: 'cover', |
|
|
|
backgroundSize: '100% 100%', |
|
|
|
backgroundPosition: '100% 100%', |
|
|
|
backgroundRepeat: 'no-repeat', |
|
|
|
color: 'white', |
|
|
|