aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.css
diff options
context:
space:
mode:
authorQube <qchinious@gmail.com>2018-07-21 01:00:48 +0700
committerQube <qchinious@gmail.com>2018-07-21 01:00:48 +0700
commitc1730c3e16d088c03f27adab3ebfb4e6f7a37d1a (patch)
tree98ae43ea6ff2107898756e5acf7606af46421e7b /webAO/client.css
parent1e55e05fc9ca04437abf7823e3ab50c131529bf0 (diff)
Add penalty bars function and confirm dialog for "call mod" button.
Diffstat (limited to 'webAO/client.css')
-rw-r--r--webAO/client.css48
1 files changed, 38 insertions, 10 deletions
diff --git a/webAO/client.css b/webAO/client.css
index 60f6645..721ad45 100644
--- a/webAO/client.css
+++ b/webAO/client.css
@@ -327,11 +327,9 @@ img {
#client_bars {
position: relative;
- /*! margin-bottom: 30px; */
text-align: center;
- /* display: flex; */
- /* flex-direction: row; */
- height: 20px;
+ display: flex;
+ display: -webkit-flex;
}
#client_testimony {
@@ -366,15 +364,41 @@ img {
margin-right: auto;
}
-.client_defense {
- /* position: absolute; */
- /* left: 30px; */
- width: 90px;
+#client_defense_hp{
+ text-align: left;
+}
+
+#client_defense_hp > .health-bar{
+ background-color: #169de0;
+}
+
+#client_prosecutor_hp{
+ text-align: right;
+}
+
+#client_prosecutor_hp > .health-bar{
+ background-color: #e01f5f;
+}
+
+
+.health-box {
+ background-color: #555;
height: 20px;
+ width: 50%;
+ margin: 0 auto;
+ border: solid 2px #aaa;
+ border-radius: 5px;
+ box-sizing:border-box;
+ display: block;
}
-.client_prosecutor {
- /* left: 130px; */
+.health-bar {
+ width: 100%;
+ height: 100%;
+ border-radius: 3px;
+ bottom: 0;
+ position: relative;
+ display: inline-block;
}
.client_button {
@@ -462,6 +486,10 @@ img {
font-size: 3em;
}
+.material-icons.em-1-5 {
+ font-size: 1.5em;
+}
+
.location-box{
border-style: double;
background-color: #7B2900;