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
a8316c78
Commit
a8316c78
authored
Jul 18, 2012
by
Purwandi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.1.0-wip' of
https://github.com/twitter/bootstrap
into develop
parents
51c9fa16
39f8996d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
9 deletions
+57
-9
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+35
-4
less/dropdowns.less
less/dropdowns.less
+13
-3
less/navs.less
less/navs.less
+8
-1
less/variables.less
less/variables.less
+1
-1
No files found.
docs/assets/css/bootstrap.css
View file @
a8316c78
...
@@ -2623,7 +2623,7 @@ table .span24 {
...
@@ -2623,7 +2623,7 @@ table .span24 {
.dropdown-menu
a
{
.dropdown-menu
a
{
display
:
block
;
display
:
block
;
padding
:
3px
15
px
;
padding
:
3px
20
px
;
clear
:
both
;
clear
:
both
;
font-weight
:
normal
;
font-weight
:
normal
;
line-height
:
20px
;
line-height
:
20px
;
...
@@ -2633,9 +2633,17 @@ table .span24 {
...
@@ -2633,9 +2633,17 @@ table .span24 {
.dropdown-menu
li
>
a
:hover
,
.dropdown-menu
li
>
a
:hover
,
.dropdown-menu
li
>
a
:focus
{
.dropdown-menu
li
>
a
:focus
{
color
:
#
333333
;
color
:
#
ffffff
;
text-decoration
:
none
;
text-decoration
:
none
;
background-color
:
#eeeeee
;
background-color
:
#0088cc
;
background-color
:
#0081c2
;
background-image
:
-moz-linear-gradient
(
top
,
#0088cc
,
#0077b3
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#0088cc
),
to
(
#0077b3
));
background-image
:
-webkit-linear-gradient
(
top
,
#0088cc
,
#0077b3
);
background-image
:
-o-linear-gradient
(
top
,
#0088cc
,
#0077b3
);
background-image
:
linear-gradient
(
to
bottom
,
#0088cc
,
#0077b3
);
background-repeat
:
repeat-x
;
filter
:
progid
:
dximagetransform
.
microsoft
.
gradient
(
startColorstr
=
'#ff0088cc'
,
endColorstr
=
'#ff0077b3'
,
GradientType
=
0
);
}
}
.dropdown-menu
.active
>
a
,
.dropdown-menu
.active
>
a
,
...
@@ -2643,7 +2651,15 @@ table .span24 {
...
@@ -2643,7 +2651,15 @@ table .span24 {
color
:
#ffffff
;
color
:
#ffffff
;
text-decoration
:
none
;
text-decoration
:
none
;
background-color
:
#0088cc
;
background-color
:
#0088cc
;
background-color
:
#0081c2
;
background-image
:
linear-gradient
(
to
bottom
,
#0088cc
,
#0077b3
);
background-image
:
-moz-linear-gradient
(
top
,
#0088cc
,
#0077b3
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#0088cc
),
to
(
#0077b3
));
background-image
:
-webkit-linear-gradient
(
top
,
#0088cc
,
#0077b3
);
background-image
:
-o-linear-gradient
(
top
,
#0088cc
,
#0077b3
);
background-repeat
:
repeat-x
;
outline
:
0
;
outline
:
0
;
filter
:
progid
:
dximagetransform
.
microsoft
.
gradient
(
startColorstr
=
'#ff0088cc'
,
endColorstr
=
'#ff0077b3'
,
GradientType
=
0
);
}
}
.dropdown-menu
.disabled
>
a
,
.dropdown-menu
.disabled
>
a
,
...
@@ -2657,6 +2673,11 @@ table .span24 {
...
@@ -2657,6 +2673,11 @@ table .span24 {
background-color
:
transparent
;
background-color
:
transparent
;
}
}
.dropdown
.dropdown-menu
.nav-header
{
padding-right
:
20px
;
padding-left
:
20px
;
}
.open
{
.open
{
*
z-index
:
1000
;
*
z-index
:
1000
;
}
}
...
@@ -3659,13 +3680,23 @@ input[type="submit"].btn.btn-mini {
...
@@ -3659,13 +3680,23 @@ input[type="submit"].btn.btn-mini {
border-bottom-color
:
#005580
;
border-bottom-color
:
#005580
;
}
}
/* move down carets for tabs */
.nav-tabs
.dropdown-toggle
.caret
{
margin-top
:
8px
;
}
.nav
.active
.dropdown-toggle
.caret
{
.nav
.active
.dropdown-toggle
.caret
{
border-top-color
:
#fff
;
border-top-color
:
#fff
;
border-bottom-color
:
#fff
;
border-bottom-color
:
#fff
;
}
}
.nav-tabs
.active
.dropdown-toggle
.caret
{
border-top-color
:
#555555
;
border-bottom-color
:
#555555
;
}
.nav
>
.dropdown.active
>
a
:hover
{
.nav
>
.dropdown.active
>
a
:hover
{
color
:
#fff
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
...
...
less/dropdowns.less
View file @
a8316c78
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
// Links within the dropdown menu
// Links within the dropdown menu
a {
a {
display: block;
display: block;
padding: 3px
15
px;
padding: 3px
20
px;
clear: both;
clear: both;
font-weight: normal;
font-weight: normal;
line-height: @baseLineHeight;
line-height: @baseLineHeight;
...
@@ -98,8 +98,9 @@
...
@@ -98,8 +98,9 @@
.dropdown-menu li > a:hover,
.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus {
.dropdown-menu li > a:focus {
text-decoration: none;
text-decoration: none;
color: @dropdownLinkColor
Active
;
color: @dropdownLinkColor
Hover
;
background-color: @dropdownLinkBackgroundHover;
background-color: @dropdownLinkBackgroundHover;
#gradient > .vertical(@dropdownLinkBackgroundHover, darken(@dropdownLinkBackgroundHover, 5%));
}
}
// Active state
// Active state
...
@@ -108,8 +109,9 @@
...
@@ -108,8 +109,9 @@
.dropdown-menu .active > a:hover {
.dropdown-menu .active > a:hover {
color: @dropdownLinkColorHover;
color: @dropdownLinkColorHover;
text-decoration: none;
text-decoration: none;
background-color: @dropdownLinkBackgroundActive;
outline: 0;
outline: 0;
background-color: @dropdownLinkBackgroundActive;
#gradient > .vertical(@dropdownLinkBackgroundActive, darken(@dropdownLinkBackgroundActive, 5%));
}
}
// Disabled state
// Disabled state
...
@@ -126,6 +128,14 @@
...
@@ -126,6 +128,14 @@
cursor: default;
cursor: default;
}
}
// Tweak nav headers
// -----------------
// Increase padding from 15px to 20px on sides
.dropdown .dropdown-menu .nav-header {
padding-left: 20px;
padding-right: 20px;
}
// Open state for the dropdown
// Open state for the dropdown
// ---------------------------
// ---------------------------
.open {
.open {
...
...
less/navs.less
View file @
a8316c78
...
@@ -213,6 +213,10 @@
...
@@ -213,6 +213,10 @@
border-top-color: @linkColorHover;
border-top-color: @linkColorHover;
border-bottom-color: @linkColorHover;
border-bottom-color: @linkColorHover;
}
}
/* move down carets for tabs */
.nav-tabs .dropdown-toggle .caret {
margin-top: 8px;
}
// Active dropdown links
// Active dropdown links
// -------------------------
// -------------------------
...
@@ -220,11 +224,14 @@
...
@@ -220,11 +224,14 @@
border-top-color: #fff;
border-top-color: #fff;
border-bottom-color: #fff;
border-bottom-color: #fff;
}
}
.nav-tabs .active .dropdown-toggle .caret {
border-top-color: @gray;
border-bottom-color: @gray;
}
// Active:hover dropdown links
// Active:hover dropdown links
// -------------------------
// -------------------------
.nav > .dropdown.active > a:hover {
.nav > .dropdown.active > a:hover {
color: #fff;
cursor: pointer;
cursor: pointer;
}
}
...
...
less/variables.less
View file @
a8316c78
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
@dropdownLinkColor: @grayDark;
@dropdownLinkColor: @grayDark;
@dropdownLinkColorHover: @white;
@dropdownLinkColorHover: @white;
@dropdownLinkBackgroundHover: @
grayLighter
;
@dropdownLinkBackgroundHover: @
dropdownLinkBackgroundActive
;
@dropdownLinkColorActive: @dropdownLinkColor;
@dropdownLinkColorActive: @dropdownLinkColor;
@dropdownLinkBackgroundActive: @linkColor;
@dropdownLinkBackgroundActive: @linkColor;
...
...
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