Skip to content

Commit c487891

Browse files
banobepascaleszkadev
authored andcommitted
impress: Align theme popup to the top of the notebookbar
- Aligns the theme popup to the top edge of the Notebookbar - Sets the popup height to auto so all theme icons are fully visible Signed-off-by: Banobe Pascal <banobe.pascal@collabora.com> Change-Id: I50b51e2378e5a67543b61f6f7fcd7387def82eb6
1 parent 2dc8ea9 commit c487891

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

browser/css/notebookbar.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ label.notebookbar.ui-checkbox-label {
474474
/* Styles preview */
475475
.jsdialog #stylesview:not(.sidebar),
476476
.jsdialog #masterpageall_icons:not(.sidebar),
477-
.jsdialog #transitions_icons:not(.sidebar) {
477+
.jsdialog #transitions_icons:not(.sidebar),
478+
.jsdialog #iconview_theme_colors:not(.sidebar) {
478479
height: auto !important;
479480
min-height: 64px !important;
480481
border: none !important;
@@ -569,14 +570,24 @@ label.notebookbar.ui-checkbox-label {
569570
}
570571

571572
#masterpageall_icons-dropdown,
572-
#stylesview-dropdown {
573+
#stylesview-dropdown,
574+
#iconview_theme_colors-dropdown {
573575
margin-top: 37px !important;
574576
}
575577

576578
#transitions_icons-dropdown {
577579
margin-top: 42px !important;
578580
}
579581

582+
.jsdialog#iconview_theme_colors:not(.sidebar) {
583+
gap: 8px !important;
584+
padding: 8px 0 !important;
585+
}
586+
587+
#iconview_theme_colors:not(.sidebar) .ui-iconview-entry img {
588+
border: 1px solid transparent;
589+
}
590+
580591
#stylesview:hover {
581592
filter: none;
582593
}

0 commit comments

Comments
 (0)