Skip to content
Snippets Groups Projects
Commit 82186c1f authored by colemanw's avatar colemanw
Browse files

css tweaks

parent 6628866d
No related branches found
No related tags found
No related merge requests found
...@@ -290,12 +290,30 @@ input.crm-form-entityref { ...@@ -290,12 +290,30 @@ input.crm-form-entityref {
width: 6em; width: 6em;
} }
/* Style civi form inputs to match select2 */
.crm-container select.crm-form-select {
border: 1px solid #aaa;
color: #444;
height: 2.2em;
padding: 4px;
border-radius: 4px;
background-color: #fff;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.5, #fff));
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
background-image: linear-gradient(top, #fff 0%, #eee 50%);
}
.crm-container input.crm-form-text, .crm-container input.crm-form-text,
.crm-container input.dateplugin { .crm-container input.dateplugin {
border: 1px solid #999; border: 1px solid #999;
vertical-align: middle; vertical-align: middle;
padding: 1px 2px; padding: 1px 2px;
height: 1.8em; height: 1.8em;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
background-image: linear-gradient(top, #eee 1%, #fff 15%);
} }
.crm-container .form-submit { .crm-container .form-submit {
...@@ -3482,7 +3500,6 @@ div#crm-container form { ...@@ -3482,7 +3500,6 @@ div#crm-container form {
width: 9em; width: 9em;
} }
/* Date plugin */
.crm-container div.batch-update { .crm-container div.batch-update {
overflow: visible; overflow: visible;
} }
...@@ -3815,26 +3832,6 @@ div.m ul#civicrm-menu, ...@@ -3815,26 +3832,6 @@ div.m ul#civicrm-menu,
min-width: 6em !important; min-width: 6em !important;
font-size: 11px; font-size: 11px;
} }
/* Style civi form inputs to match select2 */
.crm-container input.crm-form-text {
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
background-image: linear-gradient(top, #eee 1%, #fff 15%);
}
.crm-container select.crm-form-select {
border: 1px solid #aaa;
color: #444;
height: 2.2em;
padding: 4px;
border-radius: 4px;
background-color: #fff;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.5, #fff));
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
background-image: linear-gradient(top, #fff 0%, #eee 50%);
}
/* Add arrow icon to multi-selects */ /* Add arrow icon to multi-selects */
.crm-container .select2-container-multi .select2-choices:before { .crm-container .select2-container-multi .select2-choices:before {
background: url("../packages/jquery/plugins/select2/select2.png") no-repeat scroll 0 -4px; background: url("../packages/jquery/plugins/select2/select2.png") no-repeat scroll 0 -4px;
......
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