Continues migration to new css based on appearance tools.
This commit is contained in:
parent
f30409aa04
commit
040dff8212
|
@ -119,9 +119,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Cover block */
|
/* Cover block */
|
||||||
.wp-block-cover__inner-container>.wp-block-group:where(:not(.alignleft):not(.alignright)) {
|
.wp-block-cover__inner-container>*:where(:not(.alignleft):not(.alignright)) {
|
||||||
max-width: 1400px;
|
max-width: 1400px;
|
||||||
margin: 0 auto;
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
padding: 0 8.3333333333%;
|
padding: 0 8.3333333333%;
|
||||||
padding: 0 8.3333333333vw;
|
padding: 0 8.3333333333vw;
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,4 +20,7 @@
|
||||||
--wp--preset--color--white: #ffffff;
|
--wp--preset--color--white: #ffffff;
|
||||||
--wp--preset--color--lightgray: #f2f2f2;
|
--wp--preset--color--lightgray: #f2f2f2;
|
||||||
--wp--preset--color--darkgray: #555758;
|
--wp--preset--color--darkgray: #555758;
|
||||||
|
|
||||||
|
--wp--style--global--content-size: 1100px;
|
||||||
|
--wp--style--global--wide-size: 1400px;
|
||||||
}
|
}
|
|
@ -39,7 +39,7 @@ body {
|
||||||
--wp--preset--color--lightgray: #f2f2f2;
|
--wp--preset--color--lightgray: #f2f2f2;
|
||||||
--wp--preset--color--darkgray: #555758;
|
--wp--preset--color--darkgray: #555758;
|
||||||
|
|
||||||
a {
|
*:not(.has-link-color)>*:not(.has-link-color)>a:not(.has-link-color) {
|
||||||
color: var(--tainacan-interface--link-color, #298596);
|
color: var(--tainacan-interface--link-color, #298596);
|
||||||
&:hover{
|
&:hover{
|
||||||
color: var(--tainacan-interface--link-color, #298596);
|
color: var(--tainacan-interface--link-color, #298596);
|
||||||
|
@ -59,12 +59,12 @@ body {
|
||||||
h6 {
|
h6 {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
h1:not(.has-text-color),
|
*:not(.has-text-color)>*:not(.has-text-color)>h1:not(.has-text-color),
|
||||||
h2:not(.has-text-color),
|
*:not(.has-text-color)>*:not(.has-text-color)>h2:not(.has-text-color),
|
||||||
h3:not(.has-text-color),
|
*:not(.has-text-color)>*:not(.has-text-color)>h3:not(.has-text-color),
|
||||||
h4:not(.has-text-color),
|
*:not(.has-text-color)>*:not(.has-text-color)>h4:not(.has-text-color),
|
||||||
h5:not(.has-text-color),
|
*:not(.has-text-color)>*:not(.has-text-color)>h5:not(.has-text-color),
|
||||||
h6:not(.has-text-color) {
|
*:not(.has-text-color)>*:not(.has-text-color)>h6:not(.has-text-color) {
|
||||||
color: #1d1d1d;
|
color: #1d1d1d;
|
||||||
}
|
}
|
||||||
h1:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size):not(.metadata-label):not(.label) {
|
h1:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size):not(.metadata-label):not(.label) {
|
||||||
|
@ -235,7 +235,6 @@ body {
|
||||||
}
|
}
|
||||||
.wp-block-columns {
|
.wp-block-columns {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin: 0;
|
|
||||||
gap: 4.16667%;
|
gap: 4.16667%;
|
||||||
|
|
||||||
.wp-block-column {
|
.wp-block-column {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"version": 3,
|
"version": 3,
|
||||||
"mappings": "AACA,KAAM,CACF,gCAAgC,CAAC,QAAQ,CACzC,mCAAmC,CAAC,QAAQ,CAC5C,wBAAwB,CAAC,+CAA+C,CACxE,8BAA8B,CAAC,KAAK,CACpC,gCAAgC,CAAC,KAAK,CACtC,8BAA8B,CAAC,KAAK,CACpC,6BAA6B,CAAC,KAAK,CACnC,4BAA4B,CAAC,uCAAuC,CACpE,4BAA4B,CAAC,QAAQ,CACrC,2B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K,CACjB,UAAU,CAAE,MAAM,CAClB,KAAK,CAAE,OAAO,CAKd,sJAA6B,CACzB,UAAU,CAAE,uFAAuF,CACnG,aAAa,CAAE,uFAAuF,CAG1G,uYAC8C,CAC1C,SAAS,CAAE,QAAQ,CACnB,WAAW,CAAE,GAAG,CAEpB,+dACoE,CAChE,KAAK,CAAE,8CAA8C,CACrD,KAAK,CAAE,6EAA6E,CAExF,4JAA8B,CAC1B,KAAK,CAAE,OAAO,CACd,SAAS,CAAE,IAAI,CACf,WAAW,CAAE,MAAM,CACnB,UAAU,CAAE,MAAM,CAClB,cAAc,CAAE,IAAI,CAK5B,gGAAoB,CAKhB,KAAK,CAAE,GAAG,CACV,SAAS,CAAE,KAAK,CALhB,sJAA6B,CACzB,YAAY,CAAE,8CAA8C,CAC5D,YAAY,CAAE,6EAA6E,CAI/F,4HAAgB,CACZ,KAAK,CAAE,IAAI,CAGX,kMAAqC,CACjC,KAAK,CAAE,8CAA8C,CACrD,KAAK,CAAE,6EAA6E,CAExF,4IAAU,CACN,WAAW,CAAE,GAAG,CAM5B,8FAAmB,CACf,UAAU,CAAE,IAAI,CAChB,WAAW,CAAE,IAAI,CACjB,YAAY,CAAE,IAAI,CAClB,aAAa,CAAE,iBAAiB,CAChC,WAAW,CAAE,MAAM,CACnB,SAAS,CAAE,OAAO,CAClB,OAAO,CAAE,MAAM,CAEnB,8FAAmB,CACf,MAAM,CAAE,iBAAiB,CACzB,SAAS,CAAE,QAAQ,CACnB,OAAO,CAAE,MAAM,CAGnB,kJAA6C,CACzC,WAAW,CAAE,GAAG",
|
||||||
"sources": ["assets/scss/_variables.scss","assets/scss/editor-style.scss"],
|
"sources": ["assets/scss/_variables.scss","assets/scss/editor-style.scss"],
|
||||||
"names": [],
|
"names": [],
|
||||||
"file": "editor-style.css"
|
"file": "editor-style.css"
|
||||||
|
|
|
@ -96,7 +96,7 @@ if ( ! function_exists( 'tainacan_setup' ) ) {
|
||||||
$color_scheme = tainacan_get_color_scheme();
|
$color_scheme = tainacan_get_color_scheme();
|
||||||
|
|
||||||
if ($color_scheme && $color_scheme[2]) {
|
if ($color_scheme && $color_scheme[2]) {
|
||||||
$default_color = $color_scheme[2];
|
$default_color = $color_scheme[2] == 'default' ? '#298596' : $color_scheme[2];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_theme_support( 'editor-color-palette', array(
|
add_theme_support( 'editor-color-palette', array(
|
||||||
|
@ -218,8 +218,8 @@ function tainacan_customize_editor_css() {
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
.editor-styles-wrapper {
|
.editor-styles-wrapper {
|
||||||
--tainacan-color-default: <?php echo $default_color == 'default' ? 'var(--tainacan-interface--link-color, #298596)' : $default_color; ?>;
|
--tainacan-color-default: <?php echo ($default_color == 'default' ? 'var(--tainacan-interface--link-color, #298596)' : $default_color ); ?>;
|
||||||
--tainacan-block-primary: <?php echo $default_color == 'default' ? 'var(--tainacan-interface--link-color, #298596)' : $default_color;?>;
|
--tainacan-block-primary: <?php echo ($default_color == 'default' ? 'var(--tainacan-interface--link-color, #298596)' : $default_color ); ?>;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -65,13 +65,15 @@ function tainacan_block_patterns_init() {
|
||||||
<!-- /wp:column -->
|
<!-- /wp:column -->
|
||||||
|
|
||||||
<!-- wp:column {"width":"66.66%"} -->
|
<!-- wp:column {"width":"66.66%"} -->
|
||||||
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:paragraph {"fontSize":"normal"} -->
|
<div class="wp-block-column" style="flex-basis:66.66%">
|
||||||
|
<!-- wp:paragraph {"fontSize":"normal"} -->
|
||||||
<p class="has-normal-font-size">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
<p class="has-normal-font-size">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||||
<!-- /wp:paragraph -->
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
<!-- wp:paragraph {"align":"right","style":{"color":{"text":"#ffffff"}}} -->
|
<!-- wp:paragraph {"align":"right","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"fontSize":"normal"} -->
|
||||||
<p class="has-text-align-right has-text-color" style="color:#ffffff"><a href="/"> ' .esc_html__( 'View more...', 'tainacan-interface' ) . '</a></p>
|
<p class="has-text-align-right has-link-color has-normal-font-size"><a href="/">Veja mais...</a></p>
|
||||||
<!-- /wp:paragraph --></div>
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
<!-- /wp:column --></div>
|
<!-- /wp:column --></div>
|
||||||
<!-- /wp:columns --></div>
|
<!-- /wp:columns --></div>
|
||||||
<!-- /wp:group --></div></div>
|
<!-- /wp:group --></div></div>
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue