Update action-menu styles
[civicrm-core.git] / css / civicrm.css
index b6e0d07fd3dd6e5d2be9cd09ce79357ea91f14b2..ea52917184510f40ddf06f7d5d502b6f8e42c0b0 100644 (file)
@@ -290,12 +290,30 @@ input.crm-form-entityref {
   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.dateplugin {
   border: 1px solid #999;
   vertical-align: middle;
   padding: 1px 2px;
   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 {
@@ -3482,7 +3500,6 @@ div#crm-container form {
   width: 9em;
 }
 
-/* Date plugin */
 .crm-container div.batch-update {
   overflow: visible;
 }
@@ -3815,26 +3832,6 @@ div.m ul#civicrm-menu,
   min-width: 6em !important;
   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 */
 .crm-container .select2-container-multi .select2-choices:before {
   background: url("../packages/jquery/plugins/select2/select2.png") no-repeat scroll 0 -4px;
@@ -3935,6 +3932,15 @@ div.m ul#civicrm-menu,
   position: relative;
   top: 3px;
 }
+.crm-container .crm-action-menu.action-icon-plus .select2-default span.select2-chosen:before {
+  background-position: -16px -128px;
+}
+.crm-container .crm-action-menu.action-icon-play .select2-default span.select2-chosen:before {
+  background-position: 0 -160px;
+}
+.crm-container .crm-action-menu.action-icon-clipboard .select2-default span.select2-chosen:before {
+  background-position: -160px -128px;
+}
 
 /* Special styling for specific form buttons */
 #crm-container span.crm-button_qf_Main_upload input,
@@ -3951,16 +3957,39 @@ div.m ul#civicrm-menu,
 .crm-container.ui-dialog {
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
 }
-
+.crm-container.ui-dialog.ui-draggable:before {
+  display:block;
+  content: " ";
+  width: 16px;
+  height: 16px;
+  background: url("../i/icons/jquery-ui-52534D.png") no-repeat -80px -224px;
+  position: absolute;
+  bottom: 0;
+  right: 0;
+}
 .crm-container .ui-dialog-titlebar.ui-widget-header {
   background: url("../i/crm-button-bg.gif") repeat-x scroll left center #70716B;
-  color: white;
+  color: #F5F6F1;
 }
 .crm-container .ui-dialog-title {
   background: url("../i/logo16px.png") no-repeat scroll 0 center;
   margin-left: -5px;
   padding-left: 25px;
 }
+.crm-container .ui-dialog-titlebar .ui-button {
+  background-color: transparent;
+  background-image: none;
+  border: 1px none;
+}
+.crm-container .ui-dialog-titlebar .ui-button .ui-icon {
+  background-image: url("../i/icons/jquery-ui-F5F6F1.png");
+}
+.crm-container .ui-dialog-titlebar .ui-button:hover {
+  background-color: #cdcdcd;
+}
+.crm-container .ui-dialog-titlebar .ui-button:hover .ui-icon {
+  background-image: url("../i/icons/jquery-ui-3E3E3E.gif");
+}
 
 /*Needed for jstree contextmenu */
 #vakata-contextmenu.jstree-default-context li {