Project

General

Profile

Patch #21258 » 0004-Pagination-change-to-a-GitHub-like-style.patch

Daniel Ritz, 2015-11-17 15:35

View differences:

public/stylesheets/application.css
498 498

  
499 499
input#content_comments {width: 99%}
500 500

  
501
span.pagination {margin-top:8px; font-size: 90%}
501
span.pagination {margin-left:3px}
502 502
.pagination ul.pages {
503 503
  margin: 0 5px 0 0;
504 504
  padding: 0;
......
506 506
}
507 507
.pagination ul.pages li {
508 508
  display: inline-block;
509
  padding-right: 4px;
509
  padding: 0;
510
  border: 1px solid #BBB;
511
  margin-left: -1px;
512
  line-height: 2em;
513
}
514
.pagination ul.pages li a,
515
.pagination ul.pages li span {
516
  padding: 4px 10px;
517
}
518
.pagination ul.pages li:first-child {
519
  border-top-left-radius: 4px;
520
  border-bottom-left-radius: 4px;
521
}
522
.pagination ul.pages li:last-child {
523
  border-top-right-radius: 4px;
524
  border-bottom-right-radius: 4px;
525
}
526
.pagination ul.pages li.current {
527
  color: white;
528
  background-color: #628DB6;
529
  border-color: #628DB6;
530
}
531
.pagination ul.pages li.page:hover {
532
  background-color: #EEE;
533
}
534
.pagination ul.pages li.page a:hover,
535
.pagination ul.pages li.page a:active {
536
  color: inherit;
537
  text-decoration: inherit;
510 538
}
511 539

  
512 540
#search-form fieldset p {margin:0.2em 0;}
(1-1/5)