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-22 18:33:57 +00:00
|
|
|
/* rows in listview should alternate colors */
|
|
|
|
.row1 .book-list.listview {
|
|
|
|
background: #f6f9f9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row2 .book-list.listview {
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2011-11-22 18:33:57 +00:00
|
|
|
/* row is a container for divs with individual content elements */
|
|
|
|
/* these elements are styled differently to create list and panel views */
|
2011-11-22 01:17:31 +00:00
|
|
|
div {
|
|
|
|
&.unglue-this {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
&.book-thumb {
|
|
|
|
margin-right: 5px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
&.book-name {
|
|
|
|
width:235px;
|
|
|
|
margin-right:10px;
|
|
|
|
background:url("@{image-base}booklist/booklist-vline.png") right center no-repeat;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
display:block;
|
|
|
|
line-height:normal;
|
|
|
|
overflow: hidden;
|
|
|
|
.height(19px);
|
2012-02-29 18:35:53 +00:00
|
|
|
margin-bottom: 5px;
|
2011-11-22 01:17:31 +00:00
|
|
|
font-weight:bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.listview.author {
|
|
|
|
overflow: hidden;
|
|
|
|
display:block;
|
|
|
|
line-height:normal;
|
|
|
|
.height(19px);
|
|
|
|
}
|
|
|
|
}
|
2011-12-03 20:00:00 +00:00
|
|
|
&.add-wishlist, &.remove-wishlist, &.on-wishlist, &.create-account {
|
2011-11-22 01:17:31 +00:00
|
|
|
margin-right: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
width: 136px;
|
|
|
|
background:url("@{image-base}booklist/booklist-vline.png") right center no-repeat;
|
|
|
|
float: left;
|
|
|
|
|
2011-12-03 20:00:00 +00:00
|
|
|
span {
|
2011-11-22 01:17:31 +00:00
|
|
|
font-weight:normal;
|
|
|
|
color:@text-blue;
|
|
|
|
text-transform: none;
|
|
|
|
padding-left:20px;
|
|
|
|
}
|
|
|
|
|
2012-12-17 19:23:23 +00:00
|
|
|
span.booklist_pledge {
|
|
|
|
padding-left: 18px;
|
|
|
|
}
|
|
|
|
|
2011-11-22 01:17:31 +00:00
|
|
|
}
|
2011-12-15 15:28:23 +00:00
|
|
|
|
|
|
|
&.add-wishlist span, &.create-account span {
|
|
|
|
background:url("@{image-base}booklist/add-wishlist.png") left center no-repeat;
|
|
|
|
}
|
|
|
|
|
2012-11-20 14:56:04 +00:00
|
|
|
&.add-wishlist span.booklist_pledge {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2011-12-15 15:28:23 +00:00
|
|
|
&.remove-wishlist span {
|
2011-12-20 20:33:20 +00:00
|
|
|
background:url("@{image-base}booklist/remove-wishlist-blue.png") left center no-repeat;
|
2011-12-15 15:28:23 +00:00
|
|
|
}
|
|
|
|
|
2011-12-21 16:34:35 +00:00
|
|
|
&.on-wishlist > span, > span.on-wishlist {
|
2011-12-15 15:28:23 +00:00
|
|
|
background:url("@{image-base}checkmark_small.png") left center no-repeat;
|
|
|
|
}
|
|
|
|
|
2011-11-22 01:17:31 +00:00
|
|
|
&.booklist-status {
|
2012-12-14 15:45:16 +00:00
|
|
|
//width: 110px;
|
|
|
|
margin-right:85px;
|
2011-11-22 01:17:31 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
2011-11-22 18:33:57 +00:00
|
|
|
div.add-wishlist, div.remove-wishlist {
|
2011-11-22 01:28:41 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2011-11-06 21:16:23 +00:00
|
|
|
.booklist-status.listview {
|
2011-11-22 01:17:31 +00:00
|
|
|
span.booklist-status-label {
|
|
|
|
display: none;
|
|
|
|
}
|
2011-11-06 21:16:23 +00:00
|
|
|
|
2011-11-22 01:17:31 +00:00
|
|
|
span.booklist-status-text {
|
|
|
|
float:left;
|
|
|
|
display:block;
|
|
|
|
padding-right:5px;
|
2013-01-02 21:10:32 +00:00
|
|
|
max-width: 180px;
|
|
|
|
overflow: hidden;
|
2011-11-22 01:17:31 +00:00
|
|
|
}
|
2012-12-14 15:45:16 +00:00
|
|
|
|
|
|
|
.read_itbutton {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
div.unglue-this {
|
2011-11-22 01:17:31 +00:00
|
|
|
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;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2011-10-04 20:18:59 +00:00
|
|
|
|
2011-11-22 01:17:31 +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;
|
|
|
|
}
|
|
|
|
}
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.book-list-view {
|
2011-11-22 01:17:31 +00:00
|
|
|
padding:0;
|
|
|
|
margin:15px;
|
|
|
|
float:right;
|
|
|
|
list-style:none;
|
|
|
|
|
|
|
|
li {
|
|
|
|
float:left;
|
|
|
|
margin-right:10px;
|
|
|
|
display:block;
|
|
|
|
vertical-align:middle;
|
|
|
|
line-height:22px;
|
|
|
|
}
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
div.navigation {
|
2011-11-22 01:17:31 +00:00
|
|
|
float: left;
|
|
|
|
clear:both;
|
|
|
|
width:100%;
|
|
|
|
color:@dark-blue;
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.navigation {
|
2011-11-22 01:17:31 +00:00
|
|
|
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 {
|
|
|
|
.navigation-arrows(0, -168px);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-r a {
|
|
|
|
.navigation-arrows(-1px, -185px);
|
|
|
|
}
|
|
|
|
}
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.navigation li a:hover, ul.navigation li.active a {
|
2011-12-20 18:31:20 +00:00
|
|
|
color: @bright-blue;
|
2011-11-22 01:17:31 +00:00
|
|
|
text-decoration:underline;
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.unglue-button {
|
2011-11-22 01:17:31 +00:00
|
|
|
display: block;
|
|
|
|
border: 0;
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
2011-11-06 21:16:23 +00:00
|
|
|
.book-thumb.listview a {
|
2011-11-22 01:17:31 +00:00
|
|
|
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 {
|
2011-11-22 01:17:31 +00:00
|
|
|
overflow:visible;
|
|
|
|
z-index:1000;
|
|
|
|
border:none;
|
|
|
|
}
|
2011-11-06 21:16:23 +00:00
|
|
|
|
|
|
|
img {
|
2011-11-22 01:17:31 +00:00
|
|
|
position:absolute;
|
|
|
|
/* 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.
|
|
|
|
top:-20px;
|
|
|
|
left:-50px;
|
|
|
|
*/
|
2011-11-06 21:16:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-11-06 23:43:04 +00:00
|
|
|
.listview.icons {
|
2011-11-22 01:17:31 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 31px;
|
|
|
|
|
|
|
|
.booklist-status-img {
|
2012-01-13 17:34:42 +00:00
|
|
|
.one-border-radius(4px);
|
2011-11-22 01:17:31 +00:00
|
|
|
background-color: #fff;
|
|
|
|
margin-top: 4px;
|
|
|
|
height: 37px;
|
2011-11-06 23:43:04 +00:00
|
|
|
|
2011-11-22 01:17:31 +00:00
|
|
|
img {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
}
|
2012-01-03 14:59:17 +00:00
|
|
|
.booklist-status-label, {
|
2011-11-22 01:17:31 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2012-12-14 15:45:16 +00:00
|
|
|
|
|
|
|
.boolist-ebook img {
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
2011-11-06 23:43:04 +00:00
|
|
|
}
|
2011-11-07 20:11:52 +00:00
|
|
|
|
2012-02-06 18:53:25 +00:00
|
|
|
div#content-block-content {
|
2011-11-22 18:33:57 +00:00
|
|
|
padding-bottom: 100px;
|
2011-11-07 20:11:52 +00:00
|
|
|
}
|
2011-11-08 16:28:35 +00:00
|
|
|
|
|
|
|
.listview.panelback, .listview.panelback div {
|
2011-11-22 01:17:31 +00:00
|
|
|
display: none;
|
2011-11-11 20:10:47 +00:00
|
|
|
}
|
|
|
|
|
2011-11-21 16:10:31 +00:00
|
|
|
/* Starting state of toggle icons; will be overwritten by js in page */
|
|
|
|
#toggle-list {
|
2011-11-22 01:17:31 +00:00
|
|
|
.opacity(100);
|
2011-11-21 16:10:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#toggle-panel {
|
2011-11-22 01:17:31 +00:00
|
|
|
.opacity(20);
|
|
|
|
}
|
2012-02-01 20:57:03 +00:00
|
|
|
|
|
|
|
.nobold {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|