Skip to content

Commit

Permalink
sidebar: add icons for style deck
Browse files Browse the repository at this point in the history
do not show bitmaps from core, use svgs instead

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib3fe0bc7c4192d25a5c9d2304005b051570d15a7
  • Loading branch information
eszkadev committed Nov 29, 2024
1 parent 7b70a58 commit 58b0c01
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 0 deletions.
16 changes: 16 additions & 0 deletions browser/css/jssidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -356,3 +356,19 @@ span.jsdialog.sidebar.ui-treeview-notexpandable {
#NavigatorDeck .ui-expander {
display: none;
}

/* Styles deck */
#StyleListPanelPanelExpander [id='2'] button { background: transparent url('images/lc_parastyle.svg') no-repeat center; }
#StyleListPanelPanelExpander [id='1'] button { background: transparent url('images/lc_charstyle.svg') no-repeat center; }
#StyleListPanelPanelExpander [id='3'] button { background: transparent url('images/lc_framestyle.svg') no-repeat center; }
#StyleListPanelPanelExpander [id='4'] button { background: transparent url('images/lc_pagestyle.svg') no-repeat center; }
#StyleListPanelPanelExpander [id='5'] button { background: transparent url('images/lc_liststyle.svg') no-repeat center; }
#StyleListPanelPanelExpander [id='6'] button { background: transparent url('images/lc_tablestyle.svg') no-repeat center; }

#StyleListPanelPanelExpander #left.toolbox button {
background-size: cover;
}

#StyleListPanelPanelExpander #left.toolbox img {
visibility: hidden;
}
1 change: 1 addition & 0 deletions browser/images/lc_charstyle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions browser/images/lc_framestyle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions browser/images/lc_liststyle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions browser/images/lc_pagestyle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 58b0c01

Please sign in to comment.