##// END OF EJS Templates
styling: removing unused td-gravatar class
lisaq -
r496:488856aa default
parent child Browse files
Show More
@@ -1,526 +1,521 b''
1 1
2 2 // tables.less
3 3 // For use in RhodeCode application tables;
4 4 // see style guide documentation for guidelines.
5 5
6 6 // TABLES
7 7
8 8 .rctable,
9 9 table.rctable,
10 10 table.dataTable {
11 11 clear:both;
12 12 width: 100%;
13 13 margin: 0 auto @padding;
14 14 padding: 0;
15 15 vertical-align: baseline;
16 16 line-height:1.5em;
17 17 border: none;
18 18 outline: none;
19 19 border-collapse: collapse;
20 20 border-spacing: 0;
21 21 color: @grey2;
22 22
23 23 b {
24 24 font-weight: normal;
25 25 }
26 26
27 27 em {
28 28 font-weight: bold;
29 29 font-style: normal;
30 30 }
31 31
32 32 th,
33 33 td {
34 34 height: auto;
35 35 max-width: 20%;
36 36 padding: .65em 1em .65em 0;
37 37 vertical-align: middle;
38 38 border-bottom: @border-thickness solid @grey5;
39 39 white-space: normal;
40 40
41 41 &.td-radio,
42 42 &.td-checkbox {
43 43 padding-right: 0;
44 44 text-align: center;
45 45
46 46 input {
47 47 margin: 0 1em;
48 48 }
49 49 }
50 50
51 51 &.truncate-wrap {
52 52 white-space: nowrap !important;
53 53 }
54 54
55 55 pre {
56 56 margin: 0;
57 57 }
58 58
59 59 .show_more {
60 60 height: inherit;
61 61 }
62 62 }
63 63
64 64 .expired td {
65 65 background-color: @grey7;
66 66 }
67 67
68 68 .td-radio + .td-owner {
69 69 padding-left: 1em;
70 70 }
71 71
72 72
73 73 th {
74 74 text-align: left;
75 75 font-family: @text-semibold;
76 76 }
77 77
78 78 .hl {
79 79 td {
80 80 background-color: lighten(@alert4,25%);
81 81 }
82 82 }
83 83
84 84 // Special Data Cell Types
85 85 // See style guide for desciptions and examples.
86 86
87 87 td {
88 88
89 89 &.user {
90 90 padding-left: 1em;
91 91 }
92 92
93 93 &.td-rss {
94 94 width: 20px;
95 95 min-width: 0;
96 96 margin: 0;
97 97 }
98 98
99 99 &.quick_repo_menu {
100 100 width: 15px;
101 101 text-align: center;
102 102
103 103 &:hover {
104 104 background-color: @grey5;
105 105 }
106 106 }
107 107
108 108 &.td-hash {
109 109 min-width: 80px;
110 110 width: 200px;
111 111 }
112 112
113 113 &.td-time {
114 114 width: 160px;
115 115 white-space: nowrap;
116 116 }
117 117
118 118 &.annotate{
119 119 padding-right: 0;
120 120
121 121 div.annotatediv{
122 122 margin: 0 0.7em;
123 123 }
124 124 }
125 125
126 &.td-gravatar {
127 width: 16px;
128 padding: 0 5px;
129 }
130
131 126 &.tags-col {
132 127 padding-right: 0;
133 128 }
134 129
135 130 &.td-description {
136 131 min-width: 350px;
137 132 }
138 133
139 134 &.td-componentname {
140 135 white-space: nowrap;
141 136 }
142 137
143 138 &.td-journalaction {
144 139 min-width: 300px;
145 140
146 141 .journal_action_params {
147 142 // waiting for feedback
148 143 }
149 144 }
150 145
151 146 &.td-active {
152 147 padding-left: .65em;
153 148 }
154 149
155 150 &.td-url {
156 151 white-space: nowrap;
157 152 }
158 153
159 154 &.td-comments {
160 155 min-width: 3em;
161 156 }
162 157
163 158 &.td-buttons {
164 159 padding: .3em 0;
165 160 }
166 161
167 162 &.td-action {
168 163 // this is for the remove/delete/edit buttons
169 164 padding-right: 0;
170 165 min-width: 95px;
171 166 text-transform: capitalize;
172 167
173 168 i {
174 169 display: none;
175 170 }
176 171 }
177 172
178 173 // TODO: lisa: this needs to be cleaned up with the buttons
179 174 .grid_edit,
180 175 .grid_delete {
181 176 display: inline-block;
182 177 margin: 0 @padding/3 0 0;
183 178 font-family: @text-light;
184 179
185 180 i {
186 181 display: none;
187 182 }
188 183 }
189 184
190 185 .grid_edit + .grid_delete {
191 186 border-left: @border-thickness solid @grey5;
192 187 padding-left: @padding/2;
193 188 }
194 189
195 190 &.td-compare {
196 191
197 192 input {
198 193 margin-right: 1em;
199 194 }
200 195
201 196 .compare-radio-button {
202 197 margin: 0 1em 0 0;
203 198 }
204 199
205 200
206 201 }
207 202
208 203 &.td-tags {
209 204 padding: .5em 1em .5em 0;
210 205
211 206 .tag {
212 207 margin: 1px;
213 208 }
214 209 }
215 210
216 211 .icon-svn, .icon-hg, .icon-git {
217 212 font-size: 1.4em;
218 213 }
219 214
220 215 &.collapse_commit,
221 216 &.expand_commit {
222 217 padding-right: 0;
223 218 padding-left: 1em;
224 219 }
225 220 }
226 221
227 222 .perm_admin_row {
228 223 color: @grey4;
229 224 background-color: @grey6;
230 225 }
231 226
232 227 .noborder {
233 228 border: none;
234 229
235 230 td {
236 231 border: none;
237 232 }
238 233 }
239 234 }
240 235
241 236 // TRUNCATING
242 237 // TODO: lisaq: should this possibly be moved out of tables.less?
243 238 // for truncated text
244 239 // used inside of table cells and in code block headers
245 240 .truncate-wrap {
246 241 white-space: nowrap !important;
247 242
248 243 //truncated text
249 244 .truncate {
250 245 max-width: 450px;
251 246 width: 300px;
252 247 overflow: hidden;
253 248 text-overflow: ellipsis;
254 249 -o-text-overflow: ellipsis;
255 250 -ms-text-overflow: ellipsis;
256 251
257 252 &.autoexpand {
258 253 width: 120px;
259 254 margin-right: 200px;
260 255 }
261 256 }
262 257 &:hover .truncate.autoexpand {
263 258 overflow: visible;
264 259 }
265 260
266 261 .tags-truncate {
267 262 width: 150px;
268 263 height: 22px;
269 264 overflow: hidden;
270 265
271 266 .tag {
272 267 display: inline-block;
273 268 }
274 269
275 270 &.truncate {
276 271 height: 22px;
277 272 max-height:2em;
278 273 width: 140px;
279 274 }
280 275 }
281 276 }
282 277
283 278 .apikeys_wrap {
284 279 margin-bottom: @padding;
285 280
286 281 table.rctable td:first-child {
287 282 width: 340px;
288 283 }
289 284 }
290 285
291 286
292 287
293 288 // SPECIAL CASES
294 289
295 290 // Repository Followers
296 291 table.rctable.followers_data {
297 292 width: 75%;
298 293 margin: 0;
299 294 }
300 295
301 296 // Repository List
302 297 // Group Members List
303 298 table.rctable.group_members,
304 299 table#repo_list_table {
305 300 min-width: 600px;
306 301 }
307 302
308 303 // Keyboard mappings
309 304 table.keyboard-mappings {
310 305 th {
311 306 text-align: left;
312 307 font-family: @text-semibold;
313 308 }
314 309 }
315 310
316 311 // Branches, Tags, and Bookmarks
317 312 #obj_list_table.dataTable {
318 313 td.td-time {
319 314 padding-right: 1em;
320 315 }
321 316 }
322 317
323 318 // User Admin
324 319 .rctable.useremails,
325 320 .rctable.account_emails {
326 321 .tag,
327 322 .btn {
328 323 float: right;
329 324 }
330 325 .btn { //to line up with tags
331 326 margin-right: 1.65em;
332 327 }
333 328 }
334 329
335 330 // User List
336 331 #user_list_table {
337 332
338 333 td.td-user {
339 334 min-width: 100px;
340 335 }
341 336 }
342 337
343 338 // Pull Request List Table
344 339 #pull_request_list_table.dataTable {
345 340
346 341 //TODO: lisa: This needs to be removed once the description is adjusted
347 342 // for using an expand_commit button (see issue 765)
348 343 td {
349 344 vertical-align: middle;
350 345 }
351 346 }
352 347
353 348 // Settings (no border)
354 349 table.rctable.dl-settings {
355 350 td {
356 351 border: none;
357 352 }
358 353 }
359 354
360 355
361 356 // Statistics
362 357 table.trending_language_tbl {
363 358 width: 100%;
364 359 line-height: 1em;
365 360
366 361 td div {
367 362 overflow: visible;
368 363 }
369 364 }
370 365
371 366 .trending_language_tbl, .trending_language_tbl td {
372 367 border: 0;
373 368 margin: 0;
374 369 padding: 0;
375 370 background: transparent;
376 371 }
377 372
378 373 .trending_language_tbl, .trending_language_tbl tr {
379 374 border-spacing: 0 3px;
380 375 }
381 376
382 377 .trending_language {
383 378 position: relative;
384 379 width: 100%;
385 380 height: 19px;
386 381 overflow: hidden;
387 382 background-color: @grey6;
388 383
389 384 span, b{
390 385 position: absolute;
391 386 display: block;
392 387 height: 12px;
393 388 margin-bottom: 0px;
394 389 white-space: pre;
395 390 padding: floor(@basefontsize/4);
396 391 top: 0;
397 392 left: 0;
398 393 }
399 394
400 395 span{
401 396 color: @text-color;
402 397 z-index: 0;
403 398 min-width: 20px;
404 399 }
405 400
406 401 b {
407 402 z-index: 1;
408 403 overflow: hidden;
409 404 background-color: @rcblue;
410 405 color: #FFF;
411 406 text-decoration: none;
412 407 }
413 408
414 409 }
415 410
416 411 // Changesets
417 412 #changesets.rctable {
418 413
419 414 // td must be fixed height for graph
420 415 td {
421 416 height: 32px;
422 417 padding: 0 1em 0 0;
423 418 vertical-align: middle;
424 419 white-space: nowrap;
425 420
426 421 &.td-description {
427 422 white-space: normal;
428 423 }
429 424
430 425 &.expand_commit {
431 426 padding-right: 0;
432 427 }
433 428 }
434 429 }
435 430
436 431 // Compare
437 432 table.compare_view_commits {
438 433 margin-top: @space;
439 434
440 435 td.td-time {
441 436 padding-left: .5em;
442 437 }
443 438
444 439 tr:hover {
445 440 cursor: pointer;
446 441
447 442 td {
448 443 background-color: lighten(@alert4,25%);
449 444 }
450 445 }
451 446 }
452 447
453 448 .file_history {
454 449 td.td-actions {
455 450 text-align: right;
456 451 }
457 452 }
458 453
459 454 .compare_view_files {
460 455
461 456 td.td-actions {
462 457 text-align: right;
463 458 }
464 459
465 460 .flag_status {
466 461 margin: 0 0 0 5px;
467 462 }
468 463
469 464 td.injected_diff {
470 465
471 466 .code-difftable {
472 467 border:none;
473 468 }
474 469
475 470 .diff-container {
476 471 border: @border-thickness solid @border-default-color;
477 472 .border-radius(@border-radius);
478 473 }
479 474
480 475 div.diffblock {
481 476 border:none;
482 477 }
483 478
484 479 div.code-body {
485 480 max-width: 1152px;
486 481 }
487 482 }
488 483
489 484 .rctable {
490 485
491 486 td {
492 487 padding-top: @space;
493 488 }
494 489
495 490 &:first-child td {
496 491 padding-top: 0;
497 492 }
498 493 }
499 494
500 495 .comment-bubble,
501 496 .show_comments {
502 497 float: right;
503 498 visibility: hidden;
504 499 padding: 0 1em 0 0;
505 500 }
506 501
507 502 .injected_diff {
508 503 padding-bottom: @padding;
509 504 }
510 505 }
511 506
512 507 // Gist List
513 508 #gist_list_table {
514 509 td {
515 510 vertical-align: middle;
516 511
517 512 div{
518 513 display: inline-block;
519 514 vertical-align: middle;
520 515 }
521 516
522 517 img{
523 518 vertical-align: middle;
524 519 }
525 520 }
526 521 }
General Comments 0
You need to be logged in to leave comments. Login now