client/app/books/book.css
author rougeronj
Tue, 07 Apr 2015 11:55:11 +0200
changeset 72 ed2ee692ff6f
parent 69 88f76bf93465
child 75 288fb435874e
permissions -rw-r--r--
Update PopulateVisit function to get only the new visits from Jamespot. In case the parameter "parrent_visit" is passed when creating a book, we copy all the slide corresponding to the visit being copied. Refactor PopulateVisite to PopulateVisit.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     1
.gallery .item {
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     2
  overflow:hidden; position:relative; height: 250px; padding: 5px;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     3
}
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     4
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     5
.img-ctn {
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     6
    height: 100%; width: 100%; border: 1px solid #DDD; padding: 5px; overflow: hidden;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     7
}
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     8
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     9
.img-ctn:hover {
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    10
    background-color: #DDD;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    11
}
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    12
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    13
.img-ctn p {
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    14
    background-color: #ddd;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    15
    bottom: -5px;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    16
    display: none;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    17
    padding: 2px 5px;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    18
    position: absolute;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    19
    width: calc(100% - 22px);
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    20
}
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    21
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    22
.img-ctn:hover p, .img-ctn:hover .gallery-buttons {
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    23
    display: block;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    24
}
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    25
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    26
.gallery .item img {
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    27
    margin: 0 auto;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    28
    max-height: 100%;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    29
}
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    30
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    31
.gallery-buttons{
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    32
	display: none;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    33
    position: absolute;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    34
    right: 10px;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    35
    top: 10px;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    36
}
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    37
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    38
.subtitle {
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    39
    border-top: 1px solid #000;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    40
    border-bottom: 1px dotted #000;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    41
    margin-top: 20px;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    42
    padding: 6px 0 10px;
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    43
}
53
dac1df90b49e fucntion and button to add a book
rougeronj
parents: 24
diff changeset
    44
dac1df90b49e fucntion and button to add a book
rougeronj
parents: 24
diff changeset
    45
.add-book{
dac1df90b49e fucntion and button to add a book
rougeronj
parents: 24
diff changeset
    46
	padding:20px;
dac1df90b49e fucntion and button to add a book
rougeronj
parents: 24
diff changeset
    47
}
dac1df90b49e fucntion and button to add a book
rougeronj
parents: 24
diff changeset
    48
.add-book input{
dac1df90b49e fucntion and button to add a book
rougeronj
parents: 24
diff changeset
    49
	margin-bottom: 10px;
dac1df90b49e fucntion and button to add a book
rougeronj
parents: 24
diff changeset
    50
}
69
88f76bf93465 update list book view with accordeons and add delete fonction on a book
rougeronj
parents: 53
diff changeset
    51
88f76bf93465 update list book view with accordeons and add delete fonction on a book
rougeronj
parents: 53
diff changeset
    52
.accordion-toggle .glyphicon{
88f76bf93465 update list book view with accordeons and add delete fonction on a book
rougeronj
parents: 53
diff changeset
    53
	font-size: 17px;
88f76bf93465 update list book view with accordeons and add delete fonction on a book
rougeronj
parents: 53
diff changeset
    54
	margin-left:5px;
53
dac1df90b49e fucntion and button to add a book
rougeronj
parents: 24
diff changeset
    55
}