light theme

This commit is contained in:
zuiidea
2016-12-03 22:38:07 +08:00
parent 186f19cb65
commit 63d214e45a
2 changed files with 11 additions and 2 deletions
+10 -1
View File
@@ -55,6 +55,15 @@
padding-bottom: 24px;
height: 100vh;
transition: @transition-ease-out;
box-shadow: @shadow-1;
&.light{
background: #fff;
.switchtheme{
background: #fff;
border-top: solid 1px #f8f8f8;
}
}
.logo {
text-align: center;
@@ -86,7 +95,7 @@
width: 100%;
position: absolute;
bottom: 0;
height: 42px;
height: 48px;
background-color: @dark-half;
display: flex;
justify-content: space-between;
+1 -1
View File
@@ -43,7 +43,7 @@ function App({children, location, dispatch, app}) {
return (
<div>{login
? <div className={classnames(styles.layout,{[styles.fold]:siderFold})}>
<aside className={styles.sider}>
<aside className={classnames(styles.sider,{[styles.light]:!darkTheme})}>
<Sider {...siderProps}/>
</aside>
<div className={styles.main}>