Update styles for edit campaign table.

This commit is contained in:
Brian Simpson
2013-10-03 07:27:28 -07:00
parent 4ba7d3f7dc
commit 29f53f2163
2 changed files with 17 additions and 19 deletions

View File

@@ -4649,6 +4649,7 @@ ul.tabmenu.formtab {
.campaign {
border: 1px solid #336699;
background-color: #EFF7FF;
width: 570px;
padding: 5px;
-webkit-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6);
-moz-box-shadow: inset 0px 1px 0px hsla(0,0%,100%,.8), 0px 1px 0px hsla(0,0%,100%,.6);
@@ -4666,17 +4667,14 @@ ul.tabmenu.formtab {
border: none;
}
.existing-campaigns td.campaign-bid {
background: none no-repeat scroll center right;
padding-right: 15px;
.bid-amount {
.existing-campaigns {
td.campaign-bid .bid-amount {
display: block;
}
}
.existing-campaigns td.campaign-bid.paid {
background-image: url(../green-check.png);
td.campaign-bid.paid {
background: url(../green-check.png) no-repeat scroll center right;
}
}
.existing-campaigns tr.refund {
@@ -4684,11 +4682,6 @@ ul.tabmenu.formtab {
font-weight: bold;
}
.existing-campaigns td.campaign-bid .info{
margin-right: 3px;
margin-left: 3px;
}
.prefright p.minimum-spend {
padding-left: 1em;
font-size: small;
@@ -4706,9 +4699,9 @@ ul.tabmenu.formtab {
}
.existing-campaigns > table > tbody > tr > td {
text-align: right;
text-align: center;
border: 1px solid #369;
padding: 1px 5px;
padding: 5px;
}
.existing-campaigns > table > tbody > tr#edit-campaign-tr > td {
text-align: left;
@@ -5397,6 +5390,7 @@ div #campaign-field {
.create-promotion .help p {
margin: 5px;
width: 580px;
}
.create-promotion .help a.help {
@@ -5409,8 +5403,8 @@ div #campaign-field {
.create-promo {
float: left;
width: 570px;
margin-right: 20px;
min-width: 620px;
}
.create-promo .infobar {
@@ -5433,7 +5427,11 @@ div #campaign-field {
}
#promo-form {
.linefield, .usertext-edit {
.linefield {
width: 620px;
}
.usertext-edit {
width: auto;
}
}

View File

@@ -132,7 +132,7 @@ ${self.javascript_setup()}
wrap="hard" class="rounded">${link.title if link else ''}</textarea>
${error_field("NO_TEXT", "title", "div")}
${error_field("TOO_LONG", "title", "div")}
<div class="infotext rounded">
<div class="help infotext rounded">
<p>${_("A good title is important to the success of your campaign. reddit users are an intelligent, thoughtful group, and reward those who engage them.")}</p>
</div>
</%utils:line_field>
@@ -165,7 +165,7 @@ ${self.javascript_setup()}
${error_field("BAD_URL", "url", "div")}
${error_field("DOMAIN_BANNED", "url", "div")}
${error_field("ALREADY_SUB", "url", "div")}
<div class="infotext rounded">
<div class="help infotext rounded">
<p>${_("Provide the URL of your ad. No redirects please!")}</p>
</div>