_scores.css.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. section.scores {
  2. border: 1px solid #DDE3E4;
  3. background: white;
  4. .loading {
  5. text-align: center;
  6. padding: 20px;
  7. }
  8. abbr[title], acronym[title] {
  9. border-bottom-width: 0;
  10. cursor: pointer;
  11. }
  12. .section-container p.title {
  13. border: 0 !important;
  14. }
  15. .section-container div.content {
  16. border: 0 !important;
  17. }
  18. header {
  19. height: auto;
  20. h3 {
  21. text-align: center;
  22. font-weight: 100;
  23. line-height: 65px;
  24. }
  25. margin-bottom: 0 !important;
  26. }
  27. ul.scores-switch {
  28. border-bottom: 1px solid #DDE3E4;
  29. font-size: 0;
  30. list-style-type: none;
  31. margin-bottom: 0;
  32. li {
  33. border-right: 1px solid #DDE3E4;
  34. display: inline-block;
  35. font-size: 12px;
  36. width: 49%;
  37. text-align: center;
  38. line-height: 35px;
  39. &.active {
  40. font-weight: 600;
  41. }
  42. &:last-child {
  43. border-right: none;
  44. }
  45. }
  46. }
  47. .user-scores.active { display: block !important; }
  48. .user-scores {
  49. display: none;
  50. .media__img {
  51. margin-right: 9px;
  52. }
  53. .user {
  54. border-bottom: 1px solid #DDE3E4;
  55. padding: 10px;
  56. &.media {
  57. .avatar {
  58. @extend %avatar-round;
  59. }
  60. }
  61. }
  62. ul {
  63. list-style-type: none;
  64. position: relative;
  65. line-height: 1.1em;
  66. li {
  67. cursor: pointer;
  68. }
  69. li.user-name {
  70. font-size: 14px;
  71. }
  72. li.location, li.last-played {
  73. color: #999;
  74. font-size: 12px;
  75. }
  76. li.score-card {
  77. cursor: default;
  78. width: 234px;
  79. background: #fff;
  80. position: absolute;
  81. right: 215px;
  82. bottom: 5px;
  83. list-style-type: none;
  84. .wrap {
  85. position: relative;
  86. background: #ffffff;
  87. border: 1px solid #DCDCDC;
  88. &:after, &:before {
  89. left: 100%;
  90. border: solid transparent;
  91. content: " ";
  92. height: 0;
  93. width: 0;
  94. position: absolute;
  95. pointer-events: none;
  96. }
  97. &:after {
  98. border-color: rgba(255, 255, 255, 0);
  99. border-left-color: #ffffff;
  100. border-width: 5px;
  101. bottom: 17px;
  102. margin-top: -5px;
  103. }
  104. &:before {
  105. border-color: rgba(193, 193, 193, 0);
  106. border-left-color: #c1c1c1;
  107. border-width: 6px;
  108. bottom: 16px;
  109. margin-top: -6px;
  110. }
  111. }
  112. h3 {
  113. font-size: emCalc(30px);
  114. text-align: center;
  115. line-height: 30px;
  116. }
  117. h4 {
  118. font-size: emCalc(18px);
  119. text-align: center;
  120. color: #5a6366;
  121. line-height: 20px;
  122. margin-top: 15px;
  123. }
  124. ul {
  125. margin: 0;
  126. li {
  127. text-align: center;
  128. font-size: emCalc(12px);
  129. font-weight: bold;
  130. line-height: 45px;
  131. list-style-type: none;
  132. border-top: 1px solid #dcdcdc;
  133. &.icon1, &.icon3 {
  134. border-right: 1px solid #dcdcdc;
  135. }
  136. }
  137. }
  138. }
  139. }
  140. }
  141. }