/** * @copyright 2010-2013, The Titon Project * @license http://opensource.org/licenses/bsd-license.php * @link http://titon.io */ @import "../common"; //-------------------- Button --------------------// .#{$vendor-prefix}button.pill { border-radius: $pill; } //-------------------- ButtonGroup --------------------// .#{$vendor-prefix}button-group.pill { border-radius: $pill; > li:first-child .#{$vendor-prefix}button, > .#{$vendor-prefix}button:first-child, > .#{$vendor-prefix}button.first { border-top-left-radius: $pill; border-bottom-left-radius: $pill; } > li:last-child .#{$vendor-prefix}button, > .#{$vendor-prefix}button:last-child, > .#{$vendor-prefix}button.last { border-top-right-radius: $pill; border-bottom-right-radius: $pill; } } .#{$vendor-prefix}button-group--vertical.pill { border-radius: $pill; > li:first-child .#{$vendor-prefix}button, > .#{$vendor-prefix}button:first-child { border-top-left-radius: $pill; border-top-right-radius: $pill; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } > li:last-child .#{$vendor-prefix}button, > .#{$vendor-prefix}button: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.pill { 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.pill { border-radius: $pill; .#{$vendor-prefix}progress-bar { border-top-left-radius: $pill; border-bottom-left-radius: $pill; } } //-------------------- Visual --------------------// .#{$vendor-prefix}visual-gloss.pill:after { width: 90%; left: 5.5%; border-radius: 1rem 1rem 2rem 2rem / 1rem 1rem 1rem 1rem; }