$yellow: #ff0; $orange: #f20; $yellow2: #FAB002; @import "_crosshair.scss"; @import "_damageindicator.scss"; @import "_hitindicator.scss"; @import "_inventory.scss"; @import "_killfeed.scss"; @import "_pickupfeed.scss"; @import "_scoreboard.scss"; @import "_button.scss"; @import "styles/base.scss"; @import "styles/form.scss"; HudRootPanel { background-color: rgba( #333, 0 ); transition: background-color 0.2s ease-in; transform-origin: 50% 50%; &.devcamera { display: none; } } AwardQueue { flex-direction: column; flex-grow: 0; position: absolute; top: 15%; width: 100%; z-index: 5; .container { display: flex; justify-content: center; align-items: center; } } MovementHint { flex-direction: column; flex-grow: 0; position: absolute; top: 40%; width: 100%; height: 160px; z-index: 5; display: flex; justify-content: center; align-items: center; //background-color: rgba(#f20,.5); font-family: "Material Icons"; color: white; left: 64px; mix-blend-mode: lighten; .jump { bottom: 0px; display: flex; justify-content: center; align-items: center; opacity: 0; font-size: 32px; &.active { opacity: .5; } } .duck { top: 64px; display: flex; justify-content: center; align-items: center; opacity: 0; font-size: 32px; &.active { opacity: .5; } } } KilledHud { flex-direction: column; flex-grow: 0; position: absolute; top: 40%; width: 100%; height: 160px; z-index: 5; display: flex; justify-content: center; align-items: center; //background-color: rgba(#f20,.5); opacity: 0; transition: all 0.5s ease-in-out; transform: scale( 0 ); .attackeravatar { position: absolute; bottom: 8%; width: 92px; height: 92px; margin-right: 15px; border-radius: 100px; background-size: cover; box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.2); } .attackername { bottom: 1.5%; font-size: 92px; color: $yellow2; font-weight: bolder; font-family: Teko-SemiBold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } .attackerhealth { position: absolute; right: 55%; top: 48%; font-size: 72px; color: $yellow2; font-weight: bolder; font-family: Teko-SemiBold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } .attackerhealthicon { left: 39%; top: 68%; position: absolute; width: 32px; height: 32px; background-size: 100%; background-image-tint: #55ff00; box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.2); } .attackerarmour { left: 55%; top: 48%; position: absolute; font-size: 72px; color: $yellow2; font-weight: bolder; font-family: Teko-SemiBold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } .attackerarmouricon { left: 53%; top: 68%; position: absolute; width: 32px; height: 32px; background-size: 100%; background-image-tint: #00eadc; box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.2); } &.show { opacity: 1; transition: all 0.5s ease-in-out; transform: scale( 1 ); } } vitals { font-size: 64px; color: #ff0; mix-blend-mode: lighten; font-family: Roboto; label { text-shadow: 0px 0px 20px #f70a; &.danger { color: #f00; text-shadow: 0px 0px 10px #f005; } } } .boomer_shotgun .icon { background-image: url( /ui/weapons/dm_shotgun.png ); background-image-tint: #f70f; } .boomer_railgun .icon { background-image: url( /ui/weapons/dm_railgun.png ); background-image-tint: #25cf12; } .boomer_nailgun .icon { background-image: url( /ui/weapons/dm_nailgun.png ); background-image-tint: #0024ff; } .boomer_rocketlauncher_rocket .icon { background-image: url( /ui/weapons/dm_rocketlauncher_rocket.png ); background-image-tint: #f20; } .boomer_rocketlauncher .icon { background-image: url( /ui/weapons/dm_rocketlauncher.png ); background-image-tint: #f20; } .boomer_grenadelauncher_grenade .icon { background-image: url( /ui/weapons/dm_grenadelauncher_grenade.png ); background-image-tint: #70ff00; } .boomer_grenadelauncher .icon { background-image: url( /ui/weapons/dm_grenadelauncher.png ); background-image-tint: #70ff00; } .boomer_masterball .icon { background-image: url( /ui/weapons/masterball.png ); background-image-tint: #ff00f2; } .boomer_crowbar .icon { background-image: url( /ui/weapons/dm_crowbar.png ); } .boomer_lightninggun .icon { background-image: url( /ui/weapons/dm_lightninggun.png ); background-image-tint: #16edcc; } .bottom-left { left: 160px; flex-direction: column; } .bottom-right { right: 160px; flex-direction: column; } .bottom-left, .bottom-right { position: absolute; bottom: 0px; } .top-middle { top: 0px; width: 100%; flex-direction: column; align-items: center; gamehud { text-align: left; padding: 10px; font-family: Teko-SemiBold; font-size: 20px; flex-direction: column; justify-content: center; font-size: 24px; color: $yellow2; font-weight: 500; text-transform: uppercase; background-image: linear-gradient( to bottom, rgba( black, 0.0 ), rgba( black, 0.5 ) ); .game-state { } .game-timer { left: 50%; min-width: 256px; font-size: 68px; color: $yellow2; } } } speedo { position: absolute; top: 86%; text-align: left; padding: 0px; flex-direction: column; justify-content: center; text-transform: uppercase; .text { text-align: right; align-items: center; font-size: 72px; color: $yellow2; font-weight: bolder; font-family: Teko-SemiBold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); opacity: 0; &.active { opacity: 1; } } } .inventory, gamehud, dashcount { padding: 0px; margin: 0px; font-size: 72px; font-weight: bolder; color: $yellow2; min-width: 0px; text-align: center; align-items: center; } iconpanel { font-family: "Material Icons"; } dashcount, lastdamage { opacity: 1; } lastdamage { top: 100px; font-size: 64px; left: 200px; color: #f20; transition: all 0.1s ease-in; transform: scale( 1 ) skew(0deg, -5deg); position: absolute; font-weight: bolder; font-family: Teko-SemiBold; &.nodmg { opacity: 1; transform: scale( 0 ) skew(0deg, -5deg); transition: all 0.1s ease-out; } } dashcount { bottom: 96px; right: 32px; transform: skew(0deg, 5deg); .dashsegments { align-items: center; panel { width: 84px; height: 16px; background-color: rgb(85, 85, 85); margin-right: 4px; color: $yellow2; box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.5); } box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.2); } .dashicon { font-size: 98px; box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.2); } } AmmoVital { bottom: 96px; left: 96px; transform: skew(0deg, 5deg); .ammoinv { text-align: right; font-size: 128px; font-weight: bolder; color: $yellow2; font-family: Teko-SemiBold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); top: 72px; right: 90px; transform: scale( 1 ); &.low { color: #ffe9b4; } &.gained { color: #c9ffb4; } } .ammoicon { right: 100px; top: 124px; width: 64px; height: 64px; background-size: 100%; background-image-tint: #fade02; box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.2); } } healthhud { flex-direction: column; transform: skew(0deg, -5deg); .segments { align-items: center; panel { width: 13px; height: 24px; background-color: rgb(85, 85, 85); margin-right: 4px; box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.5); } box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.2); } .health { text-align: right; font-size: 72px; font-weight: bolder; color: $yellow2; font-family: Teko-SemiBold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); top: 72px; right: 90px; &.low { color: #f20; transition: all 0.15s ease-in-out; transform: scale( 1.25 ) translate(-32px, -10%); } &.gained { color: #c9ffb4; transition: all 0.15s ease-in-out; transform: scale( 1.25 ) translate(-32px, -10%); } } .hpicon { margin-left: -60px; top: 36px; width: 48px; height: 48px; background-size: 100%; background-image-tint: #fade02; box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.2); } .healthsupport { position: absolute; text-align: right; font-size: 48px; font-weight: bolder; color: $yellow2; font-family: Teko-SemiBold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); bottom: 14px; left: 90px; } &.overheal { .health { color: #00eadc; } } &.low { color: #f20; .health { color: #f20; } iconpanel { color: $yellow2; } } } @keyframes scaletxt { 0% { transform: scale( 1.1 ); } 50% { transform: scale( 1 ); } 100% { transform: scale( 1.1 ); } } armourhud { flex-direction: column; bottom: 64px; left: 32px; transform: skew(0deg, -5deg); .armoursegments { align-items: center; panel { width: 13px; height: 24px; background-color: rgb(85, 85, 85); margin-right: 4px; box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.5); } box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.2); } .armour { text-align: right; font-size: 72px; font-weight: bolder; color: $yellow2; font-family: Teko-SemiBold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); top: 72px; right: 90px; &.low { color: #f20; transition: all 0.15s ease-in-out; transform: scale( 1.25 ) translate(-32px, -10%); } &.gained { color: #c9ffb4; transition: all 0.15s ease-in-out; transform: scale( 1.25 ) translate(-32px, -10%); } } .armouricon { margin-left: -60px; top: 36px; width: 48px; height: 48px; background-size: 100%; background-image-tint: #fade02; box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.2); } .armoursupport { position: absolute; text-align: right; font-size: 48px; font-weight: bolder; color: $yellow2; font-family: Teko-SemiBold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); bottom: 14px; left: 90px; } &.empty { opacity: 1; } &.overarmour { color: #25cf12; .armour { color: #00eadc; } iconpanel { color: $yellow2; } } } .game-end { boomerchatbox, .top-middle { z-index: 1000; } inventorybar, .bottom-right, .bottom-left { display: none; } } MasterballHud { position: absolute; align-items: center; flex-direction: column; left: 0; top: 0; width: 100%; height: 100%; padding-top: 200px; text-transform: uppercase; NotifyLabel { color: $yellow2; font-size: 50px; font-weight: bolder; font-family: Teko-SemiBold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); opacity: 1; transition: all .15s ease; transform: scale(1); &:intro { opacity: 0; transform: scale(0); } &:outro { opacity: 0; transform: scale(0); } } }