mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
2c82279292
apart from resolving conflicts: - added missing docs - inlined functions that were used in only one location - updated unit test to support all previews - fixed a regression that displayed the preview even when there was no preview and too early
147 lines
2.0 KiB
CSS
147 lines
2.0 KiB
CSS
/**
|
|
* PrivateBin
|
|
*
|
|
* a zero-knowledge paste bin
|
|
*
|
|
* @link https://github.com/PrivateBin/PrivateBin
|
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
|
* @version 1.1.1
|
|
*/
|
|
|
|
body {
|
|
padding: 0 0 30px;
|
|
}
|
|
|
|
body.navbar-spacing {
|
|
padding-top: 70px;
|
|
}
|
|
|
|
body.loading {
|
|
cursor: wait;
|
|
}
|
|
|
|
.buttondisabled {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.navbar-nav {
|
|
margin: 0 8px;
|
|
}
|
|
|
|
.nav.navbar-nav > li {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.navbar-brand {
|
|
padding: 6px 4px 0 8px;
|
|
}
|
|
|
|
.navbar-form {
|
|
padding: 0;
|
|
}
|
|
|
|
.dropdown-menu > li > label, .dropdown-menu > li > div {
|
|
clear: both;
|
|
display: block;
|
|
font-weight: normal;
|
|
line-height: 1.42857;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dropdown-menu > li > label {
|
|
color: #333;
|
|
padding: 3px 20px 3px 40px;
|
|
}
|
|
|
|
.dropdown-menu > li > div {
|
|
color: #777;
|
|
padding: 3px 20px;
|
|
cursor: default;
|
|
}
|
|
|
|
.pull-right .dropdown-menu {
|
|
margin-left: -5em;
|
|
}
|
|
|
|
#language {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
#attachmentPreview img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#attachmentPreview .pdfPreview {
|
|
width: 100%;
|
|
height: 100vh;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.dragAndDropFile{
|
|
color:#777;
|
|
font-size:1em;
|
|
display:inline;
|
|
}
|
|
|
|
|
|
#deletelink {
|
|
float: right;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
#qrcodemodalClose {
|
|
float: right;
|
|
}
|
|
#qrcode-display {
|
|
width: 200px;
|
|
height: 200px;
|
|
margin: auto;
|
|
}
|
|
|
|
#pastelink {
|
|
display: inline;
|
|
}
|
|
|
|
#pastelink > a {
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
#preview {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#message {
|
|
font-family: monospace;
|
|
}
|
|
|
|
#nickname {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
#comments, #comments button {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.comment {
|
|
border-left: 1px solid #ccc;
|
|
padding: 5px 0 5px 10px;
|
|
white-space: pre-wrap;
|
|
transition: background-color 0.75s ease-out;
|
|
}
|
|
|
|
.comment.highlight {
|
|
background-color: #ffdd86;
|
|
transition: background-color 0.2s ease-in;
|
|
}
|
|
|
|
footer h4 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
|
|
list-style-type: decimal !important;
|
|
}
|