summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static/css/hyperkitty-common.css
blob: 7a3b572ca72b7d9750e9eb09a366c5bd31672b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
/*
 * Classes common to two or more pages, but not all (those go to base.css)
 */


.right {
    text-align: right;
}

.inline-block {
    display: inline-block;
}

.inline li, .inline-block li {
    display: inline-block;
    list-style-type: none;
}


/* from Bootstrap's alert class */
.errorlist {
  list-style-type: none;
  margin: 0 0 20px 0;
  padding: 8px 35px 8px 14px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  border: 1px solid #eed3d7;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  color: #b94a48;
  background-color: #f2dede;
}


/* Flash messages */
.flashmsg {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
}
.flashmsg .alert {
    display: inline-block;
}


/* Forms (replies, registration, ...) */
form .buttons .submit {
    /* leave some space before the cancel button/link */
    margin-right: 2em;
}


/* Favorites */
.saved, .notsaved {
    padding-left: 20px;
    background: no-repeat scroll left center;
}
.saved {
    background-image: url("../img/saved.png");
}
.notsaved {
    background-image: url("../img/notsaved.png");
}


/* Gravatar */
.gravatar {
    vertical-align: top;
    width:40px;
    font-size: 70%;
}
.gravatar img {
    width: 40px;
}



/*
 * Like / dislike
 */

form.likeform {
    display: inline;
    margin: 0;
    margin-right: 1em;
    padding: 0;
}
.likestatus {
    padding-left: 20px;
    margin-right: 1.5em;
    font-weight: bold;
}

.neutral {
    background: url("../img/neutral.png") no-repeat scroll left;
}
.like {
    background: url("../img/like.png") no-repeat scroll left;
}
.likealot {
    background: url("../img/likealot.png") no-repeat scroll left;
}

.youlike,
.youdislike {
    padding-left: 15px;
    margin-left: 0.5em;
}
.youlike {
    background: url("../img/youlike.png") no-repeat scroll left;
}
.youdislike {
    background: url("../img/youdislike.png") no-repeat scroll left;
}
.youlike.disabled {
  background: url("../img/youlike-disabled.png") no-repeat scroll left;
  color: #999;
}
.youdislike.disabled {
  background: url("../img/youdislike-disabled.png") no-repeat scroll left;
  color: #999;
}



/* Months list */

#months-list h3 {
    margin-top: 1em;
    font-size: 120%;
}
#months-list {
    padding-top: 1em;
}
#months-list li.current {
    font-weight: bold;
}



/*
 * Attachments
 */

p.attachments {
    margin-bottom: 0;
    font-weight: bold;
}
a.attachments {
    padding-left: 18px;
    background: url("../img/mail-attachment.png") no-repeat scroll left;
}
.email-info div.attachments {
    display: inline;
    padding: 0 1em;
}
.email-info .attachments ul.attachments-list {
    display: none;
    position: absolute;
    margin-left: 0;
    padding-right: 0.5em;
    border: 1px solid #aaa;
    border-top: none;
    z-index: 1;
}
.even .email-info .attachments ul.attachments-list {
    background-color: rgb(246, 246, 246);
}
.odd .email-info .attachments ul.attachments-list {
    background-color: rgb(238, 238, 238);
}
.email-info .attachments ul.attachments-list li {
    list-style-position: inside;
    padding-left: 0.5em;
}



/*
 * Replies
 */

a.reply {
  background: url("../img/reply.png") no-repeat left center;
  padding-left: 20px;
  margin-left: 1em;
}
a.reply.disabled {
  background: url("../img/reply-disabled.png") no-repeat left center;
  color: #999;
}
.reply-form {
    display: none;
    padding-top: 1em;
}
.reply-form p.reply-tools {
    font-size: 90%;
}
.reply-form p {
    margin: 0;
}
.reply-form textarea {
    width: 95%;
}
.reply-result {
    text-align: center;
}
.reply-result .alert {
    display: inline-block;
}
.reply-result .alert-success {
    margin-bottom: 0;
}
.reply-result .alert-error {
    white-space: pre;
    text-align: left;
}



/*
 * New thread form
 */

.new-thread-form {
    margin-left: 2em;
}
.new-thread-form #id_subject,
.new-thread-form textarea {
    width: 90%;
}