.crmMailing-inactive {
text-decoration: line-through;
}
-a.crmMailing-submit-button div {
- color: black;
- background: #bfb;
- border: 1px solid #8a8;
- padding: 1em;
- margin: 1em;
- width: 15em;
-}
-a.crmMailing-submit-button div:hover {
- background: #afa;
- border: 1px solid #7a7;
- cursor: pointer;
-}
-a.crmMailing-submit-button:hover {
- text-decoration: none;
-}
-a.crmMailing-submit-button.disabled div {
- color: black;
- background: #aaa;
- border: 1px solid #8a8;
-}
-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 a.crmMailing-submit-button {
+ display: inline-block;
+ padding: .2em .4em;
+ margin: 1em auto;
+ border-radius: 5px;
+ font-size: 1.2em;
+ float: none;
+}
+.crm-container a.crmMailing-submit-button div {
+ background: url(../i/check.gif) no-repeat left center;
+ padding-left: 20px;
+}
+.crm-container a.crmMailing-submit-button.disabled,
+.crm-container a.crmMailing-submit-button.blocking {
+ opacity: .6;
+ cursor: default;
+}
+.crm-container a.crmMailing-submit-button.blocking div {
+ background: url(../i/loading-2f2f2e.gif) no-repeat left center;
}
.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="{blocking: block.check(), disabled: crmMailing.$invalid}">
+ <a class="button 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="{blocking: block.check(), disabled: crmMailing.$invalid}">
+ <a class="button 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()" ng-class="{blocking: block.check(), disabled: crmMailingAB.$invalid}">
+ <a class="button crmMailing-submit-button" ng-click="submit()" ng-class="{blocking: block.check(), disabled: crmMailingAB.$invalid}">
<div>{{ts('Submit Mailing')}}</div>
</a>
</center>