Sha256: a1d4a6ab9ebf23ff202af9ffab395a6d0d63fb5fb6050c5120cd8eb6068942bd
Contents?: true
Size: 1.89 KB
Versions: 10
Compression:
Stored size: 1.89 KB
Contents
/** * @copyright 2010-2015, The Titon Project * @license http://opensource.org/licenses/BSD-3-Clause * @link http://titon.io */ @import "../common"; @include export("popover") { $popover-arrow-width-double: ($popover-arrow-width * 2); $popover-arrow-width-shadow: ($popover-arrow-width - 2); #{$popover-class} { position: absolute; top: 0; left: 0; margin: $margin; padding: 0; border: 0; z-index: $popover-zindex; max-width: 300px; visibility: hidden; &.center-left #{$popover-class-arrow}, &.center-right #{$popover-class-arrow} { top: 50%; margin-top: -#{$popover-arrow-width}px; } &.center-left #{$popover-class-arrow} { border-left-color: $gray; right: -#{$popover-arrow-width-double}px; } &.center-right #{$popover-class-arrow} { border-right-color: $gray; left: -#{$popover-arrow-width-double}px; } &.top-center #{$popover-class-arrow}, &.bottom-center #{$popover-class-arrow} { left: 50%; margin-left: -#{$popover-arrow-width}px; } &.top-center #{$popover-class-arrow} { border-top-color: $gray; bottom: -#{$popover-arrow-width-double}px; } &.bottom-center #{$popover-class-arrow} { border-bottom-color: $gray; top: -#{$popover-arrow-width-double}px; } } #{$popover-class-head}, #{$popover-class-body} { padding: $small-padding; } #{$popover-class-arrow} { border: #{$popover-arrow-width}px solid transparent; &::after { border: #{$popover-arrow-width-shadow}px solid transparent; top: -#{$popover-arrow-width-shadow}px; left: -#{$popover-arrow-width-shadow}px; } } }
Version data entries
10 entries across 10 versions & 1 rubygems