Compare commits

..

No commits in common. "e0595f8a32903cfe8453883c6c1c317a6d3f5abe" and "efc571b6c121517aa2ba952d9ba1f120074f0f41" have entirely different histories.

9 changed files with 9 additions and 259 deletions

View File

@ -1027,93 +1027,13 @@ Add your custom styles in this file so it is easier to update the theme.
--bubble-color-04: #fff; --bubble-color-04: #fff;
} }
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-arxiu-general, .edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-arxiu-genera {
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-id-643 {
--bubble-color-01: #fff; --bubble-color-01: #fff;
--bubble-color-02: #f61818; --bubble-color-02: #f61818;
--bubble-color-03: #f61818; --bubble-color-03: #f61818;
--bubble-color-04: #fff; --bubble-color-04: #fff;
} }
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-convos-search {
--bubble-color-01: #fff;
--bubble-color-02: #ff5a69;
--bubble-color-03: #00f274;
--bubble-color-04: #fff;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo {
--bubble-color-01: #e572ba;
--bubble-color-02: #fff;
--bubble-color-03: #4a30f4;
--bubble-color-04: #e572ba;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-agenda-search {
--bubble-color-01: #e158ae;
--bubble-color-02: #fff;
--bubble-color-03: #fff;
--bubble-color-04: #ff5a69;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-activitats {
--bubble-color-01: #fff;
--bubble-color-02: #00f274;
--bubble-color-03: #6cd3eb;
--bubble-color-04: #fff;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-id-28,
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-faqs-page {
--bubble-color-01: #fff;
--bubble-color-02: #6cd3eb;
--bubble-color-03: #4a30f4;
--bubble-color-04: #fff;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-ajut-search,
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-ajut {
--bubble-color-01: #6cd3eb;
--bubble-color-02: #fff;
--bubble-color-03: #fff;
--bubble-color-04: #4a30f4;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-id-1673 {
--bubble-color-01: #f6ca43;
--bubble-color-02: #ff9221;
--bubble-color-03: #00f274;
--bubble-color-04: #fff;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-id-2366 {
--bubble-color-01: #fff;
--bubble-color-02: #4a30f4;
--bubble-color-03: #ff5a69;
--bubble-color-04: #fff;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-id-2364 {
--bubble-color-01: #00f274;
--bubble-color-02: #fff;
--bubble-color-03: #fff;
--bubble-color-04: #4a30f4;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-id-2365 {
--bubble-color-01: #e572ba;
--bubble-color-02: #f6ca43;
--bubble-color-03: #e572ba;
--bubble-color-04: #f6ca43;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-id-1760 {
--bubble-color-01: #6cd3eb;
--bubble-color-02: #fff;
--bubble-color-03: #fff;
--bubble-color-04: #6cd3eb;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .liquid-bubbles { .edit-post-visual-editor__content-area .editor-styles-wrapper .liquid-bubbles {
overflow: hidden; overflow: hidden;
float: left; float: left;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@
</div><!-- #page --> </div><!-- #page -->
<?php wp_footer(); ?> <?php wp_footer(); ?>
<div class="liquid-bubbles <?php xarxaprod_class_posttype(); ?>"> <div class="liquid-bubbles">
<div class="bubbles bubble-01"></div> <div class="bubbles bubble-01"></div>
<div class="bubbles bubble-02"></div> <div class="bubbles bubble-02"></div>
<div class="bubbles bubble-03"></div> <div class="bubbles bubble-03"></div>

View File

@ -59,21 +59,11 @@ function xarxaprod_plugin_active() {
*/ */
if ( ! function_exists( 'xarxaprod_class_posttype' ) ): if ( ! function_exists( 'xarxaprod_class_posttype' ) ):
function xarxaprod_class_posttype (){ function xarxaprod_class_posttype (){
if( is_post_type_archive( array('xarxaprod-ajut') ) || is_post_type_archive( array('xarxaprod-convo') ) || is_post_type_archive( array( 'xarxaprod-associat') )) { if( is_post_type_archive( array('xarxaprod-ajut') ) || is_post_type_archive( array('xarxaprod-convo') ) || is_post_type_archive( array( 'xarxaprod-associat') )) {
//if( get_post_type() == 'xarxaprod-ajut' || get_post_type() == 'xarxaprod-convo' || get_post_type() == 'xarxaprod-associat' ){ //if( get_post_type() == 'xarxaprod-ajut' || get_post_type() == 'xarxaprod-convo' || get_post_type() == 'xarxaprod-associat' ){
echo 'archive-custom-post-type-'; echo 'archive-custom-post-type-';
printf (get_post_type_object( get_post_type() )->rewrite['slug']); printf (get_post_type_object( get_post_type() )->rewrite['slug']);
} elseif( get_post_type() == 'xarxaprod-ajut' || get_post_type() == 'xarxaprod-convo' || get_post_type() == 'xarxaprod-associat' ) { }
echo 'custom-post-type-';
printf (get_post_type_object( get_post_type() )->rewrite['slug']);
} else {
$categories = get_the_category();
if ( ! empty( $categories ) ) {
echo 'category-';
echo esc_html( $categories[0]->slug );
}
//printf (get_post_type_object( get_post_type() )->rewrite['slug']);
}
} }
endif; //end xarxaprod_calss_posttype endif; //end xarxaprod_calss_posttype

View File

@ -15,7 +15,6 @@ $color__xxp-green-2: #68ed81;
$color__xxp-pink: #e572ba; $color__xxp-pink: #e572ba;
$color__xxp-red-2: #f61818; $color__xxp-red-2: #f61818;
$color__xxp-cyan: #6cd3eb; $color__xxp-cyan: #6cd3eb;
$color__xxp-lila-2: #e158ae;
$color__white: #fff; $color__white: #fff;
$color__white-dark: #fdfdfd; $color__white-dark: #fdfdfd;

View File

@ -67,91 +67,12 @@ body {
--bubble-color-04: #ffffff; --bubble-color-04: #ffffff;
} }
.page-template-arxiu-general, .page-template-arxiu-genera {
.page-id-643 //arxiu-convos vell
{
--bubble-color-01: #ffffff; --bubble-color-01: #ffffff;
--bubble-color-02: #f61818; --bubble-color-02: #f61818;
--bubble-color-03: #f61818; --bubble-color-03: #f61818;
--bubble-color-04: #ffffff; --bubble-color-04: #ffffff;
} }
.page-template-convos-search {
--bubble-color-01: #ffffff;
--bubble-color-02: #ff5a69;
--bubble-color-03: #00f274;
--bubble-color-04: #ffffff;
}
.single-xarxaprod-convo {
--bubble-color-01: #e572ba;
--bubble-color-02: #ffffff;
--bubble-color-03: #4a30f4;
--bubble-color-04: #e572ba;
}
.page-template-agenda-search {
--bubble-color-01: #e158ae;
--bubble-color-02: #ffffff;
--bubble-color-03: #ffffff;
--bubble-color-04: #ff5a69;
}
.category-activitats {
--bubble-color-01: #ffffff;
--bubble-color-02: #00f274;
--bubble-color-03: #6cd3eb;
--bubble-color-04: #ffffff;
}
.page-id-28, //espai assesorament
.page-template-faqs-page
{
--bubble-color-01: #ffffff;
--bubble-color-02: #6cd3eb;
--bubble-color-03: #4a30f4;
--bubble-color-04: #ffffff;
}
.page-template-ajut-search,
.single-xarxaprod-ajut
//.custom-post-type-ajuts
{
--bubble-color-01: #6cd3eb;
--bubble-color-02: #ffffff;
--bubble-color-03: #ffffff;
--bubble-color-04: #4a30f4;
}
.page-id-1673 //XarxaREC
{
--bubble-color-01: #f6ca43;
--bubble-color-02: #ff9221;
--bubble-color-03: #00f274;
--bubble-color-04: #ffffff;
}
.page-id-2366 //Firas i mercats
{
--bubble-color-01: #ffffff;
--bubble-color-02: #4a30f4;
--bubble-color-03: #ff5a69;
--bubble-color-04: #ffffff;
}
.page-id-2364 //Sostenibilitat
{
--bubble-color-01: #00f274;
--bubble-color-02: #ffffff;
--bubble-color-03: #ffffff;
--bubble-color-04: #4a30f4;
}
.page-id-2365 //projecte educatiu
{
--bubble-color-01: #e572ba;
--bubble-color-02: #f6ca43;
--bubble-color-03: #e572ba;
--bubble-color-04: #f6ca43;
}
.page-id-1760 //Mentoratge
{
--bubble-color-01: #6cd3eb;
--bubble-color-02: #ffffff;
--bubble-color-03: #ffffff;
--bubble-color-04: #6cd3eb;
}
.liquid-bubbles { .liquid-bubbles {
overflow: hidden; overflow: hidden;
float: left; float: left;

View File

@ -884,93 +884,13 @@ body.admin-bar {
--bubble-color-04: #fff; --bubble-color-04: #fff;
} }
.page-template-arxiu-general, .page-template-arxiu-genera {
.page-id-643 {
--bubble-color-01: #fff; --bubble-color-01: #fff;
--bubble-color-02: #f61818; --bubble-color-02: #f61818;
--bubble-color-03: #f61818; --bubble-color-03: #f61818;
--bubble-color-04: #fff; --bubble-color-04: #fff;
} }
.page-template-convos-search {
--bubble-color-01: #fff;
--bubble-color-02: #ff5a69;
--bubble-color-03: #00f274;
--bubble-color-04: #fff;
}
.single-xarxaprod-convo {
--bubble-color-01: #e572ba;
--bubble-color-02: #fff;
--bubble-color-03: #4a30f4;
--bubble-color-04: #e572ba;
}
.page-template-agenda-search {
--bubble-color-01: #e158ae;
--bubble-color-02: #fff;
--bubble-color-03: #fff;
--bubble-color-04: #ff5a69;
}
.category-activitats {
--bubble-color-01: #fff;
--bubble-color-02: #00f274;
--bubble-color-03: #6cd3eb;
--bubble-color-04: #fff;
}
.page-id-28,
.page-template-faqs-page {
--bubble-color-01: #fff;
--bubble-color-02: #6cd3eb;
--bubble-color-03: #4a30f4;
--bubble-color-04: #fff;
}
.page-template-ajut-search,
.single-xarxaprod-ajut {
--bubble-color-01: #6cd3eb;
--bubble-color-02: #fff;
--bubble-color-03: #fff;
--bubble-color-04: #4a30f4;
}
.page-id-1673 {
--bubble-color-01: #f6ca43;
--bubble-color-02: #ff9221;
--bubble-color-03: #00f274;
--bubble-color-04: #fff;
}
.page-id-2366 {
--bubble-color-01: #fff;
--bubble-color-02: #4a30f4;
--bubble-color-03: #ff5a69;
--bubble-color-04: #fff;
}
.page-id-2364 {
--bubble-color-01: #00f274;
--bubble-color-02: #fff;
--bubble-color-03: #fff;
--bubble-color-04: #4a30f4;
}
.page-id-2365 {
--bubble-color-01: #e572ba;
--bubble-color-02: #f6ca43;
--bubble-color-03: #e572ba;
--bubble-color-04: #f6ca43;
}
.page-id-1760 {
--bubble-color-01: #6cd3eb;
--bubble-color-02: #fff;
--bubble-color-03: #fff;
--bubble-color-04: #6cd3eb;
}
.liquid-bubbles { .liquid-bubbles {
overflow: hidden; overflow: hidden;
float: left; float: left;

File diff suppressed because one or more lines are too long