/** * @copyright 2010-2014, The Titon Project * @license http://opensource.org/licenses/BSD-3-Clause * @link http://titon.io */ @import "../common"; //-------------------- Button --------------------// .#{$vendor-prefix}button.#{$shape-pill-class} { border-radius: $pill; } //-------------------- ButtonGroup --------------------// .#{$vendor-prefix}button-group.#{$shape-pill-class} { border-radius: $pill; @include button-group-first-child { border-top-left-radius: $pill; border-bottom-left-radius: $pill; } @include button-group-last-child { border-top-right-radius: $pill; border-bottom-right-radius: $pill; } } .#{$vendor-prefix}button-group--vertical.#{$shape-pill-class} { border-radius: $pill; @include button-group-first-child { border-top-left-radius: $pill; border-top-right-radius: $pill; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } @include button-group-last-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-left-radius: $pill; border-bottom-right-radius: $pill; } } //-------------------- Pagination --------------------// .#{$vendor-prefix}pagination--grouped.#{$shape-pill-class} { ul { border-radius: $pill; } li:first-child a { border-top-left-radius: $pill; border-bottom-left-radius: $pill; } li:last-child a { border-top-right-radius: $pill; border-bottom-right-radius: $pill; } } //-------------------- Progress --------------------// .#{$vendor-prefix}progress.#{$shape-pill-class} { border-radius: $pill; .#{$vendor-prefix}progress-bar:first-child { border-top-left-radius: $pill; border-bottom-left-radius: $pill; } } //-------------------- Switch --------------------// .#{$vendor-prefix}switch.#{$shape-pill-class} { border-radius: $pill; .#{$vendor-prefix}switch-toggle { border-radius: $pill; } } //-------------------- Visual --------------------// .#{$vendor-prefix}visual-gloss.#{$shape-pill-class}:after { width: 90%; left: 5.5%; border-radius: 1rem 1rem 2rem 2rem / 1rem 1rem 1rem 1rem; }