File tree Expand file tree Collapse file tree 4 files changed +50
-34
lines changed Expand file tree Collapse file tree 4 files changed +50
-34
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div id =" app" >
3
- <GameState />
4
- <TeamOverview class =" team-views" team-color =" Yellow" />
5
- <TeamOverview class =" team-views" team-color =" Blue" />
6
- <ControlTeam class =" team-views" team-color =" Yellow" />
7
- <ControlTeam class =" team-views" team-color =" Blue" />
8
- <ControlGeneral />
9
- <ControlMatch class =" match-controls" />
10
- <Debug class =" debug" />
3
+ <div id =" header" >
4
+ <ControlGeneral class =" header-item" />
5
+ <GameState id =" game-state" class =" header-item" />
6
+ </div >
7
+ <div id =" main-elements" >
8
+ <TeamOverview class =" team-views" team-color =" Yellow" />
9
+ <TeamOverview class =" team-views" team-color =" Blue" />
10
+ <ControlTeam class =" team-views" team-color =" Yellow" />
11
+ <ControlTeam class =" team-views" team-color =" Blue" />
12
+ </div >
11
13
<Field />
14
+ <ControlMatch id =" match-controls" />
15
+ <Debug id =" debug" />
12
16
</div >
13
17
</template >
14
18
42
46
-moz-osx-font-smoothing : grayscale ;
43
47
text-align : center ;
44
48
color : #2c3e50 ;
45
- margin-top : 1em ;
46
49
}
47
50
48
- .debug {
49
- position : fixed ;
50
- bottom : 0 ;
51
+ #header {
52
+ display : flex ;
53
+ flex-direction : row ;
54
+ flex-wrap : wrap-reverse ;
55
+ justify-content : space-between ;
56
+ align-items : baseline ;
57
+ align-content : flex-start ;
58
+ }
59
+
60
+ .header-item {
61
+ margin : 0.3em ;
62
+ }
63
+
64
+ #game-state {
65
+ font-size : 1.2em ;
66
+ font-weight : bold ;
51
67
}
52
68
53
- .match-controls {
69
+ #main-elements {
70
+ display : flex ;
71
+ flex-direction : row ;
72
+ flex-wrap : wrap ;
73
+ justify-content : flex-start ;
74
+ align-items : flex-start ;
75
+ align-content : flex-start ;
76
+ }
77
+
78
+ #match-controls {
54
79
width : 100% ;
55
80
position : fixed ;
56
81
bottom : 0 ;
57
82
text-align : center ;
58
83
}
59
84
85
+ #debug {
86
+ position : fixed ;
87
+ bottom : 0 ;
88
+ }
89
+
60
90
.team-views {
61
91
float : left ;
62
92
margin : 0.5em ;
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class = " game-state " >
2
+ <div >
3
3
<span v-b-tooltip.hover title =" The current stage of the game" >
4
4
{{state.stage}}
5
5
</span >
36
36
}
37
37
</script >
38
38
39
- <!-- Add "scoped" attribute to limit CSS to this component only -->
40
39
<style scoped>
41
- h3 {
42
- margin : 40px 0 0 ;
43
- }
44
-
45
- ul {
46
- list-style-type : none ;
47
- padding : 0 ;
48
- }
49
-
50
- li {
51
- display : inline-block ;
52
- margin : 0 10px ;
53
- }
54
-
55
- a {
56
- color : #42b983 ;
57
- }
58
40
</style >
Original file line number Diff line number Diff line change 79
79
80
80
<style scoped>
81
81
button {
82
- margin : 0.5em ;
82
+ margin-right : 0.5em ;
83
+ margin-bottom : 0.5em ;
83
84
}
84
85
</style >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div >
2
+ <div class = " team-overview " >
3
3
<h2 v-b-tooltip.hover title =" Edit team data by double-clicking a value" > Team {{teamColor}}</h2 >
4
4
<div >
5
5
<TeamName
68
68
</script >
69
69
70
70
<style scoped>
71
+ .team-overview {
72
+ text-align : left ;
73
+ }
71
74
</style >
You can’t perform that action at this time.
0 commit comments