481 lines
7.5 KiB
CSS
481 lines
7.5 KiB
CSS
/* Layout and component styles for the browser UI. */
|
|
body {
|
|
padding: 0 0 30px;
|
|
}
|
|
|
|
body.loading {
|
|
cursor: wait;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.buttondisabled {
|
|
opacity: 0.3;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.opacity-05-1-hover {
|
|
opacity: 0.5;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.opacity-05-1-hover:hover,
|
|
.opacity-05-1-hover:focus-visible {
|
|
opacity: 1;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
--bs-dropdown-min-width: 23rem;
|
|
}
|
|
|
|
pre {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
[data-bs-theme='light'] pre,
|
|
[data-bs-theme='light'] .card {
|
|
background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity, 1));
|
|
}
|
|
|
|
li.L0,
|
|
li.L1,
|
|
li.L2,
|
|
li.L3,
|
|
li.L4,
|
|
li.L5,
|
|
li.L6,
|
|
li.L7,
|
|
li.L8,
|
|
li.L9 {
|
|
color: revert !important;
|
|
list-style-type: decimal !important;
|
|
}
|
|
|
|
[data-bs-theme='dark'] li.L1,
|
|
[data-bs-theme='dark'] li.L3,
|
|
[data-bs-theme='dark'] li.L5,
|
|
[data-bs-theme='dark'] li.L7,
|
|
[data-bs-theme='dark'] li.L9 {
|
|
background-color: var(--bs-gray-dark) !important;
|
|
}
|
|
|
|
.text-right button {
|
|
float: right;
|
|
}
|
|
|
|
html[dir='rtl'] #deletelink {
|
|
float: left;
|
|
}
|
|
|
|
.navbar-form {
|
|
padding: 0;
|
|
}
|
|
|
|
#brand-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.125rem 0;
|
|
}
|
|
|
|
#brand-icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 10px 24px rgba(16, 35, 53, 0.14);
|
|
transition:
|
|
transform 0.18s ease,
|
|
box-shadow 0.18s ease;
|
|
}
|
|
|
|
#brand-link:hover #brand-icon,
|
|
#brand-link:focus-visible #brand-icon {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 14px 28px rgba(16, 35, 53, 0.2);
|
|
}
|
|
|
|
[data-bs-theme='dark'] #brand-icon {
|
|
box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
[data-bs-theme='dark'] #brand-link:hover #brand-icon,
|
|
[data-bs-theme='dark'] #brand-link:focus-visible #brand-icon {
|
|
box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
#expiration .form-select,
|
|
#formatter .form-select {
|
|
width: auto;
|
|
max-width: 100%;
|
|
}
|
|
|
|
#password .input-group {
|
|
width: 15.5rem;
|
|
max-width: 100%;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
#password .input-group > .btn,
|
|
#passwordmodal .input-group > .btn {
|
|
width: auto;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
#attachmentPreview {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
#attachmentPreview img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#attachmentPreview iframe,
|
|
#attachmentPreview embed,
|
|
#attachmentPreview .pdfPreview {
|
|
width: 100%;
|
|
height: 100vh;
|
|
margin-bottom: 20px;
|
|
border: 0;
|
|
}
|
|
|
|
#attachmentPreview .attachment-preview-label {
|
|
margin-bottom: 0.75rem;
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
#attachment .alert {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
#dropzone {
|
|
text-align: center;
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
opacity: 0.6;
|
|
background-color: #9cf;
|
|
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 #28f;
|
|
outline-offset: -50px;
|
|
}
|
|
|
|
[data-bs-theme='dark'] #dropzone {
|
|
background-color: rgba(13, 110, 253, 0.35);
|
|
outline-color: #86b7fe;
|
|
}
|
|
|
|
#filewrap {
|
|
transition: background-color 0.75s ease-out;
|
|
}
|
|
|
|
#deletelink {
|
|
float: right;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
#qrcode-display {
|
|
width: 200px;
|
|
margin: auto;
|
|
}
|
|
|
|
#qrcode-display canvas,
|
|
#qrcode-display svg {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
#pastelink {
|
|
display: inline;
|
|
}
|
|
|
|
#pastelink > a,
|
|
#plaintext > a {
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
#message {
|
|
height: 70dvh;
|
|
}
|
|
|
|
@media ((max-width: 450px) and (max-height: 950px)) {
|
|
#message {
|
|
height: 55dvh;
|
|
}
|
|
}
|
|
|
|
#message,
|
|
.replymessage {
|
|
font-family: var(--bs-font-monospace);
|
|
resize: vertical;
|
|
}
|
|
|
|
#placeholder,
|
|
#plaintext,
|
|
#prettyprint {
|
|
word-break: break-word;
|
|
}
|
|
|
|
#placeholder {
|
|
padding: 0.75rem 0;
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
#plaintext {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
#plaintext.markdown-view {
|
|
white-space: normal;
|
|
}
|
|
|
|
#plaintext.markdown-view p:last-child,
|
|
#plaintext.markdown-view ul:last-child,
|
|
#plaintext.markdown-view pre:last-child,
|
|
#plaintext.markdown-view h1:last-child,
|
|
#plaintext.markdown-view h2:last-child,
|
|
#plaintext.markdown-view h3:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#plaintext.markdown-view pre {
|
|
padding: 1rem;
|
|
background: var(--bs-tertiary-bg);
|
|
border-radius: var(--bs-border-radius);
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
#plaintext.markdown-view code {
|
|
font-family: var(--bs-font-monospace);
|
|
}
|
|
|
|
#plaintext.markdown-view table {
|
|
width: 100%;
|
|
margin-bottom: 1rem;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
#plaintext.markdown-view th,
|
|
#plaintext.markdown-view td {
|
|
padding: 0.5rem 0.75rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
}
|
|
|
|
.comment {
|
|
padding: 5px 0 5px 10px;
|
|
margin-left: 1rem;
|
|
border-left: 1px solid #ccc;
|
|
transition: background-color 0.75s ease-out;
|
|
}
|
|
|
|
.comment.comment-root {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.comment.comment-depth-1 {
|
|
margin-left: 1.25rem;
|
|
}
|
|
|
|
.comment.comment-depth-2 {
|
|
margin-left: 2rem;
|
|
}
|
|
|
|
.comment.comment-depth-3 {
|
|
margin-left: 2.75rem;
|
|
}
|
|
|
|
.commentmeta {
|
|
margin-bottom: 0.35rem;
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.commentmeta .nickname em {
|
|
font-style: italic;
|
|
}
|
|
|
|
.commentdata {
|
|
white-space: pre-wrap;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.reply {
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.statusmessage {
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.dragAndDropFile {
|
|
color: #777;
|
|
font-size: 1em;
|
|
display: inline;
|
|
white-space: normal;
|
|
}
|
|
|
|
.highlight {
|
|
background-color: #fd8;
|
|
transition: background-color 0.2s ease-in;
|
|
}
|
|
|
|
#customattachment {
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.attachment-chip {
|
|
padding: 0.35rem 0;
|
|
border-bottom: 1px solid var(--bs-border-color-translucent);
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.attachment-chip:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
#prettymessage {
|
|
position: relative;
|
|
}
|
|
|
|
#prettyprint {
|
|
padding-right: 30px;
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
#prettyMessageCopyBtn {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
left: auto;
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 0;
|
|
background: none;
|
|
border: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
html[dir='rtl'] #prettyMessageCopyBtn {
|
|
left: 8px;
|
|
right: auto;
|
|
}
|
|
|
|
#prettyMessageCopyBtn svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
#copySuccessIcon {
|
|
display: none;
|
|
}
|
|
|
|
#copyShortcutHint {
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
#editorTabs {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
#remainingtime.foryoureyesonly {
|
|
background-color: var(--bs-warning-bg-subtle);
|
|
border-color: var(--bs-warning-border-subtle);
|
|
color: var(--bs-warning-text-emphasis);
|
|
}
|
|
|
|
#status svg,
|
|
#errormessage svg,
|
|
#remainingtime svg,
|
|
#copyLink svg,
|
|
#deletelink svg,
|
|
#loadingindicator svg,
|
|
#new-from-alert svg,
|
|
#replystatus svg {
|
|
margin-right: 0.25rem;
|
|
}
|
|
|
|
#status,
|
|
#errormessage,
|
|
#remainingtime,
|
|
#loadingnotice {
|
|
word-break: break-word;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
#status .btn {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#loadingnotice {
|
|
transition: opacity 0.15s ease-in-out;
|
|
}
|
|
|
|
#sendbutton svg {
|
|
transform: translateY(1.5px);
|
|
}
|
|
|
|
footer h5 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.modal-dialog {
|
|
margin: auto !important;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.modal-content {
|
|
margin: 30px 0;
|
|
}
|
|
}
|
|
|
|
.modal-content {
|
|
margin: 10px;
|
|
}
|
|
|
|
#passwordmodal .modal-body,
|
|
#qrcodemodal .modal-body {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#loadconfirmmodal .modal-body {
|
|
display: block;
|
|
}
|
|
|
|
.modal .modal-content button {
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
#expiration,
|
|
#formatter {
|
|
width: 100%;
|
|
}
|
|
|
|
#expiration .form-select,
|
|
#formatter .form-select,
|
|
#password .input-group,
|
|
#attach .dropdown-menu {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.navbar-nav > .nav-item > .btn,
|
|
.navbar-nav > .nav-item > .nav-link {
|
|
width: 100%;
|
|
}
|
|
}
|