Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
7763cab6
Commit
7763cab6
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge branch '2.1.2-wip' of
https://github.com/advancedrei/bootstrap
into advancedrei-2.1.2-wip
parents
5cf7c803
6aa15eb0
1 merge request
!5450
Fixed copy and paste caused typo in CAROUSEL DATA-API
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/dropdowns.less
+34
-1
less/dropdowns.less
with
34 additions
and
1 deletion
+34
-1
less/dropdowns.less
+
34
-
1
View file @
7763cab6
...
@@ -163,7 +163,6 @@
...
@@ -163,7 +163,6 @@
.dropdown-submenu {
.dropdown-submenu {
position: relative;
position: relative;
}
}
// Default dropdowns
// Default dropdowns
.dropdown-submenu > .dropdown-menu {
.dropdown-submenu > .dropdown-menu {
top: 0;
top: 0;
...
@@ -207,6 +206,40 @@
...
@@ -207,6 +206,40 @@
border-left-color: @dropdownLinkColorHover;
border-left-color: @dropdownLinkColorHover;
}
}
// Left-opening Sub menus
// ---------------------------
.dropdown-submenu-left {
position: relative;
}
.dropdown-submenu-left > .dropdown-menu {
top: 0;
left: -100%;
margin-top: -6px;
margin-left: -1px;
-webkit-border-radius: 6px 0px 6px 6px;
-moz-border-radius: 6px 0px 6px 6px;
border-radius: 6px 0px 6px 6px;
}
.dropdown-submenu-left:hover > .dropdown-menu {
display: block;
}
.dropdown-submenu-left > a:before {
display: block;
content: " ";
float: left;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 5px 5px 0px;
border-right-color: darken(@dropdownBackground, 20%);
margin-top: 5px;
margin-left: -10px;
}
.dropdown-submenu-left:hover > a:after {
border-right-color: @dropdownLinkColorHover;
}
// Tweak nav headers
// Tweak nav headers
// -----------------
// -----------------
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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