profile.less 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. @import "~assets/less/variable";
  2. .container {
  3. display: flex;
  4. padding: 20px 20px 60px 20px;
  5. flex-direction: column;
  6. .uploadWrapper {
  7. height: 100%;
  8. width: 100%;
  9. margin-left: 66px;
  10. }
  11. .form {
  12. flex: 1;
  13. }
  14. hr {
  15. margin: 0 0 48px 0;
  16. border: 0;
  17. border-top: 1px solid @grey-line-color;
  18. }
  19. .avatar {
  20. flex-shrink: 0;
  21. width: 100%;
  22. height: 200px;
  23. display: flex;
  24. img{
  25. flex-shrink: 0;
  26. border: 1px solid @light-bg;
  27. width: 160px;
  28. height: 160px;
  29. margin-right: 20px;
  30. border-radius: 50%;
  31. overflow: hidden;
  32. }
  33. .uploadAvatar {
  34. display: flex;
  35. flex-direction: column;
  36. padding: 28px 20px 0 20px;
  37. .uploadTitle {
  38. font-size: 16px;
  39. font-weight: 600;
  40. margin-bottom: 8px;
  41. }
  42. button{
  43. margin-bottom: 16px;
  44. }
  45. .uploadDesc {
  46. color: @light-text-color
  47. }
  48. }
  49. }
  50. }
  51. .formView {
  52. }
  53. .hide {
  54. display: none;
  55. }
  56. .orgIcon {
  57. display: inline-block;
  58. }
  59. .avatarWrapper {
  60. height: 41px;
  61. width: 41px;
  62. display: inline-block;
  63. margin-right: 4px;
  64. img {
  65. vertical-align: top;
  66. }
  67. }
  68. .containerWarp {
  69. display: flex;
  70. padding: 20px 20px 60px 20px;
  71. .avatar {
  72. flex-shrink: 0;
  73. width: 200px;
  74. height: 200px;
  75. }
  76. .form {
  77. flex: 1;
  78. }
  79. }