Fix icon on collapse sidebar in footer mobile

This commit is contained in:
Fabiano Alencar 2018-07-04 14:36:05 -03:00
parent b77ea354bf
commit 8df511c3bf
2 changed files with 17 additions and 3 deletions

View File

@ -206,7 +206,14 @@ footer{
h6{
i.symbol{
&:before{
content: "close";
content: "\F415";
display: inline-block;
font: normal normal normal 24px/1 "Material Design Icons";
font-size: 18px;
text-rendering: auto;
line-height: inherit;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@extend %transition;
}
}
@ -237,7 +244,14 @@ footer{
&~h6{
i{
&:before{
content: "add";
content: "\F156";
display: inline-block;
font: normal normal normal 24px/1 "Material Design Icons";
font-size: inherit;
text-rendering: auto;
line-height: inherit;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
}

View File

@ -150,7 +150,7 @@ function tainacan_widgets_footer_init() {
'before_widget' => '<li class="border-left-0 border-right-0 tainacan-side"><input type="checkbox" checked><i></i>',
'after_widget' => '</li>',
'before_title' => '<h6 class="text-white font-weight-bold mb-lg-4">',
'after_title' => ' <i class="material-icons mt-2 symbol"></i></h6>',
'after_title' => ' <i class="material-icons mt-0 symbol"></i></h6>',
) );
}
add_action( 'widgets_init', 'tainacan_widgets_footer_init' );