page-profile.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. // ================================================================================================
  2. // File Name: page-profile.scss
  3. // Description: Page content different types of users page layouts SCSS.
  4. // ----------------------------------------------------------------------------------------------
  5. // Item Name: Vuexy - Vuejs, React, Angular, HTML & Laravel Admin Dashboard Template
  6. // Author: PIXINVENT
  7. // Author URL: http://www.themeforest.net/user/pixinvent
  8. // ================================================================================================
  9. @import '../bootstrap-extended/include'; // Bootstrap includes
  10. @import '../components/include'; // Components includes
  11. // User profile Scss
  12. #user-profile {
  13. /*-------------profile header section---------*/
  14. .profile-header {
  15. overflow: hidden;
  16. // profile picture container
  17. .profile-img-container {
  18. position: absolute;
  19. bottom: -2rem;
  20. left: 2.14rem;
  21. z-index: 2;
  22. // profile image
  23. .profile-img {
  24. height: 8.92rem;
  25. width: 8.92rem;
  26. border: 0.357rem solid $white;
  27. background-color: $white;
  28. border-radius: $card-border-radius;
  29. box-shadow: $box-shadow;
  30. }
  31. }
  32. // profile navbar padding
  33. .profile-header-nav {
  34. .navbar {
  35. padding: 0.8rem 1rem;
  36. // navbar toggle button
  37. .navbar-toggler {
  38. line-height: 0;
  39. }
  40. .profile-tabs {
  41. .nav-item {
  42. i,
  43. svg {
  44. margin-right: 0;
  45. }
  46. }
  47. }
  48. }
  49. }
  50. }
  51. /*-------- profile info section --------*/
  52. #profile-info {
  53. // profile star icons
  54. .profile-star {
  55. color: $gray-100;
  56. i,
  57. svg {
  58. // filled star icons
  59. &.profile-favorite {
  60. fill: $warning;
  61. stroke: $warning;
  62. }
  63. }
  64. }
  65. // filled heart icons
  66. .profile-likes {
  67. fill: $danger;
  68. stroke: $danger;
  69. }
  70. // progress-bar height
  71. .profile-polls-info {
  72. .progress {
  73. height: 0.42rem;
  74. }
  75. }
  76. }
  77. //profile-latest-img - hover effect
  78. .profile-latest-img {
  79. transition: all 0.2s ease-in-out;
  80. &:hover {
  81. transform: translateY(-4px) scale(1.2);
  82. z-index: 10;
  83. }
  84. img {
  85. margin-top: 1.28rem;
  86. }
  87. }
  88. // Load More Button - Block UI
  89. .block-element {
  90. .spinner-border {
  91. border-width: 0.14rem;
  92. }
  93. }
  94. }
  95. // Latest Photo Section - Image size
  96. @include media-breakpoint-down(md) {
  97. #user-profile {
  98. .profile-latest-img {
  99. img {
  100. width: 100%;
  101. }
  102. }
  103. }
  104. }
  105. @include media-breakpoint-up(md) {
  106. // navbar tabs pills
  107. .profile-header-nav {
  108. .profile-tabs {
  109. width: 100%;
  110. margin-left: 13.2rem;
  111. }
  112. }
  113. }
  114. // profile img and title
  115. @include media-breakpoint-down(xs) {
  116. #user-profile {
  117. .profile-header {
  118. .profile-img-container {
  119. .profile-img {
  120. height: 100px;
  121. width: 100px;
  122. }
  123. .profile-title {
  124. h2 {
  125. font-size: 1.5rem;
  126. }
  127. }
  128. }
  129. }
  130. }
  131. }