diff options
author | LaG1924 <lag1924@gmail.com> | 2021-06-19 22:04:53 +0200 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-06-19 22:13:09 +0200 |
commit | d8710c9c252f49bf442590d47e8b79a9c1231ead (patch) | |
tree | c8225953444ead9e4be5a7c586bc21e3c870ab6b /cwd/assets/altcraft/ui/hud-styles.rcss | |
parent | Implemented RmlFileInterface (diff) | |
download | AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar.gz AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar.bz2 AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar.lz AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar.xz AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar.zst AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.zip |
Diffstat (limited to 'cwd/assets/altcraft/ui/hud-styles.rcss')
-rw-r--r-- | cwd/assets/altcraft/ui/hud-styles.rcss | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/cwd/assets/altcraft/ui/hud-styles.rcss b/cwd/assets/altcraft/ui/hud-styles.rcss new file mode 100644 index 0000000..61f4147 --- /dev/null +++ b/cwd/assets/altcraft/ui/hud-styles.rcss @@ -0,0 +1,56 @@ +.body-hud { + +} + +.dbg-hud { + background-color: #00000055; + border-color: black; + border-width: 2dp; + font-size: 20dp; + color: white; + padding: 3dp; + text-align: left; + margin: 3dp auto auto 3dp; + position: fixed; +} + +p { + display: block; +} + +span { + display: inline-block; +} + +.status-hud { + background-color: #00000055; + border-color: black; + border-width: 2dp; + font-size: 20dp; + color: white; + padding: 2dp; + margin: 10dp; + text-align: center; + bottom: 0; + position: fixed; +} + +#status-hp-bar { + background-color: maroon; + border-color: black; + margin-left: 5dp; + width: 200dp; + height: 10dp; +} + +#status-hp-bar fill { + background-color: red; +} + +.crosshair-hud { + display: table-cell; + color: white; + font-size: 50dp; + text-align: center; + vertical-align: middle; +}
\ No newline at end of file |