minigame_main.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. .minigame .minigame-container {
  2. background: linear-gradient(180.0deg, #D6641F 0.0%, #E27C3E 33%, #DD824C 67%, #BC8564 100%);
  3. }
  4. .minigame .predict-image-container {
  5. width: 100px;
  6. height: 150px;
  7. color: gray;
  8. background: gray;
  9. border-radius: 10px;
  10. margin: 5px;
  11. margin-bottom: 15px;
  12. padding-top: 1px;
  13. padding: 2px;
  14. padding-top: 3px;
  15. }
  16. .minigame .predict-image-container .predict-img {
  17. width: 100%;
  18. left: 0px;
  19. /* position: absolute;*/
  20. border-radius: 10px;
  21. }
  22. .minigame .choosing {
  23. background: green;
  24. /* padding-top: 3px;*/
  25. }
  26. .minigame .btn-style {
  27. min-width: 100px;
  28. text-align: center;
  29. }
  30. .minigame .text-white {
  31. color: white;
  32. }
  33. .minigame .dropdown-active {
  34. position: absolute;
  35. inset: 0px auto auto 0px;
  36. margin: 0px;
  37. transform: translate(290px, 474px) !important;
  38. }
  39. .minigame .dropdown-inactive {
  40. position: absolute;
  41. inset: 0px auto auto 0px;
  42. margin: 0px;
  43. transform: translate(213px, 474px) !important;
  44. }
  45. .minigame .top-100 {
  46. margin-top: 150px;
  47. }
  48. .minigame .top-50 {
  49. margin-top: 50px;
  50. }
  51. .minigame .top-30 {
  52. margin-top: 40px;
  53. }
  54. .minigame .bottom-30 {
  55. margin-top: 40px;
  56. }
  57. .minigame .text-s-36 {
  58. font-size: 36px;
  59. }
  60. .minigame .text-s-15 {
  61. font-size: 15px;
  62. }
  63. .minigame .hide {
  64. display: none !important;
  65. }
  66. .minigame .ranking-box {
  67. background: transparent;
  68. /* padding: 20px; */
  69. }
  70. .minigame .ranking-box .box {
  71. border: 1px solid transparent;
  72. border-radius: 20px;
  73. }
  74. .minigame .ranking-box .box .box-item {
  75. background: linear-gradient(180.08deg, rgba(238, 0, 51, 0.85) 0.05%, rgba(105, 14, 66, 0.85) 63.07%, rgba(58, 24, 47, 0.85) 82.44%, rgba(27, 25, 38, 0.85) 99.91%);
  76. margin-top: 10px;
  77. border: 1px solid white;
  78. }
  79. .minigame .ranking-box-header {
  80. background: linear-gradient(82.89deg, #ff5f08 5.39%, #ff5ff9 94.31%);
  81. padding: 10px;
  82. border-radius: 10px;
  83. border: 1px solid white;
  84. max-width: 230px;
  85. text-align: center;
  86. margin: auto;
  87. }
  88. .minigame .ranking-data {
  89. margin: 10px;
  90. margin-top: 30px;
  91. border: 1px solid white;
  92. border-radius: 10px;
  93. padding: 20px;
  94. color: white;
  95. }
  96. .minigame .ranking-data .data-line {
  97. margin-bottom: 10px;
  98. }
  99. .minigame .ranking-data .data-line .right {
  100. text-align: right;
  101. display: block;
  102. }
  103. .minigame .bottom-border {
  104. border-bottom: 1px solid white;
  105. }
  106. .minigame .text-s-32 {
  107. font-size: 18px;
  108. line-height: 30px;
  109. }
  110. .minigame .text-black-color {
  111. color: black;
  112. }
  113. .minigame .button-box {
  114. min-width: 200px;
  115. text-align: center;
  116. display: block;
  117. }
  118. .minigame .answer-box {
  119. min-width: 200px;
  120. border-radius: 5px;
  121. padding: 12px 20px;
  122. text-align: center;
  123. font-weight: 600;
  124. margin: 10px;
  125. }
  126. .minigame .answer-active {
  127. background: green;
  128. color: white;
  129. }
  130. .minigame .img-result {
  131. margin: auto;
  132. width: 110px;
  133. text-align: center;
  134. }
  135. .minigame .rule-box {
  136. padding: 25px;
  137. color: white;
  138. font-size: 12px;
  139. }
  140. .answer-box button {
  141. background-color: #f0f0f0;
  142. color: #333;
  143. padding: 10px;
  144. border-radius: 5px;
  145. width: 100%; /* Đảm bảo nút bấm chiếm toàn bộ chiều rộng của .answer-box */
  146. box-sizing: border-box; /* Đảm bảo padding và border không làm tăng kích thước phần tử */
  147. cursor: pointer;
  148. transition: background-color 0.3s;
  149. display: block; /* Đảm bảo nút bấm chiếm toàn bộ không gian của .answer-box */
  150. position: relative; /* Đặt vị trí tương đối để tương tác đúng với .answer-box */
  151. }
  152. .answer-box button.selected {
  153. background-color: #4CAF50; /* Màu nền khi chọn */
  154. color: white; /* Màu chữ khi chọn */
  155. }
  156. .answer-box button:hover {
  157. background-color: green;
  158. color: white; /* Đổi màu chữ khi hover */
  159. cursor: pointer; /* Hiển thị con trỏ chuột như tay khi hover */
  160. }
  161. .popup-container {
  162. position: fixed;
  163. top: 0;
  164. left: 0;
  165. width: 100%;
  166. height: 100%;
  167. background-color: rgba(0, 0, 0, 0.5);
  168. display: flex;
  169. justify-content: center;
  170. align-items: center;
  171. z-index: 10000;
  172. }
  173. .popup-content {
  174. background-color: #fff;
  175. padding: 40px;
  176. border-radius: 10px;
  177. text-align: center;
  178. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  179. position: relative; /* Ensure correct positioning for the close button */
  180. z-index: 1010; /* Ensure content is on top of the close button */
  181. }
  182. .close-popup-button {
  183. position: absolute;
  184. top: 10px;
  185. right: 10px;
  186. width: 30px;
  187. height: 30px;
  188. background-color: #f44336; /* Red background */
  189. color: white;
  190. border: none;
  191. border-radius: 50%;
  192. font-size: 18px;
  193. font-weight: bold;
  194. text-align: center;
  195. cursor: pointer;
  196. line-height: 30px; /* Center the "X" vertically */
  197. z-index: 1020;
  198. }
  199. .close-popup-button:hover {
  200. background-color: #d32f2f; /* Darker red on hover */
  201. }
  202. .Home-popup-button {
  203. margin-top: 15px;
  204. padding: 10px 20px;
  205. background-color: #007bff;
  206. color: #fff;
  207. border: none;
  208. border-radius: 5px;
  209. cursor: pointer;
  210. }
  211. .Home-popup-button:hover {
  212. background-color: #0056b3;
  213. }
  214. .hidden {
  215. display: none;
  216. }