-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.4 - Merge pull request #25 from JoryHogeveen/dev
0.4
- Loading branch information
Showing
38 changed files
with
5,482 additions
and
2,603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] | ||
|
||
[homepage]: http://contributor-covenant.org | ||
[version]: http://contributor-covenant.org/version/1/4/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Contribute to Off-Canvas Sidebars | ||
|
||
Community made patches, localizations, bug reports, and contributions are always welcome and are crucial to ensure that this plugin remains alive and strong. | ||
|
||
When contributing please ensure you follow the guidelines below so that we can keep on top of things. | ||
|
||
## Getting Started | ||
|
||
* Submit a ticket for your issue, assuming one does not already exist. | ||
* https://github.com/JoryHogeveen/off-canvas-sidebars/issues | ||
* Clearly describe the issue including steps to reproduce the bug. | ||
* Make sure you fill in the earliest version that you know has the issue as well as the version of WordPress you're using. | ||
|
||
## Making Changes | ||
|
||
* Fork the repository on GitHub | ||
* Make the changes to your forked repository's code | ||
* Ensure you stick to the [WordPress Coding Standards](http://codex.wordpress.org/WordPress_Coding_Standards) | ||
* This repository contains all files needed to properly configure your IDE with the correct coding standards and code style configuration. | ||
* [PHP MD](https://github.com/JoryHogeveen/off-canvas-sidebars/blob/master/tests/phpmd.xml) | ||
* [PHP CS](https://github.com/JoryHogeveen/off-canvas-sidebars/blob/master/tests/phpcs.xml) | ||
* [ESLint](https://github.com/JoryHogeveen/off-canvas-sidebars/blob/master/tests/.eslintrc) | ||
* [CSSLint](https://github.com/JoryHogeveen/off-canvas-sidebars/blob/master/tests/.csslintrc) | ||
* Create a new branch, named with a issue prefix (if present) and some keywords on what is changed. | ||
* Example: `#123-what-is-changed`. | ||
* When committing, reference your issue (if present) and include a note about the fix. | ||
* Push the changes to the branch you created and submit a pull request for the `dev` branch. | ||
|
||
At this point you're waiting on us to merge your pull request. We'll review all pull requests, and make suggestions and changes if necessary. | ||
|
||
# Additional Resources | ||
* [General GitHub documentation](http://help.github.com/) | ||
* [GitHub pull request documentation](http://help.github.com/send-pull-requests/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Expected Behavior | ||
|
||
|
||
## Actual Behavior | ||
|
||
|
||
## Steps to Reproduce the Problem | ||
|
||
1. | ||
1. | ||
1. | ||
|
||
## Specifications | ||
|
||
- Plugin Version: | ||
- WordPress Version: | ||
- Other plugins installed: | ||
- Theme: | ||
- Browser: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Fixes # | ||
|
||
## Proposed Changes | ||
|
||
- | ||
- | ||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
/** | ||
/*! | ||
* Off-Canvas Sidebars plugin | ||
* | ||
* @author Jory Hogeveen <[email protected]> | ||
* @package off-canvas-sidebars | ||
* @version 0.3 | ||
* @version 0.4 | ||
* @preserve | ||
*/ | ||
|
||
.ocs-credits { | ||
|
@@ -17,6 +18,8 @@ | |
.ocs-credits .inner { padding-left: 10px; padding-right: 10px; } | ||
.ocs-credits h3 { font-size: 14px; line-height: 1.4; margin: 0; padding: 8px 12px; border-bottom: 1px solid #eee; } | ||
|
||
.off-canvas-sidebars-settings .postbox-container { float: none; } | ||
|
||
.postbox.section-sidebar { | ||
-webkit-transition: all .1s; | ||
-moz-transition: all .1s; | ||
|
@@ -25,6 +28,16 @@ | |
} | ||
.postbox.section-sidebar:hover { opacity: 1 !important; } | ||
|
||
.off-canvas-sidebars-settings .form-table tbody > tr:not(:last-child) { border-bottom: 1px solid #eee; } | ||
.off-canvas-sidebars-settings .form-table:not(:last-child) { margin-bottom: 1em; border-bottom: 1px solid #eee; } | ||
|
||
.off-canvas-sidebars-settings fieldset.radio label, | ||
.off-canvas-sidebars-settings fieldset.checkbox label { display: block } | ||
.off-canvas-sidebars-settings fieldset.radio label + br { display: none; } | ||
.off-canvas-sidebars-settings fieldset.radio label + .description { margin-bottom: .5em; display: inline-block; } | ||
|
||
.off-canvas-sidebars-settings input + select { vertical-align: top; } | ||
|
||
@media only screen and (min-width: 850px) { | ||
.off-canvas-sidebars-settings { | ||
margin-right: 300px; | ||
|
@@ -41,6 +54,14 @@ | |
margin: 10px -300px 10px 20px; | ||
width: 280px; | ||
} | ||
|
||
.off-canvas-sidebars-settings .postbox-container .postbox-third { | ||
float: left; | ||
width: 33%; | ||
margin-left: 0.5%; | ||
box-sizing: border-box; | ||
} | ||
.off-canvas-sidebars-settings .postbox-container .postbox-third.first { margin-left: 0; } | ||
} | ||
|
||
@media only screen and (min-width: 959px) { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,60 @@ | ||
/** | ||
/*! | ||
* Off-Canvas Sidebars plugin | ||
* | ||
* @author Jory Hogeveen <[email protected]> | ||
* @package off-canvas-sidebars | ||
* @version 0.3 | ||
* @version 0.4 | ||
* @preserve | ||
*/ | ||
|
||
/** | ||
* Slidebar CSS overwrites | ||
*/ | ||
|
||
/* @fixme Fix overlay issues with shift and reveal on pages not that don't have full height, currently done in JS window resize. */ | ||
html, | ||
html.ocs-initialized { | ||
overflow-y: auto; | ||
height: auto; | ||
} | ||
[canvas=container], | ||
.ocs-initialized [canvas=container] { | ||
overflow-y: hidden; | ||
height: auto; | ||
} | ||
|
||
|
||
/*[canvas-fixed] { | ||
-webkit-transform: translate( 0px, 0px ); | ||
-moz-transform: translate( 0px, 0px ); | ||
-ms-transform: translate( 0px, 0px ); | ||
-o-transform: translate( 0px, 0px ); | ||
transform: translate( 0px, 0px ); | ||
-webkit-backface-visibility: hidden; | ||
}*/ | ||
|
||
.ocs-legacy [canvas] {top: 0; right: 0; bottom: 0; left: 0;} | ||
.ocs-legacy [canvas], | ||
.ocs-legacy [off-canvas] { | ||
-webkit-transform: none; | ||
-moz-transform: none; | ||
-ms-transform: none; | ||
-o-transform: none; | ||
transform: none; | ||
-webkit-transition: -webkit-transform 300ms, top 300ms, bottom 300ms, left 300ms, right 300ms; | ||
-moz-transition: -moz-transform 300ms, top 300ms, bottom 300ms, left 300ms, right 300ms; | ||
-o-transition: -o-transform 300ms, top 300ms, bottom 300ms, left 300ms, right 300ms; | ||
transition: transform 300ms, top 300ms, bottom 300ms, left 300ms, right 300ms; | ||
} | ||
|
||
/* @todo fix support for top and bottom */ | ||
[off-canvas*=" top"][off-canvas*=" reveal"], | ||
[off-canvas*=" top"][off-canvas*=" shift"], | ||
[off-canvas*=" bottom"][off-canvas*=" reveal"], | ||
[off-canvas*=" bottom"][off-canvas*=" shift"] { | ||
z-index: 1; | ||
} | ||
|
||
/** | ||
* Sidebar Widths (patched from older version of Slidebars) | ||
*/ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.