1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 13:13:03 +02:00

Use consistent arrow class (#28105)

This commit is contained in:
Peter Blazejewicz
2019-02-11 11:27:14 +01:00
committed by XhmikosR
parent 049a500d18
commit cbd333185e
7 changed files with 20 additions and 20 deletions

View File

@@ -17,7 +17,7 @@
@include border-radius($popover-border-radius);
@include box-shadow($popover-box-shadow);
.arrow {
.popover-arrow {
position: absolute;
display: block;
width: $popover-arrow-width;
@@ -38,7 +38,7 @@
.bs-popover-top {
margin-bottom: $popover-arrow-height;
> .arrow {
> .popover-arrow {
bottom: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
&::before {
@@ -58,7 +58,7 @@
.bs-popover-right {
margin-left: $popover-arrow-height;
> .arrow {
> .popover-arrow {
left: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
width: $popover-arrow-height;
height: $popover-arrow-width;
@@ -81,7 +81,7 @@
.bs-popover-bottom {
margin-top: $popover-arrow-height;
> .arrow {
> .popover-arrow {
top: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
&::before {
@@ -113,7 +113,7 @@
.bs-popover-left {
margin-right: $popover-arrow-height;
> .arrow {
> .popover-arrow {
right: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
width: $popover-arrow-height;
height: $popover-arrow-width;

View File

@@ -14,7 +14,7 @@
&.show { opacity: $tooltip-opacity; }
.arrow {
.tooltip-arrow {
position: absolute;
display: block;
width: $tooltip-arrow-width;
@@ -32,7 +32,7 @@
.bs-tooltip-top {
padding: $tooltip-arrow-height 0;
.arrow {
.tooltip-arrow {
bottom: 0;
&::before {
@@ -46,7 +46,7 @@
.bs-tooltip-right {
padding: 0 $tooltip-arrow-height;
.arrow {
.tooltip-arrow {
left: 0;
width: $tooltip-arrow-height;
height: $tooltip-arrow-width;
@@ -62,7 +62,7 @@
.bs-tooltip-bottom {
padding: $tooltip-arrow-height 0;
.arrow {
.tooltip-arrow {
top: 0;
&::before {
@@ -76,7 +76,7 @@
.bs-tooltip-left {
padding: 0 $tooltip-arrow-height;
.arrow {
.tooltip-arrow {
right: 0;
width: $tooltip-arrow-height;
height: $tooltip-arrow-width;