feat: aside 可配置隐藏/增加按钮可展开或收缩aside

This commit is contained in:
Jerry committed 2020-10-21 21:54:14 +08:00
1 parent c54f23bc14
commit 6b35388f33
8 files changed
+30 -3

No files matched your search

+11
View File
@@ -327,3 +327,14 @@
100%
transform: scale(.7)
+minWidth900()
html.hide-aside
.layout
justify-content: center
> div:last-child
display: none
> div:first-child
width: 80%
+4
View File
@@ -38,3 +38,7 @@
+maxWidth900()
display: block
+maxWidth900()
#hide-aside-btn
display: none
+1 -1
View File
@@ -19,7 +19,6 @@
border-radius: 8px
background: var(--card-bg)
box-shadow: 0 4px 8px 6px rgba(7, 17, 27, .06)
transition: all .3s
&:hover
box-shadow: 0 4px 12px 12px rgba(7, 17, 27, .15)
@@ -29,6 +28,7 @@
& > div:first-child
width: 75%
transition: all .3s
+maxWidth900()
width: 100% !important
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff. Show more