Projet

Général

Profil

Paste
Télécharger (7,35 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / advanced_forum / styles / silver_bells / advanced-forum.silver_bells.images.css @ c169e7c4

1
/* FORUM LIST ICONS *********************************************************/
2
.forum-list-icon-wrapper {
3
  border-top: 1px solid #EAF8E4;
4
  background: #C1C1C1;
5
  background: -webkit-gradient(linear, left top, left bottom, from(#DFDFDF), to(#C1C1C1));
6
  background: -moz-linear-gradient(top, #DFDFDF, #C1C1C1);
7
  -webkit-border-radius: 5px;
8
  -moz-border-radius: 5px;
9
  border-radius: 5px;
10
  -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
11
  -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
12
  box-shadow: rgba(0,0,0,1) 0 1px 0;
13
  text-shadow: rgba(0,0,0,.4) 0 1px 0;
14
  color: #333333;
15
  font-family: Helvetica, Arial, Sans-Serif;
16
  text-decoration: none;
17
  vertical-align: middle;
18
  margin: 10px;
19
  width: 50px;
20
  height: 50px;
21
  display: block;
22
}
23

    
24
tr.even td.forum-list-icon-default .forum-list-icon-wrapper span,
25
tr.odd td.forum-list-icon-default .forum-list-icon-wrapper span,
26
.forum-list-icon-legend .forum-list-icon-default {
27
  background: transparent url(images/forum_list_default.png) no-repeat center center;
28
}
29

    
30
tr.even td.forum-list-icon-new-posts .forum-list-icon-wrapper span,
31
tr.odd td.forum-list-icon-new-posts .forum-list-icon-wrapper span,
32
.forum-list-icon-legend .forum-list-icon-new-posts {
33
  background: transparent url(images/forum_list_new_posts.png) no-repeat center center;
34
}
35

    
36
/* TOPIC LIST ICONS *********************************************************/
37
span.topic-icon {
38
  width: 24px;
39
  height: 24px;
40
  text-indent: -9999px;
41
}
42

    
43
.topic-icon-default {
44
  background: transparent url(images/topic_list_default.png) no-repeat center center;
45
}
46

    
47
.topic-icon-new {
48
  background: transparent url(images/topic_list_new.png) no-repeat center center;
49
}
50

    
51
.topic-icon-hot {
52
  background: transparent url(images/topic_list_hot.png) no-repeat center center;
53
}
54

    
55
.topic-icon-hot-new {
56
  background: transparent url(images/topic_list_hot_new.png) no-repeat center center;
57
}
58

    
59
.topic-icon-sticky {
60
  background: transparent url(images/topic_list_sticky.png) no-repeat center center;
61
}
62

    
63
.topic-icon-closed {
64
  background: transparent url(images/topic_list_closed.png) no-repeat center center;
65
}
66

    
67
/* TOPIC LIST ICON LEGEND ***************************************************/
68
.topic-icon-default {
69
  background: transparent url(images/topic_list_default.png) no-repeat top left;
70
}
71

    
72
.topic-icon-new {
73
  background: transparent url(images/topic_list_new.png) no-repeat top left;
74
}
75

    
76
.topic-icon-hot {
77
  background: transparent url(images/topic_list_hot.png) no-repeat top left;
78
}
79

    
80
.topic-icon-hot-new {
81
  background: transparent url(images/topic_list_hot_new.png) no-repeat top left;
82
}
83

    
84
.topic-icon-sticky {
85
  background: transparent url(images/topic_list_sticky.png) no-repeat top left;
86
}
87

    
88
.topic-icon-closed {
89
  background: transparent url(images/topic_list_closed.png) no-repeat top left;
90
}
91

    
92
/* AUTHOR PANE **************************************************************/
93

    
94
.forum-post-panel-sub .author-online {
95
  background: transparent url(images/ap_user_online.png) no-repeat;
96
  padding-left: 20px;
97
  height: 20px;
98
  width: 125px;
99
  display: block;
100
}
101

    
102
.forum-post-panel-sub .author-offline {
103
  background: transparent url(images/ap_user_offline.png) no-repeat;
104
  padding-left: 20px;
105
  height: 20px;
106
  width: 125px;
107
  display: block;
108
}
109

    
110

    
111
/* BUTTONIZED LINKS - GENERAL ***********************************************/
112
/* Based on http://css-tricks.com/examples/ButtonMaker */
113

    
114
a.af-button-large,
115
a.af-button-large:link,
116
a.af-button-large:visited,
117
a.af-button-small,
118
a.af-button-small:link,
119
a.af-button-small:visited,
120
a.author-pane-link,
121
a.author-pane-link:link,
122
a.author-pane-link:visited {
123
  color: #333333;
124
  text-decoration: none;
125
}
126

    
127
.af-button-large,
128
.af-button-small,
129
.author-pane-link {
130
  display: block;
131
  border-top: 1px solid #EAF8E4;
132
  background: #C1C1C1;
133
  background: -webkit-gradient(linear, left top, left bottom, from(#DFDFDF), to(#C1C1C1));
134
  background: -moz-linear-gradient(top, #DFDFDF, #C1C1C1);
135
  -webkit-border-radius: 5px;
136
  -moz-border-radius: 5px;
137
  border-radius: 5px;
138
  -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
139
  -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
140
  box-shadow: rgba(0,0,0,1) 0 1px 0;
141
  text-shadow: rgba(0,0,0,.4) 0 1px 0;
142
  color: #333333;
143
  font-family: Helvetica, Arial, Sans-Serif;
144
  text-decoration: none;
145
  vertical-align: middle;
146
}
147

    
148
a.af-button-large:hover,
149
a.af-button-small:hover,
150
a.author-pane-link:hover {
151
  background: #C1C1C1;
152
  color: #333333;
153
  border-top-color: #EFEFEF;
154
}
155

    
156
a.af-button-large:active,
157
a.af-button-small:active,
158
a.author-pane-link:active {
159
  background: #C1C1C1;
160
  color: #333333;
161
  border-top-color: #EFEFEF;
162
}
163

    
164
.af-button-large span {
165
  font-size: 14px;
166
  padding: 2px 2px 2px 25px; /* Last number controls width for image */
167
  line-height: 30px; /* Approximate height of button */
168
  margin: 0 7px 0 7px; /* Left and right space outside text & image */
169
}
170

    
171
.af-button-small span {
172
  font-size: 12px;
173
  padding: 2px 2px 2px 20px; /* Last number controls width for image */
174
  line-height: 25px; /* Approximate height of button */
175
  margin: 0 7px 0 7px; /* Left and right space outside text & image */
176
}
177

    
178
.author-pane-link span {
179
  font-size: 12px;
180
  padding: 0 0 0 22px; /* Last number controls width for image */
181
  line-height: 22px; /* Approximate height of button */
182
  margin: 0 7px 0 7px; /* Left and right space outside text & image */
183
}
184

    
185
/* BUTTONIZED LINKS - INDIVIDUAL BUTTONS ************************************/
186

    
187
.forum-add-forum .af-button-large span {
188
  background: url(images/add_topic.png) no-repeat;
189
}
190

    
191
.forum-add-poll .af-button-large span {
192
  background: url(images/add_poll.png) no-repeat;
193
}
194

    
195
/*** Reply/Locked at the top and bottom of individual topics. ***/
196

    
197
/* Reply link */
198
.topic-reply-allowed .af-button-large span {
199
  background: url(images/topic_reply.png) no-repeat;
200
}
201

    
202
/* Locked topic (not a link so an extra span is used instead of the "a". */
203
.topic-reply-locked .af-button-large span {
204
  background: url(images/topic_locked.png) no-repeat;
205
}
206

    
207
/* Last post */
208
.last-post-link .af-button-large span {
209
  background: url(images/topic_last_post.png) no-repeat;
210
}
211

    
212
/* First unread */
213
.topic-new-post-link .af-button-large span {
214
  background: url(images/topic_first_unread_post.png) no-repeat;
215
}
216

    
217

    
218
/*** Links on the individual posts (nodes and comments). ***/
219

    
220
/* General */
221
.forum-post-links .af-button-small span {
222
}
223

    
224
/* Reply */
225
.comment-add .af-button-small span,
226
.comment-reply .af-button-small span {
227
  background: url(images/post_reply.png) no-repeat;
228
}
229

    
230
/* Quote */
231
.quote .af-button-small span {
232
  background: url(images/post_quote.png) no-repeat;
233
}
234

    
235
/* Edit */
236
.comment-edit .af-button-small span,
237
.post-edit .af-button-small span {
238
  background: url(images/post_edit.png) no-repeat;
239
}
240

    
241
/* Delete */
242
.comment-delete .af-button-small span,
243
.post-delete .af-button-small span {
244
  background: url(images/post_delete.png) no-repeat;
245
}
246

    
247
/* Jump to top */
248
.forum-jump-links .af-button-small span {
249
  background: url(images/topic_top.png) no-repeat;
250
}
251

    
252
/*** AUTHOR PANE ***/
253

    
254
.forum-post-panel-sub .author-contact .author-pane-link span {
255
  background: transparent url(images/ap_email.png) no-repeat;
256
}
257

    
258
.forum-post-panel-sub .author-privatemsg .author-pane-link span {
259
  background: transparent url(images/ap_private_message.png) no-repeat;
260
}
261

    
262
.forum-post-panel-sub .author-relationship-add-icon.author-pane-link span {
263
  background: transparent url(images/ap_contact_add.png) no-repeat;
264
}
265

    
266
.forum-post-panel-sub .author-relationship-remove-icon.author-pane-link {
267
  background: transparent url(images/ap_contact_remove.png) no-repeat;
268
}