This commit is contained in:
jorge 2024-04-01 14:08:43 +02:00
parent 6befb60ce5
commit 0d9095bfc6
8 changed files with 105 additions and 49 deletions

View File

@ -1236,22 +1236,6 @@ Add your custom styles in this file so it is easier to update the theme.
mix-blend-mode: multiply;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-associats-map,
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-espais-map {
aspect-ratio: 4 / 3;
background-color: rgba(200, 200, 200, 0.4);
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-associats-search .xarxaprod-associats-map,
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-associats-search .xarxaprod-espais-map {
aspect-ratio: 4 / 3;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-associat .xarxaprod-associats-map,
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-associat .xarxaprod-espais-map {
aspect-ratio: 16 / 9;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper table {
margin: 0 0 1.5em;
width: 100%;
@ -2293,6 +2277,22 @@ Add your custom styles in this file so it is easier to update the theme.
font-size: 1rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-associats-map,
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-espais-map {
aspect-ratio: 4 / 3;
background-color: rgba(200, 200, 200, 0.4);
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-associats-search .xarxaprod-associats-map,
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-template-associats-search .xarxaprod-espais-map {
aspect-ratio: 4 / 3;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-associat .xarxaprod-associats-map,
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-associat .xarxaprod-espais-map {
aspect-ratio: 16 / 9;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-associat-contact {
font-size: 0.9rem;
}
@ -2965,6 +2965,20 @@ Add your custom styles in this file so it is easier to update the theme.
display: none !important;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .leaflet-marker-pane .leaflet-interactive > svg {
max-width: 0;
width: 0;
max-height: 0;
height: 0;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .leaflet-marker-pane .dashicons,
.edit-post-visual-editor__content-area .editor-styles-wrapper .leaflet-marker-pane .dashicons-before::before {
width: 2rem;
height: 2rem;
font-size: 2rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -25,17 +25,17 @@ figure {
}
//mapas leaflet
.xarxaprod-associats-map,.xarxaprod-espais-map {
aspect-ratio: 4 / 3;
background-color: rgba(200,200,200,0.4); //place holder background color
}
.page-template-associats-search{
.xarxaprod-associats-map,.xarxaprod-espais-map {
aspect-ratio: 4 / 3;
}
}
.single-xarxaprod-associat {
.xarxaprod-associats-map,.xarxaprod-espais-map {
aspect-ratio: 16 / 9;
}
}
//.xarxaprod-associats-map,.xarxaprod-espais-map {
// aspect-ratio: 4 / 3;
// background-color: rgba(200,200,200,0.4); //place holder background color
//}
//.page-template-associats-search{
// .xarxaprod-associats-map,.xarxaprod-espais-map {
// aspect-ratio: 4 / 3;
// }
//}
//.single-xarxaprod-associat {
// .xarxaprod-associats-map,.xarxaprod-espais-map {
// aspect-ratio: 16 / 9;
// }
//}

View File

@ -272,6 +272,21 @@
* page-templates/associats-search.php
*
* */
//mapas leaflet
.xarxaprod-associats-map,.xarxaprod-espais-map {
aspect-ratio: 4 / 3;
background-color: rgba(200,200,200,0.4); //place holder background color
}
.page-template-associats-search{
.xarxaprod-associats-map,.xarxaprod-espais-map {
aspect-ratio: 4 / 3;
}
}
.single-xarxaprod-associat {
.xarxaprod-associats-map,.xarxaprod-espais-map {
aspect-ratio: 16 / 9;
}
}
.xarxaprod-associat {
}
.xarxaprod-associat-contact {

View File

@ -7,3 +7,16 @@
width: 0px !important;
display: none !important;
}
.leaflet-marker-pane {
.leaflet-interactive > svg {
max-width: 0px;
width: 0px;
max-height: 0px;
height: 0px;
}
.dashicons,.dashicons-before::before {
width: $font__size-body*2;
height: $font__size-body*2;
font-size: $font__size-body*2;
}
}

View File

@ -1093,22 +1093,6 @@ figure {
mix-blend-mode: multiply;
}
.xarxaprod-associats-map,
.xarxaprod-espais-map {
aspect-ratio: 4 / 3;
background-color: rgba(200, 200, 200, 0.4);
}
.page-template-associats-search .xarxaprod-associats-map,
.page-template-associats-search .xarxaprod-espais-map {
aspect-ratio: 4 / 3;
}
.single-xarxaprod-associat .xarxaprod-associats-map,
.single-xarxaprod-associat .xarxaprod-espais-map {
aspect-ratio: 16 / 9;
}
table {
margin: 0 0 1.5em;
width: 100%;
@ -2133,6 +2117,22 @@ textarea {
* page-templates/associats-search.php
*
* */
.xarxaprod-associats-map,
.xarxaprod-espais-map {
aspect-ratio: 4 / 3;
background-color: rgba(200, 200, 200, 0.4);
}
.page-template-associats-search .xarxaprod-associats-map,
.page-template-associats-search .xarxaprod-espais-map {
aspect-ratio: 4 / 3;
}
.single-xarxaprod-associat .xarxaprod-associats-map,
.single-xarxaprod-associat .xarxaprod-espais-map {
aspect-ratio: 16 / 9;
}
.xarxaprod-associat-contact {
font-size: 0.9rem;
}
@ -2842,6 +2842,20 @@ textarea {
display: none !important;
}
.leaflet-marker-pane .leaflet-interactive > svg {
max-width: 0;
width: 0;
max-height: 0;
height: 0;
}
.leaflet-marker-pane .dashicons,
.leaflet-marker-pane .dashicons-before::before {
width: 2rem;
height: 2rem;
font-size: 2rem;
}
/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

File diff suppressed because one or more lines are too long