2015-06-06 02:40:44 +08:00
|
|
|
@import 'variables/ui-variables';
|
|
|
|
@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;
|
|
|
|
src: url('nylas://nylas-private-fonts/fonts/Nylas-Pro-Thin.otf');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 300;
|
|
|
|
src: url('nylas://nylas-private-fonts/fonts/Nylas-Pro-Blond.otf');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
src: url('nylas://nylas-private-fonts/fonts/Nylas-Pro-Normal.otf');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
|
|
|
src: url('nylas://nylas-private-fonts/fonts/Nylas-Pro-Medium.otf');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 600;
|
|
|
|
src: url('nylas://nylas-private-fonts/fonts/Nylas-Pro-SemiBold.otf');
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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;
|
|
|
|
src: url('nylas://nylas-private-fonts/fonts/Nylas-Pro-Normal.otf'), Helvetica, sans-serif;
|
|
|
|
unicode-range: U+1F300-1F5FF, U+1F600-1F64F, U+1F680-1F6FF, U+2600-26FF;
|
|
|
|
}
|
2015-06-06 02:40:44 +08:00
|
|
|
|
|
|
|
html, body {
|
2015-10-02 02:48:19 +08:00
|
|
|
font-family: "Nylas-Pro", "Helvetica", "Lucidia Grande", sans-serif;
|
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;
|
2015-06-06 02:40:44 +08:00
|
|
|
|
|
|
|
-webkit-text-size-adjust: auto;
|
|
|
|
word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong, b, .bold {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
padding: 0;
|
|
|
|
margin: auto;
|
|
|
|
max-width: 840px;
|
2015-07-31 08:49:06 +08:00
|
|
|
overflow-y: hidden;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.heightDetermined {
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
div,pre {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2016-03-03 06:46:27 +08:00
|
|
|
search-match, .search-match {
|
|
|
|
background: @text-color-search-match;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
box-shadow: 0 0.5px 0.5px rgba(0,0,0,0.25);
|
|
|
|
&.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
|
|
|
}
|