2015-06-06 02:40:44 +08:00
|
|
|
@import 'ui-variables';
|
|
|
|
|
|
|
|
.ignore-in-parent-frame {
|
2015-10-03 08:47:53 +08:00
|
|
|
// ----- Font Families -----
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 200;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Thin.otf');
|
2015-10-03 08:47:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 300;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Blond.otf');
|
2015-10-03 08:47:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Normal.otf');
|
2015-10-03 08:47:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Medium.otf');
|
2015-10-03 08:47:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 600;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-SemiBold.otf');
|
2015-10-03 08:47:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Pro-SemiBold doesn't render emoji properly. Override the emjoi unicode
|
|
|
|
// block so that it uses the "Normal" weight even at font-weight:600.
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 600;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Normal.otf'), Helvetica, sans-serif;
|
2017-10-15 08:36:44 +08:00
|
|
|
unicode-range: U+1f300-1f5ff, U+1f600-1f64f, U+1f680-1f6ff, U+2600-26ff;
|
2015-10-03 08:47:53 +08:00
|
|
|
}
|
2015-06-06 02:40:44 +08:00
|
|
|
|
2017-10-15 08:36:44 +08:00
|
|
|
html,
|
|
|
|
body {
|
2016-02-10 11:45:24 +08:00
|
|
|
font-size: 14.5px;
|
2015-06-06 02:40:44 +08:00
|
|
|
line-height: 1.5;
|
|
|
|
color: @text-color;
|
|
|
|
background-color: transparent !important;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2016-05-07 07:44:30 +08:00
|
|
|
overflow-x: auto;
|
2017-12-02 10:55:09 +08:00
|
|
|
overflow-y: hidden;
|
2015-06-06 02:40:44 +08:00
|
|
|
|
|
|
|
-webkit-text-size-adjust: auto;
|
2017-10-15 08:36:44 +08:00
|
|
|
word-wrap: break-word;
|
|
|
|
-webkit-nbsp-mode: space;
|
|
|
|
-webkit-line-break: after-white-space;
|
2015-06-06 02:40:44 +08:00
|
|
|
}
|
|
|
|
|
2017-10-17 06:41:54 +08:00
|
|
|
#inbox-html-wrapper {
|
|
|
|
font-family: 'Nylas-Pro', 'Helvetica', 'Lucidia Grande', sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
#inbox-html-wrapper.platform-win32 {
|
|
|
|
font-family: system-ui;
|
|
|
|
}
|
|
|
|
|
2017-10-15 08:36:44 +08:00
|
|
|
strong,
|
|
|
|
b,
|
|
|
|
.bold {
|
2015-06-06 02:40:44 +08:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
padding: 0;
|
|
|
|
margin: auto;
|
2016-11-05 02:05:14 +08:00
|
|
|
max-width: 840px;
|
2015-07-31 08:49:06 +08:00
|
|
|
word-break: break-word;
|
2015-06-06 02:40:44 +08:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: @text-color-link;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: @text-color-link-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
|
|
|
color: darken(@text-color-link, 10%);
|
|
|
|
}
|
|
|
|
a img {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2017-10-15 08:36:44 +08:00
|
|
|
div,
|
|
|
|
pre {
|
2015-06-06 02:40:44 +08:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-01-18 09:58:29 +08:00
|
|
|
p {
|
|
|
|
margin:0;
|
|
|
|
padding:0;
|
|
|
|
margin-bottom:0;
|
|
|
|
}
|
|
|
|
|
2017-01-11 02:56:06 +08:00
|
|
|
pre.nylas-plaintext {
|
|
|
|
// The default font for <pre> tags is the system monospace font. We want
|
|
|
|
// themes to be able to override with monospace, but not have that be the
|
|
|
|
// default for normal people.
|
2017-10-15 08:36:44 +08:00
|
|
|
font-family: 'Nylas-Pro', 'Helvetica', 'Lucidia Grande', sans-serif;
|
2016-12-07 08:58:30 +08:00
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2015-06-06 02:40:44 +08:00
|
|
|
img {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2017-10-15 08:36:44 +08:00
|
|
|
search-match,
|
|
|
|
.search-match {
|
2016-03-03 06:46:27 +08:00
|
|
|
background: @text-color-search-match;
|
|
|
|
border-radius: @border-radius-base;
|
2017-10-15 08:36:44 +08:00
|
|
|
box-shadow: 0 0.5px 0.5px rgba(0, 0, 0, 0.25);
|
2016-03-03 06:46:27 +08:00
|
|
|
&.current-match {
|
|
|
|
background: @text-color-search-current-match;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-04 02:22:28 +08:00
|
|
|
.inline-download-prompt {
|
|
|
|
border: solid 1px rgba(0, 0, 0, 0.09);
|
|
|
|
border-radius: 2px;
|
|
|
|
color: @text-color;
|
|
|
|
background: @background-off-primary;
|
|
|
|
margin: 4px 0;
|
|
|
|
padding: 4px 8px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.inline-download-prompt:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
color: @text-color;
|
|
|
|
border: solid 1px rgba(0, 0, 0, 0.16);
|
|
|
|
}
|
2015-06-06 02:40:44 +08:00
|
|
|
}
|