Merge lp:~pietroalbini/ubuntu-it-ask/comments into lp:ubuntu-it-ask

Proposed by Pietro Albini
Status: Merged
Approved by: Riccardo Padovani
Approved revision: 93
Merged at revision: 92
Proposed branch: lp:~pietroalbini/ubuntu-it-ask/comments
Merge into: lp:ubuntu-it-ask
Diff against target: 99 lines (+39/-12)
1 file modified
forum/skins/light/media/style/style.css (+39/-12)
To merge this branch: bzr merge lp:~pietroalbini/ubuntu-it-ask/comments
Reviewer Review Type Date Requested Status
Riccardo Padovani Approve
Review via email: mp+197561@code.launchpad.net

Description of the change

Improved the comment form style (the original is very bad).

To post a comment you must log in.
93. By Pietro Albini

Aligned 'Add comment' button to the right side

Revision history for this message
Riccardo Padovani (rpadovani) wrote :

Looks good, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'forum/skins/light/media/style/style.css'
2--- forum/skins/light/media/style/style.css 2013-07-08 07:43:48 +0000
3+++ forum/skins/light/media/style/style.css 2013-12-03 18:00:05 +0000
4@@ -1956,7 +1956,7 @@
5
6 .comment-form-widgets-container textarea {
7 height: 80px;
8- width: 80%;
9+ width: 75%;
10 float: left;
11 }
12
13@@ -1967,8 +1967,9 @@
14
15 div.comment-tools {
16 border-top: 1px dotted #eee;
17- padding-top: 3px;
18+ padding-top: 10px;
19 padding-bottom: 10px;
20+ padding-right: 5px;
21 text-align: right;
22 }
23
24@@ -1987,16 +1988,18 @@
25 }
26
27 div.comment-tools a {
28- background: none repeat scroll 0 0 #EEEEEE;
29- color: black;
30+ background: none repeat scroll 0 0 #777777;
31+ color: #ffffff;
32 cursor: pointer;
33 font-size: 11px;
34- padding: 3px;
35+ padding: 5px 10px;
36+ -webkit-border-radius: 5px;
37+ -moz-border-radius: 5px;
38+ border-radius: 5px;
39 }
40
41 div.comment-tools a:hover {
42- background-color: #777777;
43- color: white;
44+ background-color: #dd4814;
45 text-decoration: none;
46 }
47
48@@ -2038,22 +2041,46 @@
49 }
50
51 .comment-form-buttons {
52- width: 18%;
53+ padding-top: 5px;
54+ width: 23%;
55 height: 100%;
56 float: right;
57 }
58
59 .comment-form-buttons input, .user-prompt .prompt-buttons button {
60- height: 16px;
61- line-height: 12px;
62+ height: 12px;
63+ line-height: 10px;
64 font-size: 110%;
65- border: 1px solid #999;
66+ background: #db8264;
67+ border: 0;
68+ color: #ffffff;
69+ cursor: pointer;
70+ -webkit-border-radius: 5px;
71+ -moz-border-radius: 5px;
72+ border-radius: 5px;
73+}
74+
75+.comment-form-buttons .comment-submit {
76+ background: #dd4814;
77+}
78+
79+.comment-form-buttons .comment-submit:hover {
80+ background: #db8264;
81+}
82+
83+.comment-form-buttons input:hover, .user-prompt .prompt-buttons button:hover {
84+ background: #dd4814;
85+}
86+
87+.comment-form-buttons input:disabled, .user-prompt .prompt-buttons button:disabled {
88+ background: #aaaaaa !important;
89+ cursor: default;
90 }
91
92 .comment-form-buttons input {
93 width: 100%;
94 height: auto;
95- padding: 2px 0 4px 0;
96+ padding: 2px 0 2px 0;
97 vertical-align: middle;
98 margin-top: 6px;
99 }

Subscribers

People subscribed via source and target branches