123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340 |
- @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;900&display=swap');
- body {
- width: 100%;
- height: 100%;
- position: absolute;
- background: #000000;
- margin: 0;
- padding: 0;
- overscroll-behavior: none;
- }
- .container {
- width: 100%;
- height: 100%;
- position: relative;
- }
- .ui {
- /* VIDEO HACK */
- /* visibility: hidden; */
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- font-family: 'Montserrat', sans-serif;
- }
- .row {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: flex-end;
- }
- .column {
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .left-ui {
- position: absolute;
- left: 100px;
- bottom: 50px;
- background: rgba(1.0, 1.0, 1.0, 0.0);
- width: 400px;
- height: 120px;
- padding: 10px 10px;
- border-radius: 10px;
- }
- .right-ui {
- position: absolute;
- right: 100px;
- bottom: 50px;
- background: rgba(1.0, 1.0, 1.0, 0.0);
- width: 400px;
- height: 100px;
- padding: 10px 10px;
- border-radius: 10px;
- }
- .top-right-ui {
- position: absolute;
- right: 100px;
- top: 50px;
- background: rgba(1.0, 1.0, 1.0, 0.0);
- width: 400px;
- height: 100px;
- padding: 10px 10px;
- border-radius: 10px;
- }
- .top-left-ui {
- position: absolute;
- top: 200px;
- background: rgba(1.0, 1.0, 1.0, 0.0);
- width: 400px;
- height: 100px;
- border-radius: 10px;
- }
- .ui-area {
- display: flex;
- height: 100%;
- width: 100%;
- flex-direction: column;
- justify-content: flex-end;
- }
- .ui-glow {
- border-radius: 5px;
- box-shadow:
- inset -20px -40px 40px rgba(7, 42, 136, 0.125),
- 0 0 0 2px rgba(98, 164, 245, 0.5),
- inset -40px -60px 60px rgba(5, 28, 90, 0.125),
- 7px 7px 20px rgba(0, 0, 0, 0.3);
- }
- .left-ui-area {
- transform: perspective(600px) rotateY(30deg) rotatez(-3deg);
- padding-right: 50px;
- }
- .right-ui-area {
- transform: perspective(600px) rotateY(-30deg) rotatez(3deg);
- }
- .top-right-ui-area {
- transform: perspective(600px) rotateY(-30deg) rotatez(-3deg);
- }
- .top-left-ui-area {
- text-align: center;
- }
- .objective-title-icon {
- filter: invert(1) drop-shadow(2px 2px 4px);
- }
- .objective-title {
- padding: 5px 10px;
- font-size: 1.5em;
- color: white;
- text-shadow:
- 0px -2px 2px gray,
- 0px 2px 2px gray,
- 0px 0px 8px rgb(0, 0, 0),
- 0px 0px 32px rgb(0, 0, 0);
- }
- .objective-text-background {
- min-width: 400px;
- padding: 10px 10px;
- background: linear-gradient(rgb(161, 202, 255), 10%, rgba(0, 0, 243, 0));
- align-items: center;
- }
- .objective-text {
- font-size: 1em;
- margin-left: 10px;
- margin-right: 10px;
- color: lightgray;
- text-shadow:
- 0px -2px 1px gray,
- 0px 2px 1px gray,
- 0px 0px 4px rgb(0, 0, 0);
- }
- .objective-text-icon {
- filter: invert(1) drop-shadow(2px 2px 4px);
- height: 24px;
- }
- .ammo-area {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .ammo-area > .ammo-icon {
- margin: 5px;
- }
- .ammo-icon {
- width: 48px;
- height: 48px;
- filter: invert(1) drop-shadow(2px 2px 4px);
- }
- .weapon-text {
- color: white;
- text-shadow:
- 0px -2px 1px gray,
- 0px 2px 1px gray,
- 2px 2px 4px rgb(0, 0, 0);
- font-size: 16px;
- }
- .weapon-pic-text {
- color: white;
- text-shadow:
- 0px -2px 1px gray,
- 0px 2px 1px gray,
- 2px 2px 4px rgb(0, 0, 0);
- font-size: 32px;
- }
- .weapon-icon {
- background-image: url('./resources/ui/paintball.png');
- background-repeat: no-repeat;
- background-size: contain;
- width: 110px;
- height: 40px;
- }
- .charge-area {
- margin: 10px;
- justify-content: right;
- }
- .charge-bar {
- height: 24px;
- width: 200px;
- margin-left: 5px;
- }
- .charge-bar-active {
- height: 100%;
- background-color: rgb(237, 50, 50);
- border-radius: 5px;
- box-shadow:
- 0 0 10px rgb(190, 230, 200),
- inset 0 0 10px rgb(196, 211, 227);
- }
- .charge-text {
- color: white;
- text-shadow:
- 0px -2px 1px gray,
- 0px 2px 1px gray,
- 2px 2px 4px rgb(0, 0, 0);
- font-size: 24px;
- }
- .weapon-text-icon {
- background-image: url('./resources/ui/currency_yuan_FILL0_wght700_GRAD0_opsz48.svg');
- background-repeat: no-repeat;
- background-size: cover;
- height: 24px;
- width: 24px;
- margin-left: 5px;
- filter: invert(1) drop-shadow(2px 2px 4px);
- }
- .weapon-pic-icon {
- background-image: url('./resources/ui/safety_check_FILL0_wght700_GRAD0_opsz48.svg');
- background-size: contain;
- height: 40px;
- width: 40px;
- margin-left: 5px;
- filter: invert(1) drop-shadow(2px 2px 4px);
- }
- .weapon-area {
- margin-left: 10px;
- }
- .weapon-top-row {
- min-height: 30px;
- margin-bottom: 5px;
- }
- .charge-icon {
- background-image: url('./resources/ui/flash_on_FILL0_wght700_GRAD0_opsz48.svg');
- background-size: contain;
- height: 24px;
- width: 24px;
- margin-left: 5px;
- }
- .charge-icon-main {
- filter: invert(1) drop-shadow(2px 2px 4px);
- }
- .health-area {
- margin: 10px;
- justify-content: right;
- }
- .health-bar {
- height: 48px;
- width: 200px;
- margin: 5px;
- }
- .health-text {
- color: white;
- text-shadow:
- 0px -2px 1px gray,
- 0px 2px 1px gray,
- 2px 2px 4px rgb(0, 0, 0);
- font-size: 40px;
- }
- .health-icon {
- background-image: url('./resources/ui/add_box_FILL0_wght700_GRAD0_opsz48.svg');
- background-size: contain;
- height: 48px;
- width: 48px;
- margin-left: 5px;
- }
- .health-icon-main {
- filter: invert(1) drop-shadow(2px 2px 4px);
- }
- .health-bar-active {
- height: 100%;
- background-color: rgb(89, 142, 241);
- border-radius: 5px;
- box-shadow:
- 0 0 10px rgb(118, 176, 237),
- inset 0 0 10px rgb(196, 211, 227);
- }
- .top-left-ui-area.fadeOut {
- opacity: 1.0;
- animation: fadeOut 2s ease-in-out forwards;
- }
- .top-left-ui-area.slideIn {
- animation: slideIn 1s ease-in-out forwards;
- }
- @keyframes fadeOut {
- 0% {
- opacity: 1.0;
- visibility: visible;
- }
- 100% {
- opacity: 0.0;
- visibility: hidden;
- }
- }
- @keyframes slideIn {
- 0% {
- transform: translateX(-150%);
- }
- 100% {
- transform: translateX(0%);
- }
- }
|