Commit 1e03125a authored by lucha's avatar lucha
Browse files

[auto] theme: twentytwelve 2.7

parent b7cc0542
/* /*
Theme Name: Twenty Twelve Theme Name: Twenty Twelve
Description: Used to style Gutenberg Blocks. Description: Used to style blocks.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------
...@@ -244,19 +244,9 @@ pre.wp-block-code { ...@@ -244,19 +244,9 @@ pre.wp-block-code {
/* Buttons */ /* Buttons */
.wp-block-button .wp-block-button__link, .wp-block-button .wp-block-button__link {
.wp-block-button .wp-block-button__link:visited {
background-color: #e6e6e6;
background-repeat: repeat-x;
background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
border: 1px solid #d2d2d2; border: 1px solid #d2d2d2;
border-radius: 3px; border-radius: 3px;
box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
color: #7c7c7c;
font-family: inherit; font-family: inherit;
font-size: 11px; font-size: 11px;
font-size: 0.785714286rem; font-size: 0.785714286rem;
...@@ -266,20 +256,48 @@ pre.wp-block-code { ...@@ -266,20 +256,48 @@ pre.wp-block-code {
padding: 0.428571429rem 0.714285714rem; padding: 0.428571429rem 0.714285714rem;
} }
.wp-block-button .wp-block-button__link:hover, .entry-content .wp-block-button__link,
.wp-block-button .wp-block-button__link:focus { .entry-content .wp-block-button__link:visited {
background-color: #e6e6e6;
color: #7c7c7c;
}
.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:visited:hover,
.entry-content .wp-block-button__link:focus {
background-color: #ebebeb; background-color: #ebebeb;
color: #5e5e5e;
}
.entry-content .wp-block-button__link:active {
background-color: #e1e1e1;
color: #757575;
}
.wp-block-button__link:not(.has-background) {
background-repeat: repeat-x;
background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
}
.wp-block-button__link:not(.has-text-color) {
box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
}
.wp-block-button__link:not(.has-background):hover,
.wp-block-button__link:not(.has-background):focus {
background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb); background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb);
background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb); background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb); background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb); background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
background-image: linear-gradient(top, #f9f9f9, #ebebeb); background-image: linear-gradient(top, #f9f9f9, #ebebeb);
background-repeat: repeat-x; background-repeat: repeat-x;
color: #5e5e5e;
} }
.wp-block-button .wp-block-button__link:active { .wp-block-button__link:not(.has-background):active {
background-color: #e1e1e1;
background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1); background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1); background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1); background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
...@@ -287,8 +305,10 @@ pre.wp-block-code { ...@@ -287,8 +305,10 @@ pre.wp-block-code {
background-image: linear-gradient(top, #ebebeb, #e1e1e1); background-image: linear-gradient(top, #ebebeb, #e1e1e1);
background-repeat: repeat-x; background-repeat: repeat-x;
border-color: transparent; border-color: transparent;
}
.wp-block-button__link:not(.has-text-color):active {
box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4; box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
color: #757575;
} }
/* Separator */ /* Separator */
...@@ -367,42 +387,52 @@ pre.wp-block-code { ...@@ -367,42 +387,52 @@ pre.wp-block-code {
6.0 Blocks - Colors 6.0 Blocks - Colors
--------------------------------------------------------------*/ --------------------------------------------------------------*/
.has-blue-color { .entry-content .has-blue-color,
.entry-content .has-blue-color:visited {
color: #21759b; color: #21759b;
} }
.has-blue-background-color { .entry-content .has-blue-background-color,
.entry-content .has-blue-background-color:visited {
background-color: #21759b; background-color: #21759b;
} }
.has-dark-gray-color { .entry-content .has-dark-gray-color,
.entry-content .has-dark-gray-color:visited {
color: #373737; color: #373737;
} }
.has-dark-gray-background-color { .entry-content .has-dark-gray-background-color,
.entry-content .has-dark-gray-background-color:visited {
background-color: #373737; background-color: #373737;
} }
.has-medium-gray-color { .entry-content .has-medium-gray-color,
.entry-content .has-medium-gray-color:visited {
color: #9f9f9f; color: #9f9f9f;
} }
.has-medium-gray-background-color { .entry-content .has-medium-gray-background-color,
.entry-content .has-medium-gray-background-color:visited {
background-color: #9f9f9f; background-color: #9f9f9f;
} }
.has-light-gray-color { .entry-content .has-light-gray-color,
.entry-content .has-light-gray-color:visited {
color: #e6e6e6; color: #e6e6e6;
} }
.has-light-gray-background-color { .entry-content .has-light-gray-background-color,
.entry-content .has-light-gray-background-color:visited {
background-color: #e6e6e6; background-color: #e6e6e6;
} }
.has-white-color { .entry-content .has-white-color,
.entry-content .has-white-color:visited {
color: #fff; color: #fff;
} }
.has-white-background-color { .entry-content .has-white-background-color,
.entry-content .has-white-background-color:visited {
background-color: #fff; background-color: #fff;
} }
/* /*
Theme Name: Twenty Twelve Theme Name: Twenty Twelve
Description: Used to style Gutenberg Blocks in the editor. Description: Used to style blocks in the editor.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------
...@@ -20,11 +20,11 @@ Description: Used to style Gutenberg Blocks in the editor. ...@@ -20,11 +20,11 @@ Description: Used to style Gutenberg Blocks in the editor.
.edit-post-visual-editor .editor-block-list__block, .edit-post-visual-editor .editor-block-list__block,
.edit-post-visual-editor .editor-block-list__block p, .edit-post-visual-editor .editor-block-list__block p,
.editor-default-block-appender input[type="text"].editor-default-block-appender__content { .editor-default-block-appender textarea.editor-default-block-appender__content {
font-size: 14px; font-size: 14px;
} }
.editor-default-block-appender input[type="text"].editor-default-block-appender__content { .editor-default-block-appender textarea.editor-default-block-appender__content {
font-family: "Open Sans", Helvetica, Arial, sans-serif; font-family: "Open Sans", Helvetica, Arial, sans-serif;
} }
...@@ -235,7 +235,7 @@ p.has-drop-cap:not(:focus)::first-letter { ...@@ -235,7 +235,7 @@ p.has-drop-cap:not(:focus)::first-letter {
} }
.wp-block-file .wp-block-file__button, .wp-block-file .wp-block-file__button,
.wp-block-button .wp-block-button__link:hover { .wp-block-button .wp-block-file__button:hover {
background-color: #e6e6e6; background-color: #e6e6e6;
background-repeat: repeat-x; background-repeat: repeat-x;
background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6); background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
...@@ -335,19 +335,14 @@ p.has-drop-cap:not(:focus)::first-letter { ...@@ -335,19 +335,14 @@ p.has-drop-cap:not(:focus)::first-letter {
/* Buttons */ /* Buttons */
.wp-block-button .wp-block-button__link, .wp-block-button__link {
.wp-block-button .wp-block-button__link:hover {
background-color: #e6e6e6; background-color: #e6e6e6;
background-repeat: repeat-x; color: #7c7c7c;
background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6); }
background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6); .wp-block-button .wp-block-button__link {
background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
border: 1px solid #d2d2d2; border: 1px solid #d2d2d2;
border-radius: 3px; border-radius: 3px;
box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
color: #7c7c7c;
font-family: inherit; font-family: inherit;
font-size: 11px; font-size: 11px;
font-weight: normal; font-weight: normal;
...@@ -355,6 +350,23 @@ p.has-drop-cap:not(:focus)::first-letter { ...@@ -355,6 +350,23 @@ p.has-drop-cap:not(:focus)::first-letter {
padding: 6px 10px; padding: 6px 10px;
} }
.wp-block-button .editor-rich-text__tinymce.mce-content-body {
line-height: 1.428571429;
}
.wp-block-button__link:not(.has-text-color) {
box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
}
.wp-block-button .wp-block-button__link:not(.has-background) {
background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
background-repeat: repeat-x;
}
/* Separator */ /* Separator */
.editor-block-list__block hr.wp-block-separator { .editor-block-list__block hr.wp-block-separator {
...@@ -382,13 +394,13 @@ p.has-drop-cap:not(:focus)::first-letter { ...@@ -382,13 +394,13 @@ p.has-drop-cap:not(:focus)::first-letter {
/* Archives */ /* Archives */
.gutenberg ul.wp-block-archives { .editor-block-list__block ul.wp-block-archives {
padding-left: 0; padding-left: 0;
} }
/* Categories */ /* Categories */
.gutenberg .wp-block-categories ul { .editor-block-list__block .wp-block-categories ul {
padding-left: 0; padding-left: 0;
} }
...@@ -436,7 +448,7 @@ p.has-drop-cap:not(:focus)::first-letter { ...@@ -436,7 +448,7 @@ p.has-drop-cap:not(:focus)::first-letter {
/* Latest Posts */ /* Latest Posts */
.gutenberg .wp-block-latest-posts { .editor-block-list__block .wp-block-latest-posts {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
...@@ -199,7 +199,7 @@ function twentytwelve_scripts_styles() { ...@@ -199,7 +199,7 @@ function twentytwelve_scripts_styles() {
add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' ); add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' );
/** /**
* Enqueue editor styles for Gutenberg * Enqueue styles for the block-based editor.
* *
* @since Twenty Twelve 2.6 * @since Twenty Twelve 2.6
*/ */
......
=== Twenty Twelve === === Twenty Twelve ===
Contributors: the WordPress team Contributors: the WordPress team
Requires at least: WordPress 3.5 Requires at least: WordPress 3.5
Tested up to: WordPress 5.0-trunk Tested up to: WordPress 5.0
Stable tag: 2.6 Stable tag: 2.7
License: GPLv2 or later License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
...@@ -43,6 +43,11 @@ Source: https://github.com/aFarkas/html5shiv ...@@ -43,6 +43,11 @@ Source: https://github.com/aFarkas/html5shiv
== Changelog == == Changelog ==
= 2.7 =
* Released: December 19, 2018
https://codex.wordpress.org/Twenty_Twelve_Theme_Changelog#Version_2.7
= 2.6 = = 2.6 =
* Released: December 6, 2018 * Released: December 6, 2018
......
...@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentytwelve/ ...@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentytwelve/
Author: the WordPress team Author: the WordPress team
Author URI: https://wordpress.org/ Author URI: https://wordpress.org/
Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background. Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 2.6 Version: 2.7
License: GNU General Public License v2 or later License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment