2024-01-09 16:13:20 +01:00
|
|
|
body {
|
2024-01-14 20:12:27 +01:00
|
|
|
background: $color__background-body; // Fallback for when there is no custom background color defined.
|
2024-02-01 22:36:38 +01:00
|
|
|
//background-image: url(./assets/img/background-colors-02.jpg);
|
|
|
|
//background-size: cover;
|
|
|
|
//background-position: center center;
|
|
|
|
//background-repeat: no-repeat;
|
|
|
|
position: relative;
|
2024-04-02 14:04:49 +02:00
|
|
|
&.admin-bar { //if else breaks the WordPress inline styles when front end editing
|
|
|
|
position: inherit;
|
|
|
|
}
|
2024-02-01 22:36:38 +01:00
|
|
|
}
|
2024-04-11 12:24:10 +02:00
|
|
|
|
|
|
|
:root{
|
|
|
|
// check colors at sass/abstracts/variables/_colors.scss
|
|
|
|
--bubble-color-01: #ff5a69; //$color__xxp-red;
|
|
|
|
--bubble-color-02: #ffcb1f; //$color__xxp-yellow;
|
|
|
|
--bubble-color-03: #00d1ec; //$color__xxp-cyan;
|
|
|
|
--bubble-color-04: #00f274; //$color__xxp-green;
|
|
|
|
}
|
|
|
|
//bubble color definition
|
|
|
|
.home {
|
|
|
|
--bubble-color-01: #ffffff;
|
|
|
|
--bubble-color-02: #ff79a8; //$color__xxp-lila;
|
|
|
|
--bubble-color-03: #ff9221; //$color__xxp-orange;
|
|
|
|
--bubble-color-04: #ffffff;
|
|
|
|
}
|
|
|
|
.page-id-617 //que es xarxaprod
|
|
|
|
{
|
|
|
|
--bubble-color-01: #4a30f4; //$color__xxp-blue;
|
|
|
|
--bubble-color-02: #ffffff;
|
|
|
|
--bubble-color-03: #ffffff;
|
|
|
|
--bubble-color-04: #f6ca43; //$color__xxp-yellow-2;
|
|
|
|
}
|
|
|
|
.page-id-626, //qui som junta
|
|
|
|
.page-id-2936, //comisions
|
|
|
|
.page-id-2937 //ofi tecnica
|
|
|
|
{
|
|
|
|
--bubble-color-01: #ffcb1f;
|
|
|
|
--bubble-color-02: #ffffff;
|
|
|
|
--bubble-color-03: #ffffff;
|
|
|
|
--bubble-color-04: #ff79a8;
|
|
|
|
}
|
|
|
|
.page-id-634 //que oferim
|
|
|
|
{
|
|
|
|
--bubble-color-01: #ffffff;
|
|
|
|
--bubble-color-02: #f6ca43;
|
|
|
|
--bubble-color-03: #4a30f4;
|
|
|
|
--bubble-color-04: #ffffff;
|
|
|
|
}
|
|
|
|
.page-id-659 //premsa
|
|
|
|
{
|
|
|
|
--bubble-color-01: #ffffff;
|
|
|
|
--bubble-color-02: #6cd3eb;
|
|
|
|
--bubble-color-03: #f6ca43;
|
|
|
|
--bubble-color-04: #ffffff;
|
|
|
|
}
|
|
|
|
.page-template-associats-search {
|
|
|
|
--bubble-color-01: #ffffff;
|
|
|
|
--bubble-color-02: #68ed81;
|
|
|
|
--bubble-color-03: #ff79a8;
|
|
|
|
--bubble-color-04: #ffffff;
|
|
|
|
}
|
|
|
|
.single-xarxaprod-associat {
|
|
|
|
--bubble-color-01: #ff9221;
|
|
|
|
--bubble-color-02: #f6ca43;
|
|
|
|
--bubble-color-03: #ff866f;
|
|
|
|
--bubble-color-04: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-template-arxiu-genera {
|
|
|
|
--bubble-color-01: #ffffff;
|
|
|
|
--bubble-color-02: #f61818;
|
|
|
|
--bubble-color-03: #f61818;
|
|
|
|
--bubble-color-04: #ffffff;
|
|
|
|
}
|
2024-02-02 12:59:57 +01:00
|
|
|
.liquid-bubbles {
|
2024-02-01 22:36:38 +01:00
|
|
|
overflow: hidden;
|
|
|
|
float: left;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: -1000;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
|
|
|
|
}
|
2024-02-02 14:15:50 +01:00
|
|
|
@keyframes bubble-move {
|
|
|
|
from {
|
|
|
|
width: 40vw;
|
|
|
|
height: 40vw;
|
|
|
|
filter: blur(10rem);
|
|
|
|
/* transform: rotate(0);*/
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
width: 90vw;
|
|
|
|
height: 20vw;
|
|
|
|
filter: blur(20rem);
|
|
|
|
/* transform: rotate(5deg);*/
|
|
|
|
}
|
|
|
|
}
|
2024-02-02 12:59:57 +01:00
|
|
|
.bubbles {
|
2024-02-01 22:36:38 +01:00
|
|
|
--size: 40vw;
|
2024-02-02 14:15:50 +01:00
|
|
|
--position: -5vw;
|
|
|
|
filter: blur(20rem);
|
2024-02-01 22:36:38 +01:00
|
|
|
position:absolute;
|
|
|
|
width: var(--size);
|
|
|
|
height: var(--size);
|
2024-02-02 14:15:50 +01:00
|
|
|
border-radius: 20%;
|
|
|
|
background: linear-gradient(var(--bgangle),var(--bgcolor), transparent);
|
|
|
|
//animation: 4s ease-in-out 4s infinite alternate bubble-move;
|
2024-02-02 12:59:57 +01:00
|
|
|
&.bubble-01{
|
2024-02-01 22:36:38 +01:00
|
|
|
top: var(--position);
|
|
|
|
left: var(--position);
|
2024-02-02 12:59:57 +01:00
|
|
|
--bgcolor: var(--bubble-color-01);
|
2024-02-02 14:15:50 +01:00
|
|
|
//--bgangle: to bottom right;
|
|
|
|
--bgangle: 135deg;
|
|
|
|
animation: 5s ease-in-out 2s infinite alternate bubble-move;
|
2024-02-01 22:36:38 +01:00
|
|
|
}
|
2024-02-02 12:59:57 +01:00
|
|
|
&.bubble-02{
|
|
|
|
top: var(--position);
|
|
|
|
right: var(--position);
|
|
|
|
--bgcolor: var(--bubble-color-02);
|
2024-02-02 14:15:50 +01:00
|
|
|
//--bgangle: to bottom left;
|
|
|
|
--bgangle: 225deg;
|
|
|
|
animation: 3s ease-in-out 0s infinite alternate bubble-move;
|
2024-02-01 22:36:38 +01:00
|
|
|
}
|
2024-02-02 12:59:57 +01:00
|
|
|
&.bubble-03{
|
|
|
|
bottom: var(--position);
|
|
|
|
left: var(--position);
|
|
|
|
--bgcolor: var(--bubble-color-03);
|
2024-02-02 14:15:50 +01:00
|
|
|
//--bgangle: to top right;
|
|
|
|
--bgangle: 45deg;
|
|
|
|
animation: 2s ease-in-out 3s infinite alternate bubble-move;
|
2024-02-01 22:36:38 +01:00
|
|
|
}
|
2024-02-02 12:59:57 +01:00
|
|
|
&.bubble-04{
|
|
|
|
bottom: var(--position);
|
|
|
|
right: var(--position);
|
|
|
|
--bgcolor: var(--bubble-color-04);
|
2024-02-02 14:15:50 +01:00
|
|
|
//--bgangle: to top left;
|
|
|
|
--bgangle: 325deg;
|
|
|
|
animation: 4s ease-in-out 1s infinite alternate bubble-move;
|
2024-02-01 22:36:38 +01:00
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|