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
13a80f33
Commit
13a80f33
authored
Jan 16, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix up sidenav and components page
parent
3e40e7df
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
9 deletions
+46
-9
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+1
-1
docs/assets/css/docs.css
docs/assets/css/docs.css
+44
-7
less/bootstrap.less
less/bootstrap.less
+1
-1
No files found.
docs/assets/css/bootstrap.css
View file @
13a80f33
...
@@ -4705,7 +4705,7 @@ a.badge:hover {
...
@@ -4705,7 +4705,7 @@ a.badge:hover {
}
}
.container
{
.container
{
width
:
940px
;
max-
width
:
940px
;
margin-right
:
auto
;
margin-right
:
auto
;
margin-left
:
auto
;
margin-left
:
auto
;
}
}
...
...
docs/assets/css/docs.css
View file @
13a80f33
...
@@ -169,9 +169,14 @@ section > ul li {
...
@@ -169,9 +169,14 @@ section > ul li {
}
}
.bs-docs-sidenav.affix
{
.bs-docs-sidenav.affix
{
position
:
static
;
position
:
static
;
width
:
auto
;
top
:
0
;
top
:
0
;
}
}
.bs-docs-sidenav.affix-bottom
{
position
:
absolute
;
top
:
auto
;
bottom
:
270px
;
}
/* Chevrons within each link */
/* Chevrons within each link */
.bs-docs-sidenav
.glyphicon-chevron-right
{
.bs-docs-sidenav
.glyphicon-chevron-right
{
...
@@ -192,20 +197,18 @@ section > ul li {
...
@@ -192,20 +197,18 @@ section > ul li {
/* Affix all the things, and set widths because they're positioned, depending on viewport size */
/* Affix all the things, and set widths because they're positioned, depending on viewport size */
@media
screen
and
(
min-width
:
768px
)
{
@media
screen
and
(
min-width
:
768px
)
{
/* From here, start to affix the nav because we keep columns here */
.bs-docs-sidenav.affix
{
.bs-docs-sidenav.affix
{
position
:
fixed
;
position
:
fixed
;
top
:
10px
;
top
:
10px
;
width
:
170px
;
}
}
.bs-docs-sidenav.affix-bottom
{
.bs-docs-sidenav
{
position
:
absolute
;
width
:
189px
;
top
:
auto
;
bottom
:
270px
;
}
}
}
}
@media
screen
and
(
min-width
:
992px
)
{
@media
screen
and
(
min-width
:
992px
)
{
.bs-docs-sidenav
.affix
{
.bs-docs-sidenav
{
width
:
220px
;
width
:
220px
;
}
}
}
}
...
@@ -259,6 +262,40 @@ section > ul li {
...
@@ -259,6 +262,40 @@ section > ul li {
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
/* Navbar examples */
.bs-navbar-top-example
,
.bs-navbar-bottom-example
{
z-index
:
1
;
padding
:
0
;
height
:
90px
;
overflow
:
hidden
;
/* cut the drop shadows off */
}
.bs-navbar-top-example
.navbar-fixed-top
,
.bs-navbar-bottom-example
.navbar-fixed-bottom
{
margin-left
:
0
;
margin-right
:
0
;
}
.bs-navbar-top-example
{
-webkit-border-radius
:
0
0
4px
4px
;
-moz-border-radius
:
0
0
4px
4px
;
border-radius
:
0
0
4px
4px
;
}
.bs-navbar-top-example
:after
{
top
:
auto
;
bottom
:
-1px
;
-webkit-border-radius
:
0
4px
0
4px
;
-moz-border-radius
:
0
4px
0
4px
;
border-radius
:
0
4px
0
4px
;
}
.bs-navbar-bottom-example
{
-webkit-border-radius
:
4px
4px
0
0
;
-moz-border-radius
:
4px
4px
0
0
;
border-radius
:
4px
4px
0
0
;
}
.bs-navbar-bottom-example
.navbar
{
margin-bottom
:
0
;
}
/* Icons
/* Icons
...
...
less/bootstrap.less
View file @
13a80f33
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
}
}
*/
*/
.container {
.container {
width: 940px;
max-
width: 940px;
margin-left: auto;
margin-left: auto;
margin-right: auto;
margin-right: auto;
}
}
...
...
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