diff --git a/sass/partials/drupalorg/_association.scss b/sass/partials/drupalorg/_association.scss index 14c401f1323e9442eb765188f99c752b2d851bce..2789a90d0df0f316d67fabdb7097f8a054eda0a5 100644 --- a/sass/partials/drupalorg/_association.scss +++ b/sass/partials/drupalorg/_association.scss @@ -46,7 +46,7 @@ font-size:90%; } -ul > li.views-row.views-row-even { +.election-candidate .views-row.views-row-even { background-color:#F6F6F2; padding-bottom: 10px; margin-bottom: 10px; @@ -56,7 +56,7 @@ ul > li.views-row.views-row-even { min-width: 275px; } -ul > li.views-row.views-row-odd{ +.election-candidate .views-row.views-row-odd{ background-color:#F6F6F2; padding-bottom: 10px; margin-bottom: 10px; @@ -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 { - position: absolute; - bottom: 175px; - right: 140px; + position: relative; + padding-top:10px; + bottom: 140px; + right: 110px; } @@ -183,7 +184,7 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde //margin-bottom: .5em; border-bottom: 1px solid #666666; position: relative; - min-width: 550px; + min-width: 500px; } .user-picture { @@ -202,6 +203,7 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde .reply-links { float:right; margin-left: 90px; + padding-bottom:10px; } .by-candidate { background-color: $lime-green; @@ -219,4 +221,93 @@ div.field.field-name-field-candidate-comments.field-type-reply.field-label-hidde // Nomination Page #edit-post-id, #election-candidate-form div.form-item.form-type-select.form-item-post-id.form-disabled > label { 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