a.crmMailing-submit-button div:hover {
background: #afa;
border: 1px solid #7a7;
+ cursor: pointer;
}
a.crmMailing-submit-button:hover {
text-decoration: none;
color: black;
background: #aaa;
border: 1px solid #8a8;
- padding: 1em;
- margin: 1em;
- width: 15em;
}
-a.crmMailing-submit-button.disabled div:hover {
+a.crmMailing-submit-button.blocking div {
+ -webkit-animation: crmMailingPulse 2s infinite !important; /* Chrome, Safari, Opera */
+ animation: crmMailingPulse 2s infinite !important;
+}
+@-webkit-keyframes crmMailingPulse {
+ 0% {background: #bfb;}
+ 50% {background: #aaa;}
+ 100% {background: #bfb;}
+}
+@keyframes crmMailingPulse {
+ 0% {background: #bfb;}
+ 50% {background: #aaa;}
+ 100% {background: #bfb;}
+}
+a.crmMailing-submit-button.disabled div:hover, a.crmMailing-submit-button.blocking div:hover {
background: #aaa;
border: 1px solid #7a7;
+ cursor: not-allowed;
}
.crm-container .crm-form-block label {
<div crm-mailing-block-review crm-mailing="mailing"/>
</div>
<center>
- <a class="crmMailing-submit-button" ng-click="submit()" ng-class="{disabled: block.check() || crmMailing.$invalid}">
+ <a class="crmMailing-submit-button" ng-click="submit()" ng-class="{blocking: block.check(), disabled: crmMailing.$invalid}>
<div>{{ts('Submit Mailing')}}</div>
</a>
</center>
<div crm-mailing-block-schedule crm-mailing="mailing"/>
</div>
<center>
- <a class="crmMailing-submit-button" ng-click="submit()" ng-class="{disabled: block.check() || crmMailing.$invalid}">
+ <a class="crmMailing-submit-button" ng-click="submit()" ng-class="{blocking: block.check(), disabled: crmMailing.$invalid}">
<div>{{ts('Submit Mailing')}}</div>
</a>
</center>
}"
crm-abtest="abtest"></div>
<center>
- <a class="crmMailing-submit-button" ng-click="submit()">
+ <a class="crmMailing-submit-button" ng-click="submit()" ng-class="{disabled: crmMailing.$invalid}">
<div>{{ts('Submit Mailing')}}</div>
</a>
</center>