blob: d7839cdef09becc99680f1461d1f0baf32e86a67 (
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
90
91
92
93
94
95
96
97
98
99
100
101
|
@import "../../shared/colors";
@import "../../shared/shadows";
.info-card
{
display: flex;
flex-flow: column;
}
.info-card-top
{
position: relative;
margin-top: 0.5em;
}
.info-card-picture
{
top: 0;
left: 0;
box-sizing: border-box;
border-radius: 5px;
overflow: hidden;
margin: 0;
@include box-shadow(2px, $BROWN-0, 1);
display: inline-block;
}
.info-card-text-field
{
display:flex;
justify-content:center;
align-items:center;
border-radius: 5px;
background-color: $BROWN-2;
width: 100%;
}
.gauge
{
position: relative;
border-radius: 5px;
border: 2px solid $BROWN-2;
text-align: center;
height: 2em;
}
.gauge-text
{
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.gauge-bar
{
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 0;
border-radius: 5px;
z-index: 0;
transition: width 3s ease-in-out;
}
.character-card-health,
.tile-card-cost
{
position: absolute;
left: 100px;
top: 0;
margin-left: 0.5em;
width: calc(100% - 100px - 0.5em);
}
.character-card-movement,
.tile-card-location
{
position: absolute;
left: 100px;
top: calc(1.5em + 1em);
margin-left: 0.5em;
width: calc(100% - 100px - 0.5em);
}
|