Skip to content
Snippets Groups Projects
Commit a9f1b3f9 authored by Brendan Blaine's avatar Brendan Blaine
Browse files

Small tweaks to elections css and added in css for civi for Tim

parent dfb4d21a
No related branches found
Tags 7.x-1.0-beta1
No related merge requests found
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
font-size:90%; font-size:90%;
} }
ul > li.views-row.views-row-even { .election-candidate .views-row.views-row-even {
background-color:#F6F6F2; background-color:#F6F6F2;
padding-bottom: 10px; padding-bottom: 10px;
margin-bottom: 10px; margin-bottom: 10px;
...@@ -56,7 +56,7 @@ ul > li.views-row.views-row-even { ...@@ -56,7 +56,7 @@ ul > li.views-row.views-row-even {
min-width: 275px; min-width: 275px;
} }
ul > li.views-row.views-row-odd{ .election-candidate .views-row.views-row-odd{
background-color:#F6F6F2; background-color:#F6F6F2;
padding-bottom: 10px; padding-bottom: 10px;
margin-bottom: 10px; margin-bottom: 10px;
...@@ -170,9 +170,10 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde ...@@ -170,9 +170,10 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde
} }
#block-views-nominations-block-1 div.views-field.views-field-nothing a { #block-views-nominations-block-1 div.views-field.views-field-nothing a {
position: absolute; position: relative;
bottom: 175px; padding-top:10px;
right: 140px; bottom: 140px;
right: 110px;
} }
...@@ -183,7 +184,7 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde ...@@ -183,7 +184,7 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde
//margin-bottom: .5em; //margin-bottom: .5em;
border-bottom: 1px solid #666666; border-bottom: 1px solid #666666;
position: relative; position: relative;
min-width: 550px; min-width: 500px;
} }
.user-picture { .user-picture {
...@@ -202,6 +203,7 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde ...@@ -202,6 +203,7 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde
.reply-links { .reply-links {
float:right; float:right;
margin-left: 90px; margin-left: 90px;
padding-bottom:10px;
} }
.by-candidate { .by-candidate {
background-color: $lime-green; background-color: $lime-green;
...@@ -219,4 +221,93 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde ...@@ -219,4 +221,93 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde
// Nomination Page // Nomination Page
#edit-post-id, #election-candidate-form div.form-item.form-type-select.form-item-post-id.form-disabled > label { #edit-post-id, #election-candidate-form div.form-item.form-type-select.form-item-post-id.form-disabled > label {
visibility: hidden; visibility: hidden;
}
//Drupal Association Membership Page (CiviCRM) CSS changes
//Field Backgrounds
fieldset:not(.filter-wrapper):not(.vertical-tabs-pane):not(#edit-advanced) {
background: none;
border: medium 1px;
}
//Field Labels
.crm-container .crm-section .label, .crm-container-snippet .crm-section .label {
float: left;
width: 17%;
text-align: left;
padding-left: 20px;
}
// Hide pre-selected Civi Product
.membership_amount-section {
display: none;
}
// Buttons
#crm-container.crm-public #crm-submit-buttons {
margin-top: 30px;
margin-bottom: 30px;
}
#crm-container .crm-button {
text-shadow: none;
background: none;
border: none;
}
#crm-container.crm-public #crm-submit-buttons input#_qf_Main_upload-bottom {
color: #FFF;
background-color: #9FC748;
background-image: -moz-linear-gradient(center top , #9FC748 50%, #96BC44 50%);
border: 0px none;
border-radius: 5px;
display: inline-block;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 1.38461em;
padding: 0px 1em;
overflow: hidden;
text-align: center;
}
// Side-by-Side Divs in Body
.content-sub-block {
background: none repeat scroll 0% 0% #53B0EB;
color: #FFF;
padding-bottom: 4px;
margin: 4px;
width:425px;
height:225px;
}
.content-sub-block .sub1 {
display: inline-block;
}
.content-sub-block .sub2 {
float: right;
}
// Drupal Blue Highlighted Content Boxes in Civi Page Body
.content-sub-block h2 {
background-color: rgb(6, 120, 190);
padding: 4px 8px;
}
.content-sub-block p {
padding: 0px 20px;
}
.content-sub-block a {
color: #E6FCB6;
font-weight: bold;
}
.content-sub-block a:hover {
text-decoration: underline;
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment