Skip to content
Snippets Groups Projects
Commit 6df85d95 authored by Emilie Nouveau's avatar Emilie Nouveau
Browse files

Association elections and civicrm css fixes

parent bf49be96
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,6 @@
&.views-row-even {
margin-right: 0;
}
@include breakpoint($medium)
}
#block-system-main .views-field.views-field-name > .field-content::before {
......@@ -90,11 +89,10 @@
}
.field-name-field-about-me > div > div {
clear: left;
padding-bottom: 5px;
}
.view-nominations ul {
#content .view-nominations ul {
padding-left: 0;
}
......@@ -118,11 +116,19 @@
}
.field-name-field-candidate-comments {
float: left;
clear: left;
clear: both;
}
// Candidate Preview
#aside {
position: relative;
}
#aside .view-nominations .views-row {
min-height: 0;
}
#block-views-nominations-block-1 .view {
overflow: auto;
li {
......@@ -146,13 +152,11 @@
top: 3px;
content: url(/misc/favicon.ico);
}
{
#block-views-nominations-block-1 .views-field.views-field-nothing a {
position: relative;
padding-top: 10px;
bottom: 140px;
right: 110px;
#block-views-nominations-block-1 .views-field-nothing {
position: absolute;
right: 0px;
top: -2em;
}
// Comment/reply Thread
......@@ -201,91 +205,84 @@
visibility: hidden;
}
//Drupal Association Membership Page (CiviCRM) CSS changes
//Field Backgrounds
// 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;
}
background: none;
border: medium 1px;
}
//Field Labels
// Field Labels
.crm-container .crm-section .label, .crm-container-snippet .crm-section .label {
float: left;
width: 17%;
text-align: left;
padding-left: 20px;
float: left;
width: 17%;
text-align: left;
padding-left: 20px;
}
// Hide pre-selected Civi Product
// Hide pre-selected Civi Product
.membership_amount-section {
display: none;
}
// Buttons
// Buttons
#crm-container.crm-public #crm-submit-buttons {
margin-top: 30px;
margin-bottom: 30px;
}
margin-top: 30px;
margin-bottom: 30px;
}
#crm-container .crm-button {
text-shadow: none;
background: none;
border: 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;
#crm-container.crm-public #crm-submit-buttons input {
@include large-button;
}
// Side-by-Side Divs in Body
// 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;
@include content-font;
background: none repeat scroll 0% 0% $lighter-navy-blue;
color: $white;
margin: 0px 20px;
width:425px;
height:200px;
}
.content-sub-block .sub1 {
.content-sub-block.sub1 {
display: inline-block;
}
.content-sub-block .sub2 {
.content-sub-block.sub2 {
display: inline-block;
float: right;
}
// Drupal Blue Highlighted Content Boxes in Civi Page Body
// Drupal Blue Highlighted Content Boxes in Civi Page Body
.content-sub-block h2 {
background-color: rgb(6, 120, 190);
background-color: $dark-blue;
padding: 4px 8px;
}
.content-sub-block p {
padding: 0px 20px;
.content-sub-block p, .content-sub-block li {
font-size: 1.15em;
line-height: 1.15em;
padding: 0px 20px;
}
.content-sub-block a {
color: #E6FCB6;
font-weight: bold;
color: $white !important;
font-weight: bolder;
}
.content-sub-block a:hover {
text-decoration: underline;
}
\ No newline at end of file
text-decoration: underline;
}
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