Skip to content

Commit

Permalink
notebookbar: add more cond format styles
Browse files Browse the repository at this point in the history
Signed-off-by: Szymon Kłos <[email protected]>
Change-Id: I57a3e0aaf35a91b1d307b43c90758dd483e6996e
  • Loading branch information
eszkadev authored and timar committed Oct 26, 2023
1 parent 5c44942 commit 4e0a2a8
Show file tree
Hide file tree
Showing 14 changed files with 50 additions and 2 deletions.
48 changes: 48 additions & 0 deletions browser/css/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,30 @@ button.leaflet-control-search-next
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.scaleset06 { background: url('images/scale-set-06.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.scaleset07 { background: url('images/scale-set-07.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.scaleset08 { background: url('images/scale-set-08.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.scaleset09 { background: url('images/scale-set-09.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.scaleset10 { background: url('images/scale-set-10.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.scaleset11 { background: url('images/scale-set-11.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }

.w2ui-icon.databarset00 { background: url('images/databar-set-00.png') no-repeat;
background-size: 32px 32px !important;
Expand All @@ -904,6 +928,30 @@ button.leaflet-control-search-next
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.databarset06 { background: url('images/databar-set-06.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.databarset07 { background: url('images/databar-set-07.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.databarset08 { background: url('images/databar-set-08.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.databarset09 { background: url('images/databar-set-09.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.databarset10 { background: url('images/databar-set-10.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }
.w2ui-icon.databarset11 { background: url('images/databar-set-11.png') no-repeat;
background-size: 32px 32px !important;
width: 32px !important;
height: 32px !important; }

.w2ui-icon.print{ background: url('images/lc_print.svg') no-repeat center; }
.w2ui-icon.undo{ background: url('images/lc_undo.svg') no-repeat center; }
Expand Down
Binary file added browser/images/databar-set-06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/databar-set-07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/databar-set-08.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/databar-set-09.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/databar-set-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/databar-set-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/scale-set-06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/scale-set-07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/scale-set-08.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/scale-set-09.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/scale-set-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/images/scale-set-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions browser/src/control/Control.Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,14 @@ global.getConditionalFormatMenuHtml = getConditionalFormatMenuHtml;

// for color scale conditional formatting
function getConditionalColorScaleMenuHtml(more, jsdialogDropdown) {
return getConditionalFormatMenuHtmlImpl(more, 'scaleset', 6, '.uno:ColorScaleFormatDialog', jsdialogDropdown);
return getConditionalFormatMenuHtmlImpl(more, 'scaleset', 12, '.uno:ColorScaleFormatDialog', jsdialogDropdown);
}

global.getConditionalColorScaleMenuHtml = getConditionalColorScaleMenuHtml;

// for data bar conditional formatting
function getConditionalDataBarMenuHtml(more, jsdialogDropdown) {
return getConditionalFormatMenuHtmlImpl(more, 'databarset', 6, '.uno:DataBarFormatDialog', jsdialogDropdown);
return getConditionalFormatMenuHtmlImpl(more, 'databarset', 12, '.uno:DataBarFormatDialog', jsdialogDropdown);
}

global.getConditionalDataBarMenuHtml = getConditionalDataBarMenuHtml;
Expand Down

0 comments on commit 4e0a2a8

Please sign in to comment.