regluit/static/less/campaign2.less

415 lines
6.7 KiB
Plaintext
Raw Normal View History

@import "variables.less";
@import "campaign_tabs.less";
@import "book_detail.less";
2013-01-16 18:08:37 +00:00
@import "social_share.less";
2012-05-22 11:48:56 +00:00
/* Page layout */
#js-page-wrap {
overflow:hidden;
}
#main-container {
margin-top:20px;
}
2012-02-15 16:03:58 +00:00
#js-leftcol .jsmodule, .pledge.jsmodule {
margin-bottom:10px;
&.rounded .jsmod-content {
.one-border-radius(20px);
background:@pale-blue;
color: @text-blue;
padding:10px 20px;
font-weight:bold;
border:none;
margin:0;
line-height: 16px;
/* Bubble in upper left looks different depending on campaign status */
&.ACTIVE {
background: @green;
color: white;
font-size: @font-size-header;
font-weight: normal;
line-height: 20px;
}
&.No.campaign.yet {
background: @orange;
color: white;
}
span {
display: inline-block;
vertical-align: middle;
2011-12-15 15:28:23 +00:00
&.spacer {
visibility: none;
}
2012-05-01 17:49:23 +00:00
&.findtheungluers {
cursor: pointer;
}
}
}
}
2012-02-15 16:03:58 +00:00
.jsmodule.pledge {
float: left;
margin-left: 10px;
}
2012-05-22 11:48:56 +00:00
#js-slide .jsmodule {
width: 660px !important;
}
2012-05-22 11:48:56 +00:00
a {
color:#3d4e53;
}
2012-05-22 11:48:56 +00:00
#js-search {
margin: 0 15px 0 15px !important;
}
2012-05-22 11:48:56 +00:00
.alert > .errorlist {
list-style-type: none;
font-size: @font-size-larger;
2012-05-22 11:48:56 +00:00
border: none;
text-align: left;
font-weight: normal;
font-size: @font-size-default;
2012-05-22 11:48:56 +00:00
> li {
margin-bottom: 14px;
}
2012-05-22 11:48:56 +00:00
.errorlist {
margin-top: 7px;
li {
width: auto;
height: auto;
padding-left: 32px;
padding-right: 32px;
font-size: @font-size-default;
2012-05-22 11:48:56 +00:00
}
}
}
/* Center elements */
#js-maincol {
float:left;
width:470px;
margin:0 10px;
div#content-block {
background: none;
padding:0;
}
}
2012-05-22 11:48:56 +00:00
.status {
font-size: @font-size-header;
2012-05-22 11:48:56 +00:00
color: @green;
}
/* Center - add/remove actions in book detail area */
.add-wishlist, .add-wishlist-workpage, &.remove-wishlist-workpage, .remove-wishlist, &.on-wishlist, &.create-account {
float: right;
cursor: pointer;
span {
font-weight:normal;
color:@text-blue;
text-transform: none;
padding-left:20px;
&.on-wishlist {
background:url("@{image-base}checkmark_small.png") left center no-repeat;
cursor: default;
}
}
}
.btn_wishlist .add-wishlist span, .add-wishlist-workpage span, .create-account span {
2012-05-22 11:48:56 +00:00
background:url("@{image-base}booklist/add-wishlist.png") left center no-repeat;
}
.remove-wishlist-workpage span, .remove-wishlist span {
background:url("@{image-base}booklist/remove-wishlist-blue.png") left center no-repeat;
}
/* Center - tabs and content below them */
div#content-block-content {
padding-left: 5px;
2012-05-01 13:56:19 +00:00
a {
color: @medium-blue;
}
#tabs-1 img {
.mediaborder;
}
#tabs-3 {
margin-left: -5px;
}
}
.tabs-content {
padding-right: 5px;
2011-12-15 15:28:23 +00:00
iframe {
.mediaborder;
}
form {
margin-left: -5px;
}
.clearfix {
margin-bottom: 10px;
border-bottom: 2px solid @blue-grey;
}
}
2012-05-22 11:48:56 +00:00
.work_supporter {
height: auto;
min-height: 50px;
margin-top: 5px;
vertical-align: middle;
}
.work_supporter_avatar {
float: left;
2012-05-22 11:48:56 +00:00
margin-right: 5px;
img {
.one-border-radius(5px);
}
}
.work_supporter_name {
.height(50px);
float: left;
}
2012-05-22 11:48:56 +00:00
.work_supporter_nocomment {
height: 50px;
margin-top: 5px;
vertical-align: middle;
min-width: 235px;
float: left;
}
.show_supporter_contact_form
{
display:block;
margin-left: 5px;
float: right;
}
.supporter_contact_form
{
display:none;
margin-left: 5px;
}
.contact_form_result
{
display:block;
margin-left: 5px;
}
.work_supporter_wide
{
display: block;
height: 65px;
margin-top: 5px;
float: none;
margin-left: 5px;
}
.info_for_managers
{
display: block;
}
.show_supporter_contact_form
{
cursor:pointer;
opacity:0.5
}
.show_supporter_contact_form:hover
{
cursor:pointer;
opacity:1
}
.official {
border: 3px @bright-blue solid;
padding: 3px;
margin-left: -5px;
}
.editions {
2011-12-08 21:23:31 +00:00
div {
float:left;
2011-12-08 21:53:50 +00:00
padding-bottom: 5px;
margin-bottom: 5px;
2011-12-08 21:23:31 +00:00
}
2012-02-07 18:11:16 +00:00
.image {
width: 60px;
overflow: hidden;
}
2011-12-08 21:23:31 +00:00
.metadata {
display:block;
overflow: hidden;
margin-left: 5px;
}
2011-12-20 21:13:18 +00:00
a:hover {
text-decoration: underline;
}
}
.show_more_edition,
.show_more_ebooks {
2012-02-29 19:45:13 +00:00
cursor: pointer;
}
2012-05-22 11:48:56 +00:00
.show_more_edition {
text-align: right;
&:hover {
text-decoration: underline;
}
}
.more_edition {
display:none;
clear: both;
padding-bottom: 10px;
padding-left: 60px;
}
.more_ebooks {
display:none;
}
.show_more_ebooks:hover {
text-decoration: underline;
}
2012-05-22 11:48:56 +00:00
/* Right column */
/* Right - add/remove actions below big green button */
#js-rightcol {
.add-wishlist, .on-wishlist, .create-account {
float: none;
}
.on-wishlist {
margin-left: 20px;
}
}
2012-05-22 11:48:56 +00:00
#js-rightcol, #pledge-rightcol {
float:right;
width:235px;
margin-bottom: 20px;
2012-05-22 11:48:56 +00:00
h3.jsmod-title {
background:@medium-blue-grey;
.one-border-radius(10px);
padding:10px;
height:auto;
font-style:normal;
font-size: @font-size-larger;
2012-05-22 11:48:56 +00:00
margin:0 0 10px 0;
color: white;
2012-05-22 11:48:56 +00:00
span {
padding:0;
color:#fff;
font-style:normal;
.height(22px);
}
}
2012-05-22 11:48:56 +00:00
.jsmodule {
margin-bottom:10px;
a:hover {
text-decoration: none;
}
2012-05-22 11:48:56 +00:00
}
}
2012-05-22 11:48:56 +00:00
#pledge-rightcol {
margin-top: 7px;
}
2012-05-01 13:56:19 +00:00
2012-05-22 11:48:56 +00:00
.js-rightcol-pad {
border:1px solid @blue-grey;
.one-border-radius(10px);
padding:10px;
}
#widgetcode {
display: none;
border:1px solid @blue-grey;
.one-border-radius(10px);
padding:10px;
2012-05-01 17:49:23 +00:00
}
2012-05-22 11:48:56 +00:00
/* Right column - support tiers */
ul.support li {
border-bottom:1px solid @blue-grey;
padding:10px 5px 10px 10px;
background:url("@{image-base}icons/pledgearrow.png") 98% center no-repeat;
2012-10-24 15:24:46 +00:00
&.last {
border-bottom: none;
}
2012-05-22 11:48:56 +00:00
span {
display:block;
padding-right:10px;
&.menu-item-price {
font-size: @font-size-header;
2012-05-22 11:48:56 +00:00
float: left;
display: inline;
2012-05-22 11:48:56 +00:00
margin-bottom: 3px;
}
&.menu-item-desc {
float: none;
clear: both;
font-size: @font-size-larger;
font-weight: normal;
line-height: @font-size-larger*1.3;
2012-05-22 11:48:56 +00:00
}
}
&:hover {
color: #fff;
background:@call-to-action url("@{image-base}icons/pledgearrow-hover.png") 98% center no-repeat;
a {
color: #fff;
text-decoration: none;
}
}
}
.you_pledged {
float: left;
line-height: 21px;
font-weight:normal;
color:@text-blue;
padding-left:20px;
background:url("@{image-base}checkmark_small.png") left center no-repeat;
2012-05-22 11:48:56 +00:00
}
.thank-you {
font-size: @font-size-header;
2012-05-22 11:48:56 +00:00
font-weight: bold;
margin: 20px auto;
}