Skip to content

Commit 51a51fe

Browse files
authored
Merge pull request wavelog#250 from AndreasK79/map_style_cleanup
[Maps] Moved legend/info css from view to general.css
2 parents 3334983 + 9817224 commit 51a51fe

File tree

18 files changed

+148
-371
lines changed

18 files changed

+148
-371
lines changed

application/views/activated_gridmap/index.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
2-
3-
<style>
4-
/*Legend specific*/
5-
.legend {
6-
padding: 6px 8px;
7-
font: 14px Arial, Helvetica, sans-serif;
8-
background: white;
9-
line-height: 24px;
10-
color: #555;
11-
border-radius: 10px;
12-
}
13-
.legend h4 {
14-
text-align: center;
15-
font-size: 16px;
16-
margin: 2px 12px 8px;
17-
color: #777;
18-
}
19-
.legend span {
20-
position: relative;
21-
bottom: 3px;
22-
}
23-
.legend i {
24-
width: 18px;
25-
height: 18px;
26-
float: left;
27-
margin: 0 8px 0 0;
28-
}
29-
</style>
301
<div class="container">
312

323
<br>

application/views/awards/cq/index.php

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,45 +6,6 @@
66
height: calc(100vh - 480px) !important;
77
max-height: 900px !important;
88
}
9-
/*Legend specific*/
10-
.legend {
11-
padding: 6px 8px;
12-
font: 14px Arial, Helvetica, sans-serif;
13-
background: white;
14-
background: rgba(255, 255, 255, 0.8);
15-
line-height: 24px;
16-
color: #555;
17-
}
18-
.legend h4 {
19-
text-align: center;
20-
font-size: 16px;
21-
margin: 2px 12px 8px;
22-
color: #777;
23-
}
24-
.legend span {
25-
position: relative;
26-
bottom: 3px;
27-
}
28-
.legend i {
29-
width: 18px;
30-
height: 18px;
31-
float: left;
32-
margin: 0 8px 0 0;
33-
opacity: 0.7;
34-
}
35-
.info {
36-
padding: 6px 8px;
37-
font: 14px/16px Arial, Helvetica, sans-serif;
38-
background: white;
39-
background: rgba(255,255,255,0.8);
40-
box-shadow: 0 0 15px rgba(0,0,0,0.2);
41-
border-radius: 5px;
42-
color: #555;
43-
}
44-
.info h4 {
45-
margin: 0 0 5px;
46-
color: #555;
47-
}
489
</style>
4910

5011
<div class="container">

application/views/awards/dxcc/index.php

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,6 @@
44
height: calc(100vh - 500px) !important;
55
max-height: 900px !important;
66
}
7-
/*Legend specific*/
8-
.legend {
9-
padding: 6px 8px;
10-
font: 14px Arial, Helvetica, sans-serif;
11-
background: white;
12-
background: rgba(255, 255, 255, 0.8);
13-
line-height: 24px;
14-
color: #555;
15-
}
16-
.legend h4 {
17-
text-align: center;
18-
font-size: 16px;
19-
margin: 2px 12px 8px;
20-
color: #777;
21-
}
22-
.legend span {
23-
position: relative;
24-
bottom: 3px;
25-
}
26-
.legend i {
27-
width: 18px;
28-
height: 18px;
29-
float: left;
30-
margin: 0 8px 0 0;
31-
opacity: 0.7;
32-
}
337
</style>
348
<div class="container">
359
<!-- Award Info Box -->

application/views/awards/ffma/index.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,6 @@
11

22

33
<style>
4-
/*Legend specific*/
5-
.legend {
6-
padding: 10px 10px 10px 10px;
7-
font: 14px Arial, Helvetica, sans-serif;
8-
background: white;
9-
line-height: 24px;
10-
color: #555;
11-
border-radius: 10px;
12-
}
13-
.legend h4 {
14-
text-align: center;
15-
font-size: 16px;
16-
margin: 2px 12px 8px;
17-
color: #777;
18-
}
19-
.legend span {
20-
position: relative;
21-
bottom: 3px;
22-
}
23-
.legend i {
24-
width: 18px;
25-
height: 18px;
26-
float: left;
27-
margin: 0 8px 0 0;
28-
}
294
.coordinates {
305
justify-content: center;
316
align-items: stretch;

application/views/awards/gridmaster/index.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
2-
3-
<style>
4-
/*Legend specific*/
5-
.legend {
6-
padding: 10px 10px 10px 10px;
7-
font: 14px Arial, Helvetica, sans-serif;
8-
background: white;
9-
line-height: 24px;
10-
color: #555;
11-
border-radius: 10px;
12-
}
13-
.legend h4 {
14-
text-align: center;
15-
font-size: 16px;
16-
margin: 2px 12px 8px;
17-
color: #777;
18-
}
19-
.legend span {
20-
position: relative;
21-
bottom: 3px;
22-
}
23-
.legend i {
24-
width: 18px;
25-
height: 18px;
26-
float: left;
27-
margin: 0 8px 0 0;
28-
}
29-
</style>
301
<div class="container">
312
<!-- Award Info Box -->
323
<br>

application/views/awards/helvetia/index.php

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,48 +7,6 @@
77
height: calc(100vh - 500px) !important;
88
max-height: 900px !important;
99
}
10-
/*Legend specific*/
11-
.legend {
12-
padding: 6px 8px;
13-
font: 14px Arial, Helvetica, sans-serif;
14-
background: white;
15-
background: rgba(255, 255, 255, 0.8);
16-
line-height: 24px;
17-
color: #555;
18-
}
19-
.legend h4 {
20-
text-align: center;
21-
font-size: 16px;
22-
margin: 2px 12px 8px;
23-
color: #555;
24-
}
25-
.legend span {
26-
position: relative;
27-
bottom: 3px;
28-
color: #555;
29-
}
30-
.legend i {
31-
width: 18px;
32-
height: 18px;
33-
float: left;
34-
margin: 0 8px 0 0;
35-
opacity: 0.7;
36-
color: #555;
37-
}
38-
39-
.info {
40-
padding: 6px 8px;
41-
font: 14px/16px Arial, Helvetica, sans-serif;
42-
background: white;
43-
background: rgba(255,255,255,0.8);
44-
box-shadow: 0 0 15px rgba(0,0,0,0.2);
45-
border-radius: 5px;
46-
color: #555;
47-
}
48-
.info h4 {
49-
margin: 0 0 5px;
50-
color: #555;
51-
}
5210
</style>
5311

5412
<div class="container">

application/views/awards/iota/index.php

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,6 @@
44
height: calc(100vh - 500px) !important;
55
max-height: 900px !important;
66
}
7-
/*Legend specific*/
8-
.legend {
9-
padding: 6px 8px;
10-
font: 14px Arial, Helvetica, sans-serif;
11-
background: white;
12-
background: rgba(255, 255, 255, 0.8);
13-
line-height: 24px;
14-
color: #555;
15-
}
16-
.legend h4 {
17-
text-align: center;
18-
font-size: 16px;
19-
margin: 2px 12px 8px;
20-
color: #777;
21-
}
22-
.legend span {
23-
position: relative;
24-
bottom: 3px;
25-
}
26-
.legend i {
27-
width: 18px;
28-
height: 18px;
29-
float: left;
30-
margin: 0 8px 0 0;
31-
opacity: 0.7;
32-
}
337
</style>
348

359

application/views/awards/rac/index.php

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,48 +7,6 @@
77
height: calc(100vh - 500px) !important;
88
max-height: 900px !important;
99
}
10-
/*Legend specific*/
11-
.legend {
12-
padding: 6px 8px;
13-
font: 14px Arial, Helvetica, sans-serif;
14-
background: white;
15-
background: rgba(255, 255, 255, 0.8);
16-
line-height: 24px;
17-
color: #555;
18-
}
19-
.legend h4 {
20-
text-align: center;
21-
font-size: 16px;
22-
margin: 2px 12px 8px;
23-
color: #555;
24-
}
25-
.legend span {
26-
position: relative;
27-
bottom: 3px;
28-
color: #555;
29-
}
30-
.legend i {
31-
width: 18px;
32-
height: 18px;
33-
float: left;
34-
margin: 0 8px 0 0;
35-
opacity: 0.7;
36-
color: #555;
37-
}
38-
39-
.info {
40-
padding: 6px 8px;
41-
font: 14px/16px Arial, Helvetica, sans-serif;
42-
background: white;
43-
background: rgba(255,255,255,0.8);
44-
box-shadow: 0 0 15px rgba(0,0,0,0.2);
45-
border-radius: 5px;
46-
color: #555;
47-
}
48-
.info h4 {
49-
margin: 0 0 5px;
50-
color: #555;
51-
}
5210
</style>
5311

5412
<div class="container">

application/views/awards/waja/index.php

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,48 +7,6 @@
77
height: calc(100vh - 500px) !important;
88
max-height: 900px !important;
99
}
10-
/*Legend specific*/
11-
.legend {
12-
padding: 6px 8px;
13-
font: 14px Arial, Helvetica, sans-serif;
14-
background: white;
15-
background: rgba(255, 255, 255, 0.8);
16-
line-height: 24px;
17-
color: #555;
18-
}
19-
.legend h4 {
20-
text-align: center;
21-
font-size: 16px;
22-
margin: 2px 12px 8px;
23-
color: #555;
24-
}
25-
.legend span {
26-
position: relative;
27-
bottom: 3px;
28-
color: #555;
29-
}
30-
.legend i {
31-
width: 18px;
32-
height: 18px;
33-
float: left;
34-
margin: 0 8px 0 0;
35-
opacity: 0.7;
36-
color: #555;
37-
}
38-
39-
.info {
40-
padding: 6px 8px;
41-
font: 14px/16px Arial, Helvetica, sans-serif;
42-
background: white;
43-
background: rgba(255,255,255,0.8);
44-
box-shadow: 0 0 15px rgba(0,0,0,0.2);
45-
border-radius: 5px;
46-
color: #555;
47-
}
48-
.info h4 {
49-
margin: 0 0 5px;
50-
color: #555;
51-
}
5210
</style>
5311
<div class="container">
5412
<!-- Award Info Box -->

0 commit comments

Comments
 (0)