blob: d6ef4b7cb09619dd6ea01828481fdae79e7bb6d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
/* ABC BATTLE DISPLAY FOR COLUMBIA BLOCK GAMES */
.battle {
position: absolute;
left: 100px;
top: 100px;
z-index: 50;
border-collapse: collapse;
border: 1px solid black;
background-color: white;
box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
visibility: hidden;
}
.battle.show {
visibility: visible;
}
.battle th {
font-weight: normal;
padding: 0;
border: 1px solid black;
}
.battle td {
padding: 0;
border: 1px solid black;
vertical-align: top;
}
.battle .battle_header {
height: 2em;
line-height: 2em;
font-weight: bold;
user-select: none;
cursor: move;
}
.battle .battle_message {
height: 2em;
line-height: 2em;
padding: 0 8px;
}
#FA, #FB, #FC, #FD, #FR, #EA, #EB, #EC, #ED, #ER {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 10px;
}
.battle_separator {
height: 15px;
}
.battle_menu .block {
margin: 0 auto;
}
.battle_menu {
width: 80px;
}
.battle_menu .action {
width: 20px;
height: 20px;
border-radius: 5px;
padding: 3px;
display: none;
}
.battle_menu .action:hover { background-color: red; }
.battle_menu .action.retreat:hover { background-color: #eee; }
.battle_menu .action.pass:hover { background-color: gray; }
.battle_menu_list {
margin-top: 5px;
min-height: 26px;
width: 80px;
text-align: center;
font-size: 1px;
line-height: 1px;
}
.battle_reserves .battle_menu_list {
display: none;
}
.battle_menu.fire .action.fire { display: inline; }
.battle_menu.retreat .action.retreat { display: inline; }
.battle_menu.pass .action.pass { display: inline; }
.battle_menu.charge .action.charge { display: inline; }
.battle_menu.treachery .action.treachery { display: inline; }
.battle_menu.harry .action.harry { display: inline; }
.battle_menu.hit .action.hit { display: inline; }
|