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
f94d9ce0
Commit
f94d9ce0
authored
Jul 25, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '3.0.0-wip' of
https://github.com/saas786/bootstrap
into 3.0.0-wip
parents
768e7eda
a06afd83
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
114 additions
and
22 deletions
+114
-22
_includes/nav-customize.html
_includes/nav-customize.html
+1
-0
customize.html
customize.html
+54
-0
less/navbar.less
less/navbar.less
+7
-7
less/navs.less
less/navs.less
+15
-15
less/variables.less
less/variables.less
+37
-0
No files found.
_includes/nav-customize.html
View file @
f94d9ce0
...
...
@@ -12,6 +12,7 @@
<li><a
href=
"#variables-form-states"
>
Form states
</a></li>
<li><a
href=
"#variables-alerts"
>
Alerts
</a></li>
<li><a
href=
"#variables-navbar"
>
Navbar
</a></li>
<li><a
href=
"#variables-nav"
>
Nav
</a></li>
<li><a
href=
"#variables-tables"
>
Tables
</a></li>
<li><a
href=
"#variables-forms"
>
Forms
</a></li>
<li><a
href=
"#variables-dropdowns"
>
Dropdowns
</a></li>
...
...
customize.html
View file @
f94d9ce0
...
...
@@ -724,6 +724,13 @@ lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to ge
<input
type=
"text"
placeholder=
"darken(@navbar-link-color, 10%)"
>
<label>
@navbar-brand-hover-bg
</label>
<input
type=
"text"
placeholder=
"transparent"
>
<h4>
Toggle
</h4>
<label>
@navbar-toggle-hover-bg
</label>
<input
type=
"text"
placeholder=
"#ddd"
>
<label>
@navbar-toggle-icon-bar-bg
</label>
<input
type=
"text"
placeholder=
"#ccc"
>
<label>
@navbar-toggle-border-color
</label>
<input
type=
"text"
placeholder=
"#ddd"
>
</div>
<div
class=
"col-lg-6"
>
<h3>
Inverted navbar
</h3>
...
...
@@ -754,9 +761,56 @@ lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to ge
<input
type=
"text"
placeholder=
"#fff"
>
<label>
@navbar-inverse-brand-hover-bg
</label>
<input
type=
"text"
placeholder=
"transparent"
>
<h4>
Toggle
</h4>
<label>
@navbar-inverse-toggle-hover-bg
</label>
<input
type=
"text"
placeholder=
"#333"
>
<label>
@navbar-inverse-toggle-icon-bar-bg
</label>
<input
type=
"text"
placeholder=
"#fff"
>
<label>
@navbar-inverse-toggle-border-color
</label>
<input
type=
"text"
placeholder=
"#333"
>
</div>
</div>
<h2
id=
"variables-nav"
>
Nav
</h2>
<div
class=
"row"
>
<div
class=
"col-lg-6"
>
<h3>
Default nav
</h3>
<h4>
Basics
</h4>
<label>
@nav-link-hover-bg
</label>
<input
type=
"text"
placeholder=
"@gray-lighter"
>
<label>
@nav-disabled-link-color
</label>
<input
type=
"text"
placeholder=
"@gray-light"
>
<label>
@nav-disabled-link-hover-color
</label>
<input
type=
"text"
placeholder=
"@gray-light"
>
<label>
@nav-open-link-hover-color
</label>
<input
type=
"text"
placeholder=
"#fff"
>
<label>
@nav-open-caret-border-color
</label>
<input
type=
"text"
placeholder=
"@fff"
>
<h4>
Tabs
</h4>
<label>
@nav-tabs-border-color
</label>
<input
type=
"text"
placeholder=
"@ddd"
>
<label>
@nav-tabs-link-hover-border-color
</label>
<input
type=
"text"
placeholder=
"@gray-lighter"
>
<label>
@nav-tabs-active-link-hover-color
</label>
<input
type=
"text"
placeholder=
"@gray"
>
<label>
@nav-tabs-active-link-hover-bg
</label>
<input
type=
"text"
placeholder=
"@body-bg"
>
<label>
@nav-tabs-active-link-hover-border-color
</label>
<input
type=
"text"
placeholder=
"#ddd"
>
<label>
@nav-tabs-justified-link-border-color
</label>
<input
type=
"text"
placeholder=
"#ddd"
>
<label>
@nav-tabs-justified-active-link-border-color
</label>
<input
type=
"text"
placeholder=
"@body-bg"
>
<h4>
Pills
</h4>
<label>
@nav-pills-active-link-hover-color
</label>
<input
type=
"text"
placeholder=
"@fff"
>
<label>
@nav-pills-active-link-hover-bg
</label>
<input
type=
"text"
placeholder=
"@component-active-bg"
>
</div>
</div>
<h2
id=
"variables-tables"
>
Tables
</h2>
<div
class=
"row"
>
<div
class=
"col-lg-6"
>
...
...
less/navbar.less
View file @
f94d9ce0
...
...
@@ -123,12 +123,12 @@
height: 32px;
padding: 8px 12px;
background-color: transparent;
border: 1px solid
#ddd
;
border-radius:
4px
;
border: 1px solid
@navbar-toggle-border-color
;
border-radius:
@border-radius-base
;
&:hover,
&:focus {
background-color:
#ddd
;
background-color:
@navbar-toggle-hover-bg
;
}
// Bars
...
...
@@ -136,7 +136,7 @@
display: block;
width: 22px;
height: 2px;
background-color:
#ccc
;
background-color:
@navbar-toggle-icon-bar-bg
;
border-radius: 1px;
}
.icon-bar + .icon-bar {
...
...
@@ -250,13 +250,13 @@
// Darken the responsive nav toggle
.navbar-toggle {
border-color:
#333
;
border-color:
@navbar-inverse-toggle-border-color
;
&:hover,
&:focus {
background-color:
#333
;
background-color:
@navbar-inverse-toggle-hover-bg
;
}
.icon-bar {
background-color:
#fff
;
background-color:
@navbar-inverse-toggle-icon-bar-bg
;
}
}
...
...
less/navs.less
View file @
f94d9ce0
...
...
@@ -23,17 +23,17 @@
&:hover,
&:focus {
text-decoration: none;
background-color: @
gray-lighter
;
background-color: @
nav-link-hover-bg
;
}
}
// Disabled state sets text to gray and nukes hover/tab effects
&.disabled > a {
color: @
gray-light
;
color: @
nav-disabled-link-color
;
&:hover,
&:focus {
color: @
gray-light
;
color: @
nav-disabled-link-hover-color
;
text-decoration: none;
background-color: transparent;
cursor: not-allowed;
...
...
@@ -51,12 +51,12 @@
&,
&:hover,
&:focus {
color:
#fff
;
color:
@nav-open-link-hover-color
;
background-color: @link-color;
border-color: @link-color;
.caret {
border-top-color:
#fff
;
border-bottom-color:
#fff
;
border-top-color:
@nav-open-caret-border-color
;
border-bottom-color:
@nav-open-caret-border-color
;
}
}
}
...
...
@@ -83,7 +83,7 @@
// Give the tabs something to sit on
.nav-tabs {
border-bottom: 1px solid
#ddd
;
border-bottom: 1px solid
@nav-tabs-border-color
;
> li {
float: left;
// Make the list-items overlay the bottom border
...
...
@@ -96,7 +96,7 @@
border: 1px solid transparent;
border-radius: @border-radius-base @border-radius-base 0 0;
&:hover {
border-color: @
gray-lighter @gray-lighter #ddd
;
border-color: @
nav-tabs-link-hover-border-color
;
}
}
...
...
@@ -105,9 +105,9 @@
&,
&:hover,
&:focus {
color: @
gray
;
background-color: @
body
-bg;
border: 1px solid
#ddd
;
color: @
nav-tabs-active-link-hover-color
;
background-color: @
nav-tabs-active-link-hover
-bg;
border: 1px solid
@nav-tabs-active-link-hover-border-color
;
border-bottom-color: transparent;
cursor: default;
}
...
...
@@ -142,8 +142,8 @@
&,
&:hover,
&:focus {
color:
#fff
;
background-color: @
component-active
-bg;
color:
@nav-pills-active-link-hover-color
;
background-color: @
nav-pills-active-link-hover
-bg;
}
}
}
...
...
@@ -183,13 +183,13 @@
.nav-tabs-justified {
border-bottom: 0;
> li > a {
border-bottom: 1px solid
#ddd
;
border-bottom: 1px solid
@nav-tabs-justified-link-border-color
;
// Override margin from .nav-tabs
margin-right: 0;
}
> .active > a {
border-bottom-color: @
body-bg
;
border-bottom-color: @
nav-tabs-justified-active-link-border-color
;
}
}
...
...
less/variables.less
View file @
f94d9ce0
...
...
@@ -224,6 +224,43 @@
@navbar-inverse-search-border: @navbar-inverse-bg;
@navbar-inverse-search-placeholder-color: #ccc;
// Navbar toggle
@navbar-toggle-hover-bg: #ddd;
@navbar-toggle-icon-bar-bg: #ccc;
@navbar-toggle-border-color: #ddd;
// Inverted navbar toggle
@navbar-inverse-toggle-hover-bg: #333;
@navbar-inverse-toggle-icon-bar-bg: #fff;
@navbar-inverse-toggle-border-color: #333;
// Navs
// -------------------------
@nav-link-hover-bg: @gray-lighter;
@nav-disabled-link-color: @gray-light;
@nav-disabled-link-hover-color: @gray-light;
@nav-open-link-hover-color: #fff;
@nav-open-caret-border-color: #fff;
// Tabs
@nav-tabs-border-color: #ddd;
@nav-tabs-link-hover-border-color: @gray-lighter;
@nav-tabs-active-link-hover-bg: @body-bg;
@nav-tabs-active-link-hover-color: @gray;
@nav-tabs-active-link-hover-border-color: #ddd;
@nav-tabs-justified-link-border-color: #ddd;
@nav-tabs-justified-active-link-border-color: @body-bg;
// Pills
@nav-pills-active-link-hover-bg: @component-active-bg;
@nav-pills-active-link-hover-color: #fff;
// 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