teams.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. table#teams{
  2. width: 100%;
  3. border-collapse: collapse;
  4. border: 0.1em solid #000000;
  5. border-radius: 0.4em;
  6. }
  7. table#teams th{
  8. border-top: 0.1em solid #000000;
  9. border-bottom: 0.1em solid #000000;
  10. background-color: #00000066;
  11. }
  12. table#teams td{
  13. border-bottom: 0.1em solid #000000;
  14. text-align: left;
  15. padding: 0.2em;
  16. }
  17. table#teams td.odd{
  18. background-color: #00000033;
  19. }
  20. table#teams td.team h4{
  21. position: relative;
  22. margin: 0.1em;
  23. }
  24. table#teams td.team h4 img.area{
  25. top: 0;
  26. left: 0;
  27. width: 2em;
  28. height: 2em;
  29. border: 0.2em solid #555555;
  30. border-radius: 0.5em;
  31. background-color: #777777;
  32. vertical-align: middle;
  33. }
  34. table#teams td.team h4{
  35. vertical-align: middle;
  36. }
  37. table#teams td.team h4 span.stage{
  38. position: absolute;
  39. top: 1.3em;
  40. left: 0;
  41. width: 2.4em;
  42. text-align: right;
  43. text-shadow: 0 0 0.3em #000, 0 0 0.3em #000, 0 0 0.3em #000, 0 0 0.2em #000, 0 0 0.1em #000, 0 0 0.1em #000;
  44. pointer-events: none;
  45. }
  46. table#teams td.units{
  47. width: 12em;
  48. text-align: center;
  49. }
  50. table#teams td.units hr.frontline{
  51. display: block;
  52. width: 9em;
  53. margin: 0 auto 0.2em auto;
  54. color: #666666;
  55. }
  56. table#teams td.units div.monster_panel{
  57. font-size: 25%;
  58. }
  59. table#teams td.units div.monster_panel img.leader{
  60. width: 5em;
  61. height: 5em;
  62. display: block;
  63. position: absolute;
  64. top: -1.7em;
  65. left: -0.7em;
  66. }
  67. table#teams td.score{
  68. text-align: center;
  69. }
  70. table#teams td.action{
  71. text-align: center;
  72. }
  73. table#teams td.action a{
  74. display: inline-block;
  75. width: 1.5em;
  76. height: 1.5em;
  77. }
  78. table#teams td.action a img{
  79. display: inline-block;
  80. width: 1em;
  81. margin-top: 0.25em;
  82. margin-left: 0.25em;
  83. height: 1em;
  84. }
  85. section#new_team{
  86. z-index: 1;
  87. display: none;
  88. position: fixed;
  89. width: 80%;
  90. height: 70%;
  91. margin: 0 10%;
  92. top: 10%;
  93. filter: drop-shadow(0 0 10em #000000) drop-shadow(0 0 6em #000000);
  94. }
  95. section#new_team table{
  96. width: 100%;
  97. }
  98. section#new_team table td.new_title{
  99. width: 10em;
  100. text-align: right;
  101. padding-right: 2em;
  102. }
  103. section#new_team table td.new_values{
  104. text-align: left;
  105. padding-right: 2em;
  106. }
  107. section#new_team select.new_area{
  108. display: none;
  109. }
  110. section#new_team select#new_area_difficulty{
  111. display: none;
  112. }
  113. section#new_team select#new_area_stage{
  114. display: none;
  115. }
  116. section#new_team div#new_team_units{
  117. background-color: #00000033;
  118. border-radius: 0.5em;
  119. height: 5em;
  120. text-align: left;
  121. }
  122. section#new_team div#new_team_units div.monster_panel{
  123. font-size: 50%;
  124. cursor: pointer;
  125. }
  126. section#new_team div#new_team_units div.monster_panel input.delete_unit{
  127. position: absolute;
  128. left: 0.1em;
  129. bottom: 0.1em;
  130. pointer-events: initial;
  131. }
  132. section#new_team div.new_unit{
  133. text-align: right;
  134. display: none;
  135. }
  136. section#new_team div.new_unit{
  137. text-align: right;
  138. display: none;
  139. }
  140. section#new_team div#new_team_units div.new_unit_slot{
  141. border: 0.15em solid var(--ui-color-border);
  142. border-radius: 0.6em;
  143. background-color: #ffffff55;
  144. width: 4em;
  145. height: 4em;
  146. display: inline-block;
  147. vertical-align: top;
  148. cursor: pointer;
  149. margin: 0.1em;
  150. }
  151. section#new_team div#new_team_units div.new_unit_slot.leader{
  152. border: 0.15em solid #ff0000;
  153. }
  154. section#new_team div#new_team_units div.new_unit_slot.leader:before{
  155. content: " L";
  156. color: #ffffff;
  157. background-color: #ff0000;
  158. position: absolute;
  159. z-index: 20;
  160. border-top-left-radius: 0.15em;
  161. border-bottom-right-radius: 0.5em;
  162. display: block;
  163. padding: 0.1em 0.3em;
  164. font-weight: bold;
  165. }
  166. section#new_team td#new_units{
  167. position: relative;
  168. }
  169. section#new_team input#new_unit_id{
  170. display: none;
  171. position: absolute;
  172. }
  173. section#new_team div#new_unit_autocomplete{
  174. border: 0.1em solid #000000;
  175. display: none;
  176. border-radius: 0.5em;
  177. margin: auto auto auto 1em;
  178. position: absolute;
  179. z-index: 40;
  180. }
  181. section#new_team div#new_unit_autocomplete div{
  182. border: 0.05em solid #000000;
  183. text-align: left;
  184. text-transform: capitalize;
  185. font-variant: small-caps;
  186. cursor: pointer;
  187. color: var(--input-color);
  188. font-weight: var(--input-font-weight);
  189. padding: var(--input-padding);
  190. background: var(--input-background);
  191. border: var(--input-border);
  192. border-radius: var(--input-border-radius);
  193. text-shadow: var(--input-text-shadow);
  194. box-shadow: var(--input-box-shadow);
  195. }
  196. section#new_team div#new_unit_autocomplete div span{
  197. vertical-align: middle;
  198. }
  199. section#new_team div#new_unit_autocomplete div img{
  200. height: 1.5em;
  201. width: 1.5em;
  202. vertical-align: middle;
  203. border-radius: 0.1em;
  204. border: 0.1em solid #000000;
  205. }
  206. section#error{
  207. z-index: 2;
  208. display: none;
  209. position: fixed;
  210. width: 70%;
  211. height: 60%;
  212. margin: 0 15%;
  213. top: 15%;
  214. filter: drop-shadow(0 0 10em #000000) drop-shadow(0 0 6em #000000);
  215. }