libreoffice-online/loleaflet/css/jssidebar.css
Pedro Pinto Silva 2d5d34be2d JS Sidebar: Fix textorientbox (calc)
Do not show radio buttons in this case since we have images
for each option (radio images and  textorient options images
were overlapping ) also fix width and add hover state

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7e3d8ef4da400024137d0c9207c67807ded281c5
2021-08-05 09:29:09 +02:00

136 lines
No EOL
2.4 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: 280px;
}
.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;
}
#table-textorientbox.sidebar .jsdialog .radiobutton {
border: 1px solid transparent;
}
.sidebar.unotoolbutton:hover,
.sidebar #resetattr:hover,
.sidebar #FormatPaintbrush:hover,
#table-textorientbox.sidebar .jsdialog .radiobutton: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;
}
#table-textorientbox.sidebar .jsdialog input[type='radio'] {
background: none !important;
width: auto;
height: auto;
}