-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
172 lines (169 loc) · 3.49 KB
/
style.css
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.icon {
display: inline-block;
vertical-align: middle;
margin-left: 10px;
width: 30px; /* Set the desired width */;
height: 30px;
background-image: url('Images/ball.png');
background-size: cover; /* Maintain aspect ratio */
background-position: center; /* Center the image */
}
body {
background-color: #071952;
font-family: Inter, sans-serif;
font-size: 16px;
background: linear-gradient(90deg, #153677, #4e085f)
}
.container {
margin: 0 auto;
max-width: 540px;
min-width: min-content;
padding: 0 10px;
}
.panel {
background-color: #088395;
border-radius: 12px;
padding: 20px;
margin: 20px;
color: white;
}
input {
width: 100%;
background-color: #37B7C3;
font-size: 16px;
border: none; /* Initial border */
border-radius: 10px;
padding: 10px 10px;
outline: none; /* Remove default outline on focus */
user-select: none; /* Prevent text selection */
color: white;
transition: background-color 0.2s;
opacity: 0.8;
}
input:hover {
background-color: #0056b3;
}
input:focus {
border: none; /* Remove border when the input is focused */
outline: none; /* Ensure outline is removed on focus */
box-shadow: none; /* Remove any box shadow that might be added on focus */
background-color: #0056b3;
}
input::placeholder {
color:white;
opacity: 0.8;
}
button {
padding: 10px 20px;
border-radius: 10px;
font-size: 16px;
border: none;
background-color: #37B7C3;
color:#EBF4F6;
cursor: pointer;
transition: background-color 0.2s;
}
button:hover {
background-color: #0056b3;
}
select {
-webkit-appearance: none;
appearance: none;
border-radius: 10px;
font-size: 16px;
border: none;
outline: none;
padding: 10px 15px;
background-color: #37B7C3;
color: #EBF4F6;
opacity: 0.8;
transition: background-color 0.2s;
}
select:hover {
background-color: #0056b3;
cursor: pointer;
}
select:focus {
background-color: #0056b3;
}
.player-insert {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
}
.grid-container {
display: grid;
grid-template-columns: 5fr 1fr;
gap: 10px;
padding: 10px 0px;
margin: 10px 0px;
background-color: transparent;
border-radius: 10px;
}
.grid-header {
background-color: #330f96a8;
border-radius: 10px;
padding: 10px;
font-weight: bold;
}
.grid-item {
display: flex;
background-color: #0a22c063;
border-radius: 10px;
padding: 8px;
text-align: left;
align-items:center;
justify-content: center;
}
.skill-item {
text-align: center;
}
.grid-container .grid-item span {
margin-left: auto;
font-size: 18px;
color: #EBF4F6;
line-height: 40px;
border-radius: 50%;
align-items: center;
}
.grid-container .grid-item span:hover {
cursor: pointer;
}
.sort-teams-button {
width: 100%; /* Make the button full width */
font-size: 22px;
padding: 20px;
background-color: #088395;
opacity: 1;
}
.hidden {
display: none;
}
.visible {
display: block;
}
/*
@media (max-width: 600px) {
.player-insert {
flex-direction: column;
}
.player-insert .input, .player-insert button {
width: 100%;
margin-bottom: 10px;
}
.player-insert button {
margin-bottom: 0;
}
}
*/
.button-container {
max-width: 100%;
margin: 20px 0;
padding: 0 20px;
}