tab coloring on support page and hover states in share column on work page
parent
2eb42f681e
commit
c703b1b367
|
@ -222,10 +222,10 @@ jQuery(document).ready(function(){
|
||||||
<h3 class="jsmod-title"><span>Share</span></h3>
|
<h3 class="jsmod-title"><span>Share</span></h3>
|
||||||
<div class="jsmod-content">
|
<div class="jsmod-content">
|
||||||
<ul class="social menu">
|
<ul class="social menu">
|
||||||
<li class="facebook first"><a href="https://www.facebook.com/sharer.php?u=http%3A%2F%2F{{ request.META.HTTP_HOST|urlencode:"" }}{{ request.path|urlencode:"" }}"><span>Facebook</span></a></li>
|
<a href="https://www.facebook.com/sharer.php?u=http%3A%2F%2F{{ request.META.HTTP_HOST|urlencode:"" }}{{ request.path|urlencode:"" }}"><li class="facebook first"><span>Facebook</span></li></a>
|
||||||
<li class="twitter"><a href="https://twitter.com/intent/tweet?url=http%3A%2F%2F{{ request.META.HTTP_HOST|urlencode:"" }}{{ request.path|urlencode:"" }}&text=I'm%20ungluing%20{{ work.title|urlencode }}%20at%20%40unglueit"><span>Twitter</span></a></li>
|
<a href="https://twitter.com/intent/tweet?url=http%3A%2F%2F{{ request.META.HTTP_HOST|urlencode:"" }}{{ request.path|urlencode:"" }}&text=I'm%20ungluing%20{{ work.title|urlencode }}%20at%20%40unglueit"><li class="twitter"><span>Twitter</span></li></a>
|
||||||
<li class="lasts email"><a href="#"<span>Email</span></a></li>
|
<a href="#"><li class="email"><span>Email</span></li></a>
|
||||||
<li><a href="#" id="embed"><span>Embed</span></a></li>
|
<a href="#" id="embed"><li class="embed"><span>Embed</span></li></a>
|
||||||
<div id="widgetcode">Copy/paste this into your site:<br /><textarea rows="7" cols="22"><iframe src="{{base_url}}/api/widget/{{work.editions.all.0.isbn_13}}/" width="152" height="325" frameborder="0"></iframe></textarea></div>
|
<div id="widgetcode">Copy/paste this into your site:<br /><textarea rows="7" cols="22"><iframe src="{{base_url}}/api/widget/{{work.editions.all.0.isbn_13}}/" width="152" height="325" frameborder="0"></iframe></textarea></div>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -192,9 +192,6 @@ ul.tabs li a:hover, ul.tabs li.active a {
|
||||||
#js-rightcol .jsmodule {
|
#js-rightcol .jsmodule {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
#js-rightcol .jsmod-content {
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
.js-rightcol-pad {
|
.js-rightcol-pad {
|
||||||
border: 1px solid #d6dde0;
|
border: 1px solid #d6dde0;
|
||||||
-moz-border-radius: 10px 10px 10px 10px;
|
-moz-border-radius: 10px 10px 10px 10px;
|
||||||
|
@ -228,14 +225,56 @@ ul.social li {
|
||||||
height: 28px;
|
height: 28px;
|
||||||
line-height: 28px;
|
line-height: 28px;
|
||||||
}
|
}
|
||||||
|
ul.social li a {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
ul.social li.facebook {
|
ul.social li.facebook {
|
||||||
background: url("/static/images/icons/facebook.png") left center no-repeat;
|
background: url("/static/images/icons/facebook.png") 10px center no-repeat;
|
||||||
|
}
|
||||||
|
ul.social li.facebook span {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
ul.social li.facebook:hover {
|
||||||
|
background: #8dc63f url("/static/images/icons/facebook-hover.png") 10px center no-repeat;
|
||||||
|
}
|
||||||
|
ul.social li.facebook:hover span {
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
ul.social li.twitter {
|
ul.social li.twitter {
|
||||||
background: url("/static/images/icons/twitter.png") left center no-repeat;
|
background: url("/static/images/icons/twitter.png") 10px center no-repeat;
|
||||||
|
}
|
||||||
|
ul.social li.twitter span {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
ul.social li.twitter:hover {
|
||||||
|
background: #8dc63f url("/static/images/icons/twitter-hover.png") 10px center no-repeat;
|
||||||
|
}
|
||||||
|
ul.social li.twitter:hover span {
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
ul.social li.email {
|
ul.social li.email {
|
||||||
background: url("/static/images/icons/email.png") left center no-repeat;
|
background: url("/static/images/icons/email.png") 10px center no-repeat;
|
||||||
|
}
|
||||||
|
ul.social li.email span {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
ul.social li.email:hover {
|
||||||
|
background: #8dc63f url("/static/images/icons/email-hover.png") 10px center no-repeat;
|
||||||
|
}
|
||||||
|
ul.social li.email:hover span {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
ul.social li.embed {
|
||||||
|
background: url("/static/images/icons/embed.png") 10px center no-repeat;
|
||||||
|
}
|
||||||
|
ul.social li.embed span {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
ul.social li.embed:hover {
|
||||||
|
background: #8dc63f url("/static/images/icons/embed-hover.png") 10px center no-repeat;
|
||||||
|
}
|
||||||
|
ul.social li.embed:hover span {
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
#widgetcode {
|
#widgetcode {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -175,7 +175,7 @@ a.my-setting.active {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
#tabs.wantto {
|
#tabs.wantto {
|
||||||
border-bottom: 4px solid #bacfd6;
|
border-bottom: 4px solid #d6dde0;
|
||||||
}
|
}
|
||||||
#tabs.wantto ul.tabs li.tabs3.active a {
|
#tabs.wantto ul.tabs li.tabs3.active a {
|
||||||
background: #d6dde0;
|
background: #d6dde0;
|
||||||
|
@ -189,7 +189,7 @@ a.my-setting.active {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
#tabs.unglued {
|
#tabs.unglued {
|
||||||
border-bottom: 4px solid #a7d26a;
|
border-bottom: 4px solid #8dc63f;
|
||||||
}
|
}
|
||||||
#tabs.unglued ul.tabs li.tabs1.active a {
|
#tabs.unglued ul.tabs li.tabs1.active a {
|
||||||
background: #8dc63f;
|
background: #8dc63f;
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 467 B |
Binary file not shown.
After Width: | Height: | Size: 518 B |
Binary file not shown.
After Width: | Height: | Size: 380 B |
Binary file not shown.
After Width: | Height: | Size: 295 B |
Binary file not shown.
After Width: | Height: | Size: 388 B |
|
@ -5,6 +5,22 @@
|
||||||
border: solid 5px #EDF3F4;
|
border: solid 5px #EDF3F4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.shareclass(@sharewhere) {
|
||||||
|
background:url("@{image-base}icons/@{sharewhere}.png") 10px center no-repeat;
|
||||||
|
|
||||||
|
span {
|
||||||
|
padding-left:10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background:@green url("@{image-base}icons/@{sharewhere}-hover.png") 10px center no-repeat;
|
||||||
|
|
||||||
|
span {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#js-page-wrap {
|
#js-page-wrap {
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
|
@ -205,11 +221,7 @@ ul.tabs {
|
||||||
|
|
||||||
.jsmodule {
|
.jsmodule {
|
||||||
margin-bottom:10px;
|
margin-bottom:10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.jsmod-content {
|
|
||||||
padding-left:10px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.js-rightcol-pad {
|
.js-rightcol-pad {
|
||||||
|
@ -245,18 +257,27 @@ div.content-block-content {
|
||||||
ul.social li {
|
ul.social li {
|
||||||
padding:5px 0 5px 30px;
|
padding:5px 0 5px 30px;
|
||||||
.height(28px);
|
.height(28px);
|
||||||
|
|
||||||
&.facebook {
|
a {
|
||||||
background:url("@{image-base}icons/facebook.png") left center no-repeat;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.facebook {
|
||||||
|
.shareclass("facebook");
|
||||||
|
}
|
||||||
|
|
||||||
&.twitter {
|
&.twitter {
|
||||||
background:url("@{image-base}icons/twitter.png") left center no-repeat;
|
.shareclass("twitter");
|
||||||
}
|
}
|
||||||
|
|
||||||
&.email {
|
&.email {
|
||||||
background:url("@{image-base}icons/email.png") left center no-repeat;
|
.shareclass("email");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.embed {
|
||||||
|
.shareclass("embed");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#widgetcode {
|
#widgetcode {
|
||||||
|
|
|
@ -200,7 +200,7 @@ a.my-setting.active {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
&.wantto {
|
&.wantto {
|
||||||
border-bottom: 4px solid #bacfd6;
|
border-bottom: 4px solid @blue-grey;
|
||||||
|
|
||||||
ul.tabs li.tabs3.active a {
|
ul.tabs li.tabs3.active a {
|
||||||
background: @blue-grey;
|
background: @blue-grey;
|
||||||
|
@ -218,7 +218,7 @@ a.my-setting.active {
|
||||||
}
|
}
|
||||||
|
|
||||||
&.unglued {
|
&.unglued {
|
||||||
border-bottom: 4px solid #a7d26a;
|
border-bottom: 4px solid @green;
|
||||||
|
|
||||||
ul.tabs li.tabs1.active a {
|
ul.tabs li.tabs1.active a {
|
||||||
background: @green;
|
background: @green;
|
||||||
|
|
Loading…
Reference in New Issue