Skip to content
This repository was archived by the owner on Mar 13, 2023. It is now read-only.

Commit 41ea166

Browse files
EvanHermanfrankiejarrettEvan HermanRich Taborrichtabor
authored
Security updates, theme-check updates (#332)
* Add sr_RS to package.json * Rename PO file for sr_RS * Update Documentation * Update documentation during theme deployment * Resolve#224 (#225) * Update translation files so fuzzy strings load properly (#234) * Unset fuzzy translations. Regenrate .mo file. * use precise for php52 in travis builds * drop php52 from travis builds * Do not set customize colors for title/tagline if they are hidden. (#227) * Do not set customize colors for title/tagline if they are hidden. * Fix spacing * Run official theme tests as part of Travis builds (#219) * Run official theme tests as part of Travis builds * Do not run theme check on PHP 5.2 * Fix syntax error * Add flags and ref Travis PHP version env var * Copy theme to WP and activate * Tweaks * Rsync from .distignore file * Run theme-check from bash script * Tweak * Install test suite * Define DB creds * Back to file, ping to PHP 5.6 * Fix substring length * Create wp-config * Change working dir * Install core DB tables * Reduce diff * Skip email flag * Generic wp install info * Remove build process from Grunt * Only run theme check just before deploy * Add line to print wp-cli info * Move env var * Remove cli info * Tweak curl line * Message not needed * Only test WP trunk on 7.1 * Move test back to scripts * Test beta stages * Syntax problem * Another fix * Playing with stages * Tweak envs for stages * Add regular tests as stage * try a diff setup * Remove matrix * Put deploy at top level * Skip after_script on theme check stage * Test zip file integrity on deploy step * Rename file, tweak config * Add wp-cli cache dirs to travis config * Update grunt packages: imagemin, uglify * remove php52 from travis * update packages * Jetpack infinite scroll docs (#221) * Start writing docs for Jetpack infinite scroll integration. * Update infinite scroll jetpack docs. Add zip download. Update contributing.md * Introduce conditional menu documentation (#237) * Introduce conditional menu documentation * Update spacing in how-to.rst * update matchdep * update readme for wp 4.9 * add sha256 hash to release tag * Add replace:charset to the watch:sass Grunt.js task (#241) * Add replace:charset to the Grunt sass watch task * Update readme changelog * Update readme changelog * Add missing changelog item. * Merge in master * Fix comment count regression. Resolves#244 (#245) Fix: Comment counts showing an extra character. * Bump WooCommerce template number (#243) * Fix: Bump WooCommerce pagination template file version to 3.3.1. * Fix: Tweak `:last-child` padding on `.page-numbers` element. * Update readme changelog * Update outdated npm dependencies to latest versions (#248) * grunt: v1.0.2 * grunt-contrib-uglify: v3.3.0 * grunt-contrib-watch: v1.0.1 * grunt-sass: v2.1.0 * grunt-wp-i18n: v1.0.2 * load-grunt-tasks: v4.0.0 * susy: 3.0.5 * Tweak primer_wc_shop_columns method to reference shop page ID. (#250) * WordPres 4.9.6 Support (#254) * Introduce Privacy Policy link support * Introduce styles for .comment-form-cookies-consent/#wp-comment-cookies-consent * Customizer Font Preview Dropdown (#229) * Add font preview dropdown in the customizer. * Fix open sans selection * Delete excess sprite sheet * Remove excess customizer class. * Merge in develop. Tweak font select dropdown sizes. Tweak customizer font javascript. * Update readme * Update version customizer-font.js * Add a default value to use_featured_hero_image (#258) * Add accessibility controls/styles for tab navigation through main nav (#260) * Update readme * Update readme * Update merge conflict in primer_privacy_policy_link comment * Introduce support for Gutenberg (#240) * Introduce support for gutenber image & cover-image blocks. * Refactor scss, fix typos, remove 1.0.0 for NEXT * Remove charset. Add missing .alignfull class * Add docblock for gutenberg theme support function * Add .alignwide support * Add primer color scheme colors to Gutenberg them su pport * Tweak layout metabox styles. Add layouts to sass task. * Update gutenberg block styles * Tweak pullquote styles, image floats, responsive styles. * Remove duplicate declaration * styles for alignfull * Update gutenberg theme support * Updates to gutenberg editor width based on page layout * Tweak gutenberg editor page width CSS and JS * Resolve phpcs warnings * Tweak width of gutenberg editor wide page layout * Adjust gutenberg styles * Tweak page header styles for gutenberg * Update spaces to tabs in gutenberg styles * Fix page title padidng * Tweak gutenberg styles * Fix nav menu bugs (#263) * Fix nav menu bug on initial click * Tweak JS * Remove gutenberg class check. Tweak alignfull alignwide to only target elements with class containing wp-block-*. * Fix spacing * Update readme * Ensure backwards compatibility (#265) * Ensure backwards compat * Re-enable php 5.3 in travis config * enable trusty in travis config * enable precise in travis config * Exclude PHP 5.3 & WordPress Trunk * Update readme * Automate documentation release (#272) * Update docs. Add vendor/ to list of apigen excluded * Tweak travis build for PHP 5.6 * Remove branches in travis config. Build all branches. * Test TRAVIS_PHP_VERSION * Add Build documentation stag * Tweak node language * Tweak node language * Tweak node language * Update node version to 9 * Update node version to 9 * Update node version to 9 * before_install install npm 6 * before_install nvm install 9 * Remove package lock * Remove package lock * Set sudo to true * Update gh-pages branch URL * Add travis conditional when sudo is run * composer install * Update * Deploy using env deploy key * Tweak deploy_docs for travis builds * Add user name/email before deploy docs * Add user name/email before deploy docs * exit early when not a tagged commit * Remove composer apigen, not php < 5.6 compatible. Add composer require to travis config. * Add travis_terminate 0; when not a tagged commit * exit 0 and add a notice. * Add conditional to Build Documentation stage * Switch conditional to tag = true * Add Requires PHP * Google fonts should always load over https (#277) * google fonts should always load over https * update dev-lib * pin dev-lib to 1.0.3 * fix travis paths * fix path again, php 7.2 * latest core now requires 5.6 * php 7.3 * define version in wp_enqueue_style * bump min ver to 5.4 * Update susy dependency to v2.2.14 (#280) Resolves#279 * Add block editor enhancements, block styles and color scheme palettes (#281) * Move and rename existing block editor stylesheet * Update Grunt with new editor-blocks stylesheet * Remove gutenberg-editor.css and add editor-blocks.css * Tweak Gruntfile for block stylesheet * Add comments to Gutenberg supports * Tweak location and name of block stylesheet * Enqueue new blocks stylesheet * Tweak stylesheet * Add support for customizer fonts within the editor * Fix full width alignment images * Add primer_classic_editor_styles() function * Update primer_gutenberg_editor_assets() with revised asset loading * Add color palette controls * Tweak color palettes and funtionality * Fix dark scheme defaults * Add translatable text to Colors panel description * Work on editor styling * Add heading, text and a colors from the customizer to the block editor * Add customizer button color to the editor * Add button text color to the editor * Add content bg customizer selection to the editor * Tweak link colors within the editor * Add editor frame styles for styling single post titles * Additional block styles * Use PRIMER_VERSION * Add editor frame stylesheet to grunt * Improve left/right block alignments * Add minor tweaks for BB styles * Commit generated/min assets * Fixes for Travis CI * Add fixes for Travis CI * Add additional block styling * Fix array item not aligned correctly * Fix array double arrow spacing * Update colors.php * Fixes * Color spacings * [tiny] Add phpcs fixes * [tiny] Adapt columns block for Gutenberg 5.6 * [tiny] Add phpcs fixes for Primer_Customizer_Fonts * Spacing tweak * Add list item tweaks to the Contact Widgets block (#286) * Adjust block editor width/layout when layout template is selected (#287) * Adjust block editor width/layout when layout template is selected * Remove animation, keep content centered * Add editor styles for the CoBlocks form block (#285) * Add editor styles for the CoBlocks form block * Remove line height style * Add theme support for AMP compatibility with official plugin (#288) * Add paired AMP theme support and primer_is_amp() helper function * Add AMP-compatibility for mobile menu * Add todos for known AMP-incompatibilities * Fix non-YouTube video header and add AMP-compatibility * Limit adding amp theme support to AMP v1.2 * Add keyboard-accesible desktop nav menu dropdowns in no-JS and AMP * Remove apparently unused JS menu code * Fix padding for expand toggle buttons * Remove focus outline from menu expand toggles since background color indicates focus * Remove new focus outline from menu-toggle but add todo that something is needed for a11n * Eliminate enqueued skip-link-focus-fix script in favor of inlining (following Twenty Nineteen) * Eliminate resetSubmenuToggles * Add extra line breaks * ISBAT apply a fullwidth alignment setting to a block (#289) * Resolve fullwidth issue * Merge * Update readme for 1.8.7 release * Fix JS error thrown by layouts.js (#300) * Update readme for 1.8.8 release * Fix mobile pagination visibility (#303) * Fix mobile pagination visibility * Remove right margin/padding from next link when mobile pagination links are visible * Update npm dependencies. Remove grunt-dev-update. (#305) * remove david badge (#306) * Adding php linting (#307) * Adding php linting * Customize PHPCS config and clean up errors and warnings. Co-authored-by: Evan Herman <evan.m.herman@gmail.com> * Migrate builds to CircleCI (#308) * Adding php linting * Customize PHPCS config and clean up errors and warnings. * Migrate to CircleCI builds * Remove .dev/travis.install-themecheck.sh Co-authored-by: JR Tashjian <jrtashjian@gmail.com> * Update CircleCI build badge (#309) * Update CircleCI build badge * Update * Fix hero image on WooCommerce shop page (#304) * Fix hero image on WooCommerce shop page * Update * Add parameter * Add tested up to/requires php to style.css headers (#310) * Add tested up to/requires php to style.css headers * Update tested up to * Update readme.txt/readme.md for 1.8.9 release. (#312) * Bump websocket-extensions from 0.1.3 to 0.1.4 (#314) Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/faye/websocket-extensions-node/releases) - [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md) - [Commits](faye/websocket-extensions-node@0.1.3...0.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ini from 1.3.5 to 1.3.7 (#320) Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](npm/ini@v1.3.5...v1.3.7) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump is-svg from 4.2.1 to 4.3.1 (#322) Bumps [is-svg](https://github.com/sindresorhus/is-svg) from 4.2.1 to 4.3.1. - [Release notes](https://github.com/sindresorhus/is-svg/releases) - [Commits](sindresorhus/is-svg@v4.2.1...v4.3.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump y18n from 4.0.0 to 4.0.1 (#323) Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/yargs/y18n/releases) - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/yargs/y18n/commits) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump lodash from 4.17.15 to 4.17.21 (#324) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.21) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump grunt from 1.1.0 to 1.3.0 (#325) Bumps [grunt](https://github.com/gruntjs/grunt) from 1.1.0 to 1.3.0. - [Release notes](https://github.com/gruntjs/grunt/releases) - [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG) - [Commits](gruntjs/grunt@v1.1.0...v1.3.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump hosted-git-info from 2.8.5 to 2.8.9 (#326) Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.5 to 2.8.9. - [Release notes](https://github.com/npm/hosted-git-info/releases) - [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md) - [Commits](npm/hosted-git-info@v2.8.5...v2.8.9) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump path-parse from 1.0.6 to 1.0.7 (#328) Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/jbgutierrez/path-parse/releases) - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7) --- updated-dependencies: - dependency-name: path-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump bl from 1.2.2 to 1.2.3 (#330) Bumps [bl](https://github.com/rvagg/bl) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/rvagg/bl/releases) - [Commits](rvagg/bl@v1.2.2...v1.2.3) --- updated-dependencies: - dependency-name: bl dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Package updates (#331) * Bump packages to stable versions * Tweaks to grunt * Update apt-get install on theme check * Tweak image * Add phpcs xml to distignore * Add missing components from theme-check * Remove duplicate theme build in theme-check * Add executor to theme-check * Remove grunt, npm install, cache etc * Test copy of theme check from go * Update * Remove theme check new * Add docblock to wp_body_open * Remove inline source maps from CSS files Co-authored-by: Frankie Jarrett <fjarrett@gmail.com> Co-authored-by: Evan Herman <evanmherman@gmail.com> Co-authored-by: Rich Tabor <hello@themebeans.com> Co-authored-by: Rich Tabor <hi@richtabor.com> Co-authored-by: Weston Ruter <westonruter@google.com> Co-authored-by: Anthony Ledesma <30462574+AnthonyLedesma@users.noreply.github.com> Co-authored-by: JR Tashjian <jrtashjian@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent b109a9e commit 41ea166

30 files changed

+12217
-3146
lines changed

.circleci/config.yml

+19-26
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
executors:
2+
php_73_apache_node_browser_mysql:
3+
docker:
4+
- image: circleci/php:7.3.31-apache-node-browsers
5+
auth:
6+
username: $DOCKERHUB_USERNAME
7+
password: $DOCKERHUB_PASSWORD
8+
environment: XDEBUG_MODE=coverage
9+
- image: circleci/mysql:5.7-ram
10+
auth:
11+
username: $DOCKERHUB_USERNAME
12+
password: $DOCKERHUB_PASSWORD
13+
114
workflows:
215
version: 2.1
316
main:
@@ -72,9 +85,7 @@ jobs:
7285
command: composer lint
7386

7487
theme-check:
75-
docker:
76-
- image: circleci/php:7.3.8-apache-node-browsers
77-
- image: circleci/mysql:5.7
88+
executor: php_73_apache_node_browser_mysql
7889
steps:
7990
- checkout
8091
- run:
@@ -88,44 +99,26 @@ jobs:
8899
sleep 1
89100
done
90101
echo Failed waiting for MySQL && exit 1
91-
- run:
92-
name: Update npm
93-
command: sudo npm install -g npm@latest
94102
- run:
95103
name: Install MariaDB
96104
command: |
97-
sudo apt-get update
105+
sudo apt-get update --allow-releaseinfo-change
98106
sudo apt-get install mariadb-client
99107
- run:
100108
name: Install rsync
101109
command: sudo apt install rsync
102-
- run:
103-
name: Install Grunt.js
104-
command: sudo npm install -g grunt-cli
105-
- restore_cache:
106-
key: dependency-cache-{{ checksum "package.json" }}
107-
- run:
108-
name: Install node packages
109-
command: npm install
110-
- save_cache:
111-
key: dependency-cache-{{ checksum "package.json" }}
112-
paths:
113-
- node_modules
114110
- run:
115111
name: Install WPCLI
116112
command: |
117113
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
118114
chmod +x wp-cli.phar
119115
sudo mv wp-cli.phar /usr/local/bin/wp
120116
- run:
121-
name: Build the Primer Theme
122-
command: |
123-
mkdir -p primer
124-
mkdir -p /tmp/artifacts
125-
rsync -av --exclude-from ~/project/.distignore --delete ~/project/. ./primer
126-
- run:
127-
name: Setup WordPress site and install the Theme Check package
117+
name: Setup WordPress site and install Primer and the Theme Check package
128118
command: bash .dev/install-wp-tests.sh wordpress_test root '' 127.0.0.1 latest
119+
- run:
120+
name: Remove unsplash.com from the list of unaccetable sources in theme check
121+
command: sed -i -e "s/unsplash.com/removed-url/g" /tmp/wordpress/wp-content/plugins/theme-check/checks/class-non-gpl-check.php
129122
- run:
130123
name: Run theme check
131124
command: wp themecheck --theme=primer --no-interactive --path=/tmp/wordpress

.dev/install-wp-tests.sh

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ install_db
182182
if [ "$CIRCLE_JOB"=='theme-check' ];then
183183
php -d memory_limit=1024M "$(which wp)" package install anhskohbo/wp-cli-themecheck
184184
wp plugin install theme-check --activate --path=$WP_CORE_DIR
185+
cd~/.wp-cli/packages/vendor/anhskohbo/wp-cli-themecheck && git pull
185186
fi
186187

187188
export INSTALL_PATH=$WP_CORE_DIR/wp-content/themes/primer

.distignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Gruntfile.js
55
package*.json
66
phpcs.ruleset.xml
77
phpunit.xml.dist
8+
phpcs.xml
89
readme.md
910
svn-username
1011
bin/

Gruntfile.js

+25-46
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,6 @@ module.exports = function( grunt ) {
1010

1111
pkg: pkg,
1212

13-
autoprefixer: {
14-
options: {
15-
browsers: [
16-
'Android >= 2.1',
17-
'Chrome >= 21',
18-
'Edge >= 12',
19-
'Explorer >= 7',
20-
'Firefox >= 17',
21-
'Opera >= 12.1',
22-
'Safari >= 6.0'
23-
],
24-
cascade: false
25-
},
26-
editor: {
27-
src: ['editor-style.css']
28-
},
29-
blocks: {
30-
src: ['assets/css/admin/editor-blocks.css']
31-
},
32-
frame: {
33-
src: ['assets/css/admin/editor-frame.css']
34-
},
35-
layouts: {
36-
src: ['assets/css/admin/layouts.css']
37-
},
38-
customizer_fonts: {
39-
src: ['assets/css/admin/customizer-fonts.css']
40-
},
41-
main: {
42-
src: ['style.css']
43-
}
44-
},
45-
4613
clean: {
4714
options: {
4815
force: true
@@ -98,6 +65,18 @@ module.exports = function( grunt ) {
9865
}
9966
},
10067

68+
postcss: {
69+
options: {
70+
map: false,// inline sourcemaps
71+
processors: [
72+
require('autoprefixer'),// add vendor prefixes
73+
]
74+
},
75+
dist: {
76+
src: ['style.css','editor-style.css','assets/css/**/*.css','!assets/css/**/*.min.css'],
77+
}
78+
},
79+
10180
cssmin: {
10281
options: {
10382
processImport: false,
@@ -113,15 +92,14 @@ module.exports = function( grunt ) {
11392
}
11493
},
11594

116-
imagemin: {
117-
options: {
118-
optimizationLevel: 3
119-
},
95+
image: {
12096
assets: {
121-
expand: true,
122-
cwd: 'assets/images/',
123-
src: ['**/*.{gif,jpeg,jpg,png,svg}'],
124-
dest: 'assets/images/'
97+
files: [{
98+
expand: true,
99+
cwd: 'assets/images/',
100+
src: ['**/*.{gif,jpeg,jpg,png,svg}'],
101+
dest: 'assets/images/'
102+
}]
125103
},
126104
screenshot: {
127105
files: {
@@ -264,6 +242,7 @@ module.exports = function( grunt ) {
264242

265243
sass: {
266244
options: {
245+
implementation: require('node-sass'),
267246
precision: 5,
268247
sourceMap: false
269248
},
@@ -339,24 +318,24 @@ module.exports = function( grunt ) {
339318
watch: {
340319
images: {
341320
files: 'assets/images/**/*.{gif,jpeg,jpg,png,svg}',
342-
tasks: ['imagemin']
321+
tasks: ['image']
343322
},
344323
js: {
345324
files: 'assets/js/**/*.js',
346325
tasks: ['jshint','uglify']
347326
},
348327
sass: {
349328
files: '.dev/sass/**/*.scss',
350-
tasks: ['sass','replace:charset','autoprefixer','cssjanus','cssmin']
329+
tasks: ['sass','replace:charset','postcss','cssjanus','cssmin']
351330
}
352331
},
353332

354333
wp_readme_to_markdown: {
355334
options: {
356335
post_convert: function(readme){
357336
varmatches=readme.match(/\*\*Tags:\*\*(.*)\r?\n/),
358-
tags=matches[1].trim().split(', '),
359-
section=matches[0];
337+
tags=matches[1].trim().split(', '),
338+
section=matches[0];
360339

361340
for(vari=0;i<tags.length;i++){
362341
section=section.replace(tags[i],'['+tags[i]+'](https://wordpress.org/themes/tags/'+tags[i]+'/)');
@@ -385,7 +364,7 @@ module.exports = function( grunt ) {
385364

386365
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
387366

388-
grunt.registerTask('default',['sass','replace:charset','autoprefixer','cssjanus','cssmin','jshint','uglify','imagemin']);
367+
grunt.registerTask('default',['sass','replace:charset','postcss','cssjanus','cssmin','jshint','uglify','image']);
389368
grunt.registerTask('readme',['wp_readme_to_markdown']);
390369
grunt.registerTask('update-docs',['readme','clean:docs','replace:docs_version','replace:docs','shell:sphinx','shell:docs','copy:readme','copy:docs_html','copy:docs_landing','replace:intro']);
391370
grunt.registerTask('deploy-docs',['update-docs','shell:deploy_docs']);

assets/css/admin/customizer-fonts-rtl.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
.primer-filter-text {
2424
background:#fff;
2525
border:1px solid #dfdfdf;
26-
-webkit-border-radius:3px;
2726
border-radius:3px; }
2827

2928
.primer-filter-text,
@@ -105,4 +104,4 @@
105104
background-position:-5px-955px; }
106105

107106
.primer-font-ubuntu {
108-
background-position:-5px-1005px; }
107+
background-position:-5px-1005px; }

assets/css/admin/customizer-fonts-rtl.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/admin/customizer-fonts.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
.primer-filter-text {
2424
background:#fff;
2525
border:1px solid #dfdfdf;
26-
-webkit-border-radius:3px;
2726
border-radius:3px; }
2827

2928
.primer-filter-text,
@@ -105,4 +104,4 @@
105104
background-position:-5px-955px; }
106105

107106
.primer-font-ubuntu {
108-
background-position:-5px-1005px; }
107+
background-position:-5px-1005px; }

assets/css/admin/customizer-fonts.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/admin/editor-blocks-rtl.css

+8-23
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Primer Block Editor Styles
55
max-width:670px; }
66

77
.wp-block[data-align="full"] {
8-
max-width:-webkit-calc(100%+90px);
98
max-width:calc(100%+90px); }
109

1110
/** === Title === */
@@ -99,7 +98,6 @@ code {
9998
padding:0.125rem0.25rem;
10099
background-color:rgba(225,225,225,0.5);
101100
border:1px solid rgba(37,37,37,0.1);
102-
-webkit-border-radius:2px;
103101
border-radius:2px; }
104102

105103
/** === Captions === */
@@ -132,7 +130,6 @@ figcaption {
132130
.wp-block-versepre,
133131
.wp-block-preformattedpre {
134132
background-color:rgba(225,225,225,0.5);
135-
-webkit-border-radius:2px;
136133
border-radius:2px;
137134
border:1px solid rgba(37,37,37,0.1);
138135
font-family:"Courier 10 Pitch", Courier, monospace;
@@ -162,15 +159,13 @@ figcaption {
162159

163160
/** === Button === */
164161
.wp-block-button .wp-block-button__link {
165-
-webkit-border-radius:3px;
166162
border-radius:3px;
167163
font-size:16px;
168164
font-size:1rem;
169165
line-height:1;
170166
padding:0.75em1em; }
171167

172168
.wp-block-button.is-style-squared .wp-block-button__link {
173-
-webkit-border-radius:0;
174169
border-radius:0; }
175170

176171
/** === Image === */
@@ -227,42 +222,33 @@ figcaption {
227222
background:#f5f5f5;
228223
border: none;
229224
display: -webkit-box;
230-
display: -webkit-flex;
231-
display: -moz-box;
232225
display: -ms-flexbox;
233226
display: flex;
234227
-webkit-box-orient: vertical;
235228
-webkit-box-direction: normal;
236-
-webkit-flex-direction: column;
237-
-moz-box-orient: vertical;
238-
-moz-box-direction: normal;
239-
-ms-flex-direction: column;
240-
flex-direction: column;
229+
-ms-flex-direction: column;
230+
flex-direction: column;
241231
padding:1em1em1.1em; }
242232
@media (max-width:599px) {
243233
.wp-block-latest-posts.is-gridli {
244234
margin-left:0; } }
245235
.wp-block-latest-posts.is-gridlia {
246236
-webkit-box-shadow: none;
247-
box-shadow: none;
237+
box-shadow: none;
248238
-webkit-transition: none;
249239
transition: none;
250240
-webkit-box-flex:1;
251-
-webkit-flex:11 auto;
252-
-moz-box-flex:1;
253-
-ms-flex:11 auto;
254-
flex:11 auto; }
241+
-ms-flex:11 auto;
242+
flex:11 auto; }
255243
.wp-block-latest-posts.is-gridlia::after {
256244
content:""; }
257245
.wp-block-latest-posts.is-gridli:last-childa::after {
258246
content:""; }
259247

260248
.wp-block-latest-posts.is-grid .wp-block-latest-posts__post-date {
261249
-webkit-box-flex:0;
262-
-webkit-flex:00 auto;
263-
-moz-box-flex:0;
264-
-ms-flex:00 auto;
265-
flex:00 auto;
250+
-ms-flex:00 auto;
251+
flex:00 auto;
266252
margin-top:10px; }
267253

268254
/** === CoBlocks: Alert === */
@@ -296,10 +282,9 @@ figcaption {
296282
.wp-block-coblocks-form .coblocks-field .components-text-control__input,
297283
.wp-block-coblocks-form .coblocks-field .components-textarea-control__input {
298284
border-color:rgba(37,37,37,0.1);
299-
-webkit-border-radius:3px;
300285
border-radius:3px;
301286
color:rgba(37,37,37,0.5);
302287
padding:1rem; }
303288

304289
.wp-block-coblocks-form .coblocks-form__submit {
305-
margin-top:-15px; }
290+
margin-top:-15px; }

0 commit comments

Comments
 (0)
close