From 773fd112d28226728fc5fef55352ad14b0f3ed05 Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Tue, 19 Jan 2016 14:17:08 -0600 Subject: [PATCH] #822 drawer - used `in` instead of open and `out` instead of closed to be more inline with bootstrap terminology --- docs/examples/dashboard/example.js | 10 +++--- docs/examples/dashboard/index.html | 2 +- scss/_drawer.scss | 40 ++++++++++----------- scss/_layout.scss | 4 +-- scss/mixins/_drawer.scss | 58 ++++++++++++++---------------- scss/mixins/_layout.scss | 3 +- 6 files changed, 57 insertions(+), 60 deletions(-) diff --git a/docs/examples/dashboard/example.js b/docs/examples/dashboard/example.js index 22c162e5..d7802399 100644 --- a/docs/examples/dashboard/example.js +++ b/docs/examples/dashboard/example.js @@ -27,17 +27,17 @@ $(document).ready(function() { // document ready is a little convoluted because var $container = $('.mdb-layout-container') // once clicked, just do away with responsive marker - //$container.removeClass('mdb-drawer-open-md') + //$container.removeClass('mdb-drawer-in-md') var $icon = $(this).find('.material-icons') if ($icon.text() == 'visibility_off') { - $container.addClass('mdb-drawer-closed') - $container.removeClass('mdb-drawer-open') // demo only, regardless of the responsive class, we want to force it close + $container.addClass('mdb-drawer-out') + $container.removeClass('mdb-drawer-in') // demo only, regardless of the responsive class, we want to force it close $icon.text('visibility') } else { - $container.removeClass('mdb-drawer-closed') - $container.addClass('mdb-drawer-open') // demo only, regardless of the responsive class, we want to force it open + $container.removeClass('mdb-drawer-out') + $container.addClass('mdb-drawer-in') // demo only, regardless of the responsive class, we want to force it open $icon.text('visibility_off') } }) diff --git a/docs/examples/dashboard/index.html b/docs/examples/dashboard/index.html index aa59224b..0dd9596f 100644 --- a/docs/examples/dashboard/index.html +++ b/docs/examples/dashboard/index.html @@ -9,7 +9,7 @@ js: example.js
-
+