Skip to content
/ maily Public
  • Sponsor
  • Notifications You must be signed in to change notification settings
  • Fork 32

Commit 55299d5

Browse files
authoredMay 19, 2020
Refine logo 🎨 (#45)
1 parent 7e06543 commit 55299d5

File tree

10 files changed

+38
-97
lines changed

10 files changed

+38
-97
lines changed
 

‎CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.12.2]
6+
7+
- Refine logo and UI (#45)
8+
59
## [0.12.1]
610

711
- Sprockets v4 fixes (#44)
@@ -131,6 +135,7 @@ All notable changes to this project will be documented in this file.
131135

132136
- First real usable release :tada:
133137

138+
[0.12.2]: https://github.com/markets/maily/compare/v0.12.1...v0.12.2
134139
[0.12.1]: https://github.com/markets/maily/compare/v0.12.0...v0.12.1
135140
[0.12.0]: https://github.com/markets/maily/compare/v0.11.0...v0.12.0
136141
[0.11.0]: https://github.com/markets/maily/compare/v0.10.1...v0.11.0

‎app/assets/images/maily/logo.png

13.3 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
$blue: #59abc6;
2-
$red: #a94442;
32
$grey: #ccc;
43
$darkgrey: #666;
5-
$textColor: #444;
4+
$textColor: #333;
65
$linkColor: $blue;

‎app/assets/stylesheets/maily/application.scss

+22-35
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import url("https://fonts.googleapis.com/css?family=Josefin+Sans:light");
2-
31
@import "maily/variables";
42

53
/* Body */
@@ -23,19 +21,17 @@ input {
2321
font-family: inherit;
2422
height: 1.2em;
2523
border: solid 1px $grey;
26-
border-radius: 2px;
24+
border-radius: 6px;
2725
background: #fff;
2826
line-height: 1;
27+
padding-left: 0.5em;
2928
}
3029

31-
::-webkit-input-placeholder {
32-
padding: 0 .2em;
33-
vertical-align: bottom;
30+
::-webkit-input-placeholder, ::-moz-placeholder {
3431
font-weight: 300;
32+
font-size: 0.8em;
33+
color: red;
3534
}
36-
:-moz-placeholder { font-size: 0.6em; }
37-
::-moz-placeholder { font-size: 0.6em; }
38-
:-ms-input-placeholder { font-size: 0.6em; }
3935

4036
/* Header */
4137
header.header, footer.footer {
@@ -47,27 +43,31 @@ header.header, footer.footer {
4743
}
4844

4945
header.header {
50-
padding: 1em;
46+
padding: 0.6em;
5147
top: 0;
5248
box-shadow: 0 .0625em .3125em rgba(0,0,0, .15);
5349

5450
.logo_link {
55-
color: $textColor;
56-
font: 400 2em/1 'Josefin Sans';
57-
margin-left: 10px;
51+
margin-left: 1em;
5852

59-
img, span {
60-
vertical-align: text-bottom;
53+
img {
54+
height: 45px;
6155
}
6256
}
57+
58+
.back_to_app {
59+
float: right;
60+
margin-right: 2em;
61+
margin-top: 1em;
62+
}
6363
}
6464

6565
/* Footer */
6666
footer.footer {
6767
padding: 0 1em;
6868
bottom: 0;
6969
box-shadow: 0 -.0625em .3125em rgba(0,0,0, .15);
70-
font-family: "Helvetica Neue", Helvetica, sans-serif;
70+
font-family: inherit;
7171
font-size: .9em;
7272
}
7373

@@ -110,6 +110,8 @@ footer.footer {
110110

111111
li.languages {
112112
float: right;
113+
114+
a { font-size: 0.9em; }
113115
}
114116
}
115117

@@ -175,7 +177,7 @@ footer.footer {
175177
padding-top: 1em;
176178
border: none;
177179
border-top: solid 1px $grey;
178-
border-radius: 2px;
180+
border-radius: 3px;
179181
min-height: 100px;
180182
}
181183
}
@@ -186,6 +188,7 @@ footer.footer {
186188
}
187189

188190
.button {
191+
cursor: pointer;
189192
box-sizing: border-box;
190193
-moz-box-sizing: border-box;
191194
padding: 0;
@@ -262,19 +265,9 @@ aside.sidebar {
262265
text-decoration: none;
263266
font-size: .9em;
264267

265-
&.selected_mail {
268+
&:hover, &.selected_mail {
266269
color: darken($linkColor, 20%);
267270
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%);
278271
}
279272
}
280273
}
@@ -287,12 +280,6 @@ aside.sidebar {
287280
border-radius: 3px;
288281
padding: 16px;
289282
margin-bottom: 1.1em;
290-
}
291-
.alert-warning {
292-
color: $red;
293-
background-color: lighten($red, 40%);
294-
}
295-
.alert-success {
296283
color: #fff;
297284
background-color: darken($blue, 20%);
298285
}
@@ -302,4 +289,4 @@ img.icon {
302289
width: 20px;
303290
font-size: .9em;
304291
vertical-align: bottom;
305-
}
292+
}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<% if flash[:alert].present? %>
2-
<div class="alert alert-warning"><%= flash[:alert].html_safe %></div>
2+
<div class="alert"><%= flash[:alert].html_safe %></div>
33
<% end %>
44

55
<% 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 %>
+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<header class="header">
22
<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
58
</a>
69
</header>

‎lib/maily/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Maily
2-
VERSION = "0.12.1"
2+
VERSION = "0.12.2"
33
end

‎spec/dummy/config/routes.rb

+1-54
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,3 @@
11
Dummy::Application.routes.draw do
2-
# The priority is based upon order of creation: first created -> highest priority.
3-
# See how all your routes lay out with "rake routes".
4-
5-
# You can have the root of your site routed with "root"
6-
# root 'welcome#index'
7-
8-
# Example of regular route:
9-
# get 'products/:id' => 'catalog#view'
10-
11-
# Example of named route that can be invoked with purchase_url(id: product.id)
12-
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13-
14-
# Example resource route (maps HTTP verbs to controller actions automatically):
15-
# resources :products
16-
17-
# Example resource route with options:
18-
# resources :products do
19-
# member do
20-
# get 'short'
21-
# post 'toggle'
22-
# end
23-
#
24-
# collection do
25-
# get 'sold'
26-
# end
27-
# end
28-
29-
# Example resource route with sub-resources:
30-
# resources :products do
31-
# resources :comments, :sales
32-
# resource :seller
33-
# end
34-
35-
# Example resource route with more complex sub-resources:
36-
# resources :products do
37-
# resources :comments
38-
# resources :sales do
39-
# get 'recent', on: :collection
40-
# end
41-
# end
42-
43-
# Example resource route with concerns:
44-
# concern :toggleable do
45-
# post 'toggle'
46-
# end
47-
# resources :posts, concerns: :toggleable
48-
# resources :photos, concerns: :toggleable
49-
50-
# Example resource route within a namespace:
51-
# namespace :admin do
52-
# # Directs /admin/products/* to Admin::ProductsController
53-
# # (app/controllers/admin/products_controller.rb)
54-
# resources :products
55-
# end
2+
root "welcome#index"
563
end

‎support/images/logo.png

5.55 KB
Loading

‎support/images/screenshot.png

152 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.