Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4 #25

Merged
merged 129 commits into from
Sep 6, 2017
Merged

0.4 #25

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
c2bf5d2
First try to fix issues with smoothscroll and mobile browsers
JoryHogeveen Oct 5, 2016
b86950f
Start creating a legacy CSS option for Slidebars
JoryHogeveen Oct 6, 2016
d4a9f09
Bugfix - updating settings checkboxes didn't work
JoryHogeveen Oct 6, 2016
262bb3a
Update ocs sidebar content value to use validate_radio()
JoryHogeveen Oct 6, 2016
a100c85
Prepare Slidebars for legacy mode
JoryHogeveen Oct 6, 2016
cc09aa6
Add legacy CSS functionality to the Slidebars library
JoryHogeveen Oct 6, 2016
81aeec1
New private function: _getTranslateAxis() to get the pixel values fro…
JoryHogeveen Oct 6, 2016
894eeea
Add ocs-scroll-lock class handling
JoryHogeveen Oct 6, 2016
9a514d7
Improve sidebarId check
JoryHogeveen Oct 6, 2016
1f8663e
Move Slidebars init
JoryHogeveen Oct 6, 2016
4bf9074
Set the legacy_css attribute in out global JS object and in Slidebars
JoryHogeveen Oct 6, 2016
7f4762c
Improve the target and positioning mechanism for scrollTop()
JoryHogeveen Oct 6, 2016
d98ee53
Check for an active top sidebar and add it to the calculation if active
JoryHogeveen Oct 6, 2016
aa40ac9
Fix position issues for fixed elements on slidebar animations in lega…
JoryHogeveen Oct 6, 2016
bf3b099
Fix position issues for fixed elements on slidebar animations in fixe…
JoryHogeveen Oct 6, 2016
3a9f0ae
Fix CSS for legacy mode
JoryHogeveen Oct 6, 2016
00a9718
Fix swift style animation for legacy CSS mode
JoryHogeveen Oct 6, 2016
6b8e4a2
Add compatibility with the WP Admin Bar
JoryHogeveen Oct 6, 2016
6ee1100
Doc fixes
JoryHogeveen Oct 6, 2016
68e2c5b
Typo
JoryHogeveen Oct 6, 2016
13b6e82
Revert "Bugfix - updating settings checkboxes didn't work"
JoryHogeveen Oct 6, 2016
23e56c8
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
JoryHogeveen Oct 6, 2016
16d3a5f
compatibility_position_fixed is now a radio option
JoryHogeveen Oct 6, 2016
adcbf6e
Rename off-canvas-sidebars-api.class.php to api.php
JoryHogeveen Oct 8, 2016
25cfe50
Rename off-canvas-sidebars-frontend.class.php to class-frontend.php
JoryHogeveen Oct 8, 2016
72df1bc
Rename off-canvas-sidebars-menu-meta-box.class.php to class-menu-meta…
JoryHogeveen Oct 8, 2016
7e5632d
Rename off-canvas-sidebars-settings.class.php to class-settings.php
JoryHogeveen Oct 8, 2016
d3a7a4c
Rename off-canvas-sidebars-widget.php to control-widget.php
JoryHogeveen Oct 8, 2016
9caac29
Update includes for new filenames
JoryHogeveen Oct 8, 2016
5dcd813
First version of our trigger element API
JoryHogeveen Oct 8, 2016
8ac6d28
Attach a shortcode to the trigger element API
JoryHogeveen Oct 8, 2016
3171e24
Docs & minor improvements
JoryHogeveen Oct 8, 2016
0913599
Better shortcode function name
JoryHogeveen Oct 8, 2016
749dca0
Fix CSS selector
JoryHogeveen Oct 14, 2016
1493be0
Use event triggers
JoryHogeveen Oct 14, 2016
dd1a005
Extend scrollTop fix into the ocs javascript object
JoryHogeveen Oct 14, 2016
ffb4315
Improve size calculation in legacy mode
JoryHogeveen Oct 14, 2016
7871632
Fix CSS selectors for attribute values
JoryHogeveen Oct 14, 2016
75e7fda
Improve property/variable names
JoryHogeveen Oct 20, 2016
612a5f1
Change default class to `trigger` instead of `button`
JoryHogeveen Oct 20, 2016
051f69d
Allow `class` or `classes` parameter instead of `button` for more fle…
JoryHogeveen Oct 20, 2016
9eeef57
Compat if the user defined a `class` and `attr` with a class attribute
JoryHogeveen Oct 20, 2016
6489bff
Docs fix + indentation
JoryHogeveen Jan 13, 2017
8f1d7d9
Add legacy class to the body for instant results in page rendering
JoryHogeveen Jan 13, 2017
ca67f3a
Useless brackets
JoryHogeveen Jan 13, 2017
2a3eca0
Improve admin sections
JoryHogeveen Jan 13, 2017
47d0d78
Genesis compat fix
JoryHogeveen Jan 13, 2017
e3af2be
Typo
JoryHogeveen Jan 13, 2017
65cfe01
Improve show/hide + UI in settings page
JoryHogeveen Jan 13, 2017
00f13a2
Temp remove the use of minified files (still a dev state)
JoryHogeveen Jan 13, 2017
8fdb7a0
Add CSS vendors for more compatibility
JoryHogeveen Jan 13, 2017
d261ee9
Simplify amount calculation
JoryHogeveen Jan 13, 2017
a88fabd
Combine jQuery selectors + _debug property
JoryHogeveen Jan 13, 2017
52d504d
Improve scroll_lock functionality
JoryHogeveen Jan 13, 2017
4ad444a
Remove invalid code + markup
JoryHogeveen Jan 13, 2017
e9b40c7
First version of the shortcode generator settings tab
JoryHogeveen Jan 13, 2017
c4ee9c2
Doc updates and fixes
JoryHogeveen Jan 15, 2017
9fcb56d
Improve UI for radio and checkboxes
JoryHogeveen Jan 15, 2017
a85cb82
Better access handling
JoryHogeveen Jan 15, 2017
8c087c8
UI improvements for OCS widget
JoryHogeveen Jan 15, 2017
57a728f
WP Code Standards
JoryHogeveen Apr 29, 2017
d0ea64d
Plugin info block
JoryHogeveen Apr 29, 2017
2920309
Minimum WP version 4.1
JoryHogeveen Apr 29, 2017
a782027
Improve code readability + some bug fixes
JoryHogeveen Apr 29, 2017
7134179
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
JoryHogeveen Apr 30, 2017
eae1cff
Quickfix new install PHP notices
JoryHogeveen Apr 30, 2017
311f7c3
Fix includes
JoryHogeveen Apr 30, 2017
198e430
CodeClimate config
JoryHogeveen Apr 30, 2017
86fd4f0
Separate class for general form functions
JoryHogeveen Apr 30, 2017
9fd265a
form description handler
JoryHogeveen May 19, 2017
7d075bf
Move sidebars options + docs
JoryHogeveen May 19, 2017
92dbef6
Enhance widget form
JoryHogeveen May 19, 2017
1e00633
attr handlers
JoryHogeveen May 19, 2017
a232311
Enhance JS
JoryHogeveen May 19, 2017
e9225ca
Close the slidebar after clicking a link
JoryHogeveen May 19, 2017
18c5723
Enhance slidebars legacy + code standards
JoryHogeveen May 19, 2017
4166056
Basic compatibility with WP Admin Bar for top sidebars
JoryHogeveen May 19, 2017
de04300
Readme-version
JoryHogeveen May 19, 2017
998088e
CodeClimate fixes
JoryHogeveen May 19, 2017
37f492a
Do not run external libraries through code checks
JoryHogeveen May 19, 2017
09c277e
More style fixes and reformatting
JoryHogeveen May 19, 2017
1f38264
More enhancements and code standards
JoryHogeveen May 19, 2017
efddb20
preFIX
JoryHogeveen May 19, 2017
285db4e
More code style fixes
JoryHogeveen May 20, 2017
c6bb222
More enhancements
JoryHogeveen May 20, 2017
97ebfcc
PHP 5.2 compat
JoryHogeveen Aug 17, 2017
bb7e285
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
JoryHogeveen Aug 17, 2017
a657380
Fix option desc
JoryHogeveen Aug 24, 2017
b4aa32c
Load ocs scripts as last for load order
JoryHogeveen Aug 24, 2017
f26c54d
Enhance descriptions UI
JoryHogeveen Aug 24, 2017
27725bd
Enhance performance for jQuery selectors
JoryHogeveen Aug 24, 2017
e74ed39
Fix CSS issues + temp overwrite CSS z-index for top and bottom (revea…
JoryHogeveen Aug 24, 2017
2205737
Fix scrollTop script
JoryHogeveen Aug 24, 2017
1452f47
Enhance form class. Store html data first before echo. Also fixes a l…
JoryHogeveen Aug 25, 2017
2cde32a
Enhance JS codestyle and selector cache
JoryHogeveen Aug 25, 2017
1ebb014
Codestyle navmenu script
JoryHogeveen Aug 25, 2017
88eff11
Codestyle control widget
JoryHogeveen Aug 25, 2017
da4ea70
More style fixes
JoryHogeveen Aug 25, 2017
0bdfb2e
Fix esLint issues
JoryHogeveen Aug 28, 2017
c728731
More style fixes
JoryHogeveen Aug 28, 2017
2a8916a
0.4 updater + phpDocs + use to GH for issues and docs
JoryHogeveen Aug 28, 2017
c3a5fb1
Enhance settings JS + fix docs
JoryHogeveen Aug 29, 2017
31bbf1d
Allow 25 char variables
JoryHogeveen Aug 29, 2017
c3c9ed5
Fix add new sidebar error
JoryHogeveen Aug 29, 2017
0c0aba1
Last fixes for the different style options for legacy mode
JoryHogeveen Aug 29, 2017
5d6a788
Minify and docs
JoryHogeveen Aug 29, 2017
f9d8506
Codestyle
JoryHogeveen Aug 29, 2017
1d9497c
Use cssCompat() method
JoryHogeveen Aug 29, 2017
ade3379
Patch another link to GH
JoryHogeveen Aug 29, 2017
32b370b
Enhance setting page layout
JoryHogeveen Aug 29, 2017
cb17f79
Enhance nav menu script + jsDoc
JoryHogeveen Aug 29, 2017
9d5bc11
WP Editor shortcode UI
JoryHogeveen Aug 29, 2017
c3c8c06
Add minified files (still disabled)
JoryHogeveen Aug 29, 2017
37d79ee
More minor UI stuff
JoryHogeveen Aug 29, 2017
9034668
0.4-rc1
JoryHogeveen Aug 29, 2017
d0fed9a
JS CodeStyle
JoryHogeveen Aug 29, 2017
fdca6ca
Php CodeStyle
JoryHogeveen Aug 29, 2017
1e15016
Readme update v0.4 + .github files
JoryHogeveen Aug 30, 2017
0613a77
Make import/export work again (temp, will be refactored in next major…
JoryHogeveen Aug 31, 2017
6c7d18a
0.4-rc2
JoryHogeveen Aug 31, 2017
a43b51d
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
JoryHogeveen Sep 5, 2017
e6e82ce
Fix overlay issues with shift and reveal on pages not that don't have…
JoryHogeveen Sep 5, 2017
d28dd93
Min PHP version readme tag
JoryHogeveen Sep 5, 2017
0787852
Enhance ocs triggers + codestyle
JoryHogeveen Sep 6, 2017
42bac38
Fix shortcode generator sidebar ID key
JoryHogeveen Sep 6, 2017
01f6e14
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
JoryHogeveen Sep 6, 2017
f356837
v0.4
JoryHogeveen Sep 6, 2017
00527b9
Update screenshots
JoryHogeveen Sep 6, 2017
c46f8f9
Fix readme FAQ titles
JoryHogeveen Sep 6, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/CODE_OF_CONDUCT.md
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/
33 changes: 33 additions & 0 deletions .github/CONTRIBUTING.md
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/)
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE.md
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:
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Fixes #

## Proposed Changes

-
-
-
23 changes: 17 additions & 6 deletions README.md → .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Add off-canvas sidebars using the Slidebars jQuery plugin.
[![WordPress Plugin downloads](https://img.shields.io/wordpress/plugin/dt/off-canvas-sidebars.svg?style=flat)](https://wordpress.org/plugins/off-canvas-sidebars/)
[![WordPress Plugin rating](https://img.shields.io/wordpress/plugin/r/off-canvas-sidebars.svg?style=flat)](https://wordpress.org/plugins/off-canvas-sidebars/)
[![Travis](https://secure.travis-ci.org/JoryHogeveen/off-canvas-sidebars.png?branch=master)](http://travis-ci.org/JoryHogeveen/off-canvas-sidebars)
[![Code Climate](https://codeclimate.com/github/JoryHogeveen/off-canvas-sidebars/badges/gpa.svg)](https://codeclimate.com/github/JoryHogeveen/off-canvas-sidebars)
[![License](https://img.shields.io/badge/license-GPL--2.0%2B-green.svg)](https://github.com/JoryHogeveen/off-canvas-sidebars/blob/master/license.txt)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=YGPLMLU7XQ9E8&lc=NL&item_name=Off%2dCanvas%20Sidebars&item_number=JWPP%2dOCS&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)

Expand All @@ -15,7 +16,7 @@ This plugin will add various options to implement off-canvas sidebars in your Wo
### Overview / Features
* Add off-canvas sidebars to the left, right, top and bottom of your website
* Use sidebar areas (widget-ready areas), menu locations or [custom hooks](https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/Actions-&-Filters) to place content into the off-canvas sidebars
* You can add control buttons with a widget, a menu item or with [custom code](https://wordpress.org/plugins/off-canvas-sidebars/installation/)
* You can add control buttons with a widget, menu item, [shortcode](https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/Shortcodes) or with [custom code](https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/Theme-setup)
* Various customisation options and settings available in the Appearances menu

### Compatibility (IMPORTANT!)
Expand All @@ -24,10 +25,16 @@ The structure of your theme is of great importance for this plugin. Please read
This plugin should work with most themes and plugins although I can't be sure for all use-cases. At this point it's still a 0.x version...
If the plugin does not work for your theme, please let me know through the support and add a plugins and themes list and I will take a look!

#### Fixed elements (like sticky menu's)
There are known issues with fixed elements and Slidebars. [Click here for more information](https://www.adchsm.com/slidebars/help/advanced-usage/elements-with-fixed-positions/)
I've created two possible solutions for this:

1. Legacy CSS solution. Use basic CSS2 positioning instead of CSS3 transform with hardware acceleration.
2. JavaScript solution. It is slower but still allows the use of hardware acceleration.

### It's not working! / I found a bug!
Please let me know through the support and add a plugins and themes list! :)
https://wordpress.org/support/plugin/off-canvas-sidebars
Or submit an issue here on GitHub
Please let me know through [support](https://wordpress.org/support/plugin/off-canvas-sidebars) and add a plugins and themes list! :)
Or [submit an issue here on GitHub](https://github.com/JoryHogeveen/off-canvas-sidebars/issues)

### Credits
* Slidebars jQuery plugin by [Adam](https://www.adchsm.com/slidebars/ "Adam"), thank you for this great plugin!
Expand All @@ -45,8 +52,12 @@ Or search for "Off-Canvas Sidebars" via your plugins menu.

### Theme setup

Off-Canvas Sidebars won't work "out of the box" with most themes, please read the Wiki!
[Click here!](https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/Theme-setup)
Off-Canvas Sidebars won't work "out of the box" with most themes, please read the documentation!
[Click here for theme setup documentation.](https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/Theme-setup)

### Actions | Filters | API

* [See Wiki on GitHub](https://github.com/JoryHogeveen/off-canvas-sidebars/wiki)

### Other Notes
You can find me here:
Expand Down
25 changes: 23 additions & 2 deletions css/off-canvas-sidebars-admin.css
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 {
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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) {
Expand Down
9 changes: 9 additions & 0 deletions css/off-canvas-sidebars-admin.min.css

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

53 changes: 51 additions & 2 deletions css/off-canvas-sidebars.css
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)
*/
Expand Down
9 changes: 9 additions & 0 deletions css/off-canvas-sidebars.min.css

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

Loading