overleaf/services/web/public/stylesheets/app/editor/binary-file.less

48 lines
909 B
Text
Raw Normal View History

2014-07-03 16:05:50 +00:00
.binary-file {
padding: @line-height-computed / 2;
background-color: @gray-lightest;
text-align: center;
overflow: auto;
2014-07-03 16:05:50 +00:00
img {
max-width: 100%;
max-height: 90%;
display: block;
margin: auto;
margin-bottom: @line-height-computed / 2;
border: 1px solid @gray;
2014-07-03 16:19:57 +00:00
.box-shadow(0 2px 3px @gray;);
background-color: white;
2014-07-03 16:05:50 +00:00
}
.img-preview {
background: url('/img/spinner.gif') no-repeat;
min-width: 200px;
min-height: 200px;
}
2014-07-03 16:05:50 +00:00
p.no-preview {
font-size: 24px;
color: @gray;
}
2016-05-19 09:02:46 +00:00
.bib-loading {
font-size: 24px;
color: @gray;
margin-bottom: 12px;
}
2016-05-17 16:00:14 +00:00
.bib-preview {
margin-bottom: 12px;
.scroll-container {
font-size: 0.8em;
line-height: 1.1em;
overflow: auto;
border: 1px solid @gray-lighter;
padding-left: 12px;
padding-right: 12px;
padding-top: 8px;
padding-bottom: 8px;
text-align: left;
white-space: pre;
font-family: monospace;
}
}
2014-07-03 16:05:50 +00:00
}