-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/create-qiankun' of https://github.com/hakushinring…
…/qiankun into feat/create-qiankun
- Loading branch information
Showing
5 changed files
with
41 additions
and
76 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
59 changes: 12 additions & 47 deletions
59
packages/create-qiankun/template/react18-main/src/App.css
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,50 +1,15 @@ | ||
body { | ||
margin: 0; | ||
} | ||
|
||
.mainapp { | ||
line-height: 1; | ||
} | ||
|
||
.mainapp-header > h1 { | ||
color: #333; | ||
font-size: 36px; | ||
font-weight: 700; | ||
margin: 0; | ||
padding: 36px; | ||
} | ||
.mainapp-main { | ||
display: flex; | ||
} | ||
.mainapp-main .mainapp-sidemenu { | ||
width: 130px; | ||
list-style: none; | ||
margin: 0; | ||
margin-left: 40px; | ||
padding: 0; | ||
border-right: 2px solid #aaa; | ||
} | ||
.mainapp-main .mainapp-sidemenu > li { | ||
color: #aaa; | ||
margin: 20px 0; | ||
font-size: 18px; | ||
font-weight: 400; | ||
cursor: pointer; | ||
} | ||
.mainapp-main .mainapp-sidemenu > li:hover { | ||
color: #444; | ||
} | ||
.mainapp-main .mainapp-sidemenu > li:first-child { | ||
margin-top: 5px; | ||
.app { | ||
height: 100%; | ||
display: grid; | ||
grid-template-columns: 256px 1fr; | ||
grid-template-rows: max-content 1fr; | ||
} | ||
.main-app-title { | ||
font-size: 40px; | ||
text-align: center; | ||
padding: 16px 0; | ||
} | ||
#subapp-container { | ||
flex-grow: 1; | ||
position: relative; | ||
margin: 0 40px; | ||
} | ||
#subapp-container .subapp-loading { | ||
color: #444; | ||
font-size: 28px; | ||
font-weight: 600; | ||
text-align: center; | ||
grid-area: 1 / 2 / span 2 / span 1; | ||
overflow: auto; | ||
} |
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