-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade ice-creator-admin to @alifd/next (#1300)
upgrade ice-creator-admin to @alifd/next
- Loading branch information
1 parent
922b079
commit c383dff
Showing
30 changed files
with
340 additions
and
347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...ls/scaffolds/ice-creator-admin/src/layouts/BasicLayout/components/Aside/index.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.aside { | ||
flex: 0 0 auto; | ||
margin: 20px 0 0 20px; | ||
:global { | ||
.next-nav { | ||
box-shadow: none; | ||
} | ||
.ice-menu-collapse-hide { | ||
padding-left: 1em; | ||
} | ||
} | ||
} | ||
.menu { | ||
width: 240px; | ||
min-height: 500px; | ||
padding-top: 20px; | ||
border-radius: 6px; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 2 additions & 12 deletions
14
react-materials/scaffolds/ice-creator-admin/src/layouts/BasicLayout/components/Logo/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,13 @@ | ||
import React, { PureComponent } from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
import styles from './index.module.scss'; | ||
|
||
export default class Logo extends PureComponent { | ||
render() { | ||
return ( | ||
<Link to="/" style={{ ...styles.logo, ...this.props.style }}> | ||
<Link to="/" className={styles.logo} style={this.props.style}> | ||
LOGO | ||
</Link> | ||
); | ||
} | ||
} | ||
|
||
const styles = { | ||
logo: { | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
fontSize: '36px', | ||
fontWeight: 'bold', | ||
color: '#447eff', | ||
}, | ||
}; |
11 changes: 11 additions & 0 deletions
11
...als/scaffolds/ice-creator-admin/src/layouts/BasicLayout/components/Logo/index.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.logo{ | ||
color: $color-brand1-6; | ||
display: flex; | ||
font-size: 36px; | ||
align-items: center; | ||
font-weight: bold; | ||
justify-content: center; | ||
&:visited, &:link { | ||
color: $color-brand1-6; | ||
} | ||
} |
Oops, something went wrong.