libreoffice-online/browser/css/partsPreviewControl.css

59 lines
1.3 KiB
CSS
Raw Normal View History

#slide-sorter {
white-space: nowrap;
overflow-x: hidden;
overflow-y: visible;
background: var(--color-background-lighter);
max-height: 100%;
scrollbar-color: var(--color-background-darker) var(--color-background-lighter);
scrollbar-width: thin;
}
#sidebar-panel {
height: 100%
}
.preview-frame {
max-width: 190px;
white-space: nowrap;
text-align: center;
margin: 1em 0;
}
.preview-helper {
display: inline-block;
height: 100%;
vertical-align: middle;
}
.preview-img {
/* In draw docs, the width of previews are small, but we want a min of 160px to align it with document's left edge */
min-width: 160px;
vertical-align: middle;
max-width: 164px;
cursor: pointer;
border: 3px solid transparent !important;
outline: 3px solid var(--color-border);
box-sizing: border-box;
margin-left: 10px;
margin-right: 10px;
}
/* The current part the user is on. */
.preview-img-currentpart {
border-color: var(--color-background-lighter) !important;
outline-color: var(--color-primary-dark);
}
/* One of (potentially many) selected parts, but not the current. */
.preview-img-selectedpart {
border-color: var(--color-primary) !important;
}
/* Highlight where a slide can be dropped when reordering by drag-and-drop. */
.preview-img-dropsite {
border-bottom: 20px solid var(--color-primary);
}
.hidden-slide {
opacity: 0.5;
}