2011-12-01 02:06:27 +00:00
|
|
|
@import "variables.less";
|
|
|
|
|
|
|
|
/* Local variables */
|
|
|
|
.greenpanelstuff {
|
|
|
|
font-size: 12px;
|
|
|
|
width: 120px;
|
|
|
|
line-height:16px;
|
|
|
|
}
|
|
|
|
|
2011-12-27 02:10:32 +00:00
|
|
|
.greenpanelactionitems(@pos, @lineheight) {
|
2012-12-17 19:23:23 +00:00
|
|
|
.height(@lineheight);
|
2011-12-01 02:06:27 +00:00
|
|
|
font-size:11px;
|
|
|
|
background-repeat: no-repeat;
|
2012-12-17 19:23:23 +00:00
|
|
|
background-position: @pos auto;
|
2011-12-01 02:06:27 +00:00
|
|
|
font-weight:bold;
|
|
|
|
text-decoration:none;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.greenpanelactionborders {
|
|
|
|
border-top-width: 1px;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-top-style: solid;
|
|
|
|
border-bottom-style: solid;
|
2012-08-03 19:25:42 +00:00
|
|
|
border-top-color: #FFF;
|
|
|
|
border-bottom-color: #FFF;
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.panelhoverlink {
|
|
|
|
text-decoration:none;
|
|
|
|
color:@text-blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.readit {
|
|
|
|
width:118px;
|
2012-12-17 19:23:23 +00:00
|
|
|
.height(35px);
|
2011-12-01 02:06:27 +00:00
|
|
|
padding:0px 0px;
|
2012-08-03 19:25:42 +00:00
|
|
|
background:#FFF;
|
2011-12-01 02:06:27 +00:00
|
|
|
margin:0px;
|
2012-01-13 17:34:42 +00:00
|
|
|
.one-border-radius(4px);
|
2011-12-01 02:06:27 +00:00
|
|
|
border: 1px solid #81bb38;
|
|
|
|
}
|
|
|
|
|
2014-06-17 18:39:16 +00:00
|
|
|
.buyit {
|
|
|
|
font-size: 13pt;
|
|
|
|
color: @green;
|
|
|
|
}
|
|
|
|
|
2011-12-27 02:10:32 +00:00
|
|
|
.readit_inner (@padding, @lineheight) {
|
|
|
|
.greenpanelactionitems(10px, @lineheight);
|
2011-12-01 02:06:27 +00:00
|
|
|
padding:0px 0px 0px @padding;
|
|
|
|
color:@dark-green;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration:none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-12-27 02:10:32 +00:00
|
|
|
.banners (@right) {
|
2011-12-01 02:06:27 +00:00
|
|
|
width:120px;
|
|
|
|
height:30px;
|
|
|
|
padding:0px;
|
2013-03-11 19:38:04 +00:00
|
|
|
margin:0 0 0 0;
|
2011-12-01 02:06:27 +00:00
|
|
|
.greenpanelactionborders;
|
|
|
|
|
2011-12-27 02:10:32 +00:00
|
|
|
a, span {
|
|
|
|
.greenpanelactionitems(left, 30px);
|
2011-12-01 02:06:27 +00:00
|
|
|
padding:0 @right 0 21px;
|
|
|
|
color:#FFF;
|
|
|
|
|
|
|
|
&:hover { .panelhoverlink;}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* background */
|
|
|
|
@charset "utf-8";
|
|
|
|
|
|
|
|
#main-wrapper{
|
|
|
|
height: 100%;
|
|
|
|
width: 725px;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panelview.tabs{
|
|
|
|
padding:5px 0px;
|
|
|
|
margin:0px;
|
|
|
|
width:142px;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
span.active{
|
|
|
|
padding:15px;
|
|
|
|
margin:15px 0px;
|
|
|
|
font-weight:bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* styling of front side elements */
|
|
|
|
.panelview.book-list {
|
|
|
|
.greenpanelstuff;
|
|
|
|
margin: auto;
|
|
|
|
padding: 0px 5px 5px 5px;
|
|
|
|
height: 300px;
|
|
|
|
background-color: #ffffff;
|
|
|
|
color: @text-blue;
|
|
|
|
border: 5px solid @pale-blue;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @text-blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
padding:5px 0px;
|
|
|
|
margin:0px;
|
|
|
|
}
|
2013-01-03 21:33:35 +00:00
|
|
|
|
|
|
|
.pledge.side1 {
|
|
|
|
display: none;
|
|
|
|
}
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.panelview {
|
|
|
|
&.remove-wishlist, &.on-wishlist, &.create-account, &.add-wishlist {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panelview.book-name div {
|
|
|
|
font-size: 12px;
|
|
|
|
line-height:16px;
|
|
|
|
max-height:32px;
|
2012-08-03 19:25:42 +00:00
|
|
|
color: @text-blue;
|
2011-12-01 02:06:27 +00:00
|
|
|
overflow: hidden;
|
2012-08-03 19:25:42 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: @medium-blue;
|
|
|
|
}
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.panelview.booklist-status {
|
2011-12-28 02:59:19 +00:00
|
|
|
display: none;
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.panelview.icons {
|
|
|
|
position: absolute;
|
|
|
|
bottom: -3px;
|
|
|
|
width: 140px;
|
|
|
|
|
|
|
|
.booklist-status-img {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.booklist-status-label {
|
|
|
|
position: absolute;
|
|
|
|
color: @green;
|
|
|
|
padding-left: 5px;
|
|
|
|
left: 40px;
|
|
|
|
bottom: 5px;
|
2012-05-17 13:24:57 +00:00
|
|
|
font-size: 17px;
|
2012-05-17 14:19:20 +00:00
|
|
|
margin-bottom: 3px;
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
|
|
|
|
2011-12-27 02:10:32 +00:00
|
|
|
.panelnope {
|
|
|
|
display: none;
|
|
|
|
}
|
2012-01-03 14:47:06 +00:00
|
|
|
|
|
|
|
.rounded {
|
|
|
|
margin-bottom: 7px;
|
|
|
|
}
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
2012-08-03 19:25:42 +00:00
|
|
|
/* make sure the box with the number of wishers displays right */
|
|
|
|
span.rounded {
|
|
|
|
.roundedspan;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.grey {
|
|
|
|
.supporter-color-span(#bacfd6, "grey");
|
|
|
|
}
|
2011-12-01 02:06:27 +00:00
|
|
|
|
|
|
|
.panelview.boolist-ebook a {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* switch to/from hover state when jquery swaps class names */
|
|
|
|
|
|
|
|
div.panelview.side1 {
|
|
|
|
display: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.panelview.side2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* styling of hover state */
|
|
|
|
.panelback {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.greenpanel2 {
|
|
|
|
.greenpanelstuff;
|
2011-12-27 02:10:32 +00:00
|
|
|
margin: 0;
|
2011-12-01 02:06:27 +00:00
|
|
|
padding: 10px;
|
|
|
|
height: 295px;
|
|
|
|
background-color: @green;
|
|
|
|
color: #fff;
|
|
|
|
position:absolute;
|
2011-12-28 00:17:44 +00:00
|
|
|
top:-5px;
|
2011-12-01 02:06:27 +00:00
|
|
|
left:-10px;
|
|
|
|
}
|
|
|
|
|
2011-12-27 02:10:32 +00:00
|
|
|
.greenpanel_top {
|
|
|
|
height: 135px;
|
|
|
|
}
|
2013-03-11 19:38:04 +00:00
|
|
|
.greenpanel2 .button_text {
|
|
|
|
height: 30px;
|
|
|
|
line-height: 30px
|
|
|
|
}
|
|
|
|
.greenpanel2 .bottom_button {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0px;
|
|
|
|
height: 26px;
|
|
|
|
}
|
|
|
|
.greenpanel2 .add_button {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 60px;
|
|
|
|
height: 26px;
|
|
|
|
}
|
2011-12-27 02:10:32 +00:00
|
|
|
|
2011-12-01 02:06:27 +00:00
|
|
|
/* Campaign status text at top of hover state */
|
|
|
|
.unglued_white {
|
|
|
|
font-size: 12px;
|
2011-12-27 02:10:32 +00:00
|
|
|
margin: 0px auto 10px auto;
|
|
|
|
padding: 5px 0 10px 0;
|
|
|
|
height:58px;
|
2014-04-10 19:29:56 +00:00
|
|
|
|
|
|
|
p{
|
|
|
|
margin:0;
|
|
|
|
}
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* White-background action buttons; vary by state of campaign */
|
|
|
|
.read_itbutton {
|
|
|
|
.readit;
|
2012-12-17 19:23:23 +00:00
|
|
|
display: block;
|
2012-05-23 12:47:41 +00:00
|
|
|
span {
|
2012-12-14 15:45:16 +00:00
|
|
|
.readit_inner(30px, 35px);
|
2011-12-01 02:06:27 +00:00
|
|
|
background: url("@{image-base}book-panel/book_icon.png") no-repeat 10% center;
|
2011-12-28 00:17:44 +00:00
|
|
|
|
|
|
|
&:hover { .panelhoverlink; }
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
2011-12-27 02:10:32 +00:00
|
|
|
|
|
|
|
&.pledge {
|
2012-05-23 12:47:41 +00:00
|
|
|
span {
|
2011-12-27 02:10:32 +00:00
|
|
|
.readit_inner(25px, 35px);
|
|
|
|
background: none;
|
2011-12-28 00:17:44 +00:00
|
|
|
|
|
|
|
&:hover { .panelhoverlink; }
|
2011-12-27 02:10:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
background-image: url("@{image-base}icons/pledgearrow-green.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 90% center;
|
|
|
|
}
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.read_itbutton_fail {
|
|
|
|
.readit;
|
|
|
|
|
|
|
|
span {
|
2012-12-17 19:23:23 +00:00
|
|
|
.readit_inner(15px, 35px);
|
2011-12-01 02:06:27 +00:00
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-02 21:10:32 +00:00
|
|
|
.panelview.panelfront.icons .read_itbutton {
|
2012-12-31 19:57:01 +00:00
|
|
|
margin-bottom: 7px;
|
|
|
|
.height(30px) !important;
|
|
|
|
}
|
|
|
|
|
2011-12-01 02:06:27 +00:00
|
|
|
.Unglue_itbutton{
|
|
|
|
.readit;
|
|
|
|
|
|
|
|
a {
|
|
|
|
background-image: url("@{image-base}book-panel/unglue_icon.png");
|
2011-12-27 02:10:32 +00:00
|
|
|
.readit_inner(25px, 40px);
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-12-28 00:17:44 +00:00
|
|
|
.moreinfo.add-wishlist, .moreinfo.create-account {
|
2011-12-27 02:10:32 +00:00
|
|
|
.banners(5px);
|
|
|
|
background: url("@{image-base}book-panel/add_wish_icon.png") no-repeat left center;
|
|
|
|
padding-right:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.moreinfo.remove-wishlist {
|
|
|
|
.banners(5px);
|
|
|
|
background: url("@{image-base}booklist/remove-wishlist-white.png") no-repeat left center;
|
|
|
|
}
|
2011-12-01 02:06:27 +00:00
|
|
|
|
2011-12-27 02:10:32 +00:00
|
|
|
.moreinfo.on-wishlist {
|
|
|
|
.banners(5px);
|
|
|
|
background: url("@{image-base}checkmark_small-white.png") no-repeat left center;
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* title, author */
|
|
|
|
.white_text {
|
2012-01-03 14:47:06 +00:00
|
|
|
width:120px;
|
2013-03-11 19:38:04 +00:00
|
|
|
height:60px;
|
2011-12-27 02:10:32 +00:00
|
|
|
padding:15px 0px;
|
2011-12-01 02:06:27 +00:00
|
|
|
margin:0px;
|
|
|
|
|
|
|
|
a {
|
2012-08-03 19:25:42 +00:00
|
|
|
color:#FFF;
|
2011-12-01 02:06:27 +00:00
|
|
|
text-decoration:none;
|
|
|
|
|
|
|
|
&:hover { .panelhoverlink;}
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
/* necessary to ensure title/author don't overflow onto icons */
|
|
|
|
line-height:16px;
|
|
|
|
max-height:32px;
|
|
|
|
overflow: hidden;
|
2013-03-11 19:38:04 +00:00
|
|
|
margin: 0 0 5px 0;
|
2011-12-01 02:06:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.moreinfo {
|
2011-12-27 02:10:32 +00:00
|
|
|
.banners(0);
|
|
|
|
background: url("@{image-base}book-panel/more_icon.png") no-repeat left center;
|
2011-12-28 00:17:44 +00:00
|
|
|
cursor: pointer;
|
2011-12-01 02:06:27 +00:00
|
|
|
|
|
|
|
> div {
|
|
|
|
.height(30px);
|
|
|
|
padding-bottom:8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*end the 2greenpanel*/
|
|
|
|
|
|
|
|
.read{
|
|
|
|
margin: 15px auto 5px auto;
|
|
|
|
padding: 0px;
|
|
|
|
width: 140px;
|
2011-12-20 15:39:02 +00:00
|
|
|
color:@call-to-action;
|
2011-12-01 02:06:27 +00:00
|
|
|
height:40px;
|
|
|
|
line-height:25px;
|
|
|
|
float:left;
|
|
|
|
position: absolute;
|
|
|
|
bottom: -15px;
|
|
|
|
}
|
|
|
|
.read p {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 10px 3px;
|
|
|
|
width: 50px;
|
2012-06-13 16:31:21 +00:00
|
|
|
font-size: 10pt;
|
2011-12-01 02:06:27 +00:00
|
|
|
float:left;
|
|
|
|
}
|
|
|
|
.read img{
|
|
|
|
padding:5px 0px;
|
|
|
|
margin:0px;
|
|
|
|
float:left;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**/
|
|
|
|
.read2{
|
|
|
|
margin: 15px auto;
|
|
|
|
padding: 0px;
|
|
|
|
width: 130px;
|
2011-12-20 15:39:02 +00:00
|
|
|
color:@call-to-action;
|
2011-12-01 02:06:27 +00:00
|
|
|
height:40px;
|
|
|
|
line-height:25px;
|
|
|
|
}
|
|
|
|
.read2 p {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 10px 3px;
|
|
|
|
width: 50px;
|
|
|
|
font-size:10pt;
|
|
|
|
float:left;
|
|
|
|
}
|
|
|
|
.read2 img{
|
|
|
|
padding:0px;
|
|
|
|
margin:0px;
|
|
|
|
float:left;
|
|
|
|
|
|
|
|
}
|
|
|
|
.right_add{
|
|
|
|
padding:10px;
|
|
|
|
margin:0px;
|
|
|
|
float:right;
|
|
|
|
}
|
|
|
|
/* --------------- ( slideout hover state ) --------------------------------------------- */
|
|
|
|
.panelview.book-thumb {
|
|
|
|
position: relative;
|
|
|
|
margin:0px;
|
|
|
|
padding:0px;
|
|
|
|
left:0px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
z-index: 100;
|
|
|
|
width: 120px;
|
|
|
|
height: 182px;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
position:absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left:-10px;
|
|
|
|
top:-5px;
|
|
|
|
z-index: 1000;
|
|
|
|
height:auto;
|
|
|
|
}
|
|
|
|
|
2011-11-07 16:58:48 +00:00
|
|
|
}
|