X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/resources/themes/stylesheets/ext4/default/widgets/_btn-group.scss diff --git a/resources/themes/stylesheets/ext4/default/widgets/_btn-group.scss b/resources/themes/stylesheets/ext4/default/widgets/_btn-group.scss index beb27859..c11b60d1 100644 --- a/resources/themes/stylesheets/ext4/default/widgets/_btn-group.scss +++ b/resources/themes/stylesheets/ext4/default/widgets/_btn-group.scss @@ -3,18 +3,20 @@ position: relative; overflow: hidden; } - + .#{$prefix}btn-group-body { position: relative; zoom: 1; - padding: $btn-group-padding; + .#{$prefix}table-layout-cell { + vertical-align: top; + } } - + .#{$prefix}btn-group-header-text { white-space: nowrap; } - + @include extjs-btn-group-ui('default'); } @@ -25,16 +27,16 @@ @mixin extjs-btn-group-ui( $ui-label, $ui-base-color: null, - + // background $ui-background-color: $btn-group-background-color, - + // borders $ui-border-color: $btn-group-border-color, $ui-border-width: $btn-group-border-width, $ui-border-radius: $btn-group-border-radius, $ui-inner-border-color: $btn-group-inner-border-color, - + //header $ui-header-background-color: $btn-group-header-background-color, $ui-header-font: $btn-group-header-font, @@ -43,18 +45,18 @@ @include x-frame( 'btn-group', $ui: '#{$ui-label}-framed', - + /* Radius, width, padding and background-color */ - $border-radius: $ui-border-radius, - $border-width: $ui-border-width, - $padding: $btn-group-padding, + $border-radius: $ui-border-radius, + $border-width: $ui-border-width, + $padding: $btn-group-padding, $background-color: $ui-background-color ); - + .#{$prefix}btn-group-#{$ui-label}-framed { border-color: $ui-border-color; @include inner-border( - $width: $btn-group-inner-border-width, + $width: $btn-group-inner-border-width, $color: $ui-inner-border-color ); } @@ -70,7 +72,7 @@ @include border-top-radius($ui-border-radius); } - + .#{$prefix}btn-group-header-text-#{$ui-label}-framed { font: $ui-header-font; color: $ui-header-color;