aboutsummaryrefslogtreecommitdiff
path: root/webAO/styles
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-02-27 19:10:12 +0100
committersD <stoned@derpymail.org>2020-02-27 19:10:12 +0100
commitb3313b0ee727b63b9432a624364a5310f433d654 (patch)
treebda93727fa8d9d28272c4843f0d2b425e2373729 /webAO/styles
parentd68a24e90cba1ba7b9f8f8ea981548af5e87425b (diff)
move health bars to themes
Diffstat (limited to 'webAO/styles')
-rw-r--r--webAO/styles/client.css38
-rw-r--r--webAO/styles/default.css38
-rw-r--r--webAO/styles/soj.css38
3 files changed, 76 insertions, 38 deletions
diff --git a/webAO/styles/client.css b/webAO/styles/client.css
index 9110176..3c8e087 100644
--- a/webAO/styles/client.css
+++ b/webAO/styles/client.css
@@ -346,44 +346,6 @@
border-width: 3px;
}
-#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;
-}
-
-.health-bar {
- width: 100%;
- height: 100%;
- border-radius: 3px;
- bottom: 0;
- position: relative;
- display: inline-block;
- transition: 1s linear;
- transition-property: width;
-}
-
.healthchange_button {
font-size: 1.5em;
}
diff --git a/webAO/styles/default.css b/webAO/styles/default.css
index 8ce47bd..c1677a8 100644
--- a/webAO/styles/default.css
+++ b/webAO/styles/default.css
@@ -129,4 +129,42 @@ img {
border-width: 1px;
border-color: #fff;
box-shadow: 1px 1px inset;
+}
+
+#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;
+}
+
+.health-bar {
+ width: 100%;
+ height: 100%;
+ border-radius: 3px;
+ bottom: 0;
+ position: relative;
+ display: inline-block;
+ transition: 1s linear;
+ transition-property: width;
} \ No newline at end of file
diff --git a/webAO/styles/soj.css b/webAO/styles/soj.css
index 023e5cb..b81508a 100644
--- a/webAO/styles/soj.css
+++ b/webAO/styles/soj.css
@@ -138,4 +138,42 @@ body {
#evi_desc {
flex: 1 auto;
background: repeating-linear-gradient(#83b893, #83b893 14px, #222 14px, #222 15px);
+}
+
+#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;
+}
+
+.health-bar {
+ width: 100%;
+ height: 100%;
+ border-radius: 3px;
+ bottom: 0;
+ position: relative;
+ display: inline-block;
+ transition: 1s linear;
+ transition-property: width;
} \ No newline at end of file