style.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. *{
  2. margin: 0;
  3. padding: 0;
  4. /* text-transform: capitalize; */
  5. }
  6. .item{
  7. display: flex;
  8. flex-direction: column;
  9. margin: 10px 0;
  10. gap: 5px;
  11. }
  12. .styles .item{
  13. flex-direction: column;
  14. }
  15. .styles .item {
  16. flex-direction: column;
  17. }
  18. .hash .item{
  19. flex-direction: row;
  20. height: fit-content;
  21. align-items: center;
  22. }
  23. .item textarea{
  24. height: 70px;
  25. }
  26. .form__submit{
  27. border: none;
  28. background: green;
  29. color: white;
  30. border-radius: 7px;
  31. padding: 10px 20px;
  32. margin: 20px 0;
  33. cursor: pointer;
  34. }
  35. .form__btn-block{
  36. justify-content: center;
  37. display: flex;
  38. }
  39. .container{
  40. max-width: 1200px;
  41. margin: auto;
  42. background: #f3f3f3;
  43. padding: 15px;
  44. }
  45. .meta{
  46. text-align: center;
  47. }
  48. input[type="text"]{
  49. padding: 10px;
  50. }
  51. .content{
  52. text-align: center;
  53. }
  54. .styles h2{
  55. text-align: center;
  56. }
  57. .style-grid{
  58. display: grid;
  59. grid-template-columns: 1fr 1fr;
  60. }
  61. .img-block{
  62. display: flex;
  63. align-items: flex-end;
  64. border-bottom: 1px solid lightgray;
  65. padding-bottom: 5px;
  66. }
  67. #menu-repeater h2{
  68. text-align: center;
  69. margin: 15px 0;
  70. }
  71. .menu-faq-btn{
  72. margin: 10px 0;
  73. }
  74. #menu-form{
  75. margin: auto;
  76. }
  77. .btn-rm{
  78. }
  79. textarea{
  80. padding: 10px;
  81. }
  82. .item span +div{
  83. display: flex;
  84. align-items: center;
  85. gap: 10px;
  86. }
  87. #faq-repeater .repeater-item{
  88. display: flex;
  89. align-items: center;
  90. gap: 10px;
  91. }
  92. #faq-repeater .repeater-item input{
  93. height: 70px;
  94. }
  95. .repeater-item textarea{
  96. height: 70px;
  97. }
  98. #faq-repeater h2{
  99. text-align: center;
  100. }
  101. .img-thumb{
  102. max-width: 70px;
  103. display: block;
  104. }
  105. #menu-repeater button{
  106. padding: 10px 20px;
  107. border: none;
  108. background: #70acf0;
  109. color: white;
  110. }
  111. #faq-repeater button{
  112. padding: 10px 20px;
  113. border: none;
  114. background: #70acf0;
  115. color: white;
  116. }
  117. hr{
  118. width: 40%;
  119. text-align: center;
  120. display: block;
  121. margin: 20px auto;
  122. }
  123. #listing-repeater h2{
  124. text-align: center;
  125. margin: 15px 0;
  126. }
  127. #listing-repeater button[type="submit"]{
  128. padding: 10px 20px;
  129. border: none;
  130. background: #70acf0;
  131. color: white;
  132. cursor: pointer;
  133. }
  134. #listing-repeater button[type="button"]{
  135. padding: 10px 20px;
  136. border: none;
  137. background: #70acf0;
  138. color: white;
  139. cursor: pointer;
  140. }
  141. .casino-item > div{
  142. width: 45%;
  143. display: flex;
  144. justify-content: space-between;
  145. margin: 15px 0;
  146. align-items: center;
  147. }
  148. .casino-item input{
  149. width: 350px;
  150. }
  151. h2.title{
  152. font-size: 40px;
  153. text-align: center;
  154. margin-bottom: 20px;
  155. }
  156. .form-fields{
  157. display: flex;
  158. justify-content: flex-start;
  159. flex-direction: column;
  160. gap: 10px;
  161. }
  162. .form-fields div{
  163. text-align: left;
  164. }
  165. .href-block{
  166. display: flex;
  167. }
  168. /* Drag & Drop styles for casino items */
  169. .casino-item {
  170. transition: opacity 0.3s ease, transform 0.2s ease;
  171. }
  172. .casino-item.dragging {
  173. opacity: 0.5;
  174. }
  175. .casino-item:hover {
  176. border-color: #999 !important;
  177. }
  178. .drag-handle {
  179. cursor: grab !important;
  180. user-select: none;
  181. }
  182. .drag-handle:active {
  183. cursor: grabbing !important;
  184. }
  185. #casinoRepeater {
  186. position: relative;
  187. }
  188. /* Accordion styles for casino items */
  189. .casino-item-header {
  190. transition: background-color 0.2s ease;
  191. }
  192. .casino-item-header:hover {
  193. background-color: #e0e0e0 !important;
  194. }
  195. .casino-item-content {
  196. display: flex;
  197. flex-direction: column;
  198. gap: 15px;
  199. padding-top: 10px;
  200. transition: all 0.3s ease;
  201. }
  202. .casino-item-content > div {
  203. display: flex;
  204. flex-direction: column;
  205. gap: 5px;
  206. }
  207. .casino-item-content > div span {
  208. font-weight: 500;
  209. font-size: 14px;
  210. }
  211. .casino-item-content input[type="text"],
  212. .casino-item-content input[type="file"] {
  213. width: 300px;
  214. box-sizing: border-box;
  215. }
  216. .casino-item-content button {
  217. align-self: flex-start;
  218. margin-top: 5px;
  219. }
  220. .toggle-accordion {
  221. transition: transform 0.3s ease;
  222. }
  223. .casino-item-title {
  224. font-size: 14px;
  225. overflow: hidden;
  226. text-overflow: ellipsis;
  227. white-space: nowrap;
  228. }
  229. /* Tab styles for admin interface */
  230. .tabs {
  231. display: flex;
  232. border-bottom: 2px solid #ddd;
  233. margin-bottom: 20px;
  234. }
  235. .tab {
  236. padding: 12px 24px;
  237. cursor: pointer;
  238. border: 1px solid #ddd;
  239. border-bottom: none;
  240. background: #f5f5f5;
  241. margin-right: 5px;
  242. transition: background 0.3s;
  243. }
  244. .tab.active {
  245. background: #007bff;
  246. color: white;
  247. }
  248. .tab:hover {
  249. background: #e0e0e0;
  250. }
  251. .tab.active:hover {
  252. background: #0056b3;
  253. }
  254. /* Alpine.js cloak to prevent flash of unstyled content */
  255. [x-cloak] { display: none !important; }
  256. .tab-content {
  257. display: block;
  258. }
  259. /* Image block styles */
  260. .img-block {
  261. display: flex;
  262. gap: 20px;
  263. margin-bottom: 20px;
  264. align-items: flex-start;
  265. }
  266. .img-block .item {
  267. flex: 0 0 auto;
  268. }
  269. .img-block > div:last-child {
  270. flex: 1;
  271. }
  272. .img-block > div:last-child span {
  273. display: block;
  274. margin-bottom: 5px;
  275. font-weight: bold;
  276. }
  277. .img-block > div:last-child input {
  278. width: 100%;
  279. margin-bottom: 10px;
  280. padding: 5px;
  281. }
  282. .img-thumb {
  283. max-width: 150px;
  284. max-height: 100px;
  285. object-fit: cover;
  286. border: 1px solid #ddd;
  287. border-radius: 4px;
  288. margin-bottom: 10px;
  289. display: block;
  290. }
  291. /* Override existing item styles for better layout */
  292. .item span {
  293. display: inline-block;
  294. min-width: 150px;
  295. font-weight: bold;
  296. margin-right: 10px;
  297. }
  298. .item input[type="file"] {
  299. margin-left: 10px;
  300. }
  301. /* Hreflang block styles */
  302. .href-block {
  303. display: grid;
  304. grid-template-columns: 1fr 1fr;
  305. gap: 20px;
  306. margin-bottom: 15px;
  307. }
  308. .href-block .item {
  309. display: flex;
  310. flex-direction: column;
  311. }
  312. .href-block .item span {
  313. margin-bottom: 5px;
  314. font-weight: bold;
  315. min-width: auto;
  316. }
  317. .href-block .item input {
  318. width: 100%;
  319. padding: 8px;
  320. border: 1px solid #ddd;
  321. border-radius: 4px;
  322. }