BattleControlls.uss 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. .battle-button {
  2. min-width: 150px; /* Increased width */
  3. height: 45px; /* Increased height */
  4. margin-left: 15px;
  5. margin-right: 15px;
  6. font-size: 18px; /* Slightly larger font */
  7. -unity-font-style: bold;
  8. background-color: rgb(60, 90, 180); /* A nice blue */
  9. color: white;
  10. border-left-width: 0px; /* Cleaner look without borders, relying on background and shadow */
  11. border-right-width: 0px;
  12. border-top-width: 0px;
  13. border-bottom-width: 0px;
  14. border-radius: 8px; /* More rounded corners */
  15. transition-property: background-color, transform, box-shadow;
  16. transition-duration: 0.15s;
  17. box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  18. }
  19. .battle-button:hover {
  20. background-color: rgb(80, 110, 200); /* Lighter blue on hover */
  21. }
  22. .battle-button:active {
  23. background-color: rgb(50, 80, 160); /* Darker blue when pressed */
  24. box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  25. }
  26. .battle-button:disabled {
  27. background-color: rgb(120, 120, 120); /* Greyed out when disabled */
  28. color: rgb(180, 180, 180);
  29. box-shadow: none; /* No shadow when disabled */
  30. }