Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
62083a45
Commit
62083a45
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fixes
#9701
: fix up offcanvas example
parent
d2e2ec09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/offcanvas/index.html
+1
-1
examples/offcanvas/index.html
examples/offcanvas/offcanvas.css
+6
-6
examples/offcanvas/offcanvas.css
with
7 additions
and
7 deletions
+7
-7
examples/offcanvas/index.html
+
1
-
1
View file @
62083a45
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
</div>
<!--/row-->
</div>
<!--/row-->
</div>
<!--/span-->
</div>
<!--/span-->
<div
class=
"col-xs-
12
col-sm-3 sidebar-offcanvas"
id=
"sidebar"
role=
"navigation"
>
<div
class=
"col-xs-
6
col-sm-3 sidebar-offcanvas"
id=
"sidebar"
role=
"navigation"
>
<div
class=
"well sidebar-nav"
>
<div
class=
"well sidebar-nav"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li>
Sidebar
</li>
<li>
Sidebar
</li>
...
...
This diff is collapsed.
Click to expand it.
examples/offcanvas/offcanvas.css
+
6
-
6
View file @
62083a45
...
@@ -17,7 +17,6 @@ footer {
...
@@ -17,7 +17,6 @@ footer {
@media
screen
and
(
max-width
:
768px
)
{
@media
screen
and
(
max-width
:
768px
)
{
.row-offcanvas
{
.row-offcanvas
{
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
/* Needed for Internet Explorer */
-webkit-transition
:
all
0.25s
ease-out
;
-webkit-transition
:
all
0.25s
ease-out
;
-moz-transition
:
all
0.25s
ease-out
;
-moz-transition
:
all
0.25s
ease-out
;
transition
:
all
0.25s
ease-out
;
transition
:
all
0.25s
ease-out
;
...
@@ -25,24 +24,25 @@ footer {
...
@@ -25,24 +24,25 @@ footer {
.row-offcanvas-right
.row-offcanvas-right
.sidebar-offcanvas
{
.sidebar-offcanvas
{
right
:
-5
8.333333333333336
%
;
/* 6 columns */
right
:
-5
0
%
;
/* 6 columns */
}
}
.row-offcanvas-left
.row-offcanvas-left
.sidebar-offcanvas
{
.sidebar-offcanvas
{
left
:
-5
8.333333333333336
%
;
/* 6 columns */
left
:
-5
0
%
;
/* 6 columns */
}
}
.row-offcanvas-right.active
{
.row-offcanvas-right.active
{
right
:
5
8.333333333333336
%
;
/* 6 columns */
right
:
5
0
%
;
/* 6 columns */
}
}
.row-offcanvas-left.active
{
.row-offcanvas-left.active
{
left
:
5
8.333333333333336
%
;
/* 6 columns */
left
:
5
0
%
;
/* 6 columns */
}
}
.sidebar-offcanvas
{
.sidebar-offcanvas
{
position
:
absolute
;
position
:
absolute
;
width
:
58.333333333333336%
;
/* 6 columns */
top
:
0
;
width
:
50%
;
/* 6 columns */
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets