2011-11-06 21:16:23 +00:00
|
|
|
@import "variables.less";
|
|
|
|
|
2011-11-21 16:10:31 +00:00
|
|
|
/* Cross-browser language */
|
|
|
|
.opacity (@op) {
|
|
|
|
filter:alpha(opacity=@op);
|
|
|
|
-moz-opacity:@op/100;
|
|
|
|
-khtml-opacity:@op/100;
|
|
|
|
opacity:@op/100;
|
|
|
|
}
|
|
|
|
|
2011-11-06 21:16:23 +00:00
|
|
|
div.book-list.listview{
|
2011-10-04 20:18:59 +00:00
|
|
|
clear:both;
|
|
|
|
display:block;
|
|
|
|
vertical-align: middle;
|
2011-10-13 16:25:10 +00:00
|
|
|
.height(43px);
|
2011-10-11 13:32:52 +00:00
|
|
|
margin:0 5px 0 0;
|
2011-10-04 20:18:59 +00:00
|
|
|
padding:7px 0;
|
2011-11-06 21:16:23 +00:00
|
|
|
// overflow:hidden;
|
2011-11-07 20:11:52 +00:00
|
|
|
position: relative;
|
2011-10-04 20:18:59 +00:00
|
|
|
|
|
|
|
&.row1 {
|
|
|
|
background:#f6f9f9;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.row2 {
|
|
|
|
background:#fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
&.unglue-this {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
&.book-thumb {
|
|
|
|
margin-right: 5px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
&.book-name {
|
2011-11-11 20:10:47 +00:00
|
|
|
width:235px;
|
2011-10-04 20:18:59 +00:00
|
|
|
margin-right:10px;
|
2011-11-11 20:10:47 +00:00
|
|
|
background:url("@{image-base}booklist/booklist-vline.png") right center no-repeat;
|
2011-10-04 20:18:59 +00:00
|
|
|
float: left;
|
2011-11-07 20:11:52 +00:00
|
|
|
|
2011-11-11 20:10:47 +00:00
|
|
|
.title {
|
2011-10-04 20:18:59 +00:00
|
|
|
display:block;
|
|
|
|
line-height:normal;
|
2011-11-11 20:10:47 +00:00
|
|
|
overflow: hidden;
|
|
|
|
.height(19px);
|
|
|
|
padding-bottom: 5px;
|
|
|
|
font-weight:bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.listview.author {
|
|
|
|
overflow: hidden;
|
|
|
|
display:block;
|
|
|
|
line-height:normal;
|
|
|
|
.height(19px);
|
|
|
|
}
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
2011-10-14 13:50:18 +00:00
|
|
|
&.add-wishlist, &.remove-wishlist {
|
2011-10-04 20:18:59 +00:00
|
|
|
margin-right: 10px;
|
|
|
|
padding-right: 10px;
|
2011-11-11 20:10:47 +00:00
|
|
|
width: 136px;
|
|
|
|
background:url("@{image-base}booklist/booklist-vline.png") right center no-repeat;
|
2011-10-04 20:18:59 +00:00
|
|
|
float: left;
|
|
|
|
|
2011-10-13 16:25:10 +00:00
|
|
|
a {
|
2011-10-04 20:18:59 +00:00
|
|
|
font-weight:normal;
|
|
|
|
color:@text-blue;
|
|
|
|
text-transform: none;
|
2011-11-11 20:10:47 +00:00
|
|
|
background:url("@{image-base}booklist/add-wishlist.png") left center no-repeat;
|
2011-10-04 20:18:59 +00:00
|
|
|
padding-left:20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
&.booklist-status {
|
2011-11-11 20:10:47 +00:00
|
|
|
width: 110px;
|
2011-10-04 20:18:59 +00:00
|
|
|
margin-right:7px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-11-06 21:16:23 +00:00
|
|
|
.booklist-status.listview {
|
|
|
|
span.booklist-status-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.booklist-status-text {
|
|
|
|
float:left;
|
|
|
|
display:block;
|
|
|
|
padding-right:5px;
|
|
|
|
text-transform:capitalize;
|
|
|
|
}
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
div.unglue-this {
|
|
|
|
a {
|
|
|
|
text-transform:uppercase;
|
|
|
|
color:@text-blue;
|
|
|
|
font-size:11px;
|
|
|
|
font-weight:bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.complete {
|
|
|
|
.unglue-this-inner1 {
|
|
|
|
background:url(@background-booklist) 0 -84px no-repeat;
|
|
|
|
height:42px;
|
|
|
|
}
|
|
|
|
.unglue-this-inner2 {
|
|
|
|
background:url(@background-booklist) 100% -126px no-repeat;
|
|
|
|
margin-left:29px;
|
|
|
|
height:42px;
|
|
|
|
padding-right:10px;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color:#fff;
|
2011-10-13 16:25:10 +00:00
|
|
|
display: block;
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.processing {
|
|
|
|
.unglue-this-inner1 {
|
|
|
|
background:url(@background-booklist) 0 0 no-repeat;
|
|
|
|
height:42px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unglue-this-inner2 {
|
|
|
|
background:url(@background-booklist) 100% -42px no-repeat;
|
|
|
|
margin-left:25px;
|
|
|
|
height:42px;
|
|
|
|
padding-right:10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.book-list-view {
|
|
|
|
padding:0;
|
|
|
|
margin:15px;
|
|
|
|
float:right;
|
|
|
|
list-style:none;
|
|
|
|
|
|
|
|
li {
|
|
|
|
float:left;
|
|
|
|
margin-right:10px;
|
|
|
|
display:block;
|
|
|
|
vertical-align:middle;
|
|
|
|
line-height:22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.navigation {
|
|
|
|
float: left;
|
|
|
|
clear:both;
|
|
|
|
width:100%;
|
|
|
|
color:@dark-blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.navigation {
|
|
|
|
float:right;
|
|
|
|
padding:0;
|
|
|
|
margin:0;
|
|
|
|
list-style:none;
|
|
|
|
|
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
line-height:normal;
|
|
|
|
margin-right:5px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color:@dark-blue;
|
|
|
|
font-weight:normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-l a {
|
2011-10-11 13:32:52 +00:00
|
|
|
.navigation-arrows(0, -168px);
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-r a {
|
2011-10-11 13:32:52 +00:00
|
|
|
.navigation-arrows(-1px, -185px);
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.navigation li a:hover, ul.navigation li.active a {
|
2011-10-13 16:25:10 +00:00
|
|
|
color: #8ac3d7;
|
2011-10-04 20:18:59 +00:00
|
|
|
text-decoration:underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unglue-button {
|
|
|
|
display: block;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2011-11-06 21:16:23 +00:00
|
|
|
.book-thumb.listview a {
|
|
|
|
display:block;
|
2011-10-04 20:18:59 +00:00
|
|
|
height: 50px;
|
2011-11-06 21:16:23 +00:00
|
|
|
width: 32px;
|
|
|
|
overflow:hidden;
|
|
|
|
position:relative;
|
|
|
|
z-index:1;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
overflow:visible;
|
|
|
|
z-index:1000;
|
|
|
|
border:none;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
position:absolute;
|
2011-11-06 23:43:04 +00:00
|
|
|
/* the excerpt you get looks cooler if you select from the middle, but
|
|
|
|
the popup version doesn't extend past the containing div's boundaries,
|
|
|
|
so the positioned part is cut off.
|
2011-11-06 21:16:23 +00:00
|
|
|
top:-20px;
|
|
|
|
left:-50px;
|
2011-11-06 23:43:04 +00:00
|
|
|
*/
|
2011-11-06 21:16:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-11-06 23:43:04 +00:00
|
|
|
.listview.icons {
|
2011-11-07 20:11:52 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 31px;
|
|
|
|
|
2011-11-06 23:43:04 +00:00
|
|
|
.booklist-status-img {
|
|
|
|
.border-radius(4px, 4px, 4px, 4px);
|
|
|
|
background-color: #fff;
|
|
|
|
margin-top: 4px;
|
|
|
|
height: 37px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.booklist-status-label, .right_add {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2011-11-07 20:11:52 +00:00
|
|
|
|
|
|
|
div.content-block-content {
|
|
|
|
padding-bottom: 200px;
|
|
|
|
}
|
2011-11-08 16:28:35 +00:00
|
|
|
|
|
|
|
.listview.panelback, .listview.panelback div {
|
|
|
|
display: none;
|
2011-11-11 20:10:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.listview.boolist-ebook a {
|
|
|
|
color: @text-blue;
|
2011-11-21 16:10:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Starting state of toggle icons; will be overwritten by js in page */
|
|
|
|
#toggle-list {
|
|
|
|
.opacity(100);
|
|
|
|
}
|
|
|
|
|
|
|
|
#toggle-panel {
|
|
|
|
.opacity(20);
|
2011-11-08 16:28:35 +00:00
|
|
|
}
|