From 1e03125a0befdc4d0b8e98c9cf814db35b0713bd Mon Sep 17 00:00:00 2001 From: lucha <lucha@paranoici.org> Date: Sun, 30 Dec 2018 13:22:53 -0800 Subject: [PATCH] [auto] theme: twentytwelve 2.7 --- wp-content/themes/twentytwelve/css/blocks.css | 86 +++++++++++++------ .../themes/twentytwelve/css/editor-blocks.css | 46 ++++++---- wp-content/themes/twentytwelve/functions.php | 2 +- wp-content/themes/twentytwelve/readme.txt | 9 +- wp-content/themes/twentytwelve/style.css | 2 +- 5 files changed, 96 insertions(+), 49 deletions(-) diff --git a/wp-content/themes/twentytwelve/css/blocks.css b/wp-content/themes/twentytwelve/css/blocks.css index f19748190..a03cef640 100644 --- a/wp-content/themes/twentytwelve/css/blocks.css +++ b/wp-content/themes/twentytwelve/css/blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Twelve -Description: Used to style Gutenberg Blocks. +Description: Used to style blocks. */ /*-------------------------------------------------------------- @@ -244,19 +244,9 @@ pre.wp-block-code { /* Buttons */ -.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); +.wp-block-button .wp-block-button__link { border: 1px solid #d2d2d2; border-radius: 3px; - box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); - color: #7c7c7c; font-family: inherit; font-size: 11px; font-size: 0.785714286rem; @@ -266,20 +256,48 @@ pre.wp-block-code { padding: 0.428571429rem 0.714285714rem; } -.wp-block-button .wp-block-button__link:hover, -.wp-block-button .wp-block-button__link:focus { +.entry-content .wp-block-button__link, +.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; + 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: -ms-linear-gradient(top, #f9f9f9, #ebebeb); background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb); background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb); background-image: linear-gradient(top, #f9f9f9, #ebebeb); background-repeat: repeat-x; - color: #5e5e5e; } -.wp-block-button .wp-block-button__link:active { - background-color: #e1e1e1; +.wp-block-button__link:not(.has-background):active { background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1); background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1); background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1); @@ -287,8 +305,10 @@ pre.wp-block-code { background-image: linear-gradient(top, #ebebeb, #e1e1e1); background-repeat: repeat-x; 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; - color: #757575; } /* Separator */ @@ -367,42 +387,52 @@ pre.wp-block-code { 6.0 Blocks - Colors --------------------------------------------------------------*/ -.has-blue-color { +.entry-content .has-blue-color, +.entry-content .has-blue-color:visited { color: #21759b; } -.has-blue-background-color { +.entry-content .has-blue-background-color, +.entry-content .has-blue-background-color:visited { background-color: #21759b; } -.has-dark-gray-color { +.entry-content .has-dark-gray-color, +.entry-content .has-dark-gray-color:visited { 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; } -.has-medium-gray-color { +.entry-content .has-medium-gray-color, +.entry-content .has-medium-gray-color:visited { 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; } -.has-light-gray-color { +.entry-content .has-light-gray-color, +.entry-content .has-light-gray-color:visited { 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; } -.has-white-color { +.entry-content .has-white-color, +.entry-content .has-white-color:visited { color: #fff; } -.has-white-background-color { +.entry-content .has-white-background-color, +.entry-content .has-white-background-color:visited { background-color: #fff; } diff --git a/wp-content/themes/twentytwelve/css/editor-blocks.css b/wp-content/themes/twentytwelve/css/editor-blocks.css index 7b40361ed..99be72d4d 100644 --- a/wp-content/themes/twentytwelve/css/editor-blocks.css +++ b/wp-content/themes/twentytwelve/css/editor-blocks.css @@ -1,6 +1,6 @@ /* 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. .edit-post-visual-editor .editor-block-list__block, .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; } -.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; } @@ -235,7 +235,7 @@ p.has-drop-cap:not(:focus)::first-letter { } .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-repeat: repeat-x; background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6); @@ -335,19 +335,14 @@ p.has-drop-cap:not(:focus)::first-letter { /* Buttons */ -.wp-block-button .wp-block-button__link, -.wp-block-button .wp-block-button__link:hover { +.wp-block-button__link { 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); + color: #7c7c7c; +} + +.wp-block-button .wp-block-button__link { border: 1px solid #d2d2d2; border-radius: 3px; - box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); - color: #7c7c7c; font-family: inherit; font-size: 11px; font-weight: normal; @@ -355,6 +350,23 @@ p.has-drop-cap:not(:focus)::first-letter { 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 */ .editor-block-list__block hr.wp-block-separator { @@ -382,13 +394,13 @@ p.has-drop-cap:not(:focus)::first-letter { /* Archives */ -.gutenberg ul.wp-block-archives { +.editor-block-list__block ul.wp-block-archives { padding-left: 0; } /* Categories */ -.gutenberg .wp-block-categories ul { +.editor-block-list__block .wp-block-categories ul { padding-left: 0; } @@ -436,7 +448,7 @@ p.has-drop-cap:not(:focus)::first-letter { /* Latest Posts */ -.gutenberg .wp-block-latest-posts { +.editor-block-list__block .wp-block-latest-posts { padding-left: 0; padding-right: 0; } diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 8df145ab8..39e887028 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -199,7 +199,7 @@ function 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 */ diff --git a/wp-content/themes/twentytwelve/readme.txt b/wp-content/themes/twentytwelve/readme.txt index ef92bef2d..af2434ff6 100644 --- a/wp-content/themes/twentytwelve/readme.txt +++ b/wp-content/themes/twentytwelve/readme.txt @@ -1,8 +1,8 @@ === Twenty Twelve === Contributors: the WordPress team Requires at least: WordPress 3.5 -Tested up to: WordPress 5.0-trunk -Stable tag: 2.6 +Tested up to: WordPress 5.0 +Stable tag: 2.7 License: GPLv2 or later 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 @@ -43,6 +43,11 @@ Source: https://github.com/aFarkas/html5shiv == Changelog == += 2.7 = +* Released: December 19, 2018 + +https://codex.wordpress.org/Twenty_Twelve_Theme_Changelog#Version_2.7 + = 2.6 = * Released: December 6, 2018 diff --git a/wp-content/themes/twentytwelve/style.css b/wp-content/themes/twentytwelve/style.css index 4fd5be1a9..b8f55546a 100644 --- a/wp-content/themes/twentytwelve/style.css +++ b/wp-content/themes/twentytwelve/style.css @@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentytwelve/ Author: the WordPress team 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. -Version: 2.6 +Version: 2.7 License: GNU General Public License v2 or later 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 -- GitLab