-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
139 lines (134 loc) · 2.64 KB
/
styles.css
File metadata and controls
139 lines (134 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/* gameplay.css */
/* Styles for the gameplay phase (canvas-based) */
#game-screen {
position: absolute;
top: 50px;
left: 0;
width: 100%;
height: calc(100% - 50px);
/* No fixed width/height here—the Phaser Scale Manager will resize the canvas */
}
#gameCanvas {
width: 100%;
height: 100%;
display: block;
background-color: #87CEEB;
border: none;
}
/* house.css */
/* Styles for the house phase & upgrade menu */
#upgrade-menu {
position: absolute;
top: 50px;
left: 0;
width: 100%;
height: calc(100% - 50px);
background-color: rgba(0, 0, 0, 0.9);
padding: 20px;
box-sizing: border-box;
display: block;
overflow-y: auto;
}
.upgrade-menu-columns {
display: flex;
justify-content: space-around;
align-items: flex-start;
flex-wrap: wrap;
}
.upgrade-column {
width: 45%;
margin: 10px 0;
}
.upgrade-column h2 {
text-align: center;
margin-bottom: 10px;
}
.upgrade-entry {
margin-bottom: 15px;
}
.upgrade-entry button {
width: 100%;
margin: 5px 0 2px 0;
padding: 10px;
font-size: 16px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.2s ease;
}
.upgrade-entry button:hover {
background-color: #0056b3;
}
.upgrade-entry button:disabled {
background-color: #555;
cursor: not-allowed;
}
/* Explicitly disabled upgrades (locked/unavailable) */
.upgrade-disabled {
background-color: #333 !important;
color: #bbb !important;
opacity: 0.65;
border: 1px dashed #888;
cursor: not-allowed !important;
text-shadow: none;
}
.upgrade-desc {
font-size: 14px;
line-height: 1.2;
margin: 0;
color: #ccc;
}
#bestTimeText {
margin-top: 20px;
text-align: center;
color: #fff;
}
#startGame {
display: block;
margin: 10px auto;
font-size: 16px;
padding: 8px 16px;
cursor: pointer;
background-color: #28a745;
border: none;
border-radius: 5px;
transition: background-color 0.2s ease;
}
#startGame:hover {
background-color: #218838;
}
/* Global UI elements (title, money display) */
h1 {
text-align: center;
margin-top: 10px;
color: #000;
font-size: 36px;
font-weight: bold;
}
/* Improved money display */
#moneyDisplay {
position: fixed;
top: 10px;
right: 10px;
font-size: 20px;
background-color: rgba(0, 0, 0, 0.9);
padding: 12px 16px;
border-radius: 10px;
color: #FFD700;
font-weight: bold;
z-index: 1000;
}
/* Live money updates should stand out */
#moneyText {
font-size: 22px;
font-weight: bold;
color: #FFD700;
transition: transform 0.1s ease-in-out, color 0.2s ease-in-out;
}
/* Bounce effect when money updates */
.money-increase {
transform: scale(1.2);
color: #FFFFFF;
}