olingo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r916391 - in /websites/staging/olingo/trunk/content: ./ css/offcanvas.css js/offcanvas.js
Date Wed, 16 Jul 2014 14:52:09 GMT
Author: buildbot
Date: Wed Jul 16 14:52:09 2014
New Revision: 916391

Log:
Staging update by buildbot for olingo

Added:
    websites/staging/olingo/trunk/content/css/offcanvas.css
    websites/staging/olingo/trunk/content/js/offcanvas.js
Modified:
    websites/staging/olingo/trunk/content/   (props changed)

Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jul 16 14:52:09 2014
@@ -1 +1 @@
-1611006
+1611034

Added: websites/staging/olingo/trunk/content/css/offcanvas.css
==============================================================================
--- websites/staging/olingo/trunk/content/css/offcanvas.css (added)
+++ websites/staging/olingo/trunk/content/css/offcanvas.css Wed Jul 16 14:52:09 2014
@@ -0,0 +1,59 @@
+/*
+ * Style tweaks
+ * --------------------------------------------------
+ */
+html,
+body {
+  overflow-x: hidden; /* Prevent scroll on narrow devices */
+}
+body {
+  padding-top: 70px;
+}
+footer {
+  padding: 30px 0;
+}
+
+/*
+ * Off Canvas
+ * --------------------------------------------------
+ */
+@media screen and (max-width: 767px) {
+  .row-offcanvas {
+    position: relative;
+    -webkit-transition: all .25s ease-out;
+         -o-transition: all .25s ease-out;
+            transition: all .25s ease-out;
+  }
+
+  .row-offcanvas-right {
+    right: 0;
+  }
+
+  .row-offcanvas-left {
+    left: 0;
+  }
+
+  .row-offcanvas-right
+  .sidebar-offcanvas {
+    right: -50%; /* 6 columns */
+  }
+
+  .row-offcanvas-left
+  .sidebar-offcanvas {
+    left: -50%; /* 6 columns */
+  }
+
+  .row-offcanvas-right.active {
+    right: 50%; /* 6 columns */
+  }
+
+  .row-offcanvas-left.active {
+    left: 50%; /* 6 columns */
+  }
+
+  .sidebar-offcanvas {
+    position: absolute;
+    top: 0;
+    width: 50%; /* 6 columns */
+  }
+}

Added: websites/staging/olingo/trunk/content/js/offcanvas.js
==============================================================================
--- websites/staging/olingo/trunk/content/js/offcanvas.js (added)
+++ websites/staging/olingo/trunk/content/js/offcanvas.js Wed Jul 16 14:52:09 2014
@@ -0,0 +1,5 @@
+$(document).ready(function () {
+  $('[data-toggle="offcanvas"]').click(function () {
+    $('.row-offcanvas').toggleClass('active')
+  });
+});
\ No newline at end of file



Mime
View raw message