added dates to ajut card
This commit is contained in:
parent
fe3d6ec9ce
commit
1950efc6e4
|
@ -713,6 +713,10 @@ Add your custom styles in this file so it is easier to update the theme.
|
||||||
background-color: #f6cc4c;
|
background-color: #f6cc4c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.edit-post-visual-editor__content-area .item-os_fund_dates li {
|
||||||
|
background-color: #69ed82;
|
||||||
|
}
|
||||||
|
|
||||||
.edit-post-visual-editor__content-area .item-os_fund_call {
|
.edit-post-visual-editor__content-area .item-os_fund_call {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0.2rem 0.1rem;
|
margin: 0.2rem 0.1rem;
|
||||||
|
@ -974,7 +978,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
||||||
}
|
}
|
||||||
.edit-post-visual-editor__content-area .ofisuport-destacats .ofisuport-funder-name, .edit-post-visual-editor__content-area .ofisuport-featured .ofisuport-funder-name, .edit-post-visual-editor__content-area .archive-posts .ofisuport-funder-name {
|
.edit-post-visual-editor__content-area .ofisuport-destacats .ofisuport-funder-name, .edit-post-visual-editor__content-area .ofisuport-featured .ofisuport-funder-name, .edit-post-visual-editor__content-area .archive-posts .ofisuport-funder-name {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 0;
|
margin: 0;
|
||||||
padding: 0.3rem 0;
|
padding: 0.3rem 0;
|
||||||
font-variant: all-petite-caps;
|
font-variant: all-petite-caps;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
|
@ -982,6 +986,9 @@ Add your custom styles in this file so it is easier to update the theme.
|
||||||
border-bottom: 1px solid #000;
|
border-bottom: 1px solid #000;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
.edit-post-visual-editor__content-area .ofisuport-destacats p, .edit-post-visual-editor__content-area .ofisuport-featured p, .edit-post-visual-editor__content-area .archive-posts p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 48em) {
|
@media screen and (min-width: 48em) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -51,6 +51,9 @@ dd {
|
||||||
.item-os_fund_field li {
|
.item-os_fund_field li {
|
||||||
background-color: $color__yellow;
|
background-color: $color__yellow;
|
||||||
}
|
}
|
||||||
|
.item-os_fund_dates li {
|
||||||
|
background-color: $color__green;
|
||||||
|
}
|
||||||
.item-os_fund_call {
|
.item-os_fund_call {
|
||||||
display: block;
|
display: block;
|
||||||
margin:0.2rem 0.1rem;
|
margin:0.2rem 0.1rem;
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
}
|
}
|
||||||
.ofisuport-funder-name {
|
.ofisuport-funder-name {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 0;
|
margin:0;
|
||||||
padding: 0.3rem 0;
|
padding: 0.3rem 0;
|
||||||
font-variant: all-petite-caps;
|
font-variant: all-petite-caps;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
|
@ -72,6 +72,9 @@
|
||||||
border-bottom: 1px solid $color__black;
|
border-bottom: 1px solid $color__black;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
p {
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 48em) {
|
@media screen and (max-width: 48em) {
|
||||||
|
|
|
@ -648,6 +648,10 @@ dd {
|
||||||
background-color: #f6cc4c;
|
background-color: #f6cc4c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.item-os_fund_dates li {
|
||||||
|
background-color: #69ed82;
|
||||||
|
}
|
||||||
|
|
||||||
.item-os_fund_call {
|
.item-os_fund_call {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0.2rem 0.1rem;
|
margin: 0.2rem 0.1rem;
|
||||||
|
@ -917,7 +921,7 @@ textarea {
|
||||||
}
|
}
|
||||||
.ofisuport-destacats .ofisuport-funder-name, .ofisuport-featured .ofisuport-funder-name, .archive-posts .ofisuport-funder-name {
|
.ofisuport-destacats .ofisuport-funder-name, .ofisuport-featured .ofisuport-funder-name, .archive-posts .ofisuport-funder-name {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 0;
|
margin: 0;
|
||||||
padding: 0.3rem 0;
|
padding: 0.3rem 0;
|
||||||
font-variant: all-petite-caps;
|
font-variant: all-petite-caps;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
|
@ -925,6 +929,9 @@ textarea {
|
||||||
border-bottom: 1px solid #000;
|
border-bottom: 1px solid #000;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
.ofisuport-destacats p, .ofisuport-featured p, .archive-posts p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 48em) {
|
@media screen and (min-width: 48em) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -15,19 +15,21 @@
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
<?php if( get_field('os_funder_name') ): ?>
|
<?php if( get_field('os_funder_name') ): ?>
|
||||||
<p class="ofisuport-funder-name"><?php the_field('os_funder_name'); ?></p>
|
<h6 class="ofisuport-funder-name"><?php the_field('os_funder_name'); ?></h6>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<section class="excerpt post-excerpt">
|
<section class="excerpt post-excerpt">
|
||||||
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
|
|
||||||
</a>
|
|
||||||
<?php the_excerpt() ?>
|
<?php the_excerpt() ?>
|
||||||
</section>
|
</section>
|
||||||
<aside>
|
<aside>
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_target') ); ?>
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_target') ); ?>
|
||||||
<?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_source') ); ?>
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_field') ); ?>
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_field') ); ?>
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_apply_begin') ); ?>
|
<ul class="oficina-support-label item-os_fund_dates">
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_apply_end') ); ?>
|
<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') ); ?>
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_call') ); ?>
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_call') ); ?>
|
||||||
</aside>
|
</aside>
|
||||||
</article><!-- #post-<?php the_ID(); ?> -->
|
</article><!-- #post-<?php the_ID(); ?> -->
|
||||||
|
|
Loading…
Reference in New Issue