eliace/ergo-js

View on GitHub
css/widgets/basic/pagination.less

Summary

Maintainability
Test Coverage


.pagination {
    list-style: none;
  margin: 0;
  padding: 0;

  input {
      width: 4em;
      text-align: center;
  }

}

.pagination > li {
    display: inline-block;
    vertical-align: middle;
}

.pagination > li a {
//    padding: 10px 12px;
    padding: 0.4286em 0.5714em;
    line-height: 1;//1.42857;
    margin-left: -1px;
    text-decoration: none;
/*    color: #0A80CB;*/
    color: #666;
    display: inline-block;
    cursor: pointer;
//    color: #444;
//    float: left; /* hack */
}

.pagination > li:first-child a {
    margin-left: 0px;
}

.pagination li > a:hover {
    color: @text-color;
//    background-color: #eee;
}

.pagination li.selected > a {
    background-color: rgba(0,0,0,0.05);
//  background-color: #428BCA;/*#BBBBBB;*/
//  border-color: #CCCCCC;    
/*  background-color: #428BCA;
  border-color: #428BCA;*/
//  color: #FFFFFF;
    color: @text-color;
  cursor: default;    
}