2016-08-25 15:53:31 +08:00
|
|
|
/**
|
|
|
|
* 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
|
2024-02-11 22:31:11 +08:00
|
|
|
* @version 1.7.1
|
2016-08-25 15:53:31 +08:00
|
|
|
*/
|
2015-08-23 21:49:51 +08:00
|
|
|
|
|
|
|
body {
|
2015-09-18 15:31:17 +08:00
|
|
|
padding: 0 0 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.navbar-spacing {
|
|
|
|
padding-top: 70px;
|
2015-08-23 21:49:51 +08:00
|
|
|
}
|
|
|
|
|
2017-02-18 03:46:10 +08:00
|
|
|
body.loading {
|
|
|
|
cursor: wait;
|
|
|
|
}
|
|
|
|
|
2016-08-09 21:06:21 +08:00
|
|
|
.buttondisabled {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
2015-09-18 03:55:28 +08:00
|
|
|
.navbar-nav {
|
2015-09-21 02:05:48 +08:00
|
|
|
margin: 0 8px;
|
2016-08-11 02:20:36 +08:00
|
|
|
}
|
|
|
|
|
2016-08-12 23:03:08 +08:00
|
|
|
.nav.navbar-nav > li {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
2016-08-11 02:20:36 +08:00
|
|
|
.navbar-brand {
|
2016-08-21 22:51:54 +08:00
|
|
|
padding: 6px 4px 0 8px;
|
2015-09-18 03:55:28 +08:00
|
|
|
}
|
|
|
|
|
2016-08-12 23:03:08 +08:00
|
|
|
.navbar-form {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2015-09-18 03:55:28 +08:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2016-06-19 01:24:01 +08:00
|
|
|
.pull-right .dropdown-menu {
|
2016-06-24 16:53:46 +08:00
|
|
|
margin-left: -5em;
|
2016-06-19 01:24:01 +08:00
|
|
|
}
|
|
|
|
|
2016-06-24 16:53:46 +08:00
|
|
|
#language {
|
|
|
|
margin-right: 8px;
|
2016-06-19 01:30:07 +08:00
|
|
|
}
|
|
|
|
|
2017-02-12 22:35:37 +08:00
|
|
|
#attachmentPreview img {
|
2015-09-19 03:41:50 +08:00
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
2015-09-19 20:22:29 +08:00
|
|
|
margin-bottom: 20px;
|
2015-09-19 03:41:50 +08:00
|
|
|
}
|
|
|
|
|
2017-02-12 22:35:37 +08:00
|
|
|
#attachmentPreview .pdfPreview {
|
|
|
|
width: 100%;
|
|
|
|
height: 100vh;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2019-08-16 07:28:42 +08:00
|
|
|
#dropzone {
|
|
|
|
text-align: center;
|
2019-08-21 14:24:56 +08:00
|
|
|
position: fixed;
|
2019-08-16 07:28:42 +08:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 1000;
|
|
|
|
opacity: 0.6;
|
|
|
|
background-color: #99ccff;
|
|
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z'/%3E%3C/svg%3E");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: 25vh;
|
|
|
|
outline: 2px dashed #228bff;
|
|
|
|
outline-offset: -50px;
|
|
|
|
}
|
|
|
|
|
2017-02-12 22:35:37 +08:00
|
|
|
.dragAndDropFile{
|
2019-08-16 07:28:42 +08:00
|
|
|
color: #777;
|
|
|
|
font-size: 1em;
|
|
|
|
display: inline;
|
|
|
|
white-space: normal;
|
2017-02-12 22:35:37 +08:00
|
|
|
}
|
|
|
|
|
2015-08-23 21:49:51 +08:00
|
|
|
#deletelink {
|
|
|
|
float: right;
|
2017-11-26 22:59:12 +08:00
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#qrcodemodalClose {
|
|
|
|
float: right;
|
|
|
|
}
|
2023-09-19 13:29:49 +08:00
|
|
|
|
2017-11-26 22:59:12 +08:00
|
|
|
#qrcode-display {
|
|
|
|
width: 200px;
|
|
|
|
height: 200px;
|
|
|
|
margin: auto;
|
2015-08-23 21:49:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#pastelink {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2016-06-19 01:03:33 +08:00
|
|
|
#pastelink > a {
|
2016-06-19 01:06:05 +08:00
|
|
|
word-wrap: break-word;
|
2016-06-19 01:03:33 +08:00
|
|
|
}
|
|
|
|
|
2016-07-11 17:09:41 +08:00
|
|
|
#preview {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2019-08-19 20:46:01 +08:00
|
|
|
#message, .replymessage {
|
2015-08-24 00:07:38 +08:00
|
|
|
font-family: monospace;
|
2019-08-19 20:46:01 +08:00
|
|
|
resize: vertical;
|
2015-08-24 00:07:38 +08:00
|
|
|
}
|
|
|
|
|
2015-08-23 21:49:51 +08:00
|
|
|
#nickname {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
|
2015-09-05 23:12:11 +08:00
|
|
|
#comments, #comments button {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2019-08-16 07:28:42 +08:00
|
|
|
#filewrap {
|
|
|
|
transition: background-color 0.75s ease-out;
|
|
|
|
}
|
|
|
|
|
2015-08-23 21:49:51 +08:00
|
|
|
.comment {
|
|
|
|
border-left: 1px solid #ccc;
|
2015-09-05 23:12:11 +08:00
|
|
|
padding: 5px 0 5px 10px;
|
2015-08-23 21:49:51 +08:00
|
|
|
white-space: pre-wrap;
|
2017-02-18 03:46:10 +08:00
|
|
|
transition: background-color 0.75s ease-out;
|
2015-08-23 21:49:51 +08:00
|
|
|
}
|
2015-09-05 08:24:56 +08:00
|
|
|
|
2019-08-16 07:28:42 +08:00
|
|
|
.highlight {
|
2017-02-18 03:46:10 +08:00
|
|
|
background-color: #ffdd86;
|
|
|
|
transition: background-color 0.2s ease-in;
|
|
|
|
}
|
|
|
|
|
2015-09-05 23:12:11 +08:00
|
|
|
footer h4 {
|
2015-09-05 08:24:56 +08:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
2015-09-05 23:12:11 +08:00
|
|
|
|
|
|
|
li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
|
|
|
|
list-style-type: decimal !important;
|
2016-06-19 01:03:33 +08:00
|
|
|
}
|
2018-10-02 08:06:44 +08:00
|
|
|
|
|
|
|
.dark-theme .alert-info .alert-link {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2019-08-20 23:57:22 +08:00
|
|
|
|
|
|
|
/* address 2K or 4K monitors when using bootstrap 3 */
|
|
|
|
@media (min-width: 1280px) {
|
|
|
|
.container {
|
|
|
|
width: 100%;
|
|
|
|
padding-left: 4ch;
|
|
|
|
padding-right: 4ch;
|
|
|
|
}
|
|
|
|
}
|
2019-08-22 05:36:22 +08:00
|
|
|
|
|
|
|
.modal-dialog {
|
|
|
|
margin: auto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* makeup for the original margin on modal-dialog */
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.modal-content {
|
|
|
|
margin: 30px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-content {
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-body {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal .modal-content button {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
2023-09-19 13:29:49 +08:00
|
|
|
|
|
|
|
/* right-to-left overrides */
|
|
|
|
html[dir="rtl"] .checkbox label {
|
|
|
|
padding-left: inherit;
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
html[dir="rtl"] .checkbox input[type="checkbox"] {
|
|
|
|
margin-left: inherit;
|
|
|
|
margin-right: -20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
html[dir="rtl"] #language {
|
|
|
|
margin-left: inherit;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
html[dir="rtl"] #deletelink, html[dir="rtl"] #qrcodemodalClose {
|
|
|
|
float: left;
|
|
|
|
}
|