Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
492c2495
Commit
492c2495
authored
Mar 01, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve navbar toggle and hide code snippets on mobile devices for now
parent
2e3ba4af
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
3 deletions
+20
-3
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+5
-1
docs/assets/css/docs.css
docs/assets/css/docs.css
+10
-0
docs/css.html
docs/css.html
+1
-1
less/navbar.less
less/navbar.less
+4
-1
No files found.
docs/assets/css/bootstrap.css
View file @
492c2495
...
...
@@ -3217,7 +3217,7 @@ button.close {
display
:
block
;
width
:
22px
;
height
:
2px
;
background-color
:
#
fff
;
background-color
:
#
ccc
;
border-radius
:
1px
;
}
...
...
@@ -3331,6 +3331,10 @@ button.close {
background-color
:
#333
;
}
.navbar-inverse
.navbar-toggle
.icon-bar
{
background-color
:
#fff
;
}
.navbar-inverse
.nav
>
.divider
{
background-color
:
#151515
;
border-bottom-color
:
#2f2f2f
;
...
...
docs/assets/css/docs.css
View file @
492c2495
...
...
@@ -592,6 +592,16 @@ input.focused {
/* Responsive variations
-------------------------------------------------- */
/* Hide code snippets on mobile devices */
@media
screen
and
(
max-width
:
480px
)
{
.bs-docs-example
{
border-radius
:
4px
;
}
.highlight
{
display
:
none
;
}
}
/* Tablets and up */
@media
screen
and
(
min-width
:
768px
)
{
...
...
docs/css.html
View file @
492c2495
...
...
@@ -2228,7 +2228,7 @@ For example, <code><section></code> should be wrapped as inline.
</div>
<p
class=
"lead"
>
For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query.
</p>
<table
class=
"table table-bordered table-striped responsive-utilities"
>
<table
class=
"table table-bordered table-striped responsive-utilities
hidden-phone
"
>
<thead>
<tr>
<th>
Class
</th>
...
...
less/navbar.less
View file @
492c2495
...
...
@@ -114,7 +114,7 @@
display: block;
width: 22px;
height: 2px;
background-color: #
fff
;
background-color: #
ccc
;
border-radius: 1px;
}
.icon-bar + .icon-bar {
...
...
@@ -230,6 +230,9 @@
&:focus {
background-color: #333;
}
.icon-bar {
background-color: #fff;
}
}
// Darken dividers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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