Collapsed groupbox should have small height #PL-5199

This commit is contained in:
Yuriy Artamonov 2015-04-07 11:38:17 +00:00
parent 6d6f85c37b
commit f3e4f0ac2b
4 changed files with 22 additions and 2 deletions

View File

@ -27,7 +27,7 @@
}
.#{$primary-stylename}-slot.inline > .v-caption .v-captiontext {
padding-bottom: 0px;
padding-bottom: 0;
}
// set line-height for all captions exclude captions for CheckBox and Label

View File

@ -5,6 +5,7 @@
// Version: $Id$
//noinspection ALL
@mixin halo-cuba-groupbox($primary-stylename : cuba-groupbox) {
@include valo-panel($primary-stylename);
@include halo-panel($primary-stylename);
@ -102,6 +103,21 @@
}
}
.#{$primary-stylename}.collapsed > .#{$primary-stylename}-captionwrap {
.#{$primary-stylename}-caption-end-deco,
.#{$primary-stylename}-caption-start-deco {
height: round(2*$v-unit-size/3);
div {
height: round($v-unit-size/3);
}
}
}
.#{$primary-stylename}.collapsed > .#{$primary-stylename}-content {
padding-bottom: 0;
}
.#{$primary-stylename}-expander {
width: round($v-unit-size/3);
height: round($v-unit-size/3);

View File

@ -29,7 +29,7 @@
}
.#{$primary-stylename}-slot.inline > .v-caption .v-captiontext {
padding-bottom: 0px;
padding-bottom: 0;
}
// set line-height 25px for all captions exclude captions for CheckBox and Label

View File

@ -28,6 +28,10 @@
border: 0;
}
.#{$primary-stylename}.collapsed > .#{$primary-stylename}-content {
padding-bottom: 0;
}
.#{$primary-stylename}-captionwrap {
display: block;
font-size: 0;