teams.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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. section#new_team{
  66. z-index: 1;
  67. display: none;
  68. position: fixed;
  69. width: 80%;
  70. height: 70%;
  71. margin: 0 10%;
  72. top: 10%;
  73. filter: drop-shadow(0 0 10em #000000) drop-shadow(0 0 6em #000000);
  74. }
  75. section#new_team table{
  76. width: 100%;
  77. }
  78. section#new_team table td.new_title{
  79. width: 10em;
  80. text-align: right;
  81. padding-right: 2em;
  82. }
  83. section#new_team table td.new_values{
  84. text-align: left;
  85. padding-right: 2em;
  86. }
  87. section#new_team select.new_area{
  88. display: none;
  89. }
  90. section#new_team select#new_area_difficulty{
  91. display: none;
  92. }
  93. section#new_team select#new_area_stage{
  94. display: none;
  95. }
  96. section#new_team div#new_team_units{
  97. background-color: #00000033;
  98. border-radius: 0.5em;
  99. height: 5em;
  100. text-align: left;
  101. }
  102. section#new_team div#new_team_units div.monster_panel{
  103. font-size: 50%;
  104. cursor: pointer;
  105. }
  106. section#new_team div#new_team_units div.monster_panel input.delete_unit{
  107. position: absolute;
  108. left: 0.1em;
  109. bottom: 0.1em;
  110. pointer-events: initial;
  111. }
  112. section#new_team div.new_unit{
  113. text-align: right;
  114. display: none;
  115. }
  116. section#new_team div.new_unit{
  117. text-align: right;
  118. display: none;
  119. }
  120. section#new_team div#new_team_units div.new_unit_slot{
  121. border: 0.15em solid var(--ui-color-border);
  122. border-radius: 0.6em;
  123. background-color: #ffffff55;
  124. width: 4em;
  125. height: 4em;
  126. display: inline-block;
  127. vertical-align: top;
  128. cursor: pointer;
  129. margin: 0.1em;
  130. }
  131. section#new_team div#new_team_units div.new_unit_slot.leader{
  132. border: 0.15em solid #ff0000;
  133. }
  134. section#new_team div#new_team_units div.new_unit_slot.leader:before{
  135. content: " L";
  136. color: #ffffff;
  137. background-color: #ff0000;
  138. position: absolute;
  139. z-index: 20;
  140. border-top-left-radius: 0.15em;
  141. border-bottom-right-radius: 0.5em;
  142. display: block;
  143. padding: 0.1em 0.3em;
  144. font-weight: bold;
  145. }
  146. section#new_team td#new_units{
  147. position: relative;
  148. }
  149. section#new_team input#new_unit_id{
  150. display: none;
  151. position: absolute;
  152. }
  153. section#new_team div#new_unit_autocomplete{
  154. border: 0.1em solid #000000;
  155. display: none;
  156. border-radius: 0.5em;
  157. margin: auto auto auto 1em;
  158. position: absolute;
  159. z-index: 40;
  160. }
  161. section#new_team div#new_unit_autocomplete div{
  162. border: 0.05em solid #000000;
  163. text-align: left;
  164. text-transform: capitalize;
  165. font-variant: small-caps;
  166. cursor: pointer;
  167. color: var(--input-color);
  168. font-weight: var(--input-font-weight);
  169. padding: var(--input-padding);
  170. background: var(--input-background);
  171. border: var(--input-border);
  172. border-radius: var(--input-border-radius);
  173. text-shadow: var(--input-text-shadow);
  174. box-shadow: var(--input-box-shadow);
  175. }
  176. section#new_team div#new_unit_autocomplete div span{
  177. vertical-align: middle;
  178. }
  179. section#new_team div#new_unit_autocomplete div img{
  180. height: 1.5em;
  181. width: 1.5em;
  182. vertical-align: middle;
  183. border-radius: 0.1em;
  184. border: 0.1em solid #000000;
  185. }
  186. section#error{
  187. z-index: 2;
  188. display: none;
  189. position: fixed;
  190. width: 70%;
  191. height: 60%;
  192. margin: 0 15%;
  193. top: 15%;
  194. filter: drop-shadow(0 0 10em #000000) drop-shadow(0 0 6em #000000);
  195. }