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
847adb7d
Commit
847adb7d
authored
Feb 02, 2014
by
Cina S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tightening up popover arrow css scope to apply only to direct descendant arrows.
parent
02ae5a27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
less/popovers.less
less/popovers.less
+7
-7
No files found.
less/popovers.less
View file @
847adb7d
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
//
//
// .arrow is outer, .arrow:after is inner
// .arrow is outer, .arrow:after is inner
.popover .arrow {
.popover
>
.arrow {
&,
&,
&:after {
&:after {
position: absolute;
position: absolute;
...
@@ -59,16 +59,16 @@
...
@@ -59,16 +59,16 @@
border-style: solid;
border-style: solid;
}
}
}
}
.popover .arrow {
.popover
>
.arrow {
border-width: @popover-arrow-outer-width;
border-width: @popover-arrow-outer-width;
}
}
.popover .arrow:after {
.popover
>
.arrow:after {
border-width: @popover-arrow-width;
border-width: @popover-arrow-width;
content: "";
content: "";
}
}
.popover {
.popover {
&.top .arrow {
&.top
>
.arrow {
left: 50%;
left: 50%;
margin-left: -@popover-arrow-outer-width;
margin-left: -@popover-arrow-outer-width;
border-bottom-width: 0;
border-bottom-width: 0;
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
border-top-color: @popover-arrow-color;
border-top-color: @popover-arrow-color;
}
}
}
}
&.right .arrow {
&.right
>
.arrow {
top: 50%;
top: 50%;
left: -@popover-arrow-outer-width;
left: -@popover-arrow-outer-width;
margin-top: -@popover-arrow-outer-width;
margin-top: -@popover-arrow-outer-width;
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
border-right-color: @popover-arrow-color;
border-right-color: @popover-arrow-color;
}
}
}
}
&.bottom .arrow {
&.bottom
>
.arrow {
left: 50%;
left: 50%;
margin-left: -@popover-arrow-outer-width;
margin-left: -@popover-arrow-outer-width;
border-top-width: 0;
border-top-width: 0;
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
}
}
}
}
&.left .arrow {
&.left
>
.arrow {
top: 50%;
top: 50%;
right: -@popover-arrow-outer-width;
right: -@popover-arrow-outer-width;
margin-top: -@popover-arrow-outer-width;
margin-top: -@popover-arrow-outer-width;
...
...
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