diff options
author | Peter Blazejewicz <peterblazejewicz@users.noreply.github.com> | 2019-02-11 13:27:14 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-02-20 23:05:45 +0300 |
commit | cbd333185e3407c6c0b8ade77ff4bb8be8238045 (patch) | |
tree | 29ddcfe91cabf080ed567ebb5c3a747728f3f187 /scss | |
parent | 049a500d18b1d00dcdceac11df6590fb3c182793 (diff) |
Use consistent arrow class (#28105)
Diffstat (limited to 'scss')
-rw-r--r-- | scss/_popover.scss | 10 | ||||
-rw-r--r-- | scss/_tooltip.scss | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/scss/_popover.scss b/scss/_popover.scss index f205e66818..fe70dd071f 100644 --- a/scss/_popover.scss +++ b/scss/_popover.scss @@ -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; diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss index 6b3aa62dd6..4d405e0319 100644 --- a/scss/_tooltip.scss +++ b/scss/_tooltip.scss @@ -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; |