From c1730c3e16d088c03f27adab3ebfb4e6f7a37d1a Mon Sep 17 00:00:00 2001 From: Qube Date: Sat, 21 Jul 2018 01:00:48 +0700 Subject: Add penalty bars function and confirm dialog for "call mod" button. --- webAO/client.css | 48 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 38 insertions(+), 10 deletions(-) (limited to 'webAO/client.css') 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; -- cgit