summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap/examples/offcanvas/offcanvas.css
diff options
context:
space:
mode:
Diffstat (limited to 'bower_components/bootstrap/examples/offcanvas/offcanvas.css')
-rwxr-xr-xbower_components/bootstrap/examples/offcanvas/offcanvas.css48
1 files changed, 48 insertions, 0 deletions
diff --git a/bower_components/bootstrap/examples/offcanvas/offcanvas.css b/bower_components/bootstrap/examples/offcanvas/offcanvas.css
new file mode 100755
index 00000000..df60d6af
--- /dev/null
+++ b/bower_components/bootstrap/examples/offcanvas/offcanvas.css
@@ -0,0 +1,48 @@
+/*
+ * Style twaks
+ * --------------------------------------------------
+ */
+body {
+ padding-top: 70px;
+}
+footer {
+ padding-left: 15px;
+ padding-right: 15px;
+}
+
+/*
+ * Off Canvas
+ * --------------------------------------------------
+ */
+@media screen and (max-width: 768px) {
+ .row-offcanvas {
+ position: relative;
+ -webkit-transition: all 0.25s ease-out;
+ -moz-transition: all 0.25s ease-out;
+ transition: all 0.25s ease-out;
+ }
+
+ .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 */
+ }
+} \ No newline at end of file