common.css 864 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. html,
  2. body {
  3. width: 100%;
  4. height: 100%;
  5. }
  6. body {
  7. overflow: hidden;
  8. box-sizing: border-box;
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. }
  13. .user-list {
  14. width: 500px;
  15. margin: 0 auto;
  16. box-shadow: 0 0 2px 5px #ccc;
  17. border-radius: 4px;
  18. padding: 10px;
  19. }
  20. .user-list table {
  21. border-collapse: collapse;
  22. width: 100%;
  23. }
  24. .user-list table tr {
  25. border-top: 1px solid #dedede;
  26. height: 32px;
  27. line-height: 32px;
  28. text-align: left;
  29. }
  30. .user-list table thead tr:first-child {
  31. border: none;
  32. }
  33. .user-list table td,
  34. .user-list table th {
  35. padding-left: 10px;
  36. }
  37. .avatar {
  38. width: 30px;
  39. height: 30px;
  40. border-radius: 50%;
  41. }
  42. .icon {
  43. transition: color linear 0.3s;
  44. padding: 4px;
  45. }
  46. .icon:hover {
  47. color: #00bfff;
  48. border: 1px solid #00bfff;
  49. }
  50. .edit:hover {
  51. color: #ff8c00;
  52. }
  53. .delete:hover {
  54. color: #8b1a1a;
  55. }