/** * @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-skew-class} { border-radius: #{$skew-x $skew-x} 0 0 / #{$skew-y $skew-y} 0 0; } //-------------------- ButtonGroup --------------------// .#{$vendor-prefix}button-group.#{$shape-skew-class} { border-top-left-radius: $skew; border-top-right-radius: $skew; border-bottom-left-radius: 0; border-bottom-right-radius: 0; @include button-group-first-child { border-top-left-radius: $skew; border-bottom-left-radius: 0; } @include button-group-last-child { border-top-right-radius: $skew; border-bottom-right-radius: 0; } } .#{$vendor-prefix}button-group--vertical { &.#{$shape-skew-class} { border-top-left-radius: $skew-y 1.5rem; border-bottom-left-radius: $skew-y 1.5rem; @include button-group-first-child { border-top-left-radius: $skew-reverse; } @include button-group-last-child { border-bottom-left-radius: $skew-reverse; border-top-right-radius: 0; } } &.#{$shape-skew-class}-reverse { border-top-right-radius: $skew-y 1.25rem; border-bottom-right-radius: $skew-y 1.25rem; @include button-group-first-child { border-top-right-radius: $skew-reverse; } @include button-group-last-child { border-bottom-right-radius: $skew-reverse; } } } //-------------------- Pagination --------------------// .#{$vendor-prefix}pagination--grouped.#{$shape-skew-class} { ul { border-radius: #{$skew-x $skew-x} 0 0 / #{$skew-y $skew-y} 0 0; } li:first-child a { border-radius: #{$skew-x} 0 0 0 / #{$skew-y} 0 0 0; } li:last-child a { border-radius: 0 #{$skew-x} 0 0 / 0 #{$skew-y} 0 0; } } //-------------------- Visual --------------------// .#{$vendor-prefix}visual-gloss.#{$shape-skew-class}:after { width: 90%; left: 5.5%; border-radius: 1rem 1rem 3rem 3rem / 1rem 1rem 2rem 2rem; }