Puts special style for metadata separator.

This commit is contained in:
mateuswetah 2019-05-06 13:42:20 -03:00
parent cf16566a21
commit 8bc2434238
3 changed files with 19 additions and 2 deletions

View File

@ -1,4 +1,4 @@
footer{
footer {
&.tainacan-footer {
background-color: #2c2d2d;
}

View File

@ -502,6 +502,23 @@
weight: 400;
}
}
// Metadata type textarea has different separator
.multivalue-separator {
color: #cbcbcb;
margin: 0 8px;
}
.metadata-type-textarea {
.multivalue-separator {
display: block;
max-height: 1px;
width: 35px;
background: #cbcbcb;
content: none;
color: transparent;
margin: 0.875rem auto;
}
}
}
}
}

View File

@ -196,7 +196,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="tainacan-icons mt-0 symbol"></i></h6>',
'after_title' => ' <i class="tainacan-icon tainacan-icon-more mt-0 symbol"></i></h6>',
) );
}
add_action( 'widgets_init', 'tainacan_widgets_footer_init' );