Compare commits
No commits in common. "5d1870803073bae6f3279b9de287dd09dff2d387" and "482e1e30e98352374a9409a50cc162177ce23f38" have entirely different histories.
5d18708030
...
482e1e30e9
|
@ -29,7 +29,6 @@ node_modules/
|
|||
.DS_Store
|
||||
theme/
|
||||
_gitignore*
|
||||
_ignore*
|
||||
|
||||
|
||||
# htaccess
|
||||
|
|
479
adminstyles.css
479
adminstyles.css
|
@ -17,7 +17,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
|
|||
Author: Hangar.org Tech Lab - hangar.org
|
||||
Author URI: https://hangar.org
|
||||
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
|
||||
Version: 1.6.0
|
||||
Version: 1.5.0
|
||||
Tested up to: 6.4
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v3 or later
|
||||
|
@ -740,17 +740,12 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .archive .page-header,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category .page-header {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .home-featured h2,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .home-featured .h2 {
|
||||
margin: 1.2rem 0;
|
||||
font-size: 2rem;
|
||||
line-height: 1.2;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .entry-content h6 {
|
||||
|
@ -766,11 +761,11 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-intro h5 {
|
||||
font-size: 1.8rem;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-intro h6 {
|
||||
font-size: 1.6rem;
|
||||
font-size: 2rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
@ -844,7 +839,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .home-featured h2,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .home-featured .h2 {
|
||||
font-size: 3.5rem;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -972,10 +967,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper body.admin-bar {
|
||||
position: inherit;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .liquid-bubbles {
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
|
@ -1102,7 +1093,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
margin: 0.1em 0;
|
||||
padding: 0.2em 0.2em 0 0.2em;
|
||||
color: #000;
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
background-color: none;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
@ -1294,6 +1285,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
background: #000;
|
||||
color: #fff;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1;
|
||||
padding: 0.6em;
|
||||
margin: 0;
|
||||
}
|
||||
|
@ -1390,68 +1382,34 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="color"],
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper textarea {
|
||||
color: #111;
|
||||
background-color: transparent;
|
||||
border: 0.05rem solid #000;
|
||||
background-color: #eee;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
padding: 0.3rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="text"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="text"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="text"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="email"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="email"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="email"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="url"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="url"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="url"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="password"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="password"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="password"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="search"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="search"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="search"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="number"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="number"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="number"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="tel"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="tel"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="tel"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="range"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="range"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="range"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="date"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="date"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="date"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="month"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="month"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="month"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="week"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="week"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="week"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="time"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="time"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="time"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="datetime"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="datetime"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="datetime"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="datetime-local"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="datetime-local"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="datetime-local"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="color"]:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="color"]:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper input[type="color"]:focus-visible,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper textarea:focus,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper textarea:focus-within,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper textarea:focus-visible {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper textarea:focus {
|
||||
color: #000;
|
||||
box-shadow: none;
|
||||
outline: unset;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper select {
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper textarea {
|
||||
|
@ -1528,7 +1486,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-main {
|
||||
padding: 0 1rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-main > section {
|
||||
|
@ -1539,23 +1496,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .archive .site-main,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category .site-main {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .archive .site-main > header,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category .site-main > header {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-footer {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
|
@ -1571,7 +1511,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-footer .site-info > section {
|
||||
margin-top: 2em;
|
||||
padding: 2em 4em;
|
||||
border-top: 0.05rem solid #000;
|
||||
border-top: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-footer a {
|
||||
|
@ -1667,16 +1607,11 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-agenda-archive .site-main > article {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-main {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-main > article {
|
||||
padding-top: 4rem;
|
||||
padding-bottom: 4rem;
|
||||
}
|
||||
|
||||
|
@ -1709,15 +1644,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
padding-bottom: 4rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .archive .site-main,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category .site-main {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-footer {
|
||||
flex-flow: column;
|
||||
}
|
||||
|
@ -1733,17 +1659,9 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-destacats,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-featured,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-last-convos,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-ultimes-convocatories {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-ultimes-convocatories,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .archive-posts {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
min-height: 40vh;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .post-type-archive-xarxaprod-associat .archive-posts {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-faqs-aside {
|
||||
|
@ -1850,28 +1768,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
width: 100%;
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .menu-menu-agenda-container .menu-item-has-children {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .menu-menu-agenda-container > ul {
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .menu-menu-agenda-container li > ul {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .menu-menu-agenda-container li > a {
|
||||
display: block;
|
||||
padding: 0.5rem 0;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .menu-menu-agenda-container .current-menu-item > a {
|
||||
font-weight: 900;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 48em) {
|
||||
|
@ -2016,7 +1912,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
right: 0.3em;
|
||||
width: 0.3em;
|
||||
height: 0.3em;
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
-moz-transform: rotate(45deg);
|
||||
|
@ -2081,7 +1977,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper {
|
||||
|
||||
/*
|
||||
* big letters block below titles
|
||||
* big lletters block below titles
|
||||
* */
|
||||
|
||||
/*
|
||||
|
@ -2096,20 +1992,13 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
* * * * * * * */
|
||||
|
||||
/* used in
|
||||
* template-parts/section-eachpost.php
|
||||
* ./template-parts/section-eachpost.php
|
||||
* */
|
||||
|
||||
/* used in
|
||||
* template-parts/content-xarxaprod-ajut.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachpost.php
|
||||
* */
|
||||
|
||||
/* used in
|
||||
* archive-xarxaprod-convo.php
|
||||
* page-template/convo-search.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachconvo.php
|
||||
* ./template-parts/content-xarxaprod-ajut.php
|
||||
* ./template-parts/content-xarxaprod-convo.php
|
||||
* ./template-parts/section-eachpost.php
|
||||
* */
|
||||
|
||||
/* used in
|
||||
|
@ -2127,25 +2016,18 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
|
||||
/*
|
||||
* categories:
|
||||
* convocatorias pre 2024
|
||||
* REC
|
||||
*
|
||||
* * * * * * * * * * * * * * * */
|
||||
|
||||
/*
|
||||
* categories:
|
||||
* convocatorias pre 2024
|
||||
* agenda, activitats, agenda-es
|
||||
*
|
||||
* * * * * * * * * * * * * * * */
|
||||
|
||||
/* used in
|
||||
* template-parts/section-last-agenda.php
|
||||
* template-parts/section-each-agenda-entry.php
|
||||
* ./template-parts/section-agenda.php
|
||||
* */
|
||||
|
||||
/*
|
||||
* filters form custom fields
|
||||
* * */
|
||||
/* filters form custom fields
|
||||
*/
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .sticky {
|
||||
|
@ -2166,6 +2048,10 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
margin: 1.5em 0 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-main .entry-title {
|
||||
margin: 0.5em 0 0 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-links {
|
||||
clear: both;
|
||||
margin: 0 0 1.5em;
|
||||
|
@ -2184,28 +2070,22 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .ratlla-abaix .wp-block-column,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .border-bottom .wp-block-column {
|
||||
position: relative;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .ratlla-abaix .wp-block-column > :last-child::after,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .border-bottom .wp-block-column > :last-child::after {
|
||||
content: "";
|
||||
border-bottom: 0.05rem solid #000;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .ratlla-abaix .wp-block-heading,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .border-bottom .wp-block-heading {
|
||||
padding-top: 1em;
|
||||
padding-bottom: 2em;
|
||||
display: inline-grid;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .ratlla-abaix p,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .border-bottom p {
|
||||
margin-bottom: 0;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .ratlla-abaix .wp-block-heading::after,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .border-bottom .wp-block-heading::after {
|
||||
content: "";
|
||||
border-bottom: 0.05em solid #000;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .descarregar-fitxers a,
|
||||
|
@ -2213,7 +2093,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .download-files a {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .descarregar-fitxers a::after,
|
||||
|
@ -2237,11 +2117,12 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each .entry-title {
|
||||
margin: 0;
|
||||
padding: 0 0 0.5rem 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each h6 {
|
||||
padding: 0.5rem 1rem 0.5rem 0;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each .xarxaprod-deadline {
|
||||
|
@ -2254,7 +2135,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each .excerpt {
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
margin-bottom: 0.5em;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
@ -2263,15 +2144,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.xarxaprod-ajut .entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
min-height: 6.6rem;
|
||||
height: 6.6rem;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-fields,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-contact-fields {
|
||||
display: grid;
|
||||
|
@ -2281,7 +2153,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-fields .xarxaprod-fund-info-field,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-contact-fields .xarxaprod-fund-info-field {
|
||||
padding: 1rem 0;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-fields h6,
|
||||
|
@ -2333,16 +2205,47 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .xarxaprod-convo-info-fields {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer .xarxaprod-more-convos-header {
|
||||
padding: 2rem 0;
|
||||
font-size: 1.6rem;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer .last-convos {
|
||||
padding: 2rem 0;
|
||||
border-top: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer .last-convos > header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info li {
|
||||
display: grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
padding: 0.2em 0;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-top: 0.05em solid #000;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li:first-of-type,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info li:first-of-type {
|
||||
border-top: 0.05rem solid #000;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li:last-of-type,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info li:last-of-type {
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li .xarxaprod-label li,
|
||||
|
@ -2352,7 +2255,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
padding: 0;
|
||||
color: inherit;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
background-color: none;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
|
@ -2363,12 +2266,16 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields dt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields dd,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info dt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info dd {
|
||||
display: inline;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info dt {
|
||||
grid-row: 1 / 1;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields dd,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info dd {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields p,
|
||||
|
@ -2377,61 +2284,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.xarxaprod-convo .entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-start;
|
||||
min-height: 3.6rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo article.xarxaprod-convo > .xarxaprod-convo-info-fields {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo article.xarxaprod-convo > .entry-footer {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .xarxaprod-more-convos-header {
|
||||
padding: 2rem 0;
|
||||
font-size: 1.6rem;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .last-convos {
|
||||
padding: 2rem 0;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .last-convos > header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-convo-info-fields li,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-agenda-info li {
|
||||
display: grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-convo-info-fields li:first-of-type,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-agenda-info li:first-of-type {
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-convo-info-fields dt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-agenda-info dt {
|
||||
grid-row: 1 / 1;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-convo-info-fields dd,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-agenda-info dd {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-associat .xarxaprod-associat > section {
|
||||
margin-top: 4em;
|
||||
}
|
||||
|
@ -2452,7 +2304,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
display: grid;
|
||||
font-size: 1rem;
|
||||
border: none;
|
||||
border-top: 0.05rem solid #000;
|
||||
border-top: 0.05em solid #000;
|
||||
margin: 0;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
@ -2510,8 +2362,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-associats-map,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-espais-map {
|
||||
margin: 0;
|
||||
grid-column: 1 / -1;
|
||||
aspect-ratio: 4 / 3;
|
||||
background-color: rgba(200, 200, 200, 0.4);
|
||||
}
|
||||
|
@ -2528,38 +2378,41 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-rec {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-activitats,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda-es {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: flex-end;
|
||||
padding-bottom: 2rem;
|
||||
padding-bottom: 4em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards .wp-block-post-title,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories .wp-block-post-title,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-rec .wp-block-post-title {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-activitats .wp-block-post-title,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda .wp-block-post-title,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda-es .wp-block-post-title {
|
||||
text-transform: lowercase;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards .post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards .wp-block-post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories .post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories .wp-block-post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-rec .post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-rec .wp-block-post-excerpt {
|
||||
min-height: 7rem;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-activitats .wp-block-post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda .wp-block-post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda-es .wp-block-post-excerpt {
|
||||
margin: 0.5em 0;
|
||||
font-size: 1rem;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards .wp-block-read-more,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories .wp-block-read-more,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-rec .wp-block-read-more {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-activitats .wp-block-read-more,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda .wp-block-read-more,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda-es .wp-block-read-more {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
|
@ -2568,11 +2421,11 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding: 0.2em 0;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda .xarxaprod-card-each:first-of-type {
|
||||
border-top: 0.05rem solid #000;
|
||||
border-top: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda .xarxaprod-card-each > * {
|
||||
|
@ -2583,60 +2436,43 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda .xarxaprod-card-each .entry-title,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda .xarxaprod-card-each h6 {
|
||||
border-bottom: none;
|
||||
padding: 0.5rem 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats {
|
||||
justify-content: flex-start;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-content: space-between;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats .entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-start;
|
||||
min-height: 5.5rem;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats figure {
|
||||
order: -1;
|
||||
margin: 0 0 1rem 0;
|
||||
width: 100%;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats .wp-block-post-featured-image,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] .wp-block-post-featured-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
aspect-ratio: 16/9;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats figure img {
|
||||
object-position: 50% 50%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats .wp-block-post-title::before,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] .wp-block-post-title::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16/9;
|
||||
margin-bottom: 2em;
|
||||
background-color: rgba(230, 230, 230, 0.4);
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats .xarxaprod-agenda-info {
|
||||
margin-bottom: 0;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats li {
|
||||
display: inline-flex;
|
||||
width: 100%;
|
||||
max-height: 2.9rem;
|
||||
overflow: hidden;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats dt {
|
||||
padding-right: 0.5rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats dd {
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats .post-excerpt {
|
||||
margin: 0;
|
||||
min-height: 5rem;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content .archive-posts {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filters section {
|
||||
|
@ -2647,6 +2483,10 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
display: none;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .archive-posts {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-titol-opcions {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
|
@ -2657,7 +2497,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
cursor: pointer;
|
||||
font-weight: 900;
|
||||
font-size: 0.9rem;
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-titol-opcions::after {
|
||||
|
@ -2719,16 +2559,29 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
|
||||
@media screen and (min-width: 48em) {
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-convo-info-fields li,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-agenda-info li {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filters {
|
||||
padding-right: 2em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 2fr;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .archive-posts {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info li {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-associat .xarxaprod-associat-info {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-associat .xarxaprod-associat .xarxaprod-associat-info {
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-associat .xarxaprod-associat-osm-link {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-associat .xarxaprod-associat .xarxaprod-associat-location .xarxaprod-associat-osm-link {
|
||||
grid-template-columns: min-content auto;
|
||||
}
|
||||
|
||||
|
@ -2752,6 +2605,27 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 80em) {
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
gap: 6rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content .archive-posts {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content .archive-posts.archive-xarxaprod-associats,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content .archive-posts.archive-custom-post-type-associat {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .archive-posts {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .comment-content a {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
@ -3017,7 +2891,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-form input:not([type="submit"]),
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-form textarea {
|
||||
background: transparent;
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
|
@ -3084,7 +2958,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options label.oficinasuport-titol-opcions {
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin-bottom: 1em;
|
||||
|
@ -3254,11 +3128,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper h1,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper h2,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper h3,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper h4,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper h5,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper figure,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper button {
|
||||
margin-left: auto;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -19,11 +19,7 @@ get_header();
|
|||
//plugin is activated do
|
||||
?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1><?php //single_term_title( ' ' ); ?></h1>
|
||||
</header>
|
||||
|
||||
|
||||
<section id="filteredfunds" class="xarxaprod-filtered-content xarxaprod-filtered-funds xarxaprod-ajuts-filtrats">
|
||||
<aside id="fundsfilter" class="xarxaprod-filter-funds xarxaprod-filtre-ajuts">
|
||||
<?php include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if ( is_plugin_active( 'xarxaprod-wp-plugin/xarxaprod-wp-plugin.php' ) ) { // if plugin active do?>
|
||||
<?php xarxaprod_ajuts_filters_form(); // function defined in the plugin ?>
|
||||
|
@ -49,7 +45,6 @@ get_header();
|
|||
?>
|
||||
|
||||
</content>
|
||||
<section id="filteredfunds" class="xarxaprod-filtered-content xarxaprod-filtered-funds xarxaprod-ajuts-filtrats">
|
||||
</section>
|
||||
|
||||
<?php } //end plugin is activated do ?>
|
||||
|
|
|
@ -19,47 +19,31 @@ get_header();
|
|||
//plugin is activated do
|
||||
?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1><?php single_term_title( ' ' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<section id="filteredassociats" class="xarxaprod-filtered-content xarxaprod-filtered-associats xarxaprod-associats-filtrats">
|
||||
<aside id="associatsfilter" class="xarxaprod-filter-associats xarxaprod-filtre-associats">
|
||||
<?php xarxaprod_associats_filters_form(); // function defined in the plugin ?>
|
||||
</aside>
|
||||
|
||||
<content class="archive-posts <?php xarxaprod_class_posttype(); ?>">
|
||||
<figure id="xarxaprod-associats-map" class="xarxaprod-associats-map">
|
||||
<?php xarxaprod_show_leaflet_map(); // function defined in the plugin ?>
|
||||
</figure>
|
||||
<figure id="xarxaprod-associats-map" class="xarxaprod-associats-map">
|
||||
<?php xarxaprod_show_leaflet_map(); // function defined in the plugin ?>
|
||||
</figure>
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php while ( have_posts() ) : the_post();
|
||||
xarxaprod_show_leaflet_associat_blob(); // function defined in the plugin
|
||||
//get_template_part( 'template-parts/section', 'eachmember' );
|
||||
endwhile; ?>
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php while ( have_posts() ) : the_post();
|
||||
//get_template_part( 'template-parts/section', 'eachmember' );
|
||||
xarxaprod_show_leaflet_associat_blob(); // function defined in the plugin
|
||||
endwhile;
|
||||
|
||||
//the_posts_navigation();
|
||||
|
||||
<ul class="xarxaprod-label">
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<li>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark">
|
||||
<?php the_title(); ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
else :
|
||||
|
||||
<?php
|
||||
//the_posts_navigation();
|
||||
get_template_part( 'template-parts/content', 'none' );
|
||||
|
||||
else :
|
||||
endif;
|
||||
?>
|
||||
|
||||
get_template_part( 'template-parts/content', 'none' );
|
||||
|
||||
endif;
|
||||
?>
|
||||
</content>
|
||||
<section id="filteredassociats" class="xarxaprod-filtered-content xarxaprod-filtered-associats xarxaprod-associats-filtrats">
|
||||
</section>
|
||||
|
||||
<?php } //end plugin is activated do ?>
|
||||
|
|
|
@ -19,10 +19,7 @@ get_header();
|
|||
//plugin is activated do
|
||||
?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1><?php //single_term_title( ' ' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<section id="filteredcall" class="xarxaprod-filtered-content xarxaprod-filtered-convos xarxaprod-convos-filtrats">
|
||||
<aside id="convosfilter" class="xarxaprod-filter-convos xarxaprod-filtre-convos">
|
||||
<?php include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if ( is_plugin_active( 'xarxaprod-wp-plugin/xarxaprod-wp-plugin.php' ) ) { // if plugin active do?>
|
||||
<?php xarxaprod_convos_filters_form(); // function defined in the plugin ?>
|
||||
|
@ -48,7 +45,6 @@ get_header();
|
|||
?>
|
||||
|
||||
</content>
|
||||
<section id="filteredcall" class="xarxaprod-filtered-content xarxaprod-filtered-convos xarxaprod-convos-filtrats">
|
||||
</section>
|
||||
|
||||
<?php } //end plugin is activated do ?>
|
||||
|
|
32
archive.php
32
archive.php
|
@ -12,29 +12,10 @@ get_header();
|
|||
|
||||
<main id="primary" class="site-main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1><?php single_term_title( ' ' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<aside>
|
||||
<?php if( in_category('faq') ) : ?>
|
||||
<?php xarxaprod_display_faqs_labels();//display all faq subcategories as labels ?>
|
||||
<?php xarxaprod_display_faqs_search(); ?>
|
||||
<?php endif; //end if is_category faq ?>
|
||||
<?php if ( in_category( array( 'agenda', 'agenda-es','activitats') ) ) : ?>
|
||||
<?php wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'menu-3',
|
||||
'menu_id' => 'agenda-menu',
|
||||
)
|
||||
); ?>
|
||||
<?php endif; //end in_category agenda activitats ?>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
</header><!-- .page-header -->
|
||||
<content class="archive-posts <?php xarxaprod_class_posttype(); ?>">
|
||||
<?php
|
||||
/* Start the Loop */
|
||||
|
@ -46,14 +27,13 @@ get_header();
|
|||
* If you want to override this in a child theme, then include a file
|
||||
* called content-___.php (where ___ is the Post Type name) and that will be used instead.
|
||||
*/
|
||||
//get_template_part( 'template-parts/content', get_post_type() );
|
||||
|
||||
get_template_part( 'template-parts/section', 'each-agenda-entry' );
|
||||
get_template_part( 'template-parts/content', get_post_type() );
|
||||
|
||||
endwhile;
|
||||
|
||||
|
||||
the_posts_navigation();
|
||||
echo '</content>';
|
||||
echo '</content>';//end content ajuts
|
||||
|
||||
else :
|
||||
get_template_part( 'template-parts/content', 'none' );
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package Xarxaprod_theme
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="primary" class="site-main">
|
||||
|
||||
<?php if( in_category('faq') ) : ?>
|
||||
<?php xarxaprod_display_faqs_labels(); ?>
|
||||
<?php xarxaprod_display_faqs_search(); ?>
|
||||
|
||||
<?php endif; //end if is_category faq ?>
|
||||
<content class="archive-posts ">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php while ( have_posts() ) : the_post();
|
||||
|
||||
get_template_part( 'template-parts/section', 'eachpost' );
|
||||
|
||||
endwhile;
|
||||
|
||||
the_posts_navigation();
|
||||
|
||||
else :
|
||||
get_template_part( 'template-parts/content', 'none' );
|
||||
|
||||
endif;
|
||||
?>
|
||||
</content>
|
||||
</main><!-- #main -->
|
||||
|
||||
<?php
|
||||
get_sidebar();
|
||||
get_footer();
|
|
@ -51,7 +51,6 @@ function xarxaprod_setup() {
|
|||
array(
|
||||
'menu-1' => esc_html__( 'Primary', 'xarxaprod' ),
|
||||
'menu-2' => esc_html__( 'Secondary', 'xarxaprod' ),
|
||||
'menu-3' => esc_html__( 'Agenda', 'xarxaprod' ),
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -175,8 +174,3 @@ require get_template_directory() . '/inc/archive-title.php';
|
|||
* Functions to add admin styles
|
||||
*/
|
||||
require get_template_directory() . '/inc/admin-style.php';
|
||||
|
||||
/**
|
||||
* Function to get the first post image, used when there is no featured image
|
||||
*/
|
||||
require get_template_directory() . '/inc/catch-first-image.php';
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Start catch up first image in a post else get the custom logo
|
||||
* ----------------------------------------------------------------------------
|
||||
* @package Xarxaprod_theme
|
||||
* @used by template-parts/section-each-agenda-entry.php
|
||||
*/
|
||||
if ( ! function_exists( 'catch_post_first_image' ) ) :
|
||||
function catch_post_first_image() {
|
||||
global $post, $posts;
|
||||
$first_img = '';
|
||||
ob_start();
|
||||
ob_end_clean();
|
||||
$output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches);
|
||||
$first_img = $matches [1] [0];
|
||||
if(!empty($first_img)){
|
||||
return $first_img;
|
||||
}
|
||||
if(empty($first_img)){ //Defines a default image
|
||||
// https://developer.wordpress.org/reference/functions/the_custom_logo/
|
||||
$custom_logo_image = wp_get_attachment_image_src( get_theme_mod( 'custom_logo' ) , 'full' );
|
||||
$first_img = $custom_logo_image[0];
|
||||
return $first_img;
|
||||
}
|
||||
}
|
||||
endif;
|
||||
?>
|
|
@ -81,7 +81,7 @@ if ( ! function_exists( 'xarxaprod_display_faqs_labels' ) ) :
|
|||
// https://developer.wordpress.org/reference%2Ffunctions%2Fwp_list_categories%2F/
|
||||
wp_list_categories(
|
||||
array(
|
||||
'child_of' => 39, // category FAQ id=1
|
||||
'child_of' => 38, // category FAQ id=1
|
||||
'hide_empty' => 1,
|
||||
'hide_title_if_empty' => true,
|
||||
'separator' => '<li>',
|
||||
|
|
|
@ -4,13 +4,10 @@
|
|||
*/
|
||||
if ( ! function_exists( 'xarxaprod_theme_css_scripts' ) ){
|
||||
function xarxaprod_theme_css_scripts() {
|
||||
// css loaded depending on version number
|
||||
//wp_enqueue_style( 'xarxaprod-style', get_stylesheet_uri(), array(), _S_VERSION );
|
||||
|
||||
// css loaded depending on modified time stamp -> reload on each update of file
|
||||
// https://developer.wordpress.org/reference/functions/wp_enqueue_style/#comment-2056
|
||||
wp_enqueue_style( 'xarxaprod-style', get_stylesheet_uri(), array(), _S_VERSION );
|
||||
//https://developer.wordpress.org/reference/functions/wp_enqueue_style/#comment-2056
|
||||
//wp_enqueue_style('main-styles', get_template_directory_uri() . '/css/style.css', array(), filemtime(get_template_directory() . '/css/style.css'), false);
|
||||
wp_enqueue_style( 'xarxaprod-style', get_stylesheet_uri(), array(), filemtime(get_stylesheet_uri() . 'style.css'), false);
|
||||
//wp_enqueue_style( 'xarxaprod-style', get_stylesheet_uri(), array(), filemtime(get_stylesheet_uri() . 'style.css'), false);
|
||||
wp_style_add_data( 'xarxaprod-style', 'rtl', 'replace' );
|
||||
|
||||
// https://stackoverflow.com/a/24994304
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* Docs: https://wordpress.org/documentation/article/roles-and-capabilities/
|
||||
*
|
||||
* @package Xarxaprod_theme
|
||||
* @since Xarxaprod_theme 1.0.0
|
||||
* @package EGV-Guies
|
||||
* @since EGV-Guies 1.0.0
|
||||
*/
|
||||
// https://wordpress.stackexchange.com/questions/4191/allow-editors-to-edit-menus
|
||||
// add editor the privilege to edit theme
|
||||
|
|
|
@ -1,96 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying the "agenda" activities with search capabilities
|
||||
*
|
||||
* Template Name: Pagina Agenda
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
* @link https://developer.wordpress.org/themes/template-files-section/page-template-files/
|
||||
*
|
||||
* @package Xarxaprod_theme
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
<!-- page-templates convos-search-php -->
|
||||
<main id="primary" class="site-main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
get_template_part( 'template-parts/content', 'page' );
|
||||
|
||||
endwhile;
|
||||
|
||||
the_posts_navigation();
|
||||
|
||||
else :
|
||||
//get_template_part( 'template-parts/content', 'none' );
|
||||
|
||||
endif;
|
||||
?>
|
||||
<section id="filteredagenda" class="xarxaprod-filtered-content xarxaprod-filtered-agenda xarxaprod-activitats-filtrats category-agenda xarxaprod-activitats">
|
||||
|
||||
<aside id="agendafilter" class="xarxaprod-filter-agenda xarxaprod-fitre-agenda">
|
||||
<?php include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if ( is_plugin_active( 'xarxaprod-wp-plugin/xarxaprod-wp-plugin.php' ) ) { // if plugin active do?>
|
||||
<?php } //end if is_plugin_active ?>
|
||||
<?php wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'menu-3',
|
||||
'menu_id' => 'agenda-menu',
|
||||
)
|
||||
); ?>
|
||||
</aside>
|
||||
|
||||
<?php
|
||||
$the_query_archive_agenda = new WP_Query(
|
||||
array(
|
||||
'post_type' => 'post',
|
||||
'posts_per_page' => '40', //show all => -1
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'category',
|
||||
'field' => 'slug',
|
||||
'terms' => 'activitats'
|
||||
)
|
||||
)
|
||||
//'order_by' => 'meta_value', //order by meta value
|
||||
//'meta_key' => 'xxp_convo_apply_end', // order by meta key convo apply end
|
||||
//'order' => 'ASC', //order ascendent
|
||||
//'meta_query' => array(
|
||||
// array( //filter results show only older than today
|
||||
// 'key' => 'xxp_convo_apply_end',
|
||||
// 'value' => date("Y-m-d"), // consider using date_i18n() https://developer.wordpress.org/reference/functions/date_i18n/
|
||||
// 'compare' => '<', //show events before today
|
||||
// 'type' => 'DATE',
|
||||
// )
|
||||
//)
|
||||
)
|
||||
);
|
||||
?>
|
||||
<?php if ( $the_query_archive_agenda->have_posts() ) : ?>
|
||||
<content class="archive-posts <?php //xarxaprod_class_posttype(); ?>">
|
||||
<?php while ( $the_query_archive_agenda->have_posts() ) : $the_query_archive_agenda->the_post(); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/section', 'each-agenda-entry' ); ?>
|
||||
|
||||
<?php endwhile;//end of the loop ?>
|
||||
<?php
|
||||
// pagination will not work for custom_query
|
||||
// https://wordpress.stackexchange.com/a/120408
|
||||
// how to fix it
|
||||
the_posts_navigation();
|
||||
?>
|
||||
<?php wp_reset_postdata(); ?>
|
||||
</content>
|
||||
<?php endif; //end query convo ?>
|
||||
|
||||
</section>
|
||||
</main><!-- #main -->
|
||||
|
||||
<?php
|
||||
get_footer();
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* The template for displaying the "convos" calls with search capabilities
|
||||
*
|
||||
* Template Name: Arxiu convos antigues
|
||||
* Template Name: Arxiu de convos
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
* @link https://developer.wordpress.org/themes/template-files-section/page-template-files/
|
||||
|
|
|
@ -69,7 +69,7 @@ get_header();
|
|||
<content class="archive-posts archive-xarxaprod-convo <?php //xarxaprod_class_posttype(); ?>">
|
||||
<?php while ( $the_query_convo->have_posts() ) : $the_query_convo->the_post(); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/section', 'eachconvo' , $the_query_convo); ?>
|
||||
<?php get_template_part( 'template-parts/section', 'eachconvo' ); ?>
|
||||
|
||||
<?php endwhile;//end of the loop ?>
|
||||
<?php wp_reset_postdata(); ?>
|
||||
|
|
|
@ -60,7 +60,7 @@ get_header();
|
|||
<?php if ( $the_query_faq->have_posts() ) : ?>
|
||||
<?php while ( $the_query_faq->have_posts() ) : $the_query_faq->the_post(); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/section', 'eachfund' ); ?>
|
||||
<?php get_template_part( 'template-parts/section', 'eachpost' ); ?>
|
||||
|
||||
<?php endwhile;//end of the loop ?>
|
||||
<?php wp_reset_postdata(); ?>
|
||||
|
|
2
page.php
2
page.php
|
@ -31,7 +31,7 @@ get_header();
|
|||
if ( is_front_page() ) :
|
||||
//get_template_part( 'template-parts/section', 'featured' );
|
||||
get_template_part( 'template-parts/section', 'last-convos' );
|
||||
get_template_part( 'template-parts/section', 'last-agenda' );
|
||||
get_template_part( 'template-parts/section', 'agenda' );
|
||||
endif;
|
||||
?>
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ $color__background-hr: $color__black;
|
|||
$color__background-button: $color__black;
|
||||
$color__background-pre: $color__grey-lighter;
|
||||
$color__background-ins: $color__white-dark;
|
||||
$color__background-input: transparent;
|
||||
$color__background-input: $color__grey-lighter;
|
||||
|
||||
$color__text-screen: $color__black;
|
||||
$color__text-input: $color__black-grey;
|
||||
|
@ -51,5 +51,5 @@ $color__border-abbr: $color__grey-dark;
|
|||
|
||||
//other
|
||||
$border__radius: 0.2rem;
|
||||
$border__line: 0.05rem solid $color__black;
|
||||
$border__line: 0.05em solid $color__black;
|
||||
$box__shadow: 0 3px 10px rgba(0,0,0,0.2);
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// theme for editor admin, import style.sass and apply class before rest of it
|
||||
|
||||
// admin styles
|
||||
|
||||
.wp-admin {
|
||||
.components-button.edit-post-fullscreen-mode-close.has-icon,
|
||||
.edit-post-fullscreen-mode-close_site-icon {
|
||||
|
@ -13,6 +14,7 @@
|
|||
.site-icon-preview .app-icon-preview {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
// editor styles
|
||||
.edit-post-visual-editor__content-area {
|
||||
.editor-styles-wrapper {
|
||||
|
@ -23,7 +25,7 @@
|
|||
// max-width: 80rem;
|
||||
//``}
|
||||
font-family: $font__main;
|
||||
h1,h2,h3,h4,h5,ul,figure,button {
|
||||
h1,figure,button {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
|
|
@ -5,9 +5,6 @@ body {
|
|||
//background-position: center center;
|
||||
//background-repeat: no-repeat;
|
||||
position: relative;
|
||||
&.admin-bar { //if else breaks the WordPress inline styles when front end editing
|
||||
position: inherit;
|
||||
}
|
||||
}
|
||||
.liquid-bubbles {
|
||||
overflow: hidden;
|
||||
|
|
|
@ -10,7 +10,7 @@ input[type="submit"],
|
|||
background: $color__background-button;
|
||||
color: $color__white;
|
||||
font-size: $font__size-body * 0.9;
|
||||
//line-height: 1;
|
||||
line-height: 1;
|
||||
padding: 0.6em;
|
||||
margin: 0;
|
||||
|
||||
|
|
|
@ -16,14 +16,13 @@ input[type="color"],
|
|||
textarea {
|
||||
color: $color__text-input;
|
||||
background-color: $color__background-input;
|
||||
border: $border__line;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
padding: 0.3rem;
|
||||
&:focus,&:focus-within,&:focus-visible {
|
||||
|
||||
&:focus {
|
||||
color: $color__text-input-focus;
|
||||
box-shadow: none;
|
||||
outline: unset;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -95,12 +95,6 @@
|
|||
// margin: 0;
|
||||
// }
|
||||
//}
|
||||
|
||||
.archive,.category {
|
||||
.page-header {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
}
|
||||
.home-featured {
|
||||
h2,.h2 {
|
||||
margin: 1.2rem 0;
|
||||
|
@ -133,10 +127,10 @@
|
|||
font-size: $font__size-body*2.1;
|
||||
}
|
||||
h5 {
|
||||
font-size: $font__size-body*1.8;
|
||||
font-size: $font__size-body*2;
|
||||
}
|
||||
h6 {
|
||||
font-size: $font__size-body*1.6;
|
||||
font-size: $font__size-body*2;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
}
|
||||
.site-main {
|
||||
.entry-title {
|
||||
//margin: 0.5em 0 0 0;
|
||||
margin: 0.5em 0 0 0;
|
||||
}
|
||||
}
|
||||
.page-links {
|
||||
|
@ -30,8 +30,9 @@
|
|||
.home-featured {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
/*
|
||||
* big letters block below titles
|
||||
* big lletters block below titles
|
||||
* */
|
||||
|
||||
.xarxaprod-intro {
|
||||
|
@ -47,25 +48,18 @@
|
|||
.ratlla-abaix,.border-bottom {
|
||||
.wp-block-column {
|
||||
position:relative;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
> :last-child {
|
||||
// border-bottom: $border__line;
|
||||
&:after {
|
||||
content: "";
|
||||
border-bottom: $border__line;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.wp-block-heading {
|
||||
padding-top: 1em;
|
||||
padding-bottom: 2em;
|
||||
display:inline-grid;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
&:after {
|
||||
content: "";
|
||||
border-bottom: $border__line;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -93,7 +87,7 @@
|
|||
}
|
||||
|
||||
/* used in
|
||||
* template-parts/section-eachpost.php
|
||||
* ./template-parts/section-eachpost.php
|
||||
* */
|
||||
.xarxaprod-card-each {
|
||||
display: flex;
|
||||
|
@ -101,7 +95,7 @@
|
|||
.entry-title {
|
||||
margin: 0;
|
||||
padding: 0 0 0.5rem 0;
|
||||
//border-bottom: $border__line;
|
||||
border-bottom: $border__line;
|
||||
}
|
||||
h6 {
|
||||
padding: 0.5rem 1rem 0.5rem 0;
|
||||
|
@ -125,22 +119,10 @@
|
|||
}
|
||||
|
||||
/* used in
|
||||
* template-parts/content-xarxaprod-ajut.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachpost.php
|
||||
* ./template-parts/content-xarxaprod-ajut.php
|
||||
* ./template-parts/content-xarxaprod-convo.php
|
||||
* ./template-parts/section-eachpost.php
|
||||
* */
|
||||
.xarxaprod-card-each {
|
||||
&.xarxaprod-ajut {
|
||||
.entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
min-height: $font__size-body * 6.6;
|
||||
height: $font__size-body * 6.6;
|
||||
border-bottom: $border__line;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
.xarxaprod-fund-info-fields,
|
||||
.xarxaprod-fund-info-contact-fields {
|
||||
display: grid;
|
||||
|
@ -190,21 +172,40 @@
|
|||
font-size: $font__size-body*0.8;
|
||||
}
|
||||
}
|
||||
/* used in
|
||||
* archive-xarxaprod-convo.php
|
||||
* page-template/convo-search.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachconvo.php
|
||||
* */
|
||||
article.xarxaprod-convo {
|
||||
> .xarxaprod-convo-info-fields, {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
> .entry-footer {
|
||||
padding-top: 2rem;
|
||||
.xarxaprod-more-convos-header {
|
||||
padding: 2rem 0;
|
||||
font-size: $font__size-body*1.6;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.last-convos{
|
||||
padding: 2rem 0;
|
||||
border-top: $border__line;
|
||||
> header {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.xarxaprod-convo-info-fields,
|
||||
.xarxaprod-agenda-info {
|
||||
//margin-bottom: 2em;
|
||||
margin-bottom: 2em;
|
||||
li {
|
||||
display:grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
padding: 0.2em 0;
|
||||
border-bottom: $border__line;
|
||||
//border-top: 0.05em solid $color__black;
|
||||
border-top: $border__line;
|
||||
font-size: $font__size-body*1;
|
||||
&:first-of-type {
|
||||
border-top: $border__line;
|
||||
&:last-of-type{
|
||||
//border-bottom: 0.05em solid $color__black;
|
||||
border-bottom: $border__line;
|
||||
}
|
||||
.xarxaprod-label li {
|
||||
display: inherit;
|
||||
|
@ -212,7 +213,7 @@
|
|||
padding: 0;
|
||||
color: inherit;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
background-color: none;
|
||||
font-size: inherit;
|
||||
&:nth-child(n+2):before {
|
||||
content:", ";
|
||||
|
@ -220,71 +221,20 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
dt,dd {
|
||||
display: inline;
|
||||
dt {
|
||||
grid-row: 1 / 1;
|
||||
font-weight: 100;
|
||||
}
|
||||
dd {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
span {
|
||||
//padding-right: 0.5rem;
|
||||
}
|
||||
font-weight: 700;
|
||||
}
|
||||
p {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.xarxaprod-card-each {
|
||||
&.xarxaprod-convo {
|
||||
.entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-start;
|
||||
min-height: $font__size-body * 3.6;
|
||||
}
|
||||
}
|
||||
}
|
||||
.single-xarxaprod-convo {
|
||||
article.xarxaprod-convo {
|
||||
> .xarxaprod-convo-info-fields {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
> .entry-footer {
|
||||
padding-top: 2rem;
|
||||
.xarxaprod-more-convos-header {
|
||||
padding: 2rem 0;
|
||||
font-size: $font__size-body*1.6;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.last-convos{
|
||||
padding: 2rem 0;
|
||||
border-top: $border__line;
|
||||
> header {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.xarxaprod-convo-info-fields,
|
||||
.xarxaprod-agenda-info {
|
||||
li {
|
||||
display:grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
&:first-of-type{
|
||||
border-top: $border__line;
|
||||
}
|
||||
}
|
||||
dt {
|
||||
grid-row: 1 / 1;
|
||||
font-weight: 100;
|
||||
}
|
||||
dd {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* used in
|
||||
* template-parts/content-xarxaprod-associat.php
|
||||
|
@ -370,8 +320,6 @@
|
|||
}
|
||||
/* mapas leaflet associats */
|
||||
.xarxaprod-associats-map,.xarxaprod-espais-map {
|
||||
margin:0;
|
||||
grid-column: 1 / -1;
|
||||
aspect-ratio: 4 / 3;
|
||||
background-color: rgba(200,200,200,0.4); //place holder background color
|
||||
}
|
||||
|
@ -387,27 +335,28 @@
|
|||
}
|
||||
/*
|
||||
* categories:
|
||||
*
|
||||
* convocatorias pre 2024
|
||||
* REC
|
||||
* agenda, activitats, agenda-es
|
||||
*
|
||||
* * * * * * * * * * * * * * * */
|
||||
.xarxaprod-cards,.category-convocatories, .category-rec {
|
||||
.xarxaprod-cards,.category-convocatories,
|
||||
.category-activitats,.category-agenda,.category-agenda-es {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: flex-end;
|
||||
padding-bottom: $font__size-body * 2;
|
||||
padding-bottom: 4em;
|
||||
.wp-block-post-title {
|
||||
text-transform: lowercase;
|
||||
font-size: $font__size-body*1.5;
|
||||
margin-bottom: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
//border-bottom: 0.05em solid $color__black;
|
||||
border-bottom: $border__line;
|
||||
}
|
||||
.post-excerpt,
|
||||
.wp-block-post-excerpt {
|
||||
min-height: $font__size-body * 7;
|
||||
margin: 0.5em 0;
|
||||
font-size: $font__size-body * 1;
|
||||
//border-bottom: 0.05em solid $color__black;
|
||||
border-bottom: $border__line;
|
||||
}
|
||||
.wp-block-read-more {
|
||||
|
@ -415,16 +364,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* categories:
|
||||
* agenda, activitats, agenda-es
|
||||
*
|
||||
* * * * * * * * * * * * * * * */
|
||||
//.category-activitats,.category-agenda,.category-agenda-es
|
||||
|
||||
/* used in
|
||||
* template-parts/section-last-agenda.php
|
||||
* template-parts/section-each-agenda-entry.php
|
||||
* ./template-parts/section-agenda.php
|
||||
* */
|
||||
.xarxaprod-agenda {
|
||||
.xarxaprod-card-each {
|
||||
|
@ -432,8 +373,10 @@
|
|||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding: 0.2em 0;
|
||||
//border-bottom: 0.1em solid $color__black;
|
||||
border-bottom: $border__line;
|
||||
&:first-of-type {
|
||||
//border-top: 0.1em solid $color__black;
|
||||
border-top: $border__line;
|
||||
}
|
||||
> * {
|
||||
|
@ -444,9 +387,9 @@
|
|||
}
|
||||
.entry-title,h6 {
|
||||
border-bottom: none;
|
||||
padding: 0.5rem 0;
|
||||
}
|
||||
p {
|
||||
//font-size: $font__size-body * 1.5;
|
||||
}
|
||||
.activity-organizer, .organiza-activitat {
|
||||
}
|
||||
|
@ -454,57 +397,42 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.xarxaprod-card-each{
|
||||
&.category-activitats {
|
||||
justify-content: flex-start;
|
||||
.entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-start;
|
||||
min-height: $font__size-body * 5.5;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
}
|
||||
figure {
|
||||
// position: absolute;
|
||||
order: -1;
|
||||
margin: 0 0 1rem 0;
|
||||
width: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
overflow: hidden;
|
||||
img {
|
||||
object-position: 50% 50%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.xarxaprod-agenda-info {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
li {
|
||||
display: inline-flex;
|
||||
width: 100%;
|
||||
max-height: 2.9rem;
|
||||
overflow: hidden;
|
||||
font-weight: 100;
|
||||
}
|
||||
dt {
|
||||
padding-right: 0.5rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
dd {
|
||||
font-weight: 100;
|
||||
}
|
||||
.post-excerpt {
|
||||
margin: 0;
|
||||
min-height: 5rem;
|
||||
}
|
||||
li.category-activitats,
|
||||
li[class*='category-agenda'] {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-content: space-between;
|
||||
.wp-block-post-featured-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
aspect-ratio: 16/9;
|
||||
overflow: hidden;
|
||||
}
|
||||
.wp-block-post-title {
|
||||
}
|
||||
.wp-block-post-title:before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16/9;
|
||||
margin-bottom: 2em;
|
||||
background-color: rgba(230,230,230,0.4);
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* filters form custom fields
|
||||
* * */
|
||||
|
||||
/* filters form custom fields
|
||||
*/
|
||||
.xarxaprod-filtered-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(1 , minmax(0,1fr));
|
||||
}
|
||||
}
|
||||
.xarxaprod-filters {
|
||||
section {
|
||||
margin: 0;
|
||||
|
@ -513,6 +441,10 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.archive-posts {
|
||||
// https://stackoverflow.com/questions/47601564/equal-width-columns-in-css-grid#61240964
|
||||
grid-template-columns: repeat(1 , minmax(0,1fr));
|
||||
}
|
||||
|
||||
.xarxaprod-titol-opcions {
|
||||
// applied in forms and contactforms
|
||||
|
@ -582,32 +514,34 @@
|
|||
@media screen and (min-width: 48em) {
|
||||
//only bigger than 48em
|
||||
.xarxaprod-filters {
|
||||
//padding-right: 2em;
|
||||
padding-right: 2em;
|
||||
section {
|
||||
}
|
||||
}
|
||||
.archive-posts {
|
||||
//grid-template-columns: repeat(2 , minmax(0,1fr));
|
||||
.xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 2fr;
|
||||
gap: $grid__gap * 4;
|
||||
}
|
||||
.single-xarxaprod-convo {
|
||||
.xarxaprod-convo-info-fields,
|
||||
.xarxaprod-agenda-info {
|
||||
li {
|
||||
font-size: $font__size-body*1.5;
|
||||
}
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(2 , minmax(0,1fr));
|
||||
}
|
||||
.xarxaprod-convo-info-fields,
|
||||
.xarxaprod-agenda-info {
|
||||
li {
|
||||
font-size: $font__size-body*1.5;
|
||||
}
|
||||
}
|
||||
|
||||
.single-xarxaprod-associat {
|
||||
.xarxaprod-associat {
|
||||
}
|
||||
.xarxaprod-associat-info {
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
.xarxaprod-associat-location {
|
||||
}
|
||||
.xarxaprod-associat-osm-link {
|
||||
grid-template-columns: min-content auto;
|
||||
.xarxaprod-associat-info {
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
.xarxaprod-associat-location {
|
||||
.xarxaprod-associat-osm-link {
|
||||
grid-template-columns: min-content auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.xarxaprod-agenda {
|
||||
|
@ -628,11 +562,16 @@
|
|||
@media screen and (min-width: 80em) {
|
||||
//only bigger than 80rem
|
||||
.xarxaprod-filtered-content {
|
||||
//grid-template-columns: 1fr 3fr;
|
||||
.archive-xarxaprod-associats,&.archive-custom-post-type-associat {
|
||||
//grid-template-columns: repeat(1 , minmax(0,1fr));
|
||||
grid-template-columns: 1fr 3fr;
|
||||
gap: $grid__gap * 6;
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(2 , minmax(0,1fr));
|
||||
&.archive-xarxaprod-associats,&.archive-custom-post-type-associat {
|
||||
grid-template-columns: repeat(1 , minmax(0,1fr));
|
||||
}
|
||||
}
|
||||
}
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(3 , minmax(0,1fr));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,32 +70,6 @@
|
|||
}
|
||||
.menu-item-has-children {
|
||||
}
|
||||
.menu-menu-agenda-container {
|
||||
.menu-item-has-children {
|
||||
padding-right: 0;
|
||||
}
|
||||
> ul{
|
||||
border-bottom: $border__line;
|
||||
}
|
||||
li {
|
||||
> ul {
|
||||
margin-left: 0;
|
||||
}
|
||||
> a {
|
||||
display: block;
|
||||
padding: 0.5rem 0;
|
||||
border-top: $border__line;
|
||||
&:last-of-type {
|
||||
}
|
||||
}
|
||||
}
|
||||
.current-menu-item {
|
||||
> a {
|
||||
font-weight: 900;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* begin of menu-hidden */
|
||||
//.toggle-secondary-navigation .show-mobile{
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
}
|
||||
.site-main {
|
||||
padding: 0 1rem;
|
||||
gap: $grid__gap;
|
||||
> section {
|
||||
padding: 0;
|
||||
> header {
|
||||
|
@ -77,24 +76,6 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.archive,
|
||||
.category {
|
||||
.site-main {
|
||||
display:grid;
|
||||
grid-template-columns: 1fr;
|
||||
> header {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
.xarxaprod-filtered-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: $grid__gap;
|
||||
.archive-posts {
|
||||
}
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
|
@ -194,19 +175,11 @@
|
|||
width: 100%;
|
||||
}
|
||||
}
|
||||
.page-template-agenda-archive {
|
||||
.site-main {
|
||||
> article {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.site-main {
|
||||
padding: 0;
|
||||
> article {
|
||||
padding-top: 4rem;
|
||||
padding-bottom: 4rem;
|
||||
&.xarxaprod-ajut {
|
||||
&.xarxaprod-ajut {
|
||||
display: grid;
|
||||
> * {
|
||||
max-width: 40rem;
|
||||
|
@ -234,19 +207,6 @@
|
|||
padding-bottom: 4rem;
|
||||
}
|
||||
}
|
||||
.archive,
|
||||
.category {
|
||||
.site-main {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
> header {
|
||||
}
|
||||
}
|
||||
}
|
||||
.xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
.archive-posts {
|
||||
}
|
||||
}
|
||||
.site-footer {
|
||||
flex-flow: column;
|
||||
}
|
||||
|
@ -259,17 +219,9 @@
|
|||
}
|
||||
}
|
||||
.xarxaprod-destacats,.xarxaprod-featured,
|
||||
.xarxaprod-last-convos,.xarxaprod-ultimes-convocatories {
|
||||
grid-template-columns: repeat(3 , 1fr);
|
||||
}
|
||||
.xarxaprod-last-convos,.xarxaprod-ultimes-convocatories,
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(2 , 1fr);
|
||||
min-height: 40vh;
|
||||
}
|
||||
.post-type-archive-xarxaprod-associat {
|
||||
.archive-posts {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
grid-template-columns: repeat(3 , 1fr);
|
||||
}
|
||||
.xarxaprod-faqs-aside {
|
||||
display: flex;
|
||||
|
|
|
@ -5,7 +5,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
|
|||
Author: Hangar.org Tech Lab - hangar.org
|
||||
Author URI: https://hangar.org
|
||||
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
|
||||
Version: 1.6.0
|
||||
Version: 1.5.0
|
||||
Tested up to: 6.4
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v3 or later
|
||||
|
|
475
style.css
475
style.css
|
@ -5,7 +5,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
|
|||
Author: Hangar.org Tech Lab - hangar.org
|
||||
Author URI: https://hangar.org
|
||||
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
|
||||
Version: 1.6.0
|
||||
Version: 1.5.0
|
||||
Tested up to: 6.4
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v3 or later
|
||||
|
@ -590,17 +590,12 @@ textarea {
|
|||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.archive .page-header,
|
||||
.category .page-header {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.home-featured h2,
|
||||
.home-featured .h2 {
|
||||
margin: 1.2rem 0;
|
||||
font-size: 2rem;
|
||||
line-height: 1.2;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
/* entry content */
|
||||
|
@ -620,11 +615,11 @@ textarea {
|
|||
}
|
||||
|
||||
.xarxaprod-intro h5 {
|
||||
font-size: 1.8rem;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.xarxaprod-intro h6 {
|
||||
font-size: 1.6rem;
|
||||
font-size: 2rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
@ -702,7 +697,7 @@ textarea {
|
|||
.home-featured h2,
|
||||
.home-featured .h2 {
|
||||
font-size: 3.5rem;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -828,10 +823,6 @@ body {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
body.admin-bar {
|
||||
position: inherit;
|
||||
}
|
||||
|
||||
.liquid-bubbles {
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
|
@ -958,7 +949,7 @@ dd {
|
|||
margin: 0.1em 0;
|
||||
padding: 0.2em 0.2em 0 0.2em;
|
||||
color: #000;
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
background-color: none;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
@ -1155,6 +1146,7 @@ input[type="submit"],
|
|||
background: #000;
|
||||
color: #fff;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1;
|
||||
padding: 0.6em;
|
||||
margin: 0;
|
||||
}
|
||||
|
@ -1251,68 +1243,34 @@ input[type="datetime-local"],
|
|||
input[type="color"],
|
||||
textarea {
|
||||
color: #111;
|
||||
background-color: transparent;
|
||||
border: 0.05rem solid #000;
|
||||
background-color: #eee;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
padding: 0.3rem;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="text"]:focus-within,
|
||||
input[type="text"]:focus-visible,
|
||||
input[type="email"]:focus,
|
||||
input[type="email"]:focus-within,
|
||||
input[type="email"]:focus-visible,
|
||||
input[type="url"]:focus,
|
||||
input[type="url"]:focus-within,
|
||||
input[type="url"]:focus-visible,
|
||||
input[type="password"]:focus,
|
||||
input[type="password"]:focus-within,
|
||||
input[type="password"]:focus-visible,
|
||||
input[type="search"]:focus,
|
||||
input[type="search"]:focus-within,
|
||||
input[type="search"]:focus-visible,
|
||||
input[type="number"]:focus,
|
||||
input[type="number"]:focus-within,
|
||||
input[type="number"]:focus-visible,
|
||||
input[type="tel"]:focus,
|
||||
input[type="tel"]:focus-within,
|
||||
input[type="tel"]:focus-visible,
|
||||
input[type="range"]:focus,
|
||||
input[type="range"]:focus-within,
|
||||
input[type="range"]:focus-visible,
|
||||
input[type="date"]:focus,
|
||||
input[type="date"]:focus-within,
|
||||
input[type="date"]:focus-visible,
|
||||
input[type="month"]:focus,
|
||||
input[type="month"]:focus-within,
|
||||
input[type="month"]:focus-visible,
|
||||
input[type="week"]:focus,
|
||||
input[type="week"]:focus-within,
|
||||
input[type="week"]:focus-visible,
|
||||
input[type="time"]:focus,
|
||||
input[type="time"]:focus-within,
|
||||
input[type="time"]:focus-visible,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime"]:focus-within,
|
||||
input[type="datetime"]:focus-visible,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="datetime-local"]:focus-within,
|
||||
input[type="datetime-local"]:focus-visible,
|
||||
input[type="color"]:focus,
|
||||
input[type="color"]:focus-within,
|
||||
input[type="color"]:focus-visible,
|
||||
textarea:focus,
|
||||
textarea:focus-within,
|
||||
textarea:focus-visible {
|
||||
textarea:focus {
|
||||
color: #000;
|
||||
box-shadow: none;
|
||||
outline: unset;
|
||||
}
|
||||
|
||||
select {
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
}
|
||||
|
||||
textarea {
|
||||
|
@ -1392,7 +1350,6 @@ textarea {
|
|||
|
||||
.site-main {
|
||||
padding: 0 1rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.site-main > section {
|
||||
|
@ -1403,23 +1360,6 @@ textarea {
|
|||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.archive .site-main,
|
||||
.category .site-main {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.archive .site-main > header,
|
||||
.category .site-main > header {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.xarxaprod-filtered-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
|
@ -1435,7 +1375,7 @@ textarea {
|
|||
.site-footer .site-info > section {
|
||||
margin-top: 2em;
|
||||
padding: 2em 4em;
|
||||
border-top: 0.05rem solid #000;
|
||||
border-top: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.site-footer a {
|
||||
|
@ -1531,16 +1471,11 @@ textarea {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.page-template-agenda-archive .site-main > article {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.site-main {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.site-main > article {
|
||||
padding-top: 4rem;
|
||||
padding-bottom: 4rem;
|
||||
}
|
||||
|
||||
|
@ -1573,15 +1508,6 @@ textarea {
|
|||
padding-bottom: 4rem;
|
||||
}
|
||||
|
||||
.archive .site-main,
|
||||
.category .site-main {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
}
|
||||
|
||||
.xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
flex-flow: column;
|
||||
}
|
||||
|
@ -1597,17 +1523,9 @@ textarea {
|
|||
.xarxaprod-destacats,
|
||||
.xarxaprod-featured,
|
||||
.xarxaprod-last-convos,
|
||||
.xarxaprod-ultimes-convocatories {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.xarxaprod-ultimes-convocatories,
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
min-height: 40vh;
|
||||
}
|
||||
|
||||
.post-type-archive-xarxaprod-associat .archive-posts {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.xarxaprod-faqs-aside {
|
||||
|
@ -1714,28 +1632,6 @@ textarea {
|
|||
background-color: #000;
|
||||
}
|
||||
|
||||
.menu-menu-agenda-container .menu-item-has-children {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.menu-menu-agenda-container > ul {
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.menu-menu-agenda-container li > ul {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.menu-menu-agenda-container li > a {
|
||||
display: block;
|
||||
padding: 0.5rem 0;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.menu-menu-agenda-container .current-menu-item > a {
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
/* begin of menu-hidden */
|
||||
|
||||
/* end of menu hidden*/
|
||||
|
@ -1873,7 +1769,7 @@ textarea {
|
|||
right: 0.3em;
|
||||
width: 0.3em;
|
||||
height: 0.3em;
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
-moz-transform: rotate(45deg);
|
||||
|
@ -1961,6 +1857,10 @@ textarea {
|
|||
margin: 1.5em 0 0;
|
||||
}
|
||||
|
||||
.site-main .entry-title {
|
||||
margin: 0.5em 0 0 0;
|
||||
}
|
||||
|
||||
.page-links {
|
||||
clear: both;
|
||||
margin: 0 0 1.5em;
|
||||
|
@ -1971,7 +1871,7 @@ textarea {
|
|||
}
|
||||
|
||||
/*
|
||||
* big letters block below titles
|
||||
* big lletters block below titles
|
||||
* */
|
||||
.xarxaprod-intro {
|
||||
line-height: 1.2;
|
||||
|
@ -1986,28 +1886,22 @@ textarea {
|
|||
.ratlla-abaix .wp-block-column,
|
||||
.border-bottom .wp-block-column {
|
||||
position: relative;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
||||
.ratlla-abaix .wp-block-column > :last-child::after,
|
||||
.border-bottom .wp-block-column > :last-child::after {
|
||||
content: "";
|
||||
border-bottom: 0.05rem solid #000;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.ratlla-abaix .wp-block-heading,
|
||||
.border-bottom .wp-block-heading {
|
||||
padding-top: 1em;
|
||||
padding-bottom: 2em;
|
||||
display: inline-grid;
|
||||
}
|
||||
|
||||
.ratlla-abaix p,
|
||||
.border-bottom p {
|
||||
margin-bottom: 0;
|
||||
.ratlla-abaix .wp-block-heading::after,
|
||||
.border-bottom .wp-block-heading::after {
|
||||
content: "";
|
||||
border-bottom: 0.05em solid #000;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2020,7 +1914,7 @@ textarea {
|
|||
.download-files a {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.descarregar-fitxers a::after,
|
||||
|
@ -2037,7 +1931,7 @@ textarea {
|
|||
}
|
||||
|
||||
/* used in
|
||||
* template-parts/section-eachpost.php
|
||||
* ./template-parts/section-eachpost.php
|
||||
* */
|
||||
.xarxaprod-card-each {
|
||||
display: flex;
|
||||
|
@ -2047,11 +1941,12 @@ textarea {
|
|||
.xarxaprod-card-each .entry-title {
|
||||
margin: 0;
|
||||
padding: 0 0 0.5rem 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each h6 {
|
||||
padding: 0.5rem 1rem 0.5rem 0;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each .xarxaprod-deadline {
|
||||
|
@ -2064,7 +1959,7 @@ textarea {
|
|||
}
|
||||
|
||||
.xarxaprod-card-each .excerpt {
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
margin-bottom: 0.5em;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
@ -2074,19 +1969,10 @@ textarea {
|
|||
}
|
||||
|
||||
/* used in
|
||||
* template-parts/content-xarxaprod-ajut.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachpost.php
|
||||
* ./template-parts/content-xarxaprod-ajut.php
|
||||
* ./template-parts/content-xarxaprod-convo.php
|
||||
* ./template-parts/section-eachpost.php
|
||||
* */
|
||||
.xarxaprod-card-each.xarxaprod-ajut .entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
min-height: 6.6rem;
|
||||
height: 6.6rem;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.xarxaprod-fund-info-fields,
|
||||
.xarxaprod-fund-info-contact-fields {
|
||||
display: grid;
|
||||
|
@ -2096,7 +1982,7 @@ textarea {
|
|||
.xarxaprod-fund-info-fields .xarxaprod-fund-info-field,
|
||||
.xarxaprod-fund-info-contact-fields .xarxaprod-fund-info-field {
|
||||
padding: 1rem 0;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-fund-info-fields h6,
|
||||
|
@ -2148,22 +2034,47 @@ textarea {
|
|||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
/* used in
|
||||
* archive-xarxaprod-convo.php
|
||||
* page-template/convo-search.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachconvo.php
|
||||
* */
|
||||
article.xarxaprod-convo > .xarxaprod-convo-info-fields {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
article.xarxaprod-convo > .entry-footer {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
article.xarxaprod-convo > .entry-footer .xarxaprod-more-convos-header {
|
||||
padding: 2rem 0;
|
||||
font-size: 1.6rem;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
article.xarxaprod-convo > .entry-footer .last-convos {
|
||||
padding: 2rem 0;
|
||||
border-top: 0.05em solid #000;
|
||||
}
|
||||
|
||||
article.xarxaprod-convo > .entry-footer .last-convos > header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields,
|
||||
.xarxaprod-agenda-info {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields li,
|
||||
.xarxaprod-agenda-info li {
|
||||
display: grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
padding: 0.2em 0;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-top: 0.05em solid #000;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields li:first-of-type,
|
||||
.xarxaprod-agenda-info li:first-of-type {
|
||||
border-top: 0.05rem solid #000;
|
||||
.xarxaprod-convo-info-fields li:last-of-type,
|
||||
.xarxaprod-agenda-info li:last-of-type {
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields li .xarxaprod-label li,
|
||||
|
@ -2173,7 +2084,7 @@ textarea {
|
|||
padding: 0;
|
||||
color: inherit;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
background-color: none;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
|
@ -2184,12 +2095,16 @@ textarea {
|
|||
}
|
||||
|
||||
.xarxaprod-convo-info-fields dt,
|
||||
.xarxaprod-convo-info-fields dd,
|
||||
.xarxaprod-agenda-info dt,
|
||||
.xarxaprod-agenda-info dd {
|
||||
display: inline;
|
||||
.xarxaprod-agenda-info dt {
|
||||
grid-row: 1 / 1;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields dd,
|
||||
.xarxaprod-agenda-info dd {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields p,
|
||||
|
@ -2198,61 +2113,6 @@ textarea {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.xarxaprod-convo .entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-start;
|
||||
min-height: 3.6rem;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo article.xarxaprod-convo > .xarxaprod-convo-info-fields {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo article.xarxaprod-convo > .entry-footer {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .xarxaprod-more-convos-header {
|
||||
padding: 2rem 0;
|
||||
font-size: 1.6rem;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .last-convos {
|
||||
padding: 2rem 0;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .last-convos > header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo .xarxaprod-convo-info-fields li,
|
||||
.single-xarxaprod-convo .xarxaprod-agenda-info li {
|
||||
display: grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo .xarxaprod-convo-info-fields li:first-of-type,
|
||||
.single-xarxaprod-convo .xarxaprod-agenda-info li:first-of-type {
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo .xarxaprod-convo-info-fields dt,
|
||||
.single-xarxaprod-convo .xarxaprod-agenda-info dt {
|
||||
grid-row: 1 / 1;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo .xarxaprod-convo-info-fields dd,
|
||||
.single-xarxaprod-convo .xarxaprod-agenda-info dd {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* used in
|
||||
* template-parts/content-xarxaprod-associat.php
|
||||
* * * * * * * * * */
|
||||
|
@ -2276,7 +2136,7 @@ textarea {
|
|||
display: grid;
|
||||
font-size: 1rem;
|
||||
border: none;
|
||||
border-top: 0.05rem solid #000;
|
||||
border-top: 0.05em solid #000;
|
||||
margin: 0;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
@ -2341,8 +2201,6 @@ textarea {
|
|||
/* mapas leaflet associats */
|
||||
.xarxaprod-associats-map,
|
||||
.xarxaprod-espais-map {
|
||||
margin: 0;
|
||||
grid-column: 1 / -1;
|
||||
aspect-ratio: 4 / 3;
|
||||
background-color: rgba(200, 200, 200, 0.4);
|
||||
}
|
||||
|
@ -2359,67 +2217,64 @@ textarea {
|
|||
|
||||
/*
|
||||
* categories:
|
||||
*
|
||||
* convocatorias pre 2024
|
||||
* REC
|
||||
* agenda, activitats, agenda-es
|
||||
*
|
||||
* * * * * * * * * * * * * * * */
|
||||
.xarxaprod-cards,
|
||||
.category-convocatories,
|
||||
.category-rec {
|
||||
.category-activitats,
|
||||
.category-agenda,
|
||||
.category-agenda-es {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: flex-end;
|
||||
padding-bottom: 2rem;
|
||||
padding-bottom: 4em;
|
||||
}
|
||||
|
||||
.xarxaprod-cards .wp-block-post-title,
|
||||
.category-convocatories .wp-block-post-title,
|
||||
.category-rec .wp-block-post-title {
|
||||
.category-activitats .wp-block-post-title,
|
||||
.category-agenda .wp-block-post-title,
|
||||
.category-agenda-es .wp-block-post-title {
|
||||
text-transform: lowercase;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-cards .post-excerpt,
|
||||
.xarxaprod-cards .wp-block-post-excerpt,
|
||||
.category-convocatories .post-excerpt,
|
||||
.category-convocatories .wp-block-post-excerpt,
|
||||
.category-rec .post-excerpt,
|
||||
.category-rec .wp-block-post-excerpt {
|
||||
min-height: 7rem;
|
||||
.category-activitats .wp-block-post-excerpt,
|
||||
.category-agenda .wp-block-post-excerpt,
|
||||
.category-agenda-es .wp-block-post-excerpt {
|
||||
margin: 0.5em 0;
|
||||
font-size: 1rem;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-cards .wp-block-read-more,
|
||||
.category-convocatories .wp-block-read-more,
|
||||
.category-rec .wp-block-read-more {
|
||||
.category-activitats .wp-block-read-more,
|
||||
.category-agenda .wp-block-read-more,
|
||||
.category-agenda-es .wp-block-read-more {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* categories:
|
||||
* agenda, activitats, agenda-es
|
||||
*
|
||||
* * * * * * * * * * * * * * * */
|
||||
|
||||
/* used in
|
||||
* template-parts/section-last-agenda.php
|
||||
* template-parts/section-each-agenda-entry.php
|
||||
* ./template-parts/section-agenda.php
|
||||
* */
|
||||
.xarxaprod-agenda .xarxaprod-card-each {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding: 0.2em 0;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
border-bottom: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-agenda .xarxaprod-card-each:first-of-type {
|
||||
border-top: 0.05rem solid #000;
|
||||
border-top: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-agenda .xarxaprod-card-each > * {
|
||||
|
@ -2430,65 +2285,47 @@ textarea {
|
|||
.xarxaprod-agenda .xarxaprod-card-each .entry-title,
|
||||
.xarxaprod-agenda .xarxaprod-card-each h6 {
|
||||
border-bottom: none;
|
||||
padding: 0.5rem 0;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats {
|
||||
justify-content: flex-start;
|
||||
li.category-activitats,
|
||||
li[class*="category-agenda"] {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-content: space-between;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats .entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-start;
|
||||
min-height: 5.5rem;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats figure {
|
||||
order: -1;
|
||||
margin: 0 0 1rem 0;
|
||||
width: 100%;
|
||||
li.category-activitats .wp-block-post-featured-image,
|
||||
li[class*="category-agenda"] .wp-block-post-featured-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
aspect-ratio: 16/9;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats figure img {
|
||||
object-position: 50% 50%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
li.category-activitats .wp-block-post-title::before,
|
||||
li[class*="category-agenda"] .wp-block-post-title::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16/9;
|
||||
margin-bottom: 2em;
|
||||
background-color: rgba(230, 230, 230, 0.4);
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats .xarxaprod-agenda-info {
|
||||
margin-bottom: 0;
|
||||
/* filters form custom fields
|
||||
*/
|
||||
.xarxaprod-filtered-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats li {
|
||||
display: inline-flex;
|
||||
width: 100%;
|
||||
max-height: 2.9rem;
|
||||
overflow: hidden;
|
||||
font-weight: 100;
|
||||
.xarxaprod-filtered-content .archive-posts {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats dt {
|
||||
padding-right: 0.5rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats dd {
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats .post-excerpt {
|
||||
margin: 0;
|
||||
min-height: 5rem;
|
||||
}
|
||||
|
||||
/*
|
||||
* filters form custom fields
|
||||
* * */
|
||||
.xarxaprod-filters section {
|
||||
margin: 0;
|
||||
}
|
||||
|
@ -2497,6 +2334,10 @@ textarea {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.xarxaprod-titol-opcions {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
|
@ -2507,7 +2348,7 @@ textarea {
|
|||
cursor: pointer;
|
||||
font-weight: 900;
|
||||
font-size: 0.9rem;
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-titol-opcions::after {
|
||||
|
@ -2569,16 +2410,29 @@ textarea {
|
|||
|
||||
@media screen and (min-width: 48em) {
|
||||
|
||||
.single-xarxaprod-convo .xarxaprod-convo-info-fields li,
|
||||
.single-xarxaprod-convo .xarxaprod-agenda-info li {
|
||||
.xarxaprod-filters {
|
||||
padding-right: 2em;
|
||||
}
|
||||
|
||||
.xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 2fr;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields li,
|
||||
.xarxaprod-agenda-info li {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.single-xarxaprod-associat .xarxaprod-associat-info {
|
||||
.single-xarxaprod-associat .xarxaprod-associat .xarxaprod-associat-info {
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.single-xarxaprod-associat .xarxaprod-associat-osm-link {
|
||||
.single-xarxaprod-associat .xarxaprod-associat .xarxaprod-associat-location .xarxaprod-associat-osm-link {
|
||||
grid-template-columns: min-content auto;
|
||||
}
|
||||
|
||||
|
@ -2602,6 +2456,27 @@ textarea {
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 80em) {
|
||||
|
||||
.xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
gap: 6rem;
|
||||
}
|
||||
|
||||
.xarxaprod-filtered-content .archive-posts {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.xarxaprod-filtered-content .archive-posts.archive-xarxaprod-associats,
|
||||
.xarxaprod-filtered-content .archive-posts.archive-custom-post-type-associat {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
/* Comments
|
||||
--------------------------------------------- */
|
||||
.comment-content a {
|
||||
|
@ -2883,7 +2758,7 @@ textarea {
|
|||
.wpcf7-form input:not([type="submit"]),
|
||||
.wpcf7-form textarea {
|
||||
background: transparent;
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
|
@ -2953,7 +2828,7 @@ textarea {
|
|||
}
|
||||
|
||||
.contactform-fund-options label.oficinasuport-titol-opcions {
|
||||
border: 0.05rem solid #000;
|
||||
border: 0.05em solid #000;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin-bottom: 1em;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -11,23 +11,53 @@
|
|||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title">
|
||||
<?php the_title(); ?>
|
||||
</h1>
|
||||
|
||||
<?php
|
||||
the_title( '<h3 class="entry-title">', '</h3>' );
|
||||
|
||||
if ( 'post' === get_post_type() ) :
|
||||
?>
|
||||
<div class="entry-meta">
|
||||
<?php if ( in_category('faq') ){
|
||||
// display each faq category of the post as label
|
||||
<?php if ( in_category('faq') ){
|
||||
xarxaprod_display_each_faq_categories();
|
||||
//xarxaprod_display_faqs_labels();
|
||||
} ;?>
|
||||
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
<?php if ( in_category( array( 'agenda', 'agenda-es','activitats') ) ) : ?>
|
||||
<aside class="xarxaprod-agenda-info">
|
||||
<ul>
|
||||
<li>
|
||||
<dt>Data</dt>
|
||||
<dd><?php the_field('xxp_agenda_date_start'); ?> </dd>
|
||||
</li>
|
||||
<li>
|
||||
<dt>Lloc</dt>
|
||||
<dd>
|
||||
|
||||
<?php //output xxp_agenda_who who is doing the activity
|
||||
$fielditerate='xxp_agenda_who';
|
||||
$fields= get_field($fielditerate);
|
||||
if( $fields ):
|
||||
?>
|
||||
<ul class="xarxaprod-label item-<?php echo $fielditerate ?>">
|
||||
<?php foreach( $fields as $field ): ?>
|
||||
<li>
|
||||
<?php echo $field['label']; ?>
|
||||
<?php //echo '<a href="' . get_category_link( get_the_category()[0]->term_id ) . '?' . $fielditerate . '=' . $field['value'] . '">'; ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; // end list xxp_agena_who?>
|
||||
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
</dd>
|
||||
</li>
|
||||
</ul>
|
||||
</aside>
|
||||
<?php endif; //end in_category agenda activitats ?>
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
the_content(
|
||||
|
|
|
@ -15,54 +15,58 @@
|
|||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<aside cass="xarxaprod-espai-image">
|
||||
<?php
|
||||
if( get_field('xxp_convo_espai_associat') ):
|
||||
// read here howto
|
||||
// https://www.advancedcustomfields.com/resources/relationship/#display-list-of-posts-with-setuppostdata
|
||||
$espai_associat_posts = get_field('xxp_convo_espai_associat');
|
||||
if( $espai_associat_posts ):
|
||||
foreach( $espai_associat_posts as $post ):
|
||||
// Setup this post for WP functions (variable must be named $post).
|
||||
setup_postdata($post); ?>
|
||||
|
||||
<?php
|
||||
// search and output images
|
||||
// check if has post_thumbnail
|
||||
if ( has_post_thumbnail() ){
|
||||
xarxaprod_post_thumbnail('full');
|
||||
} else { ?>
|
||||
<?php if( have_rows('xxp_associat_gallery_images') ){ ?>
|
||||
<section class="xarxaprod-associat-gallery-images">
|
||||
<ul class="xarxaprod-associat-slides">
|
||||
<?php while( have_rows('xxp_associat_gallery_images') ): the_row(); ?>
|
||||
<?php $image=get_sub_field('xxp_associat_image'); ?>
|
||||
<li id="<?php echo acf_esc_html( $image['filename'] );?>" class="xarxaprod-associat-image">
|
||||
<?php //print_r( $image ); //echo the whole array ?>
|
||||
<?php //print_r( $image['ID'] ); // echo one fiels of the array?>
|
||||
<?php echo wp_get_attachment_image( $image['ID'], 'full' ); ?>
|
||||
<p class="caption"><?php //echo acf_esc_html( $image['caption'] );?></p>
|
||||
</li>
|
||||
<?php endwhile; //end while has rows ?>
|
||||
</ul>
|
||||
</section>
|
||||
<?php }; //end if xxp_associat_gallery_images ?>
|
||||
|
||||
<?php };//end has_post_thumbnail ?>
|
||||
<aside cass="xarxaprod-espai-image">
|
||||
<?php
|
||||
if( get_field('xxp_convo_espai_associat') ):
|
||||
// read here howto
|
||||
// https://www.advancedcustomfields.com/resources/relationship/#display-list-of-posts-with-setuppostdata
|
||||
$espai_associat_posts = get_field('xxp_convo_espai_associat');
|
||||
if( $espai_associat_posts ):
|
||||
foreach( $espai_associat_posts as $post ):
|
||||
// Setup this post for WP functions (variable must be named $post).
|
||||
setup_postdata($post); ?>
|
||||
|
||||
<?php
|
||||
// search and output images
|
||||
// check if has post_thumbnail
|
||||
if ( has_post_thumbnail() ){
|
||||
xarxaprod_post_thumbnail('full');
|
||||
} else { ?>
|
||||
<?php if( have_rows('xxp_associat_gallery_images') ){ ?>
|
||||
<section class="xarxaprod-associat-gallery-images">
|
||||
<ul class="xarxaprod-associat-slides">
|
||||
<?php while( have_rows('xxp_associat_gallery_images') ): the_row(); ?>
|
||||
<?php $image=get_sub_field('xxp_associat_image'); ?>
|
||||
<li id="<?php echo acf_esc_html( $image['filename'] );?>" class="xarxaprod-associat-image">
|
||||
<?php //print_r( $image ); //echo the whole array ?>
|
||||
<?php //print_r( $image['ID'] ); // echo one fiels of the array?>
|
||||
<?php echo wp_get_attachment_image( $image['ID'], 'full' ); ?>
|
||||
<p class="caption"><?php //echo acf_esc_html( $image['caption'] );?></p>
|
||||
</li>
|
||||
<?php endwhile; //end while has rows ?>
|
||||
</ul>
|
||||
</section>
|
||||
<?php }; //end if xxp_associat_gallery_images ?>
|
||||
|
||||
<?php };//end has_post_thumbnail ?>
|
||||
|
||||
<?php endforeach;
|
||||
// Reset the global post object so that the rest of the page works correctly.
|
||||
wp_reset_postdata();
|
||||
endif;
|
||||
endif;
|
||||
?>
|
||||
</aside>
|
||||
|
||||
|
||||
<?php endforeach;
|
||||
// Reset the global post object so that the rest of the page works correctly.
|
||||
wp_reset_postdata();
|
||||
endif;
|
||||
endif;
|
||||
?>
|
||||
</aside>
|
||||
|
||||
<section class="xarxaprod-convo-info-fields">
|
||||
<ul>
|
||||
<?php if( get_field('xxp_convo_espai_associat') ):
|
||||
// read here howto
|
||||
// https://www.advancedcustomfields.com/resources/relationship/#display-list-of-posts-with-setuppostdata
|
||||
// read here howto
|
||||
// https://www.advancedcustomfields.com/resources/relationship/#display-list-of-posts-with-setuppostdata
|
||||
$espai_associat_posts = get_field('xxp_convo_espai_associat');
|
||||
if( $espai_associat_posts ):
|
||||
foreach( $espai_associat_posts as $post ):
|
||||
|
@ -102,14 +106,10 @@
|
|||
<dt>Termini</dt>
|
||||
<?php if( get_field('xxp_convo_apply_begin') || get_field('xxp_convo_apply_end') ): ?>
|
||||
<dd class="xarxaprod-label item-xxp_convo_dates">
|
||||
<?php if( get_field('xxp_convo_apply_begin') ): ?>
|
||||
<span class="item-xxp_convo_apply_begin">del <?php the_field('xxp_convo_apply_begin'); ?> </span>
|
||||
<?php endif; ?>
|
||||
<?php if( get_field('xxp_convo_apply_end') && !get_field('xxp_convo_apply_begin') ){ echo 'fins'; } ?>
|
||||
<?php if( get_field('xxp_convo_apply_end') ): ?>
|
||||
<span class="item-xxp_convo_apply_end">al <?php the_field('xxp_convo_apply_end'); ?> </span>
|
||||
<?php endif; ?>
|
||||
<?php if( get_field('xxp_convo_apply_text') ): ?>
|
||||
<br />
|
||||
<span class="item-xxp_convo_apply_text"><?php the_field('xxp_convo_apply_text'); ?></span>
|
||||
<?php endif; ?>
|
||||
</dd>
|
||||
|
@ -119,14 +119,11 @@
|
|||
<li class="xarxaprod-convo-info-date">
|
||||
<dt>Periode</dt>
|
||||
<?php if( get_field('xxp_convo_date_begin') || get_field('xxp_convo_date_end') ): ?>
|
||||
<dd class="xarxaprod-label item-xxp_convo_dates">
|
||||
<?php if( get_field('xxp_convo_date_begin') ): ?>
|
||||
<span class="item-xxp_convo_date_begin">del <?php the_field('xxp_convo_date_begin'); ?> </span>
|
||||
<?php endif;?>
|
||||
<?php if( get_field('xxp_convo_date_end') && !get_field('xxp_convo_date_begin') ){ echo 'fins'; } ?>
|
||||
<?php if( get_field('xxp_convo_date_end') ): ?>
|
||||
<dd class="xarxaprod-label item-xxp_convo_dates">
|
||||
del
|
||||
<span class="item-xxp_convo_date_begin">del <?php the_field('xxp_convo_date_begin'); ?> </span>
|
||||
al
|
||||
<span class="item-xxp_convo_date_end">al <?php the_field('xxp_convo_date_end'); ?> </span>
|
||||
<?php endif;?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
|
|
|
@ -1,20 +1,17 @@
|
|||
<?php
|
||||
/**
|
||||
* Template part for displaying 3 posts from category "agenda"
|
||||
* Template part for displaying posts from category "agenda"
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package Xarxaprod_theme
|
||||
* @used by page.php
|
||||
* @shown in : home
|
||||
*
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<section id="agenda" class="agenda ">
|
||||
<header>
|
||||
<h2><a href="<?php echo site_url() . '/activitats' ;?>"><?php echo esc_html__('Agenda', 'xarxaprod'); ?></a></h2>
|
||||
<h2><a href="<?php echo site_url() . '/agenda' ;?>"><?php echo esc_html__('Agenda', 'xarxaprod'); ?></a></h2>
|
||||
</header>
|
||||
<main class="xarxaprod-agenda">
|
||||
|
||||
|
@ -56,16 +53,8 @@
|
|||
<?php endif; ?>
|
||||
</section>
|
||||
<aside class="agenda-date agenda-data">
|
||||
<?php if( get_field('xxp_agenda_date_start') || get_field('xxp_agenda_date_start') || get_field('xxp_agenda_free_text') ): ?>
|
||||
<p>
|
||||
<?php if( get_field('xxp_agenda_date_start') ){ ?>
|
||||
<span class="item-xxp-agenda-date-start">el <?php the_field('xxp_agenda_date_start'); ?></span>
|
||||
<?php } elseif ( get_field('xxp_agenda_date_end') ){ ?>
|
||||
<span class="item-xxp-agenda-date-end">fins al<?php the_field('xxp_agenda_date_end'); ?></span>
|
||||
<?php } elseif ( get_field('xxp_agenda_free_text') ){?>
|
||||
<span class="item-xxp-agenda-free-text"><?php the_field('xxp_agenda_free_text'); ?></span>
|
||||
<?php }; ?>
|
||||
</p>
|
||||
<?php if( get_field('xxp_agenda_date_start') ): ?>
|
||||
<p class="item-xxp-agenda-date-start"><?php the_field('xxp_agenda_date_start'); ?></p>
|
||||
<?php endif; ?>
|
||||
</aside>
|
||||
</div>
|
|
@ -1,70 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Template part for displaying posts from category "agenda"
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package Xarxaprod_theme
|
||||
* @used by template-parts/content-post.php
|
||||
* @shown in : archive category
|
||||
*
|
||||
*/
|
||||
|
||||
?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class('xarxaprod-card-each'); ?> >
|
||||
<h3 class="entry-title">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark">
|
||||
<?php the_title(); ?>
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<?php if ( has_post_thumbnail() ){?>
|
||||
<figure class="xarxaprod-activitat-image">
|
||||
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
|
||||
</a>
|
||||
<img src="<?php echo get_the_post_thumbnail_url(); ?>" title="<?php the_title(); ?>" alt="imatge ilustra <?php the_title(); ?>" />
|
||||
</figure>
|
||||
<?php } else { ?>
|
||||
<figure class="xarxaprod-activitat-image">
|
||||
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
|
||||
</a>
|
||||
<img src="<?php echo catch_post_first_image();?>" title="<?php the_title(); ?>" alt="imatge ilustra <?php the_title(); ?>" />
|
||||
</figure>
|
||||
<?php };?>
|
||||
|
||||
<aside class="xarxaprod-agenda-info">
|
||||
<ul>
|
||||
<li>
|
||||
<dt>Data:</dt>
|
||||
<?php if( get_field('xxp_agenda_date_start') || get_field('xxp_agenda_date_start') ): ?>
|
||||
<?php if( get_field('xxp_agenda_date_start') ){ ?>
|
||||
<dd class="item-xxp-agenda-date-start"><?php the_field('xxp_agenda_date_start'); ?></dd>
|
||||
<?php } elseif ( get_field('xxp_agenda_date_end') ){ ?>
|
||||
<dt>Fins al</dt>
|
||||
<dd class="item-xxp-agenda-date-end"><?php the_field('xxp_agenda_date_end'); ?></dd>
|
||||
<?php }; ?>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php if ( get_field('xxp_agenda_free_text') ){?>
|
||||
<li>
|
||||
<span class="item-xxp-agenda-free-text"><?php the_field('xxp_agenda_free_text'); ?></span>
|
||||
</li>
|
||||
<?php }; ?>
|
||||
|
||||
</ul>
|
||||
</aside>
|
||||
<?php if ( get_the_excerpt() ){ ?>
|
||||
<section class="excerpt post-excerpt">
|
||||
<?php //the_excerpt() ?>
|
||||
<?php echo wp_trim_words(get_the_excerpt(), 22); // https://developer.wordpress.org/reference/functions/wp_trim_words/?>
|
||||
</section>
|
||||
<?php ; }?>
|
||||
|
||||
<nav class="more-link">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark" class="button button-more">
|
||||
Més info
|
||||
<span class="hide"><?php the_title(); ?></span>
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
</article>
|
|
@ -6,63 +6,19 @@
|
|||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package Xarxaprod_theme
|
||||
* @used_by page-template/convo-serach.php
|
||||
* @used_by page-template/convo-archive.php
|
||||
*
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class('xarxaprod-card-each'); ?> >
|
||||
<h3 class="entry-title">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark">
|
||||
<?php the_title(); ?>
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
|
||||
<section class="xarxaprod-convo-info-fields">
|
||||
<ul>
|
||||
<li class="xarxaprod-convo-info-date">
|
||||
<?php if( get_field('xxp_convo_apply_begin') || get_field('xxp_convo_apply_end') ): ?>
|
||||
<dt>Termini</dt>
|
||||
<dd class="xarxaprod-label item-xxp_convo_dates">
|
||||
<?php if( get_field('xxp_convo_apply_begin') ): ?>
|
||||
<span class="item-xxp_convo_apply_begin">del <?php the_field('xxp_convo_apply_begin'); ?> </span>
|
||||
<?php endif; ?>
|
||||
<?php if( get_field('xxp_convo_apply_end') && !get_field('xxp_convo_apply_begin') ){ echo 'fins'; } ?>
|
||||
<?php if( get_field('xxp_convo_apply_end') ): ?>
|
||||
<span class="item-xxp_convo_apply_end">al <?php the_field('xxp_convo_apply_end'); ?> </span>
|
||||
<?php endif; ?>
|
||||
<?php if( get_field('xxp_convo_apply_text') ): ?>
|
||||
<span class="item-xxp_convo_apply_text"><?php the_field('xxp_convo_apply_text'); ?></span>
|
||||
<?php endif; ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php if( ! get_field('xxp_convo_espai_associat') ): ?>
|
||||
<?php // read here howto ?>
|
||||
<?php // https://www.advancedcustomfields.com/resources/relationship/#display-list-of-posts-with-setuppostdata ?>
|
||||
<?php if( get_field('xxp_convoer_name') ): ?>
|
||||
<li class="xarxaprod-convo-field">
|
||||
<dt></dt>
|
||||
<dd class="xarxaprod-convoer-name"><?php the_field('xxp_convoer_name'); ?></dd>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php else: //exists get_field('xxp_convo_espai_associat')?>
|
||||
<?php $espai_associat_posts = get_field('xxp_convo_espai_associat'); ?>
|
||||
<?php foreach( $espai_associat_posts as $thispost ): ?>
|
||||
<?php // Setup this post for WP functions (variable must be named $post).?>
|
||||
<li class="xarxaprod-convo-espai-associat">
|
||||
<dt></dt>
|
||||
<dd><a href="<?php echo ($thispost->guid);//the_permalink(); ?>"><?php echo ($thispost->post_title); ?><?php //the_title(); ?></a></dd>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php // Reset the global post object so that the rest of the page works correctly.?>
|
||||
<?php endif; //end get_field('xxp_convo_espai_associat') ?>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class('xarxaprod-card-each'); ?> >
|
||||
<h3 class="entry-title">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark">
|
||||
<?php the_title(); ?>
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<?php if( get_field('xxp_convo_apply_end') ): ?>
|
||||
<h6 class="xarxaprod-convo-date"><?php the_field('xxp_convo_apply_end'); ?></h6>
|
||||
<?php endif; ?>
|
||||
|
||||
<section class="excerpt post-excerpt">
|
||||
<?php //the_excerpt() ?>
|
||||
|
@ -71,24 +27,29 @@
|
|||
</section>
|
||||
|
||||
<aside>
|
||||
<?php get_template_part(
|
||||
'template-parts/section',
|
||||
'list-checkbox',
|
||||
array('iterate_field' => 'xxp_convo_field')
|
||||
); ?>
|
||||
<?php get_template_part(
|
||||
'template-parts/section',
|
||||
'list-checkbox',
|
||||
array('iterate_field' => 'xxp_convo_field')
|
||||
); ?>
|
||||
|
||||
<?php get_template_part(
|
||||
'template-parts/section',
|
||||
'list-checkbox',
|
||||
array('iterate_field' => 'xxp_convo_territory')
|
||||
); ?>
|
||||
<?php get_template_part(
|
||||
'template-parts/section',
|
||||
'list-checkbox',
|
||||
array('iterate_field' => 'xxp_convo_territory')
|
||||
); ?>
|
||||
|
||||
<?php get_template_part(
|
||||
'template-parts/section',
|
||||
'list-checkbox',
|
||||
array('iterate_field' => 'xxp_convo_service')
|
||||
); ?>
|
||||
<?php get_template_part(
|
||||
'template-parts/section',
|
||||
'list-checkbox',
|
||||
array('iterate_field' => 'xxp_convo_service')
|
||||
); ?>
|
||||
|
||||
<?php get_template_part(
|
||||
'template-parts/section',
|
||||
'list-checkbox',
|
||||
array('iterate_field' => 'xxp_convo_center')
|
||||
); ?>
|
||||
</aside>
|
||||
|
||||
<nav class="more-link">
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
<?php
|
||||
/**
|
||||
* Template part for displaying each ajut with each field in category, archive, search
|
||||
* to be used inside the loop.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package Xarxaprod_theme
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class('xarxaprod-card-each'); ?> >
|
||||
<h3 class="entry-title">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark">
|
||||
<?php the_title(); ?>
|
||||
</a>
|
||||
</h3>
|
||||
<?php if( get_field('xxp_funder_name') ): //case of ajuts fund ?>
|
||||
<h6 class="xarxaprod-funder-name"><?php the_field('xxp_funder_name'); ?></h6>
|
||||
<?php endif; ?>
|
||||
<section class="excerpt post-excerpt">
|
||||
<?php the_excerpt() ?>
|
||||
</section>
|
||||
<aside>
|
||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'xxp_fund_target') ); ?>
|
||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'xxp_fund_source') ); ?>
|
||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'xxp_fund_field') ); ?>
|
||||
<?php if( get_field('xxp_fund_apply_begin') || get_field('xxp_fund_apply_end') ): ?>
|
||||
<ul class="xarxaprod-label item-xxp_fund_dates">
|
||||
<li>del <?php the_field('xxp_fund_apply_begin'); ?></li>
|
||||
<li>al <?php the_field('xxp_fund_apply_end'); ?></li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<?php if( get_field('xxp_fund_apply_text') ): ?>
|
||||
<ul class="xarxaprod-label item-xxp_fund_dates">
|
||||
<li class=""><?php the_field('xxp_fund_apply_text'); ?></li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if( get_field('xxp_fund_call') ): ?>
|
||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'xxp_fund_call') ); ?>
|
||||
<?php endif; ?>
|
||||
</aside>
|
||||
<nav class="more-link">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark" class="button button-more">
|
||||
Més info
|
||||
<span class="hide"><?php the_title(); ?></span>
|
||||
</a>
|
||||
</nav>
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
|
@ -40,7 +40,7 @@
|
|||
<?php if ( $featured_query->have_posts() ) : ?>
|
||||
<?php while ( $featured_query->have_posts() ) : $featured_query->the_post(); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/section', 'eachfund' ); ?>
|
||||
<?php get_template_part( 'template-parts/section', 'eachpost' ); ?>
|
||||
|
||||
<?php endwhile;//end of the loop ?>
|
||||
<?php wp_reset_postdata(); ?>
|
||||
|
|
|
@ -88,49 +88,17 @@
|
|||
</a>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if( get_field('xxp_convo_apply_begin') || get_field('xxp_convo_apply_end') ): ?>
|
||||
|
||||
<section class="xarxaprod-convo-info-fields">
|
||||
<ul>
|
||||
<li class="xarxaprod-convo-info-date">
|
||||
<?php if( get_field('xxp_convo_apply_begin') || get_field('xxp_convo_apply_end') ): ?>
|
||||
<dt>Termini</dt>
|
||||
<dd class="xarxaprod-label item-xxp_convo_dates">
|
||||
<?php if( get_field('xxp_convo_apply_begin') ): ?>
|
||||
<span class="item-xxp_convo_apply_begin">del <?php the_field('xxp_convo_apply_begin'); ?> </span>
|
||||
<?php endif; ?>
|
||||
<?php if( get_field('xxp_convo_apply_end') && !get_field('xxp_convo_apply_begin') ){ echo 'fins'; } ?>
|
||||
<?php if( get_field('xxp_convo_apply_end') ): ?>
|
||||
<span class="item-xxp_convo_apply_end">al <?php the_field('xxp_convo_apply_end'); ?> </span>
|
||||
<?php endif; ?>
|
||||
<?php if( get_field('xxp_convo_apply_text') ): ?>
|
||||
<span class="item-xxp_convo_apply_text"><?php the_field('xxp_convo_apply_text'); ?></span>
|
||||
<?php endif; ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php if( ! get_field('xxp_convo_espai_associat') ): ?>
|
||||
<?php // read here howto ?>
|
||||
<?php // https://www.advancedcustomfields.com/resources/relationship/#display-list-of-posts-with-setuppostdata ?>
|
||||
<?php if( get_field('xxp_convoer_name') ): ?>
|
||||
<li class="xarxaprod-convo-field">
|
||||
<dt></dt>
|
||||
<dd class="xarxaprod-convoer-name"><?php the_field('xxp_convoer_name'); ?></dd>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php else: //exists get_field('xxp_convo_espai_associat')?>
|
||||
<?php $espai_associat_posts = get_field('xxp_convo_espai_associat'); ?>
|
||||
<?php foreach( $espai_associat_posts as $thispost ): ?>
|
||||
<?php // Setup this post for WP functions (variable must be named $post).?>
|
||||
<li class="xarxaprod-convo-espai-associat">
|
||||
<dt></dt>
|
||||
<dd><a href="<?php echo ($thispost->guid);//the_permalink(); ?>"><?php echo ($thispost->post_title); ?><?php //the_title(); ?></a></dd>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php // Reset the global post object so that the rest of the page works correctly.?>
|
||||
<?php endif; //end get_field('xxp_convo_espai_associat') ?>
|
||||
</ul>
|
||||
</section>
|
||||
<h6 class="xarxaprod-deadline">Deadline:
|
||||
<?php //the_field('xxp_convo_apply_begin'); ?>
|
||||
<?php the_field('xxp_convo_apply_end'); ?>
|
||||
</h6>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if( get_field('xxp_convo_apply_text') ): ?>
|
||||
<h6 class="item-xxp_convo_apply_text"><?php the_field('xxp_convo_apply_text'); ?></h6>
|
||||
<?php endif; ?>
|
||||
|
||||
<section class="excerpt post-excerpt">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark" class="">
|
||||
|
|
Loading…
Reference in New Issue