Awesome Weather Widget - Version 1.4.2

Version Description

Slightly modified the CSS to include box-sizing. This may slightly modify the look of your widget, hopefully in a cleaner way.

Download this release

Release Info

Developer halgatewood
Plugin Icon 128x128 Awesome Weather Widget
Version 1.4.2
Comparing to
See all releases

Code changes from version 1.4.1 to 1.4.2

awesome-weather.css CHANGED
@@ -4,11 +4,17 @@
4
 
5
  .awesome-weather-wrap {
6
  background: #333; transition: background 0.5s ease-in;
7
- font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 14px;line-height: 14px;
8
  text-shadow: 0 1px 1px rgba(0,0,0,0.3); color: #fff;
9
  clear: both;
10
  }
11
 
 
 
 
 
 
 
12
  .awesome-weather-wrap.darken { text-shadow: 0 1px 1px rgba(0,0,0,0.9); }
13
 
14
  .awesome-weather-wrap.temp1 { background: #43adff; }
@@ -31,8 +37,8 @@
31
  .awesome-weather-wrap.darken .awesome-weather-header { background: rgba(0,0,0,0.2); }
32
 
33
  .awesome-weather-current-temp {
34
- padding: 10px 5%;
35
- width: 30%;
36
  float: left;
37
  font-size: 66px;
38
  line-height: 1em;
@@ -44,16 +50,17 @@
44
  .awesome-weather-todays-stats {
45
  float: right;
46
  text-align: right;
47
- padding: 14px 5%;
48
  line-height: 1.4em;
49
  width: 50%;
50
  }
 
51
 
52
  .awesome-weather-forecast {
53
  border-top: solid 1px rgba(255,255,255,0.5);
54
- width: 90%;
55
  margin-right: auto; margin-left: auto;
56
- padding: 20px 5% 15px 5%;
57
  clear: both;
58
  }
59
 
@@ -69,19 +76,16 @@
69
  .awe_days_3 .awesome-weather-forecast-day { width: 31%; }
70
  .awe_days_4 .awesome-weather-forecast-day { width: 23%; }
71
 
72
- .awesome-weather-forecast-day-temp { font-size: 1.8em; font-weight: 400; }
73
  .awesome-weather-forecast-day-temp sup { font-size: 0.6em; padding-left: 2px; }
74
- .awesome-weather-forecast-day-abbr { text-transform: uppercase; font-size: 0.8em; margin-top: 5px; padding-right: 4px; }
75
 
76
  .awe_tall .awesome-weather-current-temp,
77
  .awe_tall .awesome-weather-todays-stats,
78
- .awe_without_stats .awesome-weather-current-temp { text-align: center; width: 90%; float: none; }
79
- .awe_tall .awesome-weather-todays-stats { padding: 0 5%; }
80
-
81
- .awe_without_stats .awesome-weather-forecast { margin-top: 0; }
82
 
83
  #sidebar .awe_wide .awesome-weather-current-temp,
84
- #secondary .awe_wide .awesome-weather-current-temp { font-size: 50px; }
85
 
86
  #sidebar .awe_wide .awesome-weather-current-temp sup,
87
  #secondary .awe_wide .awesome-weather-current-temp sup { font-size: 18px; }
4
 
5
  .awesome-weather-wrap {
6
  background: #333; transition: background 0.5s ease-in;
7
+ font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 14px; line-height: 14px;
8
  text-shadow: 0 1px 1px rgba(0,0,0,0.3); color: #fff;
9
  clear: both;
10
  }
11
 
12
+ .awesome-weather-wrap div {
13
+ -webkit-box-sizing: border-box;
14
+ -moz-box-sizing: border-box;
15
+ box-sizing: border-box;
16
+ }
17
+
18
  .awesome-weather-wrap.darken { text-shadow: 0 1px 1px rgba(0,0,0,0.9); }
19
 
20
  .awesome-weather-wrap.temp1 { background: #43adff; }
37
  .awesome-weather-wrap.darken .awesome-weather-header { background: rgba(0,0,0,0.2); }
38
 
39
  .awesome-weather-current-temp {
40
+ padding: 15px;
41
+ width: 50%;
42
  float: left;
43
  font-size: 66px;
44
  line-height: 1em;
50
  .awesome-weather-todays-stats {
51
  float: right;
52
  text-align: right;
53
+ padding: 15px;
54
  line-height: 1.4em;
55
  width: 50%;
56
  }
57
+ .awe_tall .awesome-weather-todays-stats { padding: 0 10px 15px 10px; }
58
 
59
  .awesome-weather-forecast {
60
  border-top: solid 1px rgba(255,255,255,0.5);
61
+ width: 100%;
62
  margin-right: auto; margin-left: auto;
63
+ padding: 15px 10px;
64
  clear: both;
65
  }
66
 
76
  .awe_days_3 .awesome-weather-forecast-day { width: 31%; }
77
  .awe_days_4 .awesome-weather-forecast-day { width: 23%; }
78
 
79
+ .awesome-weather-forecast-day-temp { font-size: 1.3em; font-weight: 300; }
80
  .awesome-weather-forecast-day-temp sup { font-size: 0.6em; padding-left: 2px; }
81
+ .awesome-weather-forecast-day-abbr { text-transform: uppercase; font-size: 0.7em; font-weight: 300; margin-top: 5px; padding-right: 4px; }
82
 
83
  .awe_tall .awesome-weather-current-temp,
84
  .awe_tall .awesome-weather-todays-stats,
85
+ .awe_without_stats .awesome-weather-current-temp { text-align: center; width: 100%; float: none; }
 
 
 
86
 
87
  #sidebar .awe_wide .awesome-weather-current-temp,
88
+ #secondary .awe_wide .awesome-weather-current-temp { font-size: 40px; }
89
 
90
  #sidebar .awe_wide .awesome-weather-current-temp sup,
91
  #secondary .awe_wide .awesome-weather-current-temp sup { font-size: 18px; }
awesome-weather.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://halgatewood.com/awesome-weather
5
  Description: A weather widget that actually looks cool
6
  Author: Hal Gatewood
7
  Author URI: http://www.halgatewood.com
8
- Version: 1.4.1
9
 
10
 
11
  FILTERS AVAILABLE:
5
  Description: A weather widget that actually looks cool
6
  Author: Hal Gatewood
7
  Author URI: http://www.halgatewood.com
8
+ Version: 1.4.2
9
 
10
 
11
  FILTERS AVAILABLE:
languages/awesome-weather-hr.mo ADDED
Binary file
languages/awesome-weather-hr.po ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2014 Awesome Weather Widget
2
+ # This file is distributed under the same license as the Awesome Weather Widget package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Awesome Weather Widget 1.4\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/awesome-weather\n"
7
+ "POT-Creation-Date: 2014-02-05 22:17:31+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2014-06-03 03:32+0100\n"
12
+ "Last-Translator: Vinko Prelac <vinko.prelac@gmail.com>\n"
13
+ "Language-Team: Vinko Prelac <vinko.prelac@gmail.com>\n"
14
+ "X-Generator: Poedit 1.6.5\n"
15
+ "Language: hr_HR\n"
16
+
17
+ #: awesome-weather.php:66
18
+ msgid "C"
19
+ msgstr "C"
20
+
21
+ #: awesome-weather.php:66
22
+ msgid "F"
23
+ msgstr "F"
24
+
25
+ #: awesome-weather.php:236
26
+ msgid "N"
27
+ msgstr "S"
28
+
29
+ #: awesome-weather.php:237
30
+ msgid "NNE"
31
+ msgstr "SSI"
32
+
33
+ #: awesome-weather.php:238
34
+ msgid "NE"
35
+ msgstr "SO"
36
+
37
+ #: awesome-weather.php:239
38
+ msgid "ENE"
39
+ msgstr "ISI"
40
+
41
+ #: awesome-weather.php:240
42
+ msgid "E"
43
+ msgstr "I"
44
+
45
+ #: awesome-weather.php:241
46
+ msgid "ESE"
47
+ msgstr "IJI"
48
+
49
+ #: awesome-weather.php:242
50
+ msgid "SE"
51
+ msgstr "JI"
52
+
53
+ #: awesome-weather.php:243
54
+ msgid "SSE"
55
+ msgstr "JJI"
56
+
57
+ #: awesome-weather.php:244
58
+ msgid "S"
59
+ msgstr "J"
60
+
61
+ #: awesome-weather.php:245
62
+ msgid "SSW"
63
+ msgstr "JJZ"
64
+
65
+ #: awesome-weather.php:246
66
+ msgid "SW"
67
+ msgstr "JZ"
68
+
69
+ #: awesome-weather.php:247
70
+ msgid "WSW"
71
+ msgstr "ZJZ"
72
+
73
+ #: awesome-weather.php:248
74
+ msgid "W"
75
+ msgstr "Z"
76
+
77
+ #: awesome-weather.php:249
78
+ msgid "WNW"
79
+ msgstr "ZSZ"
80
+
81
+ #: awesome-weather.php:250
82
+ msgid "NW"
83
+ msgstr "SZ"
84
+
85
+ #: awesome-weather.php:251
86
+ msgid "NNW"
87
+ msgstr "SSZ"
88
+
89
+ #: awesome-weather.php:288
90
+ msgid "km/h"
91
+ msgstr "km/h"
92
+
93
+ #: awesome-weather.php:288
94
+ msgid "mph"
95
+ msgstr "mph"
96
+
97
+ #: awesome-weather.php:295
98
+ msgid "humidity:"
99
+ msgstr "vlaga:"
100
+
101
+ #: awesome-weather.php:296
102
+ msgid "wind:"
103
+ msgstr "vjetar:"
104
+
105
+ #: awesome-weather.php:297
106
+ msgid "H"
107
+ msgstr "Maks."
108
+
109
+ #: awesome-weather.php:297
110
+ msgid "L"
111
+ msgstr "Min."
112
+
113
+ #: awesome-weather.php:313
114
+ msgid "Sun"
115
+ msgstr "Ned"
116
+
117
+ #: awesome-weather.php:313
118
+ msgid "Mon"
119
+ msgstr "Pon"
120
+
121
+ #: awesome-weather.php:313
122
+ msgid "Tue"
123
+ msgstr "Uto"
124
+
125
+ #: awesome-weather.php:313
126
+ msgid "Wed"
127
+ msgstr "Sri"
128
+
129
+ #: awesome-weather.php:313
130
+ msgid "Thu"
131
+ msgstr "Čet"
132
+
133
+ #: awesome-weather.php:313
134
+ msgid "Fri"
135
+ msgstr "Pet"
136
+
137
+ #: awesome-weather.php:313
138
+ msgid "Sat"
139
+ msgstr "Sub"
140
+
141
+ #: awesome-weather.php:331
142
+ msgid "extended forecast"
143
+ msgstr "detaljna prognoza"
144
+
145
+ #: awesome-weather.php:352
146
+ msgid "No weather information available"
147
+ msgstr "Podaci nisu dostupni"
148
+
149
+ #: awesome-weather.php:415
150
+ msgid "Location:"
151
+ msgstr "Lokacija"
152
+
153
+ #: awesome-weather.php:416
154
+ msgid "(i.e: London,UK or New York City,NY)"
155
+ msgstr "(npr.London,UK ili New York City,NY)"
156
+
157
+ #: awesome-weather.php:422
158
+ msgid "Override Title:"
159
+ msgstr "Prilagođeni naslov"
160
+
161
+ #: awesome-weather.php:427
162
+ msgid "Units:"
163
+ msgstr "Jedinice:"
164
+
165
+ #: awesome-weather.php:433
166
+ msgid "Size:"
167
+ msgstr "Veličina:"
168
+
169
+ #: awesome-weather.php:442
170
+ msgid "Forecast:"
171
+ msgstr "Prognoza:"
172
+
173
+ #: awesome-weather.php:454
174
+ msgid "Background Image:"
175
+ msgstr "Pozadinska slika:"
176
+
177
+ #: awesome-weather.php:459
178
+ msgid "Custom Background Color:"
179
+ msgstr "Prilagođena boja pozadine"
180
+
181
+ #: awesome-weather.php:460
182
+ msgid "overrides color changing"
183
+ msgstr "onemogućuje izmjene boja"
184
+
185
+ #: awesome-weather.php:465
186
+ msgid "Hide Stats:"
187
+ msgstr "Sakrij statistike:"
188
+
189
+ #: awesome-weather.php:470
190
+ msgid "Link to OpenWeatherMap:"
191
+ msgstr "Poveznica na OpenWeatherMap:"
192
+
193
+ #: awesome-weather.php:475
194
+ msgid "Widget Title: (optional)"
195
+ msgstr "Naslov widgeta: (opcionalno)"
196
+
197
+ #. Plugin Name of the plugin/theme
198
+ msgid "Awesome Weather Widget"
199
+ msgstr "Awesome Weather Widget"
200
+
201
+ #. Plugin URI of the plugin/theme
202
+ msgid "http://halgatewood.com/awesome-weather"
203
+ msgstr "http://halgatewood.com/awesome-weather"
204
+
205
+ #. Description of the plugin/theme
206
+ msgid "A weather widget that actually looks cool"
207
+ msgstr "A weather widget that actually looks cool"
208
+
209
+ #. Author of the plugin/theme
210
+ msgid "Hal Gatewood"
211
+ msgstr "Hal Gatewood"
212
+
213
+ #. Author URI of the plugin/theme
214
+ msgid "http://www.halgatewood.com"
215
+ msgstr "http://www.halgatewood.com"
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: halgatewood
3
  Donate link: http://halgatewood.com/donate/
4
  Tags: widgets, sidebar, shortcode, openweathermap, weather, weather widget, forecast, global, temp
5
  Requires at least: 3.5
6
- Tested up to: 4.0
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -62,6 +62,9 @@ Use the built in widget with all of its marvelous settings or add it to a page o
62
 
63
  == Upgrade Notice ==
64
 
 
 
 
65
  = 1.4.1 =
66
  * New translations added.
67
  * Caching fixes
@@ -131,6 +134,9 @@ Changed API endpoints. Might not find weather without update.
131
 
132
  == Changelog ==
133
 
 
 
 
134
  = 1.4.1 =
135
  * New translations added.
136
  * Caching fixes
3
  Donate link: http://halgatewood.com/donate/
4
  Tags: widgets, sidebar, shortcode, openweathermap, weather, weather widget, forecast, global, temp
5
  Requires at least: 3.5
6
+ Tested up to: 4.1
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
62
 
63
  == Upgrade Notice ==
64
 
65
+ = 1.4.2 =
66
+ Slightly modified the CSS to include box-sizing. This may slightly modify the look of your widget, hopefully in a cleaner way.
67
+
68
  = 1.4.1 =
69
  * New translations added.
70
  * Caching fixes
134
 
135
  == Changelog ==
136
 
137
+ = 1.4.2 =
138
+ Added box-sizing: border-box to hopefully clean up the widget in many themes.
139
+
140
  = 1.4.1 =
141
  * New translations added.
142
  * Caching fixes