6adf6f18b4
- Reduce icon size - Fix alignment - Use specific icon (also used in core) as dialog triggers Simplify expanders ("title bars") by removing icons based on uno command (that trigger dialogs) so to: - Avoid user confusion between those icons and the similar icons from within the group - Improve information hierarchy (dialog triggers icons should not be at the same level as the other action within the sidebar) - Use a common symbol (same icon) to communicate "Open dialog to see more actions" Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: Ib060dda2ba1584ce4e0ac132617a4b2900df42d7
126 lines
No EOL
2.2 KiB
CSS
126 lines
No EOL
2.2 KiB
CSS
.sidebar.cell {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.sidebar * {
|
|
font-family: var(--jquery-ui-font);
|
|
text-transform: none !important;
|
|
}
|
|
|
|
.sidebar .ui-content .unobutton {
|
|
margin: 0px;
|
|
width: 24px;
|
|
height: 24px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#document-container:not(.mobile) + #sidebar-dock-wrapper {
|
|
width: 322px;
|
|
padding: 0;
|
|
border-left: 1px solid var(--gray-color) !important;
|
|
margin-top: 0px !important;
|
|
}
|
|
|
|
.sidebar.spinfield {
|
|
max-width: 100px;
|
|
border: 1px solid #CCC;
|
|
padding: 0.2em 0 0.2em 0.2em;
|
|
border-radius: 3px;
|
|
height: 28px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sidebar.ui-listbox {
|
|
font-size: 13px;
|
|
height: 28px;
|
|
box-sizing: border-box;
|
|
padding: 0 14px 0 4px;
|
|
min-width: auto;
|
|
}
|
|
|
|
.sidebar.ui-expander {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 280px;
|
|
align-items: center;
|
|
}
|
|
|
|
.sidebar.ui-drawing-area {
|
|
max-width: 330px;
|
|
}
|
|
|
|
.sidebar.ui-expander-label {
|
|
color: var(--gray-light-txt--color);
|
|
font-size: 11px;
|
|
line-height: 23px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sidebar.ui-expander-label.expanded {
|
|
padding-left: 14px;
|
|
font-size: 11px;
|
|
line-height: 23px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sidebar.ui-expander-label.expanded:before {
|
|
margin-right: 0;
|
|
position: absolute;
|
|
left: 14px;
|
|
}
|
|
|
|
.sidebar.root-container.jsdialog > .jsdialog.sidebar {
|
|
width: 100%;
|
|
}
|
|
|
|
.sidebar-container > .root-container.jsdialog.sidebar {
|
|
margin: 0;
|
|
}
|
|
|
|
td.jsdialog .jsdialog.cell.sidebar {
|
|
padding: 4px 4px 4px 0;
|
|
width: auto;
|
|
}
|
|
|
|
.sidebar.jsdialog.checkbutton {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.sidebar .menu-entry-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.sidebar.unotoolbutton,
|
|
.sidebar #resetattr,
|
|
.sidebar #FormatPaintbrush{
|
|
border: 1px solid transparent;
|
|
margin-right: 5px;
|
|
}
|
|
.sidebar.unotoolbutton:hover,
|
|
.sidebar #resetattr:hover,
|
|
.sidebar #FormatPaintbrush:hover {
|
|
border-color: #cccccc;
|
|
background-color: #eeeeee;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.sidebar #font select,
|
|
.sidebar #fontsizecombobox select {
|
|
margin: 0;
|
|
}
|
|
|
|
.ui-expander.jsdialog.sidebar .ui-expander-icon-right,
|
|
.ui-expander.jsdialog.sidebar .ui-expander-icon-right * {
|
|
display: block;
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
.ui-expander.jsdialog.sidebar .ui-expander-icon-right img {
|
|
filter: brightness(2);
|
|
}
|
|
|
|
.ui-expander.jsdialog.sidebar .ui-expander-icon-right:hover img {
|
|
filter: none;
|
|
} |