styled form and border as variable
This commit is contained in:
parent
590d0fbe7b
commit
f4a50c2d90
468
adminstyles.css
468
adminstyles.css
|
@ -321,12 +321,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
/* Contact Form 7
|
||||
--------------------------------------------- */
|
||||
|
||||
/* contact forms styles used in wp backend with CF7 */
|
||||
|
||||
/* styles applied if written in wp backend
|
||||
* class="contactform contactform-WHATEVER"
|
||||
* */
|
||||
|
||||
/* Guttenslider
|
||||
--------------------------------------------- */
|
||||
|
||||
|
@ -999,7 +993,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: 1px solid #000;
|
||||
border: 0.05em solid #000;
|
||||
background-color: none;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
@ -1307,7 +1301,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 select {
|
||||
border: 1px solid #000;
|
||||
border: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper textarea {
|
||||
|
@ -1588,49 +1582,19 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
margin: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation .main-navigation-content,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation .main-navigation-content {
|
||||
display: none;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu {
|
||||
padding-top: 0.5rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation li,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation li {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation a,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation a {
|
||||
text-decoration: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled ul {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled ul .sub-menu {
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled li {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled a {
|
||||
margin: 0;
|
||||
padding: 0.5em;
|
||||
display: block;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled .menu-toggle {
|
||||
position: relative;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled .main-navigation-content {
|
||||
|
@ -1645,9 +1609,14 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
overflow: auto;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled .menu-toggle {
|
||||
position: relative;
|
||||
z-index: 9999;
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled li {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled a {
|
||||
display: block;
|
||||
min-height: 100%;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled .current-menu-ancestor > a::after {
|
||||
|
@ -1664,74 +1633,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 .secondary-navigation {
|
||||
padding: 0 1em 1em 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul li {
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation a {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .toggle-secondary-navigation .show-mobile {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .toggle,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .toggled-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .toggle:checked + .toggled-menu {
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
margin-top: 0;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .toggle-show {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 1.8em;
|
||||
height: 1.4em;
|
||||
margin-right: 0.3em;
|
||||
border-top: 0.3em solid #000;
|
||||
border-bottom: 0.3em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .toggle-show::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0.3em;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
border-top: 0.3em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .toggle-hide {
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
margin-right: -0.5em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .toggle-hide::after {
|
||||
content: "x";
|
||||
padding: 0;
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 48em) {
|
||||
|
@ -1755,6 +1656,11 @@ 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 .main-navigation .main-navigation-content,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation .main-navigation-content {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul {
|
||||
display: flex;
|
||||
|
@ -1768,34 +1674,33 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
border-radius: 0.2em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul.sub-menu,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul ul.sub-menu {
|
||||
float: left;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: -999em;
|
||||
z-index: 99999;
|
||||
padding-top: 0.5rem;
|
||||
padding-left: 1rem;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu ul {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul.sub-menu ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul ul.sub-menu ul {
|
||||
left: -999em;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu li:hover > ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu li.focus > ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu li:hover > ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu li.focus > ul {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul.sub-menu li:hover > ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul.sub-menu li.focus > ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul ul.sub-menu li:hover > ul,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul ul.sub-menu li.focus > ul {
|
||||
display: block;
|
||||
left: 4em;
|
||||
top: 3em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu a,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu a {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul.sub-menu a,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul ul.sub-menu a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 100%;
|
||||
|
@ -1804,6 +1709,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 .main-navigation ul li,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul li {
|
||||
position: relative;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
|
@ -1814,6 +1720,15 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
left: auto;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul a,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 100%;
|
||||
text-decoration: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation {
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
@ -2353,7 +2268,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: 1px solid #000;
|
||||
border: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-titol-opcions::after {
|
||||
|
@ -2631,144 +2546,175 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
content: ">";
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-not-valid:not(:focus) {
|
||||
background-color: #ff686e;
|
||||
@media screen {
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper {
|
||||
|
||||
/* contact forms styles used in wp backend with CF7 */
|
||||
|
||||
/* styles applied if written in wp backend
|
||||
* class="contactform contactform-WHATEVER"
|
||||
* */
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-not-valid:not(:focus) {
|
||||
background-color: #ff686e;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-not-valid-tip {
|
||||
color: #ff686e;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7 form.invalid .wpcf7-response-output,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7 form.unaccepted .wpcf7-response-output,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7 form.payment-required .wpcf7-response-output {
|
||||
border-color: #f6cc4c;
|
||||
background-color: #f6cc4c;
|
||||
color: #fff;
|
||||
font-family: "Neue Haas Grotesk Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-form .wpcf7-submit {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-form .wpcf7-spinner {
|
||||
margin: 0 -24px 0 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-list-item-label {
|
||||
margin: 0 0.3rem;
|
||||
}
|
||||
|
||||
.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.05em solid #000;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform p {
|
||||
display: block;
|
||||
break-inside: avoid-column;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform .break-after-column,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform .saltar-columna {
|
||||
break-after: column;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-consultoria .contactform-name,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-consultoria .contactform-email {
|
||||
max-width: 40%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-consultoria .contactform-name {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-consultoria .contactform-email {
|
||||
float: right;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-acceptance {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: end;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-info {
|
||||
display: inline-block;
|
||||
column-count: 1;
|
||||
column-gap: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-info .contactform-descripcio textarea {
|
||||
display: inline-block;
|
||||
min-height: 23.5em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options p {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options label.oficinasuport-titol-opcions {
|
||||
border: 0.05em solid #000;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-list-item {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-list-item label {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"],
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"] input[type="date"],
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"] input[type="date"] {
|
||||
width: auto;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"]::before,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"]::before {
|
||||
display: inline-block;
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"]::before {
|
||||
content: "inici: ";
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"]::before {
|
||||
content: "fi: ";
|
||||
}
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-not-valid-tip {
|
||||
color: #ff686e;
|
||||
}
|
||||
@media screen and (min-width: 48em) {
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7 form.invalid .wpcf7-response-output,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7 form.unaccepted .wpcf7-response-output,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7 form.payment-required .wpcf7-response-output {
|
||||
border-color: #f6cc4c;
|
||||
background-color: #f6cc4c;
|
||||
color: #fff;
|
||||
font-family: "Neue Haas Grotesk Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-form {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-form .wpcf7-submit {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-info {
|
||||
column-count: 2;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-form .wpcf7-spinner {
|
||||
margin: 0 -24px 0 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-list-item-label {
|
||||
margin: 0 0.3rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-form {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.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.1em solid #000;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform p {
|
||||
display: block;
|
||||
break-inside: avoid-column;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform .break-after-column,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform .saltar-columna {
|
||||
break-after: column;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-consultoria .contactform-name,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-consultoria .contactform-email {
|
||||
max-width: 40%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-consultoria .contactform-name {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-consultoria .contactform-email {
|
||||
float: right;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-acceptance {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: end;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-info {
|
||||
display: inline-block;
|
||||
column-count: 2;
|
||||
column-gap: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-info .contactform-descripcio textarea {
|
||||
display: inline-block;
|
||||
min-height: 15.5em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options p {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-list-item {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-list-item label {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"],
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"] input[type="date"],
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"] input[type="date"] {
|
||||
width: auto;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"]::before,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"]::before {
|
||||
display: inline-block;
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"]::before {
|
||||
content: "inici: ";
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"]::before {
|
||||
content: "fi: ";
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .home {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -27,7 +27,7 @@ textarea {
|
|||
}
|
||||
|
||||
select {
|
||||
border: 1px solid $color__border-input;
|
||||
border: $border__line;
|
||||
}
|
||||
|
||||
textarea {
|
||||
|
|
|
@ -36,7 +36,7 @@ dd {
|
|||
margin:0.1em 0;
|
||||
padding: 0.2em 0.2em 0 0.2em;
|
||||
color: $color__text-screen;
|
||||
border: 1px solid $color__black;
|
||||
border: $border__line;
|
||||
background-color: none;
|
||||
font-size: $font__size-body*0.8;
|
||||
}
|
||||
|
|
|
@ -377,7 +377,7 @@
|
|||
cursor: pointer;
|
||||
font-weight: 900;
|
||||
font-size: $font__size-body*0.9;
|
||||
border: 1px solid $color__border-button;
|
||||
border: $border__line;
|
||||
&:after {
|
||||
content: ">";
|
||||
display: inline;
|
||||
|
|
|
@ -1,126 +1,151 @@
|
|||
/* contact forms styles used in wp backend with CF7 */
|
||||
|
||||
.wpcf7-not-valid:not(:focus) {
|
||||
background-color: $color__red;
|
||||
}
|
||||
.wpcf7-not-valid-tip {
|
||||
color: $color__red;
|
||||
}
|
||||
.wpcf7 form.invalid .wpcf7-response-output,
|
||||
.wpcf7 form.unaccepted .wpcf7-response-output,
|
||||
.wpcf7 form.payment-required .wpcf7-response-output {
|
||||
border-color: $color__yellow;
|
||||
background-color: $color__yellow;
|
||||
color: $color__white;
|
||||
font-family: $font__main;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin: 0em;
|
||||
padding: 0rem;
|
||||
}
|
||||
.wpcf7-form {
|
||||
.wpcf7-submit {
|
||||
margin-left: 1rem;
|
||||
@media screen {
|
||||
/* contact forms styles used in wp backend with CF7 */
|
||||
|
||||
.wpcf7-not-valid:not(:focus) {
|
||||
background-color: $color__red;
|
||||
}
|
||||
.wpcf7-spinner {
|
||||
margin: 0 -24px 0 0;
|
||||
.wpcf7-not-valid-tip {
|
||||
color: $color__red;
|
||||
}
|
||||
}
|
||||
|
||||
.wpcf7-list-item-label {
|
||||
margin: 0 0.3rem;
|
||||
}
|
||||
.wpcf7-form {
|
||||
text-align: center;
|
||||
input:not([type="submit"]),textarea {
|
||||
background: transparent;
|
||||
border: 0.1em solid $color__black;
|
||||
padding: 1em;
|
||||
//&[type="email"] {
|
||||
// text-align: center;
|
||||
//}
|
||||
.wpcf7 form.invalid .wpcf7-response-output,
|
||||
.wpcf7 form.unaccepted .wpcf7-response-output,
|
||||
.wpcf7 form.payment-required .wpcf7-response-output {
|
||||
border-color: $color__yellow;
|
||||
background-color: $color__yellow;
|
||||
color: $color__white;
|
||||
font-family: $font__main;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin: 0em;
|
||||
padding: 0rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* styles applied if written in wp backend
|
||||
* class="contactform contactform-WHATEVER"
|
||||
* */
|
||||
.contactform {
|
||||
margin-bottom: 1rem;
|
||||
br {
|
||||
display: none;
|
||||
.wpcf7-form {
|
||||
.wpcf7-submit {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
.wpcf7-spinner {
|
||||
margin: 0 -24px 0 0;
|
||||
}
|
||||
}
|
||||
p {
|
||||
display: block;
|
||||
break-inside: avoid-column;
|
||||
margin-top: 0;
|
||||
|
||||
.wpcf7-list-item-label {
|
||||
margin: 0 0.3rem;
|
||||
}
|
||||
.break-after-column, .saltar-columna{
|
||||
break-after:column;
|
||||
.wpcf7-form {
|
||||
//text-align: center;
|
||||
input:not([type="submit"]),textarea {
|
||||
background: transparent;
|
||||
border: $border__line;
|
||||
padding: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
.contactform-consultoria {
|
||||
.contactform-name, .contactform-email {
|
||||
max-width: 40%;
|
||||
display: inline-block;
|
||||
}
|
||||
.contactform-name {
|
||||
float: left;
|
||||
}
|
||||
.contactform-email {
|
||||
float:right;
|
||||
|
||||
/* styles applied if written in wp backend
|
||||
* class="contactform contactform-WHATEVER"
|
||||
* */
|
||||
.contactform {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.contactform-message {
|
||||
}
|
||||
}
|
||||
.contactform-acceptance {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: end;
|
||||
}
|
||||
.contactform-fund-info {
|
||||
display: inline-block;
|
||||
column-count: 2;
|
||||
column-gap: $grid__gap;
|
||||
width: 100%;
|
||||
.contactform-descripcio textarea {
|
||||
display: inline-block;
|
||||
min-height: 15.5em;
|
||||
}
|
||||
}
|
||||
.contactform-fund-options {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
p{
|
||||
display: inline-block;
|
||||
}
|
||||
.wpcf7-list-item {
|
||||
display:block;
|
||||
label {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: left;
|
||||
br {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.wpcf7-form-control-wrap {
|
||||
&[data-name="oferta-data-start"],&[data-name="oferta-data-end"] {
|
||||
p {
|
||||
display: block;
|
||||
input[type="date"] {
|
||||
width: auto;
|
||||
background-color: $color__white;
|
||||
}
|
||||
&::before {
|
||||
display: inline-block;
|
||||
width: 2rem;
|
||||
}
|
||||
break-inside: avoid-column;
|
||||
margin-top: 0;
|
||||
}
|
||||
&[data-name="oferta-data-start"]::before {
|
||||
content:"inici: ";
|
||||
}
|
||||
&[data-name="oferta-data-end"]::before {
|
||||
content:"fi: ";
|
||||
.break-after-column, .saltar-columna{
|
||||
break-after:column;
|
||||
}
|
||||
}
|
||||
.contactform-consultoria {
|
||||
.contactform-name, .contactform-email {
|
||||
max-width: 40%;
|
||||
display: inline-block;
|
||||
}
|
||||
.contactform-name {
|
||||
float: left;
|
||||
}
|
||||
.contactform-email {
|
||||
float:right;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.contactform-message {
|
||||
}
|
||||
}
|
||||
.contactform-acceptance {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: end;
|
||||
}
|
||||
.contactform-fund-info {
|
||||
display: inline-block;
|
||||
column-count: 1;
|
||||
column-gap: $grid__gap;
|
||||
width: 100%;
|
||||
.contactform-descripcio textarea {
|
||||
display: inline-block;
|
||||
min-height: 23.5em;
|
||||
}
|
||||
}
|
||||
.contactform-fund-options {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
p{
|
||||
display: inline-block;
|
||||
}
|
||||
label.oficinasuport-titol-opcions {
|
||||
border: $border__line;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.wpcf7-list-item {
|
||||
display:block;
|
||||
label {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: left;
|
||||
}
|
||||
}
|
||||
.wpcf7-form-control-wrap {
|
||||
&[data-name="oferta-data-start"],&[data-name="oferta-data-end"] {
|
||||
display: block;
|
||||
input[type="date"] {
|
||||
width: auto;
|
||||
background-color: $color__white;
|
||||
}
|
||||
&::before {
|
||||
display: inline-block;
|
||||
width: 2rem;
|
||||
}
|
||||
}
|
||||
&[data-name="oferta-data-start"]::before {
|
||||
content:"inici: ";
|
||||
}
|
||||
&[data-name="oferta-data-end"]::before {
|
||||
content:"fi: ";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 48em) {
|
||||
//only smaller than 48em
|
||||
}
|
||||
@media screen and (min-width: 48em) {
|
||||
//only bigger than 48em
|
||||
.wpcf7-form {
|
||||
text-align: center;
|
||||
}
|
||||
.contactform-fund-info {
|
||||
column-count: 2;
|
||||
}
|
||||
.contactform-fund-options {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 80em) {
|
||||
//only bigger than 80rem
|
||||
}
|
||||
|
||||
|
|
459
style.css
459
style.css
|
@ -850,7 +850,7 @@ dd {
|
|||
margin: 0.1em 0;
|
||||
padding: 0.2em 0.2em 0 0.2em;
|
||||
color: #000;
|
||||
border: 1px solid #000;
|
||||
border: 0.05em solid #000;
|
||||
background-color: none;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
@ -1163,7 +1163,7 @@ textarea:focus {
|
|||
}
|
||||
|
||||
select {
|
||||
border: 1px solid #000;
|
||||
border: 0.05em solid #000;
|
||||
}
|
||||
|
||||
textarea {
|
||||
|
@ -1446,49 +1446,19 @@ textarea {
|
|||
margin: 1rem;
|
||||
}
|
||||
|
||||
.main-navigation ul,
|
||||
.secondary-navigation ul {
|
||||
.main-navigation .main-navigation-content,
|
||||
.secondary-navigation .main-navigation-content {
|
||||
display: none;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.main-navigation ul .sub-menu,
|
||||
.secondary-navigation ul .sub-menu {
|
||||
padding-top: 0.5rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.main-navigation li,
|
||||
.secondary-navigation li {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.main-navigation a,
|
||||
.secondary-navigation a {
|
||||
text-decoration: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.main-navigation.toggled ul {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.main-navigation.toggled ul .sub-menu {
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.main-navigation.toggled li {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.main-navigation.toggled a {
|
||||
margin: 0;
|
||||
padding: 0.5em;
|
||||
display: block;
|
||||
.main-navigation.toggled .menu-toggle {
|
||||
position: relative;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.main-navigation.toggled .main-navigation-content {
|
||||
|
@ -1503,9 +1473,14 @@ textarea {
|
|||
overflow: auto;
|
||||
}
|
||||
|
||||
.main-navigation.toggled .menu-toggle {
|
||||
position: relative;
|
||||
z-index: 9999;
|
||||
.main-navigation.toggled li {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-navigation.toggled a {
|
||||
display: block;
|
||||
min-height: 100%;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
||||
.main-navigation.toggled .current-menu-ancestor > a::after {
|
||||
|
@ -1523,74 +1498,7 @@ textarea {
|
|||
background-color: #000;
|
||||
}
|
||||
|
||||
.secondary-navigation {
|
||||
padding: 0 1em 1em 0;
|
||||
}
|
||||
|
||||
.secondary-navigation ul {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.secondary-navigation ul li {
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
||||
.secondary-navigation a {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* begin of menu-hidden */
|
||||
.toggle-secondary-navigation .show-mobile {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.toggle,
|
||||
.toggled-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toggle:checked + .toggled-menu {
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
margin-top: 0;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
.toggle-show {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 1.8em;
|
||||
height: 1.4em;
|
||||
margin-right: 0.3em;
|
||||
border-top: 0.3em solid #000;
|
||||
border-bottom: 0.3em solid #000;
|
||||
}
|
||||
|
||||
.toggle-show::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0.3em;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
border-top: 0.3em solid #000;
|
||||
}
|
||||
|
||||
.toggle-hide {
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
margin-right: -0.5em;
|
||||
}
|
||||
|
||||
.toggle-hide::after {
|
||||
content: "x";
|
||||
padding: 0;
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* end of menu hidden*/
|
||||
}
|
||||
|
@ -1606,6 +1514,11 @@ textarea {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation .main-navigation-content,
|
||||
.secondary-navigation .main-navigation-content {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.main-navigation ul,
|
||||
.secondary-navigation ul {
|
||||
display: flex;
|
||||
|
@ -1619,34 +1532,33 @@ textarea {
|
|||
border-radius: 0.2em;
|
||||
}
|
||||
|
||||
.main-navigation ul .sub-menu,
|
||||
.secondary-navigation ul .sub-menu {
|
||||
.main-navigation ul ul.sub-menu,
|
||||
.secondary-navigation ul ul.sub-menu {
|
||||
float: left;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: -999em;
|
||||
z-index: 99999;
|
||||
padding-top: 0.5rem;
|
||||
padding-left: 1rem;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.main-navigation ul .sub-menu ul,
|
||||
.secondary-navigation ul .sub-menu ul {
|
||||
.main-navigation ul ul.sub-menu ul,
|
||||
.secondary-navigation ul ul.sub-menu ul {
|
||||
left: -999em;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.main-navigation ul .sub-menu li:hover > ul,
|
||||
.main-navigation ul .sub-menu li.focus > ul,
|
||||
.secondary-navigation ul .sub-menu li:hover > ul,
|
||||
.secondary-navigation ul .sub-menu li.focus > ul {
|
||||
.main-navigation ul ul.sub-menu li:hover > ul,
|
||||
.main-navigation ul ul.sub-menu li.focus > ul,
|
||||
.secondary-navigation ul ul.sub-menu li:hover > ul,
|
||||
.secondary-navigation ul ul.sub-menu li.focus > ul {
|
||||
display: block;
|
||||
left: 4em;
|
||||
top: 3em;
|
||||
}
|
||||
|
||||
.main-navigation ul .sub-menu a,
|
||||
.secondary-navigation ul .sub-menu a {
|
||||
.main-navigation ul ul.sub-menu a,
|
||||
.secondary-navigation ul ul.sub-menu a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 100%;
|
||||
|
@ -1655,6 +1567,7 @@ textarea {
|
|||
|
||||
.main-navigation ul li,
|
||||
.secondary-navigation ul li {
|
||||
position: relative;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
|
@ -1665,6 +1578,15 @@ textarea {
|
|||
left: auto;
|
||||
}
|
||||
|
||||
.main-navigation ul a,
|
||||
.secondary-navigation ul a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 100%;
|
||||
text-decoration: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.main-navigation {
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
@ -2200,7 +2122,7 @@ textarea {
|
|||
cursor: pointer;
|
||||
font-weight: 900;
|
||||
font-size: 0.9rem;
|
||||
border: 1px solid #000;
|
||||
border: 0.05em solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-titol-opcions::after {
|
||||
|
@ -2502,149 +2424,170 @@ textarea {
|
|||
|
||||
/* Contact Form 7
|
||||
--------------------------------------------- */
|
||||
@media screen {
|
||||
|
||||
/* contact forms styles used in wp backend with CF7 */
|
||||
.wpcf7-not-valid:not(:focus) {
|
||||
background-color: #ff686e;
|
||||
/* contact forms styles used in wp backend with CF7 */
|
||||
.wpcf7-not-valid:not(:focus) {
|
||||
background-color: #ff686e;
|
||||
}
|
||||
|
||||
.wpcf7-not-valid-tip {
|
||||
color: #ff686e;
|
||||
}
|
||||
|
||||
.wpcf7 form.invalid .wpcf7-response-output,
|
||||
.wpcf7 form.unaccepted .wpcf7-response-output,
|
||||
.wpcf7 form.payment-required .wpcf7-response-output {
|
||||
border-color: #f6cc4c;
|
||||
background-color: #f6cc4c;
|
||||
color: #fff;
|
||||
font-family: "Neue Haas Grotesk Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wpcf7-form .wpcf7-submit {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.wpcf7-form .wpcf7-spinner {
|
||||
margin: 0 -24px 0 0;
|
||||
}
|
||||
|
||||
.wpcf7-list-item-label {
|
||||
margin: 0 0.3rem;
|
||||
}
|
||||
|
||||
.wpcf7-form input:not([type="submit"]),
|
||||
.wpcf7-form textarea {
|
||||
background: transparent;
|
||||
border: 0.05em solid #000;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
/* styles applied if written in wp backend
|
||||
* class="contactform contactform-WHATEVER"
|
||||
* */
|
||||
.contactform {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.contactform br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contactform p {
|
||||
display: block;
|
||||
break-inside: avoid-column;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.contactform .break-after-column,
|
||||
.contactform .saltar-columna {
|
||||
break-after: column;
|
||||
}
|
||||
|
||||
.contactform-consultoria .contactform-name,
|
||||
.contactform-consultoria .contactform-email {
|
||||
max-width: 40%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.contactform-consultoria .contactform-name {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.contactform-consultoria .contactform-email {
|
||||
float: right;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.contactform-acceptance {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: end;
|
||||
}
|
||||
|
||||
.contactform-fund-info {
|
||||
display: inline-block;
|
||||
column-count: 1;
|
||||
column-gap: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.contactform-fund-info .contactform-descripcio textarea {
|
||||
display: inline-block;
|
||||
min-height: 23.5em;
|
||||
}
|
||||
|
||||
.contactform-fund-options {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.contactform-fund-options p {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.contactform-fund-options label.oficinasuport-titol-opcions {
|
||||
border: 0.05em solid #000;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-list-item {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-list-item label {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"],
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"] input[type="date"],
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"] input[type="date"] {
|
||||
width: auto;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"]::before,
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"]::before {
|
||||
display: inline-block;
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"]::before {
|
||||
content: "inici: ";
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"]::before {
|
||||
content: "fi: ";
|
||||
}
|
||||
}
|
||||
|
||||
.wpcf7-not-valid-tip {
|
||||
color: #ff686e;
|
||||
}
|
||||
@media screen and (min-width: 48em) {
|
||||
|
||||
.wpcf7 form.invalid .wpcf7-response-output,
|
||||
.wpcf7 form.unaccepted .wpcf7-response-output,
|
||||
.wpcf7 form.payment-required .wpcf7-response-output {
|
||||
border-color: #f6cc4c;
|
||||
background-color: #f6cc4c;
|
||||
color: #fff;
|
||||
font-family: "Neue Haas Grotesk Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.wpcf7-form {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wpcf7-form .wpcf7-submit {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
.contactform-fund-info {
|
||||
column-count: 2;
|
||||
}
|
||||
|
||||
.wpcf7-form .wpcf7-spinner {
|
||||
margin: 0 -24px 0 0;
|
||||
}
|
||||
|
||||
.wpcf7-list-item-label {
|
||||
margin: 0 0.3rem;
|
||||
}
|
||||
|
||||
.wpcf7-form {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wpcf7-form input:not([type="submit"]),
|
||||
.wpcf7-form textarea {
|
||||
background: transparent;
|
||||
border: 0.1em solid #000;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
/* styles applied if written in wp backend
|
||||
* class="contactform contactform-WHATEVER"
|
||||
* */
|
||||
.contactform {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.contactform br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contactform p {
|
||||
display: block;
|
||||
break-inside: avoid-column;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.contactform .break-after-column,
|
||||
.contactform .saltar-columna {
|
||||
break-after: column;
|
||||
}
|
||||
|
||||
.contactform-consultoria .contactform-name,
|
||||
.contactform-consultoria .contactform-email {
|
||||
max-width: 40%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.contactform-consultoria .contactform-name {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.contactform-consultoria .contactform-email {
|
||||
float: right;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.contactform-acceptance {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: end;
|
||||
}
|
||||
|
||||
.contactform-fund-info {
|
||||
display: inline-block;
|
||||
column-count: 2;
|
||||
column-gap: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.contactform-fund-info .contactform-descripcio textarea {
|
||||
display: inline-block;
|
||||
min-height: 15.5em;
|
||||
}
|
||||
|
||||
.contactform-fund-options {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.contactform-fund-options p {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-list-item {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-list-item label {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"],
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"] input[type="date"],
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"] input[type="date"] {
|
||||
width: auto;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"]::before,
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"]::before {
|
||||
display: inline-block;
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-start"]::before {
|
||||
content: "inici: ";
|
||||
}
|
||||
|
||||
.contactform-fund-options .wpcf7-form-control-wrap[data-name="oferta-data-end"]::before {
|
||||
content: "fi: ";
|
||||
.contactform-fund-options {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
/* Guttenslider
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue