maily 0.12.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/helpers/maily/application_helper.rb +14 -1
- data/app/views/layouts/maily/application.html.erb +1 -1
- data/app/views/maily/shared/_header.html.erb +1 -1
- data/app/views/maily/shared/_stylesheet.html.erb +271 -0
- data/lib/generators/maily/install_generator.rb +1 -1
- data/lib/maily/engine.rb +0 -7
- data/lib/maily/version.rb +1 -1
- metadata +3 -18
- data/app/assets/stylesheets/maily/_variables.scss +0 -5
- data/app/assets/stylesheets/maily/application.scss +0 -292
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a71e9271060d187f12a6a5d719548bd79ec2d9518a089374c84b671924a9820
|
4
|
+
data.tar.gz: faf2268d8dccb44e8c4b09d883d16928c786b2774fce5b52eb998edd1eebff78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e7f4a8e4004a3e39f77bac0b812d7340952eccdda134525a47e3c405bca8a136092e3c6079381f966bad0d3cb17fd90d8fca77d5ded242bf593cc47ad9b25ba
|
7
|
+
data.tar.gz: bd248a071b75a4791408bf7f43837f9bbcd0160fbea84c61d63399836dcb371caf4f6e941ded8481a6a3dd767be7ef8a66df4cf01c9d2df549504b2dd1cd67a3
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [1.0.0]
|
6
|
+
|
7
|
+
- Avoid the dependency on Sprockets (#48)
|
8
|
+
|
5
9
|
## [0.12.3]
|
6
10
|
|
7
11
|
- Styles: fix input placeholder color in Firefox
|
@@ -139,6 +143,7 @@ All notable changes to this project will be documented in this file.
|
|
139
143
|
|
140
144
|
- First real usable release :tada:
|
141
145
|
|
146
|
+
[1.0.0]: https://github.com/markets/maily/compare/v0.12.3...v1.0.0
|
142
147
|
[0.12.3]: https://github.com/markets/maily/compare/v0.12.2...v0.12.3
|
143
148
|
[0.12.2]: https://github.com/markets/maily/compare/v0.12.1...v0.12.2
|
144
149
|
[0.12.1]: https://github.com/markets/maily/compare/v0.12.0...v0.12.1
|
@@ -14,8 +14,21 @@ module Maily
|
|
14
14
|
'selected_mail' if mailer.name == params[:mailer] && email.name == params[:email]
|
15
15
|
end
|
16
16
|
|
17
|
+
def logo
|
18
|
+
image_tag(file_to_base64('maily/logo.png', 'image/png'))
|
19
|
+
end
|
20
|
+
|
17
21
|
def icon(name)
|
18
|
-
image_tag
|
22
|
+
image_tag(file_to_base64("maily/icons/#{name}.svg", 'image/svg+xml'), class: :icon)
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
def file_to_base64(path, mime_type)
|
28
|
+
file = Maily::Engine.root.join('app/assets/images').join(path)
|
29
|
+
base64_contents = Base64.strict_encode64(file.read)
|
30
|
+
|
31
|
+
"data:#{mime_type};base64,#{base64_contents}"
|
19
32
|
end
|
20
33
|
end
|
21
34
|
end
|
@@ -0,0 +1,271 @@
|
|
1
|
+
<%
|
2
|
+
blue = "#59abc6"
|
3
|
+
grey = "#cccccc"
|
4
|
+
bluegrey = "#2f738a"
|
5
|
+
darkgrey = "#666666"
|
6
|
+
textColor = "#333333"
|
7
|
+
linkColor = blue
|
8
|
+
hoverColor = bluegrey
|
9
|
+
%>
|
10
|
+
|
11
|
+
<style>
|
12
|
+
/* Body */
|
13
|
+
body {
|
14
|
+
color: <%= textColor %>;
|
15
|
+
font-size: 1em;
|
16
|
+
font-family: "Helvetica Neue", Helvetica, sans-serif;
|
17
|
+
}
|
18
|
+
|
19
|
+
/* Links & Buttons */
|
20
|
+
a {
|
21
|
+
color: <%= linkColor %>;
|
22
|
+
text-decoration: none;
|
23
|
+
}
|
24
|
+
a:hover {
|
25
|
+
color: <%= hoverColor %>;
|
26
|
+
}
|
27
|
+
.button {
|
28
|
+
cursor: pointer;
|
29
|
+
box-sizing: border-box;
|
30
|
+
-moz-box-sizing: border-box;
|
31
|
+
padding: 0;
|
32
|
+
border: none;
|
33
|
+
background: none;
|
34
|
+
color: <%= linkColor %>;
|
35
|
+
}
|
36
|
+
.button:hover {
|
37
|
+
color: <%= hoverColor %>;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* Inputs */
|
41
|
+
input {
|
42
|
+
font-size: 100%;
|
43
|
+
font-family: inherit;
|
44
|
+
height: 1.2em;
|
45
|
+
border: solid 1px <%= grey %>;
|
46
|
+
border-radius: 6px;
|
47
|
+
background: "#ffffff";
|
48
|
+
line-height: 1;
|
49
|
+
padding-left: 0.5em;
|
50
|
+
}
|
51
|
+
|
52
|
+
::-webkit-input-placeholder, ::-moz-placeholder {
|
53
|
+
font-weight: 300;
|
54
|
+
font-size: 0.8em;
|
55
|
+
color: <%= darkgrey %>;
|
56
|
+
}
|
57
|
+
|
58
|
+
/* Header */
|
59
|
+
header.header, footer.footer {
|
60
|
+
position: fixed;
|
61
|
+
left: 0;
|
62
|
+
z-index: 99;
|
63
|
+
width: 100%;
|
64
|
+
background-color: rgba(255, 255, 255, 0.95);
|
65
|
+
}
|
66
|
+
header.header {
|
67
|
+
padding: 0.6em;
|
68
|
+
top: 0;
|
69
|
+
box-shadow: 0 0.0625em 0.3125em rgba(0, 0, 0, 0.15);
|
70
|
+
}
|
71
|
+
header.header .logo_link {
|
72
|
+
margin-left: 1em;
|
73
|
+
}
|
74
|
+
header.header .logo_link img {
|
75
|
+
height: 45px;
|
76
|
+
}
|
77
|
+
header.header .back_to_app {
|
78
|
+
float: right;
|
79
|
+
margin-right: 2em;
|
80
|
+
margin-top: 1em;
|
81
|
+
}
|
82
|
+
|
83
|
+
/* Footer */
|
84
|
+
footer.footer {
|
85
|
+
padding: 0 1em;
|
86
|
+
bottom: 0;
|
87
|
+
box-shadow: 0 -0.0625em 0.3125em rgba(0, 0, 0, 0.15);
|
88
|
+
font-family: inherit;
|
89
|
+
font-size: 0.9em;
|
90
|
+
}
|
91
|
+
|
92
|
+
/* Main content */
|
93
|
+
.wrap_content {
|
94
|
+
display: inline-block;
|
95
|
+
box-sizing: border-box;
|
96
|
+
-moz-box-sizing: border-box;
|
97
|
+
padding: 6em 0.75em 4em;
|
98
|
+
width: 100%;
|
99
|
+
}
|
100
|
+
.content {
|
101
|
+
margin-right: 2em;
|
102
|
+
margin-left: 1em;
|
103
|
+
padding-left: 20%;
|
104
|
+
}
|
105
|
+
ul.action_bar {
|
106
|
+
margin: 0 0 5px;
|
107
|
+
padding: 0;
|
108
|
+
list-style: none;
|
109
|
+
font-size: 1.2em;
|
110
|
+
}
|
111
|
+
ul.action_bar, ul.action_bar ul {
|
112
|
+
display: inline-block;
|
113
|
+
width: 100%;
|
114
|
+
}
|
115
|
+
ul.action_bar li, ul.action_bar ul li {
|
116
|
+
float: left;
|
117
|
+
margin-right: 0.5em;
|
118
|
+
}
|
119
|
+
ul.action_bar li:last-child, ul.action_bar ul li:last-child {
|
120
|
+
margin-right: 0;
|
121
|
+
}
|
122
|
+
ul.action_bar ul {
|
123
|
+
margin: 0;
|
124
|
+
padding: 0;
|
125
|
+
list-style: none;
|
126
|
+
}
|
127
|
+
ul.action_bar li.languages {
|
128
|
+
float: right;
|
129
|
+
}
|
130
|
+
ul.action_bar li.languages a {
|
131
|
+
font-size: 0.9em;
|
132
|
+
}
|
133
|
+
li.splitter {
|
134
|
+
width: 1px;
|
135
|
+
border-left: 1px <%= grey %> solid;
|
136
|
+
text-indent: -999999em;
|
137
|
+
}
|
138
|
+
.mail_description {
|
139
|
+
margin-bottom: 2em;
|
140
|
+
}
|
141
|
+
.mail_deliver ul li {
|
142
|
+
float: left;
|
143
|
+
margin-right: 0.4em;
|
144
|
+
}
|
145
|
+
.mail_preview {
|
146
|
+
height: 100%;
|
147
|
+
box-sizing: border-box;
|
148
|
+
-moz-box-sizing: border-box;
|
149
|
+
padding: 1em;
|
150
|
+
border: solid 1px <%= grey %>;
|
151
|
+
border-radius: 3px;
|
152
|
+
}
|
153
|
+
.mail_preview .mail_details {
|
154
|
+
margin: 0 0 1em 0;
|
155
|
+
padding: 0;
|
156
|
+
color: <%= darkgrey %>;
|
157
|
+
list-style: none;
|
158
|
+
font-size: 0.8em;
|
159
|
+
}
|
160
|
+
.mail_preview .mail_details li {
|
161
|
+
line-height: 1.5em;
|
162
|
+
}
|
163
|
+
.mail_preview .mail_attachments {
|
164
|
+
padding: 1em 0 0 0;
|
165
|
+
border-top: solid 1px <%= grey %>;
|
166
|
+
color: <%= darkgrey %>;
|
167
|
+
list-style: none;
|
168
|
+
font-size: 0.8em;
|
169
|
+
}
|
170
|
+
.mail_preview .mail_attachments ul {
|
171
|
+
display: inline-block;
|
172
|
+
margin: 0;
|
173
|
+
padding: 0;
|
174
|
+
width: 100%;
|
175
|
+
list-style: none;
|
176
|
+
}
|
177
|
+
.mail_preview .mail_attachments ul li {
|
178
|
+
float: left;
|
179
|
+
margin: 1em 1em 0 0;
|
180
|
+
}
|
181
|
+
.mail_preview iframe.mail_iframe {
|
182
|
+
padding-top: 1em;
|
183
|
+
border: none;
|
184
|
+
border-top: solid 1px <%= grey %>;
|
185
|
+
border-radius: 3px;
|
186
|
+
min-height: 100px;
|
187
|
+
}
|
188
|
+
.welcome_message {
|
189
|
+
margin-top: 3em;
|
190
|
+
max-width: 80%;
|
191
|
+
}
|
192
|
+
.format_mail {
|
193
|
+
position: relative;
|
194
|
+
display: inline-block;
|
195
|
+
float: right;
|
196
|
+
margin: -2em 0 0 0;
|
197
|
+
padding: 0;
|
198
|
+
width: 6.5em;
|
199
|
+
list-style: none;
|
200
|
+
}
|
201
|
+
.format_mail li {
|
202
|
+
float: left;
|
203
|
+
}
|
204
|
+
.format_mail li a.format_selected {
|
205
|
+
color: <%= hoverColor %>;
|
206
|
+
font-weight: bold;
|
207
|
+
}
|
208
|
+
.format_mail li + li {
|
209
|
+
margin: 0 0 0 0.4em;
|
210
|
+
padding: 0 0 0 0.4em;
|
211
|
+
border-left: solid 1px <%= grey %>;
|
212
|
+
}
|
213
|
+
.mail_updatearea {
|
214
|
+
position: relative;
|
215
|
+
overflow: visible;
|
216
|
+
min-height: 450px;
|
217
|
+
width: 100%;
|
218
|
+
height: 100%;
|
219
|
+
border: none;
|
220
|
+
}
|
221
|
+
|
222
|
+
/* Sidebar */
|
223
|
+
aside.sidebar {
|
224
|
+
float: left;
|
225
|
+
width: 20%;
|
226
|
+
max-height: 90vh;
|
227
|
+
overflow-y: scroll;
|
228
|
+
}
|
229
|
+
aside.sidebar section.nav_list {
|
230
|
+
margin: 0 0 1.5em 1.5em;
|
231
|
+
}
|
232
|
+
aside.sidebar section.nav_list .nav_title {
|
233
|
+
margin: 0 0 0.4em;
|
234
|
+
font-weight: 400;
|
235
|
+
font-size: 1.2em;
|
236
|
+
}
|
237
|
+
aside.sidebar section.nav_list ul {
|
238
|
+
margin: 0;
|
239
|
+
padding: 0;
|
240
|
+
list-style: none;
|
241
|
+
}
|
242
|
+
aside.sidebar section.nav_list ul li {
|
243
|
+
margin-bottom: 0.4em;
|
244
|
+
list-style: none;
|
245
|
+
}
|
246
|
+
aside.sidebar section.nav_list ul li a {
|
247
|
+
color: <%= linkColor %>;
|
248
|
+
text-decoration: none;
|
249
|
+
font-size: 0.9em;
|
250
|
+
}
|
251
|
+
aside.sidebar section.nav_list ul li a:hover, aside.sidebar section.nav_list ul li a.selected_mail {
|
252
|
+
color: <%= hoverColor %>;
|
253
|
+
font-weight: bold;
|
254
|
+
}
|
255
|
+
|
256
|
+
/* Alert messages */
|
257
|
+
.alert {
|
258
|
+
border-radius: 3px;
|
259
|
+
padding: 16px;
|
260
|
+
margin-bottom: 1.1em;
|
261
|
+
color: "#ffffff";
|
262
|
+
background-color: <%= bluegrey %>;
|
263
|
+
}
|
264
|
+
|
265
|
+
/* Icons */
|
266
|
+
img.icon {
|
267
|
+
width: 20px;
|
268
|
+
font-size: 0.9em;
|
269
|
+
vertical-align: bottom;
|
270
|
+
}
|
271
|
+
</style>
|
data/lib/maily/engine.rb
CHANGED
data/lib/maily/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maily
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.2'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: sassc-rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rspec-rails
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,8 +66,6 @@ files:
|
|
80
66
|
- app/assets/images/maily/icons/globe.svg
|
81
67
|
- app/assets/images/maily/icons/paperclip.svg
|
82
68
|
- app/assets/images/maily/logo.png
|
83
|
-
- app/assets/stylesheets/maily/_variables.scss
|
84
|
-
- app/assets/stylesheets/maily/application.scss
|
85
69
|
- app/controllers/maily/application_controller.rb
|
86
70
|
- app/controllers/maily/emails_controller.rb
|
87
71
|
- app/helpers/maily/application_helper.rb
|
@@ -95,6 +79,7 @@ files:
|
|
95
79
|
- app/views/maily/shared/_header.html.erb
|
96
80
|
- app/views/maily/shared/_javascript.html.erb
|
97
81
|
- app/views/maily/shared/_sidebar.html.erb
|
82
|
+
- app/views/maily/shared/_stylesheet.html.erb
|
98
83
|
- config/routes.rb
|
99
84
|
- lib/generators/maily/install_generator.rb
|
100
85
|
- lib/generators/templates/initializer.rb
|
@@ -1,292 +0,0 @@
|
|
1
|
-
@import "maily/variables";
|
2
|
-
|
3
|
-
/* Body */
|
4
|
-
body {
|
5
|
-
color: $textColor;
|
6
|
-
font-size: 1em;
|
7
|
-
font-family: "Helvetica Neue", Helvetica, sans-serif;
|
8
|
-
|
9
|
-
a {
|
10
|
-
color: $linkColor;
|
11
|
-
text-decoration: none;
|
12
|
-
&:hover {
|
13
|
-
color: darken($linkColor, 20%);
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
/* Inputs */
|
19
|
-
input {
|
20
|
-
font-size: 100%;
|
21
|
-
font-family: inherit;
|
22
|
-
height: 1.2em;
|
23
|
-
border: solid 1px $grey;
|
24
|
-
border-radius: 6px;
|
25
|
-
background: #fff;
|
26
|
-
line-height: 1;
|
27
|
-
padding-left: 0.5em;
|
28
|
-
}
|
29
|
-
|
30
|
-
::-webkit-input-placeholder, ::-moz-placeholder {
|
31
|
-
font-weight: 300;
|
32
|
-
font-size: 0.8em;
|
33
|
-
color: $darkgrey;
|
34
|
-
}
|
35
|
-
|
36
|
-
/* Header */
|
37
|
-
header.header, footer.footer {
|
38
|
-
position: fixed;
|
39
|
-
left: 0;
|
40
|
-
z-index: 99;
|
41
|
-
width: 100%;
|
42
|
-
background-color: rgba(255,255,255, .95);
|
43
|
-
}
|
44
|
-
|
45
|
-
header.header {
|
46
|
-
padding: 0.6em;
|
47
|
-
top: 0;
|
48
|
-
box-shadow: 0 .0625em .3125em rgba(0,0,0, .15);
|
49
|
-
|
50
|
-
.logo_link {
|
51
|
-
margin-left: 1em;
|
52
|
-
|
53
|
-
img {
|
54
|
-
height: 45px;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
.back_to_app {
|
59
|
-
float: right;
|
60
|
-
margin-right: 2em;
|
61
|
-
margin-top: 1em;
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
/* Footer */
|
66
|
-
footer.footer {
|
67
|
-
padding: 0 1em;
|
68
|
-
bottom: 0;
|
69
|
-
box-shadow: 0 -.0625em .3125em rgba(0,0,0, .15);
|
70
|
-
font-family: inherit;
|
71
|
-
font-size: .9em;
|
72
|
-
}
|
73
|
-
|
74
|
-
/* Main content */
|
75
|
-
.wrap_content {
|
76
|
-
display: inline-block;
|
77
|
-
box-sizing: border-box;
|
78
|
-
-moz-box-sizing: border-box;
|
79
|
-
padding: 6em .75em 4em;
|
80
|
-
width: 100%;
|
81
|
-
}
|
82
|
-
|
83
|
-
.content {
|
84
|
-
margin-right: 2em;
|
85
|
-
margin-left: 1em;
|
86
|
-
padding-left: 20%;
|
87
|
-
|
88
|
-
ul.action_bar {
|
89
|
-
margin: 0 0 5px;
|
90
|
-
padding: 0;
|
91
|
-
list-style: none;
|
92
|
-
font-size: 1.2em;
|
93
|
-
|
94
|
-
&, & ul {
|
95
|
-
display: inline-block;
|
96
|
-
width: 100%;
|
97
|
-
}
|
98
|
-
|
99
|
-
li, ul li {
|
100
|
-
float: left;
|
101
|
-
margin-right: .5em;
|
102
|
-
&:last-child { margin-right: 0; }
|
103
|
-
}
|
104
|
-
|
105
|
-
ul {
|
106
|
-
margin: 0;
|
107
|
-
padding: 0;
|
108
|
-
list-style: none;
|
109
|
-
}
|
110
|
-
|
111
|
-
li.languages {
|
112
|
-
float: right;
|
113
|
-
|
114
|
-
a { font-size: 0.9em; }
|
115
|
-
}
|
116
|
-
}
|
117
|
-
|
118
|
-
li.splitter {
|
119
|
-
width: 1px;
|
120
|
-
border-left: 1px $grey solid;
|
121
|
-
text-indent: -999999em;
|
122
|
-
}
|
123
|
-
|
124
|
-
.mail_description {
|
125
|
-
margin-bottom: 2em;
|
126
|
-
}
|
127
|
-
|
128
|
-
.mail_deliver {
|
129
|
-
ul {
|
130
|
-
li {
|
131
|
-
float: left;
|
132
|
-
margin-right: .4em;
|
133
|
-
}
|
134
|
-
}
|
135
|
-
}
|
136
|
-
|
137
|
-
.mail_preview {
|
138
|
-
height: 100%;
|
139
|
-
box-sizing: border-box;
|
140
|
-
-moz-box-sizing: border-box;
|
141
|
-
padding: 1em;
|
142
|
-
border: solid 1px $grey;
|
143
|
-
border-radius: 3px;
|
144
|
-
|
145
|
-
.mail_details {
|
146
|
-
margin: 0 0 1em 0;
|
147
|
-
padding: 0;
|
148
|
-
color: $darkgrey;
|
149
|
-
list-style: none;
|
150
|
-
font-size: .8em;
|
151
|
-
|
152
|
-
li { line-height: 1.5em; }
|
153
|
-
}
|
154
|
-
|
155
|
-
.mail_attachments {
|
156
|
-
padding: 1em 0 0 0;
|
157
|
-
border-top: solid 1px $grey;
|
158
|
-
color: $darkgrey;
|
159
|
-
list-style: none;
|
160
|
-
font-size: .8em;
|
161
|
-
|
162
|
-
ul {
|
163
|
-
display: inline-block;
|
164
|
-
margin: 0;
|
165
|
-
padding: 0;
|
166
|
-
width: 100%;
|
167
|
-
list-style: none;
|
168
|
-
|
169
|
-
li {
|
170
|
-
float: left;
|
171
|
-
margin: 1em 1em 0 0;
|
172
|
-
}
|
173
|
-
}
|
174
|
-
}
|
175
|
-
|
176
|
-
iframe.mail_iframe {
|
177
|
-
padding-top: 1em;
|
178
|
-
border: none;
|
179
|
-
border-top: solid 1px $grey;
|
180
|
-
border-radius: 3px;
|
181
|
-
min-height: 100px;
|
182
|
-
}
|
183
|
-
}
|
184
|
-
|
185
|
-
.welcome_message {
|
186
|
-
margin-top: 3em;
|
187
|
-
max-width: 80%;
|
188
|
-
}
|
189
|
-
|
190
|
-
.button {
|
191
|
-
cursor: pointer;
|
192
|
-
box-sizing: border-box;
|
193
|
-
-moz-box-sizing: border-box;
|
194
|
-
padding: 0;
|
195
|
-
border: none;
|
196
|
-
background: none;
|
197
|
-
color: $linkColor;
|
198
|
-
&:hover {
|
199
|
-
color: darken($linkColor, 20%);
|
200
|
-
}
|
201
|
-
}
|
202
|
-
|
203
|
-
.format_mail {
|
204
|
-
position: relative;
|
205
|
-
display: inline-block;
|
206
|
-
float: right;
|
207
|
-
margin: -2em 0 0 0;
|
208
|
-
padding: 0;
|
209
|
-
width: 6.5em;
|
210
|
-
list-style: none;
|
211
|
-
|
212
|
-
li {
|
213
|
-
float: left;
|
214
|
-
|
215
|
-
a.format_selected {
|
216
|
-
color: darken($linkColor, 20%);
|
217
|
-
font-weight: bold;
|
218
|
-
}
|
219
|
-
|
220
|
-
+ li {
|
221
|
-
margin: 0 0 0 .4em;
|
222
|
-
padding: 0 0 0 .4em;
|
223
|
-
border-left: solid 1px $grey;
|
224
|
-
}
|
225
|
-
}
|
226
|
-
}
|
227
|
-
|
228
|
-
.mail_updatearea {
|
229
|
-
position: relative;
|
230
|
-
overflow: visible;
|
231
|
-
min-height: 450px;
|
232
|
-
width: 100%;
|
233
|
-
height: 100%;
|
234
|
-
border: none;
|
235
|
-
}
|
236
|
-
}
|
237
|
-
|
238
|
-
/* Sidebar */
|
239
|
-
aside.sidebar {
|
240
|
-
float: left;
|
241
|
-
width: 20%;
|
242
|
-
max-height: 90vh;
|
243
|
-
overflow-y: scroll;
|
244
|
-
|
245
|
-
section.nav_list {
|
246
|
-
margin: 0 0 1.5em 1.5em;
|
247
|
-
|
248
|
-
.nav_title {
|
249
|
-
margin: 0 0 .4em;
|
250
|
-
font-weight: 400;
|
251
|
-
font-size: 1.2em;
|
252
|
-
}
|
253
|
-
|
254
|
-
ul {
|
255
|
-
margin: 0;
|
256
|
-
padding: 0;
|
257
|
-
list-style: none;
|
258
|
-
|
259
|
-
li {
|
260
|
-
margin-bottom: .4em;
|
261
|
-
list-style: none;
|
262
|
-
|
263
|
-
a {
|
264
|
-
color: $linkColor;
|
265
|
-
text-decoration: none;
|
266
|
-
font-size: .9em;
|
267
|
-
|
268
|
-
&:hover, &.selected_mail {
|
269
|
-
color: darken($linkColor, 20%);
|
270
|
-
font-weight: bold;
|
271
|
-
}
|
272
|
-
}
|
273
|
-
}
|
274
|
-
}
|
275
|
-
}
|
276
|
-
}
|
277
|
-
|
278
|
-
/* Alert messages */
|
279
|
-
.alert {
|
280
|
-
border-radius: 3px;
|
281
|
-
padding: 16px;
|
282
|
-
margin-bottom: 1.1em;
|
283
|
-
color: #fff;
|
284
|
-
background-color: darken($blue, 20%);
|
285
|
-
}
|
286
|
-
|
287
|
-
/* Icons */
|
288
|
-
img.icon {
|
289
|
-
width: 20px;
|
290
|
-
font-size: .9em;
|
291
|
-
vertical-align: bottom;
|
292
|
-
}
|