-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
628c4b5
commit 6a1b3e5
Showing
40 changed files
with
1,356 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export const gsiState = {} | ||
|
||
export const additionalState = { | ||
lastKnownBombPlantedCountdown: {}, | ||
roundDamages: {}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
*, | ||
*::after, | ||
*::before { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
export default { | ||
props: [ | ||
'value', | ||
'digits', | ||
'pad', | ||
'value', | ||
], | ||
|
||
computed: { | ||
elements() { | ||
return `${this.value}`.padStart(this.digits, ' ').split('') | ||
return `${this.value}`.padStart(this.digits, this.pad ?? ' ').split('') | ||
}, | ||
}, | ||
} |
1 change: 1 addition & 0 deletions
1
src/themes/fennec/focused-player/name-and-stats/data-row/taser/taser.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/* TODO this ends up not scoped */ | ||
@import '/hud/focused-player/name-and-stats/data-row/data-row-item-shared.css'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.progress-bar-background { | ||
width: 100%; | ||
height: 0.6rem; | ||
background: rgba(255, 255, 255, 0.5); | ||
overflow: hidden; | ||
} | ||
|
||
.progress-bar-fill { | ||
height: 100%; | ||
|
||
&.--to-left, | ||
&.--left { | ||
transform-origin: left; | ||
} | ||
|
||
&.--to-right, | ||
&.--right { | ||
transform-origin: right; | ||
} | ||
|
||
&.--ct { | ||
background: var(--counter-terrorists); | ||
} | ||
|
||
&.--t { | ||
background: var(--terrorists); | ||
} | ||
|
||
&.--bomb { | ||
background: var(--progress-bar-fill-color-bomb); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div class="progress-bar-background"> | ||
<div :class="['progress-bar-fill', `--${direction}`, colorClass]" :style="styleAttr"></div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export default { | ||
props: [ | ||
'colorClass', | ||
'direction', | ||
'max', | ||
'min', | ||
'value', | ||
], | ||
|
||
computed: { | ||
styleAttr() { | ||
const min = this.min || 0 | ||
const max = this.max ?? 1 | ||
|
||
const percent = (this.value - min) / (max - min) | ||
|
||
return `transform: scaleX(${percent})` | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import FocusedPlayer from '/hud/focused-player/focused-player.vue' | ||
import PlayersAlive from '/hud/players-alive/players-alive.vue' | ||
import TopBar from '/hud/top-bar/top-bar.vue' | ||
|
||
export default { | ||
components: { | ||
FocusedPlayer, | ||
PlayersAlive, | ||
TopBar, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.