client/app/books/book.css
author rougeronj
Thu, 04 Jun 2015 20:11:40 +0200
changeset 115 8bc06e007fd5
parent 114 e4ffc4e13a8e
child 177 4a79d51d0b50
permissions -rw-r--r--
copy-server ammico client changes

.gallery{
    padding:0;
}

.gallery .item {
    position:relative;
    height: 200px;
    width: 18%;
    padding: 0;
    margin: 1%;
    border: 1px solid #cdcdcd;
    overflow: hidden;
}

.gallery .item.no-img {
    background-color: #dddddd;
    border: 1px solid #cdcdcd;
}

.gallery .item p {
    text-align: center;
    color: #505050;
    font-size: 15px;
    position: absolute;
    width:100%;
    background-color: rgba(255, 255, 255, 0.7);
    bottom: 0;
    margin: 0;
}    

.gallery .item.no-img p {
    font-size: 38px;
    height: 173px;
    padding-top: 25px;
}

.gallery .item img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: auto;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}

.gallery .item .img-landscape {
    height: 100%;
    width: auto;
}

.gallery-buttons{
    font-size:15px;
    position: absolute;
    width: 100%;
    padding: 2px 5px;
    background-color: rgba(255, 255, 255, 0.7);
}

.gallery-buttons a{
    cursor: pointer;
}

.subtitle {
    border-top: 1px solid #000;
    border-bottom: 1px dotted #000;
    margin-top: 20px;
    padding: 6px 0 10px;
}

.add-book{
    padding:20px;
}
.add-book input{
    margin-bottom: 10px;
}

.accordion-toggle .glyphicon{
    font-size: 17px;
    margin-left:10px;
}

.list-books:nth-child(odd){
    background-color:#f8f8f8;
}