Commit 2330c957 authored by bgm's avatar bgm Committed by Aegir user

new.css: fix select2 on public forms, hide cividiscount on Spark forms.

parent c0eb7a3b
...@@ -3754,7 +3754,7 @@ input.crm-form-checkbox { ...@@ -3754,7 +3754,7 @@ input.crm-form-checkbox {
border: 1px solid #ddd; border: 1px solid #ddd;
} }
#crm-container.crm-public .label { #crm-container.crm-public .label {
padding: 3px 0 0 0; padding: 10px 0 0 0;
} }
.crm-container label { .crm-container label {
color: #3E3E3E; color: #3E3E3E;
...@@ -3778,6 +3778,17 @@ input.crm-form-checkbox { ...@@ -3778,6 +3778,17 @@ input.crm-form-checkbox {
font-size: 14px; font-size: 14px;
} }
/* select2 fixes on contribution pages */
.crm-container.crm-public .select2-container .select2-choice {
height: 2.5em;
}
.crm-container.crm-public .select2-container .select2-choice > .select2-chosen {
line-height: 1.4em;
}
.crm-container.crm-public #s2id_onbehalfof_id {
width: 300px !important;
}
/* Buttons */ /* Buttons */
.crm-container a.button, .crm-container a.button,
...@@ -3830,3 +3841,9 @@ table.cividiscount input.crm-form-submit { ...@@ -3830,3 +3841,9 @@ table.cividiscount input.crm-form-submit {
width: 100%; width: 100%;
} }
} }
/* Spark-specific */
.crm-contribution-page-id-89 table.cividiscount,
.crm-contribution-page-id-100 table.cividiscount {
display: none;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment