25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

player-details.component.scss 6.9 KiB

4 yıl önce
4 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. @import '../../colors';
  2. .container {
  3. background: linear-gradient(45deg, darken($brand-blue, 15%), darken($brand-blue, 20%) 80%);
  4. padding: 40px 0;
  5. }
  6. .player-primary-data {
  7. display: flex;
  8. width: 95%;
  9. padding-left: 5%;
  10. position: relative;
  11. &::before {
  12. content: '';
  13. position: absolute;
  14. left: 0;
  15. top: 0;
  16. width: 100%;
  17. height: 100%;
  18. background-image: url('../../../assets/home-team/KXIP-lion-white.svg');
  19. background-size: contain;
  20. background-position: center;
  21. background-repeat: no-repeat;
  22. opacity: 0.1;
  23. }
  24. .details {
  25. width: 50%;
  26. position: relative;
  27. }
  28. .teams-holder {
  29. position: relative;
  30. z-index: 0;
  31. display: flex;
  32. justify-content: flex-start;
  33. figure {
  34. width: 50px;
  35. height: 50px;
  36. border-radius: 50%;
  37. position: relative;
  38. z-index: 1;
  39. margin: 0;
  40. display: block;
  41. overflow: hidden;
  42. box-shadow: 0px 0px 5px darken($brand-blue, 20%);
  43. &:nth-child(2) {
  44. z-index: 0;
  45. transform: translateX(-10px);
  46. }
  47. img {
  48. width: 100%;
  49. height: 100%;
  50. display: block;
  51. transform: scale(1.5);
  52. }
  53. }
  54. }
  55. .name {
  56. font-size: 2rem;
  57. font-weight: 700;
  58. letter-spacing: 1px;
  59. color: white;
  60. }
  61. .role {
  62. position: absolute;
  63. bottom: 60px;
  64. left: 0;
  65. color: lighten($brand-red, 15%);
  66. font-size: 1rem;
  67. display: flex;
  68. align-items: center;
  69. font-weight: 500;
  70. line-height: 1.5;
  71. ion-icon {
  72. margin-right: 10px;
  73. font-size: 2rem;
  74. vertical-align: middle;
  75. color: lighten($brand-red, 15%);
  76. }
  77. }
  78. .player-image {
  79. width: 50%;
  80. display: block;
  81. height: 40vh;
  82. img {
  83. display: block;
  84. object-fit: contain;
  85. width: 100%;
  86. height: 100%;
  87. object-position: bottom;
  88. }
  89. }
  90. }
  91. .statistics {
  92. display: flex;
  93. width: 100%;
  94. padding: 0 5%;
  95. list-style: none;
  96. margin: 0 auto -30px auto;
  97. justify-content: space-between;
  98. transform: translateY(-50px);
  99. z-index: 1;
  100. position: relative;
  101. background-color: rgba(darken($brand-blue, 20%), 0.8);
  102. box-shadow: 0px -10px 10px rgba(darken($brand-blue, 20%), 0.8);
  103. li {
  104. width: 27vw;
  105. height: 27vw;
  106. background-color: rgba($brand-blue, 0.8);
  107. border: 1px solid rgba($blue-grey, 0.3);
  108. display: flex;
  109. border-radius: 10px;
  110. color: white;
  111. align-items: flex-end;
  112. justify-content: space-between;
  113. padding: 10px;
  114. overflow: hidden;
  115. position: relative;
  116. &::before {
  117. content: '';
  118. position: absolute;
  119. left: 0;
  120. top: 0;
  121. background-color: rgba($blue-grey, 0.1);
  122. width: 100%;
  123. height: 100%;
  124. }
  125. }
  126. label {
  127. font-weight: 500;
  128. font-size: 0.8rem;
  129. align-self: flex-start;
  130. width: 50%;
  131. overflow: visible;
  132. white-space: nowrap;
  133. position: relative;
  134. }
  135. h5 {
  136. width: 50%;
  137. white-space: nowrap;
  138. overflow: visible;
  139. margin: 0;
  140. font-weight: 700;
  141. font-size: 1.8rem;
  142. align-self: flex-end;
  143. text-align: right;
  144. position: relative;
  145. }
  146. }
  147. .news {
  148. width: 90%;
  149. margin: 0 auto 20px auto;
  150. header {
  151. display: flex;
  152. align-items: center;
  153. justify-content: flex-start;
  154. h4 {
  155. color: lighten($green, 10%);
  156. font-size: 0.8rem;
  157. font-weight: 500;
  158. letter-spacing: 0.5px;
  159. margin: 0;
  160. }
  161. span {
  162. margin-right: 10px;
  163. border: 7px solid lighten($green, 10%);
  164. border-radius: 50%;
  165. height: 25px;
  166. width: 25px;
  167. background-color: darken($brand-blue, 20%);
  168. }
  169. }
  170. ul {
  171. list-style: none;
  172. padding: 0;
  173. background-color: darken($brand-blue, 10%);
  174. box-shadow: 0px 0px 10px darken($brand-blue, 20%);
  175. border-radius: 10px;
  176. overflow: hidden;
  177. li {
  178. width: 90%;
  179. margin: 0 auto;
  180. padding: 15px 0px;
  181. display: flex;
  182. align-items: center;
  183. justify-content: space-between;
  184. border-bottom: 1px solid rgba($blue-grey, 0.2);
  185. &:last-child {
  186. border-bottom: none;
  187. }
  188. }
  189. label {
  190. width: 40px;
  191. text-align: center;
  192. color: white;
  193. font-size: 0.8rem;
  194. display: block;
  195. line-height: 1.3;
  196. span {
  197. color: lighten($brand-blue, 10%);
  198. font-size: 0.8rem;
  199. display: block;
  200. }
  201. }
  202. p {
  203. width: calc(100% - 100px);
  204. font-size: 0.8rem;
  205. color: white;
  206. font-weight: 500;
  207. line-height: 1.5;
  208. margin: 0;
  209. }
  210. .share-button {
  211. width: 30px;
  212. height: 30px;
  213. border: 1px solid lighten($brand-blue, 10%);
  214. background-color: rgba(lighten($brand-blue, 10%), 0.2);
  215. border-radius: 50%;
  216. display: flex;
  217. align-items: center;
  218. justify-content: center;
  219. margin-left: 10px;
  220. ion-icon {
  221. color: lighten($brand-blue, 10%);
  222. font-size: 15px;
  223. }
  224. }
  225. }
  226. }
  227. .about {
  228. background-color: darken($brand-blue, 10%);
  229. box-shadow: 0px 0px 10px darken($brand-blue, 20%);
  230. border-radius: 10px;
  231. overflow: hidden;
  232. width: 90%;
  233. margin: 0 auto;
  234. padding: 0px 0px 5px 0px;
  235. header {
  236. font-size: 1rem;
  237. font-weight: 500;
  238. color: white;
  239. padding: 15px 5%;
  240. border-bottom: 1px solid rgba($blue-grey, 0.2);
  241. margin: 0;
  242. }
  243. ul {
  244. list-style: none;
  245. padding: 0;
  246. margin: 0 auto;
  247. width: 90%;
  248. }
  249. li {
  250. padding: 10px 5px;
  251. display: flex;
  252. width: 100%;
  253. align-items: center;
  254. justify-content: space-between;
  255. border-bottom: 1px solid rgba($blue-grey, 0.2);
  256. text-align: left;
  257. &:last-child {
  258. border-bottom: none;
  259. }
  260. }
  261. label {
  262. color: lighten($brand-blue, 10%);
  263. font-size: 0.7rem;
  264. display: block;
  265. line-height: 1.3;
  266. width: 100px;
  267. }
  268. p {
  269. width: calc(100% - 100px);
  270. font-size: 0.9rem;
  271. color: white;
  272. font-weight: 500;
  273. line-height: 1.5;
  274. margin: 0;
  275. opacity: 0.8;
  276. }
  277. }