JSDialog: PivotTable: Increase contrast between expander states...

- between collapsed and expanded (via text color and icon brightness)
- also add subtle radius to treeview border

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Icbed88b8d6d36feac4076cccae7eed62e9c58509
This commit is contained in:
Pedro Pinto Silva 2020-12-09 14:49:38 +01:00 committed by pedropintosilva
parent 3073581de8
commit 9bc7240f30

View file

@ -64,6 +64,15 @@ td.jsdialog > [id^='table-box'] {
.jsdialog.ui-expander {
box-shadow: 0 1px 0px 0 #f1f1f1;
}
#options.ui-expander {
margin-top: 8px;
}
.ui-expander-label {
color: #666;
}
.ui-expander-label::before {
content: '>';
color: transparent;
@ -78,10 +87,12 @@ td.jsdialog > [id^='table-box'] {
transform: rotate(90deg);
left: 16px;
background: transparent url('images/lc_menu_chevron.svg') no-repeat center;
filter: brightness(0.5);
}
.ui-expander-label.expanded {
padding-left: 14px; /*adding extra padding to account for image absolute position*/
color: #444;
}
.ui-expander:hover {
@ -96,6 +107,7 @@ td.jsdialog > [id^='table-box'] {
.ui-treeview {
display: block;
border: 1px solid silver;
border-radius: 2px;
}
.ui-treeview-body {