_profile_card.css.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. @import "global/vars";
  2. .brain-level {
  3. float: left;
  4. text-align: center;
  5. width: 74px;
  6. h4 {
  7. font-size: 18px;
  8. padding:0;
  9. margin: 0;
  10. }
  11. #what-is-pmp {
  12. background: white image-url('profile-card/brain.png') top left no-repeat;
  13. width: 74px;
  14. height: 66px;
  15. text-indent: -9999px;
  16. display: block;
  17. &.active-filled-1 {
  18. background: white image-url('profile-card/brain_filled_1.png') top left no-repeat;
  19. }
  20. &.active-filled-2 {
  21. background: white image-url('profile-card/brain_filled_2.png') top left no-repeat;
  22. }
  23. &.active-filled-3 {
  24. background: white image-url('profile-card/brain_filled_3.png') top left no-repeat;
  25. }
  26. }
  27. }
  28. .profile-card {
  29. border: 1px solid #DDE3E4;
  30. background: white;
  31. margin-bottom: 20px;
  32. header {
  33. margin-bottom: 0 !important;
  34. padding: 10px;
  35. .user.media {
  36. .avatar {
  37. @extend %avatar-round;
  38. }
  39. }
  40. .media__img {
  41. margin-right: 9px;
  42. }
  43. ul {
  44. line-height: 1.1em;
  45. li.user-name {
  46. font-size: 14px;
  47. }
  48. li.location, li.social {
  49. color: #999;
  50. font-size: 12px;
  51. }
  52. }
  53. }
  54. .pmp-score {
  55. @extend .cf;
  56. border-bottom: 1px solid #DDE3E4;
  57. padding: 15px 10px;
  58. .pmp-score-detail {
  59. float: right;
  60. font-family: "Dosis", sans-serif;
  61. text-align: right;
  62. text-transform: uppercase;
  63. h4 {
  64. color: #5A6366;
  65. font-family: $body-font-family;
  66. font-weight: 800;
  67. font-size: 50px;
  68. line-height: inherit;
  69. margin: 0;
  70. }
  71. p {
  72. color: #CCC;
  73. margin: 0;
  74. strong { color: $pm_green; }
  75. }
  76. }
  77. }
  78. .pmp-graphs {
  79. padding: 15px 10px;
  80. .progress {
  81. background: #E6E6E6;
  82. border: none;
  83. color: white;
  84. height: 1.4em;
  85. padding: 0;
  86. position: relative;
  87. &.score-memory .progress-data span.graph-icn {
  88. background: image-url("icons/scores/icn-memory-sm.png") center center no-repeat;
  89. }
  90. &.score-spatial_recognition .progress-data span.graph-icn {
  91. background: image-url("icons/scores/icn-spatial-intellegence-sm.png") center center no-repeat;
  92. }
  93. &.score-problem_solving .progress-data span.graph-icn {
  94. background: image-url("icons/scores/icn-problem-solving-sm.png") center center no-repeat;
  95. }
  96. &.score-focus .progress-data span.graph-icn {
  97. background: image-url("icons/scores/icn-focus-sm.png") center center no-repeat;
  98. }
  99. &.score-memory .meter {
  100. background: $pm_red;
  101. }
  102. &.score-spatial_recognition .meter {
  103. background: $pm_green;
  104. }
  105. &.score-problem_solving .meter {
  106. background: $pm_blue;
  107. }
  108. &.score-focus .meter {
  109. background: $pm_yellow;
  110. }
  111. .progress-data {
  112. position: absolute;
  113. span.graph-icn {
  114. position: relative;
  115. top: 3px;
  116. left: 4px;
  117. width: 16px;
  118. height: 16px;
  119. display: inline-block;
  120. }
  121. span.graph-score {
  122. opacity: .7;
  123. font-size: 0.8em !important;
  124. border-left: 1px solid white;
  125. border-right: 1px solid white;
  126. padding: 0 5px;
  127. position: relative;
  128. left: 4px;
  129. }
  130. }
  131. .meter {
  132. &.score-memory {
  133. background: $cat_memory;
  134. }
  135. &.score-spatial_recognition {
  136. background: $cat_spacial-recognition;
  137. }
  138. &.score-problem_solving {
  139. background: $cat_problem-solving;
  140. }
  141. &.score-focus {
  142. background: $cat_focus;
  143. }
  144. }
  145. }
  146. }
  147. }