diff --git a/static/css/book_list.css b/static/css/book_list.css
index b2f26c20..b9e3cc36 100755
--- a/static/css/book_list.css
+++ b/static/css/book_list.css
@@ -72,9 +72,6 @@ div.book-list.listview div.booklist-status {
padding-right: 5px;
text-transform: capitalize;
}
-.booklist-status.listview .booklist-status-img p {
- display: none;
-}
div.unglue-this a {
text-transform: uppercase;
color: #3d4e53;
@@ -176,9 +173,31 @@ ul.navigation li a:hover, ul.navigation li.active a {
}
.book-thumb.listview a img {
position: absolute;
- top: -20px;
- left: -50px;
+ /* 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;
+ */
+
}
.listview.author {
display: none;
}
+.listview.icons {
+ float: left;
+}
+.listview.icons .booklist-status-img {
+ -moz-border-radius: 4px 4px 4px 4px;
+ -webkit-border-radius: 4px 4px 4px 4px;
+ border-radius: 4px 4px 4px 4px;
+ background-color: #fff;
+ margin-top: 4px;
+ height: 37px;
+}
+.listview.icons .booklist-status-img img {
+ padding: 5px;
+}
+.listview.icons .booklist-status-label, .listview.icons .right_add {
+ display: none;
+}
diff --git a/static/css/book_panel.css b/static/css/book_panel.css
index 03c376a8..18baea62 100644
--- a/static/css/book_panel.css
+++ b/static/css/book_panel.css
@@ -64,6 +64,7 @@
background-color: #ffffff;
color: #3d4e53;
border: 5px solid #edf3f4;
+ position: relative;
/* might need this for panel hover state; don't want it for nonhover. hm.
a {
color: @dark-green;
@@ -84,7 +85,10 @@
padding: 5px 0px;
margin: 0px;
}
-div.remove-wishlist.panelview {
+.panelview.remove-wishlist,
+.panelview.on-wishlist,
+.panelview.create-account,
+.panelview.add-wishlist {
display: none;
}
.panelview.book-name, .panelview.author {
@@ -101,6 +105,26 @@ div.remove-wishlist.panelview {
float: left;
font-weight: bold;
}
+.panelview.icons {
+ position: absolute;
+ bottom: 0px;
+ 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;
+}
/*2 start*/
.greenpanel2 {
font-family: Arial, Helvetica, sans-serif;
diff --git a/static/less/book_list.less b/static/less/book_list.less
index 28607420..dbf9ffbd 100755
--- a/static/less/book_list.less
+++ b/static/less/book_list.less
@@ -70,10 +70,6 @@ div.book-list.listview{
padding-right:5px;
text-transform:capitalize;
}
-
- .booklist-status-img p {
- display: none;
- }
}
div.unglue-this {
@@ -190,11 +186,32 @@ ul.navigation li a:hover, ul.navigation li.active a {
img {
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;
+ */
}
}
.listview.author {
display: none;
}
+
+.listview.icons {
+ float: left;
+ .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;
+ }
+}
diff --git a/static/less/book_panel.less b/static/less/book_panel.less
index 2a0734e2..d237dae7 100644
--- a/static/less/book_panel.less
+++ b/static/less/book_panel.less
@@ -68,6 +68,7 @@
background-color: #ffffff;
color: @text-blue;
border: 5px solid @pale-blue;
+ position: relative;
&:hover {
color: @text-blue;
@@ -91,8 +92,10 @@
*/
}
-div.remove-wishlist.panelview {
- display: none;
+.panelview {
+ &.remove-wishlist, &.on-wishlist, &.create-account, &.add-wishlist {
+ display: none;
+ }
}
.panelview.book-name, .panelview.author {
@@ -102,6 +105,7 @@ div.remove-wishlist.panelview {
color: #3d4e53;
}
+
.panelview.booklist-status {
color: @green;
text-align: left;
@@ -112,6 +116,30 @@ div.remove-wishlist.panelview {
}
}
+.panelview.icons {
+ position: absolute;
+ bottom: 0px;
+ width: 140px;
+
+ .booklist-status-img {
+ float: left;
+ }
+
+ .booklist-status-label {
+ position: absolute;
+// float: left;
+ color: @green;
+ padding-left: 5px;
+ left: 40px;
+ bottom: 5px;
+ }
+
+ .right_add {
+ float: right;
+ padding:10px 10px 0 0;
+ width:24px;
+ }
+}
/*2 start*/
diff --git a/static/less/layout.css b/static/less/layout.css
index d2705a7b..62bbf696 100644
--- a/static/less/layout.css
+++ b/static/less/layout.css
@@ -112,9 +112,6 @@ div.book-list.listview div.booklist-status {
padding-right: 5px;
text-transform: capitalize;
}
-.booklist-status.listview .booklist-status-img p {
- display: none;
-}
div.unglue-this a {
text-transform: uppercase;
color: #3d4e53;
@@ -266,12 +263,49 @@ ul.navigation li a:hover, ul.navigation li.active a {
}
.book-thumb.listview a img {
position: absolute;
- top: -20px;
- left: -50px;
+ /* 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;
+ */
+
}
.listview.author {
display: none;
}
+.listview.icons {
+ float: left;
+}
+.listview.icons .booklist-status-img {
+ -moz-border-radius: 4px 4px 4px 4px;
+ -webkit-border-radius: 4px 4px 4px 4px;
+ border-radius: 4px 4px 4px 4px;
+ -moz-border-radius: 4px 4px 4px 4px;
+ -webkit-border-radius: 4px 4px 4px 4px;
+ border-radius: 4px 4px 4px 4px;
+ -moz-border-radius: 4px 4px 4px 4px;
+ -webkit-border-radius: 4px 4px 4px 4px;
+ border-radius: 4px 4px 4px 4px;
+ -moz-border-radius: 4px 4px 4px 4px;
+ -webkit-border-radius: 4px 4px 4px 4px;
+ border-radius: 4px 4px 4px 4px;
+ -moz-border-radius: 4px 4px 4px 4px;
+ -webkit-border-radius: 4px 4px 4px 4px;
+ border-radius: 4px 4px 4px 4px;
+ -moz-border-radius: 4px 4px 4px 4px;
+ -webkit-border-radius: 4px 4px 4px 4px;
+ border-radius: 4px 4px 4px 4px;
+ background-color: #fff;
+ margin-top: 4px;
+ height: 37px;
+}
+.listview.icons .booklist-status-img img {
+ padding: 5px;
+}
+.listview.icons .booklist-status-label, .listview.icons .right_add {
+ display: none;
+}
.header-text {
height: 36px;
line-height: 36px;
@@ -342,6 +376,7 @@ ul.navigation li a:hover, ul.navigation li.active a {
background-color: #ffffff;
color: #3d4e53;
border: 5px solid #edf3f4;
+ position: relative;
/* might need this for panel hover state; don't want it for nonhover. hm.
a {
color: @dark-green;
@@ -362,7 +397,10 @@ ul.navigation li a:hover, ul.navigation li.active a {
padding: 5px 0px;
margin: 0px;
}
-div.remove-wishlist.panelview {
+.panelview.remove-wishlist,
+.panelview.on-wishlist,
+.panelview.create-account,
+.panelview.add-wishlist {
display: none;
}
.panelview.book-name, .panelview.author {
@@ -379,6 +417,26 @@ div.remove-wishlist.panelview {
float: left;
font-weight: bold;
}
+.panelview.icons {
+ position: absolute;
+ bottom: 0px;
+ 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;
+}
/*2 start*/
.greenpanel2 {
font-family: Arial, Helvetica, sans-serif;
@@ -1585,6 +1643,7 @@ div.content-block-content {
background-color: #ffffff;
color: #3d4e53;
border: 5px solid #edf3f4;
+ position: relative;
/* might need this for panel hover state; don't want it for nonhover. hm.
a {
color: @dark-green;
@@ -1605,7 +1664,10 @@ div.content-block-content {
padding: 5px 0px;
margin: 0px;
}
-div.remove-wishlist.panelview {
+.panelview.remove-wishlist,
+.panelview.on-wishlist,
+.panelview.create-account,
+.panelview.add-wishlist {
display: none;
}
.panelview.book-name, .panelview.author {
@@ -1622,6 +1684,26 @@ div.remove-wishlist.panelview {
float: left;
font-weight: bold;
}
+.panelview.icons {
+ position: absolute;
+ bottom: 0px;
+ 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;
+}
/*2 start*/
.greenpanel2 {
font-family: Arial, Helvetica, sans-serif;
diff --git a/static/supporter_integration_test.html b/static/supporter_integration_test.html
index d82e2930..37363144 100644
--- a/static/supporter_integration_test.html
+++ b/static/supporter_integration_test.html
@@ -4,10 +4,10 @@
-
-
-
-
+
+
+
+
@@ -51,13 +51,13 @@ $(document).ready(function(){
Status: Active
-
-
-
+
+
+
-
100%
-
-
+
+
100%
+