mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 19:57:36 +08:00
Collapsed groupbox should have small height #PL-5199
This commit is contained in:
parent
6d6f85c37b
commit
f3e4f0ac2b
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -28,6 +28,10 @@
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.#{$primary-stylename}.collapsed > .#{$primary-stylename}-content {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.#{$primary-stylename}-captionwrap {
|
||||
display: block;
|
||||
font-size: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user