Skip to content

Commit

Permalink
Update Basis v6.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
inc2734 committed Feb 22, 2017
1 parent 8a0d37e commit 4a4aec0
Show file tree
Hide file tree
Showing 11 changed files with 137 additions and 121 deletions.
2 changes: 1 addition & 1 deletion app/setup/drawer-nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function wp_nav_menu( $nav_menu, $args ) {

return preg_replace(
'/<ul class="sub-menu">/ms',
'<div class="_c-drawer__toggle" data-c="drawer__toggle" aria-expanded="false"><i class="fa fa-angle-right"></i></div><ul class="_c-drawer__submenu" data-c="drawer__submenu" aria-hidden="true">',
'<div class="_c-drawer__toggle" data-c="drawer__toggle" aria-expanded="false"><span class="_ic-angle-right" aria-hidden="true"></span></div><ul class="_c-drawer__submenu" data-c="drawer__submenu" aria-hidden="true">',
$nav_menu
);
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Minizuku is a WordPress theme to develop the child theme.",
"type": "wordpress-theme",
"license": "GPL-2.0+",
"version": "0.9.0",
"version": "1.0.0",
"authors": [
{
"name": "Takashi Kitajima",
Expand Down
58 changes: 29 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ gulp.task('zip', ['wprepository'], function(){
* Auto build and browsersync
*/
gulp.task('default', ['build', 'browsersync'], function() {
gulp.watch([dir.src.css + '/**/*.styl'], ['css']);
gulp.watch([dir.src.css + '/**/*.scss'], ['css']);
gulp.watch([dir.src.js + '/**/*.js'] , ['js']);
gulp.watch([dir.src.images + '/**/*'] , ['copy-images']);
gulp.watch([dir.src.images + '/**'] , ['copy-images']);
});
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"dependencies": {
"font-awesome": "^4.7.0",
"sass-basis": "^6.0.2",
"sass-basis": "^6.1.3",
"sass-basis-layout": "^7.0.1"
},
"devDependencies": {
"autoprefixer": "^6.7.2",
"autoprefixer": "^6.7.4",
"babel-preset-es2015-rollup": "^3.0.0",
"browser-sync": "^2.18.8",
"cssnano": "^3.10.0",
Expand All @@ -24,7 +24,7 @@
"gulp-sass": "^3.1.0",
"gulp-uglify": "^2.0.1",
"gulp-zip": "^4.0.0",
"rimraf": "^2.5.4",
"rimraf": "^2.6.0",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^7.0.0",
"rollup-plugin-node-resolve": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
Tags: editor-style, featured-images
Requires at least: 4.6.0
Tested up to: 4.7.2
Stable tag: 0.9.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: license.txt

Expand Down
7 changes: 0 additions & 7 deletions src/css/foundation/basis/_breadcrumbs.scss

This file was deleted.

9 changes: 2 additions & 7 deletions src/css/foundation/basis/_drawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@
}

&__toggle {
> .fa {
color: #fff;
@include _transition(transform);
}
@include _transition(transform);

&[aria-expanded="true"] {
> .fa {
transform: rotate(90deg);
}
transform: rotate(90deg);
}
}
}
3 changes: 2 additions & 1 deletion src/css/style.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
@charset 'utf-8';

$_font-path: '../../src/packages/sass-basis/src/font' !default;

@import '../packages/sass-basis/src/css/basis';

@import 'core/mixin/fa';

@import 'foundation/foundation';

@import 'foundation/basis/breadcrumbs';
@import 'foundation/basis/drawer';
@import 'foundation/basis/entries';
@import 'foundation/basis/entry';
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://github.com/inc2734/mimizuku/
Author: inc2734
Author URI: http://2inc.org
Description: Minizuku is a WordPress theme to develop the child theme.
Version: 0.7.1
Version: 1.0.0
License: GPLv2 or later
License URI: license.txt
Tags: editor-style, featured-images
Expand Down
Loading

0 comments on commit 4a4aec0

Please sign in to comment.