You are here

acquia_lift.buttons.css in Acquia Lift Connector 7.2

Same filename and directory in other branches
  1. 7 css/acquia_lift.buttons.css
/** Button styles from Ember theme for submit and cancel buttons **/
input[type="submit"].acquia-lift-submit-button,
.acquia-lift-cancel-button,
a.acquia-lift-submit-button {
  -webkit-appearance: none;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  margin: 0.2963em;
  max-width: 100%;
  overflow: visible;
  line-height: 1.25em;
  vertical-align: baseline;
  border: none;
  -o-border-radius: 2px;
  border-radius: 2px;
  /* Reset all button fonts to a similar baseline in webkit. */
  font: -webkit-small-control;
  font-family: "Helvetica Neue", helvetica, "Segoe UI", segoe, "Ubuntu", "Droid Sans", "Arial", sans-serif;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  padding: 0.70711em 1em;
  font-size: 1em;
  height: inherit;
  display: inline-block;
}

a.acquia-lift-submit-button:active,
input[type="submit"].acquia-lift-submit-button:active {
  text-decoration: none;
  box-shadow: 0 0 0 0.2963em rgba(221, 221, 221, 0.4);
}

.acquia-lift-submit-button.action-item-primary-active {
  color: white;
  background: #008fdc;
  text-shadow: 0 1px 0 #002a42;
  text-decoration: none;
}

.acquia-lift-submit-button.action-item-primary-active:hover,
.acquia-lift-submit-button.action-item-primary-active:active {
  color: white;
  background: #58b7ea;
  text-shadow: 0 1px 0 #1a3646;
  text-decoration: none;
}

.acquia-lift-submit-button.form-button-disabled,
.acquia-lift-submit-button.form-button-disabled:active,
.acquia-lift-submit-button.form-button-disabled:hover {
  color: #bbb;
  background: #717171;
  cursor: not-allowed;
}

.acquia-lift-cancel-button {
  color: black;
  background: #dddddd;
  text-shadow: 0 1px 0 #f4f4f4;
}

.acquia-lift-cancel-button:hover,
.acquia-lift-cancel-button:active {
  color: #303030;
  background: #e3e3e3;
  text-shadow: 0 1px 0 #f6f6f6;
}

/** Buttons that look like links **/
input[type="submit"].acquia-lift-link {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-size: 1em;
  text-decoration: none;
  color: #008fdc;
  border-radius: 0;
  font-weight: normal;
}
input[type="submit"].acquia-lift-link:hover,
input[type="submit"].acquia-lift-link:active {
  text-decoration: underline;
  background: none;
  border: none;
  color: #008fdc;
  font-weight: normal;
}

File

css/acquia_lift.buttons.css
View source
  1. /** Button styles from Ember theme for submit and cancel buttons **/
  2. input[type="submit"].acquia-lift-submit-button,
  3. .acquia-lift-cancel-button,
  4. a.acquia-lift-submit-button {
  5. -webkit-appearance: none;
  6. -moz-box-sizing: border-box;
  7. box-sizing: border-box;
  8. margin: 0.2963em;
  9. max-width: 100%;
  10. overflow: visible;
  11. line-height: 1.25em;
  12. vertical-align: baseline;
  13. border: none;
  14. -o-border-radius: 2px;
  15. border-radius: 2px;
  16. /* Reset all button fonts to a similar baseline in webkit. */
  17. font: -webkit-small-control;
  18. font-family: "Helvetica Neue", helvetica, "Segoe UI", segoe, "Ubuntu", "Droid Sans", "Arial", sans-serif;
  19. font-weight: 700;
  20. text-align: center;
  21. text-decoration: none;
  22. cursor: pointer;
  23. outline: none;
  24. padding: 0.70711em 1em;
  25. font-size: 1em;
  26. height: inherit;
  27. display: inline-block;
  28. }
  29. a.acquia-lift-submit-button:active,
  30. input[type="submit"].acquia-lift-submit-button:active {
  31. text-decoration: none;
  32. box-shadow: 0 0 0 0.2963em rgba(221, 221, 221, 0.4);
  33. }
  34. .acquia-lift-submit-button.action-item-primary-active {
  35. color: white;
  36. background: #008fdc;
  37. text-shadow: 0 1px 0 #002a42;
  38. text-decoration: none;
  39. }
  40. .acquia-lift-submit-button.action-item-primary-active:hover,
  41. .acquia-lift-submit-button.action-item-primary-active:active {
  42. color: white;
  43. background: #58b7ea;
  44. text-shadow: 0 1px 0 #1a3646;
  45. text-decoration: none;
  46. }
  47. .acquia-lift-submit-button.form-button-disabled,
  48. .acquia-lift-submit-button.form-button-disabled:active,
  49. .acquia-lift-submit-button.form-button-disabled:hover {
  50. color: #bbb;
  51. background: #717171;
  52. cursor: not-allowed;
  53. }
  54. .acquia-lift-cancel-button {
  55. color: black;
  56. background: #dddddd;
  57. text-shadow: 0 1px 0 #f4f4f4;
  58. }
  59. .acquia-lift-cancel-button:hover,
  60. .acquia-lift-cancel-button:active {
  61. color: #303030;
  62. background: #e3e3e3;
  63. text-shadow: 0 1px 0 #f6f6f6;
  64. }
  65. /** Buttons that look like links **/
  66. input[type="submit"].acquia-lift-link {
  67. margin: 0;
  68. padding: 0;
  69. border: none;
  70. background: none;
  71. font-size: 1em;
  72. text-decoration: none;
  73. color: #008fdc;
  74. border-radius: 0;
  75. font-weight: normal;
  76. }
  77. input[type="submit"].acquia-lift-link:hover,
  78. input[type="submit"].acquia-lift-link:active {
  79. text-decoration: underline;
  80. background: none;
  81. border: none;
  82. color: #008fdc;
  83. font-weight: normal;
  84. }