regluit/static/css/book_panel.css

507 lines
10 KiB
CSS
Raw Normal View History

/* variables and mixins used in multiple less files go here */
2011-11-07 21:12:05 +00:00
.header-text {
height: 36px;
line-height: 36px;
display: block;
text-decoration: none;
font-weight: bold;
font-size: 13px;
letter-spacing: -0.05em;
}
.panelborders {
border-width: 1px 0px;
border-style: solid none;
border-color: #FFFFFF;
}
2011-11-09 02:23:23 +00:00
/* Local variables */
2011-11-07 21:12:05 +00:00
.greenpanelstuff {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
width: 120px;
line-height: 16px;
}
.greenpanelactionborders {
border-top-width: 1px;
border-bottom-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #FFFFFF;
border-bottom-color: #FFFFFF;
}
.panelhoverlink {
text-decoration: none;
color: #3d4e53;
}
.readit {
width: 118px;
height: 35px;
padding: 0px 0px;
background: #FFFFFF;
margin: 0px;
-moz-border-radius: 4px 4px 4px 4px;
-webkit-border-radius: 4px 4px 4px 4px;
border-radius: 4px 4px 4px 4px;
border: 1px solid #81bb38;
}
2011-11-09 02:23:23 +00:00
/* background */
@charset "utf-8";
2011-11-07 21:12:05 +00:00
* {
padding: 0px;
margin: 0px;
}
#main-wrapper {
height: 100%;
width: 725px;
margin: 0px;
padding: 0px 0px;
}
.panelview.tabs {
padding: 5px 0px;
margin: 0px;
width: 142px;
float: left;
}
.panelview.tabs span.active {
padding: 15px;
margin: 15px 0px;
font-weight: bold;
}
2011-11-09 02:23:23 +00:00
/* styling of front side elements */
2011-11-07 21:12:05 +00:00
.panelview.book-list {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
width: 120px;
line-height: 16px;
margin: auto;
padding: 0px 5px 5px 5px;
height: 300px;
background-color: #ffffff;
color: #3d4e53;
border: 5px solid #edf3f4;
position: relative;
}
.panelview.book-list:hover {
color: #3d4e53;
}
.panelview.book-list img {
padding: 5px 0px;
margin: 0px;
}
.panelview.remove-wishlist,
.panelview.on-wishlist,
.panelview.create-account,
.panelview.add-wishlist {
display: none;
}
2011-11-11 20:10:26 +00:00
.panelview.book-name div {
2011-11-07 21:12:05 +00:00
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 16px;
max-height: 32px;
color: #3d4e53;
overflow: hidden;
}
.panelview.booklist-status {
color: #8dc63f;
text-align: left;
}
.panelview.booklist-status .booklist-status-label {
float: left;
font-weight: bold;
}
.panelview.icons {
position: absolute;
bottom: -3px;
width: 140px;
}
.panelview.icons .booklist-status-img {
float: left;
}
.panelview.icons .booklist-status-label {
position: absolute;
color: #8dc63f;
padding-left: 5px;
left: 40px;
bottom: 5px;
}
.panelview.icons .right_add {
float: right;
padding: 10px 10px 0 0;
width: 24px;
}
.panelview.icons .panelnope {
display: none;
}
2011-11-11 20:10:26 +00:00
.panelview.boolist-ebook a {
display: none;
}
2011-11-09 02:23:23 +00:00
/* switch to/from hover state when jquery swaps class names */
div.panelview.side1 {
display: visible;
}
div.panelview.side2 {
display: none;
}
2011-11-09 02:23:23 +00:00
/* styling of hover state */
.panelback {
position: relative;
}
2011-11-07 21:12:05 +00:00
.greenpanel2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
width: 120px;
line-height: 16px;
margin: 0;
2011-11-07 21:12:05 +00:00
padding: 10px;
height: 295px;
background-color: #8dc63f;
color: #fff;
position: absolute;
top: -5px;
left: -10px;
2011-11-07 21:12:05 +00:00
}
.greenpanel_top {
height: 135px;
}
/* Campaign status text at top of hover state */
2011-11-07 21:12:05 +00:00
.unglued_white {
font-size: 12px;
margin: 0px auto 10px auto;
padding: 5px 0 10px 0;
height: 58px;
2011-11-07 21:12:05 +00:00
}
/* White-background action buttons; vary by state of campaign */
2011-11-07 21:12:05 +00:00
.read_itbutton {
width: 118px;
height: 35px;
padding: 0px 0px;
background: #FFFFFF;
margin: 0px;
-moz-border-radius: 4px 4px 4px 4px;
-webkit-border-radius: 4px 4px 4px 4px;
border-radius: 4px 4px 4px 4px;
border: 1px solid #81bb38;
}
.read_itbutton a {
line-height: 40px;
font-size: 11px;
background-repeat: no-repeat;
background-position: 10px center;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
padding: 0px 0px 0px 30px;
color: #73a334;
2011-11-11 20:10:26 +00:00
background: url("/static/images/book-panel/book_icon.png") no-repeat 10% center;
2011-11-07 21:12:05 +00:00
}
.read_itbutton a:hover {
text-decoration: none;
}
.read_itbutton a:hover {
text-decoration: none;
color: #3d4e53;
}
.read_itbutton.pledge {
background-image: url("/static/images/icons/pledgearrow-green.png");
background-repeat: no-repeat;
background-position: 90% center;
}
.read_itbutton.pledge a {
line-height: 35px;
font-size: 11px;
background-repeat: no-repeat;
background-position: 10px center;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
padding: 0px 0px 0px 25px;
color: #73a334;
background: none;
}
.read_itbutton.pledge a:hover {
text-decoration: none;
}
.read_itbutton.pledge a:hover {
text-decoration: none;
color: #3d4e53;
}
.read_itbutton_fail {
width: 118px;
height: 35px;
padding: 0px 0px;
background: #FFFFFF;
margin: 0px;
-moz-border-radius: 4px 4px 4px 4px;
-webkit-border-radius: 4px 4px 4px 4px;
border-radius: 4px 4px 4px 4px;
border: 1px solid #81bb38;
}
.read_itbutton_fail span {
line-height: 40px;
font-size: 11px;
background-repeat: no-repeat;
background-position: 10px center;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
padding: 0px 0px 0px 15px;
color: #73a334;
2011-11-11 20:10:26 +00:00
background: none;
}
.read_itbutton_fail span:hover {
text-decoration: none;
}
.Unglue_itbutton {
width: 118px;
height: 35px;
padding: 0px 0px;
background: #FFFFFF;
margin: 0px;
-moz-border-radius: 4px 4px 4px 4px;
-webkit-border-radius: 4px 4px 4px 4px;
border-radius: 4px 4px 4px 4px;
border: 1px solid #81bb38;
}
.Unglue_itbutton a {
background-image: url("/static/images/book-panel/unglue_icon.png");
line-height: 40px;
font-size: 11px;
background-repeat: no-repeat;
background-position: 10px center;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
padding: 0px 0px 0px 25px;
color: #73a334;
}
.Unglue_itbutton a:hover {
text-decoration: none;
}
.moreinfo.add-wishlist, .moreinfo.create-account {
width: 120px;
2011-11-07 21:12:05 +00:00
height: 30px;
padding: 0px;
margin: 10px 0 0 0;
border-top-width: 1px;
border-bottom-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #FFFFFF;
border-bottom-color: #FFFFFF;
background: url("/static/images/book-panel/add_wish_icon.png") no-repeat left center;
padding-right: 0;
2011-11-07 21:12:05 +00:00
}
.moreinfo.add-wishlist a,
.moreinfo.create-account a,
.moreinfo.add-wishlist span,
.moreinfo.create-account span {
line-height: 30px;
2011-11-07 21:12:05 +00:00
font-size: 11px;
background-repeat: no-repeat;
background-position: left center;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
padding: 0 5px 0 21px;
color: #FFF;
2011-11-07 21:12:05 +00:00
}
.moreinfo.add-wishlist a:hover,
.moreinfo.create-account a:hover,
.moreinfo.add-wishlist span:hover,
.moreinfo.create-account span:hover {
2011-11-07 21:12:05 +00:00
text-decoration: none;
color: #3d4e53;
}
.moreinfo.remove-wishlist {
width: 120px;
2011-11-07 21:12:05 +00:00
height: 30px;
padding: 0px;
margin: 10px 0 0 0;
2011-11-07 21:12:05 +00:00
border-top-width: 1px;
border-bottom-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #FFFFFF;
border-bottom-color: #FFFFFF;
background: url("/static/images/booklist/remove-wishlist-white.png") no-repeat left center;
2011-11-07 21:12:05 +00:00
}
.moreinfo.remove-wishlist a, .moreinfo.remove-wishlist span {
line-height: 30px;
2011-11-07 21:12:05 +00:00
font-size: 11px;
background-repeat: no-repeat;
background-position: left center;
2011-11-07 21:12:05 +00:00
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
padding: 0 5px 0 21px;
color: #FFF;
2011-11-07 21:12:05 +00:00
}
.moreinfo.remove-wishlist a:hover, .moreinfo.remove-wishlist span:hover {
2011-11-07 21:12:05 +00:00
text-decoration: none;
color: #3d4e53;
}
.moreinfo.on-wishlist {
width: 120px;
2011-11-07 21:12:05 +00:00
height: 30px;
padding: 0px;
margin: 10px 0 0 0;
border-top-width: 1px;
border-bottom-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #FFFFFF;
border-bottom-color: #FFFFFF;
background: url("/static/images/checkmark_small-white.png") no-repeat left center;
2011-11-07 21:12:05 +00:00
}
.moreinfo.on-wishlist a, .moreinfo.on-wishlist span {
line-height: 30px;
2011-11-07 21:12:05 +00:00
font-size: 11px;
background-repeat: no-repeat;
background-position: left center;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
padding: 0 5px 0 21px;
color: #FFF;
2011-11-07 21:12:05 +00:00
}
.moreinfo.on-wishlist a:hover, .moreinfo.on-wishlist span:hover {
2011-11-07 21:12:05 +00:00
text-decoration: none;
color: #3d4e53;
2011-11-07 21:12:05 +00:00
}
/* title, author */
.white_text {
2011-11-07 21:12:05 +00:00
width: 130px;
height: 45px;
padding: 15px 0px;
2011-11-07 21:12:05 +00:00
margin: 0px;
}
.white_text a {
color: #FFFFFF;
text-decoration: none;
}
.white_text a:hover {
2011-11-07 21:12:05 +00:00
text-decoration: none;
color: #3d4e53;
}
.white_text p {
/* necessary to ensure title/author don't overflow onto icons */
line-height: 16px;
max-height: 32px;
overflow: hidden;
2011-11-07 21:12:05 +00:00
}
.moreinfo {
width: 120px;
height: 30px;
padding: 0px;
margin: 10px 0 0 0;
2011-11-07 21:12:05 +00:00
border-top-width: 1px;
border-bottom-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #FFFFFF;
border-bottom-color: #FFFFFF;
background: url("/static/images/book-panel/more_icon.png") no-repeat left center;
cursor: pointer;
}
.moreinfo a, .moreinfo span {
line-height: 30px;
font-size: 11px;
background-repeat: no-repeat;
background-position: left center;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
padding: 0 0 0 21px;
color: #FFF;
2011-11-07 21:12:05 +00:00
}
.moreinfo a:hover, .moreinfo span:hover {
2011-11-07 21:12:05 +00:00
text-decoration: none;
color: #3d4e53;
}
.moreinfo > div {
height: 30px;
line-height: 30px;
padding-bottom: 8px;
}
2011-11-07 21:12:05 +00:00
/*end the 2greenpanel*/
.read {
margin: 15px auto 5px auto;
padding: 0px;
width: 140px;
color: #8dc63f;
height: 40px;
line-height: 25px;
float: left;
position: absolute;
bottom: -15px;
}
.read p {
margin: 0px;
padding: 10px 3px;
width: 50px;
font-size: 10pt;
float: left;
}
.read img {
padding: 5px 0px;
margin: 0px;
float: left;
}
.right_add {
padding: 10px;
margin: 0px;
float: right;
}
p.right_add {
float: right;
padding: 10px 10px 0 0;
width: 24px;
}
/**/
.read2 {
margin: 15px auto;
padding: 0px;
width: 130px;
color: #8dc63f;
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;
}
.panelview.book-thumb img {
z-index: 100;
width: 120px;
height: 182px;
}
.panelview.book-thumb span {
position: absolute;
bottom: 0;
left: -10px;
top: -5px;
z-index: 1000;
height: auto;
}