mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-28 03:04:48 +00:00
light theme
This commit is contained in:
@@ -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
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user