File tree Expand file tree Collapse file tree 2 files changed +22
-10
lines changed Expand file tree Collapse file tree 2 files changed +22
-10
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,12 @@ Here's what you need to know before getting started with the aside menu:
38
38
39
39
## Customizing
40
40
41
- ### SASS
41
+ ### CSS variables
42
42
43
- #### Variables
44
- {{< scss-docs name="footer-variables" file="scss/_ variables.scss" >}}
43
+ Sidebars use local CSS variables on ` .footer ` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
44
+
45
+ {{< scss-docs name="footer-css-vars" file="scss/_ footer.scss" >}}
45
46
46
- ### CSS Vars
47
- {{< css-vars-docs file="scss/_ footer.scss" >}}
47
+ ### SASS variables
48
+
49
+ {{< scss-docs name="footer-variables" file="scss/_ variables.scss" >}}
Original file line number Diff line number Diff line change 1
1
.footer {
2
+ // scss-docs-start footer-css-vars
3
+ -- #{$prefix } footer-min-height : #{$footer-min-height } ;
4
+ -- #{$prefix } footer-padding-x : #{$footer-padding-x } ;
5
+ -- #{$prefix } footer-padding-y : #{$footer-padding-y } ;
6
+ -- #{$prefix } footer-color : #{$footer-color } ;
7
+ -- #{$prefix } footer-bg : #{$footer-bg } ;
8
+ -- #{$prefix } footer-border-color : #{$footer-border-color } ;
9
+ -- #{$prefix } footer-border : #{$footer-border-width } solid var (--#{$prefix}footer-border-color );
10
+ // scss-docs-end footer-css-vars
11
+
2
12
display : flex ;
3
13
flex-wrap : wrap ; // allow us to do the line break for collapsing content
4
14
align-items : center ;
5
15
justify-content : space-between ;
6
- min-height : $ footer-min-height ;
7
- padding : $ footer-padding-y $ footer-padding-x ;
8
- color : var (--#{$prefix}footer-color , $footer-color );
9
- background : var (--#{$prefix}footer-bg , $footer-bg );
10
- border-top : var (--#{$prefix}footer-border-width , $footer-border-width ) solid var ( --#{$prefix}footer-border-color , $footer-border-color );
16
+ min-height : var ( --#{$prefix} footer-min-height) ;
17
+ padding : var ( --#{$prefix} footer-padding-y) var ( --#{$prefix} footer-padding-x) ;
18
+ color : var (--#{$prefix}footer-color );
19
+ background : var (--#{$prefix}footer-bg );
20
+ border-top : var (--#{$prefix}footer-border );
11
21
}
12
22
13
23
.footer-fixed {
You can’t perform that action at this time.
0 commit comments