vendor/assets/stylesheets/responsive-nav.css in responsive-nav-rails-1.0.20 vs vendor/assets/stylesheets/responsive-nav.css in responsive-nav-rails-1.0.21

- old
+ new

@@ -1,39 +1,49 @@ -/*! responsive-nav.js v1.0.20 by @viljamis */ - -#nav ul { - margin: 0; - padding: 0; - width: 100%; - display: block; - list-style: none; -} - -#nav li { - width: 100%; - display: block; -} - -.js #nav { - clip: rect(0 0 0 0); - max-height: 0; - position: absolute; - display: block; - overflow: hidden; - zoom: 1; -} - -#nav.opened { - max-height: 9999px; -} - -@media screen and (min-width: 40em) { - .js #nav { - position: relative; - } - .js #nav.closed { - max-height: none; - } - #nav-toggle { - display: none; - } +/*! responsive-nav.js v1.0.21 by @viljamis */ + +.nav-collapse ul { + margin: 0; + padding: 0; + width: 100%; + display: block; + list-style: none; +} + +.nav-collapse li { + width: 100%; + display: block; +} + +.js .nav-collapse { + clip: rect(0 0 0 0); + max-height: 0; + position: absolute; + display: block; + overflow: hidden; + zoom: 1; +} + +.nav-collapse.opened { + max-height: 9999px; +} + +.nav-toggle { + -webkit-tap-highlight-color: rgba(0,0,0,0); + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +@media screen and (min-width: 40em) { + .js .nav-collapse { + position: relative; + } + .js .nav-collapse.closed { + max-height: none; + } + .nav-toggle { + display: none; + } } \ No newline at end of file