teams.css 4.8 KB

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