style.scoped.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. $filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(116deg)
  2. brightness(109%) contrast(109%);
  3. .profile-data {
  4. display: flex;
  5. }
  6. .avatar {
  7. width: 150px;
  8. display: flex;
  9. position: relative;
  10. margin-right: 50px;
  11. &:hover {
  12. .visible {
  13. filter: invert(48%) sepia(3%) saturate(4%) hue-rotate(326deg)
  14. brightness(110%) contrast(78%);
  15. opacity: 0.5;
  16. cursor: pointer;
  17. }
  18. .upload-icon {
  19. opacity: 1;
  20. }
  21. }
  22. .avatar-icon {
  23. border-radius: 50%;
  24. width: 130px;
  25. height: 130px;
  26. transition: 0.4s;
  27. }
  28. .upload-icon {
  29. display: flex;
  30. position: absolute;
  31. filter: $filter;
  32. height: 50px;
  33. width: 50px;
  34. left: 40px;
  35. top: 40px;
  36. opacity: 0;
  37. transition: 0.4s;
  38. cursor: pointer;
  39. }
  40. }
  41. .data {
  42. display: flex;
  43. flex-direction: column;
  44. .name {
  45. font-size: 32px;
  46. margin-bottom: 20px;
  47. }
  48. .middot {
  49. width: 10px;
  50. height: 10px;
  51. filter: $filter;
  52. margin: 0 10px;
  53. }
  54. p {
  55. letter-spacing: 3px;
  56. }
  57. .buttons {
  58. display: flex;
  59. margin-top: 20px;
  60. div {
  61. margin-right: 20px;
  62. }
  63. }
  64. }