You are here

BUE.Button.css in BUEditor 8.2

Same filename and directory in other branches
  1. 8 library/css/BUE.Button.css
/* Button */
.bue .bue-button,
.bue .bue-button:before,
.bue .bue-button > * {
  display: inline-block;
  vertical-align: bottom;
}
.bue .bue-button {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 1em;
  font-family: inherit; /* Inherit from toolbar */
  line-height: 1em;
  padding: 0.4em;
  min-width: 1.95em;
  min-height: 1.92em;
  text-align: center;
  outline: none;
  text-decoration: none;
  cursor: default;
  margin: 0.15em 0.15em 0 0;/* Complementary to toolbar padding */
  color: #000;
  background: #f7f7f7;
  background: linear-gradient(180deg, #fff, #eaeaea);
  border: 1px solid;
  border-radius: 0.16em;
  border-color: #ddd #bbb #bbb #ddd;
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
/* Reset firefox native styles */
.bue .bue-button::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.bue .bue-button:hover,
.bue .bue-button:focus {
  background: #eee;
  border-color: #ccc;
}
.bue .bue-button:active,
.bue .bue-button.active,
.bue .bue-button.pressed {
  background: #d5d5d5;
  border-color: #a5a5a5 #c5c5c5 #c5c5c5 #a5a5a5;
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.8), 0 0 4px rgba(0, 0, 0, 0.15) inset;
}
.bue .bue-button.disabled {
  opacity: 0.6;
}
.bue .bue-button.has-text:before {
  margin-right: 0.2em;
}

File

library/css/BUE.Button.css
View source
  1. /* Button */
  2. .bue .bue-button,
  3. .bue .bue-button:before,
  4. .bue .bue-button > * {
  5. display: inline-block;
  6. vertical-align: bottom;
  7. }
  8. .bue .bue-button {
  9. -moz-box-sizing: border-box;
  10. box-sizing: border-box;
  11. font-size: 1em;
  12. font-family: inherit; /* Inherit from toolbar */
  13. line-height: 1em;
  14. padding: 0.4em;
  15. min-width: 1.95em;
  16. min-height: 1.92em;
  17. text-align: center;
  18. outline: none;
  19. text-decoration: none;
  20. cursor: default;
  21. margin: 0.15em 0.15em 0 0;/* Complementary to toolbar padding */
  22. color: #000;
  23. background: #f7f7f7;
  24. background: linear-gradient(180deg, #fff, #eaeaea);
  25. border: 1px solid;
  26. border-radius: 0.16em;
  27. border-color: #ddd #bbb #bbb #ddd;
  28. box-shadow: 0 0 1px rgba(255, 255, 255, 0.8);
  29. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  30. white-space: nowrap;
  31. }
  32. /* Reset firefox native styles */
  33. .bue .bue-button::-moz-focus-inner {
  34. border: 0;
  35. padding: 0;
  36. }
  37. .bue .bue-button:hover,
  38. .bue .bue-button:focus {
  39. background: #eee;
  40. border-color: #ccc;
  41. }
  42. .bue .bue-button:active,
  43. .bue .bue-button.active,
  44. .bue .bue-button.pressed {
  45. background: #d5d5d5;
  46. border-color: #a5a5a5 #c5c5c5 #c5c5c5 #a5a5a5;
  47. box-shadow: 0 0 1px rgba(255, 255, 255, 0.8), 0 0 4px rgba(0, 0, 0, 0.15) inset;
  48. }
  49. .bue .bue-button.disabled {
  50. opacity: 0.6;
  51. }
  52. .bue .bue-button.has-text:before {
  53. margin-right: 0.2em;
  54. }