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
9e0c4ff7
Commit
9e0c4ff7
authored
Jan 20, 2015
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
several docs cleanup things
parent
35e5f6f1
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
76 additions
and
71 deletions
+76
-71
docs/_includes/nav-docs.html
docs/_includes/nav-docs.html
+49
-47
docs/assets/css/docs.min.css
docs/assets/css/docs.min.css
+1
-1
docs/assets/css/docs.min.css.map
docs/assets/css/docs.min.css.map
+0
-0
docs/assets/scss/docs.scss
docs/assets/scss/docs.scss
+26
-23
No files found.
docs/_includes/nav-docs.html
View file @
9e0c4ff7
...
@@ -3,53 +3,55 @@
...
@@ -3,53 +3,55 @@
Bootstrap
Bootstrap
</a>
</a>
<
div
class=
"bs-docs-search
"
>
<
form
class=
"bs-docs-search hidden-xs-down
"
>
<input
type=
"text"
class=
"form-control"
id=
"search-input"
placeholder=
"Search..."
>
<input
type=
"text"
class=
"form-control"
id=
"search-input"
placeholder=
"Search..."
>
<ul
class=
"dropdown-menu bs-docs-search-results"
id=
"search-results"
></ul>
<ul
class=
"dropdown-menu bs-docs-search-results"
id=
"search-results"
></ul>
</div>
</form>
{% for group in site.data.nav %}
<nav
class=
"bs-docs-links hidden-xs-down"
>
{% assign link = group.pages | first %}
{% for group in site.data.nav %}
{% assign slug = group.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' %}
{% assign link = group.pages | first %}
{% assign active = nil %}
{% assign slug = group.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' %}
{% assign active = nil %}
{% if page.url contains slug %}
{% assign active = 'active' %}
{% if page.url contains slug %}
{% endif %}
{% assign active = 'active' %}
{% endif %}
<div
class=
"bs-docs-toc-item {{ active }}"
>
<a
class=
"bs-docs-toc-link"
href=
"{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ link.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' }}"
>
<div
class=
"bs-docs-toc-item {{ active }}"
>
{{ group.title }}
<a
class=
"bs-docs-toc-link"
href=
"{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ link.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' }}"
>
</a>
{{ group.title }}
</a>
<ul
class=
"nav bs-docs-sidenav"
>
{% for doc in group.pages %}
<ul
class=
"nav bs-docs-sidenav"
>
{% assign slug = doc.title | downcase | replace: ' ', '-' %}
{% for doc in group.pages %}
{% assign active = nil %}
{% assign slug = doc.title | downcase | replace: ' ', '-' %}
{% assign active = nil %}
{% if page.url contains slug %}
{% assign active = 'active bs-docs-sidenav-active' %}
{% if page.url contains slug %}
{% endif %}
{% assign active = 'active bs-docs-sidenav-active' %}
{% endif %}
<li
class=
"{{ active }}"
>
<a
href=
"{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ doc.title | downcase | replace: ' ', '-' }}"
>
<li
class=
"{{ active }}"
>
{{ doc.title }}
<a
href=
"{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ doc.title | downcase | replace: ' ', '-' }}"
>
</a>
{{ doc.title }}
</a>
{% unless doc.sections == nil %}
<ul
class=
"nav"
>
{% unless doc.sections == nil %}
{% for section in doc.sections %}
<ul
class=
"nav"
>
<li>
{% for section in doc.sections %}
<a
href=
"#{{ section.title | downcase | replace: ' ', '-' }}"
>
<li>
{{ section.title }}
<a
href=
"#{{ section.title | downcase | replace: ' ', '-' }}"
>
</a>
{{ section.title }}
</li>
</a>
{% endfor %}
</li>
</ul>
{% endfor %}
{% endunless %}
</ul>
</li>
{% endunless %}
{% endfor %}
</li>
</ul>
{% endfor %}
</div>
</ul>
{% endfor %}
</div>
{% endfor %}
</nav>
</header>
</header>
docs/assets/css/docs.min.css
View file @
9e0c4ff7
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.min.css.map
View file @
9e0c4ff7
This diff was suppressed by a .gitattributes entry.
docs/assets/scss/docs.scss
View file @
9e0c4ff7
...
@@ -325,7 +325,7 @@ body {
...
@@ -325,7 +325,7 @@ body {
width
:
auto
!
important
;
width
:
auto
!
important
;
height
:
auto
!
important
;
height
:
auto
!
important
;
padding
:
1
.25rem
!
important
;
padding
:
1
.25rem
!
important
;
margin
:
2rem
-2rem
-
2rem
!
important
;
margin
:
0
-1rem
2rem
!
important
;
overflow
:
hidden
;
/* clearfix */
overflow
:
hidden
;
/* clearfix */
font-size
:
.8rem
!
important
;
font-size
:
.8rem
!
important
;
line-height
:
1rem
!
important
;
line-height
:
1rem
!
important
;
...
@@ -378,7 +378,7 @@ body {
...
@@ -378,7 +378,7 @@ body {
// color: $bs-purple !important;
// color: $bs-purple !important;
// }
// }
@
media
(
min-width
:
480px
)
{
@
include
media-breakpoint-up
(
sm
)
{
.carbonad
{
.carbonad
{
width
:
330px
!
important
;
width
:
330px
!
important
;
margin
:
1
.5rem
auto
!
important
;
margin
:
1
.5rem
auto
!
important
;
...
@@ -390,14 +390,14 @@ body {
...
@@ -390,14 +390,14 @@ body {
}
}
}
}
@
media
(
min-width
:
768px
)
{
@
include
media-breakpoint-up
(
md
)
{
.carbonad
{
.carbonad
{
margin-right
:
0
!
important
;
margin-right
:
0
!
important
;
margin-left
:
0
!
important
;
margin-left
:
0
!
important
;
}
}
}
}
@
media
(
min-width
:
992px
)
{
@
include
media-breakpoint-up
(
lg
)
{
.carbonad
{
.carbonad
{
float
:
right
;
float
:
right
;
width
:
330px
!
important
;
width
:
330px
!
important
;
...
@@ -552,7 +552,7 @@ body {
...
@@ -552,7 +552,7 @@ body {
.bs-docs-container
{
.bs-docs-container
{
position
:
relative
;
position
:
relative
;
max-width
:
62rem
;
max-width
:
62rem
;
padding
:
1rem
;
padding
:
0
1rem
1rem
;
margin-right
:
auto
;
margin-right
:
auto
;
margin-left
:
auto
;
margin-left
:
auto
;
...
@@ -700,10 +700,6 @@ body {
...
@@ -700,10 +700,6 @@ body {
}
}
.bs-docs-sidenav
{
display
:
none
;
}
.bs-docs-toc-link
{
.bs-docs-toc-link
{
display
:
block
;
display
:
block
;
padding
:
4px
20px
;
padding
:
4px
20px
;
...
@@ -789,10 +785,6 @@ body {
...
@@ -789,10 +785,6 @@ body {
//
//
.bs-docs-content
{
.bs-docs-content
{
>
h1
{
font-size
:
4rem
;
}
>
h2
{
>
h2
{
margin-top
:
3rem
;
margin-top
:
3rem
;
font-weight
:
normal
;
font-weight
:
normal
;
...
@@ -804,13 +796,19 @@ body {
...
@@ -804,13 +796,19 @@ body {
}
}
.bs-docs-title
{
.bs-docs-title
{
margin-right
:
23rem
;
+
p
{
+
p
{
margin-right
:
23rem
;
font-size
:
1
.25rem
;
font-size
:
1
.25rem
;
font-weight
:
300
;
font-weight
:
300
;
}
}
@include
media-breakpoint-up
(
sm
)
{
margin-right
:
23rem
;
font-size
:
4rem
;
+
p
{
margin-right
:
23rem
;
}
}
}
}
...
@@ -954,14 +952,15 @@ body {
...
@@ -954,14 +952,15 @@ body {
.bs-example
{
.bs-example
{
position
:
relative
;
position
:
relative
;
padding
:
1
.5rem
;
padding
:
1rem
;
margin-top
:
1rem
;
margin
:
1rem
-1rem
;
margin-bottom
:
-1rem
;
border
:
solid
#f7f7f9
;
border
:
solid
#f7f7f9
;
border-width
:
.2rem
0
0
;
border-width
:
.2rem
0
0
;
@include
clearfix
();
@include
clearfix
();
@media
(
min-width
:
480px
)
{
@include
media-breakpoint-up
(
sm
)
{
margin-bottom
:
-1rem
;
padding
:
1
.5rem
;
border-width
:
.2rem
;
border-width
:
.2rem
;
}
}
...
@@ -1211,10 +1210,14 @@ body {
...
@@ -1211,10 +1210,14 @@ body {
//
//
.highlight
{
.highlight
{
padding
:
1
.5rem
;
padding
:
1rem
;
margin-top
:
1rem
;
margin
:
-1rem
-1rem
1rem
;
margin-bottom
:
1rem
;
background-color
:
#f7f7f9
;
background-color
:
#f7f7f9
;
@include
media-breakpoint-up
(
sm
)
{
padding
:
1
.5rem
;
margin
:
1rem
0
;
}
}
}
.highlight
pre
{
.highlight
pre
{
padding
:
0
;
padding
:
0
;
...
...
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