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
48e7468e
Commit
48e7468e
authored
Aug 12, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
invert dropdown styles in navbar for inverse variation
parent
80eb09cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
1 deletion
+55
-1
dist/css/bootstrap.css
dist/css/bootstrap.css
+23
-0
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/navbar.less
less/navbar.less
+31
-0
No files found.
dist/css/bootstrap.css
View file @
48e7468e
...
...
@@ -3415,6 +3415,29 @@ button.close {
border-bottom-color
:
#ffffff
;
}
@media
(
max-width
:
767px
)
{
.navbar-inverse
.navbar-nav
.open
.dropdown-menu
>
li
>
a
{
color
:
#999999
;
}
.navbar-inverse
.navbar-nav
.open
.dropdown-menu
>
li
>
a
:hover
,
.navbar-inverse
.navbar-nav
.open
.dropdown-menu
>
li
>
a
:focus
{
color
:
#ffffff
;
background-color
:
transparent
;
}
.navbar-inverse
.navbar-nav
.open
.dropdown-menu
>
.active
>
a
,
.navbar-inverse
.navbar-nav
.open
.dropdown-menu
>
.active
>
a
:hover
,
.navbar-inverse
.navbar-nav
.open
.dropdown-menu
>
.active
>
a
:focus
{
color
:
#ffffff
;
background-color
:
#080808
;
}
.navbar-inverse
.navbar-nav
.open
.dropdown-menu
>
.disabled
>
a
,
.navbar-inverse
.navbar-nav
.open
.dropdown-menu
>
.disabled
>
a
:hover
,
.navbar-inverse
.navbar-nav
.open
.dropdown-menu
>
.disabled
>
a
:focus
{
color
:
#444444
;
background-color
:
transparent
;
}
}
@media
screen
and
(
min-width
:
768px
)
{
.navbar-nav
{
float
:
left
;
...
...
dist/css/bootstrap.min.css
View file @
48e7468e
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/navbar.less
View file @
48e7468e
...
...
@@ -419,7 +419,38 @@
}
}
}
@media (max-width: @screen-phone-max) {
// Dropdowns get custom display
.open .dropdown-menu {
> li > a {
color: @navbar-inverse-link-color;
&:hover,
&:focus {
color: @navbar-inverse-link-hover-color;
background-color: @navbar-inverse-link-hover-bg;
}
}
> .active > a {
&,
&:hover,
&:focus {
color: @navbar-inverse-link-active-color;
background-color: @navbar-inverse-link-active-bg;
}
}
> .disabled > a {
&,
&:hover,
&:focus {
color: @navbar-inverse-link-disabled-color;
background-color: @navbar-inverse-link-disabled-bg;
}
}
}
}
}
}
...
...
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