hiddend styled ul in post-type each post

This commit is contained in:
jorge 2023-01-18 15:57:32 +01:00
parent 6f6438a894
commit 040106fef1
6 changed files with 40 additions and 39 deletions

View File

@ -727,13 +727,13 @@ Add your custom styles in this file so it is easier to update the theme.
padding: 0;
}
.edit-post-visual-editor__content-area .ofisuport-label {
.edit-post-visual-editor__content-area article:not(.type-post) .ofisuport-label {
margin: 0;
padding: 0;
display: inline;
}
.edit-post-visual-editor__content-area .ofisuport-label li {
.edit-post-visual-editor__content-area article:not(.type-post) .ofisuport-label li {
display: inline-block;
margin: 0.1em 0;
padding: 0.2em 0.2em 0 0.2em;
@ -744,28 +744,28 @@ Add your custom styles in this file so it is easier to update the theme.
text-transform: uppercase;
}
.edit-post-visual-editor__content-area .item-os_fund_target li {
.edit-post-visual-editor__content-area article:not(.type-post) .item-os_fund_target li {
background-color: #ff8d76;
}
.edit-post-visual-editor__content-area .item-os_fund_source li {
.edit-post-visual-editor__content-area article:not(.type-post) .item-os_fund_source li {
background-color: #5bcee8;
}
.edit-post-visual-editor__content-area .item-os_fund_field li {
.edit-post-visual-editor__content-area article:not(.type-post) .item-os_fund_field li {
background-color: #f6cc4c;
}
.edit-post-visual-editor__content-area .item-os_fund_dates li {
.edit-post-visual-editor__content-area article:not(.type-post) .item-os_fund_dates li {
background-color: #69ed82;
}
.edit-post-visual-editor__content-area .item-os_fund_call {
.edit-post-visual-editor__content-area article:not(.type-post) .item-os_fund_call {
display: block;
margin: 0.2rem 0;
}
.edit-post-visual-editor__content-area .item-os_fund_call li {
.edit-post-visual-editor__content-area article:not(.type-post) .item-os_fund_call li {
font-size: 1.2rem;
}

File diff suppressed because one or more lines are too long

View File

@ -27,6 +27,7 @@ dd {
padding: 0;
}
article:not(.type-post){
.ofisuport-label {
margin: 0;
padding: 0;
@ -42,23 +43,23 @@ dd {
text-transform: uppercase;
}
}
.item-os_fund_target li {
background-color: $color__orange;
.item-os_fund_target li {
background-color: $color__orange;
}
.item-os_fund_source li {
background-color: $color__lightblue;
}
.item-os_fund_field li {
background-color: $color__yellow;
}
.item-os_fund_dates li {
background-color: $color__green;
}
.item-os_fund_call {
display: block;
margin:0.2rem 0;
li {
font-size: $font__size-body*1.2;
}
}
}
.item-os_fund_source li {
background-color: $color__lightblue;
}
.item-os_fund_field li {
background-color: $color__yellow;
}
.item-os_fund_dates li {
background-color: $color__green;
}
.item-os_fund_call {
display: block;
margin:0.2rem 0;
li {
font-size: $font__size-body*1.2;
}
}

View File

@ -653,13 +653,13 @@ dd {
padding: 0;
}
.ofisuport-label {
article:not(.type-post) .ofisuport-label {
margin: 0;
padding: 0;
display: inline;
}
.ofisuport-label li {
article:not(.type-post) .ofisuport-label li {
display: inline-block;
margin: 0.1em 0;
padding: 0.2em 0.2em 0 0.2em;
@ -670,28 +670,28 @@ dd {
text-transform: uppercase;
}
.item-os_fund_target li {
article:not(.type-post) .item-os_fund_target li {
background-color: #ff8d76;
}
.item-os_fund_source li {
article:not(.type-post) .item-os_fund_source li {
background-color: #5bcee8;
}
.item-os_fund_field li {
article:not(.type-post) .item-os_fund_field li {
background-color: #f6cc4c;
}
.item-os_fund_dates li {
article:not(.type-post) .item-os_fund_dates li {
background-color: #69ed82;
}
.item-os_fund_call {
article:not(.type-post) .item-os_fund_call {
display: block;
margin: 0.2rem 0;
}
.item-os_fund_call li {
article:not(.type-post) .item-os_fund_call li {
font-size: 1.2rem;
}

File diff suppressed because one or more lines are too long

View File

@ -25,8 +25,8 @@
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_source') ); ?>
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_field') ); ?>
<ul class="ofisuport-label item-os_fund_dates">
<li> <?php the_field('os_fund_apply_begin'); ?> </li>
<li> <?php the_field('os_fund_apply_end'); ?> </li>
<li><?php the_field('os_fund_apply_begin'); ?></li>
<li><?php the_field('os_fund_apply_end'); ?></li>
</ul>
<?php //get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_apply_begin') ); ?>
<?php //get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_apply_end') ); ?>