libreoffice-online/loleaflet/css/partsPreviewControl.css
Pedro Pinto Silva 175ac6e740 CSS lint: Code refactoring
- Detected many duplicated selectors within the same file (squashed them)
- Detected inconsistency (sometimes spaces sometimes tabs). Tabify as in JS.
- Detected quotes' inconsistency (sometimes none, sometimes '', sometimes ""). Use '' as in JS
- Avoid touching on files from 3rd party sources (jquery, w2ui), ignore files

Change-Id: Idd82945f29ac6c5c9f522e5d5df4a783a367654d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102009
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-08 17:02:30 +02:00

51 lines
993 B
CSS

#document-container.parts-preview-document {
left: 214px;
}
#slide-sorter {
height: 100%
}
#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: 2px solid #dfdfdf;
margin-left: 20px;
}
/* The current part the user is on. */
.preview-img-currentpart {
border-color: #000000;
border-style: solid;
}
/* One of (potentially many) selected parts, but not the current. */
.preview-img-selectedpart {
border-color: #0b87e780 !important;
border-style: solid;
}
/* Highlight where a slide can be dropped when reordering by drag-and-drop. */
.preview-img-dropsite {
border-bottom: 20px solid #b6b6b6;
}