Avatar.less 980 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. @import '~assets/less/variable';
  2. .largeWrapper {
  3. width: 160px;
  4. height: 160px;
  5. line-height: 160px;
  6. }
  7. .profileWrapper {
  8. width: 120px;
  9. height: 120px;
  10. line-height: 120px;
  11. }
  12. .defaultWrapper {
  13. width: 80px;
  14. height: 80px;
  15. line-height: 80px;
  16. }
  17. .smallWrapper {
  18. width: 40px;
  19. height: 40px;
  20. line-height: 40px;
  21. }
  22. .largeWrapper,
  23. .profileWrapper,
  24. .smallWrapper {
  25. display: table-cell;
  26. vertical-align: middle;
  27. text-align: center;
  28. img {
  29. width: 100%;
  30. height: 100%;
  31. max-width: 100%;
  32. max-height: 100%;
  33. display: block;
  34. margin: auto;
  35. overflow: hidden;
  36. line-height: 1;
  37. }
  38. }
  39. .border {
  40. border: 1px solid rgba(0, 0, 0, 0.05);
  41. }
  42. .large {
  43. border-radius: 6px;
  44. }
  45. .profile {
  46. border-radius: 6px;
  47. }
  48. .default {
  49. border-radius: 8px;
  50. }
  51. .small {
  52. border-radius: 6px;
  53. }
  54. .sourceSrc {
  55. padding: 32px;
  56. height: 100%;
  57. width: 100%;
  58. }
  59. .isEnlarge {
  60. cursor: pointer;
  61. }
  62. .height0 {
  63. height: 0!important;
  64. }
  65. .height1 {
  66. height: 100%!important;
  67. }