mirror of
https://github.com/axllent/mailpit.git
synced 2025-01-16 02:47:11 +02:00
287 lines
4.8 KiB
SCSS
287 lines
4.8 KiB
SCSS
@import "bootstrap";
|
|
|
|
[v-cloak] {
|
|
display: none !important;
|
|
}
|
|
|
|
.navbar {
|
|
z-index: 99;
|
|
|
|
.navbar-brand {
|
|
color: #2d4a5d;
|
|
|
|
img {
|
|
width: 40px;
|
|
}
|
|
|
|
@include media-breakpoint-down(md) {
|
|
padding: 0;
|
|
|
|
img {
|
|
width: 35px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#loading {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: rgba(255, 255, 255, 0.4);
|
|
z-index: 1500;
|
|
}
|
|
|
|
.message.read:not(.active):not(.selected) {
|
|
color: $gray-500;
|
|
}
|
|
|
|
#nav-plain-text .text-view,
|
|
#nav-source {
|
|
white-space: pre;
|
|
font-family: Courier New, Courier, System, fixed-width;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
#nav-plain-text .text-view {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.messageHeaders {
|
|
margin: 15px 0 0;
|
|
|
|
th {
|
|
padding-right: 1.5rem;
|
|
font-weight: normal;
|
|
vertical-align: top;
|
|
}
|
|
|
|
td {
|
|
vertical-align: top;
|
|
}
|
|
}
|
|
|
|
#nav-html {
|
|
padding-right: 1.5rem;
|
|
}
|
|
|
|
#preview-html {
|
|
min-height: 300px;
|
|
}
|
|
|
|
.list-group-item:first-child {
|
|
border-top: 0;
|
|
}
|
|
|
|
.message.selected {
|
|
background: $primary;
|
|
color: #fff;
|
|
|
|
.text-muted {
|
|
color: #fff !important;
|
|
}
|
|
|
|
&.read {
|
|
b {
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
}
|
|
|
|
body.blur {
|
|
.privacy {
|
|
filter: blur(3px);
|
|
}
|
|
}
|
|
|
|
.card.attachment {
|
|
color: $gray-800;
|
|
|
|
.icon {
|
|
position: absolute;
|
|
top: 18px;
|
|
left: 0;
|
|
right: 0;
|
|
font-size: 3.5rem;
|
|
text-align: center;
|
|
color: $gray-300;
|
|
}
|
|
|
|
.card-body {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
}
|
|
|
|
.card-footer {
|
|
background: $gray-300;
|
|
|
|
.bi {
|
|
font-size: 1.3em;
|
|
margin-left: -10px;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
.card-body {
|
|
opacity: 1;
|
|
background: $gray-300;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* PrismJS 1.29.0 - modified!
|
|
https://prismjs.com/download.html#themes=prism-coy&languages=markup+css */
|
|
code[class*="language-"],
|
|
pre[class*="language-"] {
|
|
color: #000;
|
|
background: 0 0;
|
|
font-size: 0.85em;
|
|
text-align: left;
|
|
white-space: pre;
|
|
word-spacing: normal;
|
|
word-break: normal;
|
|
word-wrap: normal;
|
|
line-height: 1.5;
|
|
-moz-tab-size: 4;
|
|
-o-tab-size: 4;
|
|
tab-size: 4;
|
|
-webkit-hyphens: none;
|
|
-moz-hyphens: none;
|
|
-ms-hyphens: none;
|
|
hyphens: none;
|
|
}
|
|
pre[class*="language-"] {
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
pre[class*="language-"] > code {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
code[class*="language-"] {
|
|
max-height: inherit;
|
|
height: inherit;
|
|
padding: 0 1em;
|
|
display: block;
|
|
overflow: auto;
|
|
}
|
|
:not(pre) > code[class*="language-"],
|
|
pre[class*="language-"] {
|
|
background-color: #fdfdfd;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
margin-bottom: 1em;
|
|
}
|
|
:not(pre) > code[class*="language-"] {
|
|
position: relative;
|
|
padding: 0.2em;
|
|
border-radius: 0.3em;
|
|
color: #c92c2c;
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
display: inline;
|
|
white-space: normal;
|
|
}
|
|
|
|
.token.block-comment,
|
|
.token.cdata,
|
|
.token.comment,
|
|
.token.doctype,
|
|
.token.prolog {
|
|
color: #7d8b99;
|
|
}
|
|
.token.punctuation {
|
|
color: #5f6364;
|
|
}
|
|
.token.boolean,
|
|
.token.constant,
|
|
.token.deleted,
|
|
.token.function-name,
|
|
.token.number,
|
|
.token.property,
|
|
.token.symbol,
|
|
.token.tag {
|
|
color: #c92c2c;
|
|
}
|
|
.token.attr-name,
|
|
.token.builtin,
|
|
.token.char,
|
|
.token.function,
|
|
.token.inserted,
|
|
.token.selector,
|
|
.token.string {
|
|
color: #2f9c0a;
|
|
}
|
|
.token.entity,
|
|
.token.operator,
|
|
.token.url,
|
|
.token.variable {
|
|
color: #a67f59;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
}
|
|
.token.atrule,
|
|
.token.attr-value,
|
|
.token.class-name,
|
|
.token.keyword {
|
|
color: #1990b8;
|
|
}
|
|
.token.important,
|
|
.token.regex {
|
|
color: #e90;
|
|
}
|
|
.language-css .token.string,
|
|
.style .token.string {
|
|
color: #a67f59;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
}
|
|
.token.important {
|
|
font-weight: 400;
|
|
}
|
|
.token.bold {
|
|
font-weight: 700;
|
|
}
|
|
.token.italic {
|
|
font-style: italic;
|
|
}
|
|
.token.entity {
|
|
cursor: help;
|
|
}
|
|
.token.namespace {
|
|
opacity: 0.7;
|
|
}
|
|
@media screen and (max-width: 767px) {
|
|
pre[class*="language-"]:after,
|
|
pre[class*="language-"]:before {
|
|
bottom: 14px;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
pre[class*="language-"].line-numbers.line-numbers {
|
|
padding-left: 0;
|
|
}
|
|
pre[class*="language-"].line-numbers.line-numbers code {
|
|
padding-left: 3.8em;
|
|
}
|
|
pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows {
|
|
left: 0;
|
|
}
|
|
pre[class*="language-"][data-line] {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
padding-left: 0;
|
|
}
|
|
pre[data-line] code {
|
|
position: relative;
|
|
padding-left: 4em;
|
|
}
|
|
pre .line-highlight {
|
|
margin-top: 0;
|
|
}
|