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
f5352017
Commit
f5352017
authored
Jan 16, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve navbar vars and fix side nav alignment
parent
6b193dc2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
20 deletions
+43
-20
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+7
-2
docs/assets/css/docs.css
docs/assets/css/docs.css
+9
-2
less/navbar.less
less/navbar.less
+8
-2
less/variables.less
less/variables.less
+19
-14
No files found.
docs/assets/css/bootstrap.css
View file @
f5352017
...
@@ -2979,11 +2979,16 @@ button.close {
...
@@ -2979,11 +2979,16 @@ button.close {
}
}
.navbar-inverse
.brand
{
.navbar-inverse
.brand
{
color
:
#
fff
;
color
:
#
999999
;
}
}
.navbar-inverse
.brand
:hover
{
.navbar-inverse
.brand
:hover
{
background-color
:
#333
;
color
:
#808080
;
background-color
:
transparent
;
}
.navbar-inverse
.navbar-text
{
color
:
#999999
;
}
}
.navbar-inverse
.nav
>
li
>
a
{
.navbar-inverse
.nav
>
li
>
a
{
...
...
docs/assets/css/docs.css
View file @
f5352017
...
@@ -111,6 +111,13 @@ section > ul li {
...
@@ -111,6 +111,13 @@ section > ul li {
color
:
rgba
(
255
,
255
,
255
,
.25
);
color
:
rgba
(
255
,
255
,
255
,
.25
);
}
}
/* Subhead (other docs pages)
------------------------- */
.subhead
{
text-align
:
left
;
}
/* Marketing section of Overview
/* Marketing section of Overview
...
@@ -204,10 +211,10 @@ section > ul li {
...
@@ -204,10 +211,10 @@ section > ul li {
/* From here, start to affix the nav because we keep columns here */
/* 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
:
10
px
;
top
:
54
px
;
}
}
.bs-docs-sidenav
{
.bs-docs-sidenav
{
width
:
1
89
px
;
width
:
1
70
px
;
}
}
}
}
...
...
less/navbar.less
View file @
f5352017
...
@@ -115,11 +115,17 @@
...
@@ -115,11 +115,17 @@
background-color: @navbar-inverse-bg;
background-color: @navbar-inverse-bg;
.brand {
.brand {
color:
#fff
;
color:
@navbar-inverse-brand-color
;
&:hover {
&:hover {
background-color: #333;
color: @navbar-inverse-brand-color-hover;
background-color: @navbar-inverse-brand-bg-hover;
}
}
}
}
.navbar-text {
color: @navbar-inverse-text;
}
.nav > li > a {
.nav > li > a {
color: @navbar-inverse-link-color;
color: @navbar-inverse-link-color;
}
}
...
...
less/variables.less
View file @
f5352017
...
@@ -171,24 +171,29 @@
...
@@ -171,24 +171,29 @@
@navbar-link-bg-hover: transparent;
@navbar-link-bg-hover: transparent;
@navbar-link-bg-active: darken(@navbar-bg, 10%);
@navbar-link-bg-active: darken(@navbar-bg, 10%);
// Inverted navbar
// Inverted navbar
@navbar-inverse-text: @grayLight;
@navbar-inverse-bg: #222;
@navbar-inverse-bg: #222;
@navbar-inverse-text: @grayLight;
// Inverted navbar brand label
@navbar-inverse-link-color: @grayLight;
@navbar-inverse-brand-color: @navbar-inverse-link-color;
@navbar-inverse-link-color-hover: #fff;
@navbar-inverse-brand-color-hover: darken(@navbar-inverse-link-color, 10%);
@navbar-inverse-link-color-active: @navbar-inverse-link-color-hover;
@navbar-inverse-brand-bg-hover: transparent;
@navbar-inverse-link-bg-hover: transparent;
@navbar-inverse-link-bg-active: @navbar-inverse-bg;
// Inverted navbar links
@navbar-inverse-link-color: @grayLight;
@navbar-inverse-search-background: lighten(@navbar-inverse-bg, 25%);
@navbar-inverse-link-color-hover: #fff;
@navbar-inverse-search-background-focus: #fff;
@navbar-inverse-link-color-active: @navbar-inverse-link-color-hover;
@navbar-inverse-search-border: @navbar-inverse-bg;
@navbar-inverse-link-bg-hover: transparent;
@navbar-inverse-search-placeholder-color: #ccc;
@navbar-inverse-link-bg-active: @navbar-inverse-bg;
// Inverted navbar search
// Normal navbar needs no special styles or vars
@navbar-inverse-search-background: lighten(@navbar-inverse-bg, 25%);
@navbar-inverse-search-background-focus: #fff;
@navbar-inverse-search-border: @navbar-inverse-bg;
@navbar-inverse-search-placeholder-color: #ccc;
@navbar-inverse-brand-color: @navbar-inverse-link-color;
// Pagination
// Pagination
...
...
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