teams.css 4.9 KB

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