tab3.page.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. // src/app/mine/mine.page.scss
  2. .profile-header {
  3. display: flex;
  4. align-items: center;
  5. padding: 16px;
  6. border-bottom: 1px solid #ccc;
  7. }
  8. body{
  9. color:#efefef
  10. }
  11. .avatar-section {
  12. margin-right: 16px;
  13. position: relative;
  14. }
  15. .avatar-img {
  16. width: 80px;
  17. height: 80px;
  18. border-radius: 50%;
  19. }
  20. .edit-icon {
  21. position: absolute;
  22. bottom: 0;
  23. right: 0;
  24. background-color: #fff;
  25. border-radius: 50%;
  26. padding: 4px;
  27. cursor: pointer;
  28. }
  29. .profile-details {
  30. flex: 1;
  31. }
  32. .username {
  33. font-weight: bold;
  34. color: #333;
  35. font-size: 1.2em; /* Adjust font size as needed */
  36. margin-bottom: 8px; /* Optional margin adjustment */
  37. }
  38. .campus-building {
  39. display: flex;
  40. align-items: center;
  41. font-size: 0.9em; /* Adjust font size as needed */
  42. }
  43. .campus {
  44. margin-right: 8px;
  45. }
  46. .gender {
  47. display: flex;
  48. align-items: center;
  49. margin-top: 8px; /* Optional margin adjustment */
  50. }
  51. .gender ion-icon {
  52. font-size: 1.2em;
  53. margin-right: 8px;
  54. }
  55. .profile-header {
  56. display: flex;
  57. align-items: center;
  58. justify-content: space-between;
  59. padding: 20px;
  60. }
  61. .avatar-section {
  62. position: relative;
  63. cursor: pointer;
  64. }
  65. .avatar-img {
  66. width: 100px;
  67. height: 100px;
  68. border-radius: 50%;
  69. object-fit: cover;
  70. }
  71. .edit-icon {
  72. position: absolute;
  73. bottom: 0;
  74. right: 0;
  75. background-color: #fff;
  76. border-radius: 50%;
  77. padding: 5px;
  78. cursor: pointer;
  79. }
  80. .profile-details {
  81. flex: 1;
  82. padding-left: 20px;
  83. }
  84. .profile-label {
  85. font-weight: bold;
  86. margin-top: 10px;
  87. }
  88. .avatar {
  89. width: 100px;
  90. height: 100px;
  91. margin: 0 auto;
  92. }
  93. .profile-header h2 {
  94. margin-top: 10px;
  95. font-size: 1.5rem;
  96. }
  97. .profile-header p {
  98. margin-top: 5px;
  99. font-size: 1rem;
  100. }
  101. ion-button {
  102. margin-top: 20px;
  103. }
  104. ion-list {
  105. ion-item {
  106. ion-label {
  107. font-size: 1rem;
  108. }
  109. }
  110. ion-item.logout-button {
  111. --background: #fff;
  112. --color: #f44336;
  113. font-weight: bold;
  114. }
  115. }
  116. .profile ion-input{
  117. color:#323232;
  118. font-size: 16px ;
  119. font-weight: 200;
  120. }
  121. .avatar-right {
  122. display: flex;
  123. justify-content: flex-end;
  124. }
  125. .avatar-right img {
  126. margin-right: 0; /* Adjust as needed */
  127. }