-
Notifications
You must be signed in to change notification settings - Fork 663
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #258 from hepengwei/feat_he
新增生成滚动条页
- Loading branch information
Showing
9 changed files
with
707 additions
and
224 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
.container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
padding-top: 30px; | ||
padding-bottom: 20px; | ||
overflow-y: auto; | ||
.content { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
$boxWidth: 800px; | ||
$boxHeight: 380px; | ||
$boxPadding: 20px; | ||
.box { | ||
box-sizing: border-box; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: $boxWidth; | ||
height: $boxHeight; | ||
border: 2px dashed #73828c; | ||
.graph { | ||
box-sizing: border-box; | ||
width: $boxWidth - 2 * $boxPadding; | ||
height: $boxHeight - 2 * $boxPadding; | ||
|
||
overflow: auto; | ||
|
||
&::-webkit-scrollbar { | ||
width: var(--scrollBarWidth); | ||
height: var(--scrollBarHeight); | ||
background-color: var(--scrollBarBgColor); | ||
} | ||
&::-webkit-scrollbar-thumb { | ||
background-color: var(--slidingBlockBgColor); | ||
border-radius: var(--slidingBlockRadius); | ||
} | ||
&::-webkit-scrollbar-thumb:hover { | ||
background-color: var(--slidingBlockHoverBgColor); | ||
} | ||
&::-webkit-scrollbar-corner { | ||
background-color: var(--rightBottomBgColor); | ||
} | ||
|
||
.graphBg { | ||
box-sizing: border-box; | ||
width: 200%; | ||
height: 200%; | ||
background: linear-gradient( | ||
135deg, | ||
#1d3450, | ||
#29588a, | ||
#116d6e, | ||
#5c8984, | ||
#47a992 | ||
); | ||
} | ||
} | ||
} | ||
.bottom { | ||
width: $boxWidth; | ||
display: flex; | ||
flex-direction: column; | ||
margin-top: 20px; | ||
.row { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 100%; | ||
margin-bottom: 20px; | ||
.rowItem { | ||
display: flex; | ||
align-items: center; | ||
width: 47%; | ||
.label { | ||
color: #333 !important; | ||
margin-right: 6px; | ||
font-size: 15px; | ||
color: #666; | ||
} | ||
} | ||
} | ||
.codeBox { | ||
width: 100%; | ||
max-width: 100%; | ||
overflow-x: auto; | ||
background-color: #8bacaa; | ||
padding: 10px; | ||
color: #222; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.