attribute-field.component.scss 855 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. .attribute-box {
  2. border: solid 1px var(--border-color);
  3. background-color: var(--field-background-color);
  4. box-shadow: var(--shadow-small);
  5. border-radius: 10px;
  6. text-align: center;
  7. cursor: pointer;
  8. .attribute-name {
  9. cursor: pointer;
  10. font-weight: 600;
  11. }
  12. input {
  13. border: none;
  14. outline: none;
  15. box-shadow: none;
  16. text-align: center;
  17. background-color: transparent;
  18. width: 100%;
  19. font-size: 1.25rem;
  20. font-weight: 600;
  21. }
  22. input[type="number"]::-webkit-inner-spin-button,
  23. input[type="number"]::-webkit-outer-spin-button {
  24. -webkit-appearance: none;
  25. margin: 0;
  26. }
  27. input[type="number"] {
  28. -moz-appearance: textfield;
  29. }
  30. .attribute-modifier {
  31. font-size: 2rem;
  32. font-weight: 700;
  33. }
  34. }