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
0441bbba
Commit
0441bbba
authored
Mar 31, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more consisten dropdown vars
parent
896ee794
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
less/dropdowns.less
less/dropdowns.less
+7
-7
less/variables.less
less/variables.less
+5
-5
No files found.
less/dropdowns.less
View file @
0441bbba
...
...
@@ -45,7 +45,7 @@
padding: 5px 0;
margin: 2px 0 0; // override default ul
list-style: none;
background-color: @dropdown-b
ackground
;
background-color: @dropdown-b
g
;
border: 1px solid #ccc; // IE8 fallback
border: 1px solid @dropdown-border;
border-radius: @border-radius-base;
...
...
@@ -81,8 +81,8 @@
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
text-decoration: none;
color: @dropdown-link-
color-hove
r;
#gradient > .vertical(@dropdown-link-
background-hover, darken(@dropdown-link-background-hover
, 5%));
color: @dropdown-link-
hover-colo
r;
#gradient > .vertical(@dropdown-link-
hover-bg, darken(@dropdown-link-hover-bg
, 5%));
}
// Active state
...
...
@@ -90,10 +90,10 @@
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
color: @dropdown-link-
color-active
;
color: @dropdown-link-
active-color
;
text-decoration: none;
outline: 0;
#gradient > .vertical(@dropdown-link-
background-active, darken(@dropdown-link-background-active
, 5%));
#gradient > .vertical(@dropdown-link-
active-bg, darken(@dropdown-link-active-bg
, 5%));
}
// Disabled state
...
...
@@ -185,12 +185,12 @@
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: darken(@dropdown-b
ackground
, 20%);
border-left-color: darken(@dropdown-b
g
, 20%);
margin-top: 5px;
margin-right: -10px;
}
.dropdown-submenu:hover > a:after {
border-left-color: @dropdown-link-
color-hove
r;
border-left-color: @dropdown-link-
hover-colo
r;
}
// Left aligned submenus
...
...
less/variables.less
View file @
0441bbba
...
...
@@ -126,17 +126,17 @@
// Dropdowns
// -------------------------
@dropdown-b
ackground:
#fff;
@dropdown-b
g:
#fff;
@dropdown-border: rgba(0,0,0,.15);
@dropdown-divider-top: #e5e5e5;
@dropdown-divider-bottom: #fff;
@dropdown-link-color: @grayDark;
@dropdown-link-
color-hove
r: #fff;
@dropdown-link-
color-active: #fff
;
@dropdown-link-
hover-colo
r: #fff;
@dropdown-link-
hover-bg: @dropdown-link-active-bg
;
@dropdown-link-
background-active: @component-active-bg
;
@dropdown-link-
background-hover: @dropdown-link-background-active
;
@dropdown-link-
active-color: #fff
;
@dropdown-link-
active-bg: @component-active-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