maily 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e2d3eb5fa12bff5214c0c3bf8279fa4ae87e1c2a1fa7e0d3ff15600576f836f
4
- data.tar.gz: 5cb5fb89ad2e8a3c710f91e42c4ddaf7003a5673d96e71a5d23d9132a8036388
3
+ metadata.gz: 1d38fbf8d086c1aade273877ebf112b0277001e6f6d585a63b86783086ac22c3
4
+ data.tar.gz: c31053939be691ddc0870035ae244de39aa29a2b7346bf038ea330fcbc5ea89b
5
5
  SHA512:
6
- metadata.gz: 3c4bcb08461590baedc7d0db69e49e9df161db4c79aa9339b1623147a89e66a0e1e4e9af4cf97b213b6370687c1ba9afef940640473af665f93fa10172536967
7
- data.tar.gz: 50b5ad7a8155169dcda86df69b76fae8d30eed92d1634b9dfbec5aedfc1db07ba8b39129069b4b98efc786412fb115940820f8d409d8786c941549c73c8c5daf
6
+ metadata.gz: eb6e44d06a0e7b8ea53d66b961d388254d6b789d2d1de2489ea9b4d93461c161534402dd6e4d91b2e4fb4061b4c64c7e63f130abdf3d7a6ab523003062ea5ffc
7
+ data.tar.gz: a85efd1d8719d2adc5d9e312a061f2aa897506dedd47f82462f36fd86103133478851a3dd6af44dfa4d79e9d2e5eb7510b84d81d3f70269c1d7c6cc62889452e
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
+ ## [0.12.2]
6
+
7
+ - Refine logo and UI (#45)
8
+
5
9
  ## [0.12.1]
6
10
 
7
11
  - Sprockets v4 fixes (#44)
@@ -131,6 +135,7 @@ All notable changes to this project will be documented in this file.
131
135
 
132
136
  - First real usable release :tada:
133
137
 
138
+ [0.12.2]: https://github.com/markets/maily/compare/v0.12.1...v0.12.2
134
139
  [0.12.1]: https://github.com/markets/maily/compare/v0.12.0...v0.12.1
135
140
  [0.12.0]: https://github.com/markets/maily/compare/v0.11.0...v0.12.0
136
141
  [0.11.0]: https://github.com/markets/maily/compare/v0.10.1...v0.11.0
Binary file
@@ -1,6 +1,5 @@
1
1
  $blue: #59abc6;
2
- $red: #a94442;
3
2
  $grey: #ccc;
4
3
  $darkgrey: #666;
5
- $textColor: #444;
4
+ $textColor: #333;
6
5
  $linkColor: $blue;
@@ -1,5 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css?family=Josefin+Sans:light");
2
-
3
1
  @import "maily/variables";
4
2
 
5
3
  /* Body */
@@ -23,19 +21,17 @@ input {
23
21
  font-family: inherit;
24
22
  height: 1.2em;
25
23
  border: solid 1px $grey;
26
- border-radius: 2px;
24
+ border-radius: 6px;
27
25
  background: #fff;
28
26
  line-height: 1;
27
+ padding-left: 0.5em;
29
28
  }
30
29
 
31
- ::-webkit-input-placeholder {
32
- padding: 0 .2em;
33
- vertical-align: bottom;
30
+ ::-webkit-input-placeholder, ::-moz-placeholder {
34
31
  font-weight: 300;
32
+ font-size: 0.8em;
33
+ color: red;
35
34
  }
36
- :-moz-placeholder { font-size: 0.6em; }
37
- ::-moz-placeholder { font-size: 0.6em; }
38
- :-ms-input-placeholder { font-size: 0.6em; }
39
35
 
40
36
  /* Header */
41
37
  header.header, footer.footer {
@@ -47,19 +43,23 @@ header.header, footer.footer {
47
43
  }
48
44
 
49
45
  header.header {
50
- padding: 1em;
46
+ padding: 0.6em;
51
47
  top: 0;
52
48
  box-shadow: 0 .0625em .3125em rgba(0,0,0, .15);
53
49
 
54
50
  .logo_link {
55
- color: $textColor;
56
- font: 400 2em/1 'Josefin Sans';
57
- margin-left: 10px;
51
+ margin-left: 1em;
58
52
 
59
- img, span {
60
- vertical-align: text-bottom;
53
+ img {
54
+ height: 45px;
61
55
  }
62
56
  }
57
+
58
+ .back_to_app {
59
+ float: right;
60
+ margin-right: 2em;
61
+ margin-top: 1em;
62
+ }
63
63
  }
64
64
 
65
65
  /* Footer */
@@ -67,7 +67,7 @@ footer.footer {
67
67
  padding: 0 1em;
68
68
  bottom: 0;
69
69
  box-shadow: 0 -.0625em .3125em rgba(0,0,0, .15);
70
- font-family: "Helvetica Neue", Helvetica, sans-serif;
70
+ font-family: inherit;
71
71
  font-size: .9em;
72
72
  }
73
73
 
@@ -110,6 +110,8 @@ footer.footer {
110
110
 
111
111
  li.languages {
112
112
  float: right;
113
+
114
+ a { font-size: 0.9em; }
113
115
  }
114
116
  }
115
117
 
@@ -175,7 +177,7 @@ footer.footer {
175
177
  padding-top: 1em;
176
178
  border: none;
177
179
  border-top: solid 1px $grey;
178
- border-radius: 2px;
180
+ border-radius: 3px;
179
181
  min-height: 100px;
180
182
  }
181
183
  }
@@ -186,6 +188,7 @@ footer.footer {
186
188
  }
187
189
 
188
190
  .button {
191
+ cursor: pointer;
189
192
  box-sizing: border-box;
190
193
  -moz-box-sizing: border-box;
191
194
  padding: 0;
@@ -262,19 +265,9 @@ aside.sidebar {
262
265
  text-decoration: none;
263
266
  font-size: .9em;
264
267
 
265
- &.selected_mail {
268
+ &:hover, &.selected_mail {
266
269
  color: darken($linkColor, 20%);
267
270
  font-weight: bold;
268
-
269
- &:before {
270
- content: "\003E";
271
- font-weight: bolder;
272
- font-size: 1.2em;
273
- margin-right: 2px;
274
- }
275
- }
276
- &:hover {
277
- color: darken($linkColor, 20%);
278
271
  }
279
272
  }
280
273
  }
@@ -287,12 +280,6 @@ aside.sidebar {
287
280
  border-radius: 3px;
288
281
  padding: 16px;
289
282
  margin-bottom: 1.1em;
290
- }
291
- .alert-warning {
292
- color: $red;
293
- background-color: lighten($red, 40%);
294
- }
295
- .alert-success {
296
283
  color: #fff;
297
284
  background-color: darken($blue, 20%);
298
285
  }
@@ -302,4 +289,4 @@ img.icon {
302
289
  width: 20px;
303
290
  font-size: .9em;
304
291
  vertical-align: bottom;
305
- }
292
+ }
@@ -1,7 +1,7 @@
1
1
  <% if flash[:alert].present? %>
2
- <div class="alert alert-warning"><%= flash[:alert].html_safe %></div>
2
+ <div class="alert"><%= flash[:alert].html_safe %></div>
3
3
  <% end %>
4
4
 
5
5
  <% if flash[:notice].present? %>
6
- <div class="alert alert-success"><%= flash[:notice].html_safe %></div>
7
- <% end %>
6
+ <div class="alert"><%= flash[:notice].html_safe %></div>
7
+ <% end %>
@@ -1,6 +1,9 @@
1
1
  <header class="header">
2
2
  <a href="<%= root_path %>" class="logo_link">
3
- <%= image_tag 'maily/logo.png', align: 'center', width: 40 %>
4
- <span>Maily</span>
3
+ <%= image_tag 'maily/logo.png' %>
4
+ </a>
5
+
6
+ <a href="<%= main_app.root_path %>" class="back_to_app">
7
+ Back to app
5
8
  </a>
6
9
  </header>
data/lib/maily/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Maily
2
- VERSION = "0.12.1"
2
+ VERSION = "0.12.2"
3
3
  end
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.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - markets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-21 00:00:00.000000000 Z
11
+ date: 2020-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails