Version Description
- Improved UI of Shipping Provider Table
- Add option for change Delivered status label color
- Added Norweign,Spanish,Hindi,Italian and Russian Language Support.
Download this release
Release Info
Developer | zorem |
Plugin | Advanced Shipment Tracking for WooCommerce |
Version | 1.8.1 |
Comparing to | |
See all releases |
Version 1.8.1
- assets/css/admin.css +415 -0
- assets/css/admin.less +56 -0
- assets/css/checkbox-slider.css +55 -0
- assets/css/material.css +11358 -0
- assets/css/material.min.css +9 -0
- assets/js/admin.js +144 -0
- assets/js/admin.min.js +1 -0
- assets/js/material.min.js +10 -0
- assets/js/settings.js +24 -0
- assets/js/shipping_row.js +492 -0
- assets/shipment-provider-img/australia-post.png +0 -0
- assets/shipment-provider-img/bpost.png +0 -0
- assets/shipment-provider-img/bring-se.png +0 -0
- assets/shipment-provider-img/brt-bartolini.png +0 -0
- assets/shipment-provider-img/canada-post.png +0 -0
- assets/shipment-provider-img/ceska-posta.png +0 -0
- assets/shipment-provider-img/colissimo.png +0 -0
- assets/shipment-provider-img/correios.png +0 -0
- assets/shipment-provider-img/courier-post.png +0 -0
- assets/shipment-provider-img/db-schenker.png +0 -0
- assets/shipment-provider-img/deutsche-post-dhl.png +0 -0
- assets/shipment-provider-img/dhl-at.png +0 -0
- assets/shipment-provider-img/dhl-cz.png +0 -0
- assets/shipment-provider-img/dhl-express.png +0 -0
- assets/shipment-provider-img/dhl-intraship.png +0 -0
- assets/shipment-provider-img/dhl-se.png +0 -0
- assets/shipment-provider-img/dhl-us.png +0 -0
- assets/shipment-provider-img/dhl.png +0 -0
- assets/shipment-provider-img/dpd-at.png +0 -0
- assets/shipment-provider-img/dpd-co-uk.png +0 -0
- assets/shipment-provider-img/dpd-cz.png +0 -0
- assets/shipment-provider-img/dpd-de.png +0 -0
- assets/shipment-provider-img/dpd-nl.png +0 -0
- assets/shipment-provider-img/dpd-romania.png +0 -0
- assets/shipment-provider-img/dtdc.png +0 -0
- assets/shipment-provider-img/fan-courier.png +0 -0
- assets/shipment-provider-img/fastway-couriers.png +0 -0
- assets/shipment-provider-img/fastways.png +0 -0
- assets/shipment-provider-img/fedex-sameday.png +0 -0
- assets/shipment-provider-img/fedex.png +0 -0
- assets/shipment-provider-img/hermes.png +0 -0
- assets/shipment-provider-img/icon-default.png +0 -0
- assets/shipment-provider-img/interlink.png +0 -0
- assets/shipment-provider-img/itella.png +0 -0
- assets/shipment-provider-img/nz-post.png +0 -0
- assets/shipment-provider-img/ontrac.png +0 -0
- assets/shipment-provider-img/parcelforce.png +0 -0
- assets/shipment-provider-img/pbt-couriers.png +0 -0
- assets/shipment-provider-img/post-at.png +0 -0
- assets/shipment-provider-img/postnl.png +0 -0
- assets/shipment-provider-img/postnord-sverige-ab.png +0 -0
- assets/shipment-provider-img/ppl-cz.png +0 -0
- assets/shipment-provider-img/royal-mail.png +0 -0
- assets/shipment-provider-img/sapo.png +0 -0
- assets/shipment-provider-img/tnt-express-reference.png +0 -0
- assets/shipment-provider-img/tnt-express.png +0 -0
- assets/shipment-provider-img/uk-mail.png +0 -0
- assets/shipment-provider-img/ups-germany.png +0 -0
- assets/shipment-provider-img/ups-se.png +0 -0
- assets/shipment-provider-img/ups.png +0 -0
- assets/shipment-provider-img/urgent-cargus.png +0 -0
- assets/shipment-provider-img/usps.png +0 -0
- includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php +23 -0
- includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php +428 -0
- includes/class-wc-advanced-shipment-tracking-admin.php +1269 -0
- includes/class-wc-advanced-shipment-tracking-api-call.php +146 -0
- includes/class-wc-advanced-shipment-tracking-cron.php +43 -0
- includes/class-wc-advanced-shipment-tracking.php +653 -0
- lang/woo-advanced-shipment-tracking-de_DE.mo +0 -0
- lang/woo-advanced-shipment-tracking-de_DE.po +219 -0
- lang/woo-advanced-shipment-tracking-es_ES.mo +0 -0
- lang/woo-advanced-shipment-tracking-es_ES.po +216 -0
- lang/woo-advanced-shipment-tracking-fr_FR.mo +0 -0
- lang/woo-advanced-shipment-tracking-fr_FR.po +218 -0
- lang/woo-advanced-shipment-tracking-he_IL.mo +0 -0
- lang/woo-advanced-shipment-tracking-he_IL.po +213 -0
- lang/woo-advanced-shipment-tracking-hi_IN.mo +0 -0
- lang/woo-advanced-shipment-tracking-hi_IN.po +216 -0
- lang/woo-advanced-shipment-tracking-it_IT.mo +0 -0
- lang/woo-advanced-shipment-tracking-it_IT.po +216 -0
- lang/woo-advanced-shipment-tracking-nb_NO.mo +0 -0
- lang/woo-advanced-shipment-tracking-nb_NO.po +216 -0
- lang/woo-advanced-shipment-tracking-ru_RU.mo +0 -0
- lang/woo-advanced-shipment-tracking-ru_RU.po +218 -0
- lang/woo-advanced-shipment-tracking.pot +213 -0
- readme.txt +79 -0
- templates/email/plain/tracking-info.php +32 -0
- templates/email/tracking-info.php +52 -0
- templates/myaccount/view-order.php +54 -0
- templates/pip/tracking-info.php +31 -0
- woocommerce-advanced-shipment-tracking.php +1389 -0
assets/css/admin.css
ADDED
@@ -0,0 +1,415 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* fallback */
|
2 |
+
@font-face {
|
3 |
+
font-family: 'Material Icons';
|
4 |
+
font-style: normal;
|
5 |
+
font-weight: 400;
|
6 |
+
src: url(https://fonts.gstatic.com/s/materialicons/v43/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
|
7 |
+
}
|
8 |
+
|
9 |
+
.material-icons {
|
10 |
+
font-family: 'Material Icons';
|
11 |
+
font-weight: normal;
|
12 |
+
font-style: normal;
|
13 |
+
font-size: 24px;
|
14 |
+
line-height: 1;
|
15 |
+
letter-spacing: normal;
|
16 |
+
text-transform: none;
|
17 |
+
display: inline-block;
|
18 |
+
white-space: nowrap;
|
19 |
+
word-wrap: normal;
|
20 |
+
direction: ltr;
|
21 |
+
-webkit-font-feature-settings: 'liga';
|
22 |
+
-webkit-font-smoothing: antialiased;
|
23 |
+
}
|
24 |
+
#woocommerce-advanced-shipment-tracking .inside {
|
25 |
+
padding: 12px;
|
26 |
+
margin: 0
|
27 |
+
}
|
28 |
+
#woocommerce-advanced-shipment-tracking .button-show-form {
|
29 |
+
margin: 0
|
30 |
+
}
|
31 |
+
#woocommerce-advanced-shipment-tracking #shipment-tracking-form {
|
32 |
+
display: none
|
33 |
+
}
|
34 |
+
#woocommerce-advanced-shipment-tracking #shipment-tracking-form p.form-field {
|
35 |
+
margin-top: 0
|
36 |
+
}
|
37 |
+
#woocommerce-advanced-shipment-tracking input {
|
38 |
+
width: 100%
|
39 |
+
}
|
40 |
+
#woocommerce-advanced-shipment-tracking .preview_tracking_link {
|
41 |
+
display: none;
|
42 |
+
margin-bottom: 0
|
43 |
+
}
|
44 |
+
#woocommerce-advanced-shipment-tracking .preview_tracking_link a {
|
45 |
+
padding: 0 16px 0 0;
|
46 |
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVQYV2NkIBIwoqtTLJn9H13sfk8qI4ZCkCJ0xTgVoisGK0TWDRKAKQKxYXJwhTAFyIpg7gQpRlGIrBtbQICNR7cGJoasAa4QWRCnQmxWIbsbJA8AqXxEC1jaCvYAAAAASUVORK5CYII=) no-repeat right
|
47 |
+
}
|
48 |
+
#woocommerce-advanced-shipment-tracking .meta {
|
49 |
+
font-size: 11px;
|
50 |
+
color: #999;
|
51 |
+
padding: 10px;
|
52 |
+
margin: 0
|
53 |
+
}
|
54 |
+
#woocommerce-advanced-shipment-tracking .meta a.delete-tracking {
|
55 |
+
color: #a00
|
56 |
+
}
|
57 |
+
#woocommerce-advanced-shipment-tracking #tracking-items {
|
58 |
+
margin: 0
|
59 |
+
}
|
60 |
+
#woocommerce-advanced-shipment-tracking .tracking-content {
|
61 |
+
background: #efefef none repeat scroll 0 0;
|
62 |
+
padding: 10px;
|
63 |
+
position: relative;
|
64 |
+
margin: 0
|
65 |
+
}
|
66 |
+
#woocommerce-advanced-shipment-tracking .tracking-content:after {
|
67 |
+
content: "";
|
68 |
+
display: block;
|
69 |
+
position: absolute;
|
70 |
+
bottom: -10px;
|
71 |
+
left: 20px;
|
72 |
+
width: 0;
|
73 |
+
height: 0;
|
74 |
+
border-width: 10px 10px 0 0;
|
75 |
+
border-style: solid;
|
76 |
+
border-color: #efefef transparent
|
77 |
+
}
|
78 |
+
section.tab_section {
|
79 |
+
display: none;
|
80 |
+
padding: 20px;
|
81 |
+
border-top: 1px solid #ddd;
|
82 |
+
background: #f9f9f9;
|
83 |
+
}
|
84 |
+
input.tab_input {
|
85 |
+
display: none;
|
86 |
+
}
|
87 |
+
label.tab_label {
|
88 |
+
display: inline-block;
|
89 |
+
font-weight: 600;
|
90 |
+
border: 1px solid #ccc;
|
91 |
+
border-bottom: none;
|
92 |
+
margin-left: .5em;
|
93 |
+
padding: 5px 10px;
|
94 |
+
font-size: 14px;
|
95 |
+
line-height: 24px;
|
96 |
+
background: #e5e5e5;
|
97 |
+
color: #555;
|
98 |
+
}
|
99 |
+
label.tab_label:before {
|
100 |
+
font-family: fontawesome;
|
101 |
+
font-weight: normal;
|
102 |
+
margin-right: 10px;
|
103 |
+
}
|
104 |
+
label.tab_label:hover {
|
105 |
+
color: #888;
|
106 |
+
cursor: pointer;
|
107 |
+
}
|
108 |
+
input.tab_input:checked + label {
|
109 |
+
background: #f9f9f9;
|
110 |
+
color: #000;
|
111 |
+
border-bottom: 1px solid #f9f9f9;
|
112 |
+
margin-bottom: -1px;
|
113 |
+
}
|
114 |
+
.tab_inner_container {
|
115 |
+
padding: 10px;
|
116 |
+
}
|
117 |
+
.tab_inner_container h4{
|
118 |
+
margin-top: 0;
|
119 |
+
}
|
120 |
+
#tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4 {
|
121 |
+
display: block;
|
122 |
+
}
|
123 |
+
.shipping_add_field {
|
124 |
+
width: 300px;
|
125 |
+
}
|
126 |
+
#adminmenuwrap {
|
127 |
+
position: relative !important;
|
128 |
+
}
|
129 |
+
.zorem_admin_layout {
|
130 |
+
display: table;
|
131 |
+
width: 100%;
|
132 |
+
table-layout: fixed;
|
133 |
+
margin: 0;
|
134 |
+
}
|
135 |
+
.zorem_admin_content {
|
136 |
+
width: 100%;
|
137 |
+
display: table-cell;
|
138 |
+
vertical-align: top;
|
139 |
+
padding-right: 20px;
|
140 |
+
}
|
141 |
+
.zorem_admin_sidebar {
|
142 |
+
width: 280px;
|
143 |
+
padding-right: 20px;
|
144 |
+
display: table-cell;
|
145 |
+
vertical-align: top;
|
146 |
+
}
|
147 |
+
.zorem-sidebar-title {
|
148 |
+
padding: 10px 0;
|
149 |
+
border-bottom: 1px solid #1ead94;
|
150 |
+
color: #1ead94;
|
151 |
+
line-height: 15px;
|
152 |
+
}
|
153 |
+
.zorem-sidebar__section {
|
154 |
+
padding: 20px 0;
|
155 |
+
border-bottom: 1px solid #1ead94;
|
156 |
+
}
|
157 |
+
.zorem-sidebar__section li:before {
|
158 |
+
position: absolute;
|
159 |
+
left: 0;
|
160 |
+
font-weight: 700;
|
161 |
+
content: "+";
|
162 |
+
}
|
163 |
+
.zorem-sidebar__section ul {
|
164 |
+
position: relative;
|
165 |
+
}
|
166 |
+
.zorem-sidebar__section li {
|
167 |
+
margin-left: 20px;
|
168 |
+
list-style: none;
|
169 |
+
}
|
170 |
+
.zorem-sidebar__section div a {
|
171 |
+
color: #0085ba;
|
172 |
+
}
|
173 |
+
.shipping_provider_tab {
|
174 |
+
width: 100%;
|
175 |
+
display: block;
|
176 |
+
}
|
177 |
+
.shipping_provider_tab .current a {
|
178 |
+
color: #000;
|
179 |
+
font-weight: 600;
|
180 |
+
}
|
181 |
+
.shipping_provider_tab li:after {
|
182 |
+
content: '|';
|
183 |
+
margin-left: 5px;
|
184 |
+
}
|
185 |
+
.shipping_provider_tab li:last-child:after {
|
186 |
+
display: none;
|
187 |
+
}
|
188 |
+
.shipping_provider_tab a:focus {
|
189 |
+
box-shadow: none;
|
190 |
+
}
|
191 |
+
.wcast_shipping_country {
|
192 |
+
max-width: 100%;width:100%;
|
193 |
+
}
|
194 |
+
.shipping_provider_table input[type=text] {
|
195 |
+
width: 100%;
|
196 |
+
}
|
197 |
+
.shipping_provider_table .check-column {
|
198 |
+
padding: 8px 10px;
|
199 |
+
}
|
200 |
+
.shipping_provider_table .check-column input {
|
201 |
+
margin: -4px 4px 0 8px;
|
202 |
+
}
|
203 |
+
.shipping_provider_table a.remove {
|
204 |
+
padding: 2px 4px;
|
205 |
+
}
|
206 |
+
.zorem_admin_content .shipping_provider_table thead th {
|
207 |
+
vertical-align: middle;
|
208 |
+
}
|
209 |
+
.column-shipping-provider {
|
210 |
+
width: 155px;
|
211 |
+
}
|
212 |
+
.column-shipping-country {
|
213 |
+
width: 150px;
|
214 |
+
}
|
215 |
+
.marginb20 {
|
216 |
+
margin-bottom: 15px;
|
217 |
+
}
|
218 |
+
#wc_ast_tags {
|
219 |
+
border: 1px solid #ccc;
|
220 |
+
padding: 5px;
|
221 |
+
font-family: Arial;
|
222 |
+
background: #fff;
|
223 |
+
width: 400px;
|
224 |
+
}
|
225 |
+
#wc_ast_tags > span {
|
226 |
+
cursor: pointer;
|
227 |
+
display: block;
|
228 |
+
float: left;
|
229 |
+
padding: 5px;
|
230 |
+
padding-right: 25px;
|
231 |
+
margin: 4px;
|
232 |
+
border-radius: 6px;
|
233 |
+
color: #000;
|
234 |
+
background: #eee;
|
235 |
+
}
|
236 |
+
#wc_ast_tags > span:hover {
|
237 |
+
opacity: 0.7;
|
238 |
+
}
|
239 |
+
#wc_ast_tags > span:after {
|
240 |
+
position: absolute;
|
241 |
+
content: "×";
|
242 |
+
padding: 2px 5px;
|
243 |
+
margin-left: 3px;
|
244 |
+
font-size: 11px;
|
245 |
+
}
|
246 |
+
#wc_ast_tags > input {
|
247 |
+
background: #eee;
|
248 |
+
border: 0;
|
249 |
+
margin: 4px;
|
250 |
+
padding: 7px;
|
251 |
+
width: auto;
|
252 |
+
}
|
253 |
+
.spinner.active {
|
254 |
+
visibility: visible;
|
255 |
+
}
|
256 |
+
.success_msg {
|
257 |
+
border-left: 3px solid;
|
258 |
+
border-color: green;
|
259 |
+
background: #fff;
|
260 |
+
margin-top: 20px;
|
261 |
+
padding: 10px 15px;
|
262 |
+
}
|
263 |
+
.order-status.status-delivered {
|
264 |
+
color: #fff;
|
265 |
+
background: #212c42;
|
266 |
+
}
|
267 |
+
#woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form {
|
268 |
+
display: none;
|
269 |
+
}
|
270 |
+
.column-action {
|
271 |
+
width: 50px;
|
272 |
+
}
|
273 |
+
.column-tracking-url {
|
274 |
+
width: 30%;
|
275 |
+
}
|
276 |
+
th.titledesc {
|
277 |
+
width: 50%;
|
278 |
+
}
|
279 |
+
#wc_ast_status_label_color{
|
280 |
+
width: 80px;
|
281 |
+
}
|
282 |
+
table.fixed.shipping_provider_table{
|
283 |
+
border-spacing: 0 0.5em;
|
284 |
+
border: 0;
|
285 |
+
background: #f9f9f9;
|
286 |
+
}
|
287 |
+
.shipping_provider_table.widefat thead th{
|
288 |
+
border-bottom: 1px solid #eee
|
289 |
+
}
|
290 |
+
tr.provider_tr {
|
291 |
+
background: #fff;
|
292 |
+
}
|
293 |
+
.provider_tr td{
|
294 |
+
border: 1px solid #eee;
|
295 |
+
border-left:0;
|
296 |
+
border-right:0;
|
297 |
+
}
|
298 |
+
.provider_tr td:first-child{
|
299 |
+
border-left:1px solid #eee;
|
300 |
+
}
|
301 |
+
.provider_tr td:last-child{
|
302 |
+
border-right:1px solid #eee;
|
303 |
+
text-align: right;
|
304 |
+
}
|
305 |
+
th.manage-column.column-status {
|
306 |
+
width: 65px;
|
307 |
+
}
|
308 |
+
|
309 |
+
.provider_tr td span.dashicons{
|
310 |
+
color: #cccccc;
|
311 |
+
vertical-align: middle;
|
312 |
+
cursor:pointer;
|
313 |
+
}
|
314 |
+
.provider_tr td span.sort-item{
|
315 |
+
cursor:move;
|
316 |
+
}
|
317 |
+
tr.provider_tr.status_deactivate {
|
318 |
+
background: #f9f9f9;
|
319 |
+
}
|
320 |
+
tr.provider_tr td .provider_thumbnail{
|
321 |
+
vertical-align: middle;
|
322 |
+
margin-right: 5px;
|
323 |
+
width: 50px;
|
324 |
+
display: inline-block;
|
325 |
+
border-right: 1px solid #e6e6e6;
|
326 |
+
}
|
327 |
+
tr.provider_tr td .provider_name{
|
328 |
+
width: 60%;
|
329 |
+
display: inline-block;
|
330 |
+
vertical-align: middle;
|
331 |
+
}
|
332 |
+
tr.provider_tr td{
|
333 |
+
vertical-align: middle;
|
334 |
+
}
|
335 |
+
tr.provider_tr.tr_add td{
|
336 |
+
vertical-align:top;
|
337 |
+
}
|
338 |
+
th.manage-column.column-action {
|
339 |
+
width: 70px;
|
340 |
+
}
|
341 |
+
.on_edit_show{
|
342 |
+
display:none;
|
343 |
+
}
|
344 |
+
.custom_provider_country{
|
345 |
+
max-width: 100%;
|
346 |
+
width: 100%;
|
347 |
+
}
|
348 |
+
button.button-primary.save-default-provider {
|
349 |
+
vertical-align: middle;
|
350 |
+
}
|
351 |
+
td.column-columnname.url-column {
|
352 |
+
text-align: center;
|
353 |
+
}
|
354 |
+
.shipping_provider_table td.thumb-column {
|
355 |
+
padding: 0px 0px;
|
356 |
+
}
|
357 |
+
#demo-toast-example.mdl-snackbar{
|
358 |
+
background:#4BB543;
|
359 |
+
min-width: 100%;
|
360 |
+
max-width: 100%;
|
361 |
+
z-index: 100000;
|
362 |
+
}
|
363 |
+
#demo-toast-example .mdl-snackbar__text{
|
364 |
+
float: unset;
|
365 |
+
width: 100%;
|
366 |
+
text-align: center;
|
367 |
+
}
|
368 |
+
#demo-toast-example .mdl-snackbar__action{
|
369 |
+
display:none;
|
370 |
+
}
|
371 |
+
.shipping_provider_table .mdl-switch{
|
372 |
+
width: auto;
|
373 |
+
}
|
374 |
+
.provider_tr .status-column{
|
375 |
+
text-align:center;
|
376 |
+
}
|
377 |
+
.shipping_provider_table th a{
|
378 |
+
padding: 8px 8px 16px;
|
379 |
+
}
|
380 |
+
.wp-core-ui .btn_green {
|
381 |
+
background: #83bd31;
|
382 |
+
text-shadow: none;
|
383 |
+
border-color: #83bd31;
|
384 |
+
box-shadow: none;
|
385 |
+
}
|
386 |
+
.wp-core-ui .btn_green:hover,.wp-core-ui .btn_green:focus{
|
387 |
+
background: #83bd31;
|
388 |
+
border-color: rgba(0,0,0,0.05);
|
389 |
+
color: #fff;
|
390 |
+
text-shadow: none;
|
391 |
+
box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
|
392 |
+
}
|
393 |
+
@media screen and (max-width: 1150px) {
|
394 |
+
.zorem_admin_layout {
|
395 |
+
display: block;
|
396 |
+
}
|
397 |
+
.zorem_admin_sidebar {
|
398 |
+
width: auto;
|
399 |
+
display: block;
|
400 |
+
}
|
401 |
+
}
|
402 |
+
|
403 |
+
@media screen and (max-width: 650px) {
|
404 |
+
|
405 |
+
label.tab_label:before {
|
406 |
+
margin: 0;
|
407 |
+
font-size: 18px;
|
408 |
+
}
|
409 |
+
}
|
410 |
+
|
411 |
+
@media screen and (max-width: 400px) {
|
412 |
+
label.tab_label {
|
413 |
+
padding: 15px;
|
414 |
+
}
|
415 |
+
}
|
assets/css/admin.less
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#woocommerce-shipment-tracking {
|
2 |
+
.inside {
|
3 |
+
padding: 12px;
|
4 |
+
margin: 0;
|
5 |
+
}
|
6 |
+
.button-show-form {
|
7 |
+
margin: 0;
|
8 |
+
}
|
9 |
+
#shipment-tracking-form {
|
10 |
+
display:none;
|
11 |
+
p.form-field {
|
12 |
+
margin-top: 0;
|
13 |
+
}
|
14 |
+
}
|
15 |
+
input {
|
16 |
+
width:100%;
|
17 |
+
}
|
18 |
+
.preview_tracking_link{
|
19 |
+
display:none;
|
20 |
+
margin-bottom: 0;
|
21 |
+
a {
|
22 |
+
padding:0 16px 0 0;
|
23 |
+
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVQYV2NkIBIwoqtTLJn9H13sfk8qI4ZCkCJ0xTgVoisGK0TWDRKAKQKxYXJwhTAFyIpg7gQpRlGIrBtbQICNR7cGJoasAa4QWRCnQmxWIbsbJA8AqXxEC1jaCvYAAAAASUVORK5CYII=) no-repeat right;
|
24 |
+
}
|
25 |
+
}
|
26 |
+
.meta{
|
27 |
+
font-size:11px;
|
28 |
+
color:#999;
|
29 |
+
padding: 10px;
|
30 |
+
margin: 0;
|
31 |
+
a.delete-tracking {
|
32 |
+
color:#a00;
|
33 |
+
}
|
34 |
+
}
|
35 |
+
#tracking-items {
|
36 |
+
margin: 0;
|
37 |
+
}
|
38 |
+
.tracking-content {
|
39 |
+
background:#efefef none repeat scroll 0 0;
|
40 |
+
padding: 10px;
|
41 |
+
position:relative;
|
42 |
+
margin: 0;
|
43 |
+
&:after{
|
44 |
+
content: "";
|
45 |
+
display: block;
|
46 |
+
position: absolute;
|
47 |
+
bottom: -10px;
|
48 |
+
left: 20px;
|
49 |
+
width: 0;
|
50 |
+
height: 0;
|
51 |
+
border-width: 10px 10px 0 0;
|
52 |
+
border-style: solid;
|
53 |
+
border-color: #efefef transparent;
|
54 |
+
}
|
55 |
+
}
|
56 |
+
}
|
assets/css/checkbox-slider.css
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* checkbox slider
|
3 |
+
* version 1.0
|
4 |
+
*/
|
5 |
+
.switch {
|
6 |
+
position: relative;
|
7 |
+
display: inline-block;
|
8 |
+
width: 50px;
|
9 |
+
height: 25px;
|
10 |
+
}
|
11 |
+
.switch input {
|
12 |
+
opacity: 0;
|
13 |
+
width: 0;
|
14 |
+
height: 0;
|
15 |
+
display: none;
|
16 |
+
}
|
17 |
+
.slider {
|
18 |
+
position: absolute;
|
19 |
+
cursor: pointer;
|
20 |
+
top: 0;
|
21 |
+
left: 0;
|
22 |
+
right: 0;
|
23 |
+
bottom: 0;
|
24 |
+
background-color: #ccc;
|
25 |
+
-webkit-transition: .4s;
|
26 |
+
transition: .4s;
|
27 |
+
}
|
28 |
+
.slider:before {
|
29 |
+
position: absolute;
|
30 |
+
content: "";
|
31 |
+
height: 17px;
|
32 |
+
width: 17px;
|
33 |
+
left: 4px;
|
34 |
+
bottom: 4px;
|
35 |
+
background-color: white;
|
36 |
+
-webkit-transition: .4s;
|
37 |
+
transition: .4s;
|
38 |
+
}
|
39 |
+
input:checked + .slider {
|
40 |
+
background-color: #65baaf;
|
41 |
+
}
|
42 |
+
input:focus + .slider {
|
43 |
+
box-shadow: 0 0 1px #2196F3;
|
44 |
+
}
|
45 |
+
input:checked + .slider:before {
|
46 |
+
-webkit-transform: translateX(26px);
|
47 |
+
-ms-transform: translateX(26px);
|
48 |
+
transform: translateX(26px);
|
49 |
+
}
|
50 |
+
.slider.round {
|
51 |
+
border-radius: 34px;
|
52 |
+
}
|
53 |
+
.slider.round:before {
|
54 |
+
border-radius: 50%;
|
55 |
+
}
|
assets/css/material.css
ADDED
@@ -0,0 +1,11358 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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https://github.com/google/material-design-lite
|
7 |
+
*/
|
8 |
+
@charset "UTF-8";
|
9 |
+
/**
|
10 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
11 |
+
*
|
12 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
13 |
+
* you may not use this file except in compliance with the License.
|
14 |
+
* You may obtain a copy of the License at
|
15 |
+
*
|
16 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
17 |
+
*
|
18 |
+
* Unless required by applicable law or agreed to in writing, software
|
19 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
20 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
21 |
+
* See the License for the specific language governing permissions and
|
22 |
+
* limitations under the License.
|
23 |
+
*/
|
24 |
+
/* Material Design Lite */
|
25 |
+
/**
|
26 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
27 |
+
*
|
28 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
29 |
+
* you may not use this file except in compliance with the License.
|
30 |
+
* You may obtain a copy of the License at
|
31 |
+
*
|
32 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
33 |
+
*
|
34 |
+
* Unless required by applicable law or agreed to in writing, software
|
35 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
36 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
37 |
+
* See the License for the specific language governing permissions and
|
38 |
+
* limitations under the License.
|
39 |
+
*/
|
40 |
+
/*------------------------------------* $CONTENTS
|
41 |
+
\*------------------------------------*/
|
42 |
+
/**
|
43 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
44 |
+
* -----Typography
|
45 |
+
* -----Colors
|
46 |
+
* -----Textfield
|
47 |
+
* -----Switch
|
48 |
+
* -----Spinner
|
49 |
+
* -----Radio
|
50 |
+
* -----Menu
|
51 |
+
* -----List
|
52 |
+
* -----Layout
|
53 |
+
* -----Icon toggles
|
54 |
+
* -----Footer
|
55 |
+
* -----Column
|
56 |
+
* -----Checkbox
|
57 |
+
* -----Card
|
58 |
+
* -----Button
|
59 |
+
* -----Animation
|
60 |
+
* -----Progress
|
61 |
+
* -----Badge
|
62 |
+
* -----Shadows
|
63 |
+
* -----Grid
|
64 |
+
* -----Data table
|
65 |
+
* -----Dialog
|
66 |
+
* -----Snackbar
|
67 |
+
* -----Tooltip
|
68 |
+
* -----Chip
|
69 |
+
*
|
70 |
+
* Even though all variables have the `!default` directive, most of them
|
71 |
+
* should not be changed as they are dependent one another. This can cause
|
72 |
+
* visual distortions (like alignment issues) that are hard to track down
|
73 |
+
* and fix.
|
74 |
+
*/
|
75 |
+
/* ========== TYPOGRAPHY ========== */
|
76 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
77 |
+
page loading. For important text, such as the body, we want it to load
|
78 |
+
immediately and not wait for the web font load, whereas for other sections,
|
79 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
80 |
+
We do have some optional classes and parameters in the mixins, in case you
|
81 |
+
definitely want to make sure you're using the preferred font and don't mind
|
82 |
+
the performance hit.
|
83 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
84 |
+
widely available.
|
85 |
+
*/
|
86 |
+
/* ========== COLORS ========== */
|
87 |
+
/**
|
88 |
+
*
|
89 |
+
* Material design color palettes.
|
90 |
+
* @see http://www.google.com/design/spec/style/color.html
|
91 |
+
*
|
92 |
+
**/
|
93 |
+
/**
|
94 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
95 |
+
*
|
96 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
97 |
+
* you may not use this file except in compliance with the License.
|
98 |
+
* You may obtain a copy of the License at
|
99 |
+
*
|
100 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
101 |
+
*
|
102 |
+
* Unless required by applicable law or agreed to in writing, software
|
103 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
104 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
105 |
+
* See the License for the specific language governing permissions and
|
106 |
+
* limitations under the License.
|
107 |
+
*/
|
108 |
+
/* ========== Color Palettes ========== */
|
109 |
+
/* colors.scss */
|
110 |
+
/**
|
111 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
112 |
+
*
|
113 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
114 |
+
* you may not use this file except in compliance with the License.
|
115 |
+
* You may obtain a copy of the License at
|
116 |
+
*
|
117 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
118 |
+
*
|
119 |
+
* Unless required by applicable law or agreed to in writing, software
|
120 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
121 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
122 |
+
* See the License for the specific language governing permissions and
|
123 |
+
* limitations under the License.
|
124 |
+
*/
|
125 |
+
/* ========== IMAGES ========== */
|
126 |
+
/* ========== Color & Themes ========== */
|
127 |
+
/* ========== Typography ========== */
|
128 |
+
/* ========== Components ========== */
|
129 |
+
/* ========== Standard Buttons ========== */
|
130 |
+
/* ========== Icon Toggles ========== */
|
131 |
+
/* ========== Radio Buttons ========== */
|
132 |
+
/* ========== Ripple effect ========== */
|
133 |
+
/* ========== Layout ========== */
|
134 |
+
/* ========== Content Tabs ========== */
|
135 |
+
/* ========== Checkboxes ========== */
|
136 |
+
/* ========== Switches ========== */
|
137 |
+
/* ========== Spinner ========== */
|
138 |
+
/* ========== Text fields ========== */
|
139 |
+
/* ========== Card ========== */
|
140 |
+
/* ========== Sliders ========== */
|
141 |
+
/* ========== Progress ========== */
|
142 |
+
/* ========== List ========== */
|
143 |
+
/* ========== Item ========== */
|
144 |
+
/* ========== Dropdown menu ========== */
|
145 |
+
/* ========== Tooltips ========== */
|
146 |
+
/* ========== Footer ========== */
|
147 |
+
/* TEXTFIELD */
|
148 |
+
/* SWITCH */
|
149 |
+
/* SPINNER */
|
150 |
+
/* RADIO */
|
151 |
+
/* MENU */
|
152 |
+
/* LIST */
|
153 |
+
/* LAYOUT */
|
154 |
+
/* ICON TOGGLE */
|
155 |
+
/* FOOTER */
|
156 |
+
/*mega-footer*/
|
157 |
+
/*mini-footer*/
|
158 |
+
/* CHECKBOX */
|
159 |
+
/* CARD */
|
160 |
+
/* Card dimensions */
|
161 |
+
/* Cover image */
|
162 |
+
/* BUTTON */
|
163 |
+
/**
|
164 |
+
*
|
165 |
+
* Dimensions
|
166 |
+
*
|
167 |
+
*/
|
168 |
+
/* ANIMATION */
|
169 |
+
/* PROGRESS */
|
170 |
+
/* BADGE */
|
171 |
+
/* SHADOWS */
|
172 |
+
/* GRID */
|
173 |
+
/* DATA TABLE */
|
174 |
+
/* DIALOG */
|
175 |
+
/* SNACKBAR */
|
176 |
+
/* TOOLTIP */
|
177 |
+
/* CHIP */
|
178 |
+
/**
|
179 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
180 |
+
*
|
181 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
182 |
+
* you may not use this file except in compliance with the License.
|
183 |
+
* You may obtain a copy of the License at
|
184 |
+
*
|
185 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
186 |
+
*
|
187 |
+
* Unless required by applicable law or agreed to in writing, software
|
188 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
189 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
190 |
+
* See the License for the specific language governing permissions and
|
191 |
+
* limitations under the License.
|
192 |
+
*/
|
193 |
+
/* Typography */
|
194 |
+
/* Shadows */
|
195 |
+
/* Animations */
|
196 |
+
/* Dialog */
|
197 |
+
/**
|
198 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
199 |
+
*
|
200 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
201 |
+
* you may not use this file except in compliance with the License.
|
202 |
+
* You may obtain a copy of the License at
|
203 |
+
*
|
204 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
205 |
+
*
|
206 |
+
* Unless required by applicable law or agreed to in writing, software
|
207 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
208 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
209 |
+
* See the License for the specific language governing permissions and
|
210 |
+
* limitations under the License.
|
211 |
+
*/
|
212 |
+
/**
|
213 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
214 |
+
*
|
215 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
216 |
+
* you may not use this file except in compliance with the License.
|
217 |
+
* You may obtain a copy of the License at
|
218 |
+
*
|
219 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
220 |
+
*
|
221 |
+
* Unless required by applicable law or agreed to in writing, software
|
222 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
223 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
224 |
+
* See the License for the specific language governing permissions and
|
225 |
+
* limitations under the License.
|
226 |
+
*/
|
227 |
+
/**
|
228 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
229 |
+
*
|
230 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
231 |
+
* you may not use this file except in compliance with the License.
|
232 |
+
* You may obtain a copy of the License at
|
233 |
+
*
|
234 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
235 |
+
*
|
236 |
+
* Unless required by applicable law or agreed to in writing, software
|
237 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
238 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
239 |
+
* See the License for the specific language governing permissions and
|
240 |
+
* limitations under the License.
|
241 |
+
*/
|
242 |
+
/*------------------------------------* $CONTENTS
|
243 |
+
\*------------------------------------*/
|
244 |
+
/**
|
245 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
246 |
+
* -----Typography
|
247 |
+
* -----Colors
|
248 |
+
* -----Textfield
|
249 |
+
* -----Switch
|
250 |
+
* -----Spinner
|
251 |
+
* -----Radio
|
252 |
+
* -----Menu
|
253 |
+
* -----List
|
254 |
+
* -----Layout
|
255 |
+
* -----Icon toggles
|
256 |
+
* -----Footer
|
257 |
+
* -----Column
|
258 |
+
* -----Checkbox
|
259 |
+
* -----Card
|
260 |
+
* -----Button
|
261 |
+
* -----Animation
|
262 |
+
* -----Progress
|
263 |
+
* -----Badge
|
264 |
+
* -----Shadows
|
265 |
+
* -----Grid
|
266 |
+
* -----Data table
|
267 |
+
* -----Dialog
|
268 |
+
* -----Snackbar
|
269 |
+
* -----Tooltip
|
270 |
+
* -----Chip
|
271 |
+
*
|
272 |
+
* Even though all variables have the `!default` directive, most of them
|
273 |
+
* should not be changed as they are dependent one another. This can cause
|
274 |
+
* visual distortions (like alignment issues) that are hard to track down
|
275 |
+
* and fix.
|
276 |
+
*/
|
277 |
+
/* ========== TYPOGRAPHY ========== */
|
278 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
279 |
+
page loading. For important text, such as the body, we want it to load
|
280 |
+
immediately and not wait for the web font load, whereas for other sections,
|
281 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
282 |
+
We do have some optional classes and parameters in the mixins, in case you
|
283 |
+
definitely want to make sure you're using the preferred font and don't mind
|
284 |
+
the performance hit.
|
285 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
286 |
+
widely available.
|
287 |
+
*/
|
288 |
+
/* ========== COLORS ========== */
|
289 |
+
/**
|
290 |
+
*
|
291 |
+
* Material design color palettes.
|
292 |
+
* @see http://www.google.com/design/spec/style/color.html
|
293 |
+
*
|
294 |
+
**/
|
295 |
+
/**
|
296 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
297 |
+
*
|
298 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
299 |
+
* you may not use this file except in compliance with the License.
|
300 |
+
* You may obtain a copy of the License at
|
301 |
+
*
|
302 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
303 |
+
*
|
304 |
+
* Unless required by applicable law or agreed to in writing, software
|
305 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
306 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
307 |
+
* See the License for the specific language governing permissions and
|
308 |
+
* limitations under the License.
|
309 |
+
*/
|
310 |
+
/* ========== Color Palettes ========== */
|
311 |
+
/* colors.scss */
|
312 |
+
/**
|
313 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
314 |
+
*
|
315 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
316 |
+
* you may not use this file except in compliance with the License.
|
317 |
+
* You may obtain a copy of the License at
|
318 |
+
*
|
319 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
320 |
+
*
|
321 |
+
* Unless required by applicable law or agreed to in writing, software
|
322 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
323 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
324 |
+
* See the License for the specific language governing permissions and
|
325 |
+
* limitations under the License.
|
326 |
+
*/
|
327 |
+
/* ========== IMAGES ========== */
|
328 |
+
/* ========== Color & Themes ========== */
|
329 |
+
/* ========== Typography ========== */
|
330 |
+
/* ========== Components ========== */
|
331 |
+
/* ========== Standard Buttons ========== */
|
332 |
+
/* ========== Icon Toggles ========== */
|
333 |
+
/* ========== Radio Buttons ========== */
|
334 |
+
/* ========== Ripple effect ========== */
|
335 |
+
/* ========== Layout ========== */
|
336 |
+
/* ========== Content Tabs ========== */
|
337 |
+
/* ========== Checkboxes ========== */
|
338 |
+
/* ========== Switches ========== */
|
339 |
+
/* ========== Spinner ========== */
|
340 |
+
/* ========== Text fields ========== */
|
341 |
+
/* ========== Card ========== */
|
342 |
+
/* ========== Sliders ========== */
|
343 |
+
/* ========== Progress ========== */
|
344 |
+
/* ========== List ========== */
|
345 |
+
/* ========== Item ========== */
|
346 |
+
/* ========== Dropdown menu ========== */
|
347 |
+
/* ========== Tooltips ========== */
|
348 |
+
/* ========== Footer ========== */
|
349 |
+
/* TEXTFIELD */
|
350 |
+
/* SWITCH */
|
351 |
+
/* SPINNER */
|
352 |
+
/* RADIO */
|
353 |
+
/* MENU */
|
354 |
+
/* LIST */
|
355 |
+
/* LAYOUT */
|
356 |
+
/* ICON TOGGLE */
|
357 |
+
/* FOOTER */
|
358 |
+
/*mega-footer*/
|
359 |
+
/*mini-footer*/
|
360 |
+
/* CHECKBOX */
|
361 |
+
/* CARD */
|
362 |
+
/* Card dimensions */
|
363 |
+
/* Cover image */
|
364 |
+
/* BUTTON */
|
365 |
+
/**
|
366 |
+
*
|
367 |
+
* Dimensions
|
368 |
+
*
|
369 |
+
*/
|
370 |
+
/* ANIMATION */
|
371 |
+
/* PROGRESS */
|
372 |
+
/* BADGE */
|
373 |
+
/* SHADOWS */
|
374 |
+
/* GRID */
|
375 |
+
/* DATA TABLE */
|
376 |
+
/* DIALOG */
|
377 |
+
/* SNACKBAR */
|
378 |
+
/* TOOLTIP */
|
379 |
+
/* CHIP */
|
380 |
+
/*
|
381 |
+
* What follows is the result of much research on cross-browser styling.
|
382 |
+
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
|
383 |
+
* Kroc Camen, and the H5BP dev community and team.
|
384 |
+
*/
|
385 |
+
/* ==========================================================================
|
386 |
+
Base styles: opinionated defaults
|
387 |
+
========================================================================== */
|
388 |
+
html {
|
389 |
+
color: rgba(0,0,0, 0.87);
|
390 |
+
font-size: 1em;
|
391 |
+
line-height: 1.4; }
|
392 |
+
|
393 |
+
/*
|
394 |
+
* Remove text-shadow in selection highlight:
|
395 |
+
* https://twitter.com/miketaylr/status/12228805301
|
396 |
+
*
|
397 |
+
* These selection rule sets have to be separate.
|
398 |
+
* Customize the background color to match your design.
|
399 |
+
*/
|
400 |
+
::-moz-selection {
|
401 |
+
background: #b3d4fc;
|
402 |
+
text-shadow: none; }
|
403 |
+
::selection {
|
404 |
+
background: #b3d4fc;
|
405 |
+
text-shadow: none; }
|
406 |
+
|
407 |
+
/*
|
408 |
+
* A better looking default horizontal rule
|
409 |
+
*/
|
410 |
+
hr {
|
411 |
+
display: block;
|
412 |
+
height: 1px;
|
413 |
+
border: 0;
|
414 |
+
border-top: 1px solid #ccc;
|
415 |
+
margin: 1em 0;
|
416 |
+
padding: 0; }
|
417 |
+
|
418 |
+
/*
|
419 |
+
* Remove the gap between audio, canvas, iframes,
|
420 |
+
* images, videos and the bottom of their containers:
|
421 |
+
* https://github.com/h5bp/html5-boilerplate/issues/440
|
422 |
+
*/
|
423 |
+
audio,
|
424 |
+
canvas,
|
425 |
+
iframe,
|
426 |
+
img,
|
427 |
+
svg,
|
428 |
+
video {
|
429 |
+
vertical-align: middle; }
|
430 |
+
|
431 |
+
/*
|
432 |
+
* Remove default fieldset styles.
|
433 |
+
*/
|
434 |
+
fieldset {
|
435 |
+
border: 0;
|
436 |
+
margin: 0;
|
437 |
+
padding: 0; }
|
438 |
+
|
439 |
+
/*
|
440 |
+
* Allow only vertical resizing of textareas.
|
441 |
+
*/
|
442 |
+
textarea {
|
443 |
+
resize: vertical; }
|
444 |
+
|
445 |
+
/* ==========================================================================
|
446 |
+
Browser Upgrade Prompt
|
447 |
+
========================================================================== */
|
448 |
+
.browserupgrade {
|
449 |
+
margin: 0.2em 0;
|
450 |
+
background: #ccc;
|
451 |
+
color: #000;
|
452 |
+
padding: 0.2em 0; }
|
453 |
+
|
454 |
+
/* ==========================================================================
|
455 |
+
Author's custom styles
|
456 |
+
========================================================================== */
|
457 |
+
/* ==========================================================================
|
458 |
+
Helper classes
|
459 |
+
========================================================================== */
|
460 |
+
/*
|
461 |
+
* Hide visually and from screen readers:
|
462 |
+
*/
|
463 |
+
.hidden {
|
464 |
+
display: none !important; }
|
465 |
+
|
466 |
+
/*
|
467 |
+
* Hide only visually, but have it available for screen readers:
|
468 |
+
* http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
|
469 |
+
*/
|
470 |
+
.visuallyhidden {
|
471 |
+
border: 0;
|
472 |
+
clip: rect(0 0 0 0);
|
473 |
+
height: 1px;
|
474 |
+
margin: -1px;
|
475 |
+
overflow: hidden;
|
476 |
+
padding: 0;
|
477 |
+
position: absolute;
|
478 |
+
width: 1px; }
|
479 |
+
|
480 |
+
/*
|
481 |
+
* Extends the .visuallyhidden class to allow the element
|
482 |
+
* to be focusable when navigated to via the keyboard:
|
483 |
+
* https://www.drupal.org/node/897638
|
484 |
+
*/
|
485 |
+
.visuallyhidden.focusable:active,
|
486 |
+
.visuallyhidden.focusable:focus {
|
487 |
+
clip: auto;
|
488 |
+
height: auto;
|
489 |
+
margin: 0;
|
490 |
+
overflow: visible;
|
491 |
+
position: static;
|
492 |
+
width: auto; }
|
493 |
+
|
494 |
+
/*
|
495 |
+
* Hide visually and from screen readers, but maintain layout
|
496 |
+
*/
|
497 |
+
.invisible {
|
498 |
+
visibility: hidden; }
|
499 |
+
|
500 |
+
/*
|
501 |
+
* Clearfix: contain floats
|
502 |
+
*
|
503 |
+
* For modern browsers
|
504 |
+
* 1. The space content is one way to avoid an Opera bug when the
|
505 |
+
* `contenteditable` attribute is included anywhere else in the document.
|
506 |
+
* Otherwise it causes space to appear at the top and bottom of elements
|
507 |
+
* that receive the `clearfix` class.
|
508 |
+
* 2. The use of `table` rather than `block` is only necessary if using
|
509 |
+
* `:before` to contain the top-margins of child elements.
|
510 |
+
*/
|
511 |
+
.clearfix:before,
|
512 |
+
.clearfix:after {
|
513 |
+
content: " ";
|
514 |
+
/* 1 */
|
515 |
+
display: table;
|
516 |
+
/* 2 */ }
|
517 |
+
|
518 |
+
.clearfix:after {
|
519 |
+
clear: both; }
|
520 |
+
|
521 |
+
/* ==========================================================================
|
522 |
+
EXAMPLE Media Queries for Responsive Design.
|
523 |
+
These examples override the primary ('mobile first') styles.
|
524 |
+
Modify as content requires.
|
525 |
+
========================================================================== */
|
526 |
+
@media only screen and (min-width: 35em) {
|
527 |
+
/* Style adjustments for viewports that meet the condition */ }
|
528 |
+
|
529 |
+
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
|
530 |
+
/* Style adjustments for high resolution devices */ }
|
531 |
+
|
532 |
+
/* ==========================================================================
|
533 |
+
Print styles.
|
534 |
+
Inlined to avoid the additional HTTP request:
|
535 |
+
http://www.phpied.com/delay-loading-your-print-css/
|
536 |
+
========================================================================== */
|
537 |
+
@media print {
|
538 |
+
*,
|
539 |
+
*:before,
|
540 |
+
*:after,
|
541 |
+
*:first-letter {
|
542 |
+
background: transparent !important;
|
543 |
+
color: #000 !important;
|
544 |
+
/* Black prints faster: http://www.sanbeiji.com/archives/953 */
|
545 |
+
box-shadow: none !important; }
|
546 |
+
a,
|
547 |
+
a:visited {
|
548 |
+
text-decoration: underline; }
|
549 |
+
a[href]:after {
|
550 |
+
content: " (" attr(href) ")"; }
|
551 |
+
abbr[title]:after {
|
552 |
+
content: " (" attr(title) ")"; }
|
553 |
+
/*
|
554 |
+
* Don't show links that are fragment identifiers,
|
555 |
+
* or use the `javascript:` pseudo protocol
|
556 |
+
*/
|
557 |
+
a[href^="#"]:after,
|
558 |
+
a[href^="javascript:"]:after {
|
559 |
+
content: ""; }
|
560 |
+
pre,
|
561 |
+
blockquote {
|
562 |
+
border: 1px solid #999;
|
563 |
+
page-break-inside: avoid; }
|
564 |
+
/*
|
565 |
+
* Printing Tables:
|
566 |
+
* http://css-discuss.incutio.com/wiki/Printing_Tables
|
567 |
+
*/
|
568 |
+
thead {
|
569 |
+
display: table-header-group; }
|
570 |
+
tr,
|
571 |
+
img {
|
572 |
+
page-break-inside: avoid; }
|
573 |
+
img {
|
574 |
+
max-width: 100% !important; }
|
575 |
+
p,
|
576 |
+
h2,
|
577 |
+
h3 {
|
578 |
+
orphans: 3;
|
579 |
+
widows: 3; }
|
580 |
+
h2,
|
581 |
+
h3 {
|
582 |
+
page-break-after: avoid; } }
|
583 |
+
|
584 |
+
/**
|
585 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
586 |
+
*
|
587 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
588 |
+
* you may not use this file except in compliance with the License.
|
589 |
+
* You may obtain a copy of the License at
|
590 |
+
*
|
591 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
592 |
+
*
|
593 |
+
* Unless required by applicable law or agreed to in writing, software
|
594 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
595 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
596 |
+
* See the License for the specific language governing permissions and
|
597 |
+
* limitations under the License.
|
598 |
+
*/
|
599 |
+
/* Remove the unwanted box around FAB buttons */
|
600 |
+
/* More info: http://goo.gl/IPwKi */
|
601 |
+
a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
602 |
+
.mdl-icon-toggle, .mdl-item, .mdl-radio, .mdl-slider, .mdl-switch, .mdl-tabs__tab {
|
603 |
+
-webkit-tap-highlight-color: transparent;
|
604 |
+
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
|
605 |
+
|
606 |
+
/*
|
607 |
+
* Make html take up the entire screen
|
608 |
+
* Then set touch-action to avoid touch delay on mobile IE
|
609 |
+
*/
|
610 |
+
html {
|
611 |
+
width: 100%;
|
612 |
+
height: 100%;
|
613 |
+
-ms-touch-action: manipulation;
|
614 |
+
touch-action: manipulation; }
|
615 |
+
|
616 |
+
/*
|
617 |
+
* Make body take up the entire screen
|
618 |
+
* Remove body margin so layout containers don't cause extra overflow.
|
619 |
+
*/
|
620 |
+
body {
|
621 |
+
width: 100%;
|
622 |
+
min-height: 100%;
|
623 |
+
margin: 0; }
|
624 |
+
|
625 |
+
/*
|
626 |
+
* Main display reset for IE support.
|
627 |
+
* Source: http://weblog.west-wind.com/posts/2015/Jan/12/main-HTML5-Tag-not-working-in-Internet-Explorer-91011
|
628 |
+
*/
|
629 |
+
main {
|
630 |
+
display: block; }
|
631 |
+
|
632 |
+
/*
|
633 |
+
* Apply no display to elements with the hidden attribute.
|
634 |
+
* IE 9 and 10 support.
|
635 |
+
*/
|
636 |
+
*[hidden] {
|
637 |
+
display: none !important; }
|
638 |
+
|
639 |
+
/**
|
640 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
641 |
+
*
|
642 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
643 |
+
* you may not use this file except in compliance with the License.
|
644 |
+
* You may obtain a copy of the License at
|
645 |
+
*
|
646 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
647 |
+
*
|
648 |
+
* Unless required by applicable law or agreed to in writing, software
|
649 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
650 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
651 |
+
* See the License for the specific language governing permissions and
|
652 |
+
* limitations under the License.
|
653 |
+
*/
|
654 |
+
/**
|
655 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
656 |
+
*
|
657 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
658 |
+
* you may not use this file except in compliance with the License.
|
659 |
+
* You may obtain a copy of the License at
|
660 |
+
*
|
661 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
662 |
+
*
|
663 |
+
* Unless required by applicable law or agreed to in writing, software
|
664 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
665 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
666 |
+
* See the License for the specific language governing permissions and
|
667 |
+
* limitations under the License.
|
668 |
+
*/
|
669 |
+
/*------------------------------------* $CONTENTS
|
670 |
+
\*------------------------------------*/
|
671 |
+
/**
|
672 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
673 |
+
* -----Typography
|
674 |
+
* -----Colors
|
675 |
+
* -----Textfield
|
676 |
+
* -----Switch
|
677 |
+
* -----Spinner
|
678 |
+
* -----Radio
|
679 |
+
* -----Menu
|
680 |
+
* -----List
|
681 |
+
* -----Layout
|
682 |
+
* -----Icon toggles
|
683 |
+
* -----Footer
|
684 |
+
* -----Column
|
685 |
+
* -----Checkbox
|
686 |
+
* -----Card
|
687 |
+
* -----Button
|
688 |
+
* -----Animation
|
689 |
+
* -----Progress
|
690 |
+
* -----Badge
|
691 |
+
* -----Shadows
|
692 |
+
* -----Grid
|
693 |
+
* -----Data table
|
694 |
+
* -----Dialog
|
695 |
+
* -----Snackbar
|
696 |
+
* -----Tooltip
|
697 |
+
* -----Chip
|
698 |
+
*
|
699 |
+
* Even though all variables have the `!default` directive, most of them
|
700 |
+
* should not be changed as they are dependent one another. This can cause
|
701 |
+
* visual distortions (like alignment issues) that are hard to track down
|
702 |
+
* and fix.
|
703 |
+
*/
|
704 |
+
/* ========== TYPOGRAPHY ========== */
|
705 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
706 |
+
page loading. For important text, such as the body, we want it to load
|
707 |
+
immediately and not wait for the web font load, whereas for other sections,
|
708 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
709 |
+
We do have some optional classes and parameters in the mixins, in case you
|
710 |
+
definitely want to make sure you're using the preferred font and don't mind
|
711 |
+
the performance hit.
|
712 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
713 |
+
widely available.
|
714 |
+
*/
|
715 |
+
/* ========== COLORS ========== */
|
716 |
+
/**
|
717 |
+
*
|
718 |
+
* Material design color palettes.
|
719 |
+
* @see http://www.google.com/design/spec/style/color.html
|
720 |
+
*
|
721 |
+
**/
|
722 |
+
/**
|
723 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
724 |
+
*
|
725 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
726 |
+
* you may not use this file except in compliance with the License.
|
727 |
+
* You may obtain a copy of the License at
|
728 |
+
*
|
729 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
730 |
+
*
|
731 |
+
* Unless required by applicable law or agreed to in writing, software
|
732 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
733 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
734 |
+
* See the License for the specific language governing permissions and
|
735 |
+
* limitations under the License.
|
736 |
+
*/
|
737 |
+
/* ========== Color Palettes ========== */
|
738 |
+
/* colors.scss */
|
739 |
+
/**
|
740 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
741 |
+
*
|
742 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
743 |
+
* you may not use this file except in compliance with the License.
|
744 |
+
* You may obtain a copy of the License at
|
745 |
+
*
|
746 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
747 |
+
*
|
748 |
+
* Unless required by applicable law or agreed to in writing, software
|
749 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
750 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
751 |
+
* See the License for the specific language governing permissions and
|
752 |
+
* limitations under the License.
|
753 |
+
*/
|
754 |
+
/* ========== IMAGES ========== */
|
755 |
+
/* ========== Color & Themes ========== */
|
756 |
+
/* ========== Typography ========== */
|
757 |
+
/* ========== Components ========== */
|
758 |
+
/* ========== Standard Buttons ========== */
|
759 |
+
/* ========== Icon Toggles ========== */
|
760 |
+
/* ========== Radio Buttons ========== */
|
761 |
+
/* ========== Ripple effect ========== */
|
762 |
+
/* ========== Layout ========== */
|
763 |
+
/* ========== Content Tabs ========== */
|
764 |
+
/* ========== Checkboxes ========== */
|
765 |
+
/* ========== Switches ========== */
|
766 |
+
/* ========== Spinner ========== */
|
767 |
+
/* ========== Text fields ========== */
|
768 |
+
/* ========== Card ========== */
|
769 |
+
/* ========== Sliders ========== */
|
770 |
+
/* ========== Progress ========== */
|
771 |
+
/* ========== List ========== */
|
772 |
+
/* ========== Item ========== */
|
773 |
+
/* ========== Dropdown menu ========== */
|
774 |
+
/* ========== Tooltips ========== */
|
775 |
+
/* ========== Footer ========== */
|
776 |
+
/* TEXTFIELD */
|
777 |
+
/* SWITCH */
|
778 |
+
/* SPINNER */
|
779 |
+
/* RADIO */
|
780 |
+
/* MENU */
|
781 |
+
/* LIST */
|
782 |
+
/* LAYOUT */
|
783 |
+
/* ICON TOGGLE */
|
784 |
+
/* FOOTER */
|
785 |
+
/*mega-footer*/
|
786 |
+
/*mini-footer*/
|
787 |
+
/* CHECKBOX */
|
788 |
+
/* CARD */
|
789 |
+
/* Card dimensions */
|
790 |
+
/* Cover image */
|
791 |
+
/* BUTTON */
|
792 |
+
/**
|
793 |
+
*
|
794 |
+
* Dimensions
|
795 |
+
*
|
796 |
+
*/
|
797 |
+
/* ANIMATION */
|
798 |
+
/* PROGRESS */
|
799 |
+
/* BADGE */
|
800 |
+
/* SHADOWS */
|
801 |
+
/* GRID */
|
802 |
+
/* DATA TABLE */
|
803 |
+
/* DIALOG */
|
804 |
+
/* SNACKBAR */
|
805 |
+
/* TOOLTIP */
|
806 |
+
/* CHIP */
|
807 |
+
/**
|
808 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
809 |
+
*
|
810 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
811 |
+
* you may not use this file except in compliance with the License.
|
812 |
+
* You may obtain a copy of the License at
|
813 |
+
*
|
814 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
815 |
+
*
|
816 |
+
* Unless required by applicable law or agreed to in writing, software
|
817 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
818 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
819 |
+
* See the License for the specific language governing permissions and
|
820 |
+
* limitations under the License.
|
821 |
+
*/
|
822 |
+
/* Typography */
|
823 |
+
/* Shadows */
|
824 |
+
/* Animations */
|
825 |
+
/* Dialog */
|
826 |
+
|
827 |
+
|
828 |
+
/**
|
829 |
+
* Class Name Styles
|
830 |
+
*/
|
831 |
+
.mdl-typography--display-4 {
|
832 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
833 |
+
font-size: 112px;
|
834 |
+
font-weight: 300;
|
835 |
+
line-height: 1;
|
836 |
+
letter-spacing: -0.04em; }
|
837 |
+
|
838 |
+
.mdl-typography--display-4-color-contrast {
|
839 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
840 |
+
font-size: 112px;
|
841 |
+
font-weight: 300;
|
842 |
+
line-height: 1;
|
843 |
+
letter-spacing: -0.04em;
|
844 |
+
opacity: 0.54; }
|
845 |
+
|
846 |
+
.mdl-typography--display-3 {
|
847 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
848 |
+
font-size: 56px;
|
849 |
+
font-weight: 400;
|
850 |
+
line-height: 1.35;
|
851 |
+
letter-spacing: -0.02em; }
|
852 |
+
|
853 |
+
.mdl-typography--display-3-color-contrast {
|
854 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
855 |
+
font-size: 56px;
|
856 |
+
font-weight: 400;
|
857 |
+
line-height: 1.35;
|
858 |
+
letter-spacing: -0.02em;
|
859 |
+
opacity: 0.54; }
|
860 |
+
|
861 |
+
.mdl-typography--display-2 {
|
862 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
863 |
+
font-size: 45px;
|
864 |
+
font-weight: 400;
|
865 |
+
line-height: 48px; }
|
866 |
+
|
867 |
+
.mdl-typography--display-2-color-contrast {
|
868 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
869 |
+
font-size: 45px;
|
870 |
+
font-weight: 400;
|
871 |
+
line-height: 48px;
|
872 |
+
opacity: 0.54; }
|
873 |
+
|
874 |
+
.mdl-typography--display-1 {
|
875 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
876 |
+
font-size: 34px;
|
877 |
+
font-weight: 400;
|
878 |
+
line-height: 40px; }
|
879 |
+
|
880 |
+
.mdl-typography--display-1-color-contrast {
|
881 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
882 |
+
font-size: 34px;
|
883 |
+
font-weight: 400;
|
884 |
+
line-height: 40px;
|
885 |
+
opacity: 0.54; }
|
886 |
+
|
887 |
+
.mdl-typography--headline {
|
888 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
889 |
+
font-size: 24px;
|
890 |
+
font-weight: 400;
|
891 |
+
line-height: 32px;
|
892 |
+
-moz-osx-font-smoothing: grayscale; }
|
893 |
+
|
894 |
+
.mdl-typography--headline-color-contrast {
|
895 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
896 |
+
font-size: 24px;
|
897 |
+
font-weight: 400;
|
898 |
+
line-height: 32px;
|
899 |
+
-moz-osx-font-smoothing: grayscale;
|
900 |
+
opacity: 0.87; }
|
901 |
+
|
902 |
+
.mdl-typography--title {
|
903 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
904 |
+
font-size: 20px;
|
905 |
+
font-weight: 500;
|
906 |
+
line-height: 1;
|
907 |
+
letter-spacing: 0.02em; }
|
908 |
+
|
909 |
+
.mdl-typography--title-color-contrast {
|
910 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
911 |
+
font-size: 20px;
|
912 |
+
font-weight: 500;
|
913 |
+
line-height: 1;
|
914 |
+
letter-spacing: 0.02em;
|
915 |
+
opacity: 0.87; }
|
916 |
+
|
917 |
+
.mdl-typography--subhead {
|
918 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
919 |
+
font-size: 16px;
|
920 |
+
font-weight: 400;
|
921 |
+
line-height: 24px;
|
922 |
+
letter-spacing: 0.04em; }
|
923 |
+
|
924 |
+
.mdl-typography--subhead-color-contrast {
|
925 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
926 |
+
font-size: 16px;
|
927 |
+
font-weight: 400;
|
928 |
+
line-height: 24px;
|
929 |
+
letter-spacing: 0.04em;
|
930 |
+
opacity: 0.87; }
|
931 |
+
|
932 |
+
.mdl-typography--body-2 {
|
933 |
+
font-size: 14px;
|
934 |
+
font-weight: bold;
|
935 |
+
line-height: 24px;
|
936 |
+
letter-spacing: 0; }
|
937 |
+
|
938 |
+
.mdl-typography--body-2-color-contrast {
|
939 |
+
font-size: 14px;
|
940 |
+
font-weight: bold;
|
941 |
+
line-height: 24px;
|
942 |
+
letter-spacing: 0;
|
943 |
+
opacity: 0.87; }
|
944 |
+
|
945 |
+
.mdl-typography--body-1 {
|
946 |
+
font-size: 14px;
|
947 |
+
font-weight: 400;
|
948 |
+
line-height: 24px;
|
949 |
+
letter-spacing: 0; }
|
950 |
+
|
951 |
+
.mdl-typography--body-1-color-contrast {
|
952 |
+
font-size: 14px;
|
953 |
+
font-weight: 400;
|
954 |
+
line-height: 24px;
|
955 |
+
letter-spacing: 0;
|
956 |
+
opacity: 0.87; }
|
957 |
+
|
958 |
+
.mdl-typography--body-2-force-preferred-font {
|
959 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
960 |
+
font-size: 14px;
|
961 |
+
font-weight: 500;
|
962 |
+
line-height: 24px;
|
963 |
+
letter-spacing: 0; }
|
964 |
+
|
965 |
+
.mdl-typography--body-2-force-preferred-font-color-contrast {
|
966 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
967 |
+
font-size: 14px;
|
968 |
+
font-weight: 500;
|
969 |
+
line-height: 24px;
|
970 |
+
letter-spacing: 0;
|
971 |
+
opacity: 0.87; }
|
972 |
+
|
973 |
+
.mdl-typography--body-1-force-preferred-font {
|
974 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
975 |
+
font-size: 14px;
|
976 |
+
font-weight: 400;
|
977 |
+
line-height: 24px;
|
978 |
+
letter-spacing: 0; }
|
979 |
+
|
980 |
+
.mdl-typography--body-1-force-preferred-font-color-contrast {
|
981 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
982 |
+
font-size: 14px;
|
983 |
+
font-weight: 400;
|
984 |
+
line-height: 24px;
|
985 |
+
letter-spacing: 0;
|
986 |
+
opacity: 0.87; }
|
987 |
+
|
988 |
+
.mdl-typography--caption {
|
989 |
+
font-size: 12px;
|
990 |
+
font-weight: 400;
|
991 |
+
line-height: 1;
|
992 |
+
letter-spacing: 0; }
|
993 |
+
|
994 |
+
.mdl-typography--caption-force-preferred-font {
|
995 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
996 |
+
font-size: 12px;
|
997 |
+
font-weight: 400;
|
998 |
+
line-height: 1;
|
999 |
+
letter-spacing: 0; }
|
1000 |
+
|
1001 |
+
.mdl-typography--caption-color-contrast {
|
1002 |
+
font-size: 12px;
|
1003 |
+
font-weight: 400;
|
1004 |
+
line-height: 1;
|
1005 |
+
letter-spacing: 0;
|
1006 |
+
opacity: 0.54; }
|
1007 |
+
|
1008 |
+
.mdl-typography--caption-force-preferred-font-color-contrast {
|
1009 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
1010 |
+
font-size: 12px;
|
1011 |
+
font-weight: 400;
|
1012 |
+
line-height: 1;
|
1013 |
+
letter-spacing: 0;
|
1014 |
+
opacity: 0.54; }
|
1015 |
+
|
1016 |
+
.mdl-typography--menu {
|
1017 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
1018 |
+
font-size: 14px;
|
1019 |
+
font-weight: 500;
|
1020 |
+
line-height: 1;
|
1021 |
+
letter-spacing: 0; }
|
1022 |
+
|
1023 |
+
.mdl-typography--menu-color-contrast {
|
1024 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
1025 |
+
font-size: 14px;
|
1026 |
+
font-weight: 500;
|
1027 |
+
line-height: 1;
|
1028 |
+
letter-spacing: 0;
|
1029 |
+
opacity: 0.87; }
|
1030 |
+
|
1031 |
+
.mdl-typography--button {
|
1032 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
1033 |
+
font-size: 14px;
|
1034 |
+
font-weight: 500;
|
1035 |
+
text-transform: uppercase;
|
1036 |
+
line-height: 1;
|
1037 |
+
letter-spacing: 0; }
|
1038 |
+
|
1039 |
+
.mdl-typography--button-color-contrast {
|
1040 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
1041 |
+
font-size: 14px;
|
1042 |
+
font-weight: 500;
|
1043 |
+
text-transform: uppercase;
|
1044 |
+
line-height: 1;
|
1045 |
+
letter-spacing: 0;
|
1046 |
+
opacity: 0.87; }
|
1047 |
+
|
1048 |
+
.mdl-typography--text-left {
|
1049 |
+
text-align: left; }
|
1050 |
+
|
1051 |
+
.mdl-typography--text-right {
|
1052 |
+
text-align: right; }
|
1053 |
+
|
1054 |
+
.mdl-typography--text-center {
|
1055 |
+
text-align: center; }
|
1056 |
+
|
1057 |
+
.mdl-typography--text-justify {
|
1058 |
+
text-align: justify; }
|
1059 |
+
|
1060 |
+
.mdl-typography--text-nowrap {
|
1061 |
+
white-space: nowrap; }
|
1062 |
+
|
1063 |
+
.mdl-typography--text-lowercase {
|
1064 |
+
text-transform: lowercase; }
|
1065 |
+
|
1066 |
+
.mdl-typography--text-uppercase {
|
1067 |
+
text-transform: uppercase; }
|
1068 |
+
|
1069 |
+
.mdl-typography--text-capitalize {
|
1070 |
+
text-transform: capitalize; }
|
1071 |
+
|
1072 |
+
.mdl-typography--font-thin {
|
1073 |
+
font-weight: 200 !important; }
|
1074 |
+
|
1075 |
+
.mdl-typography--font-light {
|
1076 |
+
font-weight: 300 !important; }
|
1077 |
+
|
1078 |
+
.mdl-typography--font-regular {
|
1079 |
+
font-weight: 400 !important; }
|
1080 |
+
|
1081 |
+
.mdl-typography--font-medium {
|
1082 |
+
font-weight: 500 !important; }
|
1083 |
+
|
1084 |
+
.mdl-typography--font-bold {
|
1085 |
+
font-weight: 700 !important; }
|
1086 |
+
|
1087 |
+
.mdl-typography--font-black {
|
1088 |
+
font-weight: 900 !important; }
|
1089 |
+
|
1090 |
+
.material-icons {
|
1091 |
+
font-family: 'Material Icons';
|
1092 |
+
font-weight: normal;
|
1093 |
+
font-style: normal;
|
1094 |
+
font-size: 24px;
|
1095 |
+
line-height: 1;
|
1096 |
+
letter-spacing: normal;
|
1097 |
+
text-transform: none;
|
1098 |
+
display: inline-block;
|
1099 |
+
word-wrap: normal;
|
1100 |
+
-moz-font-feature-settings: 'liga';
|
1101 |
+
font-feature-settings: 'liga';
|
1102 |
+
-webkit-font-feature-settings: 'liga';
|
1103 |
+
-webkit-font-smoothing: antialiased; }
|
1104 |
+
|
1105 |
+
/**
|
1106 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
1107 |
+
*
|
1108 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1109 |
+
* you may not use this file except in compliance with the License.
|
1110 |
+
* You may obtain a copy of the License at
|
1111 |
+
*
|
1112 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1113 |
+
*
|
1114 |
+
* Unless required by applicable law or agreed to in writing, software
|
1115 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1116 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1117 |
+
* See the License for the specific language governing permissions and
|
1118 |
+
* limitations under the License.
|
1119 |
+
*/
|
1120 |
+
/**
|
1121 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
1122 |
+
*
|
1123 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1124 |
+
* you may not use this file except in compliance with the License.
|
1125 |
+
* You may obtain a copy of the License at
|
1126 |
+
*
|
1127 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1128 |
+
*
|
1129 |
+
* Unless required by applicable law or agreed to in writing, software
|
1130 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1131 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1132 |
+
* See the License for the specific language governing permissions and
|
1133 |
+
* limitations under the License.
|
1134 |
+
*/
|
1135 |
+
/*------------------------------------* $CONTENTS
|
1136 |
+
\*------------------------------------*/
|
1137 |
+
/**
|
1138 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
1139 |
+
* -----Typography
|
1140 |
+
* -----Colors
|
1141 |
+
* -----Textfield
|
1142 |
+
* -----Switch
|
1143 |
+
* -----Spinner
|
1144 |
+
* -----Radio
|
1145 |
+
* -----Menu
|
1146 |
+
* -----List
|
1147 |
+
* -----Layout
|
1148 |
+
* -----Icon toggles
|
1149 |
+
* -----Footer
|
1150 |
+
* -----Column
|
1151 |
+
* -----Checkbox
|
1152 |
+
* -----Card
|
1153 |
+
* -----Button
|
1154 |
+
* -----Animation
|
1155 |
+
* -----Progress
|
1156 |
+
* -----Badge
|
1157 |
+
* -----Shadows
|
1158 |
+
* -----Grid
|
1159 |
+
* -----Data table
|
1160 |
+
* -----Dialog
|
1161 |
+
* -----Snackbar
|
1162 |
+
* -----Tooltip
|
1163 |
+
* -----Chip
|
1164 |
+
*
|
1165 |
+
* Even though all variables have the `!default` directive, most of them
|
1166 |
+
* should not be changed as they are dependent one another. This can cause
|
1167 |
+
* visual distortions (like alignment issues) that are hard to track down
|
1168 |
+
* and fix.
|
1169 |
+
*/
|
1170 |
+
/* ========== TYPOGRAPHY ========== */
|
1171 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
1172 |
+
page loading. For important text, such as the body, we want it to load
|
1173 |
+
immediately and not wait for the web font load, whereas for other sections,
|
1174 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
1175 |
+
We do have some optional classes and parameters in the mixins, in case you
|
1176 |
+
definitely want to make sure you're using the preferred font and don't mind
|
1177 |
+
the performance hit.
|
1178 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
1179 |
+
widely available.
|
1180 |
+
*/
|
1181 |
+
/* ========== COLORS ========== */
|
1182 |
+
/**
|
1183 |
+
*
|
1184 |
+
* Material design color palettes.
|
1185 |
+
* @see http://www.google.com/design/spec/style/color.html
|
1186 |
+
*
|
1187 |
+
**/
|
1188 |
+
/**
|
1189 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
1190 |
+
*
|
1191 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1192 |
+
* you may not use this file except in compliance with the License.
|
1193 |
+
* You may obtain a copy of the License at
|
1194 |
+
*
|
1195 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1196 |
+
*
|
1197 |
+
* Unless required by applicable law or agreed to in writing, software
|
1198 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1199 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1200 |
+
* See the License for the specific language governing permissions and
|
1201 |
+
* limitations under the License.
|
1202 |
+
*/
|
1203 |
+
/* ========== Color Palettes ========== */
|
1204 |
+
/* colors.scss */
|
1205 |
+
/**
|
1206 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
1207 |
+
*
|
1208 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1209 |
+
* you may not use this file except in compliance with the License.
|
1210 |
+
* You may obtain a copy of the License at
|
1211 |
+
*
|
1212 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1213 |
+
*
|
1214 |
+
* Unless required by applicable law or agreed to in writing, software
|
1215 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1216 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1217 |
+
* See the License for the specific language governing permissions and
|
1218 |
+
* limitations under the License.
|
1219 |
+
*/
|
1220 |
+
/* ========== IMAGES ========== */
|
1221 |
+
/* ========== Color & Themes ========== */
|
1222 |
+
/* ========== Typography ========== */
|
1223 |
+
/* ========== Components ========== */
|
1224 |
+
/* ========== Standard Buttons ========== */
|
1225 |
+
/* ========== Icon Toggles ========== */
|
1226 |
+
/* ========== Radio Buttons ========== */
|
1227 |
+
/* ========== Ripple effect ========== */
|
1228 |
+
/* ========== Layout ========== */
|
1229 |
+
/* ========== Content Tabs ========== */
|
1230 |
+
/* ========== Checkboxes ========== */
|
1231 |
+
/* ========== Switches ========== */
|
1232 |
+
/* ========== Spinner ========== */
|
1233 |
+
/* ========== Text fields ========== */
|
1234 |
+
/* ========== Card ========== */
|
1235 |
+
/* ========== Sliders ========== */
|
1236 |
+
/* ========== Progress ========== */
|
1237 |
+
/* ========== List ========== */
|
1238 |
+
/* ========== Item ========== */
|
1239 |
+
/* ========== Dropdown menu ========== */
|
1240 |
+
/* ========== Tooltips ========== */
|
1241 |
+
/* ========== Footer ========== */
|
1242 |
+
/* TEXTFIELD */
|
1243 |
+
/* SWITCH */
|
1244 |
+
/* SPINNER */
|
1245 |
+
/* RADIO */
|
1246 |
+
/* MENU */
|
1247 |
+
/* LIST */
|
1248 |
+
/* LAYOUT */
|
1249 |
+
/* ICON TOGGLE */
|
1250 |
+
/* FOOTER */
|
1251 |
+
/*mega-footer*/
|
1252 |
+
/*mini-footer*/
|
1253 |
+
/* CHECKBOX */
|
1254 |
+
/* CARD */
|
1255 |
+
/* Card dimensions */
|
1256 |
+
/* Cover image */
|
1257 |
+
/* BUTTON */
|
1258 |
+
/**
|
1259 |
+
*
|
1260 |
+
* Dimensions
|
1261 |
+
*
|
1262 |
+
*/
|
1263 |
+
/* ANIMATION */
|
1264 |
+
/* PROGRESS */
|
1265 |
+
/* BADGE */
|
1266 |
+
/* SHADOWS */
|
1267 |
+
/* GRID */
|
1268 |
+
/* DATA TABLE */
|
1269 |
+
/* DIALOG */
|
1270 |
+
/* SNACKBAR */
|
1271 |
+
/* TOOLTIP */
|
1272 |
+
/* CHIP */
|
1273 |
+
.mdl-color-text--red {
|
1274 |
+
color: rgb(244,67,54) !important; }
|
1275 |
+
|
1276 |
+
.mdl-color--red {
|
1277 |
+
background-color: rgb(244,67,54) !important; }
|
1278 |
+
|
1279 |
+
.mdl-color-text--red-50 {
|
1280 |
+
color: rgb(255,235,238) !important; }
|
1281 |
+
|
1282 |
+
.mdl-color--red-50 {
|
1283 |
+
background-color: rgb(255,235,238) !important; }
|
1284 |
+
|
1285 |
+
.mdl-color-text--red-100 {
|
1286 |
+
color: rgb(255,205,210) !important; }
|
1287 |
+
|
1288 |
+
.mdl-color--red-100 {
|
1289 |
+
background-color: rgb(255,205,210) !important; }
|
1290 |
+
|
1291 |
+
.mdl-color-text--red-200 {
|
1292 |
+
color: rgb(239,154,154) !important; }
|
1293 |
+
|
1294 |
+
.mdl-color--red-200 {
|
1295 |
+
background-color: rgb(239,154,154) !important; }
|
1296 |
+
|
1297 |
+
.mdl-color-text--red-300 {
|
1298 |
+
color: rgb(229,115,115) !important; }
|
1299 |
+
|
1300 |
+
.mdl-color--red-300 {
|
1301 |
+
background-color: rgb(229,115,115) !important; }
|
1302 |
+
|
1303 |
+
.mdl-color-text--red-400 {
|
1304 |
+
color: rgb(239,83,80) !important; }
|
1305 |
+
|
1306 |
+
.mdl-color--red-400 {
|
1307 |
+
background-color: rgb(239,83,80) !important; }
|
1308 |
+
|
1309 |
+
.mdl-color-text--red-500 {
|
1310 |
+
color: rgb(244,67,54) !important; }
|
1311 |
+
|
1312 |
+
.mdl-color--red-500 {
|
1313 |
+
background-color: rgb(244,67,54) !important; }
|
1314 |
+
|
1315 |
+
.mdl-color-text--red-600 {
|
1316 |
+
color: rgb(229,57,53) !important; }
|
1317 |
+
|
1318 |
+
.mdl-color--red-600 {
|
1319 |
+
background-color: rgb(229,57,53) !important; }
|
1320 |
+
|
1321 |
+
.mdl-color-text--red-700 {
|
1322 |
+
color: rgb(211,47,47) !important; }
|
1323 |
+
|
1324 |
+
.mdl-color--red-700 {
|
1325 |
+
background-color: rgb(211,47,47) !important; }
|
1326 |
+
|
1327 |
+
.mdl-color-text--red-800 {
|
1328 |
+
color: rgb(198,40,40) !important; }
|
1329 |
+
|
1330 |
+
.mdl-color--red-800 {
|
1331 |
+
background-color: rgb(198,40,40) !important; }
|
1332 |
+
|
1333 |
+
.mdl-color-text--red-900 {
|
1334 |
+
color: rgb(183,28,28) !important; }
|
1335 |
+
|
1336 |
+
.mdl-color--red-900 {
|
1337 |
+
background-color: rgb(183,28,28) !important; }
|
1338 |
+
|
1339 |
+
.mdl-color-text--red-A100 {
|
1340 |
+
color: rgb(255,138,128) !important; }
|
1341 |
+
|
1342 |
+
.mdl-color--red-A100 {
|
1343 |
+
background-color: rgb(255,138,128) !important; }
|
1344 |
+
|
1345 |
+
.mdl-color-text--red-A200 {
|
1346 |
+
color: rgb(255,82,82) !important; }
|
1347 |
+
|
1348 |
+
.mdl-color--red-A200 {
|
1349 |
+
background-color: rgb(255,82,82) !important; }
|
1350 |
+
|
1351 |
+
.mdl-color-text--red-A400 {
|
1352 |
+
color: rgb(255,23,68) !important; }
|
1353 |
+
|
1354 |
+
.mdl-color--red-A400 {
|
1355 |
+
background-color: rgb(255,23,68) !important; }
|
1356 |
+
|
1357 |
+
.mdl-color-text--red-A700 {
|
1358 |
+
color: rgb(213,0,0) !important; }
|
1359 |
+
|
1360 |
+
.mdl-color--red-A700 {
|
1361 |
+
background-color: rgb(213,0,0) !important; }
|
1362 |
+
|
1363 |
+
.mdl-color-text--pink {
|
1364 |
+
color: rgb(233,30,99) !important; }
|
1365 |
+
|
1366 |
+
.mdl-color--pink {
|
1367 |
+
background-color: rgb(233,30,99) !important; }
|
1368 |
+
|
1369 |
+
.mdl-color-text--pink-50 {
|
1370 |
+
color: rgb(252,228,236) !important; }
|
1371 |
+
|
1372 |
+
.mdl-color--pink-50 {
|
1373 |
+
background-color: rgb(252,228,236) !important; }
|
1374 |
+
|
1375 |
+
.mdl-color-text--pink-100 {
|
1376 |
+
color: rgb(248,187,208) !important; }
|
1377 |
+
|
1378 |
+
.mdl-color--pink-100 {
|
1379 |
+
background-color: rgb(248,187,208) !important; }
|
1380 |
+
|
1381 |
+
.mdl-color-text--pink-200 {
|
1382 |
+
color: rgb(244,143,177) !important; }
|
1383 |
+
|
1384 |
+
.mdl-color--pink-200 {
|
1385 |
+
background-color: rgb(244,143,177) !important; }
|
1386 |
+
|
1387 |
+
.mdl-color-text--pink-300 {
|
1388 |
+
color: rgb(240,98,146) !important; }
|
1389 |
+
|
1390 |
+
.mdl-color--pink-300 {
|
1391 |
+
background-color: rgb(240,98,146) !important; }
|
1392 |
+
|
1393 |
+
.mdl-color-text--pink-400 {
|
1394 |
+
color: rgb(236,64,122) !important; }
|
1395 |
+
|
1396 |
+
.mdl-color--pink-400 {
|
1397 |
+
background-color: rgb(236,64,122) !important; }
|
1398 |
+
|
1399 |
+
.mdl-color-text--pink-500 {
|
1400 |
+
color: rgb(233,30,99) !important; }
|
1401 |
+
|
1402 |
+
.mdl-color--pink-500 {
|
1403 |
+
background-color: rgb(233,30,99) !important; }
|
1404 |
+
|
1405 |
+
.mdl-color-text--pink-600 {
|
1406 |
+
color: rgb(216,27,96) !important; }
|
1407 |
+
|
1408 |
+
.mdl-color--pink-600 {
|
1409 |
+
background-color: rgb(216,27,96) !important; }
|
1410 |
+
|
1411 |
+
.mdl-color-text--pink-700 {
|
1412 |
+
color: rgb(194,24,91) !important; }
|
1413 |
+
|
1414 |
+
.mdl-color--pink-700 {
|
1415 |
+
background-color: rgb(194,24,91) !important; }
|
1416 |
+
|
1417 |
+
.mdl-color-text--pink-800 {
|
1418 |
+
color: rgb(173,20,87) !important; }
|
1419 |
+
|
1420 |
+
.mdl-color--pink-800 {
|
1421 |
+
background-color: rgb(173,20,87) !important; }
|
1422 |
+
|
1423 |
+
.mdl-color-text--pink-900 {
|
1424 |
+
color: rgb(136,14,79) !important; }
|
1425 |
+
|
1426 |
+
.mdl-color--pink-900 {
|
1427 |
+
background-color: rgb(136,14,79) !important; }
|
1428 |
+
|
1429 |
+
.mdl-color-text--pink-A100 {
|
1430 |
+
color: rgb(255,128,171) !important; }
|
1431 |
+
|
1432 |
+
.mdl-color--pink-A100 {
|
1433 |
+
background-color: rgb(255,128,171) !important; }
|
1434 |
+
|
1435 |
+
.mdl-color-text--pink-A200 {
|
1436 |
+
color: rgb(255,64,129) !important; }
|
1437 |
+
|
1438 |
+
.mdl-color--pink-A200 {
|
1439 |
+
background-color: rgb(255,64,129) !important; }
|
1440 |
+
|
1441 |
+
.mdl-color-text--pink-A400 {
|
1442 |
+
color: rgb(245,0,87) !important; }
|
1443 |
+
|
1444 |
+
.mdl-color--pink-A400 {
|
1445 |
+
background-color: rgb(245,0,87) !important; }
|
1446 |
+
|
1447 |
+
.mdl-color-text--pink-A700 {
|
1448 |
+
color: rgb(197,17,98) !important; }
|
1449 |
+
|
1450 |
+
.mdl-color--pink-A700 {
|
1451 |
+
background-color: rgb(197,17,98) !important; }
|
1452 |
+
|
1453 |
+
.mdl-color-text--purple {
|
1454 |
+
color: rgb(156,39,176) !important; }
|
1455 |
+
|
1456 |
+
.mdl-color--purple {
|
1457 |
+
background-color: rgb(156,39,176) !important; }
|
1458 |
+
|
1459 |
+
.mdl-color-text--purple-50 {
|
1460 |
+
color: rgb(243,229,245) !important; }
|
1461 |
+
|
1462 |
+
.mdl-color--purple-50 {
|
1463 |
+
background-color: rgb(243,229,245) !important; }
|
1464 |
+
|
1465 |
+
.mdl-color-text--purple-100 {
|
1466 |
+
color: rgb(225,190,231) !important; }
|
1467 |
+
|
1468 |
+
.mdl-color--purple-100 {
|
1469 |
+
background-color: rgb(225,190,231) !important; }
|
1470 |
+
|
1471 |
+
.mdl-color-text--purple-200 {
|
1472 |
+
color: rgb(206,147,216) !important; }
|
1473 |
+
|
1474 |
+
.mdl-color--purple-200 {
|
1475 |
+
background-color: rgb(206,147,216) !important; }
|
1476 |
+
|
1477 |
+
.mdl-color-text--purple-300 {
|
1478 |
+
color: rgb(186,104,200) !important; }
|
1479 |
+
|
1480 |
+
.mdl-color--purple-300 {
|
1481 |
+
background-color: rgb(186,104,200) !important; }
|
1482 |
+
|
1483 |
+
.mdl-color-text--purple-400 {
|
1484 |
+
color: rgb(171,71,188) !important; }
|
1485 |
+
|
1486 |
+
.mdl-color--purple-400 {
|
1487 |
+
background-color: rgb(171,71,188) !important; }
|
1488 |
+
|
1489 |
+
.mdl-color-text--purple-500 {
|
1490 |
+
color: rgb(156,39,176) !important; }
|
1491 |
+
|
1492 |
+
.mdl-color--purple-500 {
|
1493 |
+
background-color: rgb(156,39,176) !important; }
|
1494 |
+
|
1495 |
+
.mdl-color-text--purple-600 {
|
1496 |
+
color: rgb(142,36,170) !important; }
|
1497 |
+
|
1498 |
+
.mdl-color--purple-600 {
|
1499 |
+
background-color: rgb(142,36,170) !important; }
|
1500 |
+
|
1501 |
+
.mdl-color-text--purple-700 {
|
1502 |
+
color: rgb(123,31,162) !important; }
|
1503 |
+
|
1504 |
+
.mdl-color--purple-700 {
|
1505 |
+
background-color: rgb(123,31,162) !important; }
|
1506 |
+
|
1507 |
+
.mdl-color-text--purple-800 {
|
1508 |
+
color: rgb(106,27,154) !important; }
|
1509 |
+
|
1510 |
+
.mdl-color--purple-800 {
|
1511 |
+
background-color: rgb(106,27,154) !important; }
|
1512 |
+
|
1513 |
+
.mdl-color-text--purple-900 {
|
1514 |
+
color: rgb(74,20,140) !important; }
|
1515 |
+
|
1516 |
+
.mdl-color--purple-900 {
|
1517 |
+
background-color: rgb(74,20,140) !important; }
|
1518 |
+
|
1519 |
+
.mdl-color-text--purple-A100 {
|
1520 |
+
color: rgb(234,128,252) !important; }
|
1521 |
+
|
1522 |
+
.mdl-color--purple-A100 {
|
1523 |
+
background-color: rgb(234,128,252) !important; }
|
1524 |
+
|
1525 |
+
.mdl-color-text--purple-A200 {
|
1526 |
+
color: rgb(224,64,251) !important; }
|
1527 |
+
|
1528 |
+
.mdl-color--purple-A200 {
|
1529 |
+
background-color: rgb(224,64,251) !important; }
|
1530 |
+
|
1531 |
+
.mdl-color-text--purple-A400 {
|
1532 |
+
color: rgb(213,0,249) !important; }
|
1533 |
+
|
1534 |
+
.mdl-color--purple-A400 {
|
1535 |
+
background-color: rgb(213,0,249) !important; }
|
1536 |
+
|
1537 |
+
.mdl-color-text--purple-A700 {
|
1538 |
+
color: rgb(170,0,255) !important; }
|
1539 |
+
|
1540 |
+
.mdl-color--purple-A700 {
|
1541 |
+
background-color: rgb(170,0,255) !important; }
|
1542 |
+
|
1543 |
+
.mdl-color-text--deep-purple {
|
1544 |
+
color: rgb(103,58,183) !important; }
|
1545 |
+
|
1546 |
+
.mdl-color--deep-purple {
|
1547 |
+
background-color: rgb(103,58,183) !important; }
|
1548 |
+
|
1549 |
+
.mdl-color-text--deep-purple-50 {
|
1550 |
+
color: rgb(237,231,246) !important; }
|
1551 |
+
|
1552 |
+
.mdl-color--deep-purple-50 {
|
1553 |
+
background-color: rgb(237,231,246) !important; }
|
1554 |
+
|
1555 |
+
.mdl-color-text--deep-purple-100 {
|
1556 |
+
color: rgb(209,196,233) !important; }
|
1557 |
+
|
1558 |
+
.mdl-color--deep-purple-100 {
|
1559 |
+
background-color: rgb(209,196,233) !important; }
|
1560 |
+
|
1561 |
+
.mdl-color-text--deep-purple-200 {
|
1562 |
+
color: rgb(179,157,219) !important; }
|
1563 |
+
|
1564 |
+
.mdl-color--deep-purple-200 {
|
1565 |
+
background-color: rgb(179,157,219) !important; }
|
1566 |
+
|
1567 |
+
.mdl-color-text--deep-purple-300 {
|
1568 |
+
color: rgb(149,117,205) !important; }
|
1569 |
+
|
1570 |
+
.mdl-color--deep-purple-300 {
|
1571 |
+
background-color: rgb(149,117,205) !important; }
|
1572 |
+
|
1573 |
+
.mdl-color-text--deep-purple-400 {
|
1574 |
+
color: rgb(126,87,194) !important; }
|
1575 |
+
|
1576 |
+
.mdl-color--deep-purple-400 {
|
1577 |
+
background-color: rgb(126,87,194) !important; }
|
1578 |
+
|
1579 |
+
.mdl-color-text--deep-purple-500 {
|
1580 |
+
color: rgb(103,58,183) !important; }
|
1581 |
+
|
1582 |
+
.mdl-color--deep-purple-500 {
|
1583 |
+
background-color: rgb(103,58,183) !important; }
|
1584 |
+
|
1585 |
+
.mdl-color-text--deep-purple-600 {
|
1586 |
+
color: rgb(94,53,177) !important; }
|
1587 |
+
|
1588 |
+
.mdl-color--deep-purple-600 {
|
1589 |
+
background-color: rgb(94,53,177) !important; }
|
1590 |
+
|
1591 |
+
.mdl-color-text--deep-purple-700 {
|
1592 |
+
color: rgb(81,45,168) !important; }
|
1593 |
+
|
1594 |
+
.mdl-color--deep-purple-700 {
|
1595 |
+
background-color: rgb(81,45,168) !important; }
|
1596 |
+
|
1597 |
+
.mdl-color-text--deep-purple-800 {
|
1598 |
+
color: rgb(69,39,160) !important; }
|
1599 |
+
|
1600 |
+
.mdl-color--deep-purple-800 {
|
1601 |
+
background-color: rgb(69,39,160) !important; }
|
1602 |
+
|
1603 |
+
.mdl-color-text--deep-purple-900 {
|
1604 |
+
color: rgb(49,27,146) !important; }
|
1605 |
+
|
1606 |
+
.mdl-color--deep-purple-900 {
|
1607 |
+
background-color: rgb(49,27,146) !important; }
|
1608 |
+
|
1609 |
+
.mdl-color-text--deep-purple-A100 {
|
1610 |
+
color: rgb(179,136,255) !important; }
|
1611 |
+
|
1612 |
+
.mdl-color--deep-purple-A100 {
|
1613 |
+
background-color: rgb(179,136,255) !important; }
|
1614 |
+
|
1615 |
+
.mdl-color-text--deep-purple-A200 {
|
1616 |
+
color: rgb(124,77,255) !important; }
|
1617 |
+
|
1618 |
+
.mdl-color--deep-purple-A200 {
|
1619 |
+
background-color: rgb(124,77,255) !important; }
|
1620 |
+
|
1621 |
+
.mdl-color-text--deep-purple-A400 {
|
1622 |
+
color: rgb(101,31,255) !important; }
|
1623 |
+
|
1624 |
+
.mdl-color--deep-purple-A400 {
|
1625 |
+
background-color: rgb(101,31,255) !important; }
|
1626 |
+
|
1627 |
+
.mdl-color-text--deep-purple-A700 {
|
1628 |
+
color: rgb(98,0,234) !important; }
|
1629 |
+
|
1630 |
+
.mdl-color--deep-purple-A700 {
|
1631 |
+
background-color: rgb(98,0,234) !important; }
|
1632 |
+
|
1633 |
+
.mdl-color-text--indigo {
|
1634 |
+
color: rgb(63,81,181) !important; }
|
1635 |
+
|
1636 |
+
.mdl-color--indigo {
|
1637 |
+
background-color: rgb(63,81,181) !important; }
|
1638 |
+
|
1639 |
+
.mdl-color-text--indigo-50 {
|
1640 |
+
color: rgb(232,234,246) !important; }
|
1641 |
+
|
1642 |
+
.mdl-color--indigo-50 {
|
1643 |
+
background-color: rgb(232,234,246) !important; }
|
1644 |
+
|
1645 |
+
.mdl-color-text--indigo-100 {
|
1646 |
+
color: rgb(197,202,233) !important; }
|
1647 |
+
|
1648 |
+
.mdl-color--indigo-100 {
|
1649 |
+
background-color: rgb(197,202,233) !important; }
|
1650 |
+
|
1651 |
+
.mdl-color-text--indigo-200 {
|
1652 |
+
color: rgb(159,168,218) !important; }
|
1653 |
+
|
1654 |
+
.mdl-color--indigo-200 {
|
1655 |
+
background-color: rgb(159,168,218) !important; }
|
1656 |
+
|
1657 |
+
.mdl-color-text--indigo-300 {
|
1658 |
+
color: rgb(121,134,203) !important; }
|
1659 |
+
|
1660 |
+
.mdl-color--indigo-300 {
|
1661 |
+
background-color: rgb(121,134,203) !important; }
|
1662 |
+
|
1663 |
+
.mdl-color-text--indigo-400 {
|
1664 |
+
color: rgb(92,107,192) !important; }
|
1665 |
+
|
1666 |
+
.mdl-color--indigo-400 {
|
1667 |
+
background-color: rgb(92,107,192) !important; }
|
1668 |
+
|
1669 |
+
.mdl-color-text--indigo-500 {
|
1670 |
+
color: rgb(63,81,181) !important; }
|
1671 |
+
|
1672 |
+
.mdl-color--indigo-500 {
|
1673 |
+
background-color: rgb(63,81,181) !important; }
|
1674 |
+
|
1675 |
+
.mdl-color-text--indigo-600 {
|
1676 |
+
color: rgb(57,73,171) !important; }
|
1677 |
+
|
1678 |
+
.mdl-color--indigo-600 {
|
1679 |
+
background-color: rgb(57,73,171) !important; }
|
1680 |
+
|
1681 |
+
.mdl-color-text--indigo-700 {
|
1682 |
+
color: rgb(48,63,159) !important; }
|
1683 |
+
|
1684 |
+
.mdl-color--indigo-700 {
|
1685 |
+
background-color: rgb(48,63,159) !important; }
|
1686 |
+
|
1687 |
+
.mdl-color-text--indigo-800 {
|
1688 |
+
color: rgb(40,53,147) !important; }
|
1689 |
+
|
1690 |
+
.mdl-color--indigo-800 {
|
1691 |
+
background-color: rgb(40,53,147) !important; }
|
1692 |
+
|
1693 |
+
.mdl-color-text--indigo-900 {
|
1694 |
+
color: rgb(26,35,126) !important; }
|
1695 |
+
|
1696 |
+
.mdl-color--indigo-900 {
|
1697 |
+
background-color: rgb(26,35,126) !important; }
|
1698 |
+
|
1699 |
+
.mdl-color-text--indigo-A100 {
|
1700 |
+
color: rgb(140,158,255) !important; }
|
1701 |
+
|
1702 |
+
.mdl-color--indigo-A100 {
|
1703 |
+
background-color: rgb(140,158,255) !important; }
|
1704 |
+
|
1705 |
+
.mdl-color-text--indigo-A200 {
|
1706 |
+
color: rgb(83,109,254) !important; }
|
1707 |
+
|
1708 |
+
.mdl-color--indigo-A200 {
|
1709 |
+
background-color: rgb(83,109,254) !important; }
|
1710 |
+
|
1711 |
+
.mdl-color-text--indigo-A400 {
|
1712 |
+
color: rgb(61,90,254) !important; }
|
1713 |
+
|
1714 |
+
.mdl-color--indigo-A400 {
|
1715 |
+
background-color: rgb(61,90,254) !important; }
|
1716 |
+
|
1717 |
+
.mdl-color-text--indigo-A700 {
|
1718 |
+
color: rgb(48,79,254) !important; }
|
1719 |
+
|
1720 |
+
.mdl-color--indigo-A700 {
|
1721 |
+
background-color: rgb(48,79,254) !important; }
|
1722 |
+
|
1723 |
+
.mdl-color-text--blue {
|
1724 |
+
color: rgb(33,150,243) !important; }
|
1725 |
+
|
1726 |
+
.mdl-color--blue {
|
1727 |
+
background-color: rgb(33,150,243) !important; }
|
1728 |
+
|
1729 |
+
.mdl-color-text--blue-50 {
|
1730 |
+
color: rgb(227,242,253) !important; }
|
1731 |
+
|
1732 |
+
.mdl-color--blue-50 {
|
1733 |
+
background-color: rgb(227,242,253) !important; }
|
1734 |
+
|
1735 |
+
.mdl-color-text--blue-100 {
|
1736 |
+
color: rgb(187,222,251) !important; }
|
1737 |
+
|
1738 |
+
.mdl-color--blue-100 {
|
1739 |
+
background-color: rgb(187,222,251) !important; }
|
1740 |
+
|
1741 |
+
.mdl-color-text--blue-200 {
|
1742 |
+
color: rgb(144,202,249) !important; }
|
1743 |
+
|
1744 |
+
.mdl-color--blue-200 {
|
1745 |
+
background-color: rgb(144,202,249) !important; }
|
1746 |
+
|
1747 |
+
.mdl-color-text--blue-300 {
|
1748 |
+
color: rgb(100,181,246) !important; }
|
1749 |
+
|
1750 |
+
.mdl-color--blue-300 {
|
1751 |
+
background-color: rgb(100,181,246) !important; }
|
1752 |
+
|
1753 |
+
.mdl-color-text--blue-400 {
|
1754 |
+
color: rgb(66,165,245) !important; }
|
1755 |
+
|
1756 |
+
.mdl-color--blue-400 {
|
1757 |
+
background-color: rgb(66,165,245) !important; }
|
1758 |
+
|
1759 |
+
.mdl-color-text--blue-500 {
|
1760 |
+
color: rgb(33,150,243) !important; }
|
1761 |
+
|
1762 |
+
.mdl-color--blue-500 {
|
1763 |
+
background-color: rgb(33,150,243) !important; }
|
1764 |
+
|
1765 |
+
.mdl-color-text--blue-600 {
|
1766 |
+
color: rgb(30,136,229) !important; }
|
1767 |
+
|
1768 |
+
.mdl-color--blue-600 {
|
1769 |
+
background-color: rgb(30,136,229) !important; }
|
1770 |
+
|
1771 |
+
.mdl-color-text--blue-700 {
|
1772 |
+
color: rgb(25,118,210) !important; }
|
1773 |
+
|
1774 |
+
.mdl-color--blue-700 {
|
1775 |
+
background-color: rgb(25,118,210) !important; }
|
1776 |
+
|
1777 |
+
.mdl-color-text--blue-800 {
|
1778 |
+
color: rgb(21,101,192) !important; }
|
1779 |
+
|
1780 |
+
.mdl-color--blue-800 {
|
1781 |
+
background-color: rgb(21,101,192) !important; }
|
1782 |
+
|
1783 |
+
.mdl-color-text--blue-900 {
|
1784 |
+
color: rgb(13,71,161) !important; }
|
1785 |
+
|
1786 |
+
.mdl-color--blue-900 {
|
1787 |
+
background-color: rgb(13,71,161) !important; }
|
1788 |
+
|
1789 |
+
.mdl-color-text--blue-A100 {
|
1790 |
+
color: rgb(130,177,255) !important; }
|
1791 |
+
|
1792 |
+
.mdl-color--blue-A100 {
|
1793 |
+
background-color: rgb(130,177,255) !important; }
|
1794 |
+
|
1795 |
+
.mdl-color-text--blue-A200 {
|
1796 |
+
color: rgb(68,138,255) !important; }
|
1797 |
+
|
1798 |
+
.mdl-color--blue-A200 {
|
1799 |
+
background-color: rgb(68,138,255) !important; }
|
1800 |
+
|
1801 |
+
.mdl-color-text--blue-A400 {
|
1802 |
+
color: rgb(41,121,255) !important; }
|
1803 |
+
|
1804 |
+
.mdl-color--blue-A400 {
|
1805 |
+
background-color: rgb(41,121,255) !important; }
|
1806 |
+
|
1807 |
+
.mdl-color-text--blue-A700 {
|
1808 |
+
color: rgb(41,98,255) !important; }
|
1809 |
+
|
1810 |
+
.mdl-color--blue-A700 {
|
1811 |
+
background-color: rgb(41,98,255) !important; }
|
1812 |
+
|
1813 |
+
.mdl-color-text--light-blue {
|
1814 |
+
color: rgb(3,169,244) !important; }
|
1815 |
+
|
1816 |
+
.mdl-color--light-blue {
|
1817 |
+
background-color: rgb(3,169,244) !important; }
|
1818 |
+
|
1819 |
+
.mdl-color-text--light-blue-50 {
|
1820 |
+
color: rgb(225,245,254) !important; }
|
1821 |
+
|
1822 |
+
.mdl-color--light-blue-50 {
|
1823 |
+
background-color: rgb(225,245,254) !important; }
|
1824 |
+
|
1825 |
+
.mdl-color-text--light-blue-100 {
|
1826 |
+
color: rgb(179,229,252) !important; }
|
1827 |
+
|
1828 |
+
.mdl-color--light-blue-100 {
|
1829 |
+
background-color: rgb(179,229,252) !important; }
|
1830 |
+
|
1831 |
+
.mdl-color-text--light-blue-200 {
|
1832 |
+
color: rgb(129,212,250) !important; }
|
1833 |
+
|
1834 |
+
.mdl-color--light-blue-200 {
|
1835 |
+
background-color: rgb(129,212,250) !important; }
|
1836 |
+
|
1837 |
+
.mdl-color-text--light-blue-300 {
|
1838 |
+
color: rgb(79,195,247) !important; }
|
1839 |
+
|
1840 |
+
.mdl-color--light-blue-300 {
|
1841 |
+
background-color: rgb(79,195,247) !important; }
|
1842 |
+
|
1843 |
+
.mdl-color-text--light-blue-400 {
|
1844 |
+
color: rgb(41,182,246) !important; }
|
1845 |
+
|
1846 |
+
.mdl-color--light-blue-400 {
|
1847 |
+
background-color: rgb(41,182,246) !important; }
|
1848 |
+
|
1849 |
+
.mdl-color-text--light-blue-500 {
|
1850 |
+
color: rgb(3,169,244) !important; }
|
1851 |
+
|
1852 |
+
.mdl-color--light-blue-500 {
|
1853 |
+
background-color: rgb(3,169,244) !important; }
|
1854 |
+
|
1855 |
+
.mdl-color-text--light-blue-600 {
|
1856 |
+
color: rgb(3,155,229) !important; }
|
1857 |
+
|
1858 |
+
.mdl-color--light-blue-600 {
|
1859 |
+
background-color: rgb(3,155,229) !important; }
|
1860 |
+
|
1861 |
+
.mdl-color-text--light-blue-700 {
|
1862 |
+
color: rgb(2,136,209) !important; }
|
1863 |
+
|
1864 |
+
.mdl-color--light-blue-700 {
|
1865 |
+
background-color: rgb(2,136,209) !important; }
|
1866 |
+
|
1867 |
+
.mdl-color-text--light-blue-800 {
|
1868 |
+
color: rgb(2,119,189) !important; }
|
1869 |
+
|
1870 |
+
.mdl-color--light-blue-800 {
|
1871 |
+
background-color: rgb(2,119,189) !important; }
|
1872 |
+
|
1873 |
+
.mdl-color-text--light-blue-900 {
|
1874 |
+
color: rgb(1,87,155) !important; }
|
1875 |
+
|
1876 |
+
.mdl-color--light-blue-900 {
|
1877 |
+
background-color: rgb(1,87,155) !important; }
|
1878 |
+
|
1879 |
+
.mdl-color-text--light-blue-A100 {
|
1880 |
+
color: rgb(128,216,255) !important; }
|
1881 |
+
|
1882 |
+
.mdl-color--light-blue-A100 {
|
1883 |
+
background-color: rgb(128,216,255) !important; }
|
1884 |
+
|
1885 |
+
.mdl-color-text--light-blue-A200 {
|
1886 |
+
color: rgb(64,196,255) !important; }
|
1887 |
+
|
1888 |
+
.mdl-color--light-blue-A200 {
|
1889 |
+
background-color: rgb(64,196,255) !important; }
|
1890 |
+
|
1891 |
+
.mdl-color-text--light-blue-A400 {
|
1892 |
+
color: rgb(0,176,255) !important; }
|
1893 |
+
|
1894 |
+
.mdl-color--light-blue-A400 {
|
1895 |
+
background-color: rgb(0,176,255) !important; }
|
1896 |
+
|
1897 |
+
.mdl-color-text--light-blue-A700 {
|
1898 |
+
color: rgb(0,145,234) !important; }
|
1899 |
+
|
1900 |
+
.mdl-color--light-blue-A700 {
|
1901 |
+
background-color: rgb(0,145,234) !important; }
|
1902 |
+
|
1903 |
+
.mdl-color-text--cyan {
|
1904 |
+
color: rgb(0,188,212) !important; }
|
1905 |
+
|
1906 |
+
.mdl-color--cyan {
|
1907 |
+
background-color: rgb(0,188,212) !important; }
|
1908 |
+
|
1909 |
+
.mdl-color-text--cyan-50 {
|
1910 |
+
color: rgb(224,247,250) !important; }
|
1911 |
+
|
1912 |
+
.mdl-color--cyan-50 {
|
1913 |
+
background-color: rgb(224,247,250) !important; }
|
1914 |
+
|
1915 |
+
.mdl-color-text--cyan-100 {
|
1916 |
+
color: rgb(178,235,242) !important; }
|
1917 |
+
|
1918 |
+
.mdl-color--cyan-100 {
|
1919 |
+
background-color: rgb(178,235,242) !important; }
|
1920 |
+
|
1921 |
+
.mdl-color-text--cyan-200 {
|
1922 |
+
color: rgb(128,222,234) !important; }
|
1923 |
+
|
1924 |
+
.mdl-color--cyan-200 {
|
1925 |
+
background-color: rgb(128,222,234) !important; }
|
1926 |
+
|
1927 |
+
.mdl-color-text--cyan-300 {
|
1928 |
+
color: rgb(77,208,225) !important; }
|
1929 |
+
|
1930 |
+
.mdl-color--cyan-300 {
|
1931 |
+
background-color: rgb(77,208,225) !important; }
|
1932 |
+
|
1933 |
+
.mdl-color-text--cyan-400 {
|
1934 |
+
color: rgb(38,198,218) !important; }
|
1935 |
+
|
1936 |
+
.mdl-color--cyan-400 {
|
1937 |
+
background-color: rgb(38,198,218) !important; }
|
1938 |
+
|
1939 |
+
.mdl-color-text--cyan-500 {
|
1940 |
+
color: rgb(0,188,212) !important; }
|
1941 |
+
|
1942 |
+
.mdl-color--cyan-500 {
|
1943 |
+
background-color: rgb(0,188,212) !important; }
|
1944 |
+
|
1945 |
+
.mdl-color-text--cyan-600 {
|
1946 |
+
color: rgb(0,172,193) !important; }
|
1947 |
+
|
1948 |
+
.mdl-color--cyan-600 {
|
1949 |
+
background-color: rgb(0,172,193) !important; }
|
1950 |
+
|
1951 |
+
.mdl-color-text--cyan-700 {
|
1952 |
+
color: rgb(0,151,167) !important; }
|
1953 |
+
|
1954 |
+
.mdl-color--cyan-700 {
|
1955 |
+
background-color: rgb(0,151,167) !important; }
|
1956 |
+
|
1957 |
+
.mdl-color-text--cyan-800 {
|
1958 |
+
color: rgb(0,131,143) !important; }
|
1959 |
+
|
1960 |
+
.mdl-color--cyan-800 {
|
1961 |
+
background-color: rgb(0,131,143) !important; }
|
1962 |
+
|
1963 |
+
.mdl-color-text--cyan-900 {
|
1964 |
+
color: rgb(0,96,100) !important; }
|
1965 |
+
|
1966 |
+
.mdl-color--cyan-900 {
|
1967 |
+
background-color: rgb(0,96,100) !important; }
|
1968 |
+
|
1969 |
+
.mdl-color-text--cyan-A100 {
|
1970 |
+
color: rgb(132,255,255) !important; }
|
1971 |
+
|
1972 |
+
.mdl-color--cyan-A100 {
|
1973 |
+
background-color: rgb(132,255,255) !important; }
|
1974 |
+
|
1975 |
+
.mdl-color-text--cyan-A200 {
|
1976 |
+
color: rgb(24,255,255) !important; }
|
1977 |
+
|
1978 |
+
.mdl-color--cyan-A200 {
|
1979 |
+
background-color: rgb(24,255,255) !important; }
|
1980 |
+
|
1981 |
+
.mdl-color-text--cyan-A400 {
|
1982 |
+
color: rgb(0,229,255) !important; }
|
1983 |
+
|
1984 |
+
.mdl-color--cyan-A400 {
|
1985 |
+
background-color: rgb(0,229,255) !important; }
|
1986 |
+
|
1987 |
+
.mdl-color-text--cyan-A700 {
|
1988 |
+
color: rgb(0,184,212) !important; }
|
1989 |
+
|
1990 |
+
.mdl-color--cyan-A700 {
|
1991 |
+
background-color: rgb(0,184,212) !important; }
|
1992 |
+
|
1993 |
+
.mdl-color-text--teal {
|
1994 |
+
color: rgb(0,150,136) !important; }
|
1995 |
+
|
1996 |
+
.mdl-color--teal {
|
1997 |
+
background-color: rgb(0,150,136) !important; }
|
1998 |
+
|
1999 |
+
.mdl-color-text--teal-50 {
|
2000 |
+
color: rgb(224,242,241) !important; }
|
2001 |
+
|
2002 |
+
.mdl-color--teal-50 {
|
2003 |
+
background-color: rgb(224,242,241) !important; }
|
2004 |
+
|
2005 |
+
.mdl-color-text--teal-100 {
|
2006 |
+
color: rgb(178,223,219) !important; }
|
2007 |
+
|
2008 |
+
.mdl-color--teal-100 {
|
2009 |
+
background-color: rgb(178,223,219) !important; }
|
2010 |
+
|
2011 |
+
.mdl-color-text--teal-200 {
|
2012 |
+
color: rgb(128,203,196) !important; }
|
2013 |
+
|
2014 |
+
.mdl-color--teal-200 {
|
2015 |
+
background-color: rgb(128,203,196) !important; }
|
2016 |
+
|
2017 |
+
.mdl-color-text--teal-300 {
|
2018 |
+
color: rgb(77,182,172) !important; }
|
2019 |
+
|
2020 |
+
.mdl-color--teal-300 {
|
2021 |
+
background-color: rgb(77,182,172) !important; }
|
2022 |
+
|
2023 |
+
.mdl-color-text--teal-400 {
|
2024 |
+
color: rgb(38,166,154) !important; }
|
2025 |
+
|
2026 |
+
.mdl-color--teal-400 {
|
2027 |
+
background-color: rgb(38,166,154) !important; }
|
2028 |
+
|
2029 |
+
.mdl-color-text--teal-500 {
|
2030 |
+
color: rgb(0,150,136) !important; }
|
2031 |
+
|
2032 |
+
.mdl-color--teal-500 {
|
2033 |
+
background-color: rgb(0,150,136) !important; }
|
2034 |
+
|
2035 |
+
.mdl-color-text--teal-600 {
|
2036 |
+
color: rgb(0,137,123) !important; }
|
2037 |
+
|
2038 |
+
.mdl-color--teal-600 {
|
2039 |
+
background-color: rgb(0,137,123) !important; }
|
2040 |
+
|
2041 |
+
.mdl-color-text--teal-700 {
|
2042 |
+
color: rgb(0,121,107) !important; }
|
2043 |
+
|
2044 |
+
.mdl-color--teal-700 {
|
2045 |
+
background-color: rgb(0,121,107) !important; }
|
2046 |
+
|
2047 |
+
.mdl-color-text--teal-800 {
|
2048 |
+
color: rgb(0,105,92) !important; }
|
2049 |
+
|
2050 |
+
.mdl-color--teal-800 {
|
2051 |
+
background-color: rgb(0,105,92) !important; }
|
2052 |
+
|
2053 |
+
.mdl-color-text--teal-900 {
|
2054 |
+
color: rgb(0,77,64) !important; }
|
2055 |
+
|
2056 |
+
.mdl-color--teal-900 {
|
2057 |
+
background-color: rgb(0,77,64) !important; }
|
2058 |
+
|
2059 |
+
.mdl-color-text--teal-A100 {
|
2060 |
+
color: rgb(167,255,235) !important; }
|
2061 |
+
|
2062 |
+
.mdl-color--teal-A100 {
|
2063 |
+
background-color: rgb(167,255,235) !important; }
|
2064 |
+
|
2065 |
+
.mdl-color-text--teal-A200 {
|
2066 |
+
color: rgb(100,255,218) !important; }
|
2067 |
+
|
2068 |
+
.mdl-color--teal-A200 {
|
2069 |
+
background-color: rgb(100,255,218) !important; }
|
2070 |
+
|
2071 |
+
.mdl-color-text--teal-A400 {
|
2072 |
+
color: rgb(29,233,182) !important; }
|
2073 |
+
|
2074 |
+
.mdl-color--teal-A400 {
|
2075 |
+
background-color: rgb(29,233,182) !important; }
|
2076 |
+
|
2077 |
+
.mdl-color-text--teal-A700 {
|
2078 |
+
color: rgb(0,191,165) !important; }
|
2079 |
+
|
2080 |
+
.mdl-color--teal-A700 {
|
2081 |
+
background-color: rgb(0,191,165) !important; }
|
2082 |
+
|
2083 |
+
.mdl-color-text--green {
|
2084 |
+
color: rgb(76,175,80) !important; }
|
2085 |
+
|
2086 |
+
.mdl-color--green {
|
2087 |
+
background-color: rgb(76,175,80) !important; }
|
2088 |
+
|
2089 |
+
.mdl-color-text--green-50 {
|
2090 |
+
color: rgb(232,245,233) !important; }
|
2091 |
+
|
2092 |
+
.mdl-color--green-50 {
|
2093 |
+
background-color: rgb(232,245,233) !important; }
|
2094 |
+
|
2095 |
+
.mdl-color-text--green-100 {
|
2096 |
+
color: rgb(200,230,201) !important; }
|
2097 |
+
|
2098 |
+
.mdl-color--green-100 {
|
2099 |
+
background-color: rgb(200,230,201) !important; }
|
2100 |
+
|
2101 |
+
.mdl-color-text--green-200 {
|
2102 |
+
color: rgb(165,214,167) !important; }
|
2103 |
+
|
2104 |
+
.mdl-color--green-200 {
|
2105 |
+
background-color: rgb(165,214,167) !important; }
|
2106 |
+
|
2107 |
+
.mdl-color-text--green-300 {
|
2108 |
+
color: rgb(129,199,132) !important; }
|
2109 |
+
|
2110 |
+
.mdl-color--green-300 {
|
2111 |
+
background-color: rgb(129,199,132) !important; }
|
2112 |
+
|
2113 |
+
.mdl-color-text--green-400 {
|
2114 |
+
color: rgb(102,187,106) !important; }
|
2115 |
+
|
2116 |
+
.mdl-color--green-400 {
|
2117 |
+
background-color: rgb(102,187,106) !important; }
|
2118 |
+
|
2119 |
+
.mdl-color-text--green-500 {
|
2120 |
+
color: rgb(76,175,80) !important; }
|
2121 |
+
|
2122 |
+
.mdl-color--green-500 {
|
2123 |
+
background-color: rgb(76,175,80) !important; }
|
2124 |
+
|
2125 |
+
.mdl-color-text--green-600 {
|
2126 |
+
color: rgb(67,160,71) !important; }
|
2127 |
+
|
2128 |
+
.mdl-color--green-600 {
|
2129 |
+
background-color: rgb(67,160,71) !important; }
|
2130 |
+
|
2131 |
+
.mdl-color-text--green-700 {
|
2132 |
+
color: rgb(56,142,60) !important; }
|
2133 |
+
|
2134 |
+
.mdl-color--green-700 {
|
2135 |
+
background-color: rgb(56,142,60) !important; }
|
2136 |
+
|
2137 |
+
.mdl-color-text--green-800 {
|
2138 |
+
color: rgb(46,125,50) !important; }
|
2139 |
+
|
2140 |
+
.mdl-color--green-800 {
|
2141 |
+
background-color: rgb(46,125,50) !important; }
|
2142 |
+
|
2143 |
+
.mdl-color-text--green-900 {
|
2144 |
+
color: rgb(27,94,32) !important; }
|
2145 |
+
|
2146 |
+
.mdl-color--green-900 {
|
2147 |
+
background-color: rgb(27,94,32) !important; }
|
2148 |
+
|
2149 |
+
.mdl-color-text--green-A100 {
|
2150 |
+
color: rgb(185,246,202) !important; }
|
2151 |
+
|
2152 |
+
.mdl-color--green-A100 {
|
2153 |
+
background-color: rgb(185,246,202) !important; }
|
2154 |
+
|
2155 |
+
.mdl-color-text--green-A200 {
|
2156 |
+
color: rgb(105,240,174) !important; }
|
2157 |
+
|
2158 |
+
.mdl-color--green-A200 {
|
2159 |
+
background-color: rgb(105,240,174) !important; }
|
2160 |
+
|
2161 |
+
.mdl-color-text--green-A400 {
|
2162 |
+
color: rgb(0,230,118) !important; }
|
2163 |
+
|
2164 |
+
.mdl-color--green-A400 {
|
2165 |
+
background-color: rgb(0,230,118) !important; }
|
2166 |
+
|
2167 |
+
.mdl-color-text--green-A700 {
|
2168 |
+
color: rgb(0,200,83) !important; }
|
2169 |
+
|
2170 |
+
.mdl-color--green-A700 {
|
2171 |
+
background-color: rgb(0,200,83) !important; }
|
2172 |
+
|
2173 |
+
.mdl-color-text--light-green {
|
2174 |
+
color: rgb(139,195,74) !important; }
|
2175 |
+
|
2176 |
+
.mdl-color--light-green {
|
2177 |
+
background-color: rgb(139,195,74) !important; }
|
2178 |
+
|
2179 |
+
.mdl-color-text--light-green-50 {
|
2180 |
+
color: rgb(241,248,233) !important; }
|
2181 |
+
|
2182 |
+
.mdl-color--light-green-50 {
|
2183 |
+
background-color: rgb(241,248,233) !important; }
|
2184 |
+
|
2185 |
+
.mdl-color-text--light-green-100 {
|
2186 |
+
color: rgb(220,237,200) !important; }
|
2187 |
+
|
2188 |
+
.mdl-color--light-green-100 {
|
2189 |
+
background-color: rgb(220,237,200) !important; }
|
2190 |
+
|
2191 |
+
.mdl-color-text--light-green-200 {
|
2192 |
+
color: rgb(197,225,165) !important; }
|
2193 |
+
|
2194 |
+
.mdl-color--light-green-200 {
|
2195 |
+
background-color: rgb(197,225,165) !important; }
|
2196 |
+
|
2197 |
+
.mdl-color-text--light-green-300 {
|
2198 |
+
color: rgb(174,213,129) !important; }
|
2199 |
+
|
2200 |
+
.mdl-color--light-green-300 {
|
2201 |
+
background-color: rgb(174,213,129) !important; }
|
2202 |
+
|
2203 |
+
.mdl-color-text--light-green-400 {
|
2204 |
+
color: rgb(156,204,101) !important; }
|
2205 |
+
|
2206 |
+
.mdl-color--light-green-400 {
|
2207 |
+
background-color: rgb(156,204,101) !important; }
|
2208 |
+
|
2209 |
+
.mdl-color-text--light-green-500 {
|
2210 |
+
color: rgb(139,195,74) !important; }
|
2211 |
+
|
2212 |
+
.mdl-color--light-green-500 {
|
2213 |
+
background-color: rgb(139,195,74) !important; }
|
2214 |
+
|
2215 |
+
.mdl-color-text--light-green-600 {
|
2216 |
+
color: rgb(124,179,66) !important; }
|
2217 |
+
|
2218 |
+
.mdl-color--light-green-600 {
|
2219 |
+
background-color: rgb(124,179,66) !important; }
|
2220 |
+
|
2221 |
+
.mdl-color-text--light-green-700 {
|
2222 |
+
color: rgb(104,159,56) !important; }
|
2223 |
+
|
2224 |
+
.mdl-color--light-green-700 {
|
2225 |
+
background-color: rgb(104,159,56) !important; }
|
2226 |
+
|
2227 |
+
.mdl-color-text--light-green-800 {
|
2228 |
+
color: rgb(85,139,47) !important; }
|
2229 |
+
|
2230 |
+
.mdl-color--light-green-800 {
|
2231 |
+
background-color: rgb(85,139,47) !important; }
|
2232 |
+
|
2233 |
+
.mdl-color-text--light-green-900 {
|
2234 |
+
color: rgb(51,105,30) !important; }
|
2235 |
+
|
2236 |
+
.mdl-color--light-green-900 {
|
2237 |
+
background-color: rgb(51,105,30) !important; }
|
2238 |
+
|
2239 |
+
.mdl-color-text--light-green-A100 {
|
2240 |
+
color: rgb(204,255,144) !important; }
|
2241 |
+
|
2242 |
+
.mdl-color--light-green-A100 {
|
2243 |
+
background-color: rgb(204,255,144) !important; }
|
2244 |
+
|
2245 |
+
.mdl-color-text--light-green-A200 {
|
2246 |
+
color: rgb(178,255,89) !important; }
|
2247 |
+
|
2248 |
+
.mdl-color--light-green-A200 {
|
2249 |
+
background-color: rgb(178,255,89) !important; }
|
2250 |
+
|
2251 |
+
.mdl-color-text--light-green-A400 {
|
2252 |
+
color: rgb(118,255,3) !important; }
|
2253 |
+
|
2254 |
+
.mdl-color--light-green-A400 {
|
2255 |
+
background-color: rgb(118,255,3) !important; }
|
2256 |
+
|
2257 |
+
.mdl-color-text--light-green-A700 {
|
2258 |
+
color: rgb(100,221,23) !important; }
|
2259 |
+
|
2260 |
+
.mdl-color--light-green-A700 {
|
2261 |
+
background-color: rgb(100,221,23) !important; }
|
2262 |
+
|
2263 |
+
.mdl-color-text--lime {
|
2264 |
+
color: rgb(205,220,57) !important; }
|
2265 |
+
|
2266 |
+
.mdl-color--lime {
|
2267 |
+
background-color: rgb(205,220,57) !important; }
|
2268 |
+
|
2269 |
+
.mdl-color-text--lime-50 {
|
2270 |
+
color: rgb(249,251,231) !important; }
|
2271 |
+
|
2272 |
+
.mdl-color--lime-50 {
|
2273 |
+
background-color: rgb(249,251,231) !important; }
|
2274 |
+
|
2275 |
+
.mdl-color-text--lime-100 {
|
2276 |
+
color: rgb(240,244,195) !important; }
|
2277 |
+
|
2278 |
+
.mdl-color--lime-100 {
|
2279 |
+
background-color: rgb(240,244,195) !important; }
|
2280 |
+
|
2281 |
+
.mdl-color-text--lime-200 {
|
2282 |
+
color: rgb(230,238,156) !important; }
|
2283 |
+
|
2284 |
+
.mdl-color--lime-200 {
|
2285 |
+
background-color: rgb(230,238,156) !important; }
|
2286 |
+
|
2287 |
+
.mdl-color-text--lime-300 {
|
2288 |
+
color: rgb(220,231,117) !important; }
|
2289 |
+
|
2290 |
+
.mdl-color--lime-300 {
|
2291 |
+
background-color: rgb(220,231,117) !important; }
|
2292 |
+
|
2293 |
+
.mdl-color-text--lime-400 {
|
2294 |
+
color: rgb(212,225,87) !important; }
|
2295 |
+
|
2296 |
+
.mdl-color--lime-400 {
|
2297 |
+
background-color: rgb(212,225,87) !important; }
|
2298 |
+
|
2299 |
+
.mdl-color-text--lime-500 {
|
2300 |
+
color: rgb(205,220,57) !important; }
|
2301 |
+
|
2302 |
+
.mdl-color--lime-500 {
|
2303 |
+
background-color: rgb(205,220,57) !important; }
|
2304 |
+
|
2305 |
+
.mdl-color-text--lime-600 {
|
2306 |
+
color: rgb(192,202,51) !important; }
|
2307 |
+
|
2308 |
+
.mdl-color--lime-600 {
|
2309 |
+
background-color: rgb(192,202,51) !important; }
|
2310 |
+
|
2311 |
+
.mdl-color-text--lime-700 {
|
2312 |
+
color: rgb(175,180,43) !important; }
|
2313 |
+
|
2314 |
+
.mdl-color--lime-700 {
|
2315 |
+
background-color: rgb(175,180,43) !important; }
|
2316 |
+
|
2317 |
+
.mdl-color-text--lime-800 {
|
2318 |
+
color: rgb(158,157,36) !important; }
|
2319 |
+
|
2320 |
+
.mdl-color--lime-800 {
|
2321 |
+
background-color: rgb(158,157,36) !important; }
|
2322 |
+
|
2323 |
+
.mdl-color-text--lime-900 {
|
2324 |
+
color: rgb(130,119,23) !important; }
|
2325 |
+
|
2326 |
+
.mdl-color--lime-900 {
|
2327 |
+
background-color: rgb(130,119,23) !important; }
|
2328 |
+
|
2329 |
+
.mdl-color-text--lime-A100 {
|
2330 |
+
color: rgb(244,255,129) !important; }
|
2331 |
+
|
2332 |
+
.mdl-color--lime-A100 {
|
2333 |
+
background-color: rgb(244,255,129) !important; }
|
2334 |
+
|
2335 |
+
.mdl-color-text--lime-A200 {
|
2336 |
+
color: rgb(238,255,65) !important; }
|
2337 |
+
|
2338 |
+
.mdl-color--lime-A200 {
|
2339 |
+
background-color: rgb(238,255,65) !important; }
|
2340 |
+
|
2341 |
+
.mdl-color-text--lime-A400 {
|
2342 |
+
color: rgb(198,255,0) !important; }
|
2343 |
+
|
2344 |
+
.mdl-color--lime-A400 {
|
2345 |
+
background-color: rgb(198,255,0) !important; }
|
2346 |
+
|
2347 |
+
.mdl-color-text--lime-A700 {
|
2348 |
+
color: rgb(174,234,0) !important; }
|
2349 |
+
|
2350 |
+
.mdl-color--lime-A700 {
|
2351 |
+
background-color: rgb(174,234,0) !important; }
|
2352 |
+
|
2353 |
+
.mdl-color-text--yellow {
|
2354 |
+
color: rgb(255,235,59) !important; }
|
2355 |
+
|
2356 |
+
.mdl-color--yellow {
|
2357 |
+
background-color: rgb(255,235,59) !important; }
|
2358 |
+
|
2359 |
+
.mdl-color-text--yellow-50 {
|
2360 |
+
color: rgb(255,253,231) !important; }
|
2361 |
+
|
2362 |
+
.mdl-color--yellow-50 {
|
2363 |
+
background-color: rgb(255,253,231) !important; }
|
2364 |
+
|
2365 |
+
.mdl-color-text--yellow-100 {
|
2366 |
+
color: rgb(255,249,196) !important; }
|
2367 |
+
|
2368 |
+
.mdl-color--yellow-100 {
|
2369 |
+
background-color: rgb(255,249,196) !important; }
|
2370 |
+
|
2371 |
+
.mdl-color-text--yellow-200 {
|
2372 |
+
color: rgb(255,245,157) !important; }
|
2373 |
+
|
2374 |
+
.mdl-color--yellow-200 {
|
2375 |
+
background-color: rgb(255,245,157) !important; }
|
2376 |
+
|
2377 |
+
.mdl-color-text--yellow-300 {
|
2378 |
+
color: rgb(255,241,118) !important; }
|
2379 |
+
|
2380 |
+
.mdl-color--yellow-300 {
|
2381 |
+
background-color: rgb(255,241,118) !important; }
|
2382 |
+
|
2383 |
+
.mdl-color-text--yellow-400 {
|
2384 |
+
color: rgb(255,238,88) !important; }
|
2385 |
+
|
2386 |
+
.mdl-color--yellow-400 {
|
2387 |
+
background-color: rgb(255,238,88) !important; }
|
2388 |
+
|
2389 |
+
.mdl-color-text--yellow-500 {
|
2390 |
+
color: rgb(255,235,59) !important; }
|
2391 |
+
|
2392 |
+
.mdl-color--yellow-500 {
|
2393 |
+
background-color: rgb(255,235,59) !important; }
|
2394 |
+
|
2395 |
+
.mdl-color-text--yellow-600 {
|
2396 |
+
color: rgb(253,216,53) !important; }
|
2397 |
+
|
2398 |
+
.mdl-color--yellow-600 {
|
2399 |
+
background-color: rgb(253,216,53) !important; }
|
2400 |
+
|
2401 |
+
.mdl-color-text--yellow-700 {
|
2402 |
+
color: rgb(251,192,45) !important; }
|
2403 |
+
|
2404 |
+
.mdl-color--yellow-700 {
|
2405 |
+
background-color: rgb(251,192,45) !important; }
|
2406 |
+
|
2407 |
+
.mdl-color-text--yellow-800 {
|
2408 |
+
color: rgb(249,168,37) !important; }
|
2409 |
+
|
2410 |
+
.mdl-color--yellow-800 {
|
2411 |
+
background-color: rgb(249,168,37) !important; }
|
2412 |
+
|
2413 |
+
.mdl-color-text--yellow-900 {
|
2414 |
+
color: rgb(245,127,23) !important; }
|
2415 |
+
|
2416 |
+
.mdl-color--yellow-900 {
|
2417 |
+
background-color: rgb(245,127,23) !important; }
|
2418 |
+
|
2419 |
+
.mdl-color-text--yellow-A100 {
|
2420 |
+
color: rgb(255,255,141) !important; }
|
2421 |
+
|
2422 |
+
.mdl-color--yellow-A100 {
|
2423 |
+
background-color: rgb(255,255,141) !important; }
|
2424 |
+
|
2425 |
+
.mdl-color-text--yellow-A200 {
|
2426 |
+
color: rgb(255,255,0) !important; }
|
2427 |
+
|
2428 |
+
.mdl-color--yellow-A200 {
|
2429 |
+
background-color: rgb(255,255,0) !important; }
|
2430 |
+
|
2431 |
+
.mdl-color-text--yellow-A400 {
|
2432 |
+
color: rgb(255,234,0) !important; }
|
2433 |
+
|
2434 |
+
.mdl-color--yellow-A400 {
|
2435 |
+
background-color: rgb(255,234,0) !important; }
|
2436 |
+
|
2437 |
+
.mdl-color-text--yellow-A700 {
|
2438 |
+
color: rgb(255,214,0) !important; }
|
2439 |
+
|
2440 |
+
.mdl-color--yellow-A700 {
|
2441 |
+
background-color: rgb(255,214,0) !important; }
|
2442 |
+
|
2443 |
+
.mdl-color-text--amber {
|
2444 |
+
color: rgb(255,193,7) !important; }
|
2445 |
+
|
2446 |
+
.mdl-color--amber {
|
2447 |
+
background-color: rgb(255,193,7) !important; }
|
2448 |
+
|
2449 |
+
.mdl-color-text--amber-50 {
|
2450 |
+
color: rgb(255,248,225) !important; }
|
2451 |
+
|
2452 |
+
.mdl-color--amber-50 {
|
2453 |
+
background-color: rgb(255,248,225) !important; }
|
2454 |
+
|
2455 |
+
.mdl-color-text--amber-100 {
|
2456 |
+
color: rgb(255,236,179) !important; }
|
2457 |
+
|
2458 |
+
.mdl-color--amber-100 {
|
2459 |
+
background-color: rgb(255,236,179) !important; }
|
2460 |
+
|
2461 |
+
.mdl-color-text--amber-200 {
|
2462 |
+
color: rgb(255,224,130) !important; }
|
2463 |
+
|
2464 |
+
.mdl-color--amber-200 {
|
2465 |
+
background-color: rgb(255,224,130) !important; }
|
2466 |
+
|
2467 |
+
.mdl-color-text--amber-300 {
|
2468 |
+
color: rgb(255,213,79) !important; }
|
2469 |
+
|
2470 |
+
.mdl-color--amber-300 {
|
2471 |
+
background-color: rgb(255,213,79) !important; }
|
2472 |
+
|
2473 |
+
.mdl-color-text--amber-400 {
|
2474 |
+
color: rgb(255,202,40) !important; }
|
2475 |
+
|
2476 |
+
.mdl-color--amber-400 {
|
2477 |
+
background-color: rgb(255,202,40) !important; }
|
2478 |
+
|
2479 |
+
.mdl-color-text--amber-500 {
|
2480 |
+
color: rgb(255,193,7) !important; }
|
2481 |
+
|
2482 |
+
.mdl-color--amber-500 {
|
2483 |
+
background-color: rgb(255,193,7) !important; }
|
2484 |
+
|
2485 |
+
.mdl-color-text--amber-600 {
|
2486 |
+
color: rgb(255,179,0) !important; }
|
2487 |
+
|
2488 |
+
.mdl-color--amber-600 {
|
2489 |
+
background-color: rgb(255,179,0) !important; }
|
2490 |
+
|
2491 |
+
.mdl-color-text--amber-700 {
|
2492 |
+
color: rgb(255,160,0) !important; }
|
2493 |
+
|
2494 |
+
.mdl-color--amber-700 {
|
2495 |
+
background-color: rgb(255,160,0) !important; }
|
2496 |
+
|
2497 |
+
.mdl-color-text--amber-800 {
|
2498 |
+
color: rgb(255,143,0) !important; }
|
2499 |
+
|
2500 |
+
.mdl-color--amber-800 {
|
2501 |
+
background-color: rgb(255,143,0) !important; }
|
2502 |
+
|
2503 |
+
.mdl-color-text--amber-900 {
|
2504 |
+
color: rgb(255,111,0) !important; }
|
2505 |
+
|
2506 |
+
.mdl-color--amber-900 {
|
2507 |
+
background-color: rgb(255,111,0) !important; }
|
2508 |
+
|
2509 |
+
.mdl-color-text--amber-A100 {
|
2510 |
+
color: rgb(255,229,127) !important; }
|
2511 |
+
|
2512 |
+
.mdl-color--amber-A100 {
|
2513 |
+
background-color: rgb(255,229,127) !important; }
|
2514 |
+
|
2515 |
+
.mdl-color-text--amber-A200 {
|
2516 |
+
color: rgb(255,215,64) !important; }
|
2517 |
+
|
2518 |
+
.mdl-color--amber-A200 {
|
2519 |
+
background-color: rgb(255,215,64) !important; }
|
2520 |
+
|
2521 |
+
.mdl-color-text--amber-A400 {
|
2522 |
+
color: rgb(255,196,0) !important; }
|
2523 |
+
|
2524 |
+
.mdl-color--amber-A400 {
|
2525 |
+
background-color: rgb(255,196,0) !important; }
|
2526 |
+
|
2527 |
+
.mdl-color-text--amber-A700 {
|
2528 |
+
color: rgb(255,171,0) !important; }
|
2529 |
+
|
2530 |
+
.mdl-color--amber-A700 {
|
2531 |
+
background-color: rgb(255,171,0) !important; }
|
2532 |
+
|
2533 |
+
.mdl-color-text--orange {
|
2534 |
+
color: rgb(255,152,0) !important; }
|
2535 |
+
|
2536 |
+
.mdl-color--orange {
|
2537 |
+
background-color: rgb(255,152,0) !important; }
|
2538 |
+
|
2539 |
+
.mdl-color-text--orange-50 {
|
2540 |
+
color: rgb(255,243,224) !important; }
|
2541 |
+
|
2542 |
+
.mdl-color--orange-50 {
|
2543 |
+
background-color: rgb(255,243,224) !important; }
|
2544 |
+
|
2545 |
+
.mdl-color-text--orange-100 {
|
2546 |
+
color: rgb(255,224,178) !important; }
|
2547 |
+
|
2548 |
+
.mdl-color--orange-100 {
|
2549 |
+
background-color: rgb(255,224,178) !important; }
|
2550 |
+
|
2551 |
+
.mdl-color-text--orange-200 {
|
2552 |
+
color: rgb(255,204,128) !important; }
|
2553 |
+
|
2554 |
+
.mdl-color--orange-200 {
|
2555 |
+
background-color: rgb(255,204,128) !important; }
|
2556 |
+
|
2557 |
+
.mdl-color-text--orange-300 {
|
2558 |
+
color: rgb(255,183,77) !important; }
|
2559 |
+
|
2560 |
+
.mdl-color--orange-300 {
|
2561 |
+
background-color: rgb(255,183,77) !important; }
|
2562 |
+
|
2563 |
+
.mdl-color-text--orange-400 {
|
2564 |
+
color: rgb(255,167,38) !important; }
|
2565 |
+
|
2566 |
+
.mdl-color--orange-400 {
|
2567 |
+
background-color: rgb(255,167,38) !important; }
|
2568 |
+
|
2569 |
+
.mdl-color-text--orange-500 {
|
2570 |
+
color: rgb(255,152,0) !important; }
|
2571 |
+
|
2572 |
+
.mdl-color--orange-500 {
|
2573 |
+
background-color: rgb(255,152,0) !important; }
|
2574 |
+
|
2575 |
+
.mdl-color-text--orange-600 {
|
2576 |
+
color: rgb(251,140,0) !important; }
|
2577 |
+
|
2578 |
+
.mdl-color--orange-600 {
|
2579 |
+
background-color: rgb(251,140,0) !important; }
|
2580 |
+
|
2581 |
+
.mdl-color-text--orange-700 {
|
2582 |
+
color: rgb(245,124,0) !important; }
|
2583 |
+
|
2584 |
+
.mdl-color--orange-700 {
|
2585 |
+
background-color: rgb(245,124,0) !important; }
|
2586 |
+
|
2587 |
+
.mdl-color-text--orange-800 {
|
2588 |
+
color: rgb(239,108,0) !important; }
|
2589 |
+
|
2590 |
+
.mdl-color--orange-800 {
|
2591 |
+
background-color: rgb(239,108,0) !important; }
|
2592 |
+
|
2593 |
+
.mdl-color-text--orange-900 {
|
2594 |
+
color: rgb(230,81,0) !important; }
|
2595 |
+
|
2596 |
+
.mdl-color--orange-900 {
|
2597 |
+
background-color: rgb(230,81,0) !important; }
|
2598 |
+
|
2599 |
+
.mdl-color-text--orange-A100 {
|
2600 |
+
color: rgb(255,209,128) !important; }
|
2601 |
+
|
2602 |
+
.mdl-color--orange-A100 {
|
2603 |
+
background-color: rgb(255,209,128) !important; }
|
2604 |
+
|
2605 |
+
.mdl-color-text--orange-A200 {
|
2606 |
+
color: rgb(255,171,64) !important; }
|
2607 |
+
|
2608 |
+
.mdl-color--orange-A200 {
|
2609 |
+
background-color: rgb(255,171,64) !important; }
|
2610 |
+
|
2611 |
+
.mdl-color-text--orange-A400 {
|
2612 |
+
color: rgb(255,145,0) !important; }
|
2613 |
+
|
2614 |
+
.mdl-color--orange-A400 {
|
2615 |
+
background-color: rgb(255,145,0) !important; }
|
2616 |
+
|
2617 |
+
.mdl-color-text--orange-A700 {
|
2618 |
+
color: rgb(255,109,0) !important; }
|
2619 |
+
|
2620 |
+
.mdl-color--orange-A700 {
|
2621 |
+
background-color: rgb(255,109,0) !important; }
|
2622 |
+
|
2623 |
+
.mdl-color-text--deep-orange {
|
2624 |
+
color: rgb(255,87,34) !important; }
|
2625 |
+
|
2626 |
+
.mdl-color--deep-orange {
|
2627 |
+
background-color: rgb(255,87,34) !important; }
|
2628 |
+
|
2629 |
+
.mdl-color-text--deep-orange-50 {
|
2630 |
+
color: rgb(251,233,231) !important; }
|
2631 |
+
|
2632 |
+
.mdl-color--deep-orange-50 {
|
2633 |
+
background-color: rgb(251,233,231) !important; }
|
2634 |
+
|
2635 |
+
.mdl-color-text--deep-orange-100 {
|
2636 |
+
color: rgb(255,204,188) !important; }
|
2637 |
+
|
2638 |
+
.mdl-color--deep-orange-100 {
|
2639 |
+
background-color: rgb(255,204,188) !important; }
|
2640 |
+
|
2641 |
+
.mdl-color-text--deep-orange-200 {
|
2642 |
+
color: rgb(255,171,145) !important; }
|
2643 |
+
|
2644 |
+
.mdl-color--deep-orange-200 {
|
2645 |
+
background-color: rgb(255,171,145) !important; }
|
2646 |
+
|
2647 |
+
.mdl-color-text--deep-orange-300 {
|
2648 |
+
color: rgb(255,138,101) !important; }
|
2649 |
+
|
2650 |
+
.mdl-color--deep-orange-300 {
|
2651 |
+
background-color: rgb(255,138,101) !important; }
|
2652 |
+
|
2653 |
+
.mdl-color-text--deep-orange-400 {
|
2654 |
+
color: rgb(255,112,67) !important; }
|
2655 |
+
|
2656 |
+
.mdl-color--deep-orange-400 {
|
2657 |
+
background-color: rgb(255,112,67) !important; }
|
2658 |
+
|
2659 |
+
.mdl-color-text--deep-orange-500 {
|
2660 |
+
color: rgb(255,87,34) !important; }
|
2661 |
+
|
2662 |
+
.mdl-color--deep-orange-500 {
|
2663 |
+
background-color: rgb(255,87,34) !important; }
|
2664 |
+
|
2665 |
+
.mdl-color-text--deep-orange-600 {
|
2666 |
+
color: rgb(244,81,30) !important; }
|
2667 |
+
|
2668 |
+
.mdl-color--deep-orange-600 {
|
2669 |
+
background-color: rgb(244,81,30) !important; }
|
2670 |
+
|
2671 |
+
.mdl-color-text--deep-orange-700 {
|
2672 |
+
color: rgb(230,74,25) !important; }
|
2673 |
+
|
2674 |
+
.mdl-color--deep-orange-700 {
|
2675 |
+
background-color: rgb(230,74,25) !important; }
|
2676 |
+
|
2677 |
+
.mdl-color-text--deep-orange-800 {
|
2678 |
+
color: rgb(216,67,21) !important; }
|
2679 |
+
|
2680 |
+
.mdl-color--deep-orange-800 {
|
2681 |
+
background-color: rgb(216,67,21) !important; }
|
2682 |
+
|
2683 |
+
.mdl-color-text--deep-orange-900 {
|
2684 |
+
color: rgb(191,54,12) !important; }
|
2685 |
+
|
2686 |
+
.mdl-color--deep-orange-900 {
|
2687 |
+
background-color: rgb(191,54,12) !important; }
|
2688 |
+
|
2689 |
+
.mdl-color-text--deep-orange-A100 {
|
2690 |
+
color: rgb(255,158,128) !important; }
|
2691 |
+
|
2692 |
+
.mdl-color--deep-orange-A100 {
|
2693 |
+
background-color: rgb(255,158,128) !important; }
|
2694 |
+
|
2695 |
+
.mdl-color-text--deep-orange-A200 {
|
2696 |
+
color: rgb(255,110,64) !important; }
|
2697 |
+
|
2698 |
+
.mdl-color--deep-orange-A200 {
|
2699 |
+
background-color: rgb(255,110,64) !important; }
|
2700 |
+
|
2701 |
+
.mdl-color-text--deep-orange-A400 {
|
2702 |
+
color: rgb(255,61,0) !important; }
|
2703 |
+
|
2704 |
+
.mdl-color--deep-orange-A400 {
|
2705 |
+
background-color: rgb(255,61,0) !important; }
|
2706 |
+
|
2707 |
+
.mdl-color-text--deep-orange-A700 {
|
2708 |
+
color: rgb(221,44,0) !important; }
|
2709 |
+
|
2710 |
+
.mdl-color--deep-orange-A700 {
|
2711 |
+
background-color: rgb(221,44,0) !important; }
|
2712 |
+
|
2713 |
+
.mdl-color-text--brown {
|
2714 |
+
color: rgb(121,85,72) !important; }
|
2715 |
+
|
2716 |
+
.mdl-color--brown {
|
2717 |
+
background-color: rgb(121,85,72) !important; }
|
2718 |
+
|
2719 |
+
.mdl-color-text--brown-50 {
|
2720 |
+
color: rgb(239,235,233) !important; }
|
2721 |
+
|
2722 |
+
.mdl-color--brown-50 {
|
2723 |
+
background-color: rgb(239,235,233) !important; }
|
2724 |
+
|
2725 |
+
.mdl-color-text--brown-100 {
|
2726 |
+
color: rgb(215,204,200) !important; }
|
2727 |
+
|
2728 |
+
.mdl-color--brown-100 {
|
2729 |
+
background-color: rgb(215,204,200) !important; }
|
2730 |
+
|
2731 |
+
.mdl-color-text--brown-200 {
|
2732 |
+
color: rgb(188,170,164) !important; }
|
2733 |
+
|
2734 |
+
.mdl-color--brown-200 {
|
2735 |
+
background-color: rgb(188,170,164) !important; }
|
2736 |
+
|
2737 |
+
.mdl-color-text--brown-300 {
|
2738 |
+
color: rgb(161,136,127) !important; }
|
2739 |
+
|
2740 |
+
.mdl-color--brown-300 {
|
2741 |
+
background-color: rgb(161,136,127) !important; }
|
2742 |
+
|
2743 |
+
.mdl-color-text--brown-400 {
|
2744 |
+
color: rgb(141,110,99) !important; }
|
2745 |
+
|
2746 |
+
.mdl-color--brown-400 {
|
2747 |
+
background-color: rgb(141,110,99) !important; }
|
2748 |
+
|
2749 |
+
.mdl-color-text--brown-500 {
|
2750 |
+
color: rgb(121,85,72) !important; }
|
2751 |
+
|
2752 |
+
.mdl-color--brown-500 {
|
2753 |
+
background-color: rgb(121,85,72) !important; }
|
2754 |
+
|
2755 |
+
.mdl-color-text--brown-600 {
|
2756 |
+
color: rgb(109,76,65) !important; }
|
2757 |
+
|
2758 |
+
.mdl-color--brown-600 {
|
2759 |
+
background-color: rgb(109,76,65) !important; }
|
2760 |
+
|
2761 |
+
.mdl-color-text--brown-700 {
|
2762 |
+
color: rgb(93,64,55) !important; }
|
2763 |
+
|
2764 |
+
.mdl-color--brown-700 {
|
2765 |
+
background-color: rgb(93,64,55) !important; }
|
2766 |
+
|
2767 |
+
.mdl-color-text--brown-800 {
|
2768 |
+
color: rgb(78,52,46) !important; }
|
2769 |
+
|
2770 |
+
.mdl-color--brown-800 {
|
2771 |
+
background-color: rgb(78,52,46) !important; }
|
2772 |
+
|
2773 |
+
.mdl-color-text--brown-900 {
|
2774 |
+
color: rgb(62,39,35) !important; }
|
2775 |
+
|
2776 |
+
.mdl-color--brown-900 {
|
2777 |
+
background-color: rgb(62,39,35) !important; }
|
2778 |
+
|
2779 |
+
.mdl-color-text--grey {
|
2780 |
+
color: rgb(158,158,158) !important; }
|
2781 |
+
|
2782 |
+
.mdl-color--grey {
|
2783 |
+
background-color: rgb(158,158,158) !important; }
|
2784 |
+
|
2785 |
+
.mdl-color-text--grey-50 {
|
2786 |
+
color: rgb(250,250,250) !important; }
|
2787 |
+
|
2788 |
+
.mdl-color--grey-50 {
|
2789 |
+
background-color: rgb(250,250,250) !important; }
|
2790 |
+
|
2791 |
+
.mdl-color-text--grey-100 {
|
2792 |
+
color: rgb(245,245,245) !important; }
|
2793 |
+
|
2794 |
+
.mdl-color--grey-100 {
|
2795 |
+
background-color: rgb(245,245,245) !important; }
|
2796 |
+
|
2797 |
+
.mdl-color-text--grey-200 {
|
2798 |
+
color: rgb(238,238,238) !important; }
|
2799 |
+
|
2800 |
+
.mdl-color--grey-200 {
|
2801 |
+
background-color: rgb(238,238,238) !important; }
|
2802 |
+
|
2803 |
+
.mdl-color-text--grey-300 {
|
2804 |
+
color: rgb(224,224,224) !important; }
|
2805 |
+
|
2806 |
+
.mdl-color--grey-300 {
|
2807 |
+
background-color: rgb(224,224,224) !important; }
|
2808 |
+
|
2809 |
+
.mdl-color-text--grey-400 {
|
2810 |
+
color: rgb(189,189,189) !important; }
|
2811 |
+
|
2812 |
+
.mdl-color--grey-400 {
|
2813 |
+
background-color: rgb(189,189,189) !important; }
|
2814 |
+
|
2815 |
+
.mdl-color-text--grey-500 {
|
2816 |
+
color: rgb(158,158,158) !important; }
|
2817 |
+
|
2818 |
+
.mdl-color--grey-500 {
|
2819 |
+
background-color: rgb(158,158,158) !important; }
|
2820 |
+
|
2821 |
+
.mdl-color-text--grey-600 {
|
2822 |
+
color: rgb(117,117,117) !important; }
|
2823 |
+
|
2824 |
+
.mdl-color--grey-600 {
|
2825 |
+
background-color: rgb(117,117,117) !important; }
|
2826 |
+
|
2827 |
+
.mdl-color-text--grey-700 {
|
2828 |
+
color: rgb(97,97,97) !important; }
|
2829 |
+
|
2830 |
+
.mdl-color--grey-700 {
|
2831 |
+
background-color: rgb(97,97,97) !important; }
|
2832 |
+
|
2833 |
+
.mdl-color-text--grey-800 {
|
2834 |
+
color: rgb(66,66,66) !important; }
|
2835 |
+
|
2836 |
+
.mdl-color--grey-800 {
|
2837 |
+
background-color: rgb(66,66,66) !important; }
|
2838 |
+
|
2839 |
+
.mdl-color-text--grey-900 {
|
2840 |
+
color: rgb(33,33,33) !important; }
|
2841 |
+
|
2842 |
+
.mdl-color--grey-900 {
|
2843 |
+
background-color: rgb(33,33,33) !important; }
|
2844 |
+
|
2845 |
+
.mdl-color-text--blue-grey {
|
2846 |
+
color: rgb(96,125,139) !important; }
|
2847 |
+
|
2848 |
+
.mdl-color--blue-grey {
|
2849 |
+
background-color: rgb(96,125,139) !important; }
|
2850 |
+
|
2851 |
+
.mdl-color-text--blue-grey-50 {
|
2852 |
+
color: rgb(236,239,241) !important; }
|
2853 |
+
|
2854 |
+
.mdl-color--blue-grey-50 {
|
2855 |
+
background-color: rgb(236,239,241) !important; }
|
2856 |
+
|
2857 |
+
.mdl-color-text--blue-grey-100 {
|
2858 |
+
color: rgb(207,216,220) !important; }
|
2859 |
+
|
2860 |
+
.mdl-color--blue-grey-100 {
|
2861 |
+
background-color: rgb(207,216,220) !important; }
|
2862 |
+
|
2863 |
+
.mdl-color-text--blue-grey-200 {
|
2864 |
+
color: rgb(176,190,197) !important; }
|
2865 |
+
|
2866 |
+
.mdl-color--blue-grey-200 {
|
2867 |
+
background-color: rgb(176,190,197) !important; }
|
2868 |
+
|
2869 |
+
.mdl-color-text--blue-grey-300 {
|
2870 |
+
color: rgb(144,164,174) !important; }
|
2871 |
+
|
2872 |
+
.mdl-color--blue-grey-300 {
|
2873 |
+
background-color: rgb(144,164,174) !important; }
|
2874 |
+
|
2875 |
+
.mdl-color-text--blue-grey-400 {
|
2876 |
+
color: rgb(120,144,156) !important; }
|
2877 |
+
|
2878 |
+
.mdl-color--blue-grey-400 {
|
2879 |
+
background-color: rgb(120,144,156) !important; }
|
2880 |
+
|
2881 |
+
.mdl-color-text--blue-grey-500 {
|
2882 |
+
color: rgb(96,125,139) !important; }
|
2883 |
+
|
2884 |
+
.mdl-color--blue-grey-500 {
|
2885 |
+
background-color: rgb(96,125,139) !important; }
|
2886 |
+
|
2887 |
+
.mdl-color-text--blue-grey-600 {
|
2888 |
+
color: rgb(84,110,122) !important; }
|
2889 |
+
|
2890 |
+
.mdl-color--blue-grey-600 {
|
2891 |
+
background-color: rgb(84,110,122) !important; }
|
2892 |
+
|
2893 |
+
.mdl-color-text--blue-grey-700 {
|
2894 |
+
color: rgb(69,90,100) !important; }
|
2895 |
+
|
2896 |
+
.mdl-color--blue-grey-700 {
|
2897 |
+
background-color: rgb(69,90,100) !important; }
|
2898 |
+
|
2899 |
+
.mdl-color-text--blue-grey-800 {
|
2900 |
+
color: rgb(55,71,79) !important; }
|
2901 |
+
|
2902 |
+
.mdl-color--blue-grey-800 {
|
2903 |
+
background-color: rgb(55,71,79) !important; }
|
2904 |
+
|
2905 |
+
.mdl-color-text--blue-grey-900 {
|
2906 |
+
color: rgb(38,50,56) !important; }
|
2907 |
+
|
2908 |
+
.mdl-color--blue-grey-900 {
|
2909 |
+
background-color: rgb(38,50,56) !important; }
|
2910 |
+
|
2911 |
+
.mdl-color--black {
|
2912 |
+
background-color: rgb(0,0,0) !important; }
|
2913 |
+
|
2914 |
+
.mdl-color-text--black {
|
2915 |
+
color: rgb(0,0,0) !important; }
|
2916 |
+
|
2917 |
+
.mdl-color--white {
|
2918 |
+
background-color: rgb(255,255,255) !important; }
|
2919 |
+
|
2920 |
+
.mdl-color-text--white {
|
2921 |
+
color: rgb(255,255,255) !important; }
|
2922 |
+
|
2923 |
+
.mdl-color--primary {
|
2924 |
+
background-color: rgb(63,81,181) !important; }
|
2925 |
+
|
2926 |
+
.mdl-color--primary-contrast {
|
2927 |
+
background-color: rgb(255,255,255) !important; }
|
2928 |
+
|
2929 |
+
.mdl-color--primary-dark {
|
2930 |
+
background-color: rgb(48,63,159) !important; }
|
2931 |
+
|
2932 |
+
.mdl-color--accent {
|
2933 |
+
background-color: rgb(255,64,129) !important; }
|
2934 |
+
|
2935 |
+
.mdl-color--accent-contrast {
|
2936 |
+
background-color: rgb(255,255,255) !important; }
|
2937 |
+
|
2938 |
+
.mdl-color-text--primary {
|
2939 |
+
color: rgb(63,81,181) !important; }
|
2940 |
+
|
2941 |
+
.mdl-color-text--primary-contrast {
|
2942 |
+
color: rgb(255,255,255) !important; }
|
2943 |
+
|
2944 |
+
.mdl-color-text--primary-dark {
|
2945 |
+
color: rgb(48,63,159) !important; }
|
2946 |
+
|
2947 |
+
.mdl-color-text--accent {
|
2948 |
+
color: rgb(255,64,129) !important; }
|
2949 |
+
|
2950 |
+
.mdl-color-text--accent-contrast {
|
2951 |
+
color: rgb(255,255,255) !important; }
|
2952 |
+
|
2953 |
+
/**
|
2954 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
2955 |
+
*
|
2956 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
2957 |
+
* you may not use this file except in compliance with the License.
|
2958 |
+
* You may obtain a copy of the License at
|
2959 |
+
*
|
2960 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2961 |
+
*
|
2962 |
+
* Unless required by applicable law or agreed to in writing, software
|
2963 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
2964 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2965 |
+
* See the License for the specific language governing permissions and
|
2966 |
+
* limitations under the License.
|
2967 |
+
*/
|
2968 |
+
/**
|
2969 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
2970 |
+
*
|
2971 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
2972 |
+
* you may not use this file except in compliance with the License.
|
2973 |
+
* You may obtain a copy of the License at
|
2974 |
+
*
|
2975 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2976 |
+
*
|
2977 |
+
* Unless required by applicable law or agreed to in writing, software
|
2978 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
2979 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2980 |
+
* See the License for the specific language governing permissions and
|
2981 |
+
* limitations under the License.
|
2982 |
+
*/
|
2983 |
+
/*------------------------------------* $CONTENTS
|
2984 |
+
\*------------------------------------*/
|
2985 |
+
/**
|
2986 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
2987 |
+
* -----Typography
|
2988 |
+
* -----Colors
|
2989 |
+
* -----Textfield
|
2990 |
+
* -----Switch
|
2991 |
+
* -----Spinner
|
2992 |
+
* -----Radio
|
2993 |
+
* -----Menu
|
2994 |
+
* -----List
|
2995 |
+
* -----Layout
|
2996 |
+
* -----Icon toggles
|
2997 |
+
* -----Footer
|
2998 |
+
* -----Column
|
2999 |
+
* -----Checkbox
|
3000 |
+
* -----Card
|
3001 |
+
* -----Button
|
3002 |
+
* -----Animation
|
3003 |
+
* -----Progress
|
3004 |
+
* -----Badge
|
3005 |
+
* -----Shadows
|
3006 |
+
* -----Grid
|
3007 |
+
* -----Data table
|
3008 |
+
* -----Dialog
|
3009 |
+
* -----Snackbar
|
3010 |
+
* -----Tooltip
|
3011 |
+
* -----Chip
|
3012 |
+
*
|
3013 |
+
* Even though all variables have the `!default` directive, most of them
|
3014 |
+
* should not be changed as they are dependent one another. This can cause
|
3015 |
+
* visual distortions (like alignment issues) that are hard to track down
|
3016 |
+
* and fix.
|
3017 |
+
*/
|
3018 |
+
/* ========== TYPOGRAPHY ========== */
|
3019 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
3020 |
+
page loading. For important text, such as the body, we want it to load
|
3021 |
+
immediately and not wait for the web font load, whereas for other sections,
|
3022 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
3023 |
+
We do have some optional classes and parameters in the mixins, in case you
|
3024 |
+
definitely want to make sure you're using the preferred font and don't mind
|
3025 |
+
the performance hit.
|
3026 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
3027 |
+
widely available.
|
3028 |
+
*/
|
3029 |
+
/* ========== COLORS ========== */
|
3030 |
+
/**
|
3031 |
+
*
|
3032 |
+
* Material design color palettes.
|
3033 |
+
* @see http://www.google.com/design/spec/style/color.html
|
3034 |
+
*
|
3035 |
+
**/
|
3036 |
+
/**
|
3037 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3038 |
+
*
|
3039 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3040 |
+
* you may not use this file except in compliance with the License.
|
3041 |
+
* You may obtain a copy of the License at
|
3042 |
+
*
|
3043 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3044 |
+
*
|
3045 |
+
* Unless required by applicable law or agreed to in writing, software
|
3046 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3047 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3048 |
+
* See the License for the specific language governing permissions and
|
3049 |
+
* limitations under the License.
|
3050 |
+
*/
|
3051 |
+
/* ========== Color Palettes ========== */
|
3052 |
+
/* colors.scss */
|
3053 |
+
/**
|
3054 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3055 |
+
*
|
3056 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3057 |
+
* you may not use this file except in compliance with the License.
|
3058 |
+
* You may obtain a copy of the License at
|
3059 |
+
*
|
3060 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3061 |
+
*
|
3062 |
+
* Unless required by applicable law or agreed to in writing, software
|
3063 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3064 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3065 |
+
* See the License for the specific language governing permissions and
|
3066 |
+
* limitations under the License.
|
3067 |
+
*/
|
3068 |
+
/* ========== IMAGES ========== */
|
3069 |
+
/* ========== Color & Themes ========== */
|
3070 |
+
/* ========== Typography ========== */
|
3071 |
+
/* ========== Components ========== */
|
3072 |
+
/* ========== Standard Buttons ========== */
|
3073 |
+
/* ========== Icon Toggles ========== */
|
3074 |
+
/* ========== Radio Buttons ========== */
|
3075 |
+
/* ========== Ripple effect ========== */
|
3076 |
+
/* ========== Layout ========== */
|
3077 |
+
/* ========== Content Tabs ========== */
|
3078 |
+
/* ========== Checkboxes ========== */
|
3079 |
+
/* ========== Switches ========== */
|
3080 |
+
/* ========== Spinner ========== */
|
3081 |
+
/* ========== Text fields ========== */
|
3082 |
+
/* ========== Card ========== */
|
3083 |
+
/* ========== Sliders ========== */
|
3084 |
+
/* ========== Progress ========== */
|
3085 |
+
/* ========== List ========== */
|
3086 |
+
/* ========== Item ========== */
|
3087 |
+
/* ========== Dropdown menu ========== */
|
3088 |
+
/* ========== Tooltips ========== */
|
3089 |
+
/* ========== Footer ========== */
|
3090 |
+
/* TEXTFIELD */
|
3091 |
+
/* SWITCH */
|
3092 |
+
/* SPINNER */
|
3093 |
+
/* RADIO */
|
3094 |
+
/* MENU */
|
3095 |
+
/* LIST */
|
3096 |
+
/* LAYOUT */
|
3097 |
+
/* ICON TOGGLE */
|
3098 |
+
/* FOOTER */
|
3099 |
+
/*mega-footer*/
|
3100 |
+
/*mini-footer*/
|
3101 |
+
/* CHECKBOX */
|
3102 |
+
/* CARD */
|
3103 |
+
/* Card dimensions */
|
3104 |
+
/* Cover image */
|
3105 |
+
/* BUTTON */
|
3106 |
+
/**
|
3107 |
+
*
|
3108 |
+
* Dimensions
|
3109 |
+
*
|
3110 |
+
*/
|
3111 |
+
/* ANIMATION */
|
3112 |
+
/* PROGRESS */
|
3113 |
+
/* BADGE */
|
3114 |
+
/* SHADOWS */
|
3115 |
+
/* GRID */
|
3116 |
+
/* DATA TABLE */
|
3117 |
+
/* DIALOG */
|
3118 |
+
/* SNACKBAR */
|
3119 |
+
/* TOOLTIP */
|
3120 |
+
/* CHIP */
|
3121 |
+
.mdl-ripple {
|
3122 |
+
background: rgb(0,0,0);
|
3123 |
+
border-radius: 50%;
|
3124 |
+
height: 50px;
|
3125 |
+
left: 0;
|
3126 |
+
opacity: 0;
|
3127 |
+
pointer-events: none;
|
3128 |
+
position: absolute;
|
3129 |
+
top: 0;
|
3130 |
+
-webkit-transform: translate(-50%, -50%);
|
3131 |
+
transform: translate(-50%, -50%);
|
3132 |
+
width: 50px;
|
3133 |
+
overflow: hidden; }
|
3134 |
+
.mdl-ripple.is-animating {
|
3135 |
+
transition: width 0.3s cubic-bezier(0, 0, 0.2, 1), height 0.3s cubic-bezier(0, 0, 0.2, 1), opacity 0.6s cubic-bezier(0, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0, 0, 0.2, 1);
|
3136 |
+
transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1), width 0.3s cubic-bezier(0, 0, 0.2, 1), height 0.3s cubic-bezier(0, 0, 0.2, 1), opacity 0.6s cubic-bezier(0, 0, 0.2, 1);
|
3137 |
+
transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1), width 0.3s cubic-bezier(0, 0, 0.2, 1), height 0.3s cubic-bezier(0, 0, 0.2, 1), opacity 0.6s cubic-bezier(0, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0, 0, 0.2, 1); }
|
3138 |
+
.mdl-ripple.is-visible {
|
3139 |
+
opacity: 0.3; }
|
3140 |
+
|
3141 |
+
/**
|
3142 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3143 |
+
*
|
3144 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3145 |
+
* you may not use this file except in compliance with the License.
|
3146 |
+
* You may obtain a copy of the License at
|
3147 |
+
*
|
3148 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3149 |
+
*
|
3150 |
+
* Unless required by applicable law or agreed to in writing, software
|
3151 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3152 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3153 |
+
* See the License for the specific language governing permissions and
|
3154 |
+
* limitations under the License.
|
3155 |
+
*/
|
3156 |
+
/**
|
3157 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3158 |
+
*
|
3159 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3160 |
+
* you may not use this file except in compliance with the License.
|
3161 |
+
* You may obtain a copy of the License at
|
3162 |
+
*
|
3163 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3164 |
+
*
|
3165 |
+
* Unless required by applicable law or agreed to in writing, software
|
3166 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3167 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3168 |
+
* See the License for the specific language governing permissions and
|
3169 |
+
* limitations under the License.
|
3170 |
+
*/
|
3171 |
+
/*------------------------------------* $CONTENTS
|
3172 |
+
\*------------------------------------*/
|
3173 |
+
/**
|
3174 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
3175 |
+
* -----Typography
|
3176 |
+
* -----Colors
|
3177 |
+
* -----Textfield
|
3178 |
+
* -----Switch
|
3179 |
+
* -----Spinner
|
3180 |
+
* -----Radio
|
3181 |
+
* -----Menu
|
3182 |
+
* -----List
|
3183 |
+
* -----Layout
|
3184 |
+
* -----Icon toggles
|
3185 |
+
* -----Footer
|
3186 |
+
* -----Column
|
3187 |
+
* -----Checkbox
|
3188 |
+
* -----Card
|
3189 |
+
* -----Button
|
3190 |
+
* -----Animation
|
3191 |
+
* -----Progress
|
3192 |
+
* -----Badge
|
3193 |
+
* -----Shadows
|
3194 |
+
* -----Grid
|
3195 |
+
* -----Data table
|
3196 |
+
* -----Dialog
|
3197 |
+
* -----Snackbar
|
3198 |
+
* -----Tooltip
|
3199 |
+
* -----Chip
|
3200 |
+
*
|
3201 |
+
* Even though all variables have the `!default` directive, most of them
|
3202 |
+
* should not be changed as they are dependent one another. This can cause
|
3203 |
+
* visual distortions (like alignment issues) that are hard to track down
|
3204 |
+
* and fix.
|
3205 |
+
*/
|
3206 |
+
/* ========== TYPOGRAPHY ========== */
|
3207 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
3208 |
+
page loading. For important text, such as the body, we want it to load
|
3209 |
+
immediately and not wait for the web font load, whereas for other sections,
|
3210 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
3211 |
+
We do have some optional classes and parameters in the mixins, in case you
|
3212 |
+
definitely want to make sure you're using the preferred font and don't mind
|
3213 |
+
the performance hit.
|
3214 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
3215 |
+
widely available.
|
3216 |
+
*/
|
3217 |
+
/* ========== COLORS ========== */
|
3218 |
+
/**
|
3219 |
+
*
|
3220 |
+
* Material design color palettes.
|
3221 |
+
* @see http://www.google.com/design/spec/style/color.html
|
3222 |
+
*
|
3223 |
+
**/
|
3224 |
+
/**
|
3225 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3226 |
+
*
|
3227 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3228 |
+
* you may not use this file except in compliance with the License.
|
3229 |
+
* You may obtain a copy of the License at
|
3230 |
+
*
|
3231 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3232 |
+
*
|
3233 |
+
* Unless required by applicable law or agreed to in writing, software
|
3234 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3235 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3236 |
+
* See the License for the specific language governing permissions and
|
3237 |
+
* limitations under the License.
|
3238 |
+
*/
|
3239 |
+
/* ========== Color Palettes ========== */
|
3240 |
+
/* colors.scss */
|
3241 |
+
/**
|
3242 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3243 |
+
*
|
3244 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3245 |
+
* you may not use this file except in compliance with the License.
|
3246 |
+
* You may obtain a copy of the License at
|
3247 |
+
*
|
3248 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3249 |
+
*
|
3250 |
+
* Unless required by applicable law or agreed to in writing, software
|
3251 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3252 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3253 |
+
* See the License for the specific language governing permissions and
|
3254 |
+
* limitations under the License.
|
3255 |
+
*/
|
3256 |
+
/* ========== IMAGES ========== */
|
3257 |
+
/* ========== Color & Themes ========== */
|
3258 |
+
/* ========== Typography ========== */
|
3259 |
+
/* ========== Components ========== */
|
3260 |
+
/* ========== Standard Buttons ========== */
|
3261 |
+
/* ========== Icon Toggles ========== */
|
3262 |
+
/* ========== Radio Buttons ========== */
|
3263 |
+
/* ========== Ripple effect ========== */
|
3264 |
+
/* ========== Layout ========== */
|
3265 |
+
/* ========== Content Tabs ========== */
|
3266 |
+
/* ========== Checkboxes ========== */
|
3267 |
+
/* ========== Switches ========== */
|
3268 |
+
/* ========== Spinner ========== */
|
3269 |
+
/* ========== Text fields ========== */
|
3270 |
+
/* ========== Card ========== */
|
3271 |
+
/* ========== Sliders ========== */
|
3272 |
+
/* ========== Progress ========== */
|
3273 |
+
/* ========== List ========== */
|
3274 |
+
/* ========== Item ========== */
|
3275 |
+
/* ========== Dropdown menu ========== */
|
3276 |
+
/* ========== Tooltips ========== */
|
3277 |
+
/* ========== Footer ========== */
|
3278 |
+
/* TEXTFIELD */
|
3279 |
+
/* SWITCH */
|
3280 |
+
/* SPINNER */
|
3281 |
+
/* RADIO */
|
3282 |
+
/* MENU */
|
3283 |
+
/* LIST */
|
3284 |
+
/* LAYOUT */
|
3285 |
+
/* ICON TOGGLE */
|
3286 |
+
/* FOOTER */
|
3287 |
+
/*mega-footer*/
|
3288 |
+
/*mini-footer*/
|
3289 |
+
/* CHECKBOX */
|
3290 |
+
/* CARD */
|
3291 |
+
/* Card dimensions */
|
3292 |
+
/* Cover image */
|
3293 |
+
/* BUTTON */
|
3294 |
+
/**
|
3295 |
+
*
|
3296 |
+
* Dimensions
|
3297 |
+
*
|
3298 |
+
*/
|
3299 |
+
/* ANIMATION */
|
3300 |
+
/* PROGRESS */
|
3301 |
+
/* BADGE */
|
3302 |
+
/* SHADOWS */
|
3303 |
+
/* GRID */
|
3304 |
+
/* DATA TABLE */
|
3305 |
+
/* DIALOG */
|
3306 |
+
/* SNACKBAR */
|
3307 |
+
/* TOOLTIP */
|
3308 |
+
/* CHIP */
|
3309 |
+
.mdl-animation--default {
|
3310 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
|
3311 |
+
|
3312 |
+
.mdl-animation--fast-out-slow-in {
|
3313 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
|
3314 |
+
|
3315 |
+
.mdl-animation--linear-out-slow-in {
|
3316 |
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
|
3317 |
+
|
3318 |
+
.mdl-animation--fast-out-linear-in {
|
3319 |
+
transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
|
3320 |
+
|
3321 |
+
/**
|
3322 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3323 |
+
*
|
3324 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3325 |
+
* you may not use this file except in compliance with the License.
|
3326 |
+
* You may obtain a copy of the License at
|
3327 |
+
*
|
3328 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3329 |
+
*
|
3330 |
+
* Unless required by applicable law or agreed to in writing, software
|
3331 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3332 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3333 |
+
* See the License for the specific language governing permissions and
|
3334 |
+
* limitations under the License.
|
3335 |
+
*/
|
3336 |
+
/**
|
3337 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3338 |
+
*
|
3339 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3340 |
+
* you may not use this file except in compliance with the License.
|
3341 |
+
* You may obtain a copy of the License at
|
3342 |
+
*
|
3343 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3344 |
+
*
|
3345 |
+
* Unless required by applicable law or agreed to in writing, software
|
3346 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3347 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3348 |
+
* See the License for the specific language governing permissions and
|
3349 |
+
* limitations under the License.
|
3350 |
+
*/
|
3351 |
+
/*------------------------------------* $CONTENTS
|
3352 |
+
\*------------------------------------*/
|
3353 |
+
/**
|
3354 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
3355 |
+
* -----Typography
|
3356 |
+
* -----Colors
|
3357 |
+
* -----Textfield
|
3358 |
+
* -----Switch
|
3359 |
+
* -----Spinner
|
3360 |
+
* -----Radio
|
3361 |
+
* -----Menu
|
3362 |
+
* -----List
|
3363 |
+
* -----Layout
|
3364 |
+
* -----Icon toggles
|
3365 |
+
* -----Footer
|
3366 |
+
* -----Column
|
3367 |
+
* -----Checkbox
|
3368 |
+
* -----Card
|
3369 |
+
* -----Button
|
3370 |
+
* -----Animation
|
3371 |
+
* -----Progress
|
3372 |
+
* -----Badge
|
3373 |
+
* -----Shadows
|
3374 |
+
* -----Grid
|
3375 |
+
* -----Data table
|
3376 |
+
* -----Dialog
|
3377 |
+
* -----Snackbar
|
3378 |
+
* -----Tooltip
|
3379 |
+
* -----Chip
|
3380 |
+
*
|
3381 |
+
* Even though all variables have the `!default` directive, most of them
|
3382 |
+
* should not be changed as they are dependent one another. This can cause
|
3383 |
+
* visual distortions (like alignment issues) that are hard to track down
|
3384 |
+
* and fix.
|
3385 |
+
*/
|
3386 |
+
/* ========== TYPOGRAPHY ========== */
|
3387 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
3388 |
+
page loading. For important text, such as the body, we want it to load
|
3389 |
+
immediately and not wait for the web font load, whereas for other sections,
|
3390 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
3391 |
+
We do have some optional classes and parameters in the mixins, in case you
|
3392 |
+
definitely want to make sure you're using the preferred font and don't mind
|
3393 |
+
the performance hit.
|
3394 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
3395 |
+
widely available.
|
3396 |
+
*/
|
3397 |
+
/* ========== COLORS ========== */
|
3398 |
+
/**
|
3399 |
+
*
|
3400 |
+
* Material design color palettes.
|
3401 |
+
* @see http://www.google.com/design/spec/style/color.html
|
3402 |
+
*
|
3403 |
+
**/
|
3404 |
+
/**
|
3405 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3406 |
+
*
|
3407 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3408 |
+
* you may not use this file except in compliance with the License.
|
3409 |
+
* You may obtain a copy of the License at
|
3410 |
+
*
|
3411 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3412 |
+
*
|
3413 |
+
* Unless required by applicable law or agreed to in writing, software
|
3414 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3415 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3416 |
+
* See the License for the specific language governing permissions and
|
3417 |
+
* limitations under the License.
|
3418 |
+
*/
|
3419 |
+
/* ========== Color Palettes ========== */
|
3420 |
+
/* colors.scss */
|
3421 |
+
/**
|
3422 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3423 |
+
*
|
3424 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3425 |
+
* you may not use this file except in compliance with the License.
|
3426 |
+
* You may obtain a copy of the License at
|
3427 |
+
*
|
3428 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3429 |
+
*
|
3430 |
+
* Unless required by applicable law or agreed to in writing, software
|
3431 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3432 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3433 |
+
* See the License for the specific language governing permissions and
|
3434 |
+
* limitations under the License.
|
3435 |
+
*/
|
3436 |
+
/* ========== IMAGES ========== */
|
3437 |
+
/* ========== Color & Themes ========== */
|
3438 |
+
/* ========== Typography ========== */
|
3439 |
+
/* ========== Components ========== */
|
3440 |
+
/* ========== Standard Buttons ========== */
|
3441 |
+
/* ========== Icon Toggles ========== */
|
3442 |
+
/* ========== Radio Buttons ========== */
|
3443 |
+
/* ========== Ripple effect ========== */
|
3444 |
+
/* ========== Layout ========== */
|
3445 |
+
/* ========== Content Tabs ========== */
|
3446 |
+
/* ========== Checkboxes ========== */
|
3447 |
+
/* ========== Switches ========== */
|
3448 |
+
/* ========== Spinner ========== */
|
3449 |
+
/* ========== Text fields ========== */
|
3450 |
+
/* ========== Card ========== */
|
3451 |
+
/* ========== Sliders ========== */
|
3452 |
+
/* ========== Progress ========== */
|
3453 |
+
/* ========== List ========== */
|
3454 |
+
/* ========== Item ========== */
|
3455 |
+
/* ========== Dropdown menu ========== */
|
3456 |
+
/* ========== Tooltips ========== */
|
3457 |
+
/* ========== Footer ========== */
|
3458 |
+
/* TEXTFIELD */
|
3459 |
+
/* SWITCH */
|
3460 |
+
/* SPINNER */
|
3461 |
+
/* RADIO */
|
3462 |
+
/* MENU */
|
3463 |
+
/* LIST */
|
3464 |
+
/* LAYOUT */
|
3465 |
+
/* ICON TOGGLE */
|
3466 |
+
/* FOOTER */
|
3467 |
+
/*mega-footer*/
|
3468 |
+
/*mini-footer*/
|
3469 |
+
/* CHECKBOX */
|
3470 |
+
/* CARD */
|
3471 |
+
/* Card dimensions */
|
3472 |
+
/* Cover image */
|
3473 |
+
/* BUTTON */
|
3474 |
+
/**
|
3475 |
+
*
|
3476 |
+
* Dimensions
|
3477 |
+
*
|
3478 |
+
*/
|
3479 |
+
/* ANIMATION */
|
3480 |
+
/* PROGRESS */
|
3481 |
+
/* BADGE */
|
3482 |
+
/* SHADOWS */
|
3483 |
+
/* GRID */
|
3484 |
+
/* DATA TABLE */
|
3485 |
+
/* DIALOG */
|
3486 |
+
/* SNACKBAR */
|
3487 |
+
/* TOOLTIP */
|
3488 |
+
/* CHIP */
|
3489 |
+
.mdl-badge {
|
3490 |
+
position: relative;
|
3491 |
+
white-space: nowrap;
|
3492 |
+
margin-right: 24px; }
|
3493 |
+
.mdl-badge:not([data-badge]) {
|
3494 |
+
margin-right: auto; }
|
3495 |
+
.mdl-badge[data-badge]:after {
|
3496 |
+
content: attr(data-badge);
|
3497 |
+
display: -webkit-flex;
|
3498 |
+
display: -ms-flexbox;
|
3499 |
+
display: flex;
|
3500 |
+
-webkit-flex-direction: row;
|
3501 |
+
-ms-flex-direction: row;
|
3502 |
+
flex-direction: row;
|
3503 |
+
-webkit-flex-wrap: wrap;
|
3504 |
+
-ms-flex-wrap: wrap;
|
3505 |
+
flex-wrap: wrap;
|
3506 |
+
-webkit-justify-content: center;
|
3507 |
+
-ms-flex-pack: center;
|
3508 |
+
justify-content: center;
|
3509 |
+
-webkit-align-content: center;
|
3510 |
+
-ms-flex-line-pack: center;
|
3511 |
+
align-content: center;
|
3512 |
+
-webkit-align-items: center;
|
3513 |
+
-ms-flex-align: center;
|
3514 |
+
align-items: center;
|
3515 |
+
position: absolute;
|
3516 |
+
top: -11px;
|
3517 |
+
right: -24px;
|
3518 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
3519 |
+
font-weight: 600;
|
3520 |
+
font-size: 12px;
|
3521 |
+
width: 22px;
|
3522 |
+
height: 22px;
|
3523 |
+
border-radius: 50%;
|
3524 |
+
background: rgb(255,64,129);
|
3525 |
+
color: rgb(255,255,255); }
|
3526 |
+
.mdl-button .mdl-badge[data-badge]:after {
|
3527 |
+
top: -10px;
|
3528 |
+
right: -5px; }
|
3529 |
+
.mdl-badge.mdl-badge--no-background[data-badge]:after {
|
3530 |
+
color: rgb(255,64,129);
|
3531 |
+
background: rgba(255,255,255,0.2);
|
3532 |
+
box-shadow: 0 0 1px gray; }
|
3533 |
+
.mdl-badge.mdl-badge--overlap {
|
3534 |
+
margin-right: 10px; }
|
3535 |
+
.mdl-badge.mdl-badge--overlap:after {
|
3536 |
+
right: -10px; }
|
3537 |
+
|
3538 |
+
/**
|
3539 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3540 |
+
*
|
3541 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3542 |
+
* you may not use this file except in compliance with the License.
|
3543 |
+
* You may obtain a copy of the License at
|
3544 |
+
*
|
3545 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3546 |
+
*
|
3547 |
+
* Unless required by applicable law or agreed to in writing, software
|
3548 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3549 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3550 |
+
* See the License for the specific language governing permissions and
|
3551 |
+
* limitations under the License.
|
3552 |
+
*/
|
3553 |
+
/**
|
3554 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3555 |
+
*
|
3556 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3557 |
+
* you may not use this file except in compliance with the License.
|
3558 |
+
* You may obtain a copy of the License at
|
3559 |
+
*
|
3560 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3561 |
+
*
|
3562 |
+
* Unless required by applicable law or agreed to in writing, software
|
3563 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3564 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3565 |
+
* See the License for the specific language governing permissions and
|
3566 |
+
* limitations under the License.
|
3567 |
+
*/
|
3568 |
+
/*------------------------------------* $CONTENTS
|
3569 |
+
\*------------------------------------*/
|
3570 |
+
/**
|
3571 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
3572 |
+
* -----Typography
|
3573 |
+
* -----Colors
|
3574 |
+
* -----Textfield
|
3575 |
+
* -----Switch
|
3576 |
+
* -----Spinner
|
3577 |
+
* -----Radio
|
3578 |
+
* -----Menu
|
3579 |
+
* -----List
|
3580 |
+
* -----Layout
|
3581 |
+
* -----Icon toggles
|
3582 |
+
* -----Footer
|
3583 |
+
* -----Column
|
3584 |
+
* -----Checkbox
|
3585 |
+
* -----Card
|
3586 |
+
* -----Button
|
3587 |
+
* -----Animation
|
3588 |
+
* -----Progress
|
3589 |
+
* -----Badge
|
3590 |
+
* -----Shadows
|
3591 |
+
* -----Grid
|
3592 |
+
* -----Data table
|
3593 |
+
* -----Dialog
|
3594 |
+
* -----Snackbar
|
3595 |
+
* -----Tooltip
|
3596 |
+
* -----Chip
|
3597 |
+
*
|
3598 |
+
* Even though all variables have the `!default` directive, most of them
|
3599 |
+
* should not be changed as they are dependent one another. This can cause
|
3600 |
+
* visual distortions (like alignment issues) that are hard to track down
|
3601 |
+
* and fix.
|
3602 |
+
*/
|
3603 |
+
/* ========== TYPOGRAPHY ========== */
|
3604 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
3605 |
+
page loading. For important text, such as the body, we want it to load
|
3606 |
+
immediately and not wait for the web font load, whereas for other sections,
|
3607 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
3608 |
+
We do have some optional classes and parameters in the mixins, in case you
|
3609 |
+
definitely want to make sure you're using the preferred font and don't mind
|
3610 |
+
the performance hit.
|
3611 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
3612 |
+
widely available.
|
3613 |
+
*/
|
3614 |
+
/* ========== COLORS ========== */
|
3615 |
+
/**
|
3616 |
+
*
|
3617 |
+
* Material design color palettes.
|
3618 |
+
* @see http://www.google.com/design/spec/style/color.html
|
3619 |
+
*
|
3620 |
+
**/
|
3621 |
+
/**
|
3622 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3623 |
+
*
|
3624 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3625 |
+
* you may not use this file except in compliance with the License.
|
3626 |
+
* You may obtain a copy of the License at
|
3627 |
+
*
|
3628 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3629 |
+
*
|
3630 |
+
* Unless required by applicable law or agreed to in writing, software
|
3631 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3632 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3633 |
+
* See the License for the specific language governing permissions and
|
3634 |
+
* limitations under the License.
|
3635 |
+
*/
|
3636 |
+
/* ========== Color Palettes ========== */
|
3637 |
+
/* colors.scss */
|
3638 |
+
/**
|
3639 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3640 |
+
*
|
3641 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3642 |
+
* you may not use this file except in compliance with the License.
|
3643 |
+
* You may obtain a copy of the License at
|
3644 |
+
*
|
3645 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3646 |
+
*
|
3647 |
+
* Unless required by applicable law or agreed to in writing, software
|
3648 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3649 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3650 |
+
* See the License for the specific language governing permissions and
|
3651 |
+
* limitations under the License.
|
3652 |
+
*/
|
3653 |
+
/* ========== IMAGES ========== */
|
3654 |
+
/* ========== Color & Themes ========== */
|
3655 |
+
/* ========== Typography ========== */
|
3656 |
+
/* ========== Components ========== */
|
3657 |
+
/* ========== Standard Buttons ========== */
|
3658 |
+
/* ========== Icon Toggles ========== */
|
3659 |
+
/* ========== Radio Buttons ========== */
|
3660 |
+
/* ========== Ripple effect ========== */
|
3661 |
+
/* ========== Layout ========== */
|
3662 |
+
/* ========== Content Tabs ========== */
|
3663 |
+
/* ========== Checkboxes ========== */
|
3664 |
+
/* ========== Switches ========== */
|
3665 |
+
/* ========== Spinner ========== */
|
3666 |
+
/* ========== Text fields ========== */
|
3667 |
+
/* ========== Card ========== */
|
3668 |
+
/* ========== Sliders ========== */
|
3669 |
+
/* ========== Progress ========== */
|
3670 |
+
/* ========== List ========== */
|
3671 |
+
/* ========== Item ========== */
|
3672 |
+
/* ========== Dropdown menu ========== */
|
3673 |
+
/* ========== Tooltips ========== */
|
3674 |
+
/* ========== Footer ========== */
|
3675 |
+
/* TEXTFIELD */
|
3676 |
+
/* SWITCH */
|
3677 |
+
/* SPINNER */
|
3678 |
+
/* RADIO */
|
3679 |
+
/* MENU */
|
3680 |
+
/* LIST */
|
3681 |
+
/* LAYOUT */
|
3682 |
+
/* ICON TOGGLE */
|
3683 |
+
/* FOOTER */
|
3684 |
+
/*mega-footer*/
|
3685 |
+
/*mini-footer*/
|
3686 |
+
/* CHECKBOX */
|
3687 |
+
/* CARD */
|
3688 |
+
/* Card dimensions */
|
3689 |
+
/* Cover image */
|
3690 |
+
/* BUTTON */
|
3691 |
+
/**
|
3692 |
+
*
|
3693 |
+
* Dimensions
|
3694 |
+
*
|
3695 |
+
*/
|
3696 |
+
/* ANIMATION */
|
3697 |
+
/* PROGRESS */
|
3698 |
+
/* BADGE */
|
3699 |
+
/* SHADOWS */
|
3700 |
+
/* GRID */
|
3701 |
+
/* DATA TABLE */
|
3702 |
+
/* DIALOG */
|
3703 |
+
/* SNACKBAR */
|
3704 |
+
/* TOOLTIP */
|
3705 |
+
/* CHIP */
|
3706 |
+
/**
|
3707 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3708 |
+
*
|
3709 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3710 |
+
* you may not use this file except in compliance with the License.
|
3711 |
+
* You may obtain a copy of the License at
|
3712 |
+
*
|
3713 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3714 |
+
*
|
3715 |
+
* Unless required by applicable law or agreed to in writing, software
|
3716 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3717 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3718 |
+
* See the License for the specific language governing permissions and
|
3719 |
+
* limitations under the License.
|
3720 |
+
*/
|
3721 |
+
/* Typography */
|
3722 |
+
/* Shadows */
|
3723 |
+
/* Animations */
|
3724 |
+
/* Dialog */
|
3725 |
+
.mdl-button {
|
3726 |
+
background: transparent;
|
3727 |
+
border: none;
|
3728 |
+
border-radius: 2px;
|
3729 |
+
color: rgb(0,0,0);
|
3730 |
+
position: relative;
|
3731 |
+
height: 36px;
|
3732 |
+
margin: 0;
|
3733 |
+
min-width: 64px;
|
3734 |
+
padding: 0 16px;
|
3735 |
+
display: inline-block;
|
3736 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
3737 |
+
font-size: 14px;
|
3738 |
+
font-weight: 500;
|
3739 |
+
text-transform: uppercase;
|
3740 |
+
line-height: 1;
|
3741 |
+
letter-spacing: 0;
|
3742 |
+
overflow: hidden;
|
3743 |
+
will-change: box-shadow;
|
3744 |
+
transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
3745 |
+
outline: none;
|
3746 |
+
cursor: pointer;
|
3747 |
+
text-decoration: none;
|
3748 |
+
text-align: center;
|
3749 |
+
line-height: 36px;
|
3750 |
+
vertical-align: middle; }
|
3751 |
+
.mdl-button::-moz-focus-inner {
|
3752 |
+
border: 0; }
|
3753 |
+
.mdl-button:hover {
|
3754 |
+
background-color: rgba(158,158,158, 0.20); }
|
3755 |
+
.mdl-button:focus:not(:active) {
|
3756 |
+
background-color: rgba(0,0,0, 0.12); }
|
3757 |
+
.mdl-button:active {
|
3758 |
+
background-color: rgba(158,158,158, 0.40); }
|
3759 |
+
.mdl-button.mdl-button--colored {
|
3760 |
+
color: rgb(63,81,181); }
|
3761 |
+
.mdl-button.mdl-button--colored:focus:not(:active) {
|
3762 |
+
background-color: rgba(0,0,0, 0.12); }
|
3763 |
+
|
3764 |
+
input.mdl-button[type="submit"] {
|
3765 |
+
-webkit-appearance: none; }
|
3766 |
+
|
3767 |
+
.mdl-button--raised {
|
3768 |
+
background: rgba(158,158,158, 0.20);
|
3769 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }
|
3770 |
+
.mdl-button--raised:active {
|
3771 |
+
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
|
3772 |
+
background-color: rgba(158,158,158, 0.40); }
|
3773 |
+
.mdl-button--raised:focus:not(:active) {
|
3774 |
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.36);
|
3775 |
+
background-color: rgba(158,158,158, 0.40); }
|
3776 |
+
.mdl-button--raised.mdl-button--colored {
|
3777 |
+
background: rgb(63,81,181);
|
3778 |
+
color: rgb(255,255,255); }
|
3779 |
+
.mdl-button--raised.mdl-button--colored:hover {
|
3780 |
+
background-color: rgb(63,81,181); }
|
3781 |
+
.mdl-button--raised.mdl-button--colored:active {
|
3782 |
+
background-color: rgb(63,81,181); }
|
3783 |
+
.mdl-button--raised.mdl-button--colored:focus:not(:active) {
|
3784 |
+
background-color: rgb(63,81,181); }
|
3785 |
+
.mdl-button--raised.mdl-button--colored .mdl-ripple {
|
3786 |
+
background: rgb(255,255,255); }
|
3787 |
+
|
3788 |
+
.mdl-button--fab {
|
3789 |
+
border-radius: 50%;
|
3790 |
+
font-size: 24px;
|
3791 |
+
height: 56px;
|
3792 |
+
margin: auto;
|
3793 |
+
min-width: 56px;
|
3794 |
+
width: 56px;
|
3795 |
+
padding: 0;
|
3796 |
+
overflow: hidden;
|
3797 |
+
background: rgba(158,158,158, 0.20);
|
3798 |
+
box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24);
|
3799 |
+
position: relative;
|
3800 |
+
line-height: normal; }
|
3801 |
+
.mdl-button--fab .material-icons {
|
3802 |
+
position: absolute;
|
3803 |
+
top: 50%;
|
3804 |
+
left: 50%;
|
3805 |
+
-webkit-transform: translate(-12px, -12px);
|
3806 |
+
transform: translate(-12px, -12px);
|
3807 |
+
line-height: 24px;
|
3808 |
+
width: 24px; }
|
3809 |
+
.mdl-button--fab.mdl-button--mini-fab {
|
3810 |
+
height: 40px;
|
3811 |
+
min-width: 40px;
|
3812 |
+
width: 40px; }
|
3813 |
+
.mdl-button--fab .mdl-button__ripple-container {
|
3814 |
+
border-radius: 50%;
|
3815 |
+
-webkit-mask-image: -webkit-radial-gradient(circle, white, black); }
|
3816 |
+
.mdl-button--fab:active {
|
3817 |
+
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
|
3818 |
+
background-color: rgba(158,158,158, 0.40); }
|
3819 |
+
.mdl-button--fab:focus:not(:active) {
|
3820 |
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.36);
|
3821 |
+
background-color: rgba(158,158,158, 0.40); }
|
3822 |
+
.mdl-button--fab.mdl-button--colored {
|
3823 |
+
background: rgb(255,64,129);
|
3824 |
+
color: rgb(255,255,255); }
|
3825 |
+
.mdl-button--fab.mdl-button--colored:hover {
|
3826 |
+
background-color: rgb(255,64,129); }
|
3827 |
+
.mdl-button--fab.mdl-button--colored:focus:not(:active) {
|
3828 |
+
background-color: rgb(255,64,129); }
|
3829 |
+
.mdl-button--fab.mdl-button--colored:active {
|
3830 |
+
background-color: rgb(255,64,129); }
|
3831 |
+
.mdl-button--fab.mdl-button--colored .mdl-ripple {
|
3832 |
+
background: rgb(255,255,255); }
|
3833 |
+
|
3834 |
+
.mdl-button--icon {
|
3835 |
+
border-radius: 50%;
|
3836 |
+
font-size: 24px;
|
3837 |
+
height: 32px;
|
3838 |
+
margin-left: 0;
|
3839 |
+
margin-right: 0;
|
3840 |
+
min-width: 32px;
|
3841 |
+
width: 32px;
|
3842 |
+
padding: 0;
|
3843 |
+
overflow: hidden;
|
3844 |
+
color: inherit;
|
3845 |
+
line-height: normal; }
|
3846 |
+
.mdl-button--icon .material-icons {
|
3847 |
+
position: absolute;
|
3848 |
+
top: 50%;
|
3849 |
+
left: 50%;
|
3850 |
+
-webkit-transform: translate(-12px, -12px);
|
3851 |
+
transform: translate(-12px, -12px);
|
3852 |
+
line-height: 24px;
|
3853 |
+
width: 24px; }
|
3854 |
+
.mdl-button--icon.mdl-button--mini-icon {
|
3855 |
+
height: 24px;
|
3856 |
+
min-width: 24px;
|
3857 |
+
width: 24px; }
|
3858 |
+
.mdl-button--icon.mdl-button--mini-icon .material-icons {
|
3859 |
+
top: 0px;
|
3860 |
+
left: 0px; }
|
3861 |
+
.mdl-button--icon .mdl-button__ripple-container {
|
3862 |
+
border-radius: 50%;
|
3863 |
+
-webkit-mask-image: -webkit-radial-gradient(circle, white, black); }
|
3864 |
+
|
3865 |
+
.mdl-button__ripple-container {
|
3866 |
+
display: block;
|
3867 |
+
height: 100%;
|
3868 |
+
left: 0px;
|
3869 |
+
position: absolute;
|
3870 |
+
top: 0px;
|
3871 |
+
width: 100%;
|
3872 |
+
z-index: 0;
|
3873 |
+
overflow: hidden; }
|
3874 |
+
.mdl-button[disabled] .mdl-button__ripple-container .mdl-ripple,
|
3875 |
+
.mdl-button.mdl-button--disabled .mdl-button__ripple-container .mdl-ripple {
|
3876 |
+
background-color: transparent; }
|
3877 |
+
|
3878 |
+
.mdl-button--primary.mdl-button--primary {
|
3879 |
+
color: rgb(63,81,181); }
|
3880 |
+
.mdl-button--primary.mdl-button--primary .mdl-ripple {
|
3881 |
+
background: rgb(255,255,255); }
|
3882 |
+
.mdl-button--primary.mdl-button--primary.mdl-button--raised, .mdl-button--primary.mdl-button--primary.mdl-button--fab {
|
3883 |
+
color: rgb(255,255,255);
|
3884 |
+
background-color: rgb(63,81,181); }
|
3885 |
+
|
3886 |
+
.mdl-button--accent.mdl-button--accent {
|
3887 |
+
color: rgb(255,64,129); }
|
3888 |
+
.mdl-button--accent.mdl-button--accent .mdl-ripple {
|
3889 |
+
background: rgb(255,255,255); }
|
3890 |
+
.mdl-button--accent.mdl-button--accent.mdl-button--raised, .mdl-button--accent.mdl-button--accent.mdl-button--fab {
|
3891 |
+
color: rgb(255,255,255);
|
3892 |
+
background-color: rgb(255,64,129); }
|
3893 |
+
|
3894 |
+
.mdl-button[disabled][disabled], .mdl-button.mdl-button--disabled.mdl-button--disabled {
|
3895 |
+
color: rgba(0,0,0, 0.26);
|
3896 |
+
cursor: default;
|
3897 |
+
background-color: transparent; }
|
3898 |
+
|
3899 |
+
.mdl-button--fab[disabled][disabled], .mdl-button--fab.mdl-button--disabled.mdl-button--disabled {
|
3900 |
+
background-color: rgba(0,0,0, 0.12);
|
3901 |
+
color: rgba(0,0,0, 0.26); }
|
3902 |
+
|
3903 |
+
.mdl-button--raised[disabled][disabled], .mdl-button--raised.mdl-button--disabled.mdl-button--disabled {
|
3904 |
+
background-color: rgba(0,0,0, 0.12);
|
3905 |
+
color: rgba(0,0,0, 0.26);
|
3906 |
+
box-shadow: none; }
|
3907 |
+
|
3908 |
+
.mdl-button--colored[disabled][disabled], .mdl-button--colored.mdl-button--disabled.mdl-button--disabled {
|
3909 |
+
color: rgba(0,0,0, 0.26); }
|
3910 |
+
|
3911 |
+
.mdl-button .material-icons {
|
3912 |
+
vertical-align: middle; }
|
3913 |
+
|
3914 |
+
/**
|
3915 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3916 |
+
*
|
3917 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3918 |
+
* you may not use this file except in compliance with the License.
|
3919 |
+
* You may obtain a copy of the License at
|
3920 |
+
*
|
3921 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3922 |
+
*
|
3923 |
+
* Unless required by applicable law or agreed to in writing, software
|
3924 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3925 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3926 |
+
* See the License for the specific language governing permissions and
|
3927 |
+
* limitations under the License.
|
3928 |
+
*/
|
3929 |
+
/**
|
3930 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3931 |
+
*
|
3932 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
3933 |
+
* you may not use this file except in compliance with the License.
|
3934 |
+
* You may obtain a copy of the License at
|
3935 |
+
*
|
3936 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3937 |
+
*
|
3938 |
+
* Unless required by applicable law or agreed to in writing, software
|
3939 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
3940 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3941 |
+
* See the License for the specific language governing permissions and
|
3942 |
+
* limitations under the License.
|
3943 |
+
*/
|
3944 |
+
/*------------------------------------* $CONTENTS
|
3945 |
+
\*------------------------------------*/
|
3946 |
+
/**
|
3947 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
3948 |
+
* -----Typography
|
3949 |
+
* -----Colors
|
3950 |
+
* -----Textfield
|
3951 |
+
* -----Switch
|
3952 |
+
* -----Spinner
|
3953 |
+
* -----Radio
|
3954 |
+
* -----Menu
|
3955 |
+
* -----List
|
3956 |
+
* -----Layout
|
3957 |
+
* -----Icon toggles
|
3958 |
+
* -----Footer
|
3959 |
+
* -----Column
|
3960 |
+
* -----Checkbox
|
3961 |
+
* -----Card
|
3962 |
+
* -----Button
|
3963 |
+
* -----Animation
|
3964 |
+
* -----Progress
|
3965 |
+
* -----Badge
|
3966 |
+
* -----Shadows
|
3967 |
+
* -----Grid
|
3968 |
+
* -----Data table
|
3969 |
+
* -----Dialog
|
3970 |
+
* -----Snackbar
|
3971 |
+
* -----Tooltip
|
3972 |
+
* -----Chip
|
3973 |
+
*
|
3974 |
+
* Even though all variables have the `!default` directive, most of them
|
3975 |
+
* should not be changed as they are dependent one another. This can cause
|
3976 |
+
* visual distortions (like alignment issues) that are hard to track down
|
3977 |
+
* and fix.
|
3978 |
+
*/
|
3979 |
+
/* ========== TYPOGRAPHY ========== */
|
3980 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
3981 |
+
page loading. For important text, such as the body, we want it to load
|
3982 |
+
immediately and not wait for the web font load, whereas for other sections,
|
3983 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
3984 |
+
We do have some optional classes and parameters in the mixins, in case you
|
3985 |
+
definitely want to make sure you're using the preferred font and don't mind
|
3986 |
+
the performance hit.
|
3987 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
3988 |
+
widely available.
|
3989 |
+
*/
|
3990 |
+
/* ========== COLORS ========== */
|
3991 |
+
/**
|
3992 |
+
*
|
3993 |
+
* Material design color palettes.
|
3994 |
+
* @see http://www.google.com/design/spec/style/color.html
|
3995 |
+
*
|
3996 |
+
**/
|
3997 |
+
/**
|
3998 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
3999 |
+
*
|
4000 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4001 |
+
* you may not use this file except in compliance with the License.
|
4002 |
+
* You may obtain a copy of the License at
|
4003 |
+
*
|
4004 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4005 |
+
*
|
4006 |
+
* Unless required by applicable law or agreed to in writing, software
|
4007 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4008 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4009 |
+
* See the License for the specific language governing permissions and
|
4010 |
+
* limitations under the License.
|
4011 |
+
*/
|
4012 |
+
/* ========== Color Palettes ========== */
|
4013 |
+
/* colors.scss */
|
4014 |
+
/**
|
4015 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4016 |
+
*
|
4017 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4018 |
+
* you may not use this file except in compliance with the License.
|
4019 |
+
* You may obtain a copy of the License at
|
4020 |
+
*
|
4021 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4022 |
+
*
|
4023 |
+
* Unless required by applicable law or agreed to in writing, software
|
4024 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4025 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4026 |
+
* See the License for the specific language governing permissions and
|
4027 |
+
* limitations under the License.
|
4028 |
+
*/
|
4029 |
+
/* ========== IMAGES ========== */
|
4030 |
+
/* ========== Color & Themes ========== */
|
4031 |
+
/* ========== Typography ========== */
|
4032 |
+
/* ========== Components ========== */
|
4033 |
+
/* ========== Standard Buttons ========== */
|
4034 |
+
/* ========== Icon Toggles ========== */
|
4035 |
+
/* ========== Radio Buttons ========== */
|
4036 |
+
/* ========== Ripple effect ========== */
|
4037 |
+
/* ========== Layout ========== */
|
4038 |
+
/* ========== Content Tabs ========== */
|
4039 |
+
/* ========== Checkboxes ========== */
|
4040 |
+
/* ========== Switches ========== */
|
4041 |
+
/* ========== Spinner ========== */
|
4042 |
+
/* ========== Text fields ========== */
|
4043 |
+
/* ========== Card ========== */
|
4044 |
+
/* ========== Sliders ========== */
|
4045 |
+
/* ========== Progress ========== */
|
4046 |
+
/* ========== List ========== */
|
4047 |
+
/* ========== Item ========== */
|
4048 |
+
/* ========== Dropdown menu ========== */
|
4049 |
+
/* ========== Tooltips ========== */
|
4050 |
+
/* ========== Footer ========== */
|
4051 |
+
/* TEXTFIELD */
|
4052 |
+
/* SWITCH */
|
4053 |
+
/* SPINNER */
|
4054 |
+
/* RADIO */
|
4055 |
+
/* MENU */
|
4056 |
+
/* LIST */
|
4057 |
+
/* LAYOUT */
|
4058 |
+
/* ICON TOGGLE */
|
4059 |
+
/* FOOTER */
|
4060 |
+
/*mega-footer*/
|
4061 |
+
/*mini-footer*/
|
4062 |
+
/* CHECKBOX */
|
4063 |
+
/* CARD */
|
4064 |
+
/* Card dimensions */
|
4065 |
+
/* Cover image */
|
4066 |
+
/* BUTTON */
|
4067 |
+
/**
|
4068 |
+
*
|
4069 |
+
* Dimensions
|
4070 |
+
*
|
4071 |
+
*/
|
4072 |
+
/* ANIMATION */
|
4073 |
+
/* PROGRESS */
|
4074 |
+
/* BADGE */
|
4075 |
+
/* SHADOWS */
|
4076 |
+
/* GRID */
|
4077 |
+
/* DATA TABLE */
|
4078 |
+
/* DIALOG */
|
4079 |
+
/* SNACKBAR */
|
4080 |
+
/* TOOLTIP */
|
4081 |
+
/* CHIP */
|
4082 |
+
.mdl-card {
|
4083 |
+
display: -webkit-flex;
|
4084 |
+
display: -ms-flexbox;
|
4085 |
+
display: flex;
|
4086 |
+
-webkit-flex-direction: column;
|
4087 |
+
-ms-flex-direction: column;
|
4088 |
+
flex-direction: column;
|
4089 |
+
font-size: 16px;
|
4090 |
+
font-weight: 400;
|
4091 |
+
min-height: 200px;
|
4092 |
+
overflow: hidden;
|
4093 |
+
width: 330px;
|
4094 |
+
z-index: 1;
|
4095 |
+
position: relative;
|
4096 |
+
background: rgb(255,255,255);
|
4097 |
+
border-radius: 2px;
|
4098 |
+
box-sizing: border-box; }
|
4099 |
+
|
4100 |
+
.mdl-card__media {
|
4101 |
+
background-color: rgb(255,64,129);
|
4102 |
+
background-repeat: repeat;
|
4103 |
+
background-position: 50% 50%;
|
4104 |
+
background-size: cover;
|
4105 |
+
background-origin: padding-box;
|
4106 |
+
background-attachment: scroll;
|
4107 |
+
box-sizing: border-box; }
|
4108 |
+
|
4109 |
+
.mdl-card__title {
|
4110 |
+
-webkit-align-items: center;
|
4111 |
+
-ms-flex-align: center;
|
4112 |
+
align-items: center;
|
4113 |
+
color: rgb(0,0,0);
|
4114 |
+
display: block;
|
4115 |
+
display: -webkit-flex;
|
4116 |
+
display: -ms-flexbox;
|
4117 |
+
display: flex;
|
4118 |
+
-webkit-justify-content: stretch;
|
4119 |
+
-ms-flex-pack: stretch;
|
4120 |
+
justify-content: stretch;
|
4121 |
+
line-height: normal;
|
4122 |
+
padding: 16px 16px;
|
4123 |
+
-webkit-perspective-origin: 165px 56px;
|
4124 |
+
perspective-origin: 165px 56px;
|
4125 |
+
-webkit-transform-origin: 165px 56px;
|
4126 |
+
transform-origin: 165px 56px;
|
4127 |
+
box-sizing: border-box; }
|
4128 |
+
.mdl-card__title.mdl-card--border {
|
4129 |
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
|
4130 |
+
|
4131 |
+
.mdl-card__title-text {
|
4132 |
+
-webkit-align-self: flex-end;
|
4133 |
+
-ms-flex-item-align: end;
|
4134 |
+
align-self: flex-end;
|
4135 |
+
color: inherit;
|
4136 |
+
display: block;
|
4137 |
+
display: -webkit-flex;
|
4138 |
+
display: -ms-flexbox;
|
4139 |
+
display: flex;
|
4140 |
+
font-size: 24px;
|
4141 |
+
font-weight: 300;
|
4142 |
+
line-height: normal;
|
4143 |
+
overflow: hidden;
|
4144 |
+
-webkit-transform-origin: 149px 48px;
|
4145 |
+
transform-origin: 149px 48px;
|
4146 |
+
margin: 0; }
|
4147 |
+
|
4148 |
+
.mdl-card__subtitle-text {
|
4149 |
+
font-size: 14px;
|
4150 |
+
color: rgba(0,0,0, 0.54);
|
4151 |
+
margin: 0; }
|
4152 |
+
|
4153 |
+
.mdl-card__supporting-text {
|
4154 |
+
color: rgba(0,0,0, 0.54);
|
4155 |
+
font-size: 1rem;
|
4156 |
+
line-height: 18px;
|
4157 |
+
overflow: hidden;
|
4158 |
+
padding: 16px 16px;
|
4159 |
+
width: 90%; }
|
4160 |
+
.mdl-card__supporting-text.mdl-card--border {
|
4161 |
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
|
4162 |
+
|
4163 |
+
.mdl-card__actions {
|
4164 |
+
font-size: 16px;
|
4165 |
+
line-height: normal;
|
4166 |
+
width: 100%;
|
4167 |
+
background-color: transparent;
|
4168 |
+
padding: 8px;
|
4169 |
+
box-sizing: border-box; }
|
4170 |
+
.mdl-card__actions.mdl-card--border {
|
4171 |
+
border-top: 1px solid rgba(0, 0, 0, 0.1); }
|
4172 |
+
|
4173 |
+
.mdl-card--expand {
|
4174 |
+
-webkit-flex-grow: 1;
|
4175 |
+
-ms-flex-positive: 1;
|
4176 |
+
flex-grow: 1; }
|
4177 |
+
|
4178 |
+
.mdl-card__menu {
|
4179 |
+
position: absolute;
|
4180 |
+
right: 16px;
|
4181 |
+
top: 16px; }
|
4182 |
+
|
4183 |
+
/**
|
4184 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4185 |
+
*
|
4186 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4187 |
+
* you may not use this file except in compliance with the License.
|
4188 |
+
* You may obtain a copy of the License at
|
4189 |
+
*
|
4190 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4191 |
+
*
|
4192 |
+
* Unless required by applicable law or agreed to in writing, software
|
4193 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4194 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4195 |
+
* See the License for the specific language governing permissions and
|
4196 |
+
* limitations under the License.
|
4197 |
+
*/
|
4198 |
+
/**
|
4199 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4200 |
+
*
|
4201 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4202 |
+
* you may not use this file except in compliance with the License.
|
4203 |
+
* You may obtain a copy of the License at
|
4204 |
+
*
|
4205 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4206 |
+
*
|
4207 |
+
* Unless required by applicable law or agreed to in writing, software
|
4208 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4209 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4210 |
+
* See the License for the specific language governing permissions and
|
4211 |
+
* limitations under the License.
|
4212 |
+
*/
|
4213 |
+
/*------------------------------------* $CONTENTS
|
4214 |
+
\*------------------------------------*/
|
4215 |
+
/**
|
4216 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
4217 |
+
* -----Typography
|
4218 |
+
* -----Colors
|
4219 |
+
* -----Textfield
|
4220 |
+
* -----Switch
|
4221 |
+
* -----Spinner
|
4222 |
+
* -----Radio
|
4223 |
+
* -----Menu
|
4224 |
+
* -----List
|
4225 |
+
* -----Layout
|
4226 |
+
* -----Icon toggles
|
4227 |
+
* -----Footer
|
4228 |
+
* -----Column
|
4229 |
+
* -----Checkbox
|
4230 |
+
* -----Card
|
4231 |
+
* -----Button
|
4232 |
+
* -----Animation
|
4233 |
+
* -----Progress
|
4234 |
+
* -----Badge
|
4235 |
+
* -----Shadows
|
4236 |
+
* -----Grid
|
4237 |
+
* -----Data table
|
4238 |
+
* -----Dialog
|
4239 |
+
* -----Snackbar
|
4240 |
+
* -----Tooltip
|
4241 |
+
* -----Chip
|
4242 |
+
*
|
4243 |
+
* Even though all variables have the `!default` directive, most of them
|
4244 |
+
* should not be changed as they are dependent one another. This can cause
|
4245 |
+
* visual distortions (like alignment issues) that are hard to track down
|
4246 |
+
* and fix.
|
4247 |
+
*/
|
4248 |
+
/* ========== TYPOGRAPHY ========== */
|
4249 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
4250 |
+
page loading. For important text, such as the body, we want it to load
|
4251 |
+
immediately and not wait for the web font load, whereas for other sections,
|
4252 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
4253 |
+
We do have some optional classes and parameters in the mixins, in case you
|
4254 |
+
definitely want to make sure you're using the preferred font and don't mind
|
4255 |
+
the performance hit.
|
4256 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
4257 |
+
widely available.
|
4258 |
+
*/
|
4259 |
+
/* ========== COLORS ========== */
|
4260 |
+
/**
|
4261 |
+
*
|
4262 |
+
* Material design color palettes.
|
4263 |
+
* @see http://www.google.com/design/spec/style/color.html
|
4264 |
+
*
|
4265 |
+
**/
|
4266 |
+
/**
|
4267 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4268 |
+
*
|
4269 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4270 |
+
* you may not use this file except in compliance with the License.
|
4271 |
+
* You may obtain a copy of the License at
|
4272 |
+
*
|
4273 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4274 |
+
*
|
4275 |
+
* Unless required by applicable law or agreed to in writing, software
|
4276 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4277 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4278 |
+
* See the License for the specific language governing permissions and
|
4279 |
+
* limitations under the License.
|
4280 |
+
*/
|
4281 |
+
/* ========== Color Palettes ========== */
|
4282 |
+
/* colors.scss */
|
4283 |
+
/**
|
4284 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4285 |
+
*
|
4286 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4287 |
+
* you may not use this file except in compliance with the License.
|
4288 |
+
* You may obtain a copy of the License at
|
4289 |
+
*
|
4290 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4291 |
+
*
|
4292 |
+
* Unless required by applicable law or agreed to in writing, software
|
4293 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4294 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4295 |
+
* See the License for the specific language governing permissions and
|
4296 |
+
* limitations under the License.
|
4297 |
+
*/
|
4298 |
+
/* ========== IMAGES ========== */
|
4299 |
+
/* ========== Color & Themes ========== */
|
4300 |
+
/* ========== Typography ========== */
|
4301 |
+
/* ========== Components ========== */
|
4302 |
+
/* ========== Standard Buttons ========== */
|
4303 |
+
/* ========== Icon Toggles ========== */
|
4304 |
+
/* ========== Radio Buttons ========== */
|
4305 |
+
/* ========== Ripple effect ========== */
|
4306 |
+
/* ========== Layout ========== */
|
4307 |
+
/* ========== Content Tabs ========== */
|
4308 |
+
/* ========== Checkboxes ========== */
|
4309 |
+
/* ========== Switches ========== */
|
4310 |
+
/* ========== Spinner ========== */
|
4311 |
+
/* ========== Text fields ========== */
|
4312 |
+
/* ========== Card ========== */
|
4313 |
+
/* ========== Sliders ========== */
|
4314 |
+
/* ========== Progress ========== */
|
4315 |
+
/* ========== List ========== */
|
4316 |
+
/* ========== Item ========== */
|
4317 |
+
/* ========== Dropdown menu ========== */
|
4318 |
+
/* ========== Tooltips ========== */
|
4319 |
+
/* ========== Footer ========== */
|
4320 |
+
/* TEXTFIELD */
|
4321 |
+
/* SWITCH */
|
4322 |
+
/* SPINNER */
|
4323 |
+
/* RADIO */
|
4324 |
+
/* MENU */
|
4325 |
+
/* LIST */
|
4326 |
+
/* LAYOUT */
|
4327 |
+
/* ICON TOGGLE */
|
4328 |
+
/* FOOTER */
|
4329 |
+
/*mega-footer*/
|
4330 |
+
/*mini-footer*/
|
4331 |
+
/* CHECKBOX */
|
4332 |
+
/* CARD */
|
4333 |
+
/* Card dimensions */
|
4334 |
+
/* Cover image */
|
4335 |
+
/* BUTTON */
|
4336 |
+
/**
|
4337 |
+
*
|
4338 |
+
* Dimensions
|
4339 |
+
*
|
4340 |
+
*/
|
4341 |
+
/* ANIMATION */
|
4342 |
+
/* PROGRESS */
|
4343 |
+
/* BADGE */
|
4344 |
+
/* SHADOWS */
|
4345 |
+
/* GRID */
|
4346 |
+
/* DATA TABLE */
|
4347 |
+
/* DIALOG */
|
4348 |
+
/* SNACKBAR */
|
4349 |
+
/* TOOLTIP */
|
4350 |
+
/* CHIP */
|
4351 |
+
/**
|
4352 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4353 |
+
*
|
4354 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4355 |
+
* you may not use this file except in compliance with the License.
|
4356 |
+
* You may obtain a copy of the License at
|
4357 |
+
*
|
4358 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4359 |
+
*
|
4360 |
+
* Unless required by applicable law or agreed to in writing, software
|
4361 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4362 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4363 |
+
* See the License for the specific language governing permissions and
|
4364 |
+
* limitations under the License.
|
4365 |
+
*/
|
4366 |
+
/* Typography */
|
4367 |
+
/* Shadows */
|
4368 |
+
/* Animations */
|
4369 |
+
/* Dialog */
|
4370 |
+
.mdl-checkbox {
|
4371 |
+
position: relative;
|
4372 |
+
z-index: 1;
|
4373 |
+
vertical-align: middle;
|
4374 |
+
display: inline-block;
|
4375 |
+
box-sizing: border-box;
|
4376 |
+
width: 100%;
|
4377 |
+
height: 24px;
|
4378 |
+
margin: 0;
|
4379 |
+
padding: 0; }
|
4380 |
+
.mdl-checkbox.is-upgraded {
|
4381 |
+
padding-left: 24px; }
|
4382 |
+
|
4383 |
+
.mdl-checkbox__input {
|
4384 |
+
line-height: 24px; }
|
4385 |
+
.mdl-checkbox.is-upgraded .mdl-checkbox__input {
|
4386 |
+
position: absolute;
|
4387 |
+
width: 0;
|
4388 |
+
height: 0;
|
4389 |
+
margin: 0;
|
4390 |
+
padding: 0;
|
4391 |
+
opacity: 0;
|
4392 |
+
-ms-appearance: none;
|
4393 |
+
-moz-appearance: none;
|
4394 |
+
-webkit-appearance: none;
|
4395 |
+
appearance: none;
|
4396 |
+
border: none; }
|
4397 |
+
|
4398 |
+
.mdl-checkbox__box-outline {
|
4399 |
+
position: absolute;
|
4400 |
+
top: 3px;
|
4401 |
+
left: 0;
|
4402 |
+
display: inline-block;
|
4403 |
+
box-sizing: border-box;
|
4404 |
+
width: 16px;
|
4405 |
+
height: 16px;
|
4406 |
+
margin: 0;
|
4407 |
+
cursor: pointer;
|
4408 |
+
overflow: hidden;
|
4409 |
+
border: 2px solid rgba(0,0,0, 0.54);
|
4410 |
+
border-radius: 2px;
|
4411 |
+
z-index: 2; }
|
4412 |
+
.mdl-checkbox.is-checked .mdl-checkbox__box-outline {
|
4413 |
+
border: 2px solid rgb(63,81,181); }
|
4414 |
+
fieldset[disabled] .mdl-checkbox .mdl-checkbox__box-outline,
|
4415 |
+
.mdl-checkbox.is-disabled .mdl-checkbox__box-outline {
|
4416 |
+
border: 2px solid rgba(0,0,0, 0.26);
|
4417 |
+
cursor: auto; }
|
4418 |
+
|
4419 |
+
.mdl-checkbox__focus-helper {
|
4420 |
+
position: absolute;
|
4421 |
+
top: 3px;
|
4422 |
+
left: 0;
|
4423 |
+
display: inline-block;
|
4424 |
+
box-sizing: border-box;
|
4425 |
+
width: 16px;
|
4426 |
+
height: 16px;
|
4427 |
+
border-radius: 50%;
|
4428 |
+
background-color: transparent; }
|
4429 |
+
.mdl-checkbox.is-focused .mdl-checkbox__focus-helper {
|
4430 |
+
box-shadow: 0 0 0px 8px rgba(0, 0, 0, 0.1);
|
4431 |
+
background-color: rgba(0, 0, 0, 0.1); }
|
4432 |
+
.mdl-checkbox.is-focused.is-checked .mdl-checkbox__focus-helper {
|
4433 |
+
box-shadow: 0 0 0px 8px rgba(63,81,181, 0.26);
|
4434 |
+
background-color: rgba(63,81,181, 0.26); }
|
4435 |
+
|
4436 |
+
.mdl-checkbox__tick-outline {
|
4437 |
+
position: absolute;
|
4438 |
+
top: 0;
|
4439 |
+
left: 0;
|
4440 |
+
height: 100%;
|
4441 |
+
width: 100%;
|
4442 |
+
-webkit-mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpy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|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
4447 |
+
transition-property: background; }
|
4448 |
+
.mdl-checkbox.is-checked .mdl-checkbox__tick-outline {
|
4449 |
+
background: rgb(63,81,181) url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K"); }
|
4450 |
+
fieldset[disabled] .mdl-checkbox.is-checked .mdl-checkbox__tick-outline,
|
4451 |
+
.mdl-checkbox.is-checked.is-disabled .mdl-checkbox__tick-outline {
|
4452 |
+
background: rgba(0,0,0, 0.26) url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K"); }
|
4453 |
+
|
4454 |
+
.mdl-checkbox__label {
|
4455 |
+
position: relative;
|
4456 |
+
cursor: pointer;
|
4457 |
+
font-size: 16px;
|
4458 |
+
line-height: 24px;
|
4459 |
+
margin: 0; }
|
4460 |
+
fieldset[disabled] .mdl-checkbox .mdl-checkbox__label,
|
4461 |
+
.mdl-checkbox.is-disabled .mdl-checkbox__label {
|
4462 |
+
color: rgba(0,0,0, 0.26);
|
4463 |
+
cursor: auto; }
|
4464 |
+
|
4465 |
+
.mdl-checkbox__ripple-container {
|
4466 |
+
position: absolute;
|
4467 |
+
z-index: 2;
|
4468 |
+
top: -6px;
|
4469 |
+
left: -10px;
|
4470 |
+
box-sizing: border-box;
|
4471 |
+
width: 36px;
|
4472 |
+
height: 36px;
|
4473 |
+
border-radius: 50%;
|
4474 |
+
cursor: pointer;
|
4475 |
+
overflow: hidden;
|
4476 |
+
-webkit-mask-image: -webkit-radial-gradient(circle, white, black); }
|
4477 |
+
.mdl-checkbox__ripple-container .mdl-ripple {
|
4478 |
+
background: rgb(63,81,181); }
|
4479 |
+
fieldset[disabled] .mdl-checkbox .mdl-checkbox__ripple-container,
|
4480 |
+
.mdl-checkbox.is-disabled .mdl-checkbox__ripple-container {
|
4481 |
+
cursor: auto; }
|
4482 |
+
fieldset[disabled] .mdl-checkbox .mdl-checkbox__ripple-container .mdl-ripple,
|
4483 |
+
.mdl-checkbox.is-disabled .mdl-checkbox__ripple-container .mdl-ripple {
|
4484 |
+
background: transparent; }
|
4485 |
+
|
4486 |
+
/**
|
4487 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4488 |
+
*
|
4489 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4490 |
+
* you may not use this file except in compliance with the License.
|
4491 |
+
* You may obtain a copy of the License at
|
4492 |
+
*
|
4493 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4494 |
+
*
|
4495 |
+
* Unless required by applicable law or agreed to in writing, software
|
4496 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4497 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4498 |
+
* See the License for the specific language governing permissions and
|
4499 |
+
* limitations under the License.
|
4500 |
+
*/
|
4501 |
+
/**
|
4502 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4503 |
+
*
|
4504 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4505 |
+
* you may not use this file except in compliance with the License.
|
4506 |
+
* You may obtain a copy of the License at
|
4507 |
+
*
|
4508 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4509 |
+
*
|
4510 |
+
* Unless required by applicable law or agreed to in writing, software
|
4511 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4512 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4513 |
+
* See the License for the specific language governing permissions and
|
4514 |
+
* limitations under the License.
|
4515 |
+
*/
|
4516 |
+
/*------------------------------------* $CONTENTS
|
4517 |
+
\*------------------------------------*/
|
4518 |
+
/**
|
4519 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
4520 |
+
* -----Typography
|
4521 |
+
* -----Colors
|
4522 |
+
* -----Textfield
|
4523 |
+
* -----Switch
|
4524 |
+
* -----Spinner
|
4525 |
+
* -----Radio
|
4526 |
+
* -----Menu
|
4527 |
+
* -----List
|
4528 |
+
* -----Layout
|
4529 |
+
* -----Icon toggles
|
4530 |
+
* -----Footer
|
4531 |
+
* -----Column
|
4532 |
+
* -----Checkbox
|
4533 |
+
* -----Card
|
4534 |
+
* -----Button
|
4535 |
+
* -----Animation
|
4536 |
+
* -----Progress
|
4537 |
+
* -----Badge
|
4538 |
+
* -----Shadows
|
4539 |
+
* -----Grid
|
4540 |
+
* -----Data table
|
4541 |
+
* -----Dialog
|
4542 |
+
* -----Snackbar
|
4543 |
+
* -----Tooltip
|
4544 |
+
* -----Chip
|
4545 |
+
*
|
4546 |
+
* Even though all variables have the `!default` directive, most of them
|
4547 |
+
* should not be changed as they are dependent one another. This can cause
|
4548 |
+
* visual distortions (like alignment issues) that are hard to track down
|
4549 |
+
* and fix.
|
4550 |
+
*/
|
4551 |
+
/* ========== TYPOGRAPHY ========== */
|
4552 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
4553 |
+
page loading. For important text, such as the body, we want it to load
|
4554 |
+
immediately and not wait for the web font load, whereas for other sections,
|
4555 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
4556 |
+
We do have some optional classes and parameters in the mixins, in case you
|
4557 |
+
definitely want to make sure you're using the preferred font and don't mind
|
4558 |
+
the performance hit.
|
4559 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
4560 |
+
widely available.
|
4561 |
+
*/
|
4562 |
+
/* ========== COLORS ========== */
|
4563 |
+
/**
|
4564 |
+
*
|
4565 |
+
* Material design color palettes.
|
4566 |
+
* @see http://www.google.com/design/spec/style/color.html
|
4567 |
+
*
|
4568 |
+
**/
|
4569 |
+
/**
|
4570 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4571 |
+
*
|
4572 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4573 |
+
* you may not use this file except in compliance with the License.
|
4574 |
+
* You may obtain a copy of the License at
|
4575 |
+
*
|
4576 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4577 |
+
*
|
4578 |
+
* Unless required by applicable law or agreed to in writing, software
|
4579 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4580 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4581 |
+
* See the License for the specific language governing permissions and
|
4582 |
+
* limitations under the License.
|
4583 |
+
*/
|
4584 |
+
/* ========== Color Palettes ========== */
|
4585 |
+
/* colors.scss */
|
4586 |
+
/**
|
4587 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4588 |
+
*
|
4589 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4590 |
+
* you may not use this file except in compliance with the License.
|
4591 |
+
* You may obtain a copy of the License at
|
4592 |
+
*
|
4593 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4594 |
+
*
|
4595 |
+
* Unless required by applicable law or agreed to in writing, software
|
4596 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4597 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4598 |
+
* See the License for the specific language governing permissions and
|
4599 |
+
* limitations under the License.
|
4600 |
+
*/
|
4601 |
+
/* ========== IMAGES ========== */
|
4602 |
+
/* ========== Color & Themes ========== */
|
4603 |
+
/* ========== Typography ========== */
|
4604 |
+
/* ========== Components ========== */
|
4605 |
+
/* ========== Standard Buttons ========== */
|
4606 |
+
/* ========== Icon Toggles ========== */
|
4607 |
+
/* ========== Radio Buttons ========== */
|
4608 |
+
/* ========== Ripple effect ========== */
|
4609 |
+
/* ========== Layout ========== */
|
4610 |
+
/* ========== Content Tabs ========== */
|
4611 |
+
/* ========== Checkboxes ========== */
|
4612 |
+
/* ========== Switches ========== */
|
4613 |
+
/* ========== Spinner ========== */
|
4614 |
+
/* ========== Text fields ========== */
|
4615 |
+
/* ========== Card ========== */
|
4616 |
+
/* ========== Sliders ========== */
|
4617 |
+
/* ========== Progress ========== */
|
4618 |
+
/* ========== List ========== */
|
4619 |
+
/* ========== Item ========== */
|
4620 |
+
/* ========== Dropdown menu ========== */
|
4621 |
+
/* ========== Tooltips ========== */
|
4622 |
+
/* ========== Footer ========== */
|
4623 |
+
/* TEXTFIELD */
|
4624 |
+
/* SWITCH */
|
4625 |
+
/* SPINNER */
|
4626 |
+
/* RADIO */
|
4627 |
+
/* MENU */
|
4628 |
+
/* LIST */
|
4629 |
+
/* LAYOUT */
|
4630 |
+
/* ICON TOGGLE */
|
4631 |
+
/* FOOTER */
|
4632 |
+
/*mega-footer*/
|
4633 |
+
/*mini-footer*/
|
4634 |
+
/* CHECKBOX */
|
4635 |
+
/* CARD */
|
4636 |
+
/* Card dimensions */
|
4637 |
+
/* Cover image */
|
4638 |
+
/* BUTTON */
|
4639 |
+
/**
|
4640 |
+
*
|
4641 |
+
* Dimensions
|
4642 |
+
*
|
4643 |
+
*/
|
4644 |
+
/* ANIMATION */
|
4645 |
+
/* PROGRESS */
|
4646 |
+
/* BADGE */
|
4647 |
+
/* SHADOWS */
|
4648 |
+
/* GRID */
|
4649 |
+
/* DATA TABLE */
|
4650 |
+
/* DIALOG */
|
4651 |
+
/* SNACKBAR */
|
4652 |
+
/* TOOLTIP */
|
4653 |
+
/* CHIP */
|
4654 |
+
/**
|
4655 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4656 |
+
*
|
4657 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4658 |
+
* you may not use this file except in compliance with the License.
|
4659 |
+
* You may obtain a copy of the License at
|
4660 |
+
*
|
4661 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4662 |
+
*
|
4663 |
+
* Unless required by applicable law or agreed to in writing, software
|
4664 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4665 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4666 |
+
* See the License for the specific language governing permissions and
|
4667 |
+
* limitations under the License.
|
4668 |
+
*/
|
4669 |
+
/* Typography */
|
4670 |
+
/* Shadows */
|
4671 |
+
/* Animations */
|
4672 |
+
/* Dialog */
|
4673 |
+
.mdl-chip {
|
4674 |
+
height: 32px;
|
4675 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
4676 |
+
line-height: 32px;
|
4677 |
+
padding: 0 12px;
|
4678 |
+
border: 0;
|
4679 |
+
border-radius: 16px;
|
4680 |
+
background-color: #dedede;
|
4681 |
+
display: inline-block;
|
4682 |
+
color: rgba(0,0,0, 0.87);
|
4683 |
+
margin: 2px 0;
|
4684 |
+
font-size: 0;
|
4685 |
+
white-space: nowrap; }
|
4686 |
+
.mdl-chip__text {
|
4687 |
+
font-size: 13px;
|
4688 |
+
vertical-align: middle;
|
4689 |
+
display: inline-block; }
|
4690 |
+
.mdl-chip__action {
|
4691 |
+
height: 24px;
|
4692 |
+
width: 24px;
|
4693 |
+
background: transparent;
|
4694 |
+
opacity: 0.54;
|
4695 |
+
display: inline-block;
|
4696 |
+
cursor: pointer;
|
4697 |
+
text-align: center;
|
4698 |
+
vertical-align: middle;
|
4699 |
+
padding: 0;
|
4700 |
+
margin: 0 0 0 4px;
|
4701 |
+
font-size: 13px;
|
4702 |
+
text-decoration: none;
|
4703 |
+
color: rgba(0,0,0, 0.87);
|
4704 |
+
border: none;
|
4705 |
+
outline: none;
|
4706 |
+
overflow: hidden; }
|
4707 |
+
.mdl-chip__contact {
|
4708 |
+
height: 32px;
|
4709 |
+
width: 32px;
|
4710 |
+
border-radius: 16px;
|
4711 |
+
display: inline-block;
|
4712 |
+
vertical-align: middle;
|
4713 |
+
margin-right: 8px;
|
4714 |
+
overflow: hidden;
|
4715 |
+
text-align: center;
|
4716 |
+
font-size: 18px;
|
4717 |
+
line-height: 32px; }
|
4718 |
+
.mdl-chip:focus {
|
4719 |
+
outline: 0;
|
4720 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }
|
4721 |
+
.mdl-chip:active {
|
4722 |
+
background-color: #d6d6d6; }
|
4723 |
+
.mdl-chip--deletable {
|
4724 |
+
padding-right: 4px; }
|
4725 |
+
.mdl-chip--contact {
|
4726 |
+
padding-left: 0; }
|
4727 |
+
|
4728 |
+
/**
|
4729 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4730 |
+
*
|
4731 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4732 |
+
* you may not use this file except in compliance with the License.
|
4733 |
+
* You may obtain a copy of the License at
|
4734 |
+
*
|
4735 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4736 |
+
*
|
4737 |
+
* Unless required by applicable law or agreed to in writing, software
|
4738 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4739 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4740 |
+
* See the License for the specific language governing permissions and
|
4741 |
+
* limitations under the License.
|
4742 |
+
*/
|
4743 |
+
/**
|
4744 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4745 |
+
*
|
4746 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4747 |
+
* you may not use this file except in compliance with the License.
|
4748 |
+
* You may obtain a copy of the License at
|
4749 |
+
*
|
4750 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4751 |
+
*
|
4752 |
+
* Unless required by applicable law or agreed to in writing, software
|
4753 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4754 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4755 |
+
* See the License for the specific language governing permissions and
|
4756 |
+
* limitations under the License.
|
4757 |
+
*/
|
4758 |
+
/*------------------------------------* $CONTENTS
|
4759 |
+
\*------------------------------------*/
|
4760 |
+
/**
|
4761 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
4762 |
+
* -----Typography
|
4763 |
+
* -----Colors
|
4764 |
+
* -----Textfield
|
4765 |
+
* -----Switch
|
4766 |
+
* -----Spinner
|
4767 |
+
* -----Radio
|
4768 |
+
* -----Menu
|
4769 |
+
* -----List
|
4770 |
+
* -----Layout
|
4771 |
+
* -----Icon toggles
|
4772 |
+
* -----Footer
|
4773 |
+
* -----Column
|
4774 |
+
* -----Checkbox
|
4775 |
+
* -----Card
|
4776 |
+
* -----Button
|
4777 |
+
* -----Animation
|
4778 |
+
* -----Progress
|
4779 |
+
* -----Badge
|
4780 |
+
* -----Shadows
|
4781 |
+
* -----Grid
|
4782 |
+
* -----Data table
|
4783 |
+
* -----Dialog
|
4784 |
+
* -----Snackbar
|
4785 |
+
* -----Tooltip
|
4786 |
+
* -----Chip
|
4787 |
+
*
|
4788 |
+
* Even though all variables have the `!default` directive, most of them
|
4789 |
+
* should not be changed as they are dependent one another. This can cause
|
4790 |
+
* visual distortions (like alignment issues) that are hard to track down
|
4791 |
+
* and fix.
|
4792 |
+
*/
|
4793 |
+
/* ========== TYPOGRAPHY ========== */
|
4794 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
4795 |
+
page loading. For important text, such as the body, we want it to load
|
4796 |
+
immediately and not wait for the web font load, whereas for other sections,
|
4797 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
4798 |
+
We do have some optional classes and parameters in the mixins, in case you
|
4799 |
+
definitely want to make sure you're using the preferred font and don't mind
|
4800 |
+
the performance hit.
|
4801 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
4802 |
+
widely available.
|
4803 |
+
*/
|
4804 |
+
/* ========== COLORS ========== */
|
4805 |
+
/**
|
4806 |
+
*
|
4807 |
+
* Material design color palettes.
|
4808 |
+
* @see http://www.google.com/design/spec/style/color.html
|
4809 |
+
*
|
4810 |
+
**/
|
4811 |
+
/**
|
4812 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4813 |
+
*
|
4814 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4815 |
+
* you may not use this file except in compliance with the License.
|
4816 |
+
* You may obtain a copy of the License at
|
4817 |
+
*
|
4818 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4819 |
+
*
|
4820 |
+
* Unless required by applicable law or agreed to in writing, software
|
4821 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4822 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4823 |
+
* See the License for the specific language governing permissions and
|
4824 |
+
* limitations under the License.
|
4825 |
+
*/
|
4826 |
+
/* ========== Color Palettes ========== */
|
4827 |
+
/* colors.scss */
|
4828 |
+
/**
|
4829 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4830 |
+
*
|
4831 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4832 |
+
* you may not use this file except in compliance with the License.
|
4833 |
+
* You may obtain a copy of the License at
|
4834 |
+
*
|
4835 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4836 |
+
*
|
4837 |
+
* Unless required by applicable law or agreed to in writing, software
|
4838 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4839 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4840 |
+
* See the License for the specific language governing permissions and
|
4841 |
+
* limitations under the License.
|
4842 |
+
*/
|
4843 |
+
/* ========== IMAGES ========== */
|
4844 |
+
/* ========== Color & Themes ========== */
|
4845 |
+
/* ========== Typography ========== */
|
4846 |
+
/* ========== Components ========== */
|
4847 |
+
/* ========== Standard Buttons ========== */
|
4848 |
+
/* ========== Icon Toggles ========== */
|
4849 |
+
/* ========== Radio Buttons ========== */
|
4850 |
+
/* ========== Ripple effect ========== */
|
4851 |
+
/* ========== Layout ========== */
|
4852 |
+
/* ========== Content Tabs ========== */
|
4853 |
+
/* ========== Checkboxes ========== */
|
4854 |
+
/* ========== Switches ========== */
|
4855 |
+
/* ========== Spinner ========== */
|
4856 |
+
/* ========== Text fields ========== */
|
4857 |
+
/* ========== Card ========== */
|
4858 |
+
/* ========== Sliders ========== */
|
4859 |
+
/* ========== Progress ========== */
|
4860 |
+
/* ========== List ========== */
|
4861 |
+
/* ========== Item ========== */
|
4862 |
+
/* ========== Dropdown menu ========== */
|
4863 |
+
/* ========== Tooltips ========== */
|
4864 |
+
/* ========== Footer ========== */
|
4865 |
+
/* TEXTFIELD */
|
4866 |
+
/* SWITCH */
|
4867 |
+
/* SPINNER */
|
4868 |
+
/* RADIO */
|
4869 |
+
/* MENU */
|
4870 |
+
/* LIST */
|
4871 |
+
/* LAYOUT */
|
4872 |
+
/* ICON TOGGLE */
|
4873 |
+
/* FOOTER */
|
4874 |
+
/*mega-footer*/
|
4875 |
+
/*mini-footer*/
|
4876 |
+
/* CHECKBOX */
|
4877 |
+
/* CARD */
|
4878 |
+
/* Card dimensions */
|
4879 |
+
/* Cover image */
|
4880 |
+
/* BUTTON */
|
4881 |
+
/**
|
4882 |
+
*
|
4883 |
+
* Dimensions
|
4884 |
+
*
|
4885 |
+
*/
|
4886 |
+
/* ANIMATION */
|
4887 |
+
/* PROGRESS */
|
4888 |
+
/* BADGE */
|
4889 |
+
/* SHADOWS */
|
4890 |
+
/* GRID */
|
4891 |
+
/* DATA TABLE */
|
4892 |
+
/* DIALOG */
|
4893 |
+
/* SNACKBAR */
|
4894 |
+
/* TOOLTIP */
|
4895 |
+
/* CHIP */
|
4896 |
+
/**
|
4897 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
4898 |
+
*
|
4899 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4900 |
+
* you may not use this file except in compliance with the License.
|
4901 |
+
* You may obtain a copy of the License at
|
4902 |
+
*
|
4903 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4904 |
+
*
|
4905 |
+
* Unless required by applicable law or agreed to in writing, software
|
4906 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
4907 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
4908 |
+
* See the License for the specific language governing permissions and
|
4909 |
+
* limitations under the License.
|
4910 |
+
*/
|
4911 |
+
/* Typography */
|
4912 |
+
/* Shadows */
|
4913 |
+
/* Animations */
|
4914 |
+
/* Dialog */
|
4915 |
+
.mdl-data-table {
|
4916 |
+
position: relative;
|
4917 |
+
border: 1px solid rgba(0, 0, 0, 0.12);
|
4918 |
+
border-collapse: collapse;
|
4919 |
+
white-space: nowrap;
|
4920 |
+
font-size: 13px;
|
4921 |
+
background-color: rgb(255,255,255); }
|
4922 |
+
.mdl-data-table thead {
|
4923 |
+
padding-bottom: 3px; }
|
4924 |
+
.mdl-data-table thead .mdl-data-table__select {
|
4925 |
+
margin-top: 0; }
|
4926 |
+
.mdl-data-table tbody tr {
|
4927 |
+
position: relative;
|
4928 |
+
height: 48px;
|
4929 |
+
transition-duration: 0.28s;
|
4930 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
4931 |
+
transition-property: background-color; }
|
4932 |
+
.mdl-data-table tbody tr.is-selected {
|
4933 |
+
background-color: #e0e0e0; }
|
4934 |
+
.mdl-data-table tbody tr:hover {
|
4935 |
+
background-color: #eeeeee; }
|
4936 |
+
.mdl-data-table td, .mdl-data-table th {
|
4937 |
+
padding: 0 18px 12px 18px;
|
4938 |
+
text-align: right; }
|
4939 |
+
.mdl-data-table td:first-of-type, .mdl-data-table th:first-of-type {
|
4940 |
+
padding-left: 24px; }
|
4941 |
+
.mdl-data-table td:last-of-type, .mdl-data-table th:last-of-type {
|
4942 |
+
padding-right: 24px; }
|
4943 |
+
.mdl-data-table td {
|
4944 |
+
position: relative;
|
4945 |
+
vertical-align: middle;
|
4946 |
+
height: 48px;
|
4947 |
+
border-top: 1px solid rgba(0, 0, 0, 0.12);
|
4948 |
+
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
4949 |
+
padding-top: 12px;
|
4950 |
+
box-sizing: border-box; }
|
4951 |
+
.mdl-data-table td .mdl-data-table__select {
|
4952 |
+
vertical-align: middle; }
|
4953 |
+
.mdl-data-table th {
|
4954 |
+
position: relative;
|
4955 |
+
vertical-align: bottom;
|
4956 |
+
text-overflow: ellipsis;
|
4957 |
+
font-size: 14px;
|
4958 |
+
font-weight: bold;
|
4959 |
+
line-height: 24px;
|
4960 |
+
letter-spacing: 0;
|
4961 |
+
height: 48px;
|
4962 |
+
font-size: 12px;
|
4963 |
+
color: rgba(0, 0, 0, 0.54);
|
4964 |
+
padding-bottom: 8px;
|
4965 |
+
box-sizing: border-box; }
|
4966 |
+
.mdl-data-table th.mdl-data-table__header--sorted-ascending, .mdl-data-table th.mdl-data-table__header--sorted-descending {
|
4967 |
+
color: rgba(0, 0, 0, 0.87); }
|
4968 |
+
.mdl-data-table th.mdl-data-table__header--sorted-ascending:before, .mdl-data-table th.mdl-data-table__header--sorted-descending:before {
|
4969 |
+
font-family: 'Material Icons';
|
4970 |
+
font-weight: normal;
|
4971 |
+
font-style: normal;
|
4972 |
+
font-size: 24px;
|
4973 |
+
line-height: 1;
|
4974 |
+
letter-spacing: normal;
|
4975 |
+
text-transform: none;
|
4976 |
+
display: inline-block;
|
4977 |
+
word-wrap: normal;
|
4978 |
+
-moz-font-feature-settings: 'liga';
|
4979 |
+
font-feature-settings: 'liga';
|
4980 |
+
-webkit-font-feature-settings: 'liga';
|
4981 |
+
-webkit-font-smoothing: antialiased;
|
4982 |
+
font-size: 16px;
|
4983 |
+
content: "\e5d8";
|
4984 |
+
margin-right: 5px;
|
4985 |
+
vertical-align: sub; }
|
4986 |
+
.mdl-data-table th.mdl-data-table__header--sorted-ascending:hover, .mdl-data-table th.mdl-data-table__header--sorted-descending:hover {
|
4987 |
+
cursor: pointer; }
|
4988 |
+
.mdl-data-table th.mdl-data-table__header--sorted-ascending:hover:before, .mdl-data-table th.mdl-data-table__header--sorted-descending:hover:before {
|
4989 |
+
color: rgba(0, 0, 0, 0.26); }
|
4990 |
+
.mdl-data-table th.mdl-data-table__header--sorted-descending:before {
|
4991 |
+
content: "\e5db"; }
|
4992 |
+
|
4993 |
+
.mdl-data-table__select {
|
4994 |
+
width: 16px; }
|
4995 |
+
|
4996 |
+
.mdl-data-table__cell--non-numeric.mdl-data-table__cell--non-numeric {
|
4997 |
+
text-align: left; }
|
4998 |
+
|
4999 |
+
/**
|
5000 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5001 |
+
*
|
5002 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5003 |
+
* you may not use this file except in compliance with the License.
|
5004 |
+
* You may obtain a copy of the License at
|
5005 |
+
*
|
5006 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5007 |
+
*
|
5008 |
+
* Unless required by applicable law or agreed to in writing, software
|
5009 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5010 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5011 |
+
* See the License for the specific language governing permissions and
|
5012 |
+
* limitations under the License.
|
5013 |
+
*/
|
5014 |
+
/**
|
5015 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5016 |
+
*
|
5017 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5018 |
+
* you may not use this file except in compliance with the License.
|
5019 |
+
* You may obtain a copy of the License at
|
5020 |
+
*
|
5021 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5022 |
+
*
|
5023 |
+
* Unless required by applicable law or agreed to in writing, software
|
5024 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5025 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5026 |
+
* See the License for the specific language governing permissions and
|
5027 |
+
* limitations under the License.
|
5028 |
+
*/
|
5029 |
+
/*------------------------------------* $CONTENTS
|
5030 |
+
\*------------------------------------*/
|
5031 |
+
/**
|
5032 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
5033 |
+
* -----Typography
|
5034 |
+
* -----Colors
|
5035 |
+
* -----Textfield
|
5036 |
+
* -----Switch
|
5037 |
+
* -----Spinner
|
5038 |
+
* -----Radio
|
5039 |
+
* -----Menu
|
5040 |
+
* -----List
|
5041 |
+
* -----Layout
|
5042 |
+
* -----Icon toggles
|
5043 |
+
* -----Footer
|
5044 |
+
* -----Column
|
5045 |
+
* -----Checkbox
|
5046 |
+
* -----Card
|
5047 |
+
* -----Button
|
5048 |
+
* -----Animation
|
5049 |
+
* -----Progress
|
5050 |
+
* -----Badge
|
5051 |
+
* -----Shadows
|
5052 |
+
* -----Grid
|
5053 |
+
* -----Data table
|
5054 |
+
* -----Dialog
|
5055 |
+
* -----Snackbar
|
5056 |
+
* -----Tooltip
|
5057 |
+
* -----Chip
|
5058 |
+
*
|
5059 |
+
* Even though all variables have the `!default` directive, most of them
|
5060 |
+
* should not be changed as they are dependent one another. This can cause
|
5061 |
+
* visual distortions (like alignment issues) that are hard to track down
|
5062 |
+
* and fix.
|
5063 |
+
*/
|
5064 |
+
/* ========== TYPOGRAPHY ========== */
|
5065 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
5066 |
+
page loading. For important text, such as the body, we want it to load
|
5067 |
+
immediately and not wait for the web font load, whereas for other sections,
|
5068 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
5069 |
+
We do have some optional classes and parameters in the mixins, in case you
|
5070 |
+
definitely want to make sure you're using the preferred font and don't mind
|
5071 |
+
the performance hit.
|
5072 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
5073 |
+
widely available.
|
5074 |
+
*/
|
5075 |
+
/* ========== COLORS ========== */
|
5076 |
+
/**
|
5077 |
+
*
|
5078 |
+
* Material design color palettes.
|
5079 |
+
* @see http://www.google.com/design/spec/style/color.html
|
5080 |
+
*
|
5081 |
+
**/
|
5082 |
+
/**
|
5083 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5084 |
+
*
|
5085 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5086 |
+
* you may not use this file except in compliance with the License.
|
5087 |
+
* You may obtain a copy of the License at
|
5088 |
+
*
|
5089 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5090 |
+
*
|
5091 |
+
* Unless required by applicable law or agreed to in writing, software
|
5092 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5093 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5094 |
+
* See the License for the specific language governing permissions and
|
5095 |
+
* limitations under the License.
|
5096 |
+
*/
|
5097 |
+
/* ========== Color Palettes ========== */
|
5098 |
+
/* colors.scss */
|
5099 |
+
/**
|
5100 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5101 |
+
*
|
5102 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5103 |
+
* you may not use this file except in compliance with the License.
|
5104 |
+
* You may obtain a copy of the License at
|
5105 |
+
*
|
5106 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5107 |
+
*
|
5108 |
+
* Unless required by applicable law or agreed to in writing, software
|
5109 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5110 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5111 |
+
* See the License for the specific language governing permissions and
|
5112 |
+
* limitations under the License.
|
5113 |
+
*/
|
5114 |
+
/* ========== IMAGES ========== */
|
5115 |
+
/* ========== Color & Themes ========== */
|
5116 |
+
/* ========== Typography ========== */
|
5117 |
+
/* ========== Components ========== */
|
5118 |
+
/* ========== Standard Buttons ========== */
|
5119 |
+
/* ========== Icon Toggles ========== */
|
5120 |
+
/* ========== Radio Buttons ========== */
|
5121 |
+
/* ========== Ripple effect ========== */
|
5122 |
+
/* ========== Layout ========== */
|
5123 |
+
/* ========== Content Tabs ========== */
|
5124 |
+
/* ========== Checkboxes ========== */
|
5125 |
+
/* ========== Switches ========== */
|
5126 |
+
/* ========== Spinner ========== */
|
5127 |
+
/* ========== Text fields ========== */
|
5128 |
+
/* ========== Card ========== */
|
5129 |
+
/* ========== Sliders ========== */
|
5130 |
+
/* ========== Progress ========== */
|
5131 |
+
/* ========== List ========== */
|
5132 |
+
/* ========== Item ========== */
|
5133 |
+
/* ========== Dropdown menu ========== */
|
5134 |
+
/* ========== Tooltips ========== */
|
5135 |
+
/* ========== Footer ========== */
|
5136 |
+
/* TEXTFIELD */
|
5137 |
+
/* SWITCH */
|
5138 |
+
/* SPINNER */
|
5139 |
+
/* RADIO */
|
5140 |
+
/* MENU */
|
5141 |
+
/* LIST */
|
5142 |
+
/* LAYOUT */
|
5143 |
+
/* ICON TOGGLE */
|
5144 |
+
/* FOOTER */
|
5145 |
+
/*mega-footer*/
|
5146 |
+
/*mini-footer*/
|
5147 |
+
/* CHECKBOX */
|
5148 |
+
/* CARD */
|
5149 |
+
/* Card dimensions */
|
5150 |
+
/* Cover image */
|
5151 |
+
/* BUTTON */
|
5152 |
+
/**
|
5153 |
+
*
|
5154 |
+
* Dimensions
|
5155 |
+
*
|
5156 |
+
*/
|
5157 |
+
/* ANIMATION */
|
5158 |
+
/* PROGRESS */
|
5159 |
+
/* BADGE */
|
5160 |
+
/* SHADOWS */
|
5161 |
+
/* GRID */
|
5162 |
+
/* DATA TABLE */
|
5163 |
+
/* DIALOG */
|
5164 |
+
/* SNACKBAR */
|
5165 |
+
/* TOOLTIP */
|
5166 |
+
/* CHIP */
|
5167 |
+
/**
|
5168 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5169 |
+
*
|
5170 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5171 |
+
* you may not use this file except in compliance with the License.
|
5172 |
+
* You may obtain a copy of the License at
|
5173 |
+
*
|
5174 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5175 |
+
*
|
5176 |
+
* Unless required by applicable law or agreed to in writing, software
|
5177 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5178 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5179 |
+
* See the License for the specific language governing permissions and
|
5180 |
+
* limitations under the License.
|
5181 |
+
*/
|
5182 |
+
/* Typography */
|
5183 |
+
/* Shadows */
|
5184 |
+
/* Animations */
|
5185 |
+
/* Dialog */
|
5186 |
+
.mdl-dialog {
|
5187 |
+
border: none;
|
5188 |
+
box-shadow: 0 9px 46px 8px rgba(0, 0, 0, 0.14), 0 11px 15px -7px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.2);
|
5189 |
+
width: 280px; }
|
5190 |
+
.mdl-dialog__title {
|
5191 |
+
padding: 24px 24px 0;
|
5192 |
+
margin: 0;
|
5193 |
+
font-size: 2.5rem; }
|
5194 |
+
.mdl-dialog__actions {
|
5195 |
+
padding: 8px 8px 8px 24px;
|
5196 |
+
display: -webkit-flex;
|
5197 |
+
display: -ms-flexbox;
|
5198 |
+
display: flex;
|
5199 |
+
-webkit-flex-direction: row-reverse;
|
5200 |
+
-ms-flex-direction: row-reverse;
|
5201 |
+
flex-direction: row-reverse;
|
5202 |
+
-webkit-flex-wrap: wrap;
|
5203 |
+
-ms-flex-wrap: wrap;
|
5204 |
+
flex-wrap: wrap; }
|
5205 |
+
.mdl-dialog__actions > * {
|
5206 |
+
margin-right: 8px;
|
5207 |
+
height: 36px; }
|
5208 |
+
.mdl-dialog__actions > *:first-child {
|
5209 |
+
margin-right: 0; }
|
5210 |
+
.mdl-dialog__actions--full-width {
|
5211 |
+
padding: 0 0 8px 0; }
|
5212 |
+
.mdl-dialog__actions--full-width > * {
|
5213 |
+
height: 48px;
|
5214 |
+
-webkit-flex: 0 0 100%;
|
5215 |
+
-ms-flex: 0 0 100%;
|
5216 |
+
flex: 0 0 100%;
|
5217 |
+
padding-right: 16px;
|
5218 |
+
margin-right: 0;
|
5219 |
+
text-align: right; }
|
5220 |
+
.mdl-dialog__content {
|
5221 |
+
padding: 20px 24px 24px 24px;
|
5222 |
+
color: rgba(0,0,0, 0.54); }
|
5223 |
+
|
5224 |
+
/**
|
5225 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5226 |
+
*
|
5227 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5228 |
+
* you may not use this file except in compliance with the License.
|
5229 |
+
* You may obtain a copy of the License at
|
5230 |
+
*
|
5231 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5232 |
+
*
|
5233 |
+
* Unless required by applicable law or agreed to in writing, software
|
5234 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5235 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5236 |
+
* See the License for the specific language governing permissions and
|
5237 |
+
* limitations under the License.
|
5238 |
+
*/
|
5239 |
+
/**
|
5240 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5241 |
+
*
|
5242 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5243 |
+
* you may not use this file except in compliance with the License.
|
5244 |
+
* You may obtain a copy of the License at
|
5245 |
+
*
|
5246 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5247 |
+
*
|
5248 |
+
* Unless required by applicable law or agreed to in writing, software
|
5249 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5250 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5251 |
+
* See the License for the specific language governing permissions and
|
5252 |
+
* limitations under the License.
|
5253 |
+
*/
|
5254 |
+
/*------------------------------------* $CONTENTS
|
5255 |
+
\*------------------------------------*/
|
5256 |
+
/**
|
5257 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
5258 |
+
* -----Typography
|
5259 |
+
* -----Colors
|
5260 |
+
* -----Textfield
|
5261 |
+
* -----Switch
|
5262 |
+
* -----Spinner
|
5263 |
+
* -----Radio
|
5264 |
+
* -----Menu
|
5265 |
+
* -----List
|
5266 |
+
* -----Layout
|
5267 |
+
* -----Icon toggles
|
5268 |
+
* -----Footer
|
5269 |
+
* -----Column
|
5270 |
+
* -----Checkbox
|
5271 |
+
* -----Card
|
5272 |
+
* -----Button
|
5273 |
+
* -----Animation
|
5274 |
+
* -----Progress
|
5275 |
+
* -----Badge
|
5276 |
+
* -----Shadows
|
5277 |
+
* -----Grid
|
5278 |
+
* -----Data table
|
5279 |
+
* -----Dialog
|
5280 |
+
* -----Snackbar
|
5281 |
+
* -----Tooltip
|
5282 |
+
* -----Chip
|
5283 |
+
*
|
5284 |
+
* Even though all variables have the `!default` directive, most of them
|
5285 |
+
* should not be changed as they are dependent one another. This can cause
|
5286 |
+
* visual distortions (like alignment issues) that are hard to track down
|
5287 |
+
* and fix.
|
5288 |
+
*/
|
5289 |
+
/* ========== TYPOGRAPHY ========== */
|
5290 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
5291 |
+
page loading. For important text, such as the body, we want it to load
|
5292 |
+
immediately and not wait for the web font load, whereas for other sections,
|
5293 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
5294 |
+
We do have some optional classes and parameters in the mixins, in case you
|
5295 |
+
definitely want to make sure you're using the preferred font and don't mind
|
5296 |
+
the performance hit.
|
5297 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
5298 |
+
widely available.
|
5299 |
+
*/
|
5300 |
+
/* ========== COLORS ========== */
|
5301 |
+
/**
|
5302 |
+
*
|
5303 |
+
* Material design color palettes.
|
5304 |
+
* @see http://www.google.com/design/spec/style/color.html
|
5305 |
+
*
|
5306 |
+
**/
|
5307 |
+
/**
|
5308 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5309 |
+
*
|
5310 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5311 |
+
* you may not use this file except in compliance with the License.
|
5312 |
+
* You may obtain a copy of the License at
|
5313 |
+
*
|
5314 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5315 |
+
*
|
5316 |
+
* Unless required by applicable law or agreed to in writing, software
|
5317 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5318 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5319 |
+
* See the License for the specific language governing permissions and
|
5320 |
+
* limitations under the License.
|
5321 |
+
*/
|
5322 |
+
/* ========== Color Palettes ========== */
|
5323 |
+
/* colors.scss */
|
5324 |
+
/**
|
5325 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5326 |
+
*
|
5327 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5328 |
+
* you may not use this file except in compliance with the License.
|
5329 |
+
* You may obtain a copy of the License at
|
5330 |
+
*
|
5331 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5332 |
+
*
|
5333 |
+
* Unless required by applicable law or agreed to in writing, software
|
5334 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5335 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5336 |
+
* See the License for the specific language governing permissions and
|
5337 |
+
* limitations under the License.
|
5338 |
+
*/
|
5339 |
+
/* ========== IMAGES ========== */
|
5340 |
+
/* ========== Color & Themes ========== */
|
5341 |
+
/* ========== Typography ========== */
|
5342 |
+
/* ========== Components ========== */
|
5343 |
+
/* ========== Standard Buttons ========== */
|
5344 |
+
/* ========== Icon Toggles ========== */
|
5345 |
+
/* ========== Radio Buttons ========== */
|
5346 |
+
/* ========== Ripple effect ========== */
|
5347 |
+
/* ========== Layout ========== */
|
5348 |
+
/* ========== Content Tabs ========== */
|
5349 |
+
/* ========== Checkboxes ========== */
|
5350 |
+
/* ========== Switches ========== */
|
5351 |
+
/* ========== Spinner ========== */
|
5352 |
+
/* ========== Text fields ========== */
|
5353 |
+
/* ========== Card ========== */
|
5354 |
+
/* ========== Sliders ========== */
|
5355 |
+
/* ========== Progress ========== */
|
5356 |
+
/* ========== List ========== */
|
5357 |
+
/* ========== Item ========== */
|
5358 |
+
/* ========== Dropdown menu ========== */
|
5359 |
+
/* ========== Tooltips ========== */
|
5360 |
+
/* ========== Footer ========== */
|
5361 |
+
/* TEXTFIELD */
|
5362 |
+
/* SWITCH */
|
5363 |
+
/* SPINNER */
|
5364 |
+
/* RADIO */
|
5365 |
+
/* MENU */
|
5366 |
+
/* LIST */
|
5367 |
+
/* LAYOUT */
|
5368 |
+
/* ICON TOGGLE */
|
5369 |
+
/* FOOTER */
|
5370 |
+
/*mega-footer*/
|
5371 |
+
/*mini-footer*/
|
5372 |
+
/* CHECKBOX */
|
5373 |
+
/* CARD */
|
5374 |
+
/* Card dimensions */
|
5375 |
+
/* Cover image */
|
5376 |
+
/* BUTTON */
|
5377 |
+
/**
|
5378 |
+
*
|
5379 |
+
* Dimensions
|
5380 |
+
*
|
5381 |
+
*/
|
5382 |
+
/* ANIMATION */
|
5383 |
+
/* PROGRESS */
|
5384 |
+
/* BADGE */
|
5385 |
+
/* SHADOWS */
|
5386 |
+
/* GRID */
|
5387 |
+
/* DATA TABLE */
|
5388 |
+
/* DIALOG */
|
5389 |
+
/* SNACKBAR */
|
5390 |
+
/* TOOLTIP */
|
5391 |
+
/* CHIP */
|
5392 |
+
/**
|
5393 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5394 |
+
*
|
5395 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5396 |
+
* you may not use this file except in compliance with the License.
|
5397 |
+
* You may obtain a copy of the License at
|
5398 |
+
*
|
5399 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5400 |
+
*
|
5401 |
+
* Unless required by applicable law or agreed to in writing, software
|
5402 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5403 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5404 |
+
* See the License for the specific language governing permissions and
|
5405 |
+
* limitations under the License.
|
5406 |
+
*/
|
5407 |
+
/* Typography */
|
5408 |
+
/* Shadows */
|
5409 |
+
/* Animations */
|
5410 |
+
/* Dialog */
|
5411 |
+
.mdl-mega-footer {
|
5412 |
+
padding: 16px 40px;
|
5413 |
+
color: rgb(158,158,158);
|
5414 |
+
background-color: rgb(66,66,66); }
|
5415 |
+
|
5416 |
+
.mdl-mega-footer--top-section:after,
|
5417 |
+
.mdl-mega-footer--middle-section:after,
|
5418 |
+
.mdl-mega-footer--bottom-section:after,
|
5419 |
+
.mdl-mega-footer__top-section:after,
|
5420 |
+
.mdl-mega-footer__middle-section:after,
|
5421 |
+
.mdl-mega-footer__bottom-section:after {
|
5422 |
+
content: '';
|
5423 |
+
display: block;
|
5424 |
+
clear: both; }
|
5425 |
+
|
5426 |
+
.mdl-mega-footer--left-section,
|
5427 |
+
.mdl-mega-footer__left-section {
|
5428 |
+
margin-bottom: 16px; }
|
5429 |
+
|
5430 |
+
.mdl-mega-footer--right-section,
|
5431 |
+
.mdl-mega-footer__right-section {
|
5432 |
+
margin-bottom: 16px; }
|
5433 |
+
|
5434 |
+
.mdl-mega-footer--right-section a,
|
5435 |
+
.mdl-mega-footer__right-section a {
|
5436 |
+
display: block;
|
5437 |
+
margin-bottom: 16px;
|
5438 |
+
color: inherit;
|
5439 |
+
text-decoration: none; }
|
5440 |
+
|
5441 |
+
@media screen and (min-width: 760px) {
|
5442 |
+
.mdl-mega-footer--left-section,
|
5443 |
+
.mdl-mega-footer__left-section {
|
5444 |
+
float: left; }
|
5445 |
+
.mdl-mega-footer--right-section,
|
5446 |
+
.mdl-mega-footer__right-section {
|
5447 |
+
float: right; }
|
5448 |
+
.mdl-mega-footer--right-section a,
|
5449 |
+
.mdl-mega-footer__right-section a {
|
5450 |
+
display: inline-block;
|
5451 |
+
margin-left: 16px;
|
5452 |
+
line-height: 36px;
|
5453 |
+
vertical-align: middle; } }
|
5454 |
+
|
5455 |
+
.mdl-mega-footer--social-btn,
|
5456 |
+
.mdl-mega-footer__social-btn {
|
5457 |
+
width: 36px;
|
5458 |
+
height: 36px;
|
5459 |
+
padding: 0;
|
5460 |
+
margin: 0;
|
5461 |
+
background-color: rgb(158,158,158);
|
5462 |
+
border: none; }
|
5463 |
+
|
5464 |
+
.mdl-mega-footer--drop-down-section,
|
5465 |
+
.mdl-mega-footer__drop-down-section {
|
5466 |
+
display: block;
|
5467 |
+
position: relative; }
|
5468 |
+
|
5469 |
+
@media screen and (min-width: 760px) {
|
5470 |
+
.mdl-mega-footer--drop-down-section,
|
5471 |
+
.mdl-mega-footer__drop-down-section {
|
5472 |
+
width: 33%; }
|
5473 |
+
.mdl-mega-footer--drop-down-section:nth-child(1),
|
5474 |
+
.mdl-mega-footer--drop-down-section:nth-child(2),
|
5475 |
+
.mdl-mega-footer__drop-down-section:nth-child(1),
|
5476 |
+
.mdl-mega-footer__drop-down-section:nth-child(2) {
|
5477 |
+
float: left; }
|
5478 |
+
.mdl-mega-footer--drop-down-section:nth-child(3),
|
5479 |
+
.mdl-mega-footer__drop-down-section:nth-child(3) {
|
5480 |
+
float: right; }
|
5481 |
+
.mdl-mega-footer--drop-down-section:nth-child(3):after,
|
5482 |
+
.mdl-mega-footer__drop-down-section:nth-child(3):after {
|
5483 |
+
clear: right; }
|
5484 |
+
.mdl-mega-footer--drop-down-section:nth-child(4),
|
5485 |
+
.mdl-mega-footer__drop-down-section:nth-child(4) {
|
5486 |
+
clear: right;
|
5487 |
+
float: right; }
|
5488 |
+
.mdl-mega-footer--middle-section:after,
|
5489 |
+
.mdl-mega-footer__middle-section:after {
|
5490 |
+
content: '';
|
5491 |
+
display: block;
|
5492 |
+
clear: both; }
|
5493 |
+
.mdl-mega-footer--bottom-section,
|
5494 |
+
.mdl-mega-footer__bottom-section {
|
5495 |
+
padding-top: 0; } }
|
5496 |
+
|
5497 |
+
@media screen and (min-width: 1024px) {
|
5498 |
+
.mdl-mega-footer--drop-down-section,
|
5499 |
+
.mdl-mega-footer--drop-down-section:nth-child(3),
|
5500 |
+
.mdl-mega-footer--drop-down-section:nth-child(4),
|
5501 |
+
.mdl-mega-footer__drop-down-section,
|
5502 |
+
.mdl-mega-footer__drop-down-section:nth-child(3),
|
5503 |
+
.mdl-mega-footer__drop-down-section:nth-child(4) {
|
5504 |
+
width: 24%;
|
5505 |
+
float: left; } }
|
5506 |
+
|
5507 |
+
.mdl-mega-footer--heading-checkbox,
|
5508 |
+
.mdl-mega-footer__heading-checkbox {
|
5509 |
+
position: absolute;
|
5510 |
+
width: 100%;
|
5511 |
+
height: 55.8px;
|
5512 |
+
padding: 32px;
|
5513 |
+
margin: 0;
|
5514 |
+
margin-top: -16px;
|
5515 |
+
cursor: pointer;
|
5516 |
+
z-index: 1;
|
5517 |
+
opacity: 0; }
|
5518 |
+
.mdl-mega-footer--heading-checkbox + .mdl-mega-footer--heading:after,
|
5519 |
+
.mdl-mega-footer--heading-checkbox + .mdl-mega-footer__heading:after,
|
5520 |
+
.mdl-mega-footer__heading-checkbox + .mdl-mega-footer--heading:after,
|
5521 |
+
.mdl-mega-footer__heading-checkbox + .mdl-mega-footer__heading:after {
|
5522 |
+
font-family: 'Material Icons';
|
5523 |
+
content: '\E5CE'; }
|
5524 |
+
|
5525 |
+
.mdl-mega-footer--heading-checkbox:checked ~ .mdl-mega-footer--link-list,
|
5526 |
+
.mdl-mega-footer--heading-checkbox:checked ~ .mdl-mega-footer__link-list,
|
5527 |
+
.mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer--heading + .mdl-mega-footer--link-list,
|
5528 |
+
.mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer__heading + .mdl-mega-footer__link-list,
|
5529 |
+
.mdl-mega-footer__heading-checkbox:checked ~ .mdl-mega-footer--link-list,
|
5530 |
+
.mdl-mega-footer__heading-checkbox:checked ~ .mdl-mega-footer__link-list,
|
5531 |
+
.mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer--heading + .mdl-mega-footer--link-list,
|
5532 |
+
.mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer__heading + .mdl-mega-footer__link-list {
|
5533 |
+
display: none; }
|
5534 |
+
|
5535 |
+
.mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer--heading:after,
|
5536 |
+
.mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer__heading:after,
|
5537 |
+
.mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer--heading:after,
|
5538 |
+
.mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer__heading:after {
|
5539 |
+
font-family: 'Material Icons';
|
5540 |
+
content: '\E5CF'; }
|
5541 |
+
|
5542 |
+
.mdl-mega-footer--heading,
|
5543 |
+
.mdl-mega-footer__heading {
|
5544 |
+
position: relative;
|
5545 |
+
width: 100%;
|
5546 |
+
padding-right: 39.8px;
|
5547 |
+
margin-bottom: 16px;
|
5548 |
+
box-sizing: border-box;
|
5549 |
+
font-size: 14px;
|
5550 |
+
line-height: 23.8px;
|
5551 |
+
font-weight: 500;
|
5552 |
+
white-space: nowrap;
|
5553 |
+
text-overflow: ellipsis;
|
5554 |
+
overflow: hidden;
|
5555 |
+
color: rgb(224,224,224); }
|
5556 |
+
|
5557 |
+
.mdl-mega-footer--heading:after,
|
5558 |
+
.mdl-mega-footer__heading:after {
|
5559 |
+
content: '';
|
5560 |
+
position: absolute;
|
5561 |
+
top: 0;
|
5562 |
+
right: 0;
|
5563 |
+
display: block;
|
5564 |
+
width: 23.8px;
|
5565 |
+
height: 23.8px;
|
5566 |
+
background-size: cover; }
|
5567 |
+
|
5568 |
+
.mdl-mega-footer--link-list,
|
5569 |
+
.mdl-mega-footer__link-list {
|
5570 |
+
list-style: none;
|
5571 |
+
margin: 0;
|
5572 |
+
padding: 0;
|
5573 |
+
margin-bottom: 32px; }
|
5574 |
+
.mdl-mega-footer--link-list:after,
|
5575 |
+
.mdl-mega-footer__link-list:after {
|
5576 |
+
clear: both;
|
5577 |
+
display: block;
|
5578 |
+
content: ''; }
|
5579 |
+
|
5580 |
+
.mdl-mega-footer--link-list li,
|
5581 |
+
.mdl-mega-footer__link-list li {
|
5582 |
+
font-size: 14px;
|
5583 |
+
font-weight: 400;
|
5584 |
+
line-height: 24px;
|
5585 |
+
letter-spacing: 0;
|
5586 |
+
line-height: 20px; }
|
5587 |
+
|
5588 |
+
.mdl-mega-footer--link-list a,
|
5589 |
+
.mdl-mega-footer__link-list a {
|
5590 |
+
color: inherit;
|
5591 |
+
text-decoration: none;
|
5592 |
+
white-space: nowrap; }
|
5593 |
+
|
5594 |
+
@media screen and (min-width: 760px) {
|
5595 |
+
.mdl-mega-footer--heading-checkbox,
|
5596 |
+
.mdl-mega-footer__heading-checkbox {
|
5597 |
+
display: none; }
|
5598 |
+
.mdl-mega-footer--heading-checkbox + .mdl-mega-footer--heading:after,
|
5599 |
+
.mdl-mega-footer--heading-checkbox + .mdl-mega-footer__heading:after,
|
5600 |
+
.mdl-mega-footer__heading-checkbox + .mdl-mega-footer--heading:after,
|
5601 |
+
.mdl-mega-footer__heading-checkbox + .mdl-mega-footer__heading:after {
|
5602 |
+
content: ''; }
|
5603 |
+
.mdl-mega-footer--heading-checkbox:checked ~ .mdl-mega-footer--link-list,
|
5604 |
+
.mdl-mega-footer--heading-checkbox:checked ~ .mdl-mega-footer__link-list,
|
5605 |
+
.mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer__heading + .mdl-mega-footer__link-list,
|
5606 |
+
.mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer--heading + .mdl-mega-footer--link-list,
|
5607 |
+
.mdl-mega-footer__heading-checkbox:checked ~ .mdl-mega-footer--link-list,
|
5608 |
+
.mdl-mega-footer__heading-checkbox:checked ~ .mdl-mega-footer__link-list,
|
5609 |
+
.mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer__heading + .mdl-mega-footer__link-list,
|
5610 |
+
.mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer--heading + .mdl-mega-footer--link-list {
|
5611 |
+
display: block; }
|
5612 |
+
.mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer--heading:after,
|
5613 |
+
.mdl-mega-footer--heading-checkbox:checked + .mdl-mega-footer__heading:after,
|
5614 |
+
.mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer--heading:after,
|
5615 |
+
.mdl-mega-footer__heading-checkbox:checked + .mdl-mega-footer__heading:after {
|
5616 |
+
content: ''; } }
|
5617 |
+
|
5618 |
+
.mdl-mega-footer--bottom-section,
|
5619 |
+
.mdl-mega-footer__bottom-section {
|
5620 |
+
padding-top: 16px;
|
5621 |
+
margin-bottom: 16px; }
|
5622 |
+
|
5623 |
+
.mdl-logo {
|
5624 |
+
margin-bottom: 16px;
|
5625 |
+
color: white; }
|
5626 |
+
|
5627 |
+
.mdl-mega-footer--bottom-section .mdl-mega-footer--link-list li,
|
5628 |
+
.mdl-mega-footer__bottom-section .mdl-mega-footer__link-list li {
|
5629 |
+
float: left;
|
5630 |
+
margin-bottom: 0;
|
5631 |
+
margin-right: 16px; }
|
5632 |
+
|
5633 |
+
@media screen and (min-width: 760px) {
|
5634 |
+
.mdl-logo {
|
5635 |
+
float: left;
|
5636 |
+
margin-bottom: 0;
|
5637 |
+
margin-right: 16px; } }
|
5638 |
+
|
5639 |
+
/**
|
5640 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5641 |
+
*
|
5642 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5643 |
+
* you may not use this file except in compliance with the License.
|
5644 |
+
* You may obtain a copy of the License at
|
5645 |
+
*
|
5646 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5647 |
+
*
|
5648 |
+
* Unless required by applicable law or agreed to in writing, software
|
5649 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5650 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5651 |
+
* See the License for the specific language governing permissions and
|
5652 |
+
* limitations under the License.
|
5653 |
+
*/
|
5654 |
+
/**
|
5655 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5656 |
+
*
|
5657 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5658 |
+
* you may not use this file except in compliance with the License.
|
5659 |
+
* You may obtain a copy of the License at
|
5660 |
+
*
|
5661 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5662 |
+
*
|
5663 |
+
* Unless required by applicable law or agreed to in writing, software
|
5664 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5665 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5666 |
+
* See the License for the specific language governing permissions and
|
5667 |
+
* limitations under the License.
|
5668 |
+
*/
|
5669 |
+
/*------------------------------------* $CONTENTS
|
5670 |
+
\*------------------------------------*/
|
5671 |
+
/**
|
5672 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
5673 |
+
* -----Typography
|
5674 |
+
* -----Colors
|
5675 |
+
* -----Textfield
|
5676 |
+
* -----Switch
|
5677 |
+
* -----Spinner
|
5678 |
+
* -----Radio
|
5679 |
+
* -----Menu
|
5680 |
+
* -----List
|
5681 |
+
* -----Layout
|
5682 |
+
* -----Icon toggles
|
5683 |
+
* -----Footer
|
5684 |
+
* -----Column
|
5685 |
+
* -----Checkbox
|
5686 |
+
* -----Card
|
5687 |
+
* -----Button
|
5688 |
+
* -----Animation
|
5689 |
+
* -----Progress
|
5690 |
+
* -----Badge
|
5691 |
+
* -----Shadows
|
5692 |
+
* -----Grid
|
5693 |
+
* -----Data table
|
5694 |
+
* -----Dialog
|
5695 |
+
* -----Snackbar
|
5696 |
+
* -----Tooltip
|
5697 |
+
* -----Chip
|
5698 |
+
*
|
5699 |
+
* Even though all variables have the `!default` directive, most of them
|
5700 |
+
* should not be changed as they are dependent one another. This can cause
|
5701 |
+
* visual distortions (like alignment issues) that are hard to track down
|
5702 |
+
* and fix.
|
5703 |
+
*/
|
5704 |
+
/* ========== TYPOGRAPHY ========== */
|
5705 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
5706 |
+
page loading. For important text, such as the body, we want it to load
|
5707 |
+
immediately and not wait for the web font load, whereas for other sections,
|
5708 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
5709 |
+
We do have some optional classes and parameters in the mixins, in case you
|
5710 |
+
definitely want to make sure you're using the preferred font and don't mind
|
5711 |
+
the performance hit.
|
5712 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
5713 |
+
widely available.
|
5714 |
+
*/
|
5715 |
+
/* ========== COLORS ========== */
|
5716 |
+
/**
|
5717 |
+
*
|
5718 |
+
* Material design color palettes.
|
5719 |
+
* @see http://www.google.com/design/spec/style/color.html
|
5720 |
+
*
|
5721 |
+
**/
|
5722 |
+
/**
|
5723 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5724 |
+
*
|
5725 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5726 |
+
* you may not use this file except in compliance with the License.
|
5727 |
+
* You may obtain a copy of the License at
|
5728 |
+
*
|
5729 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5730 |
+
*
|
5731 |
+
* Unless required by applicable law or agreed to in writing, software
|
5732 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5733 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5734 |
+
* See the License for the specific language governing permissions and
|
5735 |
+
* limitations under the License.
|
5736 |
+
*/
|
5737 |
+
/* ========== Color Palettes ========== */
|
5738 |
+
/* colors.scss */
|
5739 |
+
/**
|
5740 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5741 |
+
*
|
5742 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5743 |
+
* you may not use this file except in compliance with the License.
|
5744 |
+
* You may obtain a copy of the License at
|
5745 |
+
*
|
5746 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5747 |
+
*
|
5748 |
+
* Unless required by applicable law or agreed to in writing, software
|
5749 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5750 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5751 |
+
* See the License for the specific language governing permissions and
|
5752 |
+
* limitations under the License.
|
5753 |
+
*/
|
5754 |
+
/* ========== IMAGES ========== */
|
5755 |
+
/* ========== Color & Themes ========== */
|
5756 |
+
/* ========== Typography ========== */
|
5757 |
+
/* ========== Components ========== */
|
5758 |
+
/* ========== Standard Buttons ========== */
|
5759 |
+
/* ========== Icon Toggles ========== */
|
5760 |
+
/* ========== Radio Buttons ========== */
|
5761 |
+
/* ========== Ripple effect ========== */
|
5762 |
+
/* ========== Layout ========== */
|
5763 |
+
/* ========== Content Tabs ========== */
|
5764 |
+
/* ========== Checkboxes ========== */
|
5765 |
+
/* ========== Switches ========== */
|
5766 |
+
/* ========== Spinner ========== */
|
5767 |
+
/* ========== Text fields ========== */
|
5768 |
+
/* ========== Card ========== */
|
5769 |
+
/* ========== Sliders ========== */
|
5770 |
+
/* ========== Progress ========== */
|
5771 |
+
/* ========== List ========== */
|
5772 |
+
/* ========== Item ========== */
|
5773 |
+
/* ========== Dropdown menu ========== */
|
5774 |
+
/* ========== Tooltips ========== */
|
5775 |
+
/* ========== Footer ========== */
|
5776 |
+
/* TEXTFIELD */
|
5777 |
+
/* SWITCH */
|
5778 |
+
/* SPINNER */
|
5779 |
+
/* RADIO */
|
5780 |
+
/* MENU */
|
5781 |
+
/* LIST */
|
5782 |
+
/* LAYOUT */
|
5783 |
+
/* ICON TOGGLE */
|
5784 |
+
/* FOOTER */
|
5785 |
+
/*mega-footer*/
|
5786 |
+
/*mini-footer*/
|
5787 |
+
/* CHECKBOX */
|
5788 |
+
/* CARD */
|
5789 |
+
/* Card dimensions */
|
5790 |
+
/* Cover image */
|
5791 |
+
/* BUTTON */
|
5792 |
+
/**
|
5793 |
+
*
|
5794 |
+
* Dimensions
|
5795 |
+
*
|
5796 |
+
*/
|
5797 |
+
/* ANIMATION */
|
5798 |
+
/* PROGRESS */
|
5799 |
+
/* BADGE */
|
5800 |
+
/* SHADOWS */
|
5801 |
+
/* GRID */
|
5802 |
+
/* DATA TABLE */
|
5803 |
+
/* DIALOG */
|
5804 |
+
/* SNACKBAR */
|
5805 |
+
/* TOOLTIP */
|
5806 |
+
/* CHIP */
|
5807 |
+
.mdl-mini-footer {
|
5808 |
+
display: -webkit-flex;
|
5809 |
+
display: -ms-flexbox;
|
5810 |
+
display: flex;
|
5811 |
+
-webkit-flex-flow: row wrap;
|
5812 |
+
-ms-flex-flow: row wrap;
|
5813 |
+
flex-flow: row wrap;
|
5814 |
+
-webkit-justify-content: space-between;
|
5815 |
+
-ms-flex-pack: justify;
|
5816 |
+
justify-content: space-between;
|
5817 |
+
padding: 32px 16px;
|
5818 |
+
color: rgb(158,158,158);
|
5819 |
+
background-color: rgb(66,66,66); }
|
5820 |
+
.mdl-mini-footer:after {
|
5821 |
+
content: '';
|
5822 |
+
display: block; }
|
5823 |
+
.mdl-mini-footer .mdl-logo {
|
5824 |
+
line-height: 36px; }
|
5825 |
+
|
5826 |
+
.mdl-mini-footer--link-list,
|
5827 |
+
.mdl-mini-footer__link-list {
|
5828 |
+
display: -webkit-flex;
|
5829 |
+
display: -ms-flexbox;
|
5830 |
+
display: flex;
|
5831 |
+
-webkit-flex-flow: row nowrap;
|
5832 |
+
-ms-flex-flow: row nowrap;
|
5833 |
+
flex-flow: row nowrap;
|
5834 |
+
list-style: none;
|
5835 |
+
margin: 0;
|
5836 |
+
padding: 0; }
|
5837 |
+
.mdl-mini-footer--link-list li,
|
5838 |
+
.mdl-mini-footer__link-list li {
|
5839 |
+
margin-bottom: 0;
|
5840 |
+
margin-right: 16px; }
|
5841 |
+
@media screen and (min-width: 760px) {
|
5842 |
+
.mdl-mini-footer--link-list li,
|
5843 |
+
.mdl-mini-footer__link-list li {
|
5844 |
+
line-height: 36px; } }
|
5845 |
+
.mdl-mini-footer--link-list a,
|
5846 |
+
.mdl-mini-footer__link-list a {
|
5847 |
+
color: inherit;
|
5848 |
+
text-decoration: none;
|
5849 |
+
white-space: nowrap; }
|
5850 |
+
|
5851 |
+
.mdl-mini-footer--left-section,
|
5852 |
+
.mdl-mini-footer__left-section {
|
5853 |
+
display: inline-block;
|
5854 |
+
-webkit-order: 0;
|
5855 |
+
-ms-flex-order: 0;
|
5856 |
+
order: 0; }
|
5857 |
+
|
5858 |
+
.mdl-mini-footer--right-section,
|
5859 |
+
.mdl-mini-footer__right-section {
|
5860 |
+
display: inline-block;
|
5861 |
+
-webkit-order: 1;
|
5862 |
+
-ms-flex-order: 1;
|
5863 |
+
order: 1; }
|
5864 |
+
|
5865 |
+
.mdl-mini-footer--social-btn,
|
5866 |
+
.mdl-mini-footer__social-btn {
|
5867 |
+
width: 36px;
|
5868 |
+
height: 36px;
|
5869 |
+
padding: 0;
|
5870 |
+
margin: 0;
|
5871 |
+
background-color: rgb(158,158,158);
|
5872 |
+
border: none; }
|
5873 |
+
|
5874 |
+
/**
|
5875 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5876 |
+
*
|
5877 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5878 |
+
* you may not use this file except in compliance with the License.
|
5879 |
+
* You may obtain a copy of the License at
|
5880 |
+
*
|
5881 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5882 |
+
*
|
5883 |
+
* Unless required by applicable law or agreed to in writing, software
|
5884 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5885 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5886 |
+
* See the License for the specific language governing permissions and
|
5887 |
+
* limitations under the License.
|
5888 |
+
*/
|
5889 |
+
/**
|
5890 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5891 |
+
*
|
5892 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5893 |
+
* you may not use this file except in compliance with the License.
|
5894 |
+
* You may obtain a copy of the License at
|
5895 |
+
*
|
5896 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5897 |
+
*
|
5898 |
+
* Unless required by applicable law or agreed to in writing, software
|
5899 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5900 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5901 |
+
* See the License for the specific language governing permissions and
|
5902 |
+
* limitations under the License.
|
5903 |
+
*/
|
5904 |
+
/*------------------------------------* $CONTENTS
|
5905 |
+
\*------------------------------------*/
|
5906 |
+
/**
|
5907 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
5908 |
+
* -----Typography
|
5909 |
+
* -----Colors
|
5910 |
+
* -----Textfield
|
5911 |
+
* -----Switch
|
5912 |
+
* -----Spinner
|
5913 |
+
* -----Radio
|
5914 |
+
* -----Menu
|
5915 |
+
* -----List
|
5916 |
+
* -----Layout
|
5917 |
+
* -----Icon toggles
|
5918 |
+
* -----Footer
|
5919 |
+
* -----Column
|
5920 |
+
* -----Checkbox
|
5921 |
+
* -----Card
|
5922 |
+
* -----Button
|
5923 |
+
* -----Animation
|
5924 |
+
* -----Progress
|
5925 |
+
* -----Badge
|
5926 |
+
* -----Shadows
|
5927 |
+
* -----Grid
|
5928 |
+
* -----Data table
|
5929 |
+
* -----Dialog
|
5930 |
+
* -----Snackbar
|
5931 |
+
* -----Tooltip
|
5932 |
+
* -----Chip
|
5933 |
+
*
|
5934 |
+
* Even though all variables have the `!default` directive, most of them
|
5935 |
+
* should not be changed as they are dependent one another. This can cause
|
5936 |
+
* visual distortions (like alignment issues) that are hard to track down
|
5937 |
+
* and fix.
|
5938 |
+
*/
|
5939 |
+
/* ========== TYPOGRAPHY ========== */
|
5940 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
5941 |
+
page loading. For important text, such as the body, we want it to load
|
5942 |
+
immediately and not wait for the web font load, whereas for other sections,
|
5943 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
5944 |
+
We do have some optional classes and parameters in the mixins, in case you
|
5945 |
+
definitely want to make sure you're using the preferred font and don't mind
|
5946 |
+
the performance hit.
|
5947 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
5948 |
+
widely available.
|
5949 |
+
*/
|
5950 |
+
/* ========== COLORS ========== */
|
5951 |
+
/**
|
5952 |
+
*
|
5953 |
+
* Material design color palettes.
|
5954 |
+
* @see http://www.google.com/design/spec/style/color.html
|
5955 |
+
*
|
5956 |
+
**/
|
5957 |
+
/**
|
5958 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5959 |
+
*
|
5960 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5961 |
+
* you may not use this file except in compliance with the License.
|
5962 |
+
* You may obtain a copy of the License at
|
5963 |
+
*
|
5964 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5965 |
+
*
|
5966 |
+
* Unless required by applicable law or agreed to in writing, software
|
5967 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5968 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5969 |
+
* See the License for the specific language governing permissions and
|
5970 |
+
* limitations under the License.
|
5971 |
+
*/
|
5972 |
+
/* ========== Color Palettes ========== */
|
5973 |
+
/* colors.scss */
|
5974 |
+
/**
|
5975 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
5976 |
+
*
|
5977 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5978 |
+
* you may not use this file except in compliance with the License.
|
5979 |
+
* You may obtain a copy of the License at
|
5980 |
+
*
|
5981 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5982 |
+
*
|
5983 |
+
* Unless required by applicable law or agreed to in writing, software
|
5984 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
5985 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5986 |
+
* See the License for the specific language governing permissions and
|
5987 |
+
* limitations under the License.
|
5988 |
+
*/
|
5989 |
+
/* ========== IMAGES ========== */
|
5990 |
+
/* ========== Color & Themes ========== */
|
5991 |
+
/* ========== Typography ========== */
|
5992 |
+
/* ========== Components ========== */
|
5993 |
+
/* ========== Standard Buttons ========== */
|
5994 |
+
/* ========== Icon Toggles ========== */
|
5995 |
+
/* ========== Radio Buttons ========== */
|
5996 |
+
/* ========== Ripple effect ========== */
|
5997 |
+
/* ========== Layout ========== */
|
5998 |
+
/* ========== Content Tabs ========== */
|
5999 |
+
/* ========== Checkboxes ========== */
|
6000 |
+
/* ========== Switches ========== */
|
6001 |
+
/* ========== Spinner ========== */
|
6002 |
+
/* ========== Text fields ========== */
|
6003 |
+
/* ========== Card ========== */
|
6004 |
+
/* ========== Sliders ========== */
|
6005 |
+
/* ========== Progress ========== */
|
6006 |
+
/* ========== List ========== */
|
6007 |
+
/* ========== Item ========== */
|
6008 |
+
/* ========== Dropdown menu ========== */
|
6009 |
+
/* ========== Tooltips ========== */
|
6010 |
+
/* ========== Footer ========== */
|
6011 |
+
/* TEXTFIELD */
|
6012 |
+
/* SWITCH */
|
6013 |
+
/* SPINNER */
|
6014 |
+
/* RADIO */
|
6015 |
+
/* MENU */
|
6016 |
+
/* LIST */
|
6017 |
+
/* LAYOUT */
|
6018 |
+
/* ICON TOGGLE */
|
6019 |
+
/* FOOTER */
|
6020 |
+
/*mega-footer*/
|
6021 |
+
/*mini-footer*/
|
6022 |
+
/* CHECKBOX */
|
6023 |
+
/* CARD */
|
6024 |
+
/* Card dimensions */
|
6025 |
+
/* Cover image */
|
6026 |
+
/* BUTTON */
|
6027 |
+
/**
|
6028 |
+
*
|
6029 |
+
* Dimensions
|
6030 |
+
*
|
6031 |
+
*/
|
6032 |
+
/* ANIMATION */
|
6033 |
+
/* PROGRESS */
|
6034 |
+
/* BADGE */
|
6035 |
+
/* SHADOWS */
|
6036 |
+
/* GRID */
|
6037 |
+
/* DATA TABLE */
|
6038 |
+
/* DIALOG */
|
6039 |
+
/* SNACKBAR */
|
6040 |
+
/* TOOLTIP */
|
6041 |
+
/* CHIP */
|
6042 |
+
.mdl-icon-toggle {
|
6043 |
+
position: relative;
|
6044 |
+
z-index: 1;
|
6045 |
+
vertical-align: middle;
|
6046 |
+
display: inline-block;
|
6047 |
+
height: 32px;
|
6048 |
+
margin: 0;
|
6049 |
+
padding: 0; }
|
6050 |
+
|
6051 |
+
.mdl-icon-toggle__input {
|
6052 |
+
line-height: 32px; }
|
6053 |
+
.mdl-icon-toggle.is-upgraded .mdl-icon-toggle__input {
|
6054 |
+
position: absolute;
|
6055 |
+
width: 0;
|
6056 |
+
height: 0;
|
6057 |
+
margin: 0;
|
6058 |
+
padding: 0;
|
6059 |
+
opacity: 0;
|
6060 |
+
-ms-appearance: none;
|
6061 |
+
-moz-appearance: none;
|
6062 |
+
-webkit-appearance: none;
|
6063 |
+
appearance: none;
|
6064 |
+
border: none; }
|
6065 |
+
|
6066 |
+
.mdl-icon-toggle__label {
|
6067 |
+
display: inline-block;
|
6068 |
+
position: relative;
|
6069 |
+
cursor: pointer;
|
6070 |
+
height: 32px;
|
6071 |
+
width: 32px;
|
6072 |
+
min-width: 32px;
|
6073 |
+
color: rgb(97,97,97);
|
6074 |
+
border-radius: 50%;
|
6075 |
+
padding: 0;
|
6076 |
+
margin-left: 0;
|
6077 |
+
margin-right: 0;
|
6078 |
+
text-align: center;
|
6079 |
+
background-color: transparent;
|
6080 |
+
will-change: background-color;
|
6081 |
+
transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
|
6082 |
+
.mdl-icon-toggle__label.material-icons {
|
6083 |
+
line-height: 32px;
|
6084 |
+
font-size: 24px; }
|
6085 |
+
.mdl-icon-toggle.is-checked .mdl-icon-toggle__label {
|
6086 |
+
color: rgb(63,81,181); }
|
6087 |
+
.mdl-icon-toggle.is-disabled .mdl-icon-toggle__label {
|
6088 |
+
color: rgba(0,0,0, 0.26);
|
6089 |
+
cursor: auto;
|
6090 |
+
transition: none; }
|
6091 |
+
.mdl-icon-toggle.is-focused .mdl-icon-toggle__label {
|
6092 |
+
background-color: rgba(0,0,0, 0.12); }
|
6093 |
+
.mdl-icon-toggle.is-focused.is-checked .mdl-icon-toggle__label {
|
6094 |
+
background-color: rgba(63,81,181, 0.26); }
|
6095 |
+
|
6096 |
+
.mdl-icon-toggle__ripple-container {
|
6097 |
+
position: absolute;
|
6098 |
+
z-index: 2;
|
6099 |
+
top: -2px;
|
6100 |
+
left: -2px;
|
6101 |
+
box-sizing: border-box;
|
6102 |
+
width: 36px;
|
6103 |
+
height: 36px;
|
6104 |
+
border-radius: 50%;
|
6105 |
+
cursor: pointer;
|
6106 |
+
overflow: hidden;
|
6107 |
+
-webkit-mask-image: -webkit-radial-gradient(circle, white, black); }
|
6108 |
+
.mdl-icon-toggle__ripple-container .mdl-ripple {
|
6109 |
+
background: rgb(97,97,97); }
|
6110 |
+
.mdl-icon-toggle.is-disabled .mdl-icon-toggle__ripple-container {
|
6111 |
+
cursor: auto; }
|
6112 |
+
.mdl-icon-toggle.is-disabled .mdl-icon-toggle__ripple-container .mdl-ripple {
|
6113 |
+
background: transparent; }
|
6114 |
+
|
6115 |
+
/**
|
6116 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6117 |
+
*
|
6118 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6119 |
+
* you may not use this file except in compliance with the License.
|
6120 |
+
* You may obtain a copy of the License at
|
6121 |
+
*
|
6122 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6123 |
+
*
|
6124 |
+
* Unless required by applicable law or agreed to in writing, software
|
6125 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6126 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6127 |
+
* See the License for the specific language governing permissions and
|
6128 |
+
* limitations under the License.
|
6129 |
+
*/
|
6130 |
+
/**
|
6131 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6132 |
+
*
|
6133 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6134 |
+
* you may not use this file except in compliance with the License.
|
6135 |
+
* You may obtain a copy of the License at
|
6136 |
+
*
|
6137 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6138 |
+
*
|
6139 |
+
* Unless required by applicable law or agreed to in writing, software
|
6140 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6141 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6142 |
+
* See the License for the specific language governing permissions and
|
6143 |
+
* limitations under the License.
|
6144 |
+
*/
|
6145 |
+
/*------------------------------------* $CONTENTS
|
6146 |
+
\*------------------------------------*/
|
6147 |
+
/**
|
6148 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
6149 |
+
* -----Typography
|
6150 |
+
* -----Colors
|
6151 |
+
* -----Textfield
|
6152 |
+
* -----Switch
|
6153 |
+
* -----Spinner
|
6154 |
+
* -----Radio
|
6155 |
+
* -----Menu
|
6156 |
+
* -----List
|
6157 |
+
* -----Layout
|
6158 |
+
* -----Icon toggles
|
6159 |
+
* -----Footer
|
6160 |
+
* -----Column
|
6161 |
+
* -----Checkbox
|
6162 |
+
* -----Card
|
6163 |
+
* -----Button
|
6164 |
+
* -----Animation
|
6165 |
+
* -----Progress
|
6166 |
+
* -----Badge
|
6167 |
+
* -----Shadows
|
6168 |
+
* -----Grid
|
6169 |
+
* -----Data table
|
6170 |
+
* -----Dialog
|
6171 |
+
* -----Snackbar
|
6172 |
+
* -----Tooltip
|
6173 |
+
* -----Chip
|
6174 |
+
*
|
6175 |
+
* Even though all variables have the `!default` directive, most of them
|
6176 |
+
* should not be changed as they are dependent one another. This can cause
|
6177 |
+
* visual distortions (like alignment issues) that are hard to track down
|
6178 |
+
* and fix.
|
6179 |
+
*/
|
6180 |
+
/* ========== TYPOGRAPHY ========== */
|
6181 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
6182 |
+
page loading. For important text, such as the body, we want it to load
|
6183 |
+
immediately and not wait for the web font load, whereas for other sections,
|
6184 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
6185 |
+
We do have some optional classes and parameters in the mixins, in case you
|
6186 |
+
definitely want to make sure you're using the preferred font and don't mind
|
6187 |
+
the performance hit.
|
6188 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
6189 |
+
widely available.
|
6190 |
+
*/
|
6191 |
+
/* ========== COLORS ========== */
|
6192 |
+
/**
|
6193 |
+
*
|
6194 |
+
* Material design color palettes.
|
6195 |
+
* @see http://www.google.com/design/spec/style/color.html
|
6196 |
+
*
|
6197 |
+
**/
|
6198 |
+
/**
|
6199 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6200 |
+
*
|
6201 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6202 |
+
* you may not use this file except in compliance with the License.
|
6203 |
+
* You may obtain a copy of the License at
|
6204 |
+
*
|
6205 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6206 |
+
*
|
6207 |
+
* Unless required by applicable law or agreed to in writing, software
|
6208 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6209 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6210 |
+
* See the License for the specific language governing permissions and
|
6211 |
+
* limitations under the License.
|
6212 |
+
*/
|
6213 |
+
/* ========== Color Palettes ========== */
|
6214 |
+
/* colors.scss */
|
6215 |
+
/**
|
6216 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6217 |
+
*
|
6218 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6219 |
+
* you may not use this file except in compliance with the License.
|
6220 |
+
* You may obtain a copy of the License at
|
6221 |
+
*
|
6222 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6223 |
+
*
|
6224 |
+
* Unless required by applicable law or agreed to in writing, software
|
6225 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6226 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6227 |
+
* See the License for the specific language governing permissions and
|
6228 |
+
* limitations under the License.
|
6229 |
+
*/
|
6230 |
+
/* ========== IMAGES ========== */
|
6231 |
+
/* ========== Color & Themes ========== */
|
6232 |
+
/* ========== Typography ========== */
|
6233 |
+
/* ========== Components ========== */
|
6234 |
+
/* ========== Standard Buttons ========== */
|
6235 |
+
/* ========== Icon Toggles ========== */
|
6236 |
+
/* ========== Radio Buttons ========== */
|
6237 |
+
/* ========== Ripple effect ========== */
|
6238 |
+
/* ========== Layout ========== */
|
6239 |
+
/* ========== Content Tabs ========== */
|
6240 |
+
/* ========== Checkboxes ========== */
|
6241 |
+
/* ========== Switches ========== */
|
6242 |
+
/* ========== Spinner ========== */
|
6243 |
+
/* ========== Text fields ========== */
|
6244 |
+
/* ========== Card ========== */
|
6245 |
+
/* ========== Sliders ========== */
|
6246 |
+
/* ========== Progress ========== */
|
6247 |
+
/* ========== List ========== */
|
6248 |
+
/* ========== Item ========== */
|
6249 |
+
/* ========== Dropdown menu ========== */
|
6250 |
+
/* ========== Tooltips ========== */
|
6251 |
+
/* ========== Footer ========== */
|
6252 |
+
/* TEXTFIELD */
|
6253 |
+
/* SWITCH */
|
6254 |
+
/* SPINNER */
|
6255 |
+
/* RADIO */
|
6256 |
+
/* MENU */
|
6257 |
+
/* LIST */
|
6258 |
+
/* LAYOUT */
|
6259 |
+
/* ICON TOGGLE */
|
6260 |
+
/* FOOTER */
|
6261 |
+
/*mega-footer*/
|
6262 |
+
/*mini-footer*/
|
6263 |
+
/* CHECKBOX */
|
6264 |
+
/* CARD */
|
6265 |
+
/* Card dimensions */
|
6266 |
+
/* Cover image */
|
6267 |
+
/* BUTTON */
|
6268 |
+
/**
|
6269 |
+
*
|
6270 |
+
* Dimensions
|
6271 |
+
*
|
6272 |
+
*/
|
6273 |
+
/* ANIMATION */
|
6274 |
+
/* PROGRESS */
|
6275 |
+
/* BADGE */
|
6276 |
+
/* SHADOWS */
|
6277 |
+
/* GRID */
|
6278 |
+
/* DATA TABLE */
|
6279 |
+
/* DIALOG */
|
6280 |
+
/* SNACKBAR */
|
6281 |
+
/* TOOLTIP */
|
6282 |
+
/* CHIP */
|
6283 |
+
/**
|
6284 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6285 |
+
*
|
6286 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6287 |
+
* you may not use this file except in compliance with the License.
|
6288 |
+
* You may obtain a copy of the License at
|
6289 |
+
*
|
6290 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6291 |
+
*
|
6292 |
+
* Unless required by applicable law or agreed to in writing, software
|
6293 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6294 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6295 |
+
* See the License for the specific language governing permissions and
|
6296 |
+
* limitations under the License.
|
6297 |
+
*/
|
6298 |
+
/* Typography */
|
6299 |
+
/* Shadows */
|
6300 |
+
/* Animations */
|
6301 |
+
/* Dialog */
|
6302 |
+
.mdl-list {
|
6303 |
+
display: block;
|
6304 |
+
padding: 8px 0;
|
6305 |
+
list-style: none; }
|
6306 |
+
|
6307 |
+
.mdl-list__item {
|
6308 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
6309 |
+
font-size: 16px;
|
6310 |
+
font-weight: 400;
|
6311 |
+
line-height: 24px;
|
6312 |
+
letter-spacing: 0.04em;
|
6313 |
+
line-height: 1;
|
6314 |
+
display: -webkit-flex;
|
6315 |
+
display: -ms-flexbox;
|
6316 |
+
display: flex;
|
6317 |
+
min-height: 48px;
|
6318 |
+
box-sizing: border-box;
|
6319 |
+
-webkit-flex-direction: row;
|
6320 |
+
-ms-flex-direction: row;
|
6321 |
+
flex-direction: row;
|
6322 |
+
-webkit-flex-wrap: nowrap;
|
6323 |
+
-ms-flex-wrap: nowrap;
|
6324 |
+
flex-wrap: nowrap;
|
6325 |
+
-webkit-align-items: center;
|
6326 |
+
-ms-flex-align: center;
|
6327 |
+
align-items: center;
|
6328 |
+
padding: 16px;
|
6329 |
+
cursor: default;
|
6330 |
+
color: rgba(0,0,0, 0.87);
|
6331 |
+
overflow: hidden; }
|
6332 |
+
.mdl-list__item .mdl-list__item-primary-content {
|
6333 |
+
-webkit-order: 0;
|
6334 |
+
-ms-flex-order: 0;
|
6335 |
+
order: 0;
|
6336 |
+
-webkit-flex-grow: 2;
|
6337 |
+
-ms-flex-positive: 2;
|
6338 |
+
flex-grow: 2;
|
6339 |
+
text-decoration: none;
|
6340 |
+
box-sizing: border-box;
|
6341 |
+
display: -webkit-flex;
|
6342 |
+
display: -ms-flexbox;
|
6343 |
+
display: flex;
|
6344 |
+
-webkit-align-items: center;
|
6345 |
+
-ms-flex-align: center;
|
6346 |
+
align-items: center; }
|
6347 |
+
.mdl-list__item .mdl-list__item-primary-content .mdl-list__item-icon {
|
6348 |
+
margin-right: 32px; }
|
6349 |
+
.mdl-list__item .mdl-list__item-primary-content .mdl-list__item-avatar {
|
6350 |
+
margin-right: 16px; }
|
6351 |
+
.mdl-list__item .mdl-list__item-secondary-content {
|
6352 |
+
display: -webkit-flex;
|
6353 |
+
display: -ms-flexbox;
|
6354 |
+
display: flex;
|
6355 |
+
-webkit-flex-flow: column;
|
6356 |
+
-ms-flex-flow: column;
|
6357 |
+
flex-flow: column;
|
6358 |
+
-webkit-align-items: flex-end;
|
6359 |
+
-ms-flex-align: end;
|
6360 |
+
align-items: flex-end;
|
6361 |
+
margin-left: 16px; }
|
6362 |
+
.mdl-list__item .mdl-list__item-secondary-content .mdl-list__item-secondary-action label {
|
6363 |
+
display: inline; }
|
6364 |
+
.mdl-list__item .mdl-list__item-secondary-content .mdl-list__item-secondary-info {
|
6365 |
+
font-size: 12px;
|
6366 |
+
font-weight: 400;
|
6367 |
+
line-height: 1;
|
6368 |
+
letter-spacing: 0;
|
6369 |
+
color: rgba(0,0,0, 0.54); }
|
6370 |
+
.mdl-list__item .mdl-list__item-secondary-content .mdl-list__item-sub-header {
|
6371 |
+
padding: 0 0 0 16px; }
|
6372 |
+
|
6373 |
+
.mdl-list__item-icon,
|
6374 |
+
.mdl-list__item-icon.material-icons {
|
6375 |
+
height: 24px;
|
6376 |
+
width: 24px;
|
6377 |
+
font-size: 24px;
|
6378 |
+
box-sizing: border-box;
|
6379 |
+
color: rgb(117,117,117); }
|
6380 |
+
|
6381 |
+
.mdl-list__item-avatar,
|
6382 |
+
.mdl-list__item-avatar.material-icons {
|
6383 |
+
height: 40px;
|
6384 |
+
width: 40px;
|
6385 |
+
box-sizing: border-box;
|
6386 |
+
border-radius: 50%;
|
6387 |
+
background-color: rgb(117,117,117);
|
6388 |
+
font-size: 40px;
|
6389 |
+
color: white; }
|
6390 |
+
|
6391 |
+
.mdl-list__item--two-line {
|
6392 |
+
height: 72px; }
|
6393 |
+
.mdl-list__item--two-line .mdl-list__item-primary-content {
|
6394 |
+
height: 36px;
|
6395 |
+
line-height: 20px;
|
6396 |
+
display: block; }
|
6397 |
+
.mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-avatar {
|
6398 |
+
float: left; }
|
6399 |
+
.mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-icon {
|
6400 |
+
float: left;
|
6401 |
+
margin-top: 6px; }
|
6402 |
+
.mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-secondary-content {
|
6403 |
+
height: 36px; }
|
6404 |
+
.mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-sub-title {
|
6405 |
+
font-size: 14px;
|
6406 |
+
font-weight: 400;
|
6407 |
+
line-height: 24px;
|
6408 |
+
letter-spacing: 0;
|
6409 |
+
line-height: 18px;
|
6410 |
+
color: rgba(0,0,0, 0.54);
|
6411 |
+
display: block;
|
6412 |
+
padding: 0; }
|
6413 |
+
|
6414 |
+
.mdl-list__item--three-line {
|
6415 |
+
height: 88px; }
|
6416 |
+
.mdl-list__item--three-line .mdl-list__item-primary-content {
|
6417 |
+
height: 52px;
|
6418 |
+
line-height: 20px;
|
6419 |
+
display: block; }
|
6420 |
+
.mdl-list__item--three-line .mdl-list__item-primary-content .mdl-list__item-avatar,
|
6421 |
+
.mdl-list__item--three-line .mdl-list__item-primary-content .mdl-list__item-icon {
|
6422 |
+
float: left; }
|
6423 |
+
.mdl-list__item--three-line .mdl-list__item-secondary-content {
|
6424 |
+
height: 52px; }
|
6425 |
+
.mdl-list__item--three-line .mdl-list__item-text-body {
|
6426 |
+
font-size: 14px;
|
6427 |
+
font-weight: 400;
|
6428 |
+
line-height: 24px;
|
6429 |
+
letter-spacing: 0;
|
6430 |
+
line-height: 18px;
|
6431 |
+
height: 52px;
|
6432 |
+
color: rgba(0,0,0, 0.54);
|
6433 |
+
display: block;
|
6434 |
+
padding: 0; }
|
6435 |
+
|
6436 |
+
/**
|
6437 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6438 |
+
*
|
6439 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6440 |
+
* you may not use this file except in compliance with the License.
|
6441 |
+
* You may obtain a copy of the License at
|
6442 |
+
*
|
6443 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6444 |
+
*
|
6445 |
+
* Unless required by applicable law or agreed to in writing, software
|
6446 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6447 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6448 |
+
* See the License for the specific language governing permissions and
|
6449 |
+
* limitations under the License.
|
6450 |
+
*/
|
6451 |
+
/**
|
6452 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6453 |
+
*
|
6454 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6455 |
+
* you may not use this file except in compliance with the License.
|
6456 |
+
* You may obtain a copy of the License at
|
6457 |
+
*
|
6458 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6459 |
+
*
|
6460 |
+
* Unless required by applicable law or agreed to in writing, software
|
6461 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6462 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6463 |
+
* See the License for the specific language governing permissions and
|
6464 |
+
* limitations under the License.
|
6465 |
+
*/
|
6466 |
+
/*------------------------------------* $CONTENTS
|
6467 |
+
\*------------------------------------*/
|
6468 |
+
/**
|
6469 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
6470 |
+
* -----Typography
|
6471 |
+
* -----Colors
|
6472 |
+
* -----Textfield
|
6473 |
+
* -----Switch
|
6474 |
+
* -----Spinner
|
6475 |
+
* -----Radio
|
6476 |
+
* -----Menu
|
6477 |
+
* -----List
|
6478 |
+
* -----Layout
|
6479 |
+
* -----Icon toggles
|
6480 |
+
* -----Footer
|
6481 |
+
* -----Column
|
6482 |
+
* -----Checkbox
|
6483 |
+
* -----Card
|
6484 |
+
* -----Button
|
6485 |
+
* -----Animation
|
6486 |
+
* -----Progress
|
6487 |
+
* -----Badge
|
6488 |
+
* -----Shadows
|
6489 |
+
* -----Grid
|
6490 |
+
* -----Data table
|
6491 |
+
* -----Dialog
|
6492 |
+
* -----Snackbar
|
6493 |
+
* -----Tooltip
|
6494 |
+
* -----Chip
|
6495 |
+
*
|
6496 |
+
* Even though all variables have the `!default` directive, most of them
|
6497 |
+
* should not be changed as they are dependent one another. This can cause
|
6498 |
+
* visual distortions (like alignment issues) that are hard to track down
|
6499 |
+
* and fix.
|
6500 |
+
*/
|
6501 |
+
/* ========== TYPOGRAPHY ========== */
|
6502 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
6503 |
+
page loading. For important text, such as the body, we want it to load
|
6504 |
+
immediately and not wait for the web font load, whereas for other sections,
|
6505 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
6506 |
+
We do have some optional classes and parameters in the mixins, in case you
|
6507 |
+
definitely want to make sure you're using the preferred font and don't mind
|
6508 |
+
the performance hit.
|
6509 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
6510 |
+
widely available.
|
6511 |
+
*/
|
6512 |
+
/* ========== COLORS ========== */
|
6513 |
+
/**
|
6514 |
+
*
|
6515 |
+
* Material design color palettes.
|
6516 |
+
* @see http://www.google.com/design/spec/style/color.html
|
6517 |
+
*
|
6518 |
+
**/
|
6519 |
+
/**
|
6520 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6521 |
+
*
|
6522 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6523 |
+
* you may not use this file except in compliance with the License.
|
6524 |
+
* You may obtain a copy of the License at
|
6525 |
+
*
|
6526 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6527 |
+
*
|
6528 |
+
* Unless required by applicable law or agreed to in writing, software
|
6529 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6530 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6531 |
+
* See the License for the specific language governing permissions and
|
6532 |
+
* limitations under the License.
|
6533 |
+
*/
|
6534 |
+
/* ========== Color Palettes ========== */
|
6535 |
+
/* colors.scss */
|
6536 |
+
/**
|
6537 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6538 |
+
*
|
6539 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6540 |
+
* you may not use this file except in compliance with the License.
|
6541 |
+
* You may obtain a copy of the License at
|
6542 |
+
*
|
6543 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6544 |
+
*
|
6545 |
+
* Unless required by applicable law or agreed to in writing, software
|
6546 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6547 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6548 |
+
* See the License for the specific language governing permissions and
|
6549 |
+
* limitations under the License.
|
6550 |
+
*/
|
6551 |
+
/* ========== IMAGES ========== */
|
6552 |
+
/* ========== Color & Themes ========== */
|
6553 |
+
/* ========== Typography ========== */
|
6554 |
+
/* ========== Components ========== */
|
6555 |
+
/* ========== Standard Buttons ========== */
|
6556 |
+
/* ========== Icon Toggles ========== */
|
6557 |
+
/* ========== Radio Buttons ========== */
|
6558 |
+
/* ========== Ripple effect ========== */
|
6559 |
+
/* ========== Layout ========== */
|
6560 |
+
/* ========== Content Tabs ========== */
|
6561 |
+
/* ========== Checkboxes ========== */
|
6562 |
+
/* ========== Switches ========== */
|
6563 |
+
/* ========== Spinner ========== */
|
6564 |
+
/* ========== Text fields ========== */
|
6565 |
+
/* ========== Card ========== */
|
6566 |
+
/* ========== Sliders ========== */
|
6567 |
+
/* ========== Progress ========== */
|
6568 |
+
/* ========== List ========== */
|
6569 |
+
/* ========== Item ========== */
|
6570 |
+
/* ========== Dropdown menu ========== */
|
6571 |
+
/* ========== Tooltips ========== */
|
6572 |
+
/* ========== Footer ========== */
|
6573 |
+
/* TEXTFIELD */
|
6574 |
+
/* SWITCH */
|
6575 |
+
/* SPINNER */
|
6576 |
+
/* RADIO */
|
6577 |
+
/* MENU */
|
6578 |
+
/* LIST */
|
6579 |
+
/* LAYOUT */
|
6580 |
+
/* ICON TOGGLE */
|
6581 |
+
/* FOOTER */
|
6582 |
+
/*mega-footer*/
|
6583 |
+
/*mini-footer*/
|
6584 |
+
/* CHECKBOX */
|
6585 |
+
/* CARD */
|
6586 |
+
/* Card dimensions */
|
6587 |
+
/* Cover image */
|
6588 |
+
/* BUTTON */
|
6589 |
+
/**
|
6590 |
+
*
|
6591 |
+
* Dimensions
|
6592 |
+
*
|
6593 |
+
*/
|
6594 |
+
/* ANIMATION */
|
6595 |
+
/* PROGRESS */
|
6596 |
+
/* BADGE */
|
6597 |
+
/* SHADOWS */
|
6598 |
+
/* GRID */
|
6599 |
+
/* DATA TABLE */
|
6600 |
+
/* DIALOG */
|
6601 |
+
/* SNACKBAR */
|
6602 |
+
/* TOOLTIP */
|
6603 |
+
/* CHIP */
|
6604 |
+
/**
|
6605 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6606 |
+
*
|
6607 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6608 |
+
* you may not use this file except in compliance with the License.
|
6609 |
+
* You may obtain a copy of the License at
|
6610 |
+
*
|
6611 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6612 |
+
*
|
6613 |
+
* Unless required by applicable law or agreed to in writing, software
|
6614 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6615 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6616 |
+
* See the License for the specific language governing permissions and
|
6617 |
+
* limitations under the License.
|
6618 |
+
*/
|
6619 |
+
/* Typography */
|
6620 |
+
/* Shadows */
|
6621 |
+
/* Animations */
|
6622 |
+
/* Dialog */
|
6623 |
+
.mdl-menu__container {
|
6624 |
+
display: block;
|
6625 |
+
margin: 0;
|
6626 |
+
padding: 0;
|
6627 |
+
border: none;
|
6628 |
+
position: absolute;
|
6629 |
+
overflow: visible;
|
6630 |
+
height: 0;
|
6631 |
+
width: 0;
|
6632 |
+
visibility: hidden;
|
6633 |
+
z-index: -1; }
|
6634 |
+
.mdl-menu__container.is-visible, .mdl-menu__container.is-animating {
|
6635 |
+
z-index: 999;
|
6636 |
+
visibility: visible; }
|
6637 |
+
|
6638 |
+
.mdl-menu__outline {
|
6639 |
+
display: block;
|
6640 |
+
background: rgb(255,255,255);
|
6641 |
+
margin: 0;
|
6642 |
+
padding: 0;
|
6643 |
+
border: none;
|
6644 |
+
border-radius: 2px;
|
6645 |
+
position: absolute;
|
6646 |
+
top: 0;
|
6647 |
+
left: 0;
|
6648 |
+
overflow: hidden;
|
6649 |
+
opacity: 0;
|
6650 |
+
-webkit-transform: scale(0);
|
6651 |
+
transform: scale(0);
|
6652 |
+
-webkit-transform-origin: 0 0;
|
6653 |
+
transform-origin: 0 0;
|
6654 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
6655 |
+
will-change: transform;
|
6656 |
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
6657 |
+
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
6658 |
+
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
6659 |
+
z-index: -1; }
|
6660 |
+
.mdl-menu__container.is-visible .mdl-menu__outline {
|
6661 |
+
opacity: 1;
|
6662 |
+
-webkit-transform: scale(1);
|
6663 |
+
transform: scale(1);
|
6664 |
+
z-index: 999; }
|
6665 |
+
.mdl-menu__outline.mdl-menu--bottom-right {
|
6666 |
+
-webkit-transform-origin: 100% 0;
|
6667 |
+
transform-origin: 100% 0; }
|
6668 |
+
.mdl-menu__outline.mdl-menu--top-left {
|
6669 |
+
-webkit-transform-origin: 0 100%;
|
6670 |
+
transform-origin: 0 100%; }
|
6671 |
+
.mdl-menu__outline.mdl-menu--top-right {
|
6672 |
+
-webkit-transform-origin: 100% 100%;
|
6673 |
+
transform-origin: 100% 100%; }
|
6674 |
+
|
6675 |
+
.mdl-menu {
|
6676 |
+
position: absolute;
|
6677 |
+
list-style: none;
|
6678 |
+
top: 0;
|
6679 |
+
left: 0;
|
6680 |
+
height: auto;
|
6681 |
+
width: auto;
|
6682 |
+
min-width: 124px;
|
6683 |
+
padding: 8px 0;
|
6684 |
+
margin: 0;
|
6685 |
+
opacity: 0;
|
6686 |
+
clip: rect(0 0 0 0);
|
6687 |
+
z-index: -1; }
|
6688 |
+
.mdl-menu__container.is-visible .mdl-menu {
|
6689 |
+
opacity: 1;
|
6690 |
+
z-index: 999; }
|
6691 |
+
.mdl-menu.is-animating {
|
6692 |
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), clip 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
|
6693 |
+
.mdl-menu.mdl-menu--bottom-right {
|
6694 |
+
left: auto;
|
6695 |
+
right: 0; }
|
6696 |
+
.mdl-menu.mdl-menu--top-left {
|
6697 |
+
top: auto;
|
6698 |
+
bottom: 0; }
|
6699 |
+
.mdl-menu.mdl-menu--top-right {
|
6700 |
+
top: auto;
|
6701 |
+
left: auto;
|
6702 |
+
bottom: 0;
|
6703 |
+
right: 0; }
|
6704 |
+
.mdl-menu.mdl-menu--unaligned {
|
6705 |
+
top: auto;
|
6706 |
+
left: auto; }
|
6707 |
+
|
6708 |
+
.mdl-menu__item {
|
6709 |
+
display: block;
|
6710 |
+
border: none;
|
6711 |
+
color: rgba(0,0,0, 0.87);
|
6712 |
+
background-color: transparent;
|
6713 |
+
text-align: left;
|
6714 |
+
margin: 0;
|
6715 |
+
padding: 0 16px;
|
6716 |
+
outline-color: rgb(189,189,189);
|
6717 |
+
position: relative;
|
6718 |
+
overflow: hidden;
|
6719 |
+
font-size: 14px;
|
6720 |
+
font-weight: 400;
|
6721 |
+
line-height: 24px;
|
6722 |
+
letter-spacing: 0;
|
6723 |
+
text-decoration: none;
|
6724 |
+
cursor: pointer;
|
6725 |
+
height: 48px;
|
6726 |
+
line-height: 48px;
|
6727 |
+
white-space: nowrap;
|
6728 |
+
opacity: 0;
|
6729 |
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
6730 |
+
-webkit-user-select: none;
|
6731 |
+
-moz-user-select: none;
|
6732 |
+
-ms-user-select: none;
|
6733 |
+
user-select: none; }
|
6734 |
+
.mdl-menu__container.is-visible .mdl-menu__item {
|
6735 |
+
opacity: 1; }
|
6736 |
+
.mdl-menu__item::-moz-focus-inner {
|
6737 |
+
border: 0; }
|
6738 |
+
.mdl-menu__item--full-bleed-divider {
|
6739 |
+
border-bottom: 1px solid rgba(0,0,0, 0.12); }
|
6740 |
+
.mdl-menu__item[disabled], .mdl-menu__item[data-mdl-disabled] {
|
6741 |
+
color: rgb(189,189,189);
|
6742 |
+
background-color: transparent;
|
6743 |
+
cursor: auto; }
|
6744 |
+
.mdl-menu__item[disabled]:hover, .mdl-menu__item[data-mdl-disabled]:hover {
|
6745 |
+
background-color: transparent; }
|
6746 |
+
.mdl-menu__item[disabled]:focus, .mdl-menu__item[data-mdl-disabled]:focus {
|
6747 |
+
background-color: transparent; }
|
6748 |
+
.mdl-menu__item[disabled] .mdl-ripple, .mdl-menu__item[data-mdl-disabled] .mdl-ripple {
|
6749 |
+
background: transparent; }
|
6750 |
+
.mdl-menu__item:hover {
|
6751 |
+
background-color: rgb(238,238,238); }
|
6752 |
+
.mdl-menu__item:focus {
|
6753 |
+
outline: none;
|
6754 |
+
background-color: rgb(238,238,238); }
|
6755 |
+
.mdl-menu__item:active {
|
6756 |
+
background-color: rgb(224,224,224); }
|
6757 |
+
|
6758 |
+
.mdl-menu__item--ripple-container {
|
6759 |
+
display: block;
|
6760 |
+
height: 100%;
|
6761 |
+
left: 0px;
|
6762 |
+
position: absolute;
|
6763 |
+
top: 0px;
|
6764 |
+
width: 100%;
|
6765 |
+
z-index: 0;
|
6766 |
+
overflow: hidden; }
|
6767 |
+
|
6768 |
+
/**
|
6769 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6770 |
+
*
|
6771 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6772 |
+
* you may not use this file except in compliance with the License.
|
6773 |
+
* You may obtain a copy of the License at
|
6774 |
+
*
|
6775 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6776 |
+
*
|
6777 |
+
* Unless required by applicable law or agreed to in writing, software
|
6778 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6779 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6780 |
+
* See the License for the specific language governing permissions and
|
6781 |
+
* limitations under the License.
|
6782 |
+
*/
|
6783 |
+
/**
|
6784 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6785 |
+
*
|
6786 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6787 |
+
* you may not use this file except in compliance with the License.
|
6788 |
+
* You may obtain a copy of the License at
|
6789 |
+
*
|
6790 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6791 |
+
*
|
6792 |
+
* Unless required by applicable law or agreed to in writing, software
|
6793 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6794 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6795 |
+
* See the License for the specific language governing permissions and
|
6796 |
+
* limitations under the License.
|
6797 |
+
*/
|
6798 |
+
/*------------------------------------* $CONTENTS
|
6799 |
+
\*------------------------------------*/
|
6800 |
+
/**
|
6801 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
6802 |
+
* -----Typography
|
6803 |
+
* -----Colors
|
6804 |
+
* -----Textfield
|
6805 |
+
* -----Switch
|
6806 |
+
* -----Spinner
|
6807 |
+
* -----Radio
|
6808 |
+
* -----Menu
|
6809 |
+
* -----List
|
6810 |
+
* -----Layout
|
6811 |
+
* -----Icon toggles
|
6812 |
+
* -----Footer
|
6813 |
+
* -----Column
|
6814 |
+
* -----Checkbox
|
6815 |
+
* -----Card
|
6816 |
+
* -----Button
|
6817 |
+
* -----Animation
|
6818 |
+
* -----Progress
|
6819 |
+
* -----Badge
|
6820 |
+
* -----Shadows
|
6821 |
+
* -----Grid
|
6822 |
+
* -----Data table
|
6823 |
+
* -----Dialog
|
6824 |
+
* -----Snackbar
|
6825 |
+
* -----Tooltip
|
6826 |
+
* -----Chip
|
6827 |
+
*
|
6828 |
+
* Even though all variables have the `!default` directive, most of them
|
6829 |
+
* should not be changed as they are dependent one another. This can cause
|
6830 |
+
* visual distortions (like alignment issues) that are hard to track down
|
6831 |
+
* and fix.
|
6832 |
+
*/
|
6833 |
+
/* ========== TYPOGRAPHY ========== */
|
6834 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
6835 |
+
page loading. For important text, such as the body, we want it to load
|
6836 |
+
immediately and not wait for the web font load, whereas for other sections,
|
6837 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
6838 |
+
We do have some optional classes and parameters in the mixins, in case you
|
6839 |
+
definitely want to make sure you're using the preferred font and don't mind
|
6840 |
+
the performance hit.
|
6841 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
6842 |
+
widely available.
|
6843 |
+
*/
|
6844 |
+
/* ========== COLORS ========== */
|
6845 |
+
/**
|
6846 |
+
*
|
6847 |
+
* Material design color palettes.
|
6848 |
+
* @see http://www.google.com/design/spec/style/color.html
|
6849 |
+
*
|
6850 |
+
**/
|
6851 |
+
/**
|
6852 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6853 |
+
*
|
6854 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6855 |
+
* you may not use this file except in compliance with the License.
|
6856 |
+
* You may obtain a copy of the License at
|
6857 |
+
*
|
6858 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6859 |
+
*
|
6860 |
+
* Unless required by applicable law or agreed to in writing, software
|
6861 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6862 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6863 |
+
* See the License for the specific language governing permissions and
|
6864 |
+
* limitations under the License.
|
6865 |
+
*/
|
6866 |
+
/* ========== Color Palettes ========== */
|
6867 |
+
/* colors.scss */
|
6868 |
+
/**
|
6869 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
6870 |
+
*
|
6871 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6872 |
+
* you may not use this file except in compliance with the License.
|
6873 |
+
* You may obtain a copy of the License at
|
6874 |
+
*
|
6875 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
6876 |
+
*
|
6877 |
+
* Unless required by applicable law or agreed to in writing, software
|
6878 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
6879 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
6880 |
+
* See the License for the specific language governing permissions and
|
6881 |
+
* limitations under the License.
|
6882 |
+
*/
|
6883 |
+
/* ========== IMAGES ========== */
|
6884 |
+
/* ========== Color & Themes ========== */
|
6885 |
+
/* ========== Typography ========== */
|
6886 |
+
/* ========== Components ========== */
|
6887 |
+
/* ========== Standard Buttons ========== */
|
6888 |
+
/* ========== Icon Toggles ========== */
|
6889 |
+
/* ========== Radio Buttons ========== */
|
6890 |
+
/* ========== Ripple effect ========== */
|
6891 |
+
/* ========== Layout ========== */
|
6892 |
+
/* ========== Content Tabs ========== */
|
6893 |
+
/* ========== Checkboxes ========== */
|
6894 |
+
/* ========== Switches ========== */
|
6895 |
+
/* ========== Spinner ========== */
|
6896 |
+
/* ========== Text fields ========== */
|
6897 |
+
/* ========== Card ========== */
|
6898 |
+
/* ========== Sliders ========== */
|
6899 |
+
/* ========== Progress ========== */
|
6900 |
+
/* ========== List ========== */
|
6901 |
+
/* ========== Item ========== */
|
6902 |
+
/* ========== Dropdown menu ========== */
|
6903 |
+
/* ========== Tooltips ========== */
|
6904 |
+
/* ========== Footer ========== */
|
6905 |
+
/* TEXTFIELD */
|
6906 |
+
/* SWITCH */
|
6907 |
+
/* SPINNER */
|
6908 |
+
/* RADIO */
|
6909 |
+
/* MENU */
|
6910 |
+
/* LIST */
|
6911 |
+
/* LAYOUT */
|
6912 |
+
/* ICON TOGGLE */
|
6913 |
+
/* FOOTER */
|
6914 |
+
/*mega-footer*/
|
6915 |
+
/*mini-footer*/
|
6916 |
+
/* CHECKBOX */
|
6917 |
+
/* CARD */
|
6918 |
+
/* Card dimensions */
|
6919 |
+
/* Cover image */
|
6920 |
+
/* BUTTON */
|
6921 |
+
/**
|
6922 |
+
*
|
6923 |
+
* Dimensions
|
6924 |
+
*
|
6925 |
+
*/
|
6926 |
+
/* ANIMATION */
|
6927 |
+
/* PROGRESS */
|
6928 |
+
/* BADGE */
|
6929 |
+
/* SHADOWS */
|
6930 |
+
/* GRID */
|
6931 |
+
/* DATA TABLE */
|
6932 |
+
/* DIALOG */
|
6933 |
+
/* SNACKBAR */
|
6934 |
+
/* TOOLTIP */
|
6935 |
+
/* CHIP */
|
6936 |
+
.mdl-progress {
|
6937 |
+
display: block;
|
6938 |
+
position: relative;
|
6939 |
+
height: 4px;
|
6940 |
+
width: 500px;
|
6941 |
+
max-width: 100%; }
|
6942 |
+
|
6943 |
+
.mdl-progress > .bar {
|
6944 |
+
display: block;
|
6945 |
+
position: absolute;
|
6946 |
+
top: 0;
|
6947 |
+
bottom: 0;
|
6948 |
+
width: 0%;
|
6949 |
+
transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
|
6950 |
+
|
6951 |
+
.mdl-progress > .progressbar {
|
6952 |
+
background-color: rgb(63,81,181);
|
6953 |
+
z-index: 1;
|
6954 |
+
left: 0; }
|
6955 |
+
|
6956 |
+
.mdl-progress > .bufferbar {
|
6957 |
+
background-image: linear-gradient(to right, rgba(255,255,255, 0.7), rgba(255,255,255, 0.7)), linear-gradient(to right, rgb(63,81,181), rgb(63,81,181));
|
6958 |
+
z-index: 0;
|
6959 |
+
left: 0; }
|
6960 |
+
|
6961 |
+
.mdl-progress > .auxbar {
|
6962 |
+
right: 0; }
|
6963 |
+
|
6964 |
+
@supports (-webkit-appearance: none) {
|
6965 |
+
.mdl-progress:not(.mdl-progress--indeterminate):not(.mdl-progress--indeterminate) > .auxbar,
|
6966 |
+
.mdl-progress:not(.mdl-progress__indeterminate):not(.mdl-progress__indeterminate) > .auxbar {
|
6967 |
+
background-image: linear-gradient(to right, rgba(255,255,255, 0.7), rgba(255,255,255, 0.7)), linear-gradient(to right, rgb(63,81,181), rgb(63,81,181));
|
6968 |
+
-webk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UgYXR0cmlidXRlTmFtZT0iY3giIGZyb209IjE0IiB0bz0iMiIgZHVyPSIwLjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4KICA8L2VsbGlwc2U+Cjwvc3ZnPgo="); } }
|
6970 |
+
|
6971 |
+
.mdl-progress:not(.mdl-progress--indeterminate) > .auxbar,
|
6972 |
+
.mdl-progress:not(.mdl-progress__indeterminate) > .auxbar {
|
6973 |
+
background-image: linear-gradient(to right, rgba(255,255,255, 0.9), rgba(255,255,255, 0.9)), linear-gradient(to right, rgb(63,81,181), rgb(63,81,181)); }
|
6974 |
+
|
6975 |
+
.mdl-progress.mdl-progress--indeterminate > .bar1,
|
6976 |
+
.mdl-progress.mdl-progress__indeterminate > .bar1 {
|
6977 |
+
background-color: rgb(63,81,181);
|
6978 |
+
-webkit-animation-name: indeterminate1;
|
6979 |
+
animation-name: indeterminate1;
|
6980 |
+
-webkit-animation-duration: 2s;
|
6981 |
+
animation-duration: 2s;
|
6982 |
+
-webkit-animation-iteration-count: infinite;
|
6983 |
+
animation-iteration-count: infinite;
|
6984 |
+
-webkit-animation-timing-function: linear;
|
6985 |
+
animation-timing-function: linear; }
|
6986 |
+
|
6987 |
+
.mdl-progress.mdl-progress--indeterminate > .bar3,
|
6988 |
+
.mdl-progress.mdl-progress__indeterminate > .bar3 {
|
6989 |
+
background-image: none;
|
6990 |
+
background-color: rgb(63,81,181);
|
6991 |
+
-webkit-animation-name: indeterminate2;
|
6992 |
+
animation-name: indeterminate2;
|
6993 |
+
-webkit-animation-duration: 2s;
|
6994 |
+
animation-duration: 2s;
|
6995 |
+
-webkit-animation-iteration-count: infinite;
|
6996 |
+
animation-iteration-count: infinite;
|
6997 |
+
-webkit-animation-timing-function: linear;
|
6998 |
+
animation-timing-function: linear; }
|
6999 |
+
|
7000 |
+
@-webkit-keyframes indeterminate1 {
|
7001 |
+
0% {
|
7002 |
+
left: 0%;
|
7003 |
+
width: 0%; }
|
7004 |
+
50% {
|
7005 |
+
left: 25%;
|
7006 |
+
width: 75%; }
|
7007 |
+
75% {
|
7008 |
+
left: 100%;
|
7009 |
+
width: 0%; } }
|
7010 |
+
|
7011 |
+
@keyframes indeterminate1 {
|
7012 |
+
0% {
|
7013 |
+
left: 0%;
|
7014 |
+
width: 0%; }
|
7015 |
+
50% {
|
7016 |
+
left: 25%;
|
7017 |
+
width: 75%; }
|
7018 |
+
75% {
|
7019 |
+
left: 100%;
|
7020 |
+
width: 0%; } }
|
7021 |
+
|
7022 |
+
@-webkit-keyframes indeterminate2 {
|
7023 |
+
0% {
|
7024 |
+
left: 0%;
|
7025 |
+
width: 0%; }
|
7026 |
+
50% {
|
7027 |
+
left: 0%;
|
7028 |
+
width: 0%; }
|
7029 |
+
75% {
|
7030 |
+
left: 0%;
|
7031 |
+
width: 25%; }
|
7032 |
+
100% {
|
7033 |
+
left: 100%;
|
7034 |
+
width: 0%; } }
|
7035 |
+
|
7036 |
+
@keyframes indeterminate2 {
|
7037 |
+
0% {
|
7038 |
+
left: 0%;
|
7039 |
+
width: 0%; }
|
7040 |
+
50% {
|
7041 |
+
left: 0%;
|
7042 |
+
width: 0%; }
|
7043 |
+
75% {
|
7044 |
+
left: 0%;
|
7045 |
+
width: 25%; }
|
7046 |
+
100% {
|
7047 |
+
left: 100%;
|
7048 |
+
width: 0%; } }
|
7049 |
+
|
7050 |
+
/**
|
7051 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
7052 |
+
*
|
7053 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7054 |
+
* you may not use this file except in compliance with the License.
|
7055 |
+
* You may obtain a copy of the License at
|
7056 |
+
*
|
7057 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7058 |
+
*
|
7059 |
+
* Unless required by applicable law or agreed to in writing, software
|
7060 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7061 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7062 |
+
* See the License for the specific language governing permissions and
|
7063 |
+
* limitations under the License.
|
7064 |
+
*/
|
7065 |
+
/**
|
7066 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
7067 |
+
*
|
7068 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7069 |
+
* you may not use this file except in compliance with the License.
|
7070 |
+
* You may obtain a copy of the License at
|
7071 |
+
*
|
7072 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7073 |
+
*
|
7074 |
+
* Unless required by applicable law or agreed to in writing, software
|
7075 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7076 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7077 |
+
* See the License for the specific language governing permissions and
|
7078 |
+
* limitations under the License.
|
7079 |
+
*/
|
7080 |
+
/*------------------------------------* $CONTENTS
|
7081 |
+
\*------------------------------------*/
|
7082 |
+
/**
|
7083 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
7084 |
+
* -----Typography
|
7085 |
+
* -----Colors
|
7086 |
+
* -----Textfield
|
7087 |
+
* -----Switch
|
7088 |
+
* -----Spinner
|
7089 |
+
* -----Radio
|
7090 |
+
* -----Menu
|
7091 |
+
* -----List
|
7092 |
+
* -----Layout
|
7093 |
+
* -----Icon toggles
|
7094 |
+
* -----Footer
|
7095 |
+
* -----Column
|
7096 |
+
* -----Checkbox
|
7097 |
+
* -----Card
|
7098 |
+
* -----Button
|
7099 |
+
* -----Animation
|
7100 |
+
* -----Progress
|
7101 |
+
* -----Badge
|
7102 |
+
* -----Shadows
|
7103 |
+
* -----Grid
|
7104 |
+
* -----Data table
|
7105 |
+
* -----Dialog
|
7106 |
+
* -----Snackbar
|
7107 |
+
* -----Tooltip
|
7108 |
+
* -----Chip
|
7109 |
+
*
|
7110 |
+
* Even though all variables have the `!default` directive, most of them
|
7111 |
+
* should not be changed as they are dependent one another. This can cause
|
7112 |
+
* visual distortions (like alignment issues) that are hard to track down
|
7113 |
+
* and fix.
|
7114 |
+
*/
|
7115 |
+
/* ========== TYPOGRAPHY ========== */
|
7116 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
7117 |
+
page loading. For important text, such as the body, we want it to load
|
7118 |
+
immediately and not wait for the web font load, whereas for other sections,
|
7119 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
7120 |
+
We do have some optional classes and parameters in the mixins, in case you
|
7121 |
+
definitely want to make sure you're using the preferred font and don't mind
|
7122 |
+
the performance hit.
|
7123 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
7124 |
+
widely available.
|
7125 |
+
*/
|
7126 |
+
/* ========== COLORS ========== */
|
7127 |
+
/**
|
7128 |
+
*
|
7129 |
+
* Material design color palettes.
|
7130 |
+
* @see http://www.google.com/design/spec/style/color.html
|
7131 |
+
*
|
7132 |
+
**/
|
7133 |
+
/**
|
7134 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
7135 |
+
*
|
7136 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7137 |
+
* you may not use this file except in compliance with the License.
|
7138 |
+
* You may obtain a copy of the License at
|
7139 |
+
*
|
7140 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7141 |
+
*
|
7142 |
+
* Unless required by applicable law or agreed to in writing, software
|
7143 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7144 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7145 |
+
* See the License for the specific language governing permissions and
|
7146 |
+
* limitations under the License.
|
7147 |
+
*/
|
7148 |
+
/* ========== Color Palettes ========== */
|
7149 |
+
/* colors.scss */
|
7150 |
+
/**
|
7151 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
7152 |
+
*
|
7153 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7154 |
+
* you may not use this file except in compliance with the License.
|
7155 |
+
* You may obtain a copy of the License at
|
7156 |
+
*
|
7157 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7158 |
+
*
|
7159 |
+
* Unless required by applicable law or agreed to in writing, software
|
7160 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7161 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7162 |
+
* See the License for the specific language governing permissions and
|
7163 |
+
* limitations under the License.
|
7164 |
+
*/
|
7165 |
+
/* ========== IMAGES ========== */
|
7166 |
+
/* ========== Color & Themes ========== */
|
7167 |
+
/* ========== Typography ========== */
|
7168 |
+
/* ========== Components ========== */
|
7169 |
+
/* ========== Standard Buttons ========== */
|
7170 |
+
/* ========== Icon Toggles ========== */
|
7171 |
+
/* ========== Radio Buttons ========== */
|
7172 |
+
/* ========== Ripple effect ========== */
|
7173 |
+
/* ========== Layout ========== */
|
7174 |
+
/* ========== Content Tabs ========== */
|
7175 |
+
/* ========== Checkboxes ========== */
|
7176 |
+
/* ========== Switches ========== */
|
7177 |
+
/* ========== Spinner ========== */
|
7178 |
+
/* ========== Text fields ========== */
|
7179 |
+
/* ========== Card ========== */
|
7180 |
+
/* ========== Sliders ========== */
|
7181 |
+
/* ========== Progress ========== */
|
7182 |
+
/* ========== List ========== */
|
7183 |
+
/* ========== Item ========== */
|
7184 |
+
/* ========== Dropdown menu ========== */
|
7185 |
+
/* ========== Tooltips ========== */
|
7186 |
+
/* ========== Footer ========== */
|
7187 |
+
/* TEXTFIELD */
|
7188 |
+
/* SWITCH */
|
7189 |
+
/* SPINNER */
|
7190 |
+
/* RADIO */
|
7191 |
+
/* MENU */
|
7192 |
+
/* LIST */
|
7193 |
+
/* LAYOUT */
|
7194 |
+
/* ICON TOGGLE */
|
7195 |
+
/* FOOTER */
|
7196 |
+
/*mega-footer*/
|
7197 |
+
/*mini-footer*/
|
7198 |
+
/* CHECKBOX */
|
7199 |
+
/* CARD */
|
7200 |
+
/* Card dimensions */
|
7201 |
+
/* Cover image */
|
7202 |
+
/* BUTTON */
|
7203 |
+
/**
|
7204 |
+
*
|
7205 |
+
* Dimensions
|
7206 |
+
*
|
7207 |
+
*/
|
7208 |
+
/* ANIMATION */
|
7209 |
+
/* PROGRESS */
|
7210 |
+
/* BADGE */
|
7211 |
+
/* SHADOWS */
|
7212 |
+
/* GRID */
|
7213 |
+
/* DATA TABLE */
|
7214 |
+
/* DIALOG */
|
7215 |
+
/* SNACKBAR */
|
7216 |
+
/* TOOLTIP */
|
7217 |
+
/* CHIP */
|
7218 |
+
/**
|
7219 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
7220 |
+
*
|
7221 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7222 |
+
* you may not use this file except in compliance with the License.
|
7223 |
+
* You may obtain a copy of the License at
|
7224 |
+
*
|
7225 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7226 |
+
*
|
7227 |
+
* Unless required by applicable law or agreed to in writing, software
|
7228 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7229 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7230 |
+
* See the License for the specific language governing permissions and
|
7231 |
+
* limitations under the License.
|
7232 |
+
*/
|
7233 |
+
/* Typography */
|
7234 |
+
/* Shadows */
|
7235 |
+
/* Animations */
|
7236 |
+
/* Dialog */
|
7237 |
+
.mdl-navigation {
|
7238 |
+
display: -webkit-flex;
|
7239 |
+
display: -ms-flexbox;
|
7240 |
+
display: flex;
|
7241 |
+
-webkit-flex-wrap: nowrap;
|
7242 |
+
-ms-flex-wrap: nowrap;
|
7243 |
+
flex-wrap: nowrap;
|
7244 |
+
box-sizing: border-box; }
|
7245 |
+
|
7246 |
+
.mdl-navigation__link {
|
7247 |
+
color: rgb(66,66,66);
|
7248 |
+
text-decoration: none;
|
7249 |
+
margin: 0;
|
7250 |
+
font-size: 14px;
|
7251 |
+
font-weight: 400;
|
7252 |
+
line-height: 24px;
|
7253 |
+
letter-spacing: 0;
|
7254 |
+
opacity: 0.87; }
|
7255 |
+
.mdl-navigation__link .material-icons {
|
7256 |
+
vertical-align: middle; }
|
7257 |
+
|
7258 |
+
.mdl-layout {
|
7259 |
+
width: 100%;
|
7260 |
+
height: 100%;
|
7261 |
+
display: -webkit-flex;
|
7262 |
+
display: -ms-flexbox;
|
7263 |
+
display: flex;
|
7264 |
+
-webkit-flex-direction: column;
|
7265 |
+
-ms-flex-direction: column;
|
7266 |
+
flex-direction: column;
|
7267 |
+
overflow-y: auto;
|
7268 |
+
overflow-x: hidden;
|
7269 |
+
position: relative;
|
7270 |
+
-webkit-overflow-scrolling: touch; }
|
7271 |
+
|
7272 |
+
.mdl-layout.is-small-screen .mdl-layout--large-screen-only {
|
7273 |
+
display: none; }
|
7274 |
+
|
7275 |
+
.mdl-layout:not(.is-small-screen) .mdl-layout--small-screen-only {
|
7276 |
+
display: none; }
|
7277 |
+
|
7278 |
+
.mdl-layout__container {
|
7279 |
+
position: absolute;
|
7280 |
+
width: 100%;
|
7281 |
+
height: 100%; }
|
7282 |
+
|
7283 |
+
.mdl-layout__title,
|
7284 |
+
.mdl-layout-title {
|
7285 |
+
display: block;
|
7286 |
+
position: relative;
|
7287 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
7288 |
+
font-size: 20px;
|
7289 |
+
font-weight: 500;
|
7290 |
+
line-height: 1;
|
7291 |
+
letter-spacing: 0.02em;
|
7292 |
+
font-weight: 400;
|
7293 |
+
box-sizing: border-box; }
|
7294 |
+
|
7295 |
+
.mdl-layout-spacer {
|
7296 |
+
-webkit-flex-grow: 1;
|
7297 |
+
-ms-flex-positive: 1;
|
7298 |
+
flex-grow: 1; }
|
7299 |
+
|
7300 |
+
.mdl-layout__drawer {
|
7301 |
+
display: -webkit-flex;
|
7302 |
+
display: -ms-flexbox;
|
7303 |
+
display: flex;
|
7304 |
+
-webkit-flex-direction: column;
|
7305 |
+
-ms-flex-direction: column;
|
7306 |
+
flex-direction: column;
|
7307 |
+
-webkit-flex-wrap: nowrap;
|
7308 |
+
-ms-flex-wrap: nowrap;
|
7309 |
+
flex-wrap: nowrap;
|
7310 |
+
width: 240px;
|
7311 |
+
height: 100%;
|
7312 |
+
max-height: 100%;
|
7313 |
+
position: absolute;
|
7314 |
+
top: 0;
|
7315 |
+
left: 0;
|
7316 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
7317 |
+
box-sizing: border-box;
|
7318 |
+
border-right: 1px solid rgb(224,224,224);
|
7319 |
+
background: rgb(250,250,250);
|
7320 |
+
-webkit-transform: translateX(-250px);
|
7321 |
+
transform: translateX(-250px);
|
7322 |
+
-webkit-transform-style: preserve-3d;
|
7323 |
+
transform-style: preserve-3d;
|
7324 |
+
will-change: transform;
|
7325 |
+
transition-duration: 0.2s;
|
7326 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
7327 |
+
transition-property: -webkit-transform;
|
7328 |
+
transition-property: transform;
|
7329 |
+
transition-property: transform, -webkit-transform;
|
7330 |
+
color: rgb(66,66,66);
|
7331 |
+
overflow: visible;
|
7332 |
+
overflow-y: auto;
|
7333 |
+
z-index: 5; }
|
7334 |
+
.mdl-layout__drawer.is-visible {
|
7335 |
+
-webkit-transform: translateX(0);
|
7336 |
+
transform: translateX(0); }
|
7337 |
+
.mdl-layout__drawer.is-visible ~ .mdl-layout__content.mdl-layout__content {
|
7338 |
+
overflow: hidden; }
|
7339 |
+
.mdl-layout__drawer > * {
|
7340 |
+
-webkit-flex-shrink: 0;
|
7341 |
+
-ms-flex-negative: 0;
|
7342 |
+
flex-shrink: 0; }
|
7343 |
+
.mdl-layout__drawer > .mdl-layout__title,
|
7344 |
+
.mdl-layout__drawer > .mdl-layout-title {
|
7345 |
+
line-height: 64px;
|
7346 |
+
padding-left: 40px; }
|
7347 |
+
@media screen and (max-width: 1024px) {
|
7348 |
+
.mdl-layout__drawer > .mdl-layout__title,
|
7349 |
+
.mdl-layout__drawer > .mdl-layout-title {
|
7350 |
+
line-height: 56px;
|
7351 |
+
padding-left: 16px; } }
|
7352 |
+
.mdl-layout__drawer .mdl-navigation {
|
7353 |
+
-webkit-flex-direction: column;
|
7354 |
+
-ms-flex-direction: column;
|
7355 |
+
flex-direction: column;
|
7356 |
+
-webkit-align-items: stretch;
|
7357 |
+
-ms-flex-align: stretch;
|
7358 |
+
align-items: stretch;
|
7359 |
+
padding-top: 16px; }
|
7360 |
+
.mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
|
7361 |
+
display: block;
|
7362 |
+
-webkit-flex-shrink: 0;
|
7363 |
+
-ms-flex-negative: 0;
|
7364 |
+
flex-shrink: 0;
|
7365 |
+
padding: 16px 40px;
|
7366 |
+
margin: 0;
|
7367 |
+
color: #757575; }
|
7368 |
+
@media screen and (max-width: 1024px) {
|
7369 |
+
.mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
|
7370 |
+
padding: 16px 16px; } }
|
7371 |
+
.mdl-layout__drawer .mdl-navigation .mdl-navigation__link:hover {
|
7372 |
+
background-color: rgb(224,224,224); }
|
7373 |
+
.mdl-layout__drawer .mdl-navigation .mdl-navigation__link--current {
|
7374 |
+
background-color: rgb(224,224,224);
|
7375 |
+
color: rgb(0,0,0); }
|
7376 |
+
@media screen and (min-width: 1025px) {
|
7377 |
+
.mdl-layout--fixed-drawer > .mdl-layout__drawer {
|
7378 |
+
-webkit-transform: translateX(0);
|
7379 |
+
transform: translateX(0); } }
|
7380 |
+
|
7381 |
+
.mdl-layout__drawer-button {
|
7382 |
+
display: block;
|
7383 |
+
position: absolute;
|
7384 |
+
height: 48px;
|
7385 |
+
width: 48px;
|
7386 |
+
border: 0;
|
7387 |
+
-webkit-flex-shrink: 0;
|
7388 |
+
-ms-flex-negative: 0;
|
7389 |
+
flex-shrink: 0;
|
7390 |
+
overflow: hidden;
|
7391 |
+
text-align: center;
|
7392 |
+
cursor: pointer;
|
7393 |
+
font-size: 26px;
|
7394 |
+
line-height: 56px;
|
7395 |
+
font-family: Helvetica, Arial, sans-serif;
|
7396 |
+
margin: 8px 12px;
|
7397 |
+
top: 0;
|
7398 |
+
left: 0;
|
7399 |
+
color: rgb(255,255,255);
|
7400 |
+
z-index: 4; }
|
7401 |
+
.mdl-layout__header .mdl-layout__drawer-button {
|
7402 |
+
position: absolute;
|
7403 |
+
color: rgb(255,255,255);
|
7404 |
+
background-color: inherit; }
|
7405 |
+
@media screen and (max-width: 1024px) {
|
7406 |
+
.mdl-layout__header .mdl-layout__drawer-button {
|
7407 |
+
margin: 4px; } }
|
7408 |
+
@media screen and (max-width: 1024px) {
|
7409 |
+
.mdl-layout__drawer-button {
|
7410 |
+
margin: 4px;
|
7411 |
+
color: rgba(0, 0, 0, 0.5); } }
|
7412 |
+
@media screen and (min-width: 1025px) {
|
7413 |
+
.mdl-layout__drawer-button {
|
7414 |
+
line-height: 54px; }
|
7415 |
+
.mdl-layout--no-desktop-drawer-button .mdl-layout__drawer-button,
|
7416 |
+
.mdl-layout--fixed-drawer > .mdl-layout__drawer-button,
|
7417 |
+
.mdl-layout--no-drawer-button .mdl-layout__drawer-button {
|
7418 |
+
display: none; } }
|
7419 |
+
|
7420 |
+
.mdl-layout__header {
|
7421 |
+
display: -webkit-flex;
|
7422 |
+
display: -ms-flexbox;
|
7423 |
+
display: flex;
|
7424 |
+
-webkit-flex-direction: column;
|
7425 |
+
-ms-flex-direction: column;
|
7426 |
+
flex-direction: column;
|
7427 |
+
-webkit-flex-wrap: nowrap;
|
7428 |
+
-ms-flex-wrap: nowrap;
|
7429 |
+
flex-wrap: nowrap;
|
7430 |
+
-webkit-justify-content: flex-start;
|
7431 |
+
-ms-flex-pack: start;
|
7432 |
+
justify-content: flex-start;
|
7433 |
+
box-sizing: border-box;
|
7434 |
+
-webkit-flex-shrink: 0;
|
7435 |
+
-ms-flex-negative: 0;
|
7436 |
+
flex-shrink: 0;
|
7437 |
+
width: 100%;
|
7438 |
+
margin: 0;
|
7439 |
+
padding: 0;
|
7440 |
+
border: none;
|
7441 |
+
min-height: 64px;
|
7442 |
+
max-height: 1000px;
|
7443 |
+
z-index: 3;
|
7444 |
+
background-color: rgb(63,81,181);
|
7445 |
+
color: rgb(255,255,255);
|
7446 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
7447 |
+
transition-duration: 0.2s;
|
7448 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
7449 |
+
transition-property: max-height, box-shadow; }
|
7450 |
+
@media screen and (max-width: 1024px) {
|
7451 |
+
.mdl-layout__header {
|
7452 |
+
min-height: 56px; } }
|
7453 |
+
.mdl-layout--fixed-drawer.is-upgraded:not(.is-small-screen) > .mdl-layout__header {
|
7454 |
+
margin-left: 240px;
|
7455 |
+
width: calc(100% - 240px); }
|
7456 |
+
@media screen and (min-width: 1025px) {
|
7457 |
+
.mdl-layout--fixed-drawer > .mdl-layout__header .mdl-layout__header-row {
|
7458 |
+
padding-left: 40px; } }
|
7459 |
+
.mdl-layout__header > .mdl-layout-icon {
|
7460 |
+
position: absolute;
|
7461 |
+
left: 40px;
|
7462 |
+
top: 16px;
|
7463 |
+
height: 32px;
|
7464 |
+
width: 32px;
|
7465 |
+
overflow: hidden;
|
7466 |
+
z-index: 3;
|
7467 |
+
display: block; }
|
7468 |
+
@media screen and (max-width: 1024px) {
|
7469 |
+
.mdl-layout__header > .mdl-layout-icon {
|
7470 |
+
left: 16px;
|
7471 |
+
top: 12px; } }
|
7472 |
+
.mdl-layout.has-drawer .mdl-layout__header > .mdl-layout-icon {
|
7473 |
+
display: none; }
|
7474 |
+
.mdl-layout__header.is-compact {
|
7475 |
+
max-height: 64px; }
|
7476 |
+
@media screen and (max-width: 1024px) {
|
7477 |
+
.mdl-layout__header.is-compact {
|
7478 |
+
max-height: 56px; } }
|
7479 |
+
.mdl-layout__header.is-compact.has-tabs {
|
7480 |
+
height: 112px; }
|
7481 |
+
@media screen and (max-width: 1024px) {
|
7482 |
+
.mdl-layout__header.is-compact.has-tabs {
|
7483 |
+
min-height: 104px; } }
|
7484 |
+
@media screen and (max-width: 1024px) {
|
7485 |
+
.mdl-layout__header {
|
7486 |
+
display: none; }
|
7487 |
+
.mdl-layout--fixed-header > .mdl-layout__header {
|
7488 |
+
display: -webkit-flex;
|
7489 |
+
display: -ms-flexbox;
|
7490 |
+
display: flex; } }
|
7491 |
+
|
7492 |
+
.mdl-layout__header--transparent.mdl-layout__header--transparent {
|
7493 |
+
background-color: transparent;
|
7494 |
+
box-shadow: none; }
|
7495 |
+
|
7496 |
+
.mdl-layout__header--seamed {
|
7497 |
+
box-shadow: none; }
|
7498 |
+
|
7499 |
+
.mdl-layout__header--scroll {
|
7500 |
+
box-shadow: none; }
|
7501 |
+
|
7502 |
+
.mdl-layout__header--waterfall {
|
7503 |
+
box-shadow: none;
|
7504 |
+
overflow: hidden; }
|
7505 |
+
.mdl-layout__header--waterfall.is-casting-shadow {
|
7506 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }
|
7507 |
+
.mdl-layout__header--waterfall.mdl-layout__header--waterfall-hide-top {
|
7508 |
+
-webkit-justify-content: flex-end;
|
7509 |
+
-ms-flex-pack: end;
|
7510 |
+
justify-content: flex-end; }
|
7511 |
+
|
7512 |
+
.mdl-layout__header-row {
|
7513 |
+
display: -webkit-flex;
|
7514 |
+
display: -ms-flexbox;
|
7515 |
+
display: flex;
|
7516 |
+
-webkit-flex-direction: row;
|
7517 |
+
-ms-flex-direction: row;
|
7518 |
+
flex-direction: row;
|
7519 |
+
-webkit-flex-wrap: nowrap;
|
7520 |
+
-ms-flex-wrap: nowrap;
|
7521 |
+
flex-wrap: nowrap;
|
7522 |
+
-webkit-flex-shrink: 0;
|
7523 |
+
-ms-flex-negative: 0;
|
7524 |
+
flex-shrink: 0;
|
7525 |
+
box-sizing: border-box;
|
7526 |
+
-webkit-align-self: stretch;
|
7527 |
+
-ms-flex-item-align: stretch;
|
7528 |
+
align-self: stretch;
|
7529 |
+
-webkit-align-items: center;
|
7530 |
+
-ms-flex-align: center;
|
7531 |
+
align-items: center;
|
7532 |
+
height: 64px;
|
7533 |
+
margin: 0;
|
7534 |
+
padding: 0 40px 0 80px; }
|
7535 |
+
.mdl-layout--no-drawer-button .mdl-layout__header-row {
|
7536 |
+
padding-left: 40px; }
|
7537 |
+
@media screen and (min-width: 1025px) {
|
7538 |
+
.mdl-layout--no-desktop-drawer-button .mdl-layout__header-row {
|
7539 |
+
padding-left: 40px; } }
|
7540 |
+
@media screen and (max-width: 1024px) {
|
7541 |
+
.mdl-layout__header-row {
|
7542 |
+
height: 56px;
|
7543 |
+
padding: 0 16px 0 72px; }
|
7544 |
+
.mdl-layout--no-drawer-button .mdl-layout__header-row {
|
7545 |
+
padding-left: 16px; } }
|
7546 |
+
.mdl-layout__header-row > * {
|
7547 |
+
-webkit-flex-shrink: 0;
|
7548 |
+
-ms-flex-negative: 0;
|
7549 |
+
flex-shrink: 0; }
|
7550 |
+
.mdl-layout__header--scroll .mdl-layout__header-row {
|
7551 |
+
width: 100%; }
|
7552 |
+
.mdl-layout__header-row .mdl-navigation {
|
7553 |
+
margin: 0;
|
7554 |
+
padding: 0;
|
7555 |
+
height: 64px;
|
7556 |
+
-webkit-flex-direction: row;
|
7557 |
+
-ms-flex-direction: row;
|
7558 |
+
flex-direction: row;
|
7559 |
+
-webkit-align-items: center;
|
7560 |
+
-ms-flex-align: center;
|
7561 |
+
align-items: center; }
|
7562 |
+
@media screen and (max-width: 1024px) {
|
7563 |
+
.mdl-layout__header-row .mdl-navigation {
|
7564 |
+
height: 56px; } }
|
7565 |
+
.mdl-layout__header-row .mdl-navigation__link {
|
7566 |
+
display: block;
|
7567 |
+
color: rgb(255,255,255);
|
7568 |
+
line-height: 64px;
|
7569 |
+
padding: 0 24px; }
|
7570 |
+
@media screen and (max-width: 1024px) {
|
7571 |
+
.mdl-layout__header-row .mdl-navigation__link {
|
7572 |
+
line-height: 56px;
|
7573 |
+
padding: 0 16px; } }
|
7574 |
+
|
7575 |
+
.mdl-layout__obfuscator {
|
7576 |
+
background-color: transparent;
|
7577 |
+
position: absolute;
|
7578 |
+
top: 0;
|
7579 |
+
left: 0;
|
7580 |
+
height: 100%;
|
7581 |
+
width: 100%;
|
7582 |
+
z-index: 4;
|
7583 |
+
visibility: hidden;
|
7584 |
+
transition-property: background-color;
|
7585 |
+
transition-duration: 0.2s;
|
7586 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
|
7587 |
+
.mdl-layout__obfuscator.is-visible {
|
7588 |
+
background-color: rgba(0, 0, 0, 0.5);
|
7589 |
+
visibility: visible; }
|
7590 |
+
@supports (pointer-events: auto) {
|
7591 |
+
.mdl-layout__obfuscator {
|
7592 |
+
background-color: rgba(0, 0, 0, 0.5);
|
7593 |
+
opacity: 0;
|
7594 |
+
transition-property: opacity;
|
7595 |
+
visibility: visible;
|
7596 |
+
pointer-events: none; }
|
7597 |
+
.mdl-layout__obfuscator.is-visible {
|
7598 |
+
pointer-events: auto;
|
7599 |
+
opacity: 1; } }
|
7600 |
+
|
7601 |
+
.mdl-layout__content {
|
7602 |
+
-ms-flex: 0 1 auto;
|
7603 |
+
position: relative;
|
7604 |
+
display: inline-block;
|
7605 |
+
overflow-y: auto;
|
7606 |
+
overflow-x: hidden;
|
7607 |
+
-webkit-flex-grow: 1;
|
7608 |
+
-ms-flex-positive: 1;
|
7609 |
+
flex-grow: 1;
|
7610 |
+
z-index: 1;
|
7611 |
+
-webkit-overflow-scrolling: touch; }
|
7612 |
+
.mdl-layout--fixed-drawer > .mdl-layout__content {
|
7613 |
+
margin-left: 240px; }
|
7614 |
+
.mdl-layout__container.has-scrolling-header .mdl-layout__content {
|
7615 |
+
overflow: visible; }
|
7616 |
+
@media screen and (max-width: 1024px) {
|
7617 |
+
.mdl-layout--fixed-drawer > .mdl-layout__content {
|
7618 |
+
margin-left: 0; }
|
7619 |
+
.mdl-layout__container.has-scrolling-header .mdl-layout__content {
|
7620 |
+
overflow-y: auto;
|
7621 |
+
overflow-x: hidden; } }
|
7622 |
+
|
7623 |
+
.mdl-layout__tab-bar {
|
7624 |
+
height: 96px;
|
7625 |
+
margin: 0;
|
7626 |
+
width: calc(100% - 112px);
|
7627 |
+
padding: 0 0 0 56px;
|
7628 |
+
display: -webkit-flex;
|
7629 |
+
display: -ms-flexbox;
|
7630 |
+
display: flex;
|
7631 |
+
background-color: rgb(63,81,181);
|
7632 |
+
overflow-y: hidden;
|
7633 |
+
overflow-x: scroll; }
|
7634 |
+
.mdl-layout__tab-bar::-webkit-scrollbar {
|
7635 |
+
display: none; }
|
7636 |
+
.mdl-layout--no-drawer-button .mdl-layout__tab-bar {
|
7637 |
+
padding-left: 16px;
|
7638 |
+
width: calc(100% - 32px); }
|
7639 |
+
@media screen and (min-width: 1025px) {
|
7640 |
+
.mdl-layout--no-desktop-drawer-button .mdl-layout__tab-bar {
|
7641 |
+
padding-left: 16px;
|
7642 |
+
width: calc(100% - 32px); } }
|
7643 |
+
@media screen and (max-width: 1024px) {
|
7644 |
+
.mdl-layout__tab-bar {
|
7645 |
+
width: calc(100% - 60px);
|
7646 |
+
padding: 0 0 0 60px; }
|
7647 |
+
.mdl-layout--no-drawer-button .mdl-layout__tab-bar {
|
7648 |
+
width: calc(100% - 8px);
|
7649 |
+
padding-left: 4px; } }
|
7650 |
+
.mdl-layout--fixed-tabs .mdl-layout__tab-bar {
|
7651 |
+
padding: 0;
|
7652 |
+
overflow: hidden;
|
7653 |
+
width: 100%; }
|
7654 |
+
|
7655 |
+
.mdl-layout__tab-bar-container {
|
7656 |
+
position: relative;
|
7657 |
+
height: 48px;
|
7658 |
+
width: 100%;
|
7659 |
+
border: none;
|
7660 |
+
margin: 0;
|
7661 |
+
z-index: 2;
|
7662 |
+
-webkit-flex-grow: 0;
|
7663 |
+
-ms-flex-positive: 0;
|
7664 |
+
flex-grow: 0;
|
7665 |
+
-webkit-flex-shrink: 0;
|
7666 |
+
-ms-flex-negative: 0;
|
7667 |
+
flex-shrink: 0;
|
7668 |
+
overflow: hidden; }
|
7669 |
+
.mdl-layout__container > .mdl-layout__tab-bar-container {
|
7670 |
+
position: absolute;
|
7671 |
+
top: 0;
|
7672 |
+
left: 0; }
|
7673 |
+
|
7674 |
+
.mdl-layout__tab-bar-button {
|
7675 |
+
display: inline-block;
|
7676 |
+
position: absolute;
|
7677 |
+
top: 0;
|
7678 |
+
height: 48px;
|
7679 |
+
width: 56px;
|
7680 |
+
z-index: 4;
|
7681 |
+
text-align: center;
|
7682 |
+
background-color: rgb(63,81,181);
|
7683 |
+
color: transparent;
|
7684 |
+
cursor: pointer;
|
7685 |
+
-webkit-user-select: none;
|
7686 |
+
-moz-user-select: none;
|
7687 |
+
-ms-user-select: none;
|
7688 |
+
user-select: none; }
|
7689 |
+
.mdl-layout--no-desktop-drawer-button .mdl-layout__tab-bar-button,
|
7690 |
+
.mdl-layout--no-drawer-button .mdl-layout__tab-bar-button {
|
7691 |
+
width: 16px; }
|
7692 |
+
.mdl-layout--no-desktop-drawer-button .mdl-layout__tab-bar-button .material-icons,
|
7693 |
+
.mdl-layout--no-drawer-button .mdl-layout__tab-bar-button .material-icons {
|
7694 |
+
position: relative;
|
7695 |
+
left: -4px; }
|
7696 |
+
@media screen and (max-width: 1024px) {
|
7697 |
+
.mdl-layout__tab-bar-button {
|
7698 |
+
width: 60px; } }
|
7699 |
+
.mdl-layout--fixed-tabs .mdl-layout__tab-bar-button {
|
7700 |
+
display: none; }
|
7701 |
+
.mdl-layout__tab-bar-button .material-icons {
|
7702 |
+
line-height: 48px; }
|
7703 |
+
.mdl-layout__tab-bar-button.is-active {
|
7704 |
+
color: rgb(255,255,255); }
|
7705 |
+
|
7706 |
+
.mdl-layout__tab-bar-left-button {
|
7707 |
+
left: 0; }
|
7708 |
+
|
7709 |
+
.mdl-layout__tab-bar-right-button {
|
7710 |
+
right: 0; }
|
7711 |
+
|
7712 |
+
.mdl-layout__tab {
|
7713 |
+
margin: 0;
|
7714 |
+
border: none;
|
7715 |
+
padding: 0 24px 0 24px;
|
7716 |
+
float: left;
|
7717 |
+
position: relative;
|
7718 |
+
display: block;
|
7719 |
+
-webkit-flex-grow: 0;
|
7720 |
+
-ms-flex-positive: 0;
|
7721 |
+
flex-grow: 0;
|
7722 |
+
-webkit-flex-shrink: 0;
|
7723 |
+
-ms-flex-negative: 0;
|
7724 |
+
flex-shrink: 0;
|
7725 |
+
text-decoration: none;
|
7726 |
+
height: 48px;
|
7727 |
+
line-height: 48px;
|
7728 |
+
text-align: center;
|
7729 |
+
font-weight: 500;
|
7730 |
+
font-size: 14px;
|
7731 |
+
text-transform: uppercase;
|
7732 |
+
color: rgba(255,255,255, 0.6);
|
7733 |
+
overflow: hidden; }
|
7734 |
+
@media screen and (max-width: 1024px) {
|
7735 |
+
.mdl-layout__tab {
|
7736 |
+
padding: 0 12px 0 12px; } }
|
7737 |
+
.mdl-layout--fixed-tabs .mdl-layout__tab {
|
7738 |
+
float: none;
|
7739 |
+
-webkit-flex-grow: 1;
|
7740 |
+
-ms-flex-positive: 1;
|
7741 |
+
flex-grow: 1;
|
7742 |
+
padding: 0; }
|
7743 |
+
.mdl-layout.is-upgraded .mdl-layout__tab.is-active {
|
7744 |
+
color: rgb(255,255,255); }
|
7745 |
+
.mdl-layout.is-upgraded .mdl-layout__tab.is-active::after {
|
7746 |
+
height: 2px;
|
7747 |
+
width: 100%;
|
7748 |
+
display: block;
|
7749 |
+
content: " ";
|
7750 |
+
bottom: 0;
|
7751 |
+
left: 0;
|
7752 |
+
position: absolute;
|
7753 |
+
background: rgb(255,64,129);
|
7754 |
+
-webkit-animation: border-expand 0.2s cubic-bezier(0.4, 0, 0.4, 1) 0.01s alternate forwards;
|
7755 |
+
animation: border-expand 0.2s cubic-bezier(0.4, 0, 0.4, 1) 0.01s alternate forwards;
|
7756 |
+
transition: all 1s cubic-bezier(0.4, 0, 1, 1); }
|
7757 |
+
.mdl-layout__tab .mdl-layout__tab-ripple-container {
|
7758 |
+
display: block;
|
7759 |
+
position: absolute;
|
7760 |
+
height: 100%;
|
7761 |
+
width: 100%;
|
7762 |
+
left: 0;
|
7763 |
+
top: 0;
|
7764 |
+
z-index: 1;
|
7765 |
+
overflow: hidden; }
|
7766 |
+
.mdl-layout__tab .mdl-layout__tab-ripple-container .mdl-ripple {
|
7767 |
+
background-color: rgb(255,255,255); }
|
7768 |
+
|
7769 |
+
.mdl-layout__tab-panel {
|
7770 |
+
display: block; }
|
7771 |
+
.mdl-layout.is-upgraded .mdl-layout__tab-panel {
|
7772 |
+
display: none; }
|
7773 |
+
.mdl-layout.is-upgraded .mdl-layout__tab-panel.is-active {
|
7774 |
+
display: block; }
|
7775 |
+
|
7776 |
+
/**
|
7777 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
7778 |
+
*
|
7779 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7780 |
+
* you may not use this file except in compliance with the License.
|
7781 |
+
* You may obtain a copy of the License at
|
7782 |
+
*
|
7783 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7784 |
+
*
|
7785 |
+
* Unless required by applicable law or agreed to in writing, software
|
7786 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7787 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7788 |
+
* See the License for the specific language governing permissions and
|
7789 |
+
* limitations under the License.
|
7790 |
+
*/
|
7791 |
+
/**
|
7792 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
7793 |
+
*
|
7794 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7795 |
+
* you may not use this file except in compliance with the License.
|
7796 |
+
* You may obtain a copy of the License at
|
7797 |
+
*
|
7798 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7799 |
+
*
|
7800 |
+
* Unless required by applicable law or agreed to in writing, software
|
7801 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7802 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7803 |
+
* See the License for the specific language governing permissions and
|
7804 |
+
* limitations under the License.
|
7805 |
+
*/
|
7806 |
+
/*------------------------------------* $CONTENTS
|
7807 |
+
\*------------------------------------*/
|
7808 |
+
/**
|
7809 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
7810 |
+
* -----Typography
|
7811 |
+
* -----Colors
|
7812 |
+
* -----Textfield
|
7813 |
+
* -----Switch
|
7814 |
+
* -----Spinner
|
7815 |
+
* -----Radio
|
7816 |
+
* -----Menu
|
7817 |
+
* -----List
|
7818 |
+
* -----Layout
|
7819 |
+
* -----Icon toggles
|
7820 |
+
* -----Footer
|
7821 |
+
* -----Column
|
7822 |
+
* -----Checkbox
|
7823 |
+
* -----Card
|
7824 |
+
* -----Button
|
7825 |
+
* -----Animation
|
7826 |
+
* -----Progress
|
7827 |
+
* -----Badge
|
7828 |
+
* -----Shadows
|
7829 |
+
* -----Grid
|
7830 |
+
* -----Data table
|
7831 |
+
* -----Dialog
|
7832 |
+
* -----Snackbar
|
7833 |
+
* -----Tooltip
|
7834 |
+
* -----Chip
|
7835 |
+
*
|
7836 |
+
* Even though all variables have the `!default` directive, most of them
|
7837 |
+
* should not be changed as they are dependent one another. This can cause
|
7838 |
+
* visual distortions (like alignment issues) that are hard to track down
|
7839 |
+
* and fix.
|
7840 |
+
*/
|
7841 |
+
/* ========== TYPOGRAPHY ========== */
|
7842 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
7843 |
+
page loading. For important text, such as the body, we want it to load
|
7844 |
+
immediately and not wait for the web font load, whereas for other sections,
|
7845 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
7846 |
+
We do have some optional classes and parameters in the mixins, in case you
|
7847 |
+
definitely want to make sure you're using the preferred font and don't mind
|
7848 |
+
the performance hit.
|
7849 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
7850 |
+
widely available.
|
7851 |
+
*/
|
7852 |
+
/* ========== COLORS ========== */
|
7853 |
+
/**
|
7854 |
+
*
|
7855 |
+
* Material design color palettes.
|
7856 |
+
* @see http://www.google.com/design/spec/style/color.html
|
7857 |
+
*
|
7858 |
+
**/
|
7859 |
+
/**
|
7860 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
7861 |
+
*
|
7862 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7863 |
+
* you may not use this file except in compliance with the License.
|
7864 |
+
* You may obtain a copy of the License at
|
7865 |
+
*
|
7866 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7867 |
+
*
|
7868 |
+
* Unless required by applicable law or agreed to in writing, software
|
7869 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7870 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7871 |
+
* See the License for the specific language governing permissions and
|
7872 |
+
* limitations under the License.
|
7873 |
+
*/
|
7874 |
+
/* ========== Color Palettes ========== */
|
7875 |
+
/* colors.scss */
|
7876 |
+
/**
|
7877 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
7878 |
+
*
|
7879 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7880 |
+
* you may not use this file except in compliance with the License.
|
7881 |
+
* You may obtain a copy of the License at
|
7882 |
+
*
|
7883 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7884 |
+
*
|
7885 |
+
* Unless required by applicable law or agreed to in writing, software
|
7886 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7887 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7888 |
+
* See the License for the specific language governing permissions and
|
7889 |
+
* limitations under the License.
|
7890 |
+
*/
|
7891 |
+
/* ========== IMAGES ========== */
|
7892 |
+
/* ========== Color & Themes ========== */
|
7893 |
+
/* ========== Typography ========== */
|
7894 |
+
/* ========== Components ========== */
|
7895 |
+
/* ========== Standard Buttons ========== */
|
7896 |
+
/* ========== Icon Toggles ========== */
|
7897 |
+
/* ========== Radio Buttons ========== */
|
7898 |
+
/* ========== Ripple effect ========== */
|
7899 |
+
/* ========== Layout ========== */
|
7900 |
+
/* ========== Content Tabs ========== */
|
7901 |
+
/* ========== Checkboxes ========== */
|
7902 |
+
/* ========== Switches ========== */
|
7903 |
+
/* ========== Spinner ========== */
|
7904 |
+
/* ========== Text fields ========== */
|
7905 |
+
/* ========== Card ========== */
|
7906 |
+
/* ========== Sliders ========== */
|
7907 |
+
/* ========== Progress ========== */
|
7908 |
+
/* ========== List ========== */
|
7909 |
+
/* ========== Item ========== */
|
7910 |
+
/* ========== Dropdown menu ========== */
|
7911 |
+
/* ========== Tooltips ========== */
|
7912 |
+
/* ========== Footer ========== */
|
7913 |
+
/* TEXTFIELD */
|
7914 |
+
/* SWITCH */
|
7915 |
+
/* SPINNER */
|
7916 |
+
/* RADIO */
|
7917 |
+
/* MENU */
|
7918 |
+
/* LIST */
|
7919 |
+
/* LAYOUT */
|
7920 |
+
/* ICON TOGGLE */
|
7921 |
+
/* FOOTER */
|
7922 |
+
/*mega-footer*/
|
7923 |
+
/*mini-footer*/
|
7924 |
+
/* CHECKBOX */
|
7925 |
+
/* CARD */
|
7926 |
+
/* Card dimensions */
|
7927 |
+
/* Cover image */
|
7928 |
+
/* BUTTON */
|
7929 |
+
/**
|
7930 |
+
*
|
7931 |
+
* Dimensions
|
7932 |
+
*
|
7933 |
+
*/
|
7934 |
+
/* ANIMATION */
|
7935 |
+
/* PROGRESS */
|
7936 |
+
/* BADGE */
|
7937 |
+
/* SHADOWS */
|
7938 |
+
/* GRID */
|
7939 |
+
/* DATA TABLE */
|
7940 |
+
/* DIALOG */
|
7941 |
+
/* SNACKBAR */
|
7942 |
+
/* TOOLTIP */
|
7943 |
+
/* CHIP */
|
7944 |
+
/**
|
7945 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
7946 |
+
*
|
7947 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7948 |
+
* you may not use this file except in compliance with the License.
|
7949 |
+
* You may obtain a copy of the License at
|
7950 |
+
*
|
7951 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7952 |
+
*
|
7953 |
+
* Unless required by applicable law or agreed to in writing, software
|
7954 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
7955 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7956 |
+
* See the License for the specific language governing permissions and
|
7957 |
+
* limitations under the License.
|
7958 |
+
*/
|
7959 |
+
/* Typography */
|
7960 |
+
/* Shadows */
|
7961 |
+
/* Animations */
|
7962 |
+
/* Dialog */
|
7963 |
+
.mdl-radio {
|
7964 |
+
position: relative;
|
7965 |
+
font-size: 16px;
|
7966 |
+
line-height: 24px;
|
7967 |
+
display: inline-block;
|
7968 |
+
vertical-align: middle;
|
7969 |
+
box-sizing: border-box;
|
7970 |
+
height: 24px;
|
7971 |
+
margin: 0;
|
7972 |
+
padding-left: 0; }
|
7973 |
+
.mdl-radio.is-upgraded {
|
7974 |
+
padding-left: 24px; }
|
7975 |
+
|
7976 |
+
.mdl-radio__button {
|
7977 |
+
line-height: 24px; }
|
7978 |
+
.mdl-radio.is-upgraded .mdl-radio__button {
|
7979 |
+
position: absolute;
|
7980 |
+
width: 0;
|
7981 |
+
height: 0;
|
7982 |
+
margin: 0;
|
7983 |
+
padding: 0;
|
7984 |
+
opacity: 0;
|
7985 |
+
-ms-appearance: none;
|
7986 |
+
-moz-appearance: none;
|
7987 |
+
-webkit-appearance: none;
|
7988 |
+
appearance: none;
|
7989 |
+
border: none; }
|
7990 |
+
|
7991 |
+
.mdl-radio__outer-circle {
|
7992 |
+
position: absolute;
|
7993 |
+
top: 4px;
|
7994 |
+
left: 0;
|
7995 |
+
display: inline-block;
|
7996 |
+
box-sizing: border-box;
|
7997 |
+
width: 16px;
|
7998 |
+
height: 16px;
|
7999 |
+
margin: 0;
|
8000 |
+
cursor: pointer;
|
8001 |
+
border: 2px solid rgba(0,0,0, 0.54);
|
8002 |
+
border-radius: 50%;
|
8003 |
+
z-index: 2; }
|
8004 |
+
.mdl-radio.is-checked .mdl-radio__outer-circle {
|
8005 |
+
border: 2px solid rgb(63,81,181); }
|
8006 |
+
.mdl-radio__outer-circle fieldset[disabled] .mdl-radio,
|
8007 |
+
.mdl-radio.is-disabled .mdl-radio__outer-circle {
|
8008 |
+
border: 2px solid rgba(0,0,0, 0.26);
|
8009 |
+
cursor: auto; }
|
8010 |
+
|
8011 |
+
.mdl-radio__inner-circle {
|
8012 |
+
position: absolute;
|
8013 |
+
z-index: 1;
|
8014 |
+
margin: 0;
|
8015 |
+
top: 8px;
|
8016 |
+
left: 4px;
|
8017 |
+
box-sizing: border-box;
|
8018 |
+
width: 8px;
|
8019 |
+
height: 8px;
|
8020 |
+
cursor: pointer;
|
8021 |
+
transition-duration: 0.28s;
|
8022 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
8023 |
+
transition-property: -webkit-transform;
|
8024 |
+
transition-property: transform;
|
8025 |
+
transition-property: transform, -webkit-transform;
|
8026 |
+
-webkit-transform: scale(0, 0);
|
8027 |
+
transform: scale(0, 0);
|
8028 |
+
border-radius: 50%;
|
8029 |
+
background: rgb(63,81,181); }
|
8030 |
+
.mdl-radio.is-checked .mdl-radio__inner-circle {
|
8031 |
+
-webkit-transform: scale(1, 1);
|
8032 |
+
transform: scale(1, 1); }
|
8033 |
+
fieldset[disabled] .mdl-radio .mdl-radio__inner-circle,
|
8034 |
+
.mdl-radio.is-disabled .mdl-radio__inner-circle {
|
8035 |
+
background: rgba(0,0,0, 0.26);
|
8036 |
+
cursor: auto; }
|
8037 |
+
.mdl-radio.is-focused .mdl-radio__inner-circle {
|
8038 |
+
box-shadow: 0 0 0px 10px rgba(0, 0, 0, 0.1); }
|
8039 |
+
|
8040 |
+
.mdl-radio__label {
|
8041 |
+
cursor: pointer; }
|
8042 |
+
fieldset[disabled] .mdl-radio .mdl-radio__label,
|
8043 |
+
.mdl-radio.is-disabled .mdl-radio__label {
|
8044 |
+
color: rgba(0,0,0, 0.26);
|
8045 |
+
cursor: auto; }
|
8046 |
+
|
8047 |
+
.mdl-radio__ripple-container {
|
8048 |
+
position: absolute;
|
8049 |
+
z-index: 2;
|
8050 |
+
top: -9px;
|
8051 |
+
left: -13px;
|
8052 |
+
box-sizing: border-box;
|
8053 |
+
width: 42px;
|
8054 |
+
height: 42px;
|
8055 |
+
border-radius: 50%;
|
8056 |
+
cursor: pointer;
|
8057 |
+
overflow: hidden;
|
8058 |
+
-webkit-mask-image: -webkit-radial-gradient(circle, white, black); }
|
8059 |
+
.mdl-radio__ripple-container .mdl-ripple {
|
8060 |
+
background: rgb(63,81,181); }
|
8061 |
+
fieldset[disabled] .mdl-radio .mdl-radio__ripple-container,
|
8062 |
+
.mdl-radio.is-disabled .mdl-radio__ripple-container {
|
8063 |
+
cursor: auto; }
|
8064 |
+
fieldset[disabled] .mdl-radio .mdl-radio__ripple-container .mdl-ripple,
|
8065 |
+
.mdl-radio.is-disabled .mdl-radio__ripple-container .mdl-ripple {
|
8066 |
+
background: transparent; }
|
8067 |
+
|
8068 |
+
/**
|
8069 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8070 |
+
*
|
8071 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8072 |
+
* you may not use this file except in compliance with the License.
|
8073 |
+
* You may obtain a copy of the License at
|
8074 |
+
*
|
8075 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8076 |
+
*
|
8077 |
+
* Unless required by applicable law or agreed to in writing, software
|
8078 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8079 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8080 |
+
* See the License for the specific language governing permissions and
|
8081 |
+
* limitations under the License.
|
8082 |
+
*/
|
8083 |
+
/**
|
8084 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8085 |
+
*
|
8086 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8087 |
+
* you may not use this file except in compliance with the License.
|
8088 |
+
* You may obtain a copy of the License at
|
8089 |
+
*
|
8090 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8091 |
+
*
|
8092 |
+
* Unless required by applicable law or agreed to in writing, software
|
8093 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8094 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8095 |
+
* See the License for the specific language governing permissions and
|
8096 |
+
* limitations under the License.
|
8097 |
+
*/
|
8098 |
+
/*------------------------------------* $CONTENTS
|
8099 |
+
\*------------------------------------*/
|
8100 |
+
/**
|
8101 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
8102 |
+
* -----Typography
|
8103 |
+
* -----Colors
|
8104 |
+
* -----Textfield
|
8105 |
+
* -----Switch
|
8106 |
+
* -----Spinner
|
8107 |
+
* -----Radio
|
8108 |
+
* -----Menu
|
8109 |
+
* -----List
|
8110 |
+
* -----Layout
|
8111 |
+
* -----Icon toggles
|
8112 |
+
* -----Footer
|
8113 |
+
* -----Column
|
8114 |
+
* -----Checkbox
|
8115 |
+
* -----Card
|
8116 |
+
* -----Button
|
8117 |
+
* -----Animation
|
8118 |
+
* -----Progress
|
8119 |
+
* -----Badge
|
8120 |
+
* -----Shadows
|
8121 |
+
* -----Grid
|
8122 |
+
* -----Data table
|
8123 |
+
* -----Dialog
|
8124 |
+
* -----Snackbar
|
8125 |
+
* -----Tooltip
|
8126 |
+
* -----Chip
|
8127 |
+
*
|
8128 |
+
* Even though all variables have the `!default` directive, most of them
|
8129 |
+
* should not be changed as they are dependent one another. This can cause
|
8130 |
+
* visual distortions (like alignment issues) that are hard to track down
|
8131 |
+
* and fix.
|
8132 |
+
*/
|
8133 |
+
/* ========== TYPOGRAPHY ========== */
|
8134 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
8135 |
+
page loading. For important text, such as the body, we want it to load
|
8136 |
+
immediately and not wait for the web font load, whereas for other sections,
|
8137 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
8138 |
+
We do have some optional classes and parameters in the mixins, in case you
|
8139 |
+
definitely want to make sure you're using the preferred font and don't mind
|
8140 |
+
the performance hit.
|
8141 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
8142 |
+
widely available.
|
8143 |
+
*/
|
8144 |
+
/* ========== COLORS ========== */
|
8145 |
+
/**
|
8146 |
+
*
|
8147 |
+
* Material design color palettes.
|
8148 |
+
* @see http://www.google.com/design/spec/style/color.html
|
8149 |
+
*
|
8150 |
+
**/
|
8151 |
+
/**
|
8152 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8153 |
+
*
|
8154 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8155 |
+
* you may not use this file except in compliance with the License.
|
8156 |
+
* You may obtain a copy of the License at
|
8157 |
+
*
|
8158 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8159 |
+
*
|
8160 |
+
* Unless required by applicable law or agreed to in writing, software
|
8161 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8162 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8163 |
+
* See the License for the specific language governing permissions and
|
8164 |
+
* limitations under the License.
|
8165 |
+
*/
|
8166 |
+
/* ========== Color Palettes ========== */
|
8167 |
+
/* colors.scss */
|
8168 |
+
/**
|
8169 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8170 |
+
*
|
8171 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8172 |
+
* you may not use this file except in compliance with the License.
|
8173 |
+
* You may obtain a copy of the License at
|
8174 |
+
*
|
8175 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8176 |
+
*
|
8177 |
+
* Unless required by applicable law or agreed to in writing, software
|
8178 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8179 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8180 |
+
* See the License for the specific language governing permissions and
|
8181 |
+
* limitations under the License.
|
8182 |
+
*/
|
8183 |
+
/* ========== IMAGES ========== */
|
8184 |
+
/* ========== Color & Themes ========== */
|
8185 |
+
/* ========== Typography ========== */
|
8186 |
+
/* ========== Components ========== */
|
8187 |
+
/* ========== Standard Buttons ========== */
|
8188 |
+
/* ========== Icon Toggles ========== */
|
8189 |
+
/* ========== Radio Buttons ========== */
|
8190 |
+
/* ========== Ripple effect ========== */
|
8191 |
+
/* ========== Layout ========== */
|
8192 |
+
/* ========== Content Tabs ========== */
|
8193 |
+
/* ========== Checkboxes ========== */
|
8194 |
+
/* ========== Switches ========== */
|
8195 |
+
/* ========== Spinner ========== */
|
8196 |
+
/* ========== Text fields ========== */
|
8197 |
+
/* ========== Card ========== */
|
8198 |
+
/* ========== Sliders ========== */
|
8199 |
+
/* ========== Progress ========== */
|
8200 |
+
/* ========== List ========== */
|
8201 |
+
/* ========== Item ========== */
|
8202 |
+
/* ========== Dropdown menu ========== */
|
8203 |
+
/* ========== Tooltips ========== */
|
8204 |
+
/* ========== Footer ========== */
|
8205 |
+
/* TEXTFIELD */
|
8206 |
+
/* SWITCH */
|
8207 |
+
/* SPINNER */
|
8208 |
+
/* RADIO */
|
8209 |
+
/* MENU */
|
8210 |
+
/* LIST */
|
8211 |
+
/* LAYOUT */
|
8212 |
+
/* ICON TOGGLE */
|
8213 |
+
/* FOOTER */
|
8214 |
+
/*mega-footer*/
|
8215 |
+
/*mini-footer*/
|
8216 |
+
/* CHECKBOX */
|
8217 |
+
/* CARD */
|
8218 |
+
/* Card dimensions */
|
8219 |
+
/* Cover image */
|
8220 |
+
/* BUTTON */
|
8221 |
+
/**
|
8222 |
+
*
|
8223 |
+
* Dimensions
|
8224 |
+
*
|
8225 |
+
*/
|
8226 |
+
/* ANIMATION */
|
8227 |
+
/* PROGRESS */
|
8228 |
+
/* BADGE */
|
8229 |
+
/* SHADOWS */
|
8230 |
+
/* GRID */
|
8231 |
+
/* DATA TABLE */
|
8232 |
+
/* DIALOG */
|
8233 |
+
/* SNACKBAR */
|
8234 |
+
/* TOOLTIP */
|
8235 |
+
/* CHIP */
|
8236 |
+
_:-ms-input-placeholder, :root .mdl-slider.mdl-slider.is-upgraded {
|
8237 |
+
-ms-appearance: none;
|
8238 |
+
height: 32px;
|
8239 |
+
margin: 0; }
|
8240 |
+
|
8241 |
+
.mdl-slider {
|
8242 |
+
width: calc(100% - 40px);
|
8243 |
+
margin: 0 20px; }
|
8244 |
+
.mdl-slider.is-upgraded {
|
8245 |
+
-webkit-appearance: none;
|
8246 |
+
-moz-appearance: none;
|
8247 |
+
appearance: none;
|
8248 |
+
height: 2px;
|
8249 |
+
background: transparent;
|
8250 |
+
-webkit-user-select: none;
|
8251 |
+
-moz-user-select: none;
|
8252 |
+
-ms-user-select: none;
|
8253 |
+
user-select: none;
|
8254 |
+
outline: 0;
|
8255 |
+
padding: 0;
|
8256 |
+
color: rgb(63,81,181);
|
8257 |
+
-webkit-align-self: center;
|
8258 |
+
-ms-flex-item-align: center;
|
8259 |
+
-ms-grid-row-align: center;
|
8260 |
+
align-self: center;
|
8261 |
+
z-index: 1;
|
8262 |
+
cursor: pointer;
|
8263 |
+
/**************************** Tracks ****************************/
|
8264 |
+
/**************************** Thumbs ****************************/
|
8265 |
+
/**************************** 0-value ****************************/
|
8266 |
+
/**************************** Disabled ****************************/ }
|
8267 |
+
.mdl-slider.is-upgraded::-moz-focus-outer {
|
8268 |
+
border: 0; }
|
8269 |
+
.mdl-slider.is-upgraded::-ms-tooltip {
|
8270 |
+
display: none; }
|
8271 |
+
.mdl-slider.is-upgraded::-webkit-slider-runnable-track {
|
8272 |
+
background: transparent; }
|
8273 |
+
.mdl-slider.is-upgraded::-moz-range-track {
|
8274 |
+
background: transparent;
|
8275 |
+
border: none; }
|
8276 |
+
.mdl-slider.is-upgraded::-ms-track {
|
8277 |
+
background: none;
|
8278 |
+
color: transparent;
|
8279 |
+
height: 2px;
|
8280 |
+
width: 100%;
|
8281 |
+
border: none; }
|
8282 |
+
.mdl-slider.is-upgraded::-ms-fill-lower {
|
8283 |
+
padding: 0;
|
8284 |
+
background: linear-gradient(to right, transparent, transparent 16px, rgb(63,81,181) 16px, rgb(63,81,181) 0); }
|
8285 |
+
.mdl-slider.is-upgraded::-ms-fill-upper {
|
8286 |
+
padding: 0;
|
8287 |
+
background: linear-gradient(to left, transparent, transparent 16px, rgba(0,0,0, 0.26) 16px, rgba(0,0,0, 0.26) 0); }
|
8288 |
+
.mdl-slider.is-upgraded::-webkit-slider-thumb {
|
8289 |
+
-webkit-appearance: none;
|
8290 |
+
width: 12px;
|
8291 |
+
height: 12px;
|
8292 |
+
box-sizing: border-box;
|
8293 |
+
border-radius: 50%;
|
8294 |
+
background: rgb(63,81,181);
|
8295 |
+
border: none;
|
8296 |
+
transition: border 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
|
8297 |
+
transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), border 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
8298 |
+
transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), border 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.18s cubic-bezier(0.4, 0, 0.2, 1); }
|
8299 |
+
.mdl-slider.is-upgraded::-moz-range-thumb {
|
8300 |
+
-moz-appearance: none;
|
8301 |
+
width: 12px;
|
8302 |
+
height: 12px;
|
8303 |
+
box-sizing: border-box;
|
8304 |
+
border-radius: 50%;
|
8305 |
+
background-image: none;
|
8306 |
+
background: rgb(63,81,181);
|
8307 |
+
border: none; }
|
8308 |
+
.mdl-slider.is-upgraded:focus:not(:active)::-webkit-slider-thumb {
|
8309 |
+
box-shadow: 0 0 0 10px rgba(63,81,181, 0.26); }
|
8310 |
+
.mdl-slider.is-upgraded:focus:not(:active)::-moz-range-thumb {
|
8311 |
+
box-shadow: 0 0 0 10px rgba(63,81,181, 0.26); }
|
8312 |
+
.mdl-slider.is-upgraded:active::-webkit-slider-thumb {
|
8313 |
+
background-image: none;
|
8314 |
+
background: rgb(63,81,181);
|
8315 |
+
-webkit-transform: scale(1.5);
|
8316 |
+
transform: scale(1.5); }
|
8317 |
+
.mdl-slider.is-upgraded:active::-moz-range-thumb {
|
8318 |
+
background-image: none;
|
8319 |
+
background: rgb(63,81,181);
|
8320 |
+
transform: scale(1.5); }
|
8321 |
+
.mdl-slider.is-upgraded::-ms-thumb {
|
8322 |
+
width: 32px;
|
8323 |
+
height: 32px;
|
8324 |
+
border: none;
|
8325 |
+
border-radius: 50%;
|
8326 |
+
background: rgb(63,81,181);
|
8327 |
+
transform: scale(0.375);
|
8328 |
+
transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
|
8329 |
+
transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
8330 |
+
transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.18s cubic-bezier(0.4, 0, 0.2, 1); }
|
8331 |
+
.mdl-slider.is-upgraded:focus:not(:active)::-ms-thumb {
|
8332 |
+
background: radial-gradient(circle closest-side, rgb(63,81,181) 0%, rgb(63,81,181) 37.5%, rgba(63,81,181, 0.26) 37.5%, rgba(63,81,181, 0.26) 100%);
|
8333 |
+
transform: scale(1); }
|
8334 |
+
.mdl-slider.is-upgraded:active::-ms-thumb {
|
8335 |
+
background: rgb(63,81,181);
|
8336 |
+
transform: scale(0.5625); }
|
8337 |
+
.mdl-slider.is-upgraded.is-lowest-value::-webkit-slider-thumb {
|
8338 |
+
border: 2px solid rgba(0,0,0, 0.26);
|
8339 |
+
background: transparent; }
|
8340 |
+
.mdl-slider.is-upgraded.is-lowest-value::-moz-range-thumb {
|
8341 |
+
border: 2px solid rgba(0,0,0, 0.26);
|
8342 |
+
background: transparent; }
|
8343 |
+
.mdl-slider.is-upgraded.is-lowest-value +
|
8344 |
+
.mdl-slider__background-flex > .mdl-slider__background-upper {
|
8345 |
+
left: 6px; }
|
8346 |
+
.mdl-slider.is-upgraded.is-lowest-value:focus:not(:active)::-webkit-slider-thumb {
|
8347 |
+
box-shadow: 0 0 0 10px rgba(0,0,0, 0.12);
|
8348 |
+
background: rgba(0,0,0, 0.12); }
|
8349 |
+
.mdl-slider.is-upgraded.is-lowest-value:focus:not(:active)::-moz-range-thumb {
|
8350 |
+
box-shadow: 0 0 0 10px rgba(0,0,0, 0.12);
|
8351 |
+
background: rgba(0,0,0, 0.12); }
|
8352 |
+
.mdl-slider.is-upgraded.is-lowest-value:active::-webkit-slider-thumb {
|
8353 |
+
border: 1.6px solid rgba(0,0,0, 0.26);
|
8354 |
+
-webkit-transform: scale(1.5);
|
8355 |
+
transform: scale(1.5); }
|
8356 |
+
.mdl-slider.is-upgraded.is-lowest-value:active +
|
8357 |
+
.mdl-slider__background-flex > .mdl-slider__background-upper {
|
8358 |
+
left: 9px; }
|
8359 |
+
.mdl-slider.is-upgraded.is-lowest-value:active::-moz-range-thumb {
|
8360 |
+
border: 1.5px solid rgba(0,0,0, 0.26);
|
8361 |
+
transform: scale(1.5); }
|
8362 |
+
.mdl-slider.is-upgraded.is-lowest-value::-ms-thumb {
|
8363 |
+
background: radial-gradient(circle closest-side, transparent 0%, transparent 66.67%, rgba(0,0,0, 0.26) 66.67%, rgba(0,0,0, 0.26) 100%); }
|
8364 |
+
.mdl-slider.is-upgraded.is-lowest-value:focus:not(:active)::-ms-thumb {
|
8365 |
+
background: radial-gradient(circle closest-side, rgba(0,0,0, 0.12) 0%, rgba(0,0,0, 0.12) 25%, rgba(0,0,0, 0.26) 25%, rgba(0,0,0, 0.26) 37.5%, rgba(0,0,0, 0.12) 37.5%, rgba(0,0,0, 0.12) 100%);
|
8366 |
+
transform: scale(1); }
|
8367 |
+
.mdl-slider.is-upgraded.is-lowest-value:active::-ms-thumb {
|
8368 |
+
transform: scale(0.5625);
|
8369 |
+
background: radial-gradient(circle closest-side, transparent 0%, transparent 77.78%, rgba(0,0,0, 0.26) 77.78%, rgba(0,0,0, 0.26) 100%); }
|
8370 |
+
.mdl-slider.is-upgraded.is-lowest-value::-ms-fill-lower {
|
8371 |
+
background: transparent; }
|
8372 |
+
.mdl-slider.is-upgraded.is-lowest-value::-ms-fill-upper {
|
8373 |
+
margin-left: 6px; }
|
8374 |
+
.mdl-slider.is-upgraded.is-lowest-value:active::-ms-fill-upper {
|
8375 |
+
margin-left: 9px; }
|
8376 |
+
.mdl-slider.is-upgraded:disabled:focus::-webkit-slider-thumb, .mdl-slider.is-upgraded:disabled:active::-webkit-slider-thumb, .mdl-slider.is-upgraded:disabled::-webkit-slider-thumb {
|
8377 |
+
-webkit-transform: scale(0.667);
|
8378 |
+
transform: scale(0.667);
|
8379 |
+
background: rgba(0,0,0, 0.26); }
|
8380 |
+
.mdl-slider.is-upgraded:disabled:focus::-moz-range-thumb, .mdl-slider.is-upgraded:disabled:active::-moz-range-thumb, .mdl-slider.is-upgraded:disabled::-moz-range-thumb {
|
8381 |
+
transform: scale(0.667);
|
8382 |
+
background: rgba(0,0,0, 0.26); }
|
8383 |
+
.mdl-slider.is-upgraded:disabled +
|
8384 |
+
.mdl-slider__background-flex > .mdl-slider__background-lower {
|
8385 |
+
background-color: rgba(0,0,0, 0.26);
|
8386 |
+
left: -6px; }
|
8387 |
+
.mdl-slider.is-upgraded:disabled +
|
8388 |
+
.mdl-slider__background-flex > .mdl-slider__background-upper {
|
8389 |
+
left: 6px; }
|
8390 |
+
.mdl-slider.is-upgraded.is-lowest-value:disabled:focus::-webkit-slider-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled:active::-webkit-slider-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled::-webkit-slider-thumb {
|
8391 |
+
border: 3px solid rgba(0,0,0, 0.26);
|
8392 |
+
background: transparent;
|
8393 |
+
-webkit-transform: scale(0.667);
|
8394 |
+
transform: scale(0.667); }
|
8395 |
+
.mdl-slider.is-upgraded.is-lowest-value:disabled:focus::-moz-range-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled:active::-moz-range-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled::-moz-range-thumb {
|
8396 |
+
border: 3px solid rgba(0,0,0, 0.26);
|
8397 |
+
background: transparent;
|
8398 |
+
transform: scale(0.667); }
|
8399 |
+
.mdl-slider.is-upgraded.is-lowest-value:disabled:active +
|
8400 |
+
.mdl-slider__background-flex > .mdl-slider__background-upper {
|
8401 |
+
left: 6px; }
|
8402 |
+
.mdl-slider.is-upgraded:disabled:focus::-ms-thumb, .mdl-slider.is-upgraded:disabled:active::-ms-thumb, .mdl-slider.is-upgraded:disabled::-ms-thumb {
|
8403 |
+
transform: scale(0.25);
|
8404 |
+
background: rgba(0,0,0, 0.26); }
|
8405 |
+
.mdl-slider.is-upgraded.is-lowest-value:disabled:focus::-ms-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled:active::-ms-thumb, .mdl-slider.is-upgraded.is-lowest-value:disabled::-ms-thumb {
|
8406 |
+
transform: scale(0.25);
|
8407 |
+
background: radial-gradient(circle closest-side, transparent 0%, transparent 50%, rgba(0,0,0, 0.26) 50%, rgba(0,0,0, 0.26) 100%); }
|
8408 |
+
.mdl-slider.is-upgraded:disabled::-ms-fill-lower {
|
8409 |
+
margin-right: 6px;
|
8410 |
+
background: linear-gradient(to right, transparent, transparent 25px, rgba(0,0,0, 0.26) 25px, rgba(0,0,0, 0.26) 0); }
|
8411 |
+
.mdl-slider.is-upgraded:disabled::-ms-fill-upper {
|
8412 |
+
margin-left: 6px; }
|
8413 |
+
.mdl-slider.is-upgraded.is-lowest-value:disabled:active::-ms-fill-upper {
|
8414 |
+
margin-left: 6px; }
|
8415 |
+
|
8416 |
+
.mdl-slider__ie-container {
|
8417 |
+
height: 18px;
|
8418 |
+
overflow: visible;
|
8419 |
+
border: none;
|
8420 |
+
margin: none;
|
8421 |
+
padding: none; }
|
8422 |
+
|
8423 |
+
.mdl-slider__container {
|
8424 |
+
height: 18px;
|
8425 |
+
position: relative;
|
8426 |
+
background: none;
|
8427 |
+
display: -webkit-flex;
|
8428 |
+
display: -ms-flexbox;
|
8429 |
+
display: flex;
|
8430 |
+
-webkit-flex-direction: row;
|
8431 |
+
-ms-flex-direction: row;
|
8432 |
+
flex-direction: row; }
|
8433 |
+
|
8434 |
+
.mdl-slider__background-flex {
|
8435 |
+
background: transparent;
|
8436 |
+
position: absolute;
|
8437 |
+
height: 2px;
|
8438 |
+
width: calc(100% - 52px);
|
8439 |
+
top: 50%;
|
8440 |
+
left: 0;
|
8441 |
+
margin: 0 26px;
|
8442 |
+
display: -webkit-flex;
|
8443 |
+
display: -ms-flexbox;
|
8444 |
+
display: flex;
|
8445 |
+
overflow: hidden;
|
8446 |
+
border: 0;
|
8447 |
+
padding: 0;
|
8448 |
+
-webkit-transform: translate(0, -1px);
|
8449 |
+
transform: translate(0, -1px); }
|
8450 |
+
|
8451 |
+
.mdl-slider__background-lower {
|
8452 |
+
background: rgb(63,81,181);
|
8453 |
+
-webkit-flex: 0;
|
8454 |
+
-ms-flex: 0;
|
8455 |
+
flex: 0;
|
8456 |
+
position: relative;
|
8457 |
+
border: 0;
|
8458 |
+
padding: 0; }
|
8459 |
+
|
8460 |
+
.mdl-slider__background-upper {
|
8461 |
+
background: rgba(0,0,0, 0.26);
|
8462 |
+
-webkit-flex: 0;
|
8463 |
+
-ms-flex: 0;
|
8464 |
+
flex: 0;
|
8465 |
+
position: relative;
|
8466 |
+
border: 0;
|
8467 |
+
padding: 0;
|
8468 |
+
transition: left 0.18s cubic-bezier(0.4, 0, 0.2, 1); }
|
8469 |
+
|
8470 |
+
/**
|
8471 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8472 |
+
*
|
8473 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8474 |
+
* you may not use this file except in compliance with the License.
|
8475 |
+
* You may obtain a copy of the License at
|
8476 |
+
*
|
8477 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8478 |
+
*
|
8479 |
+
* Unless required by applicable law or agreed to in writing, software
|
8480 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8481 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8482 |
+
* See the License for the specific language governing permissions and
|
8483 |
+
* limitations under the License.
|
8484 |
+
*/
|
8485 |
+
/**
|
8486 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8487 |
+
*
|
8488 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8489 |
+
* you may not use this file except in compliance with the License.
|
8490 |
+
* You may obtain a copy of the License at
|
8491 |
+
*
|
8492 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8493 |
+
*
|
8494 |
+
* Unless required by applicable law or agreed to in writing, software
|
8495 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8496 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8497 |
+
* See the License for the specific language governing permissions and
|
8498 |
+
* limitations under the License.
|
8499 |
+
*/
|
8500 |
+
/*------------------------------------* $CONTENTS
|
8501 |
+
\*------------------------------------*/
|
8502 |
+
/**
|
8503 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
8504 |
+
* -----Typography
|
8505 |
+
* -----Colors
|
8506 |
+
* -----Textfield
|
8507 |
+
* -----Switch
|
8508 |
+
* -----Spinner
|
8509 |
+
* -----Radio
|
8510 |
+
* -----Menu
|
8511 |
+
* -----List
|
8512 |
+
* -----Layout
|
8513 |
+
* -----Icon toggles
|
8514 |
+
* -----Footer
|
8515 |
+
* -----Column
|
8516 |
+
* -----Checkbox
|
8517 |
+
* -----Card
|
8518 |
+
* -----Button
|
8519 |
+
* -----Animation
|
8520 |
+
* -----Progress
|
8521 |
+
* -----Badge
|
8522 |
+
* -----Shadows
|
8523 |
+
* -----Grid
|
8524 |
+
* -----Data table
|
8525 |
+
* -----Dialog
|
8526 |
+
* -----Snackbar
|
8527 |
+
* -----Tooltip
|
8528 |
+
* -----Chip
|
8529 |
+
*
|
8530 |
+
* Even though all variables have the `!default` directive, most of them
|
8531 |
+
* should not be changed as they are dependent one another. This can cause
|
8532 |
+
* visual distortions (like alignment issues) that are hard to track down
|
8533 |
+
* and fix.
|
8534 |
+
*/
|
8535 |
+
/* ========== TYPOGRAPHY ========== */
|
8536 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
8537 |
+
page loading. For important text, such as the body, we want it to load
|
8538 |
+
immediately and not wait for the web font load, whereas for other sections,
|
8539 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
8540 |
+
We do have some optional classes and parameters in the mixins, in case you
|
8541 |
+
definitely want to make sure you're using the preferred font and don't mind
|
8542 |
+
the performance hit.
|
8543 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
8544 |
+
widely available.
|
8545 |
+
*/
|
8546 |
+
/* ========== COLORS ========== */
|
8547 |
+
/**
|
8548 |
+
*
|
8549 |
+
* Material design color palettes.
|
8550 |
+
* @see http://www.google.com/design/spec/style/color.html
|
8551 |
+
*
|
8552 |
+
**/
|
8553 |
+
/**
|
8554 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8555 |
+
*
|
8556 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8557 |
+
* you may not use this file except in compliance with the License.
|
8558 |
+
* You may obtain a copy of the License at
|
8559 |
+
*
|
8560 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8561 |
+
*
|
8562 |
+
* Unless required by applicable law or agreed to in writing, software
|
8563 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8564 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8565 |
+
* See the License for the specific language governing permissions and
|
8566 |
+
* limitations under the License.
|
8567 |
+
*/
|
8568 |
+
/* ========== Color Palettes ========== */
|
8569 |
+
/* colors.scss */
|
8570 |
+
/**
|
8571 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8572 |
+
*
|
8573 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8574 |
+
* you may not use this file except in compliance with the License.
|
8575 |
+
* You may obtain a copy of the License at
|
8576 |
+
*
|
8577 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8578 |
+
*
|
8579 |
+
* Unless required by applicable law or agreed to in writing, software
|
8580 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8581 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8582 |
+
* See the License for the specific language governing permissions and
|
8583 |
+
* limitations under the License.
|
8584 |
+
*/
|
8585 |
+
/* ========== IMAGES ========== */
|
8586 |
+
/* ========== Color & Themes ========== */
|
8587 |
+
/* ========== Typography ========== */
|
8588 |
+
/* ========== Components ========== */
|
8589 |
+
/* ========== Standard Buttons ========== */
|
8590 |
+
/* ========== Icon Toggles ========== */
|
8591 |
+
/* ========== Radio Buttons ========== */
|
8592 |
+
/* ========== Ripple effect ========== */
|
8593 |
+
/* ========== Layout ========== */
|
8594 |
+
/* ========== Content Tabs ========== */
|
8595 |
+
/* ========== Checkboxes ========== */
|
8596 |
+
/* ========== Switches ========== */
|
8597 |
+
/* ========== Spinner ========== */
|
8598 |
+
/* ========== Text fields ========== */
|
8599 |
+
/* ========== Card ========== */
|
8600 |
+
/* ========== Sliders ========== */
|
8601 |
+
/* ========== Progress ========== */
|
8602 |
+
/* ========== List ========== */
|
8603 |
+
/* ========== Item ========== */
|
8604 |
+
/* ========== Dropdown menu ========== */
|
8605 |
+
/* ========== Tooltips ========== */
|
8606 |
+
/* ========== Footer ========== */
|
8607 |
+
/* TEXTFIELD */
|
8608 |
+
/* SWITCH */
|
8609 |
+
/* SPINNER */
|
8610 |
+
/* RADIO */
|
8611 |
+
/* MENU */
|
8612 |
+
/* LIST */
|
8613 |
+
/* LAYOUT */
|
8614 |
+
/* ICON TOGGLE */
|
8615 |
+
/* FOOTER */
|
8616 |
+
/*mega-footer*/
|
8617 |
+
/*mini-footer*/
|
8618 |
+
/* CHECKBOX */
|
8619 |
+
/* CARD */
|
8620 |
+
/* Card dimensions */
|
8621 |
+
/* Cover image */
|
8622 |
+
/* BUTTON */
|
8623 |
+
/**
|
8624 |
+
*
|
8625 |
+
* Dimensions
|
8626 |
+
*
|
8627 |
+
*/
|
8628 |
+
/* ANIMATION */
|
8629 |
+
/* PROGRESS */
|
8630 |
+
/* BADGE */
|
8631 |
+
/* SHADOWS */
|
8632 |
+
/* GRID */
|
8633 |
+
/* DATA TABLE */
|
8634 |
+
/* DIALOG */
|
8635 |
+
/* SNACKBAR */
|
8636 |
+
/* TOOLTIP */
|
8637 |
+
/* CHIP */
|
8638 |
+
/**
|
8639 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8640 |
+
*
|
8641 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8642 |
+
* you may not use this file except in compliance with the License.
|
8643 |
+
* You may obtain a copy of the License at
|
8644 |
+
*
|
8645 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8646 |
+
*
|
8647 |
+
* Unless required by applicable law or agreed to in writing, software
|
8648 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8649 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8650 |
+
* See the License for the specific language governing permissions and
|
8651 |
+
* limitations under the License.
|
8652 |
+
*/
|
8653 |
+
/* Typography */
|
8654 |
+
/* Shadows */
|
8655 |
+
/* Animations */
|
8656 |
+
/* Dialog */
|
8657 |
+
.mdl-snackbar {
|
8658 |
+
position: fixed;
|
8659 |
+
bottom: 0;
|
8660 |
+
left: 50%;
|
8661 |
+
cursor: default;
|
8662 |
+
background-color: #323232;
|
8663 |
+
z-index: 3;
|
8664 |
+
display: block;
|
8665 |
+
display: -webkit-flex;
|
8666 |
+
display: -ms-flexbox;
|
8667 |
+
display: flex;
|
8668 |
+
-webkit-justify-content: space-between;
|
8669 |
+
-ms-flex-pack: justify;
|
8670 |
+
justify-content: space-between;
|
8671 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
8672 |
+
will-change: transform;
|
8673 |
+
-webkit-transform: translate(0, 80px);
|
8674 |
+
transform: translate(0, 80px);
|
8675 |
+
transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 1, 1);
|
8676 |
+
transition: transform 0.25s cubic-bezier(0.4, 0, 1, 1);
|
8677 |
+
transition: transform 0.25s cubic-bezier(0.4, 0, 1, 1), -webkit-transform 0.25s cubic-bezier(0.4, 0, 1, 1);
|
8678 |
+
pointer-events: none; }
|
8679 |
+
@media (max-width: 479px) {
|
8680 |
+
.mdl-snackbar {
|
8681 |
+
width: 100%;
|
8682 |
+
left: 0;
|
8683 |
+
min-height: 48px;
|
8684 |
+
max-height: 80px; } }
|
8685 |
+
@media (min-width: 480px) {
|
8686 |
+
.mdl-snackbar {
|
8687 |
+
min-width: 288px;
|
8688 |
+
max-width: 568px;
|
8689 |
+
border-radius: 2px;
|
8690 |
+
-webkit-transform: translate(-50%, 80px);
|
8691 |
+
transform: translate(-50%, 80px); } }
|
8692 |
+
.mdl-snackbar--active {
|
8693 |
+
-webkit-transform: translate(0, 0);
|
8694 |
+
transform: translate(0, 0);
|
8695 |
+
pointer-events: auto;
|
8696 |
+
transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.2, 1);
|
8697 |
+
transition: transform 0.25s cubic-bezier(0, 0, 0.2, 1);
|
8698 |
+
transition: transform 0.25s cubic-bezier(0, 0, 0.2, 1), -webkit-transform 0.25s cubic-bezier(0, 0, 0.2, 1); }
|
8699 |
+
@media (min-width: 480px) {
|
8700 |
+
.mdl-snackbar--active {
|
8701 |
+
-webkit-transform: translate(-50%, 0);
|
8702 |
+
transform: translate(-50%, 0); } }
|
8703 |
+
.mdl-snackbar__text {
|
8704 |
+
padding: 14px 12px 14px 24px;
|
8705 |
+
vertical-align: middle;
|
8706 |
+
color: white;
|
8707 |
+
float: left; }
|
8708 |
+
.mdl-snackbar__action {
|
8709 |
+
background: transparent;
|
8710 |
+
border: none;
|
8711 |
+
color: rgb(255,64,129);
|
8712 |
+
float: right;
|
8713 |
+
text-transform: uppercase;
|
8714 |
+
padding: 14px 24px 14px 12px;
|
8715 |
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
8716 |
+
font-size: 14px;
|
8717 |
+
font-weight: 500;
|
8718 |
+
text-transform: uppercase;
|
8719 |
+
line-height: 1;
|
8720 |
+
letter-spacing: 0;
|
8721 |
+
overflow: hidden;
|
8722 |
+
outline: none;
|
8723 |
+
opacity: 0;
|
8724 |
+
pointer-events: none;
|
8725 |
+
cursor: pointer;
|
8726 |
+
text-decoration: none;
|
8727 |
+
text-align: center;
|
8728 |
+
-webkit-align-self: center;
|
8729 |
+
-ms-flex-item-align: center;
|
8730 |
+
-ms-grid-row-align: center;
|
8731 |
+
align-self: center; }
|
8732 |
+
.mdl-snackbar__action::-moz-focus-inner {
|
8733 |
+
border: 0; }
|
8734 |
+
.mdl-snackbar__action:not([aria-hidden]) {
|
8735 |
+
opacity: 1;
|
8736 |
+
pointer-events: auto; }
|
8737 |
+
|
8738 |
+
/**
|
8739 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8740 |
+
*
|
8741 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8742 |
+
* you may not use this file except in compliance with the License.
|
8743 |
+
* You may obtain a copy of the License at
|
8744 |
+
*
|
8745 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8746 |
+
*
|
8747 |
+
* Unless required by applicable law or agreed to in writing, software
|
8748 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8749 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8750 |
+
* See the License for the specific language governing permissions and
|
8751 |
+
* limitations under the License.
|
8752 |
+
*/
|
8753 |
+
/**
|
8754 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8755 |
+
*
|
8756 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8757 |
+
* you may not use this file except in compliance with the License.
|
8758 |
+
* You may obtain a copy of the License at
|
8759 |
+
*
|
8760 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8761 |
+
*
|
8762 |
+
* Unless required by applicable law or agreed to in writing, software
|
8763 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8764 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8765 |
+
* See the License for the specific language governing permissions and
|
8766 |
+
* limitations under the License.
|
8767 |
+
*/
|
8768 |
+
/*------------------------------------* $CONTENTS
|
8769 |
+
\*------------------------------------*/
|
8770 |
+
/**
|
8771 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
8772 |
+
* -----Typography
|
8773 |
+
* -----Colors
|
8774 |
+
* -----Textfield
|
8775 |
+
* -----Switch
|
8776 |
+
* -----Spinner
|
8777 |
+
* -----Radio
|
8778 |
+
* -----Menu
|
8779 |
+
* -----List
|
8780 |
+
* -----Layout
|
8781 |
+
* -----Icon toggles
|
8782 |
+
* -----Footer
|
8783 |
+
* -----Column
|
8784 |
+
* -----Checkbox
|
8785 |
+
* -----Card
|
8786 |
+
* -----Button
|
8787 |
+
* -----Animation
|
8788 |
+
* -----Progress
|
8789 |
+
* -----Badge
|
8790 |
+
* -----Shadows
|
8791 |
+
* -----Grid
|
8792 |
+
* -----Data table
|
8793 |
+
* -----Dialog
|
8794 |
+
* -----Snackbar
|
8795 |
+
* -----Tooltip
|
8796 |
+
* -----Chip
|
8797 |
+
*
|
8798 |
+
* Even though all variables have the `!default` directive, most of them
|
8799 |
+
* should not be changed as they are dependent one another. This can cause
|
8800 |
+
* visual distortions (like alignment issues) that are hard to track down
|
8801 |
+
* and fix.
|
8802 |
+
*/
|
8803 |
+
/* ========== TYPOGRAPHY ========== */
|
8804 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
8805 |
+
page loading. For important text, such as the body, we want it to load
|
8806 |
+
immediately and not wait for the web font load, whereas for other sections,
|
8807 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
8808 |
+
We do have some optional classes and parameters in the mixins, in case you
|
8809 |
+
definitely want to make sure you're using the preferred font and don't mind
|
8810 |
+
the performance hit.
|
8811 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
8812 |
+
widely available.
|
8813 |
+
*/
|
8814 |
+
/* ========== COLORS ========== */
|
8815 |
+
/**
|
8816 |
+
*
|
8817 |
+
* Material design color palettes.
|
8818 |
+
* @see http://www.google.com/design/spec/style/color.html
|
8819 |
+
*
|
8820 |
+
**/
|
8821 |
+
/**
|
8822 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8823 |
+
*
|
8824 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8825 |
+
* you may not use this file except in compliance with the License.
|
8826 |
+
* You may obtain a copy of the License at
|
8827 |
+
*
|
8828 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8829 |
+
*
|
8830 |
+
* Unless required by applicable law or agreed to in writing, software
|
8831 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8832 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8833 |
+
* See the License for the specific language governing permissions and
|
8834 |
+
* limitations under the License.
|
8835 |
+
*/
|
8836 |
+
/* ========== Color Palettes ========== */
|
8837 |
+
/* colors.scss */
|
8838 |
+
/**
|
8839 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
8840 |
+
*
|
8841 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8842 |
+
* you may not use this file except in compliance with the License.
|
8843 |
+
* You may obtain a copy of the License at
|
8844 |
+
*
|
8845 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8846 |
+
*
|
8847 |
+
* Unless required by applicable law or agreed to in writing, software
|
8848 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
8849 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8850 |
+
* See the License for the specific language governing permissions and
|
8851 |
+
* limitations under the License.
|
8852 |
+
*/
|
8853 |
+
/* ========== IMAGES ========== */
|
8854 |
+
/* ========== Color & Themes ========== */
|
8855 |
+
/* ========== Typography ========== */
|
8856 |
+
/* ========== Components ========== */
|
8857 |
+
/* ========== Standard Buttons ========== */
|
8858 |
+
/* ========== Icon Toggles ========== */
|
8859 |
+
/* ========== Radio Buttons ========== */
|
8860 |
+
/* ========== Ripple effect ========== */
|
8861 |
+
/* ========== Layout ========== */
|
8862 |
+
/* ========== Content Tabs ========== */
|
8863 |
+
/* ========== Checkboxes ========== */
|
8864 |
+
/* ========== Switches ========== */
|
8865 |
+
/* ========== Spinner ========== */
|
8866 |
+
/* ========== Text fields ========== */
|
8867 |
+
/* ========== Card ========== */
|
8868 |
+
/* ========== Sliders ========== */
|
8869 |
+
/* ========== Progress ========== */
|
8870 |
+
/* ========== List ========== */
|
8871 |
+
/* ========== Item ========== */
|
8872 |
+
/* ========== Dropdown menu ========== */
|
8873 |
+
/* ========== Tooltips ========== */
|
8874 |
+
/* ========== Footer ========== */
|
8875 |
+
/* TEXTFIELD */
|
8876 |
+
/* SWITCH */
|
8877 |
+
/* SPINNER */
|
8878 |
+
/* RADIO */
|
8879 |
+
/* MENU */
|
8880 |
+
/* LIST */
|
8881 |
+
/* LAYOUT */
|
8882 |
+
/* ICON TOGGLE */
|
8883 |
+
/* FOOTER */
|
8884 |
+
/*mega-footer*/
|
8885 |
+
/*mini-footer*/
|
8886 |
+
/* CHECKBOX */
|
8887 |
+
/* CARD */
|
8888 |
+
/* Card dimensions */
|
8889 |
+
/* Cover image */
|
8890 |
+
/* BUTTON */
|
8891 |
+
/**
|
8892 |
+
*
|
8893 |
+
* Dimensions
|
8894 |
+
*
|
8895 |
+
*/
|
8896 |
+
/* ANIMATION */
|
8897 |
+
/* PROGRESS */
|
8898 |
+
/* BADGE */
|
8899 |
+
/* SHADOWS */
|
8900 |
+
/* GRID */
|
8901 |
+
/* DATA TABLE */
|
8902 |
+
/* DIALOG */
|
8903 |
+
/* SNACKBAR */
|
8904 |
+
/* TOOLTIP */
|
8905 |
+
/* CHIP */
|
8906 |
+
.mdl-spinner {
|
8907 |
+
display: inline-block;
|
8908 |
+
position: relative;
|
8909 |
+
width: 28px;
|
8910 |
+
height: 28px; }
|
8911 |
+
.mdl-spinner:not(.is-upgraded).is-active:after {
|
8912 |
+
content: "Loading..."; }
|
8913 |
+
.mdl-spinner.is-upgraded.is-active {
|
8914 |
+
-webkit-animation: mdl-spinner__container-rotate 1568.23529412ms linear infinite;
|
8915 |
+
animation: mdl-spinner__container-rotate 1568.23529412ms linear infinite; }
|
8916 |
+
|
8917 |
+
@-webkit-keyframes mdl-spinner__container-rotate {
|
8918 |
+
to {
|
8919 |
+
-webkit-transform: rotate(360deg);
|
8920 |
+
transform: rotate(360deg); } }
|
8921 |
+
|
8922 |
+
@keyframes mdl-spinner__container-rotate {
|
8923 |
+
to {
|
8924 |
+
-webkit-transform: rotate(360deg);
|
8925 |
+
transform: rotate(360deg); } }
|
8926 |
+
|
8927 |
+
.mdl-spinner__layer {
|
8928 |
+
position: absolute;
|
8929 |
+
width: 100%;
|
8930 |
+
height: 100%;
|
8931 |
+
opacity: 0; }
|
8932 |
+
|
8933 |
+
.mdl-spinner__layer-1 {
|
8934 |
+
border-color: rgb(66,165,245); }
|
8935 |
+
.mdl-spinner--single-color .mdl-spinner__layer-1 {
|
8936 |
+
border-color: rgb(63,81,181); }
|
8937 |
+
.mdl-spinner.is-active .mdl-spinner__layer-1 {
|
8938 |
+
-webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
8939 |
+
animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
|
8940 |
+
|
8941 |
+
.mdl-spinner__layer-2 {
|
8942 |
+
border-color: rgb(244,67,54); }
|
8943 |
+
.mdl-spinner--single-color .mdl-spinner__layer-2 {
|
8944 |
+
border-color: rgb(63,81,181); }
|
8945 |
+
.mdl-spinner.is-active .mdl-spinner__layer-2 {
|
8946 |
+
-webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
8947 |
+
animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
|
8948 |
+
|
8949 |
+
.mdl-spinner__layer-3 {
|
8950 |
+
border-color: rgb(253,216,53); }
|
8951 |
+
.mdl-spinner--single-color .mdl-spinner__layer-3 {
|
8952 |
+
border-color: rgb(63,81,181); }
|
8953 |
+
.mdl-spinner.is-active .mdl-spinner__layer-3 {
|
8954 |
+
-webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
8955 |
+
animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
|
8956 |
+
|
8957 |
+
.mdl-spinner__layer-4 {
|
8958 |
+
border-color: rgb(76,175,80); }
|
8959 |
+
.mdl-spinner--single-color .mdl-spinner__layer-4 {
|
8960 |
+
border-color: rgb(63,81,181); }
|
8961 |
+
.mdl-spinner.is-active .mdl-spinner__layer-4 {
|
8962 |
+
-webkit-animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
8963 |
+
animation: mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, mdl-spinner__layer-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
|
8964 |
+
|
8965 |
+
@-webkit-keyframes mdl-spinner__fill-unfill-rotate {
|
8966 |
+
12.5% {
|
8967 |
+
-webkit-transform: rotate(135deg);
|
8968 |
+
transform: rotate(135deg); }
|
8969 |
+
25% {
|
8970 |
+
-webkit-transform: rotate(270deg);
|
8971 |
+
transform: rotate(270deg); }
|
8972 |
+
37.5% {
|
8973 |
+
-webkit-transform: rotate(405deg);
|
8974 |
+
transform: rotate(405deg); }
|
8975 |
+
50% {
|
8976 |
+
-webkit-transform: rotate(540deg);
|
8977 |
+
transform: rotate(540deg); }
|
8978 |
+
62.5% {
|
8979 |
+
-webkit-transform: rotate(675deg);
|
8980 |
+
transform: rotate(675deg); }
|
8981 |
+
75% {
|
8982 |
+
-webkit-transform: rotate(810deg);
|
8983 |
+
transform: rotate(810deg); }
|
8984 |
+
87.5% {
|
8985 |
+
-webkit-transform: rotate(945deg);
|
8986 |
+
transform: rotate(945deg); }
|
8987 |
+
to {
|
8988 |
+
-webkit-transform: rotate(1080deg);
|
8989 |
+
transform: rotate(1080deg); } }
|
8990 |
+
|
8991 |
+
@keyframes mdl-spinner__fill-unfill-rotate {
|
8992 |
+
12.5% {
|
8993 |
+
-webkit-transform: rotate(135deg);
|
8994 |
+
transform: rotate(135deg); }
|
8995 |
+
25% {
|
8996 |
+
-webkit-transform: rotate(270deg);
|
8997 |
+
transform: rotate(270deg); }
|
8998 |
+
37.5% {
|
8999 |
+
-webkit-transform: rotate(405deg);
|
9000 |
+
transform: rotate(405deg); }
|
9001 |
+
50% {
|
9002 |
+
-webkit-transform: rotate(540deg);
|
9003 |
+
transform: rotate(540deg); }
|
9004 |
+
62.5% {
|
9005 |
+
-webkit-transform: rotate(675deg);
|
9006 |
+
transform: rotate(675deg); }
|
9007 |
+
75% {
|
9008 |
+
-webkit-transform: rotate(810deg);
|
9009 |
+
transform: rotate(810deg); }
|
9010 |
+
87.5% {
|
9011 |
+
-webkit-transform: rotate(945deg);
|
9012 |
+
transform: rotate(945deg); }
|
9013 |
+
to {
|
9014 |
+
-webkit-transform: rotate(1080deg);
|
9015 |
+
transform: rotate(1080deg); } }
|
9016 |
+
|
9017 |
+
/**
|
9018 |
+
* HACK: Even though the intention is to have the current .mdl-spinner__layer-N
|
9019 |
+
* at `opacity: 1`, we set it to `opacity: 0.99` instead since this forces Chrome
|
9020 |
+
* to do proper subpixel rendering for the elements being animated. This is
|
9021 |
+
* especially visible in Chrome 39 on Ubuntu 14.04. See:
|
9022 |
+
*
|
9023 |
+
* - https://github.com/Polymer/paper-spinner/issues/9
|
9024 |
+
* - https://code.google.com/p/chromium/issues/detail?id=436255
|
9025 |
+
*/
|
9026 |
+
@-webkit-keyframes mdl-spinner__layer-1-fade-in-out {
|
9027 |
+
from {
|
9028 |
+
opacity: 0.99; }
|
9029 |
+
25% {
|
9030 |
+
opacity: 0.99; }
|
9031 |
+
26% {
|
9032 |
+
opacity: 0; }
|
9033 |
+
89% {
|
9034 |
+
opacity: 0; }
|
9035 |
+
90% {
|
9036 |
+
opacity: 0.99; }
|
9037 |
+
100% {
|
9038 |
+
opacity: 0.99; } }
|
9039 |
+
@keyframes mdl-spinner__layer-1-fade-in-out {
|
9040 |
+
from {
|
9041 |
+
opacity: 0.99; }
|
9042 |
+
25% {
|
9043 |
+
opacity: 0.99; }
|
9044 |
+
26% {
|
9045 |
+
opacity: 0; }
|
9046 |
+
89% {
|
9047 |
+
opacity: 0; }
|
9048 |
+
90% {
|
9049 |
+
opacity: 0.99; }
|
9050 |
+
100% {
|
9051 |
+
opacity: 0.99; } }
|
9052 |
+
|
9053 |
+
@-webkit-keyframes mdl-spinner__layer-2-fade-in-out {
|
9054 |
+
from {
|
9055 |
+
opacity: 0; }
|
9056 |
+
15% {
|
9057 |
+
opacity: 0; }
|
9058 |
+
25% {
|
9059 |
+
opacity: 0.99; }
|
9060 |
+
50% {
|
9061 |
+
opacity: 0.99; }
|
9062 |
+
51% {
|
9063 |
+
opacity: 0; } }
|
9064 |
+
|
9065 |
+
@keyframes mdl-spinner__layer-2-fade-in-out {
|
9066 |
+
from {
|
9067 |
+
opacity: 0; }
|
9068 |
+
15% {
|
9069 |
+
opacity: 0; }
|
9070 |
+
25% {
|
9071 |
+
opacity: 0.99; }
|
9072 |
+
50% {
|
9073 |
+
opacity: 0.99; }
|
9074 |
+
51% {
|
9075 |
+
opacity: 0; } }
|
9076 |
+
|
9077 |
+
@-webkit-keyframes mdl-spinner__layer-3-fade-in-out {
|
9078 |
+
from {
|
9079 |
+
opacity: 0; }
|
9080 |
+
40% {
|
9081 |
+
opacity: 0; }
|
9082 |
+
50% {
|
9083 |
+
opacity: 0.99; }
|
9084 |
+
75% {
|
9085 |
+
opacity: 0.99; }
|
9086 |
+
76% {
|
9087 |
+
opacity: 0; } }
|
9088 |
+
|
9089 |
+
@keyframes mdl-spinner__layer-3-fade-in-out {
|
9090 |
+
from {
|
9091 |
+
opacity: 0; }
|
9092 |
+
40% {
|
9093 |
+
opacity: 0; }
|
9094 |
+
50% {
|
9095 |
+
opacity: 0.99; }
|
9096 |
+
75% {
|
9097 |
+
opacity: 0.99; }
|
9098 |
+
76% {
|
9099 |
+
opacity: 0; } }
|
9100 |
+
|
9101 |
+
@-webkit-keyframes mdl-spinner__layer-4-fade-in-out {
|
9102 |
+
from {
|
9103 |
+
opacity: 0; }
|
9104 |
+
65% {
|
9105 |
+
opacity: 0; }
|
9106 |
+
75% {
|
9107 |
+
opacity: 0.99; }
|
9108 |
+
90% {
|
9109 |
+
opacity: 0.99; }
|
9110 |
+
100% {
|
9111 |
+
opacity: 0; } }
|
9112 |
+
|
9113 |
+
@keyframes mdl-spinner__layer-4-fade-in-out {
|
9114 |
+
from {
|
9115 |
+
opacity: 0; }
|
9116 |
+
65% {
|
9117 |
+
opacity: 0; }
|
9118 |
+
75% {
|
9119 |
+
opacity: 0.99; }
|
9120 |
+
90% {
|
9121 |
+
opacity: 0.99; }
|
9122 |
+
100% {
|
9123 |
+
opacity: 0; } }
|
9124 |
+
|
9125 |
+
/**
|
9126 |
+
* Patch the gap that appear between the two adjacent
|
9127 |
+
* div.mdl-spinner__circle-clipper while the spinner is rotating
|
9128 |
+
* (appears on Chrome 38, Safari 7.1, and IE 11).
|
9129 |
+
*
|
9130 |
+
* Update: the gap no longer appears on Chrome when .mdl-spinner__layer-N's
|
9131 |
+
* opacity is 0.99, but still does on Safari and IE.
|
9132 |
+
*/
|
9133 |
+
.mdl-spinner__gap-patch {
|
9134 |
+
position: absolute;
|
9135 |
+
box-sizing: border-box;
|
9136 |
+
top: 0;
|
9137 |
+
left: 45%;
|
9138 |
+
width: 10%;
|
9139 |
+
height: 100%;
|
9140 |
+
overflow: hidden;
|
9141 |
+
border-color: inherit; }
|
9142 |
+
.mdl-spinner__gap-patch .mdl-spinner__circle {
|
9143 |
+
width: 1000%;
|
9144 |
+
left: -450%; }
|
9145 |
+
|
9146 |
+
.mdl-spinner__circle-clipper {
|
9147 |
+
display: inline-block;
|
9148 |
+
position: relative;
|
9149 |
+
width: 50%;
|
9150 |
+
height: 100%;
|
9151 |
+
overflow: hidden;
|
9152 |
+
border-color: inherit; }
|
9153 |
+
.mdl-spinner__circle-clipper.mdl-spinner__left {
|
9154 |
+
float: left; }
|
9155 |
+
.mdl-spinner__circle-clipper.mdl-spinner__right {
|
9156 |
+
float: right; }
|
9157 |
+
.mdl-spinner__circle-clipper .mdl-spinner__circle {
|
9158 |
+
width: 200%; }
|
9159 |
+
|
9160 |
+
.mdl-spinner__circle {
|
9161 |
+
box-sizing: border-box;
|
9162 |
+
height: 100%;
|
9163 |
+
border-width: 3px;
|
9164 |
+
border-style: solid;
|
9165 |
+
border-color: inherit;
|
9166 |
+
border-bottom-color: transparent !important;
|
9167 |
+
border-radius: 50%;
|
9168 |
+
-webkit-animation: none;
|
9169 |
+
animation: none;
|
9170 |
+
position: absolute;
|
9171 |
+
top: 0;
|
9172 |
+
right: 0;
|
9173 |
+
bottom: 0;
|
9174 |
+
left: 0; }
|
9175 |
+
.mdl-spinner__left .mdl-spinner__circle {
|
9176 |
+
border-right-color: transparent !important;
|
9177 |
+
-webkit-transform: rotate(129deg);
|
9178 |
+
transform: rotate(129deg); }
|
9179 |
+
.mdl-spinner.is-active .mdl-spinner__left .mdl-spinner__circle {
|
9180 |
+
-webkit-animation: mdl-spinner__left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
9181 |
+
animation: mdl-spinner__left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
|
9182 |
+
.mdl-spinner__right .mdl-spinner__circle {
|
9183 |
+
left: -100%;
|
9184 |
+
border-left-color: transparent !important;
|
9185 |
+
-webkit-transform: rotate(-129deg);
|
9186 |
+
transform: rotate(-129deg); }
|
9187 |
+
.mdl-spinner.is-active .mdl-spinner__right .mdl-spinner__circle {
|
9188 |
+
-webkit-animation: mdl-spinner__right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
9189 |
+
animation: mdl-spinner__right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
|
9190 |
+
|
9191 |
+
@-webkit-keyframes mdl-spinner__left-spin {
|
9192 |
+
from {
|
9193 |
+
-webkit-transform: rotate(130deg);
|
9194 |
+
transform: rotate(130deg); }
|
9195 |
+
50% {
|
9196 |
+
-webkit-transform: rotate(-5deg);
|
9197 |
+
transform: rotate(-5deg); }
|
9198 |
+
to {
|
9199 |
+
-webkit-transform: rotate(130deg);
|
9200 |
+
transform: rotate(130deg); } }
|
9201 |
+
|
9202 |
+
@keyframes mdl-spinner__left-spin {
|
9203 |
+
from {
|
9204 |
+
-webkit-transform: rotate(130deg);
|
9205 |
+
transform: rotate(130deg); }
|
9206 |
+
50% {
|
9207 |
+
-webkit-transform: rotate(-5deg);
|
9208 |
+
transform: rotate(-5deg); }
|
9209 |
+
to {
|
9210 |
+
-webkit-transform: rotate(130deg);
|
9211 |
+
transform: rotate(130deg); } }
|
9212 |
+
|
9213 |
+
@-webkit-keyframes mdl-spinner__right-spin {
|
9214 |
+
from {
|
9215 |
+
-webkit-transform: rotate(-130deg);
|
9216 |
+
transform: rotate(-130deg); }
|
9217 |
+
50% {
|
9218 |
+
-webkit-transform: rotate(5deg);
|
9219 |
+
transform: rotate(5deg); }
|
9220 |
+
to {
|
9221 |
+
-webkit-transform: rotate(-130deg);
|
9222 |
+
transform: rotate(-130deg); } }
|
9223 |
+
|
9224 |
+
@keyframes mdl-spinner__right-spin {
|
9225 |
+
from {
|
9226 |
+
-webkit-transform: rotate(-130deg);
|
9227 |
+
transform: rotate(-130deg); }
|
9228 |
+
50% {
|
9229 |
+
-webkit-transform: rotate(5deg);
|
9230 |
+
transform: rotate(5deg); }
|
9231 |
+
to {
|
9232 |
+
-webkit-transform: rotate(-130deg);
|
9233 |
+
transform: rotate(-130deg); } }
|
9234 |
+
|
9235 |
+
/**
|
9236 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9237 |
+
*
|
9238 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9239 |
+
* you may not use this file except in compliance with the License.
|
9240 |
+
* You may obtain a copy of the License at
|
9241 |
+
*
|
9242 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9243 |
+
*
|
9244 |
+
* Unless required by applicable law or agreed to in writing, software
|
9245 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9246 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9247 |
+
* See the License for the specific language governing permissions and
|
9248 |
+
* limitations under the License.
|
9249 |
+
*/
|
9250 |
+
/**
|
9251 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9252 |
+
*
|
9253 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9254 |
+
* you may not use this file except in compliance with the License.
|
9255 |
+
* You may obtain a copy of the License at
|
9256 |
+
*
|
9257 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9258 |
+
*
|
9259 |
+
* Unless required by applicable law or agreed to in writing, software
|
9260 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9261 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9262 |
+
* See the License for the specific language governing permissions and
|
9263 |
+
* limitations under the License.
|
9264 |
+
*/
|
9265 |
+
/*------------------------------------* $CONTENTS
|
9266 |
+
\*------------------------------------*/
|
9267 |
+
/**
|
9268 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
9269 |
+
* -----Typography
|
9270 |
+
* -----Colors
|
9271 |
+
* -----Textfield
|
9272 |
+
* -----Switch
|
9273 |
+
* -----Spinner
|
9274 |
+
* -----Radio
|
9275 |
+
* -----Menu
|
9276 |
+
* -----List
|
9277 |
+
* -----Layout
|
9278 |
+
* -----Icon toggles
|
9279 |
+
* -----Footer
|
9280 |
+
* -----Column
|
9281 |
+
* -----Checkbox
|
9282 |
+
* -----Card
|
9283 |
+
* -----Button
|
9284 |
+
* -----Animation
|
9285 |
+
* -----Progress
|
9286 |
+
* -----Badge
|
9287 |
+
* -----Shadows
|
9288 |
+
* -----Grid
|
9289 |
+
* -----Data table
|
9290 |
+
* -----Dialog
|
9291 |
+
* -----Snackbar
|
9292 |
+
* -----Tooltip
|
9293 |
+
* -----Chip
|
9294 |
+
*
|
9295 |
+
* Even though all variables have the `!default` directive, most of them
|
9296 |
+
* should not be changed as they are dependent one another. This can cause
|
9297 |
+
* visual distortions (like alignment issues) that are hard to track down
|
9298 |
+
* and fix.
|
9299 |
+
*/
|
9300 |
+
/* ========== TYPOGRAPHY ========== */
|
9301 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
9302 |
+
page loading. For important text, such as the body, we want it to load
|
9303 |
+
immediately and not wait for the web font load, whereas for other sections,
|
9304 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
9305 |
+
We do have some optional classes and parameters in the mixins, in case you
|
9306 |
+
definitely want to make sure you're using the preferred font and don't mind
|
9307 |
+
the performance hit.
|
9308 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
9309 |
+
widely available.
|
9310 |
+
*/
|
9311 |
+
/* ========== COLORS ========== */
|
9312 |
+
/**
|
9313 |
+
*
|
9314 |
+
* Material design color palettes.
|
9315 |
+
* @see http://www.google.com/design/spec/style/color.html
|
9316 |
+
*
|
9317 |
+
**/
|
9318 |
+
/**
|
9319 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9320 |
+
*
|
9321 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9322 |
+
* you may not use this file except in compliance with the License.
|
9323 |
+
* You may obtain a copy of the License at
|
9324 |
+
*
|
9325 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9326 |
+
*
|
9327 |
+
* Unless required by applicable law or agreed to in writing, software
|
9328 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9329 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9330 |
+
* See the License for the specific language governing permissions and
|
9331 |
+
* limitations under the License.
|
9332 |
+
*/
|
9333 |
+
/* ========== Color Palettes ========== */
|
9334 |
+
/* colors.scss */
|
9335 |
+
/**
|
9336 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9337 |
+
*
|
9338 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9339 |
+
* you may not use this file except in compliance with the License.
|
9340 |
+
* You may obtain a copy of the License at
|
9341 |
+
*
|
9342 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9343 |
+
*
|
9344 |
+
* Unless required by applicable law or agreed to in writing, software
|
9345 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9346 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9347 |
+
* See the License for the specific language governing permissions and
|
9348 |
+
* limitations under the License.
|
9349 |
+
*/
|
9350 |
+
/* ========== IMAGES ========== */
|
9351 |
+
/* ========== Color & Themes ========== */
|
9352 |
+
/* ========== Typography ========== */
|
9353 |
+
/* ========== Components ========== */
|
9354 |
+
/* ========== Standard Buttons ========== */
|
9355 |
+
/* ========== Icon Toggles ========== */
|
9356 |
+
/* ========== Radio Buttons ========== */
|
9357 |
+
/* ========== Ripple effect ========== */
|
9358 |
+
/* ========== Layout ========== */
|
9359 |
+
/* ========== Content Tabs ========== */
|
9360 |
+
/* ========== Checkboxes ========== */
|
9361 |
+
/* ========== Switches ========== */
|
9362 |
+
/* ========== Spinner ========== */
|
9363 |
+
/* ========== Text fields ========== */
|
9364 |
+
/* ========== Card ========== */
|
9365 |
+
/* ========== Sliders ========== */
|
9366 |
+
/* ========== Progress ========== */
|
9367 |
+
/* ========== List ========== */
|
9368 |
+
/* ========== Item ========== */
|
9369 |
+
/* ========== Dropdown menu ========== */
|
9370 |
+
/* ========== Tooltips ========== */
|
9371 |
+
/* ========== Footer ========== */
|
9372 |
+
/* TEXTFIELD */
|
9373 |
+
/* SWITCH */
|
9374 |
+
/* SPINNER */
|
9375 |
+
/* RADIO */
|
9376 |
+
/* MENU */
|
9377 |
+
/* LIST */
|
9378 |
+
/* LAYOUT */
|
9379 |
+
/* ICON TOGGLE */
|
9380 |
+
/* FOOTER */
|
9381 |
+
/*mega-footer*/
|
9382 |
+
/*mini-footer*/
|
9383 |
+
/* CHECKBOX */
|
9384 |
+
/* CARD */
|
9385 |
+
/* Card dimensions */
|
9386 |
+
/* Cover image */
|
9387 |
+
/* BUTTON */
|
9388 |
+
/**
|
9389 |
+
*
|
9390 |
+
* Dimensions
|
9391 |
+
*
|
9392 |
+
*/
|
9393 |
+
/* ANIMATION */
|
9394 |
+
/* PROGRESS */
|
9395 |
+
/* BADGE */
|
9396 |
+
/* SHADOWS */
|
9397 |
+
/* GRID */
|
9398 |
+
/* DATA TABLE */
|
9399 |
+
/* DIALOG */
|
9400 |
+
/* SNACKBAR */
|
9401 |
+
/* TOOLTIP */
|
9402 |
+
/* CHIP */
|
9403 |
+
/**
|
9404 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9405 |
+
*
|
9406 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9407 |
+
* you may not use this file except in compliance with the License.
|
9408 |
+
* You may obtain a copy of the License at
|
9409 |
+
*
|
9410 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9411 |
+
*
|
9412 |
+
* Unless required by applicable law or agreed to in writing, software
|
9413 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9414 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9415 |
+
* See the License for the specific language governing permissions and
|
9416 |
+
* limitations under the License.
|
9417 |
+
*/
|
9418 |
+
/* Typography */
|
9419 |
+
/* Shadows */
|
9420 |
+
/* Animations */
|
9421 |
+
/* Dialog */
|
9422 |
+
.mdl-switch {
|
9423 |
+
position: relative;
|
9424 |
+
z-index: 1;
|
9425 |
+
vertical-align: middle;
|
9426 |
+
display: inline-block;
|
9427 |
+
box-sizing: border-box;
|
9428 |
+
width: 100%;
|
9429 |
+
height: 24px;
|
9430 |
+
margin: 0;
|
9431 |
+
padding: 0;
|
9432 |
+
overflow: visible;
|
9433 |
+
-webkit-touch-callout: none;
|
9434 |
+
-webkit-user-select: none;
|
9435 |
+
-moz-user-select: none;
|
9436 |
+
-ms-user-select: none;
|
9437 |
+
user-select: none; }
|
9438 |
+
.mdl-switch.is-upgraded {
|
9439 |
+
padding-left: 28px; }
|
9440 |
+
|
9441 |
+
.mdl-switch__input {
|
9442 |
+
line-height: 24px; }
|
9443 |
+
.mdl-switch.is-upgraded .mdl-switch__input {
|
9444 |
+
position: absolute;
|
9445 |
+
width: 0;
|
9446 |
+
height: 0;
|
9447 |
+
margin: 0;
|
9448 |
+
padding: 0;
|
9449 |
+
opacity: 0;
|
9450 |
+
-ms-appearance: none;
|
9451 |
+
-moz-appearance: none;
|
9452 |
+
-webkit-appearance: none;
|
9453 |
+
appearance: none;
|
9454 |
+
border: none; }
|
9455 |
+
|
9456 |
+
.mdl-switch__track {
|
9457 |
+
background: rgba(0,0,0, 0.26);
|
9458 |
+
position: absolute;
|
9459 |
+
left: 0;
|
9460 |
+
top: 5px;
|
9461 |
+
height: 14px;
|
9462 |
+
width: 36px;
|
9463 |
+
border-radius: 14px;
|
9464 |
+
cursor: pointer; }
|
9465 |
+
.mdl-switch.is-checked .mdl-switch__track {
|
9466 |
+
background: rgba(63,81,181, 0.5); }
|
9467 |
+
.mdl-switch__track fieldset[disabled] .mdl-switch,
|
9468 |
+
.mdl-switch.is-disabled .mdl-switch__track {
|
9469 |
+
background: rgba(0,0,0, 0.12);
|
9470 |
+
cursor: auto; }
|
9471 |
+
|
9472 |
+
.mdl-switch__thumb {
|
9473 |
+
background: rgb(250,250,250);
|
9474 |
+
position: absolute;
|
9475 |
+
left: 0;
|
9476 |
+
top: 2px;
|
9477 |
+
height: 20px;
|
9478 |
+
width: 20px;
|
9479 |
+
border-radius: 50%;
|
9480 |
+
cursor: pointer;
|
9481 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
9482 |
+
transition-duration: 0.28s;
|
9483 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
9484 |
+
transition-property: left; }
|
9485 |
+
.mdl-switch.is-checked .mdl-switch__thumb {
|
9486 |
+
background: rgb(63,81,181);
|
9487 |
+
left: 16px;
|
9488 |
+
box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 1px 8px 0 rgba(0, 0, 0, 0.12); }
|
9489 |
+
.mdl-switch__thumb fieldset[disabled] .mdl-switch,
|
9490 |
+
.mdl-switch.is-disabled .mdl-switch__thumb {
|
9491 |
+
background: rgb(189,189,189);
|
9492 |
+
cursor: auto; }
|
9493 |
+
|
9494 |
+
.mdl-switch__focus-helper {
|
9495 |
+
position: absolute;
|
9496 |
+
top: 50%;
|
9497 |
+
left: 50%;
|
9498 |
+
-webkit-transform: translate(-4px, -4px);
|
9499 |
+
transform: translate(-4px, -4px);
|
9500 |
+
display: inline-block;
|
9501 |
+
box-sizing: border-box;
|
9502 |
+
width: 8px;
|
9503 |
+
height: 8px;
|
9504 |
+
border-radius: 50%;
|
9505 |
+
background-color: transparent; }
|
9506 |
+
.mdl-switch.is-focused .mdl-switch__focus-helper {
|
9507 |
+
box-shadow: 0 0 0px 20px rgba(0, 0, 0, 0.1);
|
9508 |
+
background-color: rgba(0, 0, 0, 0.1); }
|
9509 |
+
.mdl-switch.is-focused.is-checked .mdl-switch__focus-helper {
|
9510 |
+
box-shadow: 0 0 0px 20px rgba(63,81,181, 0.26);
|
9511 |
+
background-color: rgba(63,81,181, 0.26); }
|
9512 |
+
|
9513 |
+
.mdl-switch__label {
|
9514 |
+
position: relative;
|
9515 |
+
cursor: pointer;
|
9516 |
+
font-size: 16px;
|
9517 |
+
line-height: 24px;
|
9518 |
+
margin: 0;
|
9519 |
+
left: 24px; }
|
9520 |
+
.mdl-switch__label fieldset[disabled] .mdl-switch,
|
9521 |
+
.mdl-switch.is-disabled .mdl-switch__label {
|
9522 |
+
color: rgb(189,189,189);
|
9523 |
+
cursor: auto; }
|
9524 |
+
|
9525 |
+
.mdl-switch__ripple-container {
|
9526 |
+
position: absolute;
|
9527 |
+
z-index: 2;
|
9528 |
+
top: -12px;
|
9529 |
+
left: -14px;
|
9530 |
+
box-sizing: border-box;
|
9531 |
+
width: 48px;
|
9532 |
+
height: 48px;
|
9533 |
+
border-radius: 50%;
|
9534 |
+
cursor: pointer;
|
9535 |
+
overflow: hidden;
|
9536 |
+
-webkit-mask-image: -webkit-radial-gradient(circle, white, black);
|
9537 |
+
transition-duration: 0.40s;
|
9538 |
+
transition-timing-function: step-end;
|
9539 |
+
transition-property: left; }
|
9540 |
+
.mdl-switch__ripple-container .mdl-ripple {
|
9541 |
+
background: rgb(63,81,181); }
|
9542 |
+
.mdl-switch__ripple-container fieldset[disabled] .mdl-switch,
|
9543 |
+
.mdl-switch.is-disabled .mdl-switch__ripple-container {
|
9544 |
+
cursor: auto; }
|
9545 |
+
fieldset[disabled] .mdl-switch .mdl-switch__ripple-container .mdl-ripple,
|
9546 |
+
.mdl-switch.is-disabled .mdl-switch__ripple-container .mdl-ripple {
|
9547 |
+
background: transparent; }
|
9548 |
+
.mdl-switch.is-checked .mdl-switch__ripple-container {
|
9549 |
+
left: 2px; }
|
9550 |
+
|
9551 |
+
/**
|
9552 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9553 |
+
*
|
9554 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9555 |
+
* you may not use this file except in compliance with the License.
|
9556 |
+
* You may obtain a copy of the License at
|
9557 |
+
*
|
9558 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9559 |
+
*
|
9560 |
+
* Unless required by applicable law or agreed to in writing, software
|
9561 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9562 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9563 |
+
* See the License for the specific language governing permissions and
|
9564 |
+
* limitations under the License.
|
9565 |
+
*/
|
9566 |
+
/**
|
9567 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9568 |
+
*
|
9569 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9570 |
+
* you may not use this file except in compliance with the License.
|
9571 |
+
* You may obtain a copy of the License at
|
9572 |
+
*
|
9573 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9574 |
+
*
|
9575 |
+
* Unless required by applicable law or agreed to in writing, software
|
9576 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9577 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9578 |
+
* See the License for the specific language governing permissions and
|
9579 |
+
* limitations under the License.
|
9580 |
+
*/
|
9581 |
+
/*------------------------------------* $CONTENTS
|
9582 |
+
\*------------------------------------*/
|
9583 |
+
/**
|
9584 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
9585 |
+
* -----Typography
|
9586 |
+
* -----Colors
|
9587 |
+
* -----Textfield
|
9588 |
+
* -----Switch
|
9589 |
+
* -----Spinner
|
9590 |
+
* -----Radio
|
9591 |
+
* -----Menu
|
9592 |
+
* -----List
|
9593 |
+
* -----Layout
|
9594 |
+
* -----Icon toggles
|
9595 |
+
* -----Footer
|
9596 |
+
* -----Column
|
9597 |
+
* -----Checkbox
|
9598 |
+
* -----Card
|
9599 |
+
* -----Button
|
9600 |
+
* -----Animation
|
9601 |
+
* -----Progress
|
9602 |
+
* -----Badge
|
9603 |
+
* -----Shadows
|
9604 |
+
* -----Grid
|
9605 |
+
* -----Data table
|
9606 |
+
* -----Dialog
|
9607 |
+
* -----Snackbar
|
9608 |
+
* -----Tooltip
|
9609 |
+
* -----Chip
|
9610 |
+
*
|
9611 |
+
* Even though all variables have the `!default` directive, most of them
|
9612 |
+
* should not be changed as they are dependent one another. This can cause
|
9613 |
+
* visual distortions (like alignment issues) that are hard to track down
|
9614 |
+
* and fix.
|
9615 |
+
*/
|
9616 |
+
/* ========== TYPOGRAPHY ========== */
|
9617 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
9618 |
+
page loading. For important text, such as the body, we want it to load
|
9619 |
+
immediately and not wait for the web font load, whereas for other sections,
|
9620 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
9621 |
+
We do have some optional classes and parameters in the mixins, in case you
|
9622 |
+
definitely want to make sure you're using the preferred font and don't mind
|
9623 |
+
the performance hit.
|
9624 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
9625 |
+
widely available.
|
9626 |
+
*/
|
9627 |
+
/* ========== COLORS ========== */
|
9628 |
+
/**
|
9629 |
+
*
|
9630 |
+
* Material design color palettes.
|
9631 |
+
* @see http://www.google.com/design/spec/style/color.html
|
9632 |
+
*
|
9633 |
+
**/
|
9634 |
+
/**
|
9635 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9636 |
+
*
|
9637 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9638 |
+
* you may not use this file except in compliance with the License.
|
9639 |
+
* You may obtain a copy of the License at
|
9640 |
+
*
|
9641 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9642 |
+
*
|
9643 |
+
* Unless required by applicable law or agreed to in writing, software
|
9644 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9645 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9646 |
+
* See the License for the specific language governing permissions and
|
9647 |
+
* limitations under the License.
|
9648 |
+
*/
|
9649 |
+
/* ========== Color Palettes ========== */
|
9650 |
+
/* colors.scss */
|
9651 |
+
/**
|
9652 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9653 |
+
*
|
9654 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9655 |
+
* you may not use this file except in compliance with the License.
|
9656 |
+
* You may obtain a copy of the License at
|
9657 |
+
*
|
9658 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9659 |
+
*
|
9660 |
+
* Unless required by applicable law or agreed to in writing, software
|
9661 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9662 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9663 |
+
* See the License for the specific language governing permissions and
|
9664 |
+
* limitations under the License.
|
9665 |
+
*/
|
9666 |
+
/* ========== IMAGES ========== */
|
9667 |
+
/* ========== Color & Themes ========== */
|
9668 |
+
/* ========== Typography ========== */
|
9669 |
+
/* ========== Components ========== */
|
9670 |
+
/* ========== Standard Buttons ========== */
|
9671 |
+
/* ========== Icon Toggles ========== */
|
9672 |
+
/* ========== Radio Buttons ========== */
|
9673 |
+
/* ========== Ripple effect ========== */
|
9674 |
+
/* ========== Layout ========== */
|
9675 |
+
/* ========== Content Tabs ========== */
|
9676 |
+
/* ========== Checkboxes ========== */
|
9677 |
+
/* ========== Switches ========== */
|
9678 |
+
/* ========== Spinner ========== */
|
9679 |
+
/* ========== Text fields ========== */
|
9680 |
+
/* ========== Card ========== */
|
9681 |
+
/* ========== Sliders ========== */
|
9682 |
+
/* ========== Progress ========== */
|
9683 |
+
/* ========== List ========== */
|
9684 |
+
/* ========== Item ========== */
|
9685 |
+
/* ========== Dropdown menu ========== */
|
9686 |
+
/* ========== Tooltips ========== */
|
9687 |
+
/* ========== Footer ========== */
|
9688 |
+
/* TEXTFIELD */
|
9689 |
+
/* SWITCH */
|
9690 |
+
/* SPINNER */
|
9691 |
+
/* RADIO */
|
9692 |
+
/* MENU */
|
9693 |
+
/* LIST */
|
9694 |
+
/* LAYOUT */
|
9695 |
+
/* ICON TOGGLE */
|
9696 |
+
/* FOOTER */
|
9697 |
+
/*mega-footer*/
|
9698 |
+
/*mini-footer*/
|
9699 |
+
/* CHECKBOX */
|
9700 |
+
/* CARD */
|
9701 |
+
/* Card dimensions */
|
9702 |
+
/* Cover image */
|
9703 |
+
/* BUTTON */
|
9704 |
+
/**
|
9705 |
+
*
|
9706 |
+
* Dimensions
|
9707 |
+
*
|
9708 |
+
*/
|
9709 |
+
/* ANIMATION */
|
9710 |
+
/* PROGRESS */
|
9711 |
+
/* BADGE */
|
9712 |
+
/* SHADOWS */
|
9713 |
+
/* GRID */
|
9714 |
+
/* DATA TABLE */
|
9715 |
+
/* DIALOG */
|
9716 |
+
/* SNACKBAR */
|
9717 |
+
/* TOOLTIP */
|
9718 |
+
/* CHIP */
|
9719 |
+
.mdl-tabs {
|
9720 |
+
display: block;
|
9721 |
+
width: 100%; }
|
9722 |
+
|
9723 |
+
.mdl-tabs__tab-bar {
|
9724 |
+
display: -webkit-flex;
|
9725 |
+
display: -ms-flexbox;
|
9726 |
+
display: flex;
|
9727 |
+
-webkit-flex-direction: row;
|
9728 |
+
-ms-flex-direction: row;
|
9729 |
+
flex-direction: row;
|
9730 |
+
-webkit-justify-content: center;
|
9731 |
+
-ms-flex-pack: center;
|
9732 |
+
justify-content: center;
|
9733 |
+
-webkit-align-content: space-between;
|
9734 |
+
-ms-flex-line-pack: justify;
|
9735 |
+
align-content: space-between;
|
9736 |
+
-webkit-align-items: flex-start;
|
9737 |
+
-ms-flex-align: start;
|
9738 |
+
align-items: flex-start;
|
9739 |
+
height: 48px;
|
9740 |
+
padding: 0 0 0 0;
|
9741 |
+
margin: 0;
|
9742 |
+
border-bottom: 1px solid rgb(224,224,224); }
|
9743 |
+
|
9744 |
+
.mdl-tabs__tab {
|
9745 |
+
margin: 0;
|
9746 |
+
border: none;
|
9747 |
+
padding: 0 24px 0 24px;
|
9748 |
+
float: left;
|
9749 |
+
position: relative;
|
9750 |
+
display: block;
|
9751 |
+
text-decoration: none;
|
9752 |
+
height: 48px;
|
9753 |
+
line-height: 48px;
|
9754 |
+
text-align: center;
|
9755 |
+
font-weight: 500;
|
9756 |
+
font-size: 14px;
|
9757 |
+
text-transform: uppercase;
|
9758 |
+
color: rgba(0,0,0, 0.54);
|
9759 |
+
overflow: hidden; }
|
9760 |
+
.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active {
|
9761 |
+
color: rgba(0,0,0, 0.87); }
|
9762 |
+
.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active:after {
|
9763 |
+
height: 2px;
|
9764 |
+
width: 100%;
|
9765 |
+
display: block;
|
9766 |
+
content: " ";
|
9767 |
+
bottom: 0px;
|
9768 |
+
left: 0px;
|
9769 |
+
position: absolute;
|
9770 |
+
background: rgb(63,81,181);
|
9771 |
+
-webkit-animation: border-expand 0.2s cubic-bezier(0.4, 0, 0.4, 1) 0.01s alternate forwards;
|
9772 |
+
animation: border-expand 0.2s cubic-bezier(0.4, 0, 0.4, 1) 0.01s alternate forwards;
|
9773 |
+
transition: all 1s cubic-bezier(0.4, 0, 1, 1); }
|
9774 |
+
.mdl-tabs__tab .mdl-tabs__ripple-container {
|
9775 |
+
display: block;
|
9776 |
+
position: absolute;
|
9777 |
+
height: 100%;
|
9778 |
+
width: 100%;
|
9779 |
+
left: 0px;
|
9780 |
+
top: 0px;
|
9781 |
+
z-index: 1;
|
9782 |
+
overflow: hidden; }
|
9783 |
+
.mdl-tabs__tab .mdl-tabs__ripple-container .mdl-ripple {
|
9784 |
+
background: rgb(63,81,181); }
|
9785 |
+
|
9786 |
+
.mdl-tabs__panel {
|
9787 |
+
display: block; }
|
9788 |
+
.mdl-tabs.is-upgraded .mdl-tabs__panel {
|
9789 |
+
display: none; }
|
9790 |
+
.mdl-tabs.is-upgraded .mdl-tabs__panel.is-active {
|
9791 |
+
display: block; }
|
9792 |
+
|
9793 |
+
@-webkit-keyframes border-expand {
|
9794 |
+
0% {
|
9795 |
+
opacity: 0;
|
9796 |
+
width: 0; }
|
9797 |
+
100% {
|
9798 |
+
opacity: 1;
|
9799 |
+
width: 100%; } }
|
9800 |
+
|
9801 |
+
@keyframes border-expand {
|
9802 |
+
0% {
|
9803 |
+
opacity: 0;
|
9804 |
+
width: 0; }
|
9805 |
+
100% {
|
9806 |
+
opacity: 1;
|
9807 |
+
width: 100%; } }
|
9808 |
+
|
9809 |
+
/**
|
9810 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9811 |
+
*
|
9812 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9813 |
+
* you may not use this file except in compliance with the License.
|
9814 |
+
* You may obtain a copy of the License at
|
9815 |
+
*
|
9816 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9817 |
+
*
|
9818 |
+
* Unless required by applicable law or agreed to in writing, software
|
9819 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9820 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9821 |
+
* See the License for the specific language governing permissions and
|
9822 |
+
* limitations under the License.
|
9823 |
+
*/
|
9824 |
+
/**
|
9825 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9826 |
+
*
|
9827 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9828 |
+
* you may not use this file except in compliance with the License.
|
9829 |
+
* You may obtain a copy of the License at
|
9830 |
+
*
|
9831 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9832 |
+
*
|
9833 |
+
* Unless required by applicable law or agreed to in writing, software
|
9834 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9835 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9836 |
+
* See the License for the specific language governing permissions and
|
9837 |
+
* limitations under the License.
|
9838 |
+
*/
|
9839 |
+
/*------------------------------------* $CONTENTS
|
9840 |
+
\*------------------------------------*/
|
9841 |
+
/**
|
9842 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
9843 |
+
* -----Typography
|
9844 |
+
* -----Colors
|
9845 |
+
* -----Textfield
|
9846 |
+
* -----Switch
|
9847 |
+
* -----Spinner
|
9848 |
+
* -----Radio
|
9849 |
+
* -----Menu
|
9850 |
+
* -----List
|
9851 |
+
* -----Layout
|
9852 |
+
* -----Icon toggles
|
9853 |
+
* -----Footer
|
9854 |
+
* -----Column
|
9855 |
+
* -----Checkbox
|
9856 |
+
* -----Card
|
9857 |
+
* -----Button
|
9858 |
+
* -----Animation
|
9859 |
+
* -----Progress
|
9860 |
+
* -----Badge
|
9861 |
+
* -----Shadows
|
9862 |
+
* -----Grid
|
9863 |
+
* -----Data table
|
9864 |
+
* -----Dialog
|
9865 |
+
* -----Snackbar
|
9866 |
+
* -----Tooltip
|
9867 |
+
* -----Chip
|
9868 |
+
*
|
9869 |
+
* Even though all variables have the `!default` directive, most of them
|
9870 |
+
* should not be changed as they are dependent one another. This can cause
|
9871 |
+
* visual distortions (like alignment issues) that are hard to track down
|
9872 |
+
* and fix.
|
9873 |
+
*/
|
9874 |
+
/* ========== TYPOGRAPHY ========== */
|
9875 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
9876 |
+
page loading. For important text, such as the body, we want it to load
|
9877 |
+
immediately and not wait for the web font load, whereas for other sections,
|
9878 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
9879 |
+
We do have some optional classes and parameters in the mixins, in case you
|
9880 |
+
definitely want to make sure you're using the preferred font and don't mind
|
9881 |
+
the performance hit.
|
9882 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
9883 |
+
widely available.
|
9884 |
+
*/
|
9885 |
+
/* ========== COLORS ========== */
|
9886 |
+
/**
|
9887 |
+
*
|
9888 |
+
* Material design color palettes.
|
9889 |
+
* @see http://www.google.com/design/spec/style/color.html
|
9890 |
+
*
|
9891 |
+
**/
|
9892 |
+
/**
|
9893 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9894 |
+
*
|
9895 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9896 |
+
* you may not use this file except in compliance with the License.
|
9897 |
+
* You may obtain a copy of the License at
|
9898 |
+
*
|
9899 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9900 |
+
*
|
9901 |
+
* Unless required by applicable law or agreed to in writing, software
|
9902 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9903 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9904 |
+
* See the License for the specific language governing permissions and
|
9905 |
+
* limitations under the License.
|
9906 |
+
*/
|
9907 |
+
/* ========== Color Palettes ========== */
|
9908 |
+
/* colors.scss */
|
9909 |
+
/**
|
9910 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9911 |
+
*
|
9912 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9913 |
+
* you may not use this file except in compliance with the License.
|
9914 |
+
* You may obtain a copy of the License at
|
9915 |
+
*
|
9916 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9917 |
+
*
|
9918 |
+
* Unless required by applicable law or agreed to in writing, software
|
9919 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9920 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9921 |
+
* See the License for the specific language governing permissions and
|
9922 |
+
* limitations under the License.
|
9923 |
+
*/
|
9924 |
+
/* ========== IMAGES ========== */
|
9925 |
+
/* ========== Color & Themes ========== */
|
9926 |
+
/* ========== Typography ========== */
|
9927 |
+
/* ========== Components ========== */
|
9928 |
+
/* ========== Standard Buttons ========== */
|
9929 |
+
/* ========== Icon Toggles ========== */
|
9930 |
+
/* ========== Radio Buttons ========== */
|
9931 |
+
/* ========== Ripple effect ========== */
|
9932 |
+
/* ========== Layout ========== */
|
9933 |
+
/* ========== Content Tabs ========== */
|
9934 |
+
/* ========== Checkboxes ========== */
|
9935 |
+
/* ========== Switches ========== */
|
9936 |
+
/* ========== Spinner ========== */
|
9937 |
+
/* ========== Text fields ========== */
|
9938 |
+
/* ========== Card ========== */
|
9939 |
+
/* ========== Sliders ========== */
|
9940 |
+
/* ========== Progress ========== */
|
9941 |
+
/* ========== List ========== */
|
9942 |
+
/* ========== Item ========== */
|
9943 |
+
/* ========== Dropdown menu ========== */
|
9944 |
+
/* ========== Tooltips ========== */
|
9945 |
+
/* ========== Footer ========== */
|
9946 |
+
/* TEXTFIELD */
|
9947 |
+
/* SWITCH */
|
9948 |
+
/* SPINNER */
|
9949 |
+
/* RADIO */
|
9950 |
+
/* MENU */
|
9951 |
+
/* LIST */
|
9952 |
+
/* LAYOUT */
|
9953 |
+
/* ICON TOGGLE */
|
9954 |
+
/* FOOTER */
|
9955 |
+
/*mega-footer*/
|
9956 |
+
/*mini-footer*/
|
9957 |
+
/* CHECKBOX */
|
9958 |
+
/* CARD */
|
9959 |
+
/* Card dimensions */
|
9960 |
+
/* Cover image */
|
9961 |
+
/* BUTTON */
|
9962 |
+
/**
|
9963 |
+
*
|
9964 |
+
* Dimensions
|
9965 |
+
*
|
9966 |
+
*/
|
9967 |
+
/* ANIMATION */
|
9968 |
+
/* PROGRESS */
|
9969 |
+
/* BADGE */
|
9970 |
+
/* SHADOWS */
|
9971 |
+
/* GRID */
|
9972 |
+
/* DATA TABLE */
|
9973 |
+
/* DIALOG */
|
9974 |
+
/* SNACKBAR */
|
9975 |
+
/* TOOLTIP */
|
9976 |
+
/* CHIP */
|
9977 |
+
/**
|
9978 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
9979 |
+
*
|
9980 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9981 |
+
* you may not use this file except in compliance with the License.
|
9982 |
+
* You may obtain a copy of the License at
|
9983 |
+
*
|
9984 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9985 |
+
*
|
9986 |
+
* Unless required by applicable law or agreed to in writing, software
|
9987 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
9988 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
9989 |
+
* See the License for the specific language governing permissions and
|
9990 |
+
* limitations under the License.
|
9991 |
+
*/
|
9992 |
+
/* Typography */
|
9993 |
+
/* Shadows */
|
9994 |
+
/* Animations */
|
9995 |
+
/* Dialog */
|
9996 |
+
.mdl-textfield {
|
9997 |
+
position: relative;
|
9998 |
+
font-size: 16px;
|
9999 |
+
display: inline-block;
|
10000 |
+
box-sizing: border-box;
|
10001 |
+
width: 300px;
|
10002 |
+
max-width: 100%;
|
10003 |
+
margin: 0;
|
10004 |
+
padding: 20px 0; }
|
10005 |
+
.mdl-textfield .mdl-button {
|
10006 |
+
position: absolute;
|
10007 |
+
bottom: 20px; }
|
10008 |
+
|
10009 |
+
.mdl-textfield--align-right {
|
10010 |
+
text-align: right; }
|
10011 |
+
|
10012 |
+
.mdl-textfield--full-width {
|
10013 |
+
width: 100%; }
|
10014 |
+
|
10015 |
+
.mdl-textfield--expandable {
|
10016 |
+
min-width: 32px;
|
10017 |
+
width: auto;
|
10018 |
+
min-height: 32px; }
|
10019 |
+
.mdl-textfield--expandable .mdl-button--icon {
|
10020 |
+
top: 16px; }
|
10021 |
+
|
10022 |
+
.mdl-textfield__input {
|
10023 |
+
border: none;
|
10024 |
+
border-bottom: 1px solid rgba(0,0,0, 0.12);
|
10025 |
+
display: block;
|
10026 |
+
font-size: 16px;
|
10027 |
+
font-family: "Helvetica", "Arial", sans-serif;
|
10028 |
+
margin: 0;
|
10029 |
+
padding: 4px 0;
|
10030 |
+
width: 100%;
|
10031 |
+
background: none;
|
10032 |
+
text-align: left;
|
10033 |
+
color: inherit; }
|
10034 |
+
.mdl-textfield__input[type="number"] {
|
10035 |
+
-moz-appearance: textfield; }
|
10036 |
+
.mdl-textfield__input[type="number"]::-webkit-inner-spin-button, .mdl-textfield__input[type="number"]::-webkit-outer-spin-button {
|
10037 |
+
-webkit-appearance: none;
|
10038 |
+
margin: 0; }
|
10039 |
+
.mdl-textfield.is-focused .mdl-textfield__input {
|
10040 |
+
outline: none; }
|
10041 |
+
.mdl-textfield.is-invalid .mdl-textfield__input {
|
10042 |
+
border-color: rgb(213,0,0);
|
10043 |
+
box-shadow: none; }
|
10044 |
+
fieldset[disabled] .mdl-textfield .mdl-textfield__input,
|
10045 |
+
.mdl-textfield.is-disabled .mdl-textfield__input {
|
10046 |
+
background-color: transparent;
|
10047 |
+
border-bottom: 1px dotted rgba(0,0,0, 0.12);
|
10048 |
+
color: rgba(0,0,0, 0.26); }
|
10049 |
+
|
10050 |
+
.mdl-textfield textarea.mdl-textfield__input {
|
10051 |
+
display: block; }
|
10052 |
+
|
10053 |
+
.mdl-textfield__label {
|
10054 |
+
bottom: 0;
|
10055 |
+
color: rgba(0,0,0, 0.26);
|
10056 |
+
font-size: 16px;
|
10057 |
+
left: 0;
|
10058 |
+
right: 0;
|
10059 |
+
pointer-events: none;
|
10060 |
+
position: absolute;
|
10061 |
+
display: block;
|
10062 |
+
top: 24px;
|
10063 |
+
width: 100%;
|
10064 |
+
overflow: hidden;
|
10065 |
+
white-space: nowrap;
|
10066 |
+
text-align: left; }
|
10067 |
+
.mdl-textfield.is-dirty .mdl-textfield__label,
|
10068 |
+
.mdl-textfield.has-placeholder .mdl-textfield__label {
|
10069 |
+
visibility: hidden; }
|
10070 |
+
.mdl-textfield--floating-label .mdl-textfield__label {
|
10071 |
+
transition-duration: 0.2s;
|
10072 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
|
10073 |
+
.mdl-textfield--floating-label.has-placeholder .mdl-textfield__label {
|
10074 |
+
transition: none; }
|
10075 |
+
fieldset[disabled] .mdl-textfield .mdl-textfield__label,
|
10076 |
+
.mdl-textfield.is-disabled.is-disabled .mdl-textfield__label {
|
10077 |
+
color: rgba(0,0,0, 0.26); }
|
10078 |
+
.mdl-textfield--floating-label.is-focused .mdl-textfield__label,
|
10079 |
+
.mdl-textfield--floating-label.is-dirty .mdl-textfield__label,
|
10080 |
+
.mdl-textfield--floating-label.has-placeholder .mdl-textfield__label {
|
10081 |
+
color: rgb(63,81,181);
|
10082 |
+
font-size: 12px;
|
10083 |
+
top: 4px;
|
10084 |
+
visibility: visible; }
|
10085 |
+
.mdl-textfield--floating-label.is-focused .mdl-textfield__expandable-holder .mdl-textfield__label,
|
10086 |
+
.mdl-textfield--floating-label.is-dirty .mdl-textfield__expandable-holder .mdl-textfield__label,
|
10087 |
+
.mdl-textfield--floating-label.has-placeholder .mdl-textfield__expandable-holder .mdl-textfield__label {
|
10088 |
+
top: -16px; }
|
10089 |
+
.mdl-textfield--floating-label.is-invalid .mdl-textfield__label {
|
10090 |
+
color: rgb(213,0,0);
|
10091 |
+
font-size: 12px; }
|
10092 |
+
.mdl-textfield__label:after {
|
10093 |
+
background-color: rgb(63,81,181);
|
10094 |
+
bottom: 20px;
|
10095 |
+
content: '';
|
10096 |
+
height: 2px;
|
10097 |
+
left: 45%;
|
10098 |
+
position: absolute;
|
10099 |
+
transition-duration: 0.2s;
|
10100 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
10101 |
+
visibility: hidden;
|
10102 |
+
width: 10px; }
|
10103 |
+
.mdl-textfield.is-focused .mdl-textfield__label:after {
|
10104 |
+
left: 0;
|
10105 |
+
visibility: visible;
|
10106 |
+
width: 100%; }
|
10107 |
+
.mdl-textfield.is-invalid .mdl-textfield__label:after {
|
10108 |
+
background-color: rgb(213,0,0); }
|
10109 |
+
|
10110 |
+
.mdl-textfield__error {
|
10111 |
+
color: rgb(213,0,0);
|
10112 |
+
position: absolute;
|
10113 |
+
font-size: 12px;
|
10114 |
+
margin-top: 3px;
|
10115 |
+
visibility: hidden;
|
10116 |
+
display: block; }
|
10117 |
+
.mdl-textfield.is-invalid .mdl-textfield__error {
|
10118 |
+
visibility: visible; }
|
10119 |
+
|
10120 |
+
.mdl-textfield__expandable-holder {
|
10121 |
+
display: inline-block;
|
10122 |
+
position: relative;
|
10123 |
+
margin-left: 32px;
|
10124 |
+
transition-duration: 0.2s;
|
10125 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
10126 |
+
display: inline-block;
|
10127 |
+
max-width: 0.1px; }
|
10128 |
+
.mdl-textfield.is-focused .mdl-textfield__expandable-holder, .mdl-textfield.is-dirty .mdl-textfield__expandable-holder {
|
10129 |
+
max-width: 600px; }
|
10130 |
+
.mdl-textfield__expandable-holder .mdl-textfield__label:after {
|
10131 |
+
bottom: 0; }
|
10132 |
+
|
10133 |
+
/**
|
10134 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10135 |
+
*
|
10136 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10137 |
+
* you may not use this file except in compliance with the License.
|
10138 |
+
* You may obtain a copy of the License at
|
10139 |
+
*
|
10140 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10141 |
+
*
|
10142 |
+
* Unless required by applicable law or agreed to in writing, software
|
10143 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10144 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10145 |
+
* See the License for the specific language governing permissions and
|
10146 |
+
* limitations under the License.
|
10147 |
+
*/
|
10148 |
+
/**
|
10149 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10150 |
+
*
|
10151 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10152 |
+
* you may not use this file except in compliance with the License.
|
10153 |
+
* You may obtain a copy of the License at
|
10154 |
+
*
|
10155 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10156 |
+
*
|
10157 |
+
* Unless required by applicable law or agreed to in writing, software
|
10158 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10159 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10160 |
+
* See the License for the specific language governing permissions and
|
10161 |
+
* limitations under the License.
|
10162 |
+
*/
|
10163 |
+
/*------------------------------------* $CONTENTS
|
10164 |
+
\*------------------------------------*/
|
10165 |
+
/**
|
10166 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
10167 |
+
* -----Typography
|
10168 |
+
* -----Colors
|
10169 |
+
* -----Textfield
|
10170 |
+
* -----Switch
|
10171 |
+
* -----Spinner
|
10172 |
+
* -----Radio
|
10173 |
+
* -----Menu
|
10174 |
+
* -----List
|
10175 |
+
* -----Layout
|
10176 |
+
* -----Icon toggles
|
10177 |
+
* -----Footer
|
10178 |
+
* -----Column
|
10179 |
+
* -----Checkbox
|
10180 |
+
* -----Card
|
10181 |
+
* -----Button
|
10182 |
+
* -----Animation
|
10183 |
+
* -----Progress
|
10184 |
+
* -----Badge
|
10185 |
+
* -----Shadows
|
10186 |
+
* -----Grid
|
10187 |
+
* -----Data table
|
10188 |
+
* -----Dialog
|
10189 |
+
* -----Snackbar
|
10190 |
+
* -----Tooltip
|
10191 |
+
* -----Chip
|
10192 |
+
*
|
10193 |
+
* Even though all variables have the `!default` directive, most of them
|
10194 |
+
* should not be changed as they are dependent one another. This can cause
|
10195 |
+
* visual distortions (like alignment issues) that are hard to track down
|
10196 |
+
* and fix.
|
10197 |
+
*/
|
10198 |
+
/* ========== TYPOGRAPHY ========== */
|
10199 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
10200 |
+
page loading. For important text, such as the body, we want it to load
|
10201 |
+
immediately and not wait for the web font load, whereas for other sections,
|
10202 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
10203 |
+
We do have some optional classes and parameters in the mixins, in case you
|
10204 |
+
definitely want to make sure you're using the preferred font and don't mind
|
10205 |
+
the performance hit.
|
10206 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
10207 |
+
widely available.
|
10208 |
+
*/
|
10209 |
+
/* ========== COLORS ========== */
|
10210 |
+
/**
|
10211 |
+
*
|
10212 |
+
* Material design color palettes.
|
10213 |
+
* @see http://www.google.com/design/spec/style/color.html
|
10214 |
+
*
|
10215 |
+
**/
|
10216 |
+
/**
|
10217 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10218 |
+
*
|
10219 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10220 |
+
* you may not use this file except in compliance with the License.
|
10221 |
+
* You may obtain a copy of the License at
|
10222 |
+
*
|
10223 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10224 |
+
*
|
10225 |
+
* Unless required by applicable law or agreed to in writing, software
|
10226 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10227 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10228 |
+
* See the License for the specific language governing permissions and
|
10229 |
+
* limitations under the License.
|
10230 |
+
*/
|
10231 |
+
/* ========== Color Palettes ========== */
|
10232 |
+
/* colors.scss */
|
10233 |
+
/**
|
10234 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10235 |
+
*
|
10236 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10237 |
+
* you may not use this file except in compliance with the License.
|
10238 |
+
* You may obtain a copy of the License at
|
10239 |
+
*
|
10240 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10241 |
+
*
|
10242 |
+
* Unless required by applicable law or agreed to in writing, software
|
10243 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10244 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10245 |
+
* See the License for the specific language governing permissions and
|
10246 |
+
* limitations under the License.
|
10247 |
+
*/
|
10248 |
+
/* ========== IMAGES ========== */
|
10249 |
+
/* ========== Color & Themes ========== */
|
10250 |
+
/* ========== Typography ========== */
|
10251 |
+
/* ========== Components ========== */
|
10252 |
+
/* ========== Standard Buttons ========== */
|
10253 |
+
/* ========== Icon Toggles ========== */
|
10254 |
+
/* ========== Radio Buttons ========== */
|
10255 |
+
/* ========== Ripple effect ========== */
|
10256 |
+
/* ========== Layout ========== */
|
10257 |
+
/* ========== Content Tabs ========== */
|
10258 |
+
/* ========== Checkboxes ========== */
|
10259 |
+
/* ========== Switches ========== */
|
10260 |
+
/* ========== Spinner ========== */
|
10261 |
+
/* ========== Text fields ========== */
|
10262 |
+
/* ========== Card ========== */
|
10263 |
+
/* ========== Sliders ========== */
|
10264 |
+
/* ========== Progress ========== */
|
10265 |
+
/* ========== List ========== */
|
10266 |
+
/* ========== Item ========== */
|
10267 |
+
/* ========== Dropdown menu ========== */
|
10268 |
+
/* ========== Tooltips ========== */
|
10269 |
+
/* ========== Footer ========== */
|
10270 |
+
/* TEXTFIELD */
|
10271 |
+
/* SWITCH */
|
10272 |
+
/* SPINNER */
|
10273 |
+
/* RADIO */
|
10274 |
+
/* MENU */
|
10275 |
+
/* LIST */
|
10276 |
+
/* LAYOUT */
|
10277 |
+
/* ICON TOGGLE */
|
10278 |
+
/* FOOTER */
|
10279 |
+
/*mega-footer*/
|
10280 |
+
/*mini-footer*/
|
10281 |
+
/* CHECKBOX */
|
10282 |
+
/* CARD */
|
10283 |
+
/* Card dimensions */
|
10284 |
+
/* Cover image */
|
10285 |
+
/* BUTTON */
|
10286 |
+
/**
|
10287 |
+
*
|
10288 |
+
* Dimensions
|
10289 |
+
*
|
10290 |
+
*/
|
10291 |
+
/* ANIMATION */
|
10292 |
+
/* PROGRESS */
|
10293 |
+
/* BADGE */
|
10294 |
+
/* SHADOWS */
|
10295 |
+
/* GRID */
|
10296 |
+
/* DATA TABLE */
|
10297 |
+
/* DIALOG */
|
10298 |
+
/* SNACKBAR */
|
10299 |
+
/* TOOLTIP */
|
10300 |
+
/* CHIP */
|
10301 |
+
.mdl-tooltip {
|
10302 |
+
-webkit-transform: scale(0);
|
10303 |
+
transform: scale(0);
|
10304 |
+
-webkit-transform-origin: top center;
|
10305 |
+
transform-origin: top center;
|
10306 |
+
z-index: 999;
|
10307 |
+
background: rgba(97,97,97, 0.9);
|
10308 |
+
border-radius: 2px;
|
10309 |
+
color: rgb(255,255,255);
|
10310 |
+
display: inline-block;
|
10311 |
+
font-size: 10px;
|
10312 |
+
font-weight: 500;
|
10313 |
+
line-height: 14px;
|
10314 |
+
max-width: 170px;
|
10315 |
+
position: fixed;
|
10316 |
+
top: -500px;
|
10317 |
+
left: -500px;
|
10318 |
+
padding: 8px;
|
10319 |
+
text-align: center; }
|
10320 |
+
|
10321 |
+
.mdl-tooltip.is-active {
|
10322 |
+
-webkit-animation: pulse 200ms cubic-bezier(0, 0, 0.2, 1) forwards;
|
10323 |
+
animation: pulse 200ms cubic-bezier(0, 0, 0.2, 1) forwards; }
|
10324 |
+
|
10325 |
+
.mdl-tooltip--large {
|
10326 |
+
line-height: 14px;
|
10327 |
+
font-size: 14px;
|
10328 |
+
padding: 16px; }
|
10329 |
+
|
10330 |
+
@-webkit-keyframes pulse {
|
10331 |
+
0% {
|
10332 |
+
-webkit-transform: scale(0);
|
10333 |
+
transform: scale(0);
|
10334 |
+
opacity: 0; }
|
10335 |
+
50% {
|
10336 |
+
-webkit-transform: scale(0.99);
|
10337 |
+
transform: scale(0.99); }
|
10338 |
+
100% {
|
10339 |
+
-webkit-transform: scale(1);
|
10340 |
+
transform: scale(1);
|
10341 |
+
opacity: 1;
|
10342 |
+
visibility: visible; } }
|
10343 |
+
|
10344 |
+
@keyframes pulse {
|
10345 |
+
0% {
|
10346 |
+
-webkit-transform: scale(0);
|
10347 |
+
transform: scale(0);
|
10348 |
+
opacity: 0; }
|
10349 |
+
50% {
|
10350 |
+
-webkit-transform: scale(0.99);
|
10351 |
+
transform: scale(0.99); }
|
10352 |
+
100% {
|
10353 |
+
-webkit-transform: scale(1);
|
10354 |
+
transform: scale(1);
|
10355 |
+
opacity: 1;
|
10356 |
+
visibility: visible; } }
|
10357 |
+
|
10358 |
+
/**
|
10359 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10360 |
+
*
|
10361 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10362 |
+
* you may not use this file except in compliance with the License.
|
10363 |
+
* You may obtain a copy of the License at
|
10364 |
+
*
|
10365 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10366 |
+
*
|
10367 |
+
* Unless required by applicable law or agreed to in writing, software
|
10368 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10369 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10370 |
+
* See the License for the specific language governing permissions and
|
10371 |
+
* limitations under the License.
|
10372 |
+
*/
|
10373 |
+
/**
|
10374 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10375 |
+
*
|
10376 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10377 |
+
* you may not use this file except in compliance with the License.
|
10378 |
+
* You may obtain a copy of the License at
|
10379 |
+
*
|
10380 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10381 |
+
*
|
10382 |
+
* Unless required by applicable law or agreed to in writing, software
|
10383 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10384 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10385 |
+
* See the License for the specific language governing permissions and
|
10386 |
+
* limitations under the License.
|
10387 |
+
*/
|
10388 |
+
/*------------------------------------* $CONTENTS
|
10389 |
+
\*------------------------------------*/
|
10390 |
+
/**
|
10391 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
10392 |
+
* -----Typography
|
10393 |
+
* -----Colors
|
10394 |
+
* -----Textfield
|
10395 |
+
* -----Switch
|
10396 |
+
* -----Spinner
|
10397 |
+
* -----Radio
|
10398 |
+
* -----Menu
|
10399 |
+
* -----List
|
10400 |
+
* -----Layout
|
10401 |
+
* -----Icon toggles
|
10402 |
+
* -----Footer
|
10403 |
+
* -----Column
|
10404 |
+
* -----Checkbox
|
10405 |
+
* -----Card
|
10406 |
+
* -----Button
|
10407 |
+
* -----Animation
|
10408 |
+
* -----Progress
|
10409 |
+
* -----Badge
|
10410 |
+
* -----Shadows
|
10411 |
+
* -----Grid
|
10412 |
+
* -----Data table
|
10413 |
+
* -----Dialog
|
10414 |
+
* -----Snackbar
|
10415 |
+
* -----Tooltip
|
10416 |
+
* -----Chip
|
10417 |
+
*
|
10418 |
+
* Even though all variables have the `!default` directive, most of them
|
10419 |
+
* should not be changed as they are dependent one another. This can cause
|
10420 |
+
* visual distortions (like alignment issues) that are hard to track down
|
10421 |
+
* and fix.
|
10422 |
+
*/
|
10423 |
+
/* ========== TYPOGRAPHY ========== */
|
10424 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
10425 |
+
page loading. For important text, such as the body, we want it to load
|
10426 |
+
immediately and not wait for the web font load, whereas for other sections,
|
10427 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
10428 |
+
We do have some optional classes and parameters in the mixins, in case you
|
10429 |
+
definitely want to make sure you're using the preferred font and don't mind
|
10430 |
+
the performance hit.
|
10431 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
10432 |
+
widely available.
|
10433 |
+
*/
|
10434 |
+
/* ========== COLORS ========== */
|
10435 |
+
/**
|
10436 |
+
*
|
10437 |
+
* Material design color palettes.
|
10438 |
+
* @see http://www.google.com/design/spec/style/color.html
|
10439 |
+
*
|
10440 |
+
**/
|
10441 |
+
/**
|
10442 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10443 |
+
*
|
10444 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10445 |
+
* you may not use this file except in compliance with the License.
|
10446 |
+
* You may obtain a copy of the License at
|
10447 |
+
*
|
10448 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10449 |
+
*
|
10450 |
+
* Unless required by applicable law or agreed to in writing, software
|
10451 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10452 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10453 |
+
* See the License for the specific language governing permissions and
|
10454 |
+
* limitations under the License.
|
10455 |
+
*/
|
10456 |
+
/* ========== Color Palettes ========== */
|
10457 |
+
/* colors.scss */
|
10458 |
+
/**
|
10459 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10460 |
+
*
|
10461 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10462 |
+
* you may not use this file except in compliance with the License.
|
10463 |
+
* You may obtain a copy of the License at
|
10464 |
+
*
|
10465 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10466 |
+
*
|
10467 |
+
* Unless required by applicable law or agreed to in writing, software
|
10468 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10469 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10470 |
+
* See the License for the specific language governing permissions and
|
10471 |
+
* limitations under the License.
|
10472 |
+
*/
|
10473 |
+
/* ========== IMAGES ========== */
|
10474 |
+
/* ========== Color & Themes ========== */
|
10475 |
+
/* ========== Typography ========== */
|
10476 |
+
/* ========== Components ========== */
|
10477 |
+
/* ========== Standard Buttons ========== */
|
10478 |
+
/* ========== Icon Toggles ========== */
|
10479 |
+
/* ========== Radio Buttons ========== */
|
10480 |
+
/* ========== Ripple effect ========== */
|
10481 |
+
/* ========== Layout ========== */
|
10482 |
+
/* ========== Content Tabs ========== */
|
10483 |
+
/* ========== Checkboxes ========== */
|
10484 |
+
/* ========== Switches ========== */
|
10485 |
+
/* ========== Spinner ========== */
|
10486 |
+
/* ========== Text fields ========== */
|
10487 |
+
/* ========== Card ========== */
|
10488 |
+
/* ========== Sliders ========== */
|
10489 |
+
/* ========== Progress ========== */
|
10490 |
+
/* ========== List ========== */
|
10491 |
+
/* ========== Item ========== */
|
10492 |
+
/* ========== Dropdown menu ========== */
|
10493 |
+
/* ========== Tooltips ========== */
|
10494 |
+
/* ========== Footer ========== */
|
10495 |
+
/* TEXTFIELD */
|
10496 |
+
/* SWITCH */
|
10497 |
+
/* SPINNER */
|
10498 |
+
/* RADIO */
|
10499 |
+
/* MENU */
|
10500 |
+
/* LIST */
|
10501 |
+
/* LAYOUT */
|
10502 |
+
/* ICON TOGGLE */
|
10503 |
+
/* FOOTER */
|
10504 |
+
/*mega-footer*/
|
10505 |
+
/*mini-footer*/
|
10506 |
+
/* CHECKBOX */
|
10507 |
+
/* CARD */
|
10508 |
+
/* Card dimensions */
|
10509 |
+
/* Cover image */
|
10510 |
+
/* BUTTON */
|
10511 |
+
/**
|
10512 |
+
*
|
10513 |
+
* Dimensions
|
10514 |
+
*
|
10515 |
+
*/
|
10516 |
+
/* ANIMATION */
|
10517 |
+
/* PROGRESS */
|
10518 |
+
/* BADGE */
|
10519 |
+
/* SHADOWS */
|
10520 |
+
/* GRID */
|
10521 |
+
/* DATA TABLE */
|
10522 |
+
/* DIALOG */
|
10523 |
+
/* SNACKBAR */
|
10524 |
+
/* TOOLTIP */
|
10525 |
+
/* CHIP */
|
10526 |
+
/**
|
10527 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10528 |
+
*
|
10529 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10530 |
+
* you may not use this file except in compliance with the License.
|
10531 |
+
* You may obtain a copy of the License at
|
10532 |
+
*
|
10533 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10534 |
+
*
|
10535 |
+
* Unless required by applicable law or agreed to in writing, software
|
10536 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10537 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10538 |
+
* See the License for the specific language governing permissions and
|
10539 |
+
* limitations under the License.
|
10540 |
+
*/
|
10541 |
+
/* Typography */
|
10542 |
+
/* Shadows */
|
10543 |
+
/* Animations */
|
10544 |
+
/* Dialog */
|
10545 |
+
.mdl-shadow--2dp {
|
10546 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }
|
10547 |
+
|
10548 |
+
.mdl-shadow--3dp {
|
10549 |
+
box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 1px 8px 0 rgba(0, 0, 0, 0.12); }
|
10550 |
+
|
10551 |
+
.mdl-shadow--4dp {
|
10552 |
+
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2); }
|
10553 |
+
|
10554 |
+
.mdl-shadow--6dp {
|
10555 |
+
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2); }
|
10556 |
+
|
10557 |
+
.mdl-shadow--8dp {
|
10558 |
+
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2); }
|
10559 |
+
|
10560 |
+
.mdl-shadow--16dp {
|
10561 |
+
box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); }
|
10562 |
+
|
10563 |
+
.mdl-shadow--24dp {
|
10564 |
+
box-shadow: 0 9px 46px 8px rgba(0, 0, 0, 0.14), 0 11px 15px -7px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.2); }
|
10565 |
+
|
10566 |
+
/**
|
10567 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10568 |
+
*
|
10569 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10570 |
+
* you may not use this file except in compliance with the License.
|
10571 |
+
* You may obtain a copy of the License at
|
10572 |
+
*
|
10573 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10574 |
+
*
|
10575 |
+
* Unless required by applicable law or agreed to in writing, software
|
10576 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10577 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10578 |
+
* See the License for the specific language governing permissions and
|
10579 |
+
* limitations under the License.
|
10580 |
+
*/
|
10581 |
+
/*
|
10582 |
+
* NOTE: Some rules here are applied using duplicate selectors.
|
10583 |
+
* This is on purpose to increase their specificity when applied.
|
10584 |
+
* For example: `.mdl-cell--1-col-phone.mdl-cell--1-col-phone`
|
10585 |
+
*/
|
10586 |
+
/**
|
10587 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10588 |
+
*
|
10589 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10590 |
+
* you may not use this file except in compliance with the License.
|
10591 |
+
* You may obtain a copy of the License at
|
10592 |
+
*
|
10593 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10594 |
+
*
|
10595 |
+
* Unless required by applicable law or agreed to in writing, software
|
10596 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10597 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10598 |
+
* See the License for the specific language governing permissions and
|
10599 |
+
* limitations under the License.
|
10600 |
+
*/
|
10601 |
+
/*------------------------------------* $CONTENTS
|
10602 |
+
\*------------------------------------*/
|
10603 |
+
/**
|
10604 |
+
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
10605 |
+
* -----Typography
|
10606 |
+
* -----Colors
|
10607 |
+
* -----Textfield
|
10608 |
+
* -----Switch
|
10609 |
+
* -----Spinner
|
10610 |
+
* -----Radio
|
10611 |
+
* -----Menu
|
10612 |
+
* -----List
|
10613 |
+
* -----Layout
|
10614 |
+
* -----Icon toggles
|
10615 |
+
* -----Footer
|
10616 |
+
* -----Column
|
10617 |
+
* -----Checkbox
|
10618 |
+
* -----Card
|
10619 |
+
* -----Button
|
10620 |
+
* -----Animation
|
10621 |
+
* -----Progress
|
10622 |
+
* -----Badge
|
10623 |
+
* -----Shadows
|
10624 |
+
* -----Grid
|
10625 |
+
* -----Data table
|
10626 |
+
* -----Dialog
|
10627 |
+
* -----Snackbar
|
10628 |
+
* -----Tooltip
|
10629 |
+
* -----Chip
|
10630 |
+
*
|
10631 |
+
* Even though all variables have the `!default` directive, most of them
|
10632 |
+
* should not be changed as they are dependent one another. This can cause
|
10633 |
+
* visual distortions (like alignment issues) that are hard to track down
|
10634 |
+
* and fix.
|
10635 |
+
*/
|
10636 |
+
/* ========== TYPOGRAPHY ========== */
|
10637 |
+
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
10638 |
+
page loading. For important text, such as the body, we want it to load
|
10639 |
+
immediately and not wait for the web font load, whereas for other sections,
|
10640 |
+
such as headers and titles, we're OK with things taking a bit longer to load.
|
10641 |
+
We do have some optional classes and parameters in the mixins, in case you
|
10642 |
+
definitely want to make sure you're using the preferred font and don't mind
|
10643 |
+
the performance hit.
|
10644 |
+
We should be able to improve on this once CSS Font Loading L3 becomes more
|
10645 |
+
widely available.
|
10646 |
+
*/
|
10647 |
+
/* ========== COLORS ========== */
|
10648 |
+
/**
|
10649 |
+
*
|
10650 |
+
* Material design color palettes.
|
10651 |
+
* @see http://www.google.com/design/spec/style/color.html
|
10652 |
+
*
|
10653 |
+
**/
|
10654 |
+
/**
|
10655 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10656 |
+
*
|
10657 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10658 |
+
* you may not use this file except in compliance with the License.
|
10659 |
+
* You may obtain a copy of the License at
|
10660 |
+
*
|
10661 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10662 |
+
*
|
10663 |
+
* Unless required by applicable law or agreed to in writing, software
|
10664 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10665 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10666 |
+
* See the License for the specific language governing permissions and
|
10667 |
+
* limitations under the License.
|
10668 |
+
*/
|
10669 |
+
/* ========== Color Palettes ========== */
|
10670 |
+
/* colors.scss */
|
10671 |
+
/**
|
10672 |
+
* Copyright 2015 Google Inc. All Rights Reserved.
|
10673 |
+
*
|
10674 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10675 |
+
* you may not use this file except in compliance with the License.
|
10676 |
+
* You may obtain a copy of the License at
|
10677 |
+
*
|
10678 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10679 |
+
*
|
10680 |
+
* Unless required by applicable law or agreed to in writing, software
|
10681 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
10682 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10683 |
+
* See the License for the specific language governing permissions and
|
10684 |
+
* limitations under the License.
|
10685 |
+
*/
|
10686 |
+
/* ========== IMAGES ========== */
|
10687 |
+
/* ========== Color & Themes ========== */
|
10688 |
+
/* ========== Typography ========== */
|
10689 |
+
/* ========== Components ========== */
|
10690 |
+
/* ========== Standard Buttons ========== */
|
10691 |
+
/* ========== Icon Toggles ========== */
|
10692 |
+
/* ========== Radio Buttons ========== */
|
10693 |
+
/* ========== Ripple effect ========== */
|
10694 |
+
/* ========== Layout ========== */
|
10695 |
+
/* ========== Content Tabs ========== */
|
10696 |
+
/* ========== Checkboxes ========== */
|
10697 |
+
/* ========== Switches ========== */
|
10698 |
+
/* ========== Spinner ========== */
|
10699 |
+
/* ========== Text fields ========== */
|
10700 |
+
/* ========== Card ========== */
|
10701 |
+
/* ========== Sliders ========== */
|
10702 |
+
/* ========== Progress ========== */
|
10703 |
+
/* ========== List ========== */
|
10704 |
+
/* ========== Item ========== */
|
10705 |
+
/* ========== Dropdown menu ========== */
|
10706 |
+
/* ========== Tooltips ========== */
|
10707 |
+
/* ========== Footer ========== */
|
10708 |
+
/* TEXTFIELD */
|
10709 |
+
/* SWITCH */
|
10710 |
+
/* SPINNER */
|
10711 |
+
/* RADIO */
|
10712 |
+
/* MENU */
|
10713 |
+
/* LIST */
|
10714 |
+
/* LAYOUT */
|
10715 |
+
/* ICON TOGGLE */
|
10716 |
+
/* FOOTER */
|
10717 |
+
/*mega-footer*/
|
10718 |
+
/*mini-footer*/
|
10719 |
+
/* CHECKBOX */
|
10720 |
+
/* CARD */
|
10721 |
+
/* Card dimensions */
|
10722 |
+
/* Cover image */
|
10723 |
+
/* BUTTON */
|
10724 |
+
/**
|
10725 |
+
*
|
10726 |
+
* Dimensions
|
10727 |
+
*
|
10728 |
+
*/
|
10729 |
+
/* ANIMATION */
|
10730 |
+
/* PROGRESS */
|
10731 |
+
/* BADGE */
|
10732 |
+
/* SHADOWS */
|
10733 |
+
/* GRID */
|
10734 |
+
/* DATA TABLE */
|
10735 |
+
/* DIALOG */
|
10736 |
+
/* SNACKBAR */
|
10737 |
+
/* TOOLTIP */
|
10738 |
+
/* CHIP */
|
10739 |
+
.mdl-grid {
|
10740 |
+
display: -webkit-flex;
|
10741 |
+
display: -ms-flexbox;
|
10742 |
+
display: flex;
|
10743 |
+
-webkit-flex-flow: row wrap;
|
10744 |
+
-ms-flex-flow: row wrap;
|
10745 |
+
flex-flow: row wrap;
|
10746 |
+
margin: 0 auto 0 auto;
|
10747 |
+
-webkit-align-items: stretch;
|
10748 |
+
-ms-flex-align: stretch;
|
10749 |
+
align-items: stretch; }
|
10750 |
+
.mdl-grid.mdl-grid--no-spacing {
|
10751 |
+
padding: 0; }
|
10752 |
+
|
10753 |
+
.mdl-cell {
|
10754 |
+
box-sizing: border-box; }
|
10755 |
+
|
10756 |
+
.mdl-cell--top {
|
10757 |
+
-webkit-align-self: flex-start;
|
10758 |
+
-ms-flex-item-align: start;
|
10759 |
+
align-self: flex-start; }
|
10760 |
+
|
10761 |
+
.mdl-cell--middle {
|
10762 |
+
-webkit-align-self: center;
|
10763 |
+
-ms-flex-item-align: center;
|
10764 |
+
-ms-grid-row-align: center;
|
10765 |
+
align-self: center; }
|
10766 |
+
|
10767 |
+
.mdl-cell--bottom {
|
10768 |
+
-webkit-align-self: flex-end;
|
10769 |
+
-ms-flex-item-align: end;
|
10770 |
+
align-self: flex-end; }
|
10771 |
+
|
10772 |
+
.mdl-cell--stretch {
|
10773 |
+
-webkit-align-self: stretch;
|
10774 |
+
-ms-flex-item-align: stretch;
|
10775 |
+
-ms-grid-row-align: stretch;
|
10776 |
+
align-self: stretch; }
|
10777 |
+
|
10778 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell {
|
10779 |
+
margin: 0; }
|
10780 |
+
|
10781 |
+
.mdl-cell--order-1 {
|
10782 |
+
-webkit-order: 1;
|
10783 |
+
-ms-flex-order: 1;
|
10784 |
+
order: 1; }
|
10785 |
+
|
10786 |
+
.mdl-cell--order-2 {
|
10787 |
+
-webkit-order: 2;
|
10788 |
+
-ms-flex-order: 2;
|
10789 |
+
order: 2; }
|
10790 |
+
|
10791 |
+
.mdl-cell--order-3 {
|
10792 |
+
-webkit-order: 3;
|
10793 |
+
-ms-flex-order: 3;
|
10794 |
+
order: 3; }
|
10795 |
+
|
10796 |
+
.mdl-cell--order-4 {
|
10797 |
+
-webkit-order: 4;
|
10798 |
+
-ms-flex-order: 4;
|
10799 |
+
order: 4; }
|
10800 |
+
|
10801 |
+
.mdl-cell--order-5 {
|
10802 |
+
-webkit-order: 5;
|
10803 |
+
-ms-flex-order: 5;
|
10804 |
+
order: 5; }
|
10805 |
+
|
10806 |
+
.mdl-cell--order-6 {
|
10807 |
+
-webkit-order: 6;
|
10808 |
+
-ms-flex-order: 6;
|
10809 |
+
order: 6; }
|
10810 |
+
|
10811 |
+
.mdl-cell--order-7 {
|
10812 |
+
-webkit-order: 7;
|
10813 |
+
-ms-flex-order: 7;
|
10814 |
+
order: 7; }
|
10815 |
+
|
10816 |
+
.mdl-cell--order-8 {
|
10817 |
+
-webkit-order: 8;
|
10818 |
+
-ms-flex-order: 8;
|
10819 |
+
order: 8; }
|
10820 |
+
|
10821 |
+
.mdl-cell--order-9 {
|
10822 |
+
-webkit-order: 9;
|
10823 |
+
-ms-flex-order: 9;
|
10824 |
+
order: 9; }
|
10825 |
+
|
10826 |
+
.mdl-cell--order-10 {
|
10827 |
+
-webkit-order: 10;
|
10828 |
+
-ms-flex-order: 10;
|
10829 |
+
order: 10; }
|
10830 |
+
|
10831 |
+
.mdl-cell--order-11 {
|
10832 |
+
-webkit-order: 11;
|
10833 |
+
-ms-flex-order: 11;
|
10834 |
+
order: 11; }
|
10835 |
+
|
10836 |
+
.mdl-cell--order-12 {
|
10837 |
+
-webkit-order: 12;
|
10838 |
+
-ms-flex-order: 12;
|
10839 |
+
order: 12; }
|
10840 |
+
|
10841 |
+
@media (max-width: 479px) {
|
10842 |
+
.mdl-grid {
|
10843 |
+
padding: 8px; }
|
10844 |
+
.mdl-cell {
|
10845 |
+
margin: 8px;
|
10846 |
+
width: calc(100% - 16px); }
|
10847 |
+
.mdl-grid--no-spacing > .mdl-cell {
|
10848 |
+
width: 100%; }
|
10849 |
+
.mdl-cell--hide-phone {
|
10850 |
+
display: none !important; }
|
10851 |
+
.mdl-cell--order-1-phone.mdl-cell--order-1-phone {
|
10852 |
+
-webkit-order: 1;
|
10853 |
+
-ms-flex-order: 1;
|
10854 |
+
order: 1; }
|
10855 |
+
.mdl-cell--order-2-phone.mdl-cell--order-2-phone {
|
10856 |
+
-webkit-order: 2;
|
10857 |
+
-ms-flex-order: 2;
|
10858 |
+
order: 2; }
|
10859 |
+
.mdl-cell--order-3-phone.mdl-cell--order-3-phone {
|
10860 |
+
-webkit-order: 3;
|
10861 |
+
-ms-flex-order: 3;
|
10862 |
+
order: 3; }
|
10863 |
+
.mdl-cell--order-4-phone.mdl-cell--order-4-phone {
|
10864 |
+
-webkit-order: 4;
|
10865 |
+
-ms-flex-order: 4;
|
10866 |
+
order: 4; }
|
10867 |
+
.mdl-cell--order-5-phone.mdl-cell--order-5-phone {
|
10868 |
+
-webkit-order: 5;
|
10869 |
+
-ms-flex-order: 5;
|
10870 |
+
order: 5; }
|
10871 |
+
.mdl-cell--order-6-phone.mdl-cell--order-6-phone {
|
10872 |
+
-webkit-order: 6;
|
10873 |
+
-ms-flex-order: 6;
|
10874 |
+
order: 6; }
|
10875 |
+
.mdl-cell--order-7-phone.mdl-cell--order-7-phone {
|
10876 |
+
-webkit-order: 7;
|
10877 |
+
-ms-flex-order: 7;
|
10878 |
+
order: 7; }
|
10879 |
+
.mdl-cell--order-8-phone.mdl-cell--order-8-phone {
|
10880 |
+
-webkit-order: 8;
|
10881 |
+
-ms-flex-order: 8;
|
10882 |
+
order: 8; }
|
10883 |
+
.mdl-cell--order-9-phone.mdl-cell--order-9-phone {
|
10884 |
+
-webkit-order: 9;
|
10885 |
+
-ms-flex-order: 9;
|
10886 |
+
order: 9; }
|
10887 |
+
.mdl-cell--order-10-phone.mdl-cell--order-10-phone {
|
10888 |
+
-webkit-order: 10;
|
10889 |
+
-ms-flex-order: 10;
|
10890 |
+
order: 10; }
|
10891 |
+
.mdl-cell--order-11-phone.mdl-cell--order-11-phone {
|
10892 |
+
-webkit-order: 11;
|
10893 |
+
-ms-flex-order: 11;
|
10894 |
+
order: 11; }
|
10895 |
+
.mdl-cell--order-12-phone.mdl-cell--order-12-phone {
|
10896 |
+
-webkit-order: 12;
|
10897 |
+
-ms-flex-order: 12;
|
10898 |
+
order: 12; }
|
10899 |
+
.mdl-cell--1-col,
|
10900 |
+
.mdl-cell--1-col-phone.mdl-cell--1-col-phone {
|
10901 |
+
width: calc(25% - 16px); }
|
10902 |
+
.mdl-grid--no-spacing > .mdl-cell--1-col, .mdl-grid--no-spacing >
|
10903 |
+
.mdl-cell--1-col-phone.mdl-cell--1-col-phone {
|
10904 |
+
width: 25%; }
|
10905 |
+
.mdl-cell--2-col,
|
10906 |
+
.mdl-cell--2-col-phone.mdl-cell--2-col-phone {
|
10907 |
+
width: calc(50% - 16px); }
|
10908 |
+
.mdl-grid--no-spacing > .mdl-cell--2-col, .mdl-grid--no-spacing >
|
10909 |
+
.mdl-cell--2-col-phone.mdl-cell--2-col-phone {
|
10910 |
+
width: 50%; }
|
10911 |
+
.mdl-cell--3-col,
|
10912 |
+
.mdl-cell--3-col-phone.mdl-cell--3-col-phone {
|
10913 |
+
width: calc(75% - 16px); }
|
10914 |
+
.mdl-grid--no-spacing > .mdl-cell--3-col, .mdl-grid--no-spacing >
|
10915 |
+
.mdl-cell--3-col-phone.mdl-cell--3-col-phone {
|
10916 |
+
width: 75%; }
|
10917 |
+
.mdl-cell--4-col,
|
10918 |
+
.mdl-cell--4-col-phone.mdl-cell--4-col-phone {
|
10919 |
+
width: calc(100% - 16px); }
|
10920 |
+
.mdl-grid--no-spacing > .mdl-cell--4-col, .mdl-grid--no-spacing >
|
10921 |
+
.mdl-cell--4-col-phone.mdl-cell--4-col-phone {
|
10922 |
+
width: 100%; }
|
10923 |
+
.mdl-cell--5-col,
|
10924 |
+
.mdl-cell--5-col-phone.mdl-cell--5-col-phone {
|
10925 |
+
width: calc(100% - 16px); }
|
10926 |
+
.mdl-grid--no-spacing > .mdl-cell--5-col, .mdl-grid--no-spacing >
|
10927 |
+
.mdl-cell--5-col-phone.mdl-cell--5-col-phone {
|
10928 |
+
width: 100%; }
|
10929 |
+
.mdl-cell--6-col,
|
10930 |
+
.mdl-cell--6-col-phone.mdl-cell--6-col-phone {
|
10931 |
+
width: calc(100% - 16px); }
|
10932 |
+
.mdl-grid--no-spacing > .mdl-cell--6-col, .mdl-grid--no-spacing >
|
10933 |
+
.mdl-cell--6-col-phone.mdl-cell--6-col-phone {
|
10934 |
+
width: 100%; }
|
10935 |
+
.mdl-cell--7-col,
|
10936 |
+
.mdl-cell--7-col-phone.mdl-cell--7-col-phone {
|
10937 |
+
width: calc(100% - 16px); }
|
10938 |
+
.mdl-grid--no-spacing > .mdl-cell--7-col, .mdl-grid--no-spacing >
|
10939 |
+
.mdl-cell--7-col-phone.mdl-cell--7-col-phone {
|
10940 |
+
width: 100%; }
|
10941 |
+
.mdl-cell--8-col,
|
10942 |
+
.mdl-cell--8-col-phone.mdl-cell--8-col-phone {
|
10943 |
+
width: calc(100% - 16px); }
|
10944 |
+
.mdl-grid--no-spacing > .mdl-cell--8-col, .mdl-grid--no-spacing >
|
10945 |
+
.mdl-cell--8-col-phone.mdl-cell--8-col-phone {
|
10946 |
+
width: 100%; }
|
10947 |
+
.mdl-cell--9-col,
|
10948 |
+
.mdl-cell--9-col-phone.mdl-cell--9-col-phone {
|
10949 |
+
width: calc(100% - 16px); }
|
10950 |
+
.mdl-grid--no-spacing > .mdl-cell--9-col, .mdl-grid--no-spacing >
|
10951 |
+
.mdl-cell--9-col-phone.mdl-cell--9-col-phone {
|
10952 |
+
width: 100%; }
|
10953 |
+
.mdl-cell--10-col,
|
10954 |
+
.mdl-cell--10-col-phone.mdl-cell--10-col-phone {
|
10955 |
+
width: calc(100% - 16px); }
|
10956 |
+
.mdl-grid--no-spacing > .mdl-cell--10-col, .mdl-grid--no-spacing >
|
10957 |
+
.mdl-cell--10-col-phone.mdl-cell--10-col-phone {
|
10958 |
+
width: 100%; }
|
10959 |
+
.mdl-cell--11-col,
|
10960 |
+
.mdl-cell--11-col-phone.mdl-cell--11-col-phone {
|
10961 |
+
width: calc(100% - 16px); }
|
10962 |
+
.mdl-grid--no-spacing > .mdl-cell--11-col, .mdl-grid--no-spacing >
|
10963 |
+
.mdl-cell--11-col-phone.mdl-cell--11-col-phone {
|
10964 |
+
width: 100%; }
|
10965 |
+
.mdl-cell--12-col,
|
10966 |
+
.mdl-cell--12-col-phone.mdl-cell--12-col-phone {
|
10967 |
+
width: calc(100% - 16px); }
|
10968 |
+
.mdl-grid--no-spacing > .mdl-cell--12-col, .mdl-grid--no-spacing >
|
10969 |
+
.mdl-cell--12-col-phone.mdl-cell--12-col-phone {
|
10970 |
+
width: 100%; }
|
10971 |
+
.mdl-cell--1-offset,
|
10972 |
+
.mdl-cell--1-offset-phone.mdl-cell--1-offset-phone {
|
10973 |
+
margin-left: calc(25% + 8px); }
|
10974 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--1-offset, .mdl-grid.mdl-grid--no-spacing >
|
10975 |
+
.mdl-cell--1-offset-phone.mdl-cell--1-offset-phone {
|
10976 |
+
margin-left: 25%; }
|
10977 |
+
.mdl-cell--2-offset,
|
10978 |
+
.mdl-cell--2-offset-phone.mdl-cell--2-offset-phone {
|
10979 |
+
margin-left: calc(50% + 8px); }
|
10980 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--2-offset, .mdl-grid.mdl-grid--no-spacing >
|
10981 |
+
.mdl-cell--2-offset-phone.mdl-cell--2-offset-phone {
|
10982 |
+
margin-left: 50%; }
|
10983 |
+
.mdl-cell--3-offset,
|
10984 |
+
.mdl-cell--3-offset-phone.mdl-cell--3-offset-phone {
|
10985 |
+
margin-left: calc(75% + 8px); }
|
10986 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--3-offset, .mdl-grid.mdl-grid--no-spacing >
|
10987 |
+
.mdl-cell--3-offset-phone.mdl-cell--3-offset-phone {
|
10988 |
+
margin-left: 75%; } }
|
10989 |
+
|
10990 |
+
@media (min-width: 480px) and (max-width: 839px) {
|
10991 |
+
.mdl-grid {
|
10992 |
+
padding: 8px; }
|
10993 |
+
.mdl-cell {
|
10994 |
+
margin: 8px;
|
10995 |
+
width: calc(50% - 16px); }
|
10996 |
+
.mdl-grid--no-spacing > .mdl-cell {
|
10997 |
+
width: 50%; }
|
10998 |
+
.mdl-cell--hide-tablet {
|
10999 |
+
display: none !important; }
|
11000 |
+
.mdl-cell--order-1-tablet.mdl-cell--order-1-tablet {
|
11001 |
+
-webkit-order: 1;
|
11002 |
+
-ms-flex-order: 1;
|
11003 |
+
order: 1; }
|
11004 |
+
.mdl-cell--order-2-tablet.mdl-cell--order-2-tablet {
|
11005 |
+
-webkit-order: 2;
|
11006 |
+
-ms-flex-order: 2;
|
11007 |
+
order: 2; }
|
11008 |
+
.mdl-cell--order-3-tablet.mdl-cell--order-3-tablet {
|
11009 |
+
-webkit-order: 3;
|
11010 |
+
-ms-flex-order: 3;
|
11011 |
+
order: 3; }
|
11012 |
+
.mdl-cell--order-4-tablet.mdl-cell--order-4-tablet {
|
11013 |
+
-webkit-order: 4;
|
11014 |
+
-ms-flex-order: 4;
|
11015 |
+
order: 4; }
|
11016 |
+
.mdl-cell--order-5-tablet.mdl-cell--order-5-tablet {
|
11017 |
+
-webkit-order: 5;
|
11018 |
+
-ms-flex-order: 5;
|
11019 |
+
order: 5; }
|
11020 |
+
.mdl-cell--order-6-tablet.mdl-cell--order-6-tablet {
|
11021 |
+
-webkit-order: 6;
|
11022 |
+
-ms-flex-order: 6;
|
11023 |
+
order: 6; }
|
11024 |
+
.mdl-cell--order-7-tablet.mdl-cell--order-7-tablet {
|
11025 |
+
-webkit-order: 7;
|
11026 |
+
-ms-flex-order: 7;
|
11027 |
+
order: 7; }
|
11028 |
+
.mdl-cell--order-8-tablet.mdl-cell--order-8-tablet {
|
11029 |
+
-webkit-order: 8;
|
11030 |
+
-ms-flex-order: 8;
|
11031 |
+
order: 8; }
|
11032 |
+
.mdl-cell--order-9-tablet.mdl-cell--order-9-tablet {
|
11033 |
+
-webkit-order: 9;
|
11034 |
+
-ms-flex-order: 9;
|
11035 |
+
order: 9; }
|
11036 |
+
.mdl-cell--order-10-tablet.mdl-cell--order-10-tablet {
|
11037 |
+
-webkit-order: 10;
|
11038 |
+
-ms-flex-order: 10;
|
11039 |
+
order: 10; }
|
11040 |
+
.mdl-cell--order-11-tablet.mdl-cell--order-11-tablet {
|
11041 |
+
-webkit-order: 11;
|
11042 |
+
-ms-flex-order: 11;
|
11043 |
+
order: 11; }
|
11044 |
+
.mdl-cell--order-12-tablet.mdl-cell--order-12-tablet {
|
11045 |
+
-webkit-order: 12;
|
11046 |
+
-ms-flex-order: 12;
|
11047 |
+
order: 12; }
|
11048 |
+
.mdl-cell--1-col,
|
11049 |
+
.mdl-cell--1-col-tablet.mdl-cell--1-col-tablet {
|
11050 |
+
width: calc(12.5% - 16px); }
|
11051 |
+
.mdl-grid--no-spacing > .mdl-cell--1-col, .mdl-grid--no-spacing >
|
11052 |
+
.mdl-cell--1-col-tablet.mdl-cell--1-col-tablet {
|
11053 |
+
width: 12.5%; }
|
11054 |
+
.mdl-cell--2-col,
|
11055 |
+
.mdl-cell--2-col-tablet.mdl-cell--2-col-tablet {
|
11056 |
+
width: calc(25% - 16px); }
|
11057 |
+
.mdl-grid--no-spacing > .mdl-cell--2-col, .mdl-grid--no-spacing >
|
11058 |
+
.mdl-cell--2-col-tablet.mdl-cell--2-col-tablet {
|
11059 |
+
width: 25%; }
|
11060 |
+
.mdl-cell--3-col,
|
11061 |
+
.mdl-cell--3-col-tablet.mdl-cell--3-col-tablet {
|
11062 |
+
width: calc(37.5% - 16px); }
|
11063 |
+
.mdl-grid--no-spacing > .mdl-cell--3-col, .mdl-grid--no-spacing >
|
11064 |
+
.mdl-cell--3-col-tablet.mdl-cell--3-col-tablet {
|
11065 |
+
width: 37.5%; }
|
11066 |
+
.mdl-cell--4-col,
|
11067 |
+
.mdl-cell--4-col-tablet.mdl-cell--4-col-tablet {
|
11068 |
+
width: calc(50% - 16px); }
|
11069 |
+
.mdl-grid--no-spacing > .mdl-cell--4-col, .mdl-grid--no-spacing >
|
11070 |
+
.mdl-cell--4-col-tablet.mdl-cell--4-col-tablet {
|
11071 |
+
width: 50%; }
|
11072 |
+
.mdl-cell--5-col,
|
11073 |
+
.mdl-cell--5-col-tablet.mdl-cell--5-col-tablet {
|
11074 |
+
width: calc(62.5% - 16px); }
|
11075 |
+
.mdl-grid--no-spacing > .mdl-cell--5-col, .mdl-grid--no-spacing >
|
11076 |
+
.mdl-cell--5-col-tablet.mdl-cell--5-col-tablet {
|
11077 |
+
width: 62.5%; }
|
11078 |
+
.mdl-cell--6-col,
|
11079 |
+
.mdl-cell--6-col-tablet.mdl-cell--6-col-tablet {
|
11080 |
+
width: calc(75% - 16px); }
|
11081 |
+
.mdl-grid--no-spacing > .mdl-cell--6-col, .mdl-grid--no-spacing >
|
11082 |
+
.mdl-cell--6-col-tablet.mdl-cell--6-col-tablet {
|
11083 |
+
width: 75%; }
|
11084 |
+
.mdl-cell--7-col,
|
11085 |
+
.mdl-cell--7-col-tablet.mdl-cell--7-col-tablet {
|
11086 |
+
width: calc(87.5% - 16px); }
|
11087 |
+
.mdl-grid--no-spacing > .mdl-cell--7-col, .mdl-grid--no-spacing >
|
11088 |
+
.mdl-cell--7-col-tablet.mdl-cell--7-col-tablet {
|
11089 |
+
width: 87.5%; }
|
11090 |
+
.mdl-cell--8-col,
|
11091 |
+
.mdl-cell--8-col-tablet.mdl-cell--8-col-tablet {
|
11092 |
+
width: calc(100% - 16px); }
|
11093 |
+
.mdl-grid--no-spacing > .mdl-cell--8-col, .mdl-grid--no-spacing >
|
11094 |
+
.mdl-cell--8-col-tablet.mdl-cell--8-col-tablet {
|
11095 |
+
width: 100%; }
|
11096 |
+
.mdl-cell--9-col,
|
11097 |
+
.mdl-cell--9-col-tablet.mdl-cell--9-col-tablet {
|
11098 |
+
width: calc(100% - 16px); }
|
11099 |
+
.mdl-grid--no-spacing > .mdl-cell--9-col, .mdl-grid--no-spacing >
|
11100 |
+
.mdl-cell--9-col-tablet.mdl-cell--9-col-tablet {
|
11101 |
+
width: 100%; }
|
11102 |
+
.mdl-cell--10-col,
|
11103 |
+
.mdl-cell--10-col-tablet.mdl-cell--10-col-tablet {
|
11104 |
+
width: calc(100% - 16px); }
|
11105 |
+
.mdl-grid--no-spacing > .mdl-cell--10-col, .mdl-grid--no-spacing >
|
11106 |
+
.mdl-cell--10-col-tablet.mdl-cell--10-col-tablet {
|
11107 |
+
width: 100%; }
|
11108 |
+
.mdl-cell--11-col,
|
11109 |
+
.mdl-cell--11-col-tablet.mdl-cell--11-col-tablet {
|
11110 |
+
width: calc(100% - 16px); }
|
11111 |
+
.mdl-grid--no-spacing > .mdl-cell--11-col, .mdl-grid--no-spacing >
|
11112 |
+
.mdl-cell--11-col-tablet.mdl-cell--11-col-tablet {
|
11113 |
+
width: 100%; }
|
11114 |
+
.mdl-cell--12-col,
|
11115 |
+
.mdl-cell--12-col-tablet.mdl-cell--12-col-tablet {
|
11116 |
+
width: calc(100% - 16px); }
|
11117 |
+
.mdl-grid--no-spacing > .mdl-cell--12-col, .mdl-grid--no-spacing >
|
11118 |
+
.mdl-cell--12-col-tablet.mdl-cell--12-col-tablet {
|
11119 |
+
width: 100%; }
|
11120 |
+
.mdl-cell--1-offset,
|
11121 |
+
.mdl-cell--1-offset-tablet.mdl-cell--1-offset-tablet {
|
11122 |
+
margin-left: calc(12.5% + 8px); }
|
11123 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--1-offset, .mdl-grid.mdl-grid--no-spacing >
|
11124 |
+
.mdl-cell--1-offset-tablet.mdl-cell--1-offset-tablet {
|
11125 |
+
margin-left: 12.5%; }
|
11126 |
+
.mdl-cell--2-offset,
|
11127 |
+
.mdl-cell--2-offset-tablet.mdl-cell--2-offset-tablet {
|
11128 |
+
margin-left: calc(25% + 8px); }
|
11129 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--2-offset, .mdl-grid.mdl-grid--no-spacing >
|
11130 |
+
.mdl-cell--2-offset-tablet.mdl-cell--2-offset-tablet {
|
11131 |
+
margin-left: 25%; }
|
11132 |
+
.mdl-cell--3-offset,
|
11133 |
+
.mdl-cell--3-offset-tablet.mdl-cell--3-offset-tablet {
|
11134 |
+
margin-left: calc(37.5% + 8px); }
|
11135 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--3-offset, .mdl-grid.mdl-grid--no-spacing >
|
11136 |
+
.mdl-cell--3-offset-tablet.mdl-cell--3-offset-tablet {
|
11137 |
+
margin-left: 37.5%; }
|
11138 |
+
.mdl-cell--4-offset,
|
11139 |
+
.mdl-cell--4-offset-tablet.mdl-cell--4-offset-tablet {
|
11140 |
+
margin-left: calc(50% + 8px); }
|
11141 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--4-offset, .mdl-grid.mdl-grid--no-spacing >
|
11142 |
+
.mdl-cell--4-offset-tablet.mdl-cell--4-offset-tablet {
|
11143 |
+
margin-left: 50%; }
|
11144 |
+
.mdl-cell--5-offset,
|
11145 |
+
.mdl-cell--5-offset-tablet.mdl-cell--5-offset-tablet {
|
11146 |
+
margin-left: calc(62.5% + 8px); }
|
11147 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--5-offset, .mdl-grid.mdl-grid--no-spacing >
|
11148 |
+
.mdl-cell--5-offset-tablet.mdl-cell--5-offset-tablet {
|
11149 |
+
margin-left: 62.5%; }
|
11150 |
+
.mdl-cell--6-offset,
|
11151 |
+
.mdl-cell--6-offset-tablet.mdl-cell--6-offset-tablet {
|
11152 |
+
margin-left: calc(75% + 8px); }
|
11153 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--6-offset, .mdl-grid.mdl-grid--no-spacing >
|
11154 |
+
.mdl-cell--6-offset-tablet.mdl-cell--6-offset-tablet {
|
11155 |
+
margin-left: 75%; }
|
11156 |
+
.mdl-cell--7-offset,
|
11157 |
+
.mdl-cell--7-offset-tablet.mdl-cell--7-offset-tablet {
|
11158 |
+
margin-left: calc(87.5% + 8px); }
|
11159 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--7-offset, .mdl-grid.mdl-grid--no-spacing >
|
11160 |
+
.mdl-cell--7-offset-tablet.mdl-cell--7-offset-tablet {
|
11161 |
+
margin-left: 87.5%; } }
|
11162 |
+
|
11163 |
+
@media (min-width: 840px) {
|
11164 |
+
.mdl-grid {
|
11165 |
+
padding: 8px; }
|
11166 |
+
.mdl-cell {
|
11167 |
+
margin: 8px;
|
11168 |
+
width: calc(33.3333333333% - 16px); }
|
11169 |
+
.mdl-grid--no-spacing > .mdl-cell {
|
11170 |
+
width: 33.3333333333%; }
|
11171 |
+
.mdl-cell--hide-desktop {
|
11172 |
+
display: none !important; }
|
11173 |
+
.mdl-cell--order-1-desktop.mdl-cell--order-1-desktop {
|
11174 |
+
-webkit-order: 1;
|
11175 |
+
-ms-flex-order: 1;
|
11176 |
+
order: 1; }
|
11177 |
+
.mdl-cell--order-2-desktop.mdl-cell--order-2-desktop {
|
11178 |
+
-webkit-order: 2;
|
11179 |
+
-ms-flex-order: 2;
|
11180 |
+
order: 2; }
|
11181 |
+
.mdl-cell--order-3-desktop.mdl-cell--order-3-desktop {
|
11182 |
+
-webkit-order: 3;
|
11183 |
+
-ms-flex-order: 3;
|
11184 |
+
order: 3; }
|
11185 |
+
.mdl-cell--order-4-desktop.mdl-cell--order-4-desktop {
|
11186 |
+
-webkit-order: 4;
|
11187 |
+
-ms-flex-order: 4;
|
11188 |
+
order: 4; }
|
11189 |
+
.mdl-cell--order-5-desktop.mdl-cell--order-5-desktop {
|
11190 |
+
-webkit-order: 5;
|
11191 |
+
-ms-flex-order: 5;
|
11192 |
+
order: 5; }
|
11193 |
+
.mdl-cell--order-6-desktop.mdl-cell--order-6-desktop {
|
11194 |
+
-webkit-order: 6;
|
11195 |
+
-ms-flex-order: 6;
|
11196 |
+
order: 6; }
|
11197 |
+
.mdl-cell--order-7-desktop.mdl-cell--order-7-desktop {
|
11198 |
+
-webkit-order: 7;
|
11199 |
+
-ms-flex-order: 7;
|
11200 |
+
order: 7; }
|
11201 |
+
.mdl-cell--order-8-desktop.mdl-cell--order-8-desktop {
|
11202 |
+
-webkit-order: 8;
|
11203 |
+
-ms-flex-order: 8;
|
11204 |
+
order: 8; }
|
11205 |
+
.mdl-cell--order-9-desktop.mdl-cell--order-9-desktop {
|
11206 |
+
-webkit-order: 9;
|
11207 |
+
-ms-flex-order: 9;
|
11208 |
+
order: 9; }
|
11209 |
+
.mdl-cell--order-10-desktop.mdl-cell--order-10-desktop {
|
11210 |
+
-webkit-order: 10;
|
11211 |
+
-ms-flex-order: 10;
|
11212 |
+
order: 10; }
|
11213 |
+
.mdl-cell--order-11-desktop.mdl-cell--order-11-desktop {
|
11214 |
+
-webkit-order: 11;
|
11215 |
+
-ms-flex-order: 11;
|
11216 |
+
order: 11; }
|
11217 |
+
.mdl-cell--order-12-desktop.mdl-cell--order-12-desktop {
|
11218 |
+
-webkit-order: 12;
|
11219 |
+
-ms-flex-order: 12;
|
11220 |
+
order: 12; }
|
11221 |
+
.mdl-cell--1-col,
|
11222 |
+
.mdl-cell--1-col-desktop.mdl-cell--1-col-desktop {
|
11223 |
+
width: calc(8.3333333333% - 16px); }
|
11224 |
+
.mdl-grid--no-spacing > .mdl-cell--1-col, .mdl-grid--no-spacing >
|
11225 |
+
.mdl-cell--1-col-desktop.mdl-cell--1-col-desktop {
|
11226 |
+
width: 8.3333333333%; }
|
11227 |
+
.mdl-cell--2-col,
|
11228 |
+
.mdl-cell--2-col-desktop.mdl-cell--2-col-desktop {
|
11229 |
+
width: calc(16.6666666667% - 16px); }
|
11230 |
+
.mdl-grid--no-spacing > .mdl-cell--2-col, .mdl-grid--no-spacing >
|
11231 |
+
.mdl-cell--2-col-desktop.mdl-cell--2-col-desktop {
|
11232 |
+
width: 16.6666666667%; }
|
11233 |
+
.mdl-cell--3-col,
|
11234 |
+
.mdl-cell--3-col-desktop.mdl-cell--3-col-desktop {
|
11235 |
+
width: calc(25% - 16px); }
|
11236 |
+
.mdl-grid--no-spacing > .mdl-cell--3-col, .mdl-grid--no-spacing >
|
11237 |
+
.mdl-cell--3-col-desktop.mdl-cell--3-col-desktop {
|
11238 |
+
width: 25%; }
|
11239 |
+
.mdl-cell--4-col,
|
11240 |
+
.mdl-cell--4-col-desktop.mdl-cell--4-col-desktop {
|
11241 |
+
width: calc(33.3333333333% - 16px); }
|
11242 |
+
.mdl-grid--no-spacing > .mdl-cell--4-col, .mdl-grid--no-spacing >
|
11243 |
+
.mdl-cell--4-col-desktop.mdl-cell--4-col-desktop {
|
11244 |
+
width: 33.3333333333%; }
|
11245 |
+
.mdl-cell--5-col,
|
11246 |
+
.mdl-cell--5-col-desktop.mdl-cell--5-col-desktop {
|
11247 |
+
width: calc(41.6666666667% - 16px); }
|
11248 |
+
.mdl-grid--no-spacing > .mdl-cell--5-col, .mdl-grid--no-spacing >
|
11249 |
+
.mdl-cell--5-col-desktop.mdl-cell--5-col-desktop {
|
11250 |
+
width: 41.6666666667%; }
|
11251 |
+
.mdl-cell--6-col,
|
11252 |
+
.mdl-cell--6-col-desktop.mdl-cell--6-col-desktop {
|
11253 |
+
width: calc(50% - 16px); }
|
11254 |
+
.mdl-grid--no-spacing > .mdl-cell--6-col, .mdl-grid--no-spacing >
|
11255 |
+
.mdl-cell--6-col-desktop.mdl-cell--6-col-desktop {
|
11256 |
+
width: 50%; }
|
11257 |
+
.mdl-cell--7-col,
|
11258 |
+
.mdl-cell--7-col-desktop.mdl-cell--7-col-desktop {
|
11259 |
+
width: calc(58.3333333333% - 16px); }
|
11260 |
+
.mdl-grid--no-spacing > .mdl-cell--7-col, .mdl-grid--no-spacing >
|
11261 |
+
.mdl-cell--7-col-desktop.mdl-cell--7-col-desktop {
|
11262 |
+
width: 58.3333333333%; }
|
11263 |
+
.mdl-cell--8-col,
|
11264 |
+
.mdl-cell--8-col-desktop.mdl-cell--8-col-desktop {
|
11265 |
+
width: calc(66.6666666667% - 16px); }
|
11266 |
+
.mdl-grid--no-spacing > .mdl-cell--8-col, .mdl-grid--no-spacing >
|
11267 |
+
.mdl-cell--8-col-desktop.mdl-cell--8-col-desktop {
|
11268 |
+
width: 66.6666666667%; }
|
11269 |
+
.mdl-cell--9-col,
|
11270 |
+
.mdl-cell--9-col-desktop.mdl-cell--9-col-desktop {
|
11271 |
+
width: calc(75% - 16px); }
|
11272 |
+
.mdl-grid--no-spacing > .mdl-cell--9-col, .mdl-grid--no-spacing >
|
11273 |
+
.mdl-cell--9-col-desktop.mdl-cell--9-col-desktop {
|
11274 |
+
width: 75%; }
|
11275 |
+
.mdl-cell--10-col,
|
11276 |
+
.mdl-cell--10-col-desktop.mdl-cell--10-col-desktop {
|
11277 |
+
width: calc(83.3333333333% - 16px); }
|
11278 |
+
.mdl-grid--no-spacing > .mdl-cell--10-col, .mdl-grid--no-spacing >
|
11279 |
+
.mdl-cell--10-col-desktop.mdl-cell--10-col-desktop {
|
11280 |
+
width: 83.3333333333%; }
|
11281 |
+
.mdl-cell--11-col,
|
11282 |
+
.mdl-cell--11-col-desktop.mdl-cell--11-col-desktop {
|
11283 |
+
width: calc(91.6666666667% - 16px); }
|
11284 |
+
.mdl-grid--no-spacing > .mdl-cell--11-col, .mdl-grid--no-spacing >
|
11285 |
+
.mdl-cell--11-col-desktop.mdl-cell--11-col-desktop {
|
11286 |
+
width: 91.6666666667%; }
|
11287 |
+
.mdl-cell--12-col,
|
11288 |
+
.mdl-cell--12-col-desktop.mdl-cell--12-col-desktop {
|
11289 |
+
width: calc(100% - 16px); }
|
11290 |
+
.mdl-grid--no-spacing > .mdl-cell--12-col, .mdl-grid--no-spacing >
|
11291 |
+
.mdl-cell--12-col-desktop.mdl-cell--12-col-desktop {
|
11292 |
+
width: 100%; }
|
11293 |
+
.mdl-cell--1-offset,
|
11294 |
+
.mdl-cell--1-offset-desktop.mdl-cell--1-offset-desktop {
|
11295 |
+
margin-left: calc(8.3333333333% + 8px); }
|
11296 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--1-offset, .mdl-grid.mdl-grid--no-spacing >
|
11297 |
+
.mdl-cell--1-offset-desktop.mdl-cell--1-offset-desktop {
|
11298 |
+
margin-left: 8.3333333333%; }
|
11299 |
+
.mdl-cell--2-offset,
|
11300 |
+
.mdl-cell--2-offset-desktop.mdl-cell--2-offset-desktop {
|
11301 |
+
margin-left: calc(16.6666666667% + 8px); }
|
11302 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--2-offset, .mdl-grid.mdl-grid--no-spacing >
|
11303 |
+
.mdl-cell--2-offset-desktop.mdl-cell--2-offset-desktop {
|
11304 |
+
margin-left: 16.6666666667%; }
|
11305 |
+
.mdl-cell--3-offset,
|
11306 |
+
.mdl-cell--3-offset-desktop.mdl-cell--3-offset-desktop {
|
11307 |
+
margin-left: calc(25% + 8px); }
|
11308 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--3-offset, .mdl-grid.mdl-grid--no-spacing >
|
11309 |
+
.mdl-cell--3-offset-desktop.mdl-cell--3-offset-desktop {
|
11310 |
+
margin-left: 25%; }
|
11311 |
+
.mdl-cell--4-offset,
|
11312 |
+
.mdl-cell--4-offset-desktop.mdl-cell--4-offset-desktop {
|
11313 |
+
margin-left: calc(33.3333333333% + 8px); }
|
11314 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--4-offset, .mdl-grid.mdl-grid--no-spacing >
|
11315 |
+
.mdl-cell--4-offset-desktop.mdl-cell--4-offset-desktop {
|
11316 |
+
margin-left: 33.3333333333%; }
|
11317 |
+
.mdl-cell--5-offset,
|
11318 |
+
.mdl-cell--5-offset-desktop.mdl-cell--5-offset-desktop {
|
11319 |
+
margin-left: calc(41.6666666667% + 8px); }
|
11320 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--5-offset, .mdl-grid.mdl-grid--no-spacing >
|
11321 |
+
.mdl-cell--5-offset-desktop.mdl-cell--5-offset-desktop {
|
11322 |
+
margin-left: 41.6666666667%; }
|
11323 |
+
.mdl-cell--6-offset,
|
11324 |
+
.mdl-cell--6-offset-desktop.mdl-cell--6-offset-desktop {
|
11325 |
+
margin-left: calc(50% + 8px); }
|
11326 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--6-offset, .mdl-grid.mdl-grid--no-spacing >
|
11327 |
+
.mdl-cell--6-offset-desktop.mdl-cell--6-offset-desktop {
|
11328 |
+
margin-left: 50%; }
|
11329 |
+
.mdl-cell--7-offset,
|
11330 |
+
.mdl-cell--7-offset-desktop.mdl-cell--7-offset-desktop {
|
11331 |
+
margin-left: calc(58.3333333333% + 8px); }
|
11332 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--7-offset, .mdl-grid.mdl-grid--no-spacing >
|
11333 |
+
.mdl-cell--7-offset-desktop.mdl-cell--7-offset-desktop {
|
11334 |
+
margin-left: 58.3333333333%; }
|
11335 |
+
.mdl-cell--8-offset,
|
11336 |
+
.mdl-cell--8-offset-desktop.mdl-cell--8-offset-desktop {
|
11337 |
+
margin-left: calc(66.6666666667% + 8px); }
|
11338 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--8-offset, .mdl-grid.mdl-grid--no-spacing >
|
11339 |
+
.mdl-cell--8-offset-desktop.mdl-cell--8-offset-desktop {
|
11340 |
+
margin-left: 66.6666666667%; }
|
11341 |
+
.mdl-cell--9-offset,
|
11342 |
+
.mdl-cell--9-offset-desktop.mdl-cell--9-offset-desktop {
|
11343 |
+
margin-left: calc(75% + 8px); }
|
11344 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--9-offset, .mdl-grid.mdl-grid--no-spacing >
|
11345 |
+
.mdl-cell--9-offset-desktop.mdl-cell--9-offset-desktop {
|
11346 |
+
margin-left: 75%; }
|
11347 |
+
.mdl-cell--10-offset,
|
11348 |
+
.mdl-cell--10-offset-desktop.mdl-cell--10-offset-desktop {
|
11349 |
+
margin-left: calc(83.3333333333% + 8px); }
|
11350 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--10-offset, .mdl-grid.mdl-grid--no-spacing >
|
11351 |
+
.mdl-cell--10-offset-desktop.mdl-cell--10-offset-desktop {
|
11352 |
+
margin-left: 83.3333333333%; }
|
11353 |
+
.mdl-cell--11-offset,
|
11354 |
+
.mdl-cell--11-offset-desktop.mdl-cell--11-offset-desktop {
|
11355 |
+
margin-left: calc(91.6666666667% + 8px); }
|
11356 |
+
.mdl-grid.mdl-grid--no-spacing > .mdl-cell--11-offset, .mdl-grid.mdl-grid--no-spacing >
|
11357 |
+
.mdl-cell--11-offset-desktop.mdl-cell--11-offset-desktop {
|
11358 |
+
margin-left: 91.6666666667%; } }
|
assets/css/material.min.css
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* material-design-lite - Material Design Components in CSS, JS and HTML
|
3 |
+
* @version v1.3.0
|
4 |
+
* @license Apache-2.0
|
5 |
+
* @copyright 2015 Google, Inc.
|
6 |
+
* @link https://github.com/google/material-design-lite
|
7 |
+
*/
|
8 |
+
@charset "UTF-8";html{color:rgba(0,0,0,.87)}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.browserupgrade{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.hidden{display:none!important}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}@media print{*,*:before,*:after,*:first-letter{background:transparent!important;color:#000!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href)")"}abbr[title]:after{content:" (" attr(title)")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}a,.mdl-accordion,.mdl-button,.mdl-card,.mdl-checkbox,.mdl-dropdown-menu,.mdl-icon-toggle,.mdl-item,.mdl-radio,.mdl-slider,.mdl-switch,.mdl-tabs__tab{-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:rgba(255,255,255,0)}html{width:100%;height:100%;-ms-touch-action:manipulation;touch-action:manipulation}body{width:100%;min-height:100%;margin:0}main{display:block}*[hidden]{display:none!important}html,body{font-family:"Helvetica","Arial",sans-serif;font-size:14px;font-weight:400;line-height:20px}h1,h2,h3,h4,h5,h6,p{padding:0}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:400;line-height:1.35;letter-spacing:-.02em;opacity:.54;font-size:.6em}h1{font-size:56px;line-height:1.35;letter-spacing:-.02em;margin:24px 0}h1,h2{font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:400}h2{font-size:45px;line-height:48px}h2,h3{margin:24px 0}h3{font-size:34px;line-height:40px}h3,h4{font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:400}h4{font-size:24px;line-height:32px;-moz-osx-font-smoothing:grayscale;margin:24px 0 16px}h5{font-size:20px;font-weight:500;line-height:1;letter-spacing:.02em}h5,h6{font-family:"Roboto","Helvetica","Arial",sans-serif;margin:24px 0 16px}h6{font-size:16px;letter-spacing:.04em}h6,p{font-weight:400;line-height:24px}p{font-size:14px;letter-spacing:0;margin:0 0 16px}a{color:#ff4081;font-weight:500}blockquote{font-family:"Roboto","Helvetica","Arial",sans-serif;position:relative;font-size:24px;font-weight:300;font-style:italic;line-height:1.35;letter-spacing:.08em}blockquote:before{position:absolute;left:-.5em;content:'“'}blockquote:after{content:'”';margin-left:-.05em}mark{background-color:#f4ff81}dt{font-weight:700}address{font-size:12px;line-height:1;font-style:normal}address,ul,ol{font-weight:400;letter-spacing:0}ul,ol{font-size:14px;line-height:24px}.mdl-typography--display-4,.mdl-typography--display-4-color-contrast{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:112px;font-weight:300;line-height:1;letter-spacing:-.04em}.mdl-typography--display-4-color-contrast{opacity:.54}.mdl-typography--display-3,.mdl-typography--display-3-color-contrast{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:56px;font-weight:400;line-height:1.35;letter-spacing:-.02em}.mdl-typography--display-3-color-contrast{opacity:.54}.mdl-typography--display-2,.mdl-typography--display-2-color-contrast{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:45px;font-weight:400;line-height:48px}.mdl-typography--display-2-color-contrast{opacity:.54}.mdl-typography--display-1,.mdl-typography--display-1-color-contrast{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:34px;font-weight:400;line-height:40px}.mdl-typography--display-1-color-contrast{opacity:.54}.mdl-typography--headline,.mdl-typography--headline-color-contrast{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:24px;font-weight:400;line-height:32px;-moz-osx-font-smoothing:grayscale}.mdl-typography--headline-color-contrast{opacity:.87}.mdl-typography--title,.mdl-typography--title-color-contrast{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:20px;font-weight:500;line-height:1;letter-spacing:.02em}.mdl-typography--title-color-contrast{opacity:.87}.mdl-typography--subhead,.mdl-typography--subhead-color-contrast{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.04em}.mdl-typography--subhead-color-contrast{opacity:.87}.mdl-typography--body-2,.mdl-typography--body-2-color-contrast{font-size:14px;font-weight:700;line-height:24px;letter-spacing:0}.mdl-typography--body-2-color-contrast{opacity:.87}.mdl-typography--body-1,.mdl-typography--body-1-color-contrast{font-size:14px;font-weight:400;line-height:24px;letter-spacing:0}.mdl-typography--body-1-color-contrast{opacity:.87}.mdl-typography--body-2-force-preferred-font,.mdl-typography--body-2-force-preferred-font-color-contrast{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:14px;font-weight:500;line-height:24px;letter-spacing:0}.mdl-typography--body-2-force-preferred-font-color-contrast{opacity:.87}.mdl-typography--body-1-force-preferred-font,.mdl-typography--body-1-force-preferred-font-color-contrast{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:14px;font-weight:400;line-height:24px;letter-spacing:0}.mdl-typography--body-1-force-preferred-font-color-contrast{opacity:.87}.mdl-typography--caption,.mdl-typography--caption-force-preferred-font{font-size:12px;font-weight:400;line-height:1;letter-spacing:0}.mdl-typography--caption-force-preferred-font{font-family:"Roboto","Helvetica","Arial",sans-serif}.mdl-typography--caption-color-contrast,.mdl-typography--caption-force-preferred-font-color-contrast{font-size:12px;font-weight:400;line-height:1;letter-spacing:0;opacity:.54}.mdl-typography--caption-force-preferred-font-color-contrast,.mdl-typography--menu{font-family:"Roboto","Helvetica","Arial",sans-serif}.mdl-typography--menu{font-size:14px;font-weight:500;line-height:1;letter-spacing:0}.mdl-typography--menu-color-contrast{opacity:.87}.mdl-typography--menu-color-contrast,.mdl-typography--button,.mdl-typography--button-color-contrast{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:14px;font-weight:500;line-height:1;letter-spacing:0}.mdl-typography--button,.mdl-typography--button-color-contrast{text-transform:uppercase}.mdl-typography--button-color-contrast{opacity:.87}.mdl-typography--text-left{text-align:left}.mdl-typography--text-right{text-align:right}.mdl-typography--text-center{text-align:center}.mdl-typography--text-justify{text-align:justify}.mdl-typography--text-nowrap{white-space:nowrap}.mdl-typography--text-lowercase{text-transform:lowercase}.mdl-typography--text-uppercase{text-transform:uppercase}.mdl-typography--text-capitalize{text-transform:capitalize}.mdl-typography--font-thin{font-weight:200!important}.mdl-typography--font-light{font-weight:300!important}.mdl-typography--font-regular{font-weight:400!important}.mdl-typography--font-medium{font-weight:500!important}.mdl-typography--font-bold{font-weight:700!important}.mdl-typography--font-black{font-weight:900!important}.material-icons{font-family:'Material Icons';font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;word-wrap:normal;-moz-font-feature-settings:'liga';font-feature-settings:'liga';-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased}.mdl-color-text--red{color:#f44336 !important}.mdl-color--red{background-color:#f44336 !important}.mdl-color-text--red-50{color:#ffebee !important}.mdl-color--red-50{background-color:#ffebee !important}.mdl-color-text--red-100{color:#ffcdd2 !important}.mdl-color--red-100{background-color:#ffcdd2 !important}.mdl-color-text--red-200{color:#ef9a9a !important}.mdl-color--red-200{background-color:#ef9a9a !important}.mdl-color-text--red-300{color:#e57373 !important}.mdl-color--red-300{background-color:#e57373 !important}.mdl-color-text--red-400{color:#ef5350 !important}.mdl-color--red-400{background-color:#ef5350 !important}.mdl-color-text--red-500{color:#f44336 !important}.mdl-color--red-500{background-color:#f44336 !important}.mdl-color-text--red-600{color:#e53935 !important}.mdl-color--red-600{background-color:#e53935 !important}.mdl-color-text--red-700{color:#d32f2f !important}.mdl-color--red-700{background-color:#d32f2f !important}.mdl-color-text--red-800{color:#c62828 !important}.mdl-color--red-800{background-color:#c62828 !important}.mdl-color-text--red-900{color:#b71c1c !important}.mdl-color--red-900{background-color:#b71c1c !important}.mdl-color-text--red-A100{color:#ff8a80 !important}.mdl-color--red-A100{background-color:#ff8a80 !important}.mdl-color-text--red-A200{color:#ff5252 !important}.mdl-color--red-A200{background-color:#ff5252 !important}.mdl-color-text--red-A400{color:#ff1744 !important}.mdl-color--red-A400{background-color:#ff1744 !important}.mdl-color-text--red-A700{color:#d50000 !important}.mdl-color--red-A700{background-color:#d50000 !important}.mdl-color-text--pink{color:#e91e63 !important}.mdl-color--pink{background-color:#e91e63 !important}.mdl-color-text--pink-50{color:#fce4ec !important}.mdl-color--pink-50{background-color:#fce4ec !important}.mdl-color-text--pink-100{color:#f8bbd0 !important}.mdl-color--pink-100{background-color:#f8bbd0 !important}.mdl-color-text--pink-200{color:#f48fb1 !important}.mdl-color--pink-200{background-color:#f48fb1 !important}.mdl-color-text--pink-300{color:#f06292 !important}.mdl-color--pink-300{background-color:#f06292 !important}.mdl-color-text--pink-400{color:#ec407a !important}.mdl-color--pink-400{background-color:#ec407a !important}.mdl-color-text--pink-500{color:#e91e63 !important}.mdl-color--pink-500{background-color:#e91e63 !important}.mdl-color-text--pink-600{color:#d81b60 !important}.mdl-color--pink-600{background-color:#d81b60 !important}.mdl-color-text--pink-700{color:#c2185b !important}.mdl-color--pink-700{background-color:#c2185b !important}.mdl-color-text--pink-800{color:#ad1457 !important}.mdl-color--pink-800{background-color:#ad1457 !important}.mdl-color-text--pink-900{color:#880e4f !important}.mdl-color--pink-900{background-color:#880e4f !important}.mdl-color-text--pink-A100{color:#ff80ab !important}.mdl-color--pink-A100{background-color:#ff80ab !important}.mdl-color-text--pink-A200{color:#ff4081 !important}.mdl-color--pink-A200{background-color:#ff4081 !important}.mdl-color-text--pink-A400{color:#f50057 !important}.mdl-color--pink-A400{background-color:#f50057 !important}.mdl-color-text--pink-A700{color:#c51162 !important}.mdl-color--pink-A700{background-color:#c51162 !important}.mdl-color-text--purple{color:#9c27b0 !important}.mdl-color--purple{background-color:#9c27b0 !important}.mdl-color-text--purple-50{color:#f3e5f5 !important}.mdl-color--purple-50{background-color:#f3e5f5 !important}.mdl-color-text--purple-100{color:#e1bee7 !important}.mdl-color--purple-100{background-color:#e1bee7 !important}.mdl-color-text--purple-200{color:#ce93d8 !important}.mdl-color--purple-200{background-color:#ce93d8 !important}.mdl-color-text--purple-300{color:#ba68c8 !important}.mdl-color--purple-300{background-color:#ba68c8 !important}.mdl-color-text--purple-400{color:#ab47bc !important}.mdl-color--purple-400{background-color:#ab47bc !important}.mdl-color-text--purple-500{color:#9c27b0 !important}.mdl-color--purple-500{background-color:#9c27b0 !important}.mdl-color-text--purple-600{color:#8e24aa !important}.mdl-color--purple-600{background-color:#8e24aa !important}.mdl-color-text--purple-700{color:#7b1fa2 !important}.mdl-color--purple-700{background-color:#7b1fa2 !important}.mdl-color-text--purple-800{color:#6a1b9a !important}.mdl-color--purple-800{background-color:#6a1b9a !important}.mdl-color-text--purple-900{color:#4a148c !important}.mdl-color--purple-900{background-color:#4a148c !important}.mdl-color-text--purple-A100{color:#ea80fc !important}.mdl-color--purple-A100{background-color:#ea80fc !important}.mdl-color-text--purple-A200{color:#e040fb !important}.mdl-color--purple-A200{background-color:#e040fb !important}.mdl-color-text--purple-A400{color:#d500f9 !important}.mdl-color--purple-A400{background-color:#d500f9 !important}.mdl-color-text--purple-A700{color:#a0f !important}.mdl-color--purple-A700{background-color:#a0f !important}.mdl-color-text--deep-purple{color:#673ab7 !important}.mdl-color--deep-purple{background-color:#673ab7 !important}.mdl-color-text--deep-purple-50{color:#ede7f6 !important}.mdl-color--deep-purple-50{background-color:#ede7f6 !important}.mdl-color-text--deep-purple-100{color:#d1c4e9 !important}.mdl-color--deep-purple-100{background-color:#d1c4e9 !important}.mdl-color-text--deep-purple-200{color:#b39ddb !important}.mdl-color--deep-purple-200{background-color:#b39ddb !important}.mdl-color-text--deep-purple-300{color:#9575cd !important}.mdl-color--deep-purple-300{background-color:#9575cd !important}.mdl-color-text--deep-purple-400{color:#7e57c2 !important}.mdl-color--deep-purple-400{background-color:#7e57c2 !important}.mdl-color-text--deep-purple-500{color:#673ab7 !important}.mdl-color--deep-purple-500{background-color:#673ab7 !important}.mdl-color-text--deep-purple-600{color:#5e35b1 !important}.mdl-color--deep-purple-600{background-color:#5e35b1 !important}.mdl-color-text--deep-purple-700{color:#512da8 !important}.mdl-color--deep-purple-700{background-color:#512da8 !important}.mdl-color-text--deep-purple-800{color:#4527a0 !important}.mdl-color--deep-purple-800{background-color:#4527a0 !important}.mdl-color-text--deep-purple-900{color:#311b92 !important}.mdl-color--deep-purple-900{background-color:#311b92 !important}.mdl-color-text--deep-purple-A100{color:#b388ff !important}.mdl-color--deep-purple-A100{background-color:#b388ff !important}.mdl-color-text--deep-purple-A200{color:#7c4dff !important}.mdl-color--deep-purple-A200{background-color:#7c4dff !important}.mdl-color-text--deep-purple-A400{color:#651fff !important}.mdl-color--deep-purple-A400{background-color:#651fff !important}.mdl-color-text--deep-purple-A700{color:#6200ea !important}.mdl-color--deep-purple-A700{background-color:#6200ea !important}.mdl-color-text--indigo{color:#3f51b5 !important}.mdl-color--indigo{background-color:#3f51b5 !important}.mdl-color-text--indigo-50{color:#e8eaf6 !important}.mdl-color--indigo-50{background-color:#e8eaf6 !important}.mdl-color-text--indigo-100{color:#c5cae9 !important}.mdl-color--indigo-100{background-color:#c5cae9 !important}.mdl-color-text--indigo-200{color:#9fa8da !important}.mdl-color--indigo-200{background-color:#9fa8da !important}.mdl-color-text--indigo-300{color:#7986cb !important}.mdl-color--indigo-300{background-color:#7986cb !important}.mdl-color-text--indigo-400{color:#5c6bc0 !important}.mdl-color--indigo-400{background-color:#5c6bc0 !important}.mdl-color-text--indigo-500{color:#3f51b5 !important}.mdl-color--indigo-500{background-color:#3f51b5 !important}.mdl-color-text--indigo-600{color:#3949ab !important}.mdl-color--indigo-600{background-color:#3949ab !important}.mdl-color-text--indigo-700{color:#303f9f !important}.mdl-color--indigo-700{background-color:#303f9f !important}.mdl-color-text--indigo-800{color:#283593 !important}.mdl-color--indigo-800{background-color:#283593 !important}.mdl-color-text--indigo-900{color:#1a237e !important}.mdl-color--indigo-900{background-color:#1a237e !important}.mdl-color-text--indigo-A100{color:#8c9eff !important}.mdl-color--indigo-A100{background-color:#8c9eff !important}.mdl-color-text--indigo-A200{color:#536dfe !important}.mdl-color--indigo-A200{background-color:#536dfe !important}.mdl-color-text--indigo-A400{color:#3d5afe !important}.mdl-color--indigo-A400{background-color:#3d5afe !important}.mdl-color-text--indigo-A700{color:#304ffe !important}.mdl-color--indigo-A700{background-color:#304ffe !important}.mdl-color-text--blue{color:#2196f3 !important}.mdl-color--blue{background-color:#2196f3 !important}.mdl-color-text--blue-50{color:#e3f2fd !important}.mdl-color--blue-50{background-color:#e3f2fd !important}.mdl-color-text--blue-100{color:#bbdefb !important}.mdl-color--blue-100{background-color:#bbdefb !important}.mdl-color-text--blue-200{color:#90caf9 !important}.mdl-color--blue-200{background-color:#90caf9 !important}.mdl-color-text--blue-300{color:#64b5f6 !important}.mdl-color--blue-300{background-color:#64b5f6 !important}.mdl-color-text--blue-400{color:#42a5f5 !important}.mdl-color--blue-400{background-color:#42a5f5 !important}.mdl-color-text--blue-500{color:#2196f3 !important}.mdl-color--blue-500{background-color:#2196f3 !important}.mdl-color-text--blue-600{color:#1e88e5 !important}.mdl-color--blue-600{background-color:#1e88e5 !important}.mdl-color-text--blue-700{color:#1976d2 !important}.mdl-color--blue-700{background-color:#1976d2 !important}.mdl-color-text--blue-800{color:#1565c0 !important}.mdl-color--blue-800{background-color:#1565c0 !important}.mdl-color-text--blue-900{color:#0d47a1 !important}.mdl-color--blue-900{background-color:#0d47a1 !important}.mdl-color-text--blue-A100{color:#82b1ff !important}.mdl-color--blue-A100{background-color:#82b1ff !important}.mdl-color-text--blue-A200{color:#448aff !important}.mdl-color--blue-A200{background-color:#448aff !important}.mdl-color-text--blue-A400{color:#2979ff !important}.mdl-color--blue-A400{background-color:#2979ff !important}.mdl-color-text--blue-A700{color:#2962ff !important}.mdl-color--blue-A700{background-color:#2962ff !important}.mdl-color-text--light-blue{color:#03a9f4 !important}.mdl-color--light-blue{background-color:#03a9f4 !important}.mdl-color-text--light-blue-50{color:#e1f5fe !important}.mdl-color--light-blue-50{background-color:#e1f5fe !important}.mdl-color-text--light-blue-100{color:#b3e5fc !important}.mdl-color--light-blue-100{background-color:#b3e5fc !important}.mdl-color-text--light-blue-200{color:#81d4fa !important}.mdl-color--light-blue-200{background-color:#81d4fa !important}.mdl-color-text--light-blue-300{color:#4fc3f7 !important}.mdl-color--light-blue-300{background-color:#4fc3f7 !important}.mdl-color-text--light-blue-400{color:#29b6f6 !important}.mdl-color--light-blue-400{background-color:#29b6f6 !important}.mdl-color-text--light-blue-500{color:#03a9f4 !important}.mdl-color--light-blue-500{background-color:#03a9f4 !important}.mdl-color-text--light-blue-600{color:#039be5 !important}.mdl-color--light-blue-600{background-color:#039be5 !important}.mdl-color-text--light-blue-700{color:#0288d1 !important}.mdl-color--light-blue-700{background-color:#0288d1 !important}.mdl-color-text--light-blue-800{color:#0277bd !important}.mdl-color--light-blue-800{background-color:#0277bd !important}.mdl-color-text--light-blue-900{color:#01579b !important}.mdl-color--light-blue-900{background-color:#01579b !important}.mdl-color-text--light-blue-A100{color:#80d8ff !important}.mdl-color--light-blue-A100{background-color:#80d8ff !important}.mdl-color-text--light-blue-A200{color:#40c4ff !important}.mdl-color--light-blue-A200{background-color:#40c4ff !important}.mdl-color-text--light-blue-A400{color:#00b0ff !important}.mdl-color--light-blue-A400{background-color:#00b0ff !important}.mdl-color-text--light-blue-A700{color:#0091ea !important}.mdl-color--light-blue-A700{background-color:#0091ea !important}.mdl-color-text--cyan{color:#00bcd4 !important}.mdl-color--cyan{background-color:#00bcd4 !important}.mdl-color-text--cyan-50{color:#e0f7fa !important}.mdl-color--cyan-50{background-color:#e0f7fa !important}.mdl-color-text--cyan-100{color:#b2ebf2 !important}.mdl-color--cyan-100{background-color:#b2ebf2 !important}.mdl-color-text--cyan-200{color:#80deea !important}.mdl-color--cyan-200{background-color:#80deea !important}.mdl-color-text--cyan-300{color:#4dd0e1 !important}.mdl-color--cyan-300{background-color:#4dd0e1 !important}.mdl-color-text--cyan-400{color:#26c6da !important}.mdl-color--cyan-400{background-color:#26c6da !important}.mdl-color-text--cyan-500{color:#00bcd4 !important}.mdl-color--cyan-500{background-color:#00bcd4 !important}.mdl-color-text--cyan-600{color:#00acc1 !important}.mdl-color--cyan-600{background-color:#00acc1 !important}.mdl-color-text--cyan-700{color:#0097a7 !important}.mdl-color--cyan-700{background-color:#0097a7 !important}.mdl-color-text--cyan-800{color:#00838f !important}.mdl-color--cyan-800{background-color:#00838f !important}.mdl-color-text--cyan-900{color:#006064 !important}.mdl-color--cyan-900{background-color:#006064 !important}.mdl-color-text--cyan-A100{color:#84ffff !important}.mdl-color--cyan-A100{background-color:#84ffff !important}.mdl-color-text--cyan-A200{color:#18ffff !important}.mdl-color--cyan-A200{background-color:#18ffff !important}.mdl-color-text--cyan-A400{color:#00e5ff !important}.mdl-color--cyan-A400{background-color:#00e5ff !important}.mdl-color-text--cyan-A700{color:#00b8d4 !important}.mdl-color--cyan-A700{background-color:#00b8d4 !important}.mdl-color-text--teal{color:#009688 !important}.mdl-color--teal{background-color:#009688 !important}.mdl-color-text--teal-50{color:#e0f2f1 !important}.mdl-color--teal-50{background-color:#e0f2f1 !important}.mdl-color-text--teal-100{color:#b2dfdb !important}.mdl-color--teal-100{background-color:#b2dfdb !important}.mdl-color-text--teal-200{color:#80cbc4 !important}.mdl-color--teal-200{background-color:#80cbc4 !important}.mdl-color-text--teal-300{color:#4db6ac !important}.mdl-color--teal-300{background-color:#4db6ac !important}.mdl-color-text--teal-400{color:#26a69a !important}.mdl-color--teal-400{background-color:#26a69a !important}.mdl-color-text--teal-500{color:#009688 !important}.mdl-color--teal-500{background-color:#009688 !important}.mdl-color-text--teal-600{color:#00897b !important}.mdl-color--teal-600{background-color:#00897b !important}.mdl-color-text--teal-700{color:#00796b !important}.mdl-color--teal-700{background-color:#00796b !important}.mdl-color-text--teal-800{color:#00695c !important}.mdl-color--teal-800{background-color:#00695c !important}.mdl-color-text--teal-900{color:#004d40 !important}.mdl-color--teal-900{background-color:#004d40 !important}.mdl-color-text--teal-A100{color:#a7ffeb !important}.mdl-color--teal-A100{background-color:#a7ffeb !important}.mdl-color-text--teal-A200{color:#64ffda !important}.mdl-color--teal-A200{background-color:#64ffda !important}.mdl-color-text--teal-A400{color:#1de9b6 !important}.mdl-color--teal-A400{background-color:#1de9b6 !important}.mdl-color-text--teal-A700{color:#00bfa5 !important}.mdl-color--teal-A700{background-color:#00bfa5 !important}.mdl-color-text--green{color:#4caf50 !important}.mdl-color--green{background-color:#4caf50 !important}.mdl-color-text--green-50{color:#e8f5e9 !important}.mdl-color--green-50{background-color:#e8f5e9 !important}.mdl-color-text--green-100{color:#c8e6c9 !important}.mdl-color--green-100{background-color:#c8e6c9 !important}.mdl-color-text--green-200{color:#a5d6a7 !important}.mdl-color--green-200{background-color:#a5d6a7 !important}.mdl-color-text--green-300{color:#81c784 !important}.mdl-color--green-300{background-color:#81c784 !important}.mdl-color-text--green-400{color:#66bb6a !important}.mdl-color--green-400{background-color:#66bb6a !important}.mdl-color-text--green-500{color:#4caf50 !important}.mdl-color--green-500{background-color:#4caf50 !important}.mdl-color-text--green-600{color:#43a047 !important}.mdl-color--green-600{background-color:#43a047 !important}.mdl-color-text--green-700{color:#388e3c !important}.mdl-color--green-700{background-color:#388e3c !important}.mdl-color-text--green-800{color:#2e7d32 !important}.mdl-color--green-800{background-color:#2e7d32 !important}.mdl-color-text--green-900{color:#1b5e20 !important}.mdl-color--green-900{background-color:#1b5e20 !important}.mdl-color-text--green-A100{color:#b9f6ca !important}.mdl-color--green-A100{background-color:#b9f6ca !important}.mdl-color-text--green-A200{color:#69f0ae !important}.mdl-color--green-A200{background-color:#69f0ae !important}.mdl-color-text--green-A400{color:#00e676 !important}.mdl-color--green-A400{background-color:#00e676 !important}.mdl-color-text--green-A700{color:#00c853 !important}.mdl-color--green-A700{background-color:#00c853 !important}.mdl-color-text--light-green{color:#8bc34a !important}.mdl-color--light-green{background-color:#8bc34a !important}.mdl-color-text--light-green-50{color:#f1f8e9 !important}.mdl-color--light-green-50{background-color:#f1f8e9 !important}.mdl-color-text--light-green-100{color:#dcedc8 !important}.mdl-color--light-green-100{background-color:#dcedc8 !important}.mdl-color-text--light-green-200{color:#c5e1a5 !important}.mdl-color--light-green-200{background-color:#c5e1a5 !important}.mdl-color-text--light-green-300{color:#aed581 !important}.mdl-color--light-green-300{background-color:#aed581 !important}.mdl-color-text--light-green-400{color:#9ccc65 !important}.mdl-color--light-green-400{background-color:#9ccc65 !important}.mdl-color-text--light-green-500{color:#8bc34a !important}.mdl-color--light-green-500{background-color:#8bc34a !important}.mdl-color-text--light-green-600{color:#7cb342 !important}.mdl-color--light-green-600{background-color:#7cb342 !important}.mdl-color-text--light-green-700{color:#689f38 !important}.mdl-color--light-green-700{background-color:#689f38 !important}.mdl-color-text--light-green-800{color:#558b2f !important}.mdl-color--light-green-800{background-color:#558b2f !important}.mdl-color-text--light-green-900{color:#33691e !important}.mdl-color--light-green-900{background-color:#33691e !important}.mdl-color-text--light-green-A100{color:#ccff90 !important}.mdl-color--light-green-A100{background-color:#ccff90 !important}.mdl-color-text--light-green-A200{color:#b2ff59 !important}.mdl-color--light-green-A200{background-color:#b2ff59 !important}.mdl-color-text--light-green-A400{color:#76ff03 !important}.mdl-color--light-green-A400{background-color:#76ff03 !important}.mdl-color-text--light-green-A700{color:#64dd17 !important}.mdl-color--light-green-A700{background-color:#64dd17 !important}.mdl-color-text--lime{color:#cddc39 !important}.mdl-color--lime{background-color:#cddc39 !important}.mdl-color-text--lime-50{color:#f9fbe7 !important}.mdl-color--lime-50{background-color:#f9fbe7 !important}.mdl-color-text--lime-100{color:#f0f4c3 !important}.mdl-color--lime-100{background-color:#f0f4c3 !important}.mdl-color-text--lime-200{color:#e6ee9c !important}.mdl-color--lime-200{background-color:#e6ee9c !important}.mdl-color-text--lime-300{color:#dce775 !important}.mdl-color--lime-300{background-color:#dce775 !important}.mdl-color-text--lime-400{color:#d4e157 !important}.mdl-color--lime-400{background-color:#d4e157 !important}.mdl-color-text--lime-500{color:#cddc39 !important}.mdl-color--lime-500{background-color:#cddc39 !important}.mdl-color-text--lime-600{color:#c0ca33 !important}.mdl-color--lime-600{background-color:#c0ca33 !important}.mdl-color-text--lime-700{color:#afb42b !important}.mdl-color--lime-700{background-color:#afb42b !important}.mdl-color-text--lime-800{color:#9e9d24 !important}.mdl-color--lime-800{background-color:#9e9d24 !important}.mdl-color-text--lime-900{color:#827717 !important}.mdl-color--lime-900{background-color:#827717 !important}.mdl-color-text--lime-A100{color:#f4ff81 !important}.mdl-color--lime-A100{background-color:#f4ff81 !important}.mdl-color-text--lime-A200{color:#eeff41 !important}.mdl-color--lime-A200{background-color:#eeff41 !important}.mdl-color-text--lime-A400{color:#c6ff00 !important}.mdl-color--lime-A400{background-color:#c6ff00 !important}.mdl-color-text--lime-A700{color:#aeea00 !important}.mdl-color--lime-A700{background-color:#aeea00 !important}.mdl-color-text--yellow{color:#ffeb3b !important}.mdl-color--yellow{background-color:#ffeb3b !important}.mdl-color-text--yellow-50{color:#fffde7 !important}.mdl-color--yellow-50{background-color:#fffde7 !important}.mdl-color-text--yellow-100{color:#fff9c4 !important}.mdl-color--yellow-100{background-color:#fff9c4 !important}.mdl-color-text--yellow-200{color:#fff59d !important}.mdl-color--yellow-200{background-color:#fff59d !important}.mdl-color-text--yellow-300{color:#fff176 !important}.mdl-color--yellow-300{background-color:#fff176 !important}.mdl-color-text--yellow-400{color:#ffee58 !important}.mdl-color--yellow-400{background-color:#ffee58 !important}.mdl-color-text--yellow-500{color:#ffeb3b !important}.mdl-color--yellow-500{background-color:#ffeb3b !important}.mdl-color-text--yellow-600{color:#fdd835 !important}.mdl-color--yellow-600{background-color:#fdd835 !important}.mdl-color-text--yellow-700{color:#fbc02d !important}.mdl-color--yellow-700{background-color:#fbc02d !important}.mdl-color-text--yellow-800{color:#f9a825 !important}.mdl-color--yellow-800{background-color:#f9a825 !important}.mdl-color-text--yellow-900{color:#f57f17 !important}.mdl-color--yellow-900{background-color:#f57f17 !important}.mdl-color-text--yellow-A100{color:#ffff8d !important}.mdl-color--yellow-A100{background-color:#ffff8d !important}.mdl-color-text--yellow-A200{color:#ff0 !important}.mdl-color--yellow-A200{background-color:#ff0 !important}.mdl-color-text--yellow-A400{color:#ffea00 !important}.mdl-color--yellow-A400{background-color:#ffea00 !important}.mdl-color-text--yellow-A700{color:#ffd600 !important}.mdl-color--yellow-A700{background-color:#ffd600 !important}.mdl-color-text--amber{color:#ffc107 !important}.mdl-color--amber{background-color:#ffc107 !important}.mdl-color-text--amber-50{color:#fff8e1 !important}.mdl-color--amber-50{background-color:#fff8e1 !important}.mdl-color-text--amber-100{color:#ffecb3 !important}.mdl-color--amber-100{background-color:#ffecb3 !important}.mdl-color-text--amber-200{color:#ffe082 !important}.mdl-color--amber-200{background-color:#ffe082 !important}.mdl-color-text--amber-300{color:#ffd54f !important}.mdl-color--amber-300{background-color:#ffd54f !important}.mdl-color-text--amber-400{color:#ffca28 !important}.mdl-color--amber-400{background-color:#ffca28 !important}.mdl-color-text--amber-500{color:#ffc107 !important}.mdl-color--amber-500{background-color:#ffc107 !important}.mdl-color-text--amber-600{color:#ffb300 !important}.mdl-color--amber-600{background-color:#ffb300 !important}.mdl-color-text--amber-700{color:#ffa000 !important}.mdl-color--amber-700{background-color:#ffa000 !important}.mdl-color-text--amber-800{color:#ff8f00 !important}.mdl-color--amber-800{background-color:#ff8f00 !important}.mdl-color-text--amber-900{color:#ff6f00 !important}.mdl-color--amber-900{background-color:#ff6f00 !important}.mdl-color-text--amber-A100{color:#ffe57f !important}.mdl-color--amber-A100{background-color:#ffe57f !important}.mdl-color-text--amber-A200{color:#ffd740 !important}.mdl-color--amber-A200{background-color:#ffd740 !important}.mdl-color-text--amber-A400{color:#ffc400 !important}.mdl-color--amber-A400{background-color:#ffc400 !important}.mdl-color-text--amber-A700{color:#ffab00 !important}.mdl-color--amber-A700{background-color:#ffab00 !important}.mdl-color-text--orange{color:#ff9800 !important}.mdl-color--orange{background-color:#ff9800 !important}.mdl-color-text--orange-50{color:#fff3e0 !important}.mdl-color--orange-50{background-color:#fff3e0 !important}.mdl-color-text--orange-100{color:#ffe0b2 !important}.mdl-color--orange-100{background-color:#ffe0b2 !important}.mdl-color-text--orange-200{color:#ffcc80 !important}.mdl-color--orange-200{background-color:#ffcc80 !important}.mdl-color-text--orange-300{color:#ffb74d !important}.mdl-color--orange-300{background-color:#ffb74d !important}.mdl-color-text--orange-400{color:#ffa726 !important}.mdl-color--orange-400{background-color:#ffa726 !important}.mdl-color-text--orange-500{color:#ff9800 !important}.mdl-color--orange-500{background-color:#ff9800 !important}.mdl-color-text--orange-600{color:#fb8c00 !important}.mdl-color--orange-600{background-color:#fb8c00 !important}.mdl-color-text--orange-700{color:#f57c00 !important}.mdl-color--orange-700{background-color:#f57c00 !important}.mdl-color-text--orange-800{color:#ef6c00 !important}.mdl-color--orange-800{background-color:#ef6c00 !important}.mdl-color-text--orange-900{color:#e65100 !important}.mdl-color--orange-900{background-color:#e65100 !important}.mdl-color-text--orange-A100{color:#ffd180 !important}.mdl-color--orange-A100{background-color:#ffd180 !important}.mdl-color-text--orange-A200{color:#ffab40 !important}.mdl-color--orange-A200{background-color:#ffab40 !important}.mdl-color-text--orange-A400{color:#ff9100 !important}.mdl-color--orange-A400{background-color:#ff9100 !important}.mdl-color-text--orange-A700{color:#ff6d00 !important}.mdl-color--orange-A700{background-color:#ff6d00 !important}.mdl-color-text--deep-orange{color:#ff5722 !important}.mdl-color--deep-orange{background-color:#ff5722 !important}.mdl-color-text--deep-orange-50{color:#fbe9e7 !important}.mdl-color--deep-orange-50{background-color:#fbe9e7 !important}.mdl-color-text--deep-orange-100{color:#ffccbc !important}.mdl-color--deep-orange-100{background-color:#ffccbc !important}.mdl-color-text--deep-orange-200{color:#ffab91 !important}.mdl-color--deep-orange-200{background-color:#ffab91 !important}.mdl-color-text--deep-orange-300{color:#ff8a65 !important}.mdl-color--deep-orange-300{background-color:#ff8a65 !important}.mdl-color-text--deep-orange-400{color:#ff7043 !important}.mdl-color--deep-orange-400{background-color:#ff7043 !important}.mdl-color-text--deep-orange-500{color:#ff5722 !important}.mdl-color--deep-orange-500{background-color:#ff5722 !important}.mdl-color-text--deep-orange-600{color:#f4511e !important}.mdl-color--deep-orange-600{background-color:#f4511e !important}.mdl-color-text--deep-orange-700{color:#e64a19 !important}.mdl-color--deep-orange-700{background-color:#e64a19 !important}.mdl-color-text--deep-orange-800{color:#d84315 !important}.mdl-color--deep-orange-800{background-color:#d84315 !important}.mdl-color-text--deep-orange-900{color:#bf360c !important}.mdl-color--deep-orange-900{background-color:#bf360c !important}.mdl-color-text--deep-orange-A100{color:#ff9e80 !important}.mdl-color--deep-orange-A100{background-color:#ff9e80 !important}.mdl-color-text--deep-orange-A200{color:#ff6e40 !important}.mdl-color--deep-orange-A200{background-color:#ff6e40 !important}.mdl-color-text--deep-orange-A400{color:#ff3d00 !important}.mdl-color--deep-orange-A400{background-color:#ff3d00 !important}.mdl-color-text--deep-orange-A700{color:#dd2c00 !important}.mdl-color--deep-orange-A700{background-color:#dd2c00 !important}.mdl-color-text--brown{color:#795548 !important}.mdl-color--brown{background-color:#795548 !important}.mdl-color-text--brown-50{color:#efebe9 !important}.mdl-color--brown-50{background-color:#efebe9 !important}.mdl-color-text--brown-100{color:#d7ccc8 !important}.mdl-color--brown-100{background-color:#d7ccc8 !important}.mdl-color-text--brown-200{color:#bcaaa4 !important}.mdl-color--brown-200{background-color:#bcaaa4 !important}.mdl-color-text--brown-300{color:#a1887f !important}.mdl-color--brown-300{background-color:#a1887f !important}.mdl-color-text--brown-400{color:#8d6e63 !important}.mdl-color--brown-400{background-color:#8d6e63 !important}.mdl-color-text--brown-500{color:#795548 !important}.mdl-color--brown-500{background-color:#795548 !important}.mdl-color-text--brown-600{color:#6d4c41 !important}.mdl-color--brown-600{background-color:#6d4c41 !important}.mdl-color-text--brown-700{color:#5d4037 !important}.mdl-color--brown-700{background-color:#5d4037 !important}.mdl-color-text--brown-800{color:#4e342e !important}.mdl-color--brown-800{background-color:#4e342e !important}.mdl-color-text--brown-900{color:#3e2723 !important}.mdl-color--brown-900{background-color:#3e2723 !important}.mdl-color-text--grey{color:#9e9e9e !important}.mdl-color--grey{background-color:#9e9e9e !important}.mdl-color-text--grey-50{color:#fafafa !important}.mdl-color--grey-50{background-color:#fafafa !important}.mdl-color-text--grey-100{color:#f5f5f5 !important}.mdl-color--grey-100{background-color:#f5f5f5 !important}.mdl-color-text--grey-200{color:#eee !important}.mdl-color--grey-200{background-color:#eee !important}.mdl-color-text--grey-300{color:#e0e0e0 !important}.mdl-color--grey-300{background-color:#e0e0e0 !important}.mdl-color-text--grey-400{color:#bdbdbd !important}.mdl-color--grey-400{background-color:#bdbdbd !important}.mdl-color-text--grey-500{color:#9e9e9e !important}.mdl-color--grey-500{background-color:#9e9e9e !important}.mdl-color-text--grey-600{color:#757575 !important}.mdl-color--grey-600{background-color:#757575 !important}.mdl-color-text--grey-700{color:#616161 !important}.mdl-color--grey-700{background-color:#616161 !important}.mdl-color-text--grey-800{color:#424242 !important}.mdl-color--grey-800{background-color:#424242 !important}.mdl-color-text--grey-900{color:#212121 !important}.mdl-color--grey-900{background-color:#212121 !important}.mdl-color-text--blue-grey{color:#607d8b !important}.mdl-color--blue-grey{background-color:#607d8b !important}.mdl-color-text--blue-grey-50{color:#eceff1 !important}.mdl-color--blue-grey-50{background-color:#eceff1 !important}.mdl-color-text--blue-grey-100{color:#cfd8dc !important}.mdl-color--blue-grey-100{background-color:#cfd8dc !important}.mdl-color-text--blue-grey-200{color:#b0bec5 !important}.mdl-color--blue-grey-200{background-color:#b0bec5 !important}.mdl-color-text--blue-grey-300{color:#90a4ae !important}.mdl-color--blue-grey-300{background-color:#90a4ae !important}.mdl-color-text--blue-grey-400{color:#78909c !important}.mdl-color--blue-grey-400{background-color:#78909c !important}.mdl-color-text--blue-grey-500{color:#607d8b !important}.mdl-color--blue-grey-500{background-color:#607d8b !important}.mdl-color-text--blue-grey-600{color:#546e7a !important}.mdl-color--blue-grey-600{background-color:#546e7a !important}.mdl-color-text--blue-grey-700{color:#455a64 !important}.mdl-color--blue-grey-700{background-color:#455a64 !important}.mdl-color-text--blue-grey-800{color:#37474f !important}.mdl-color--blue-grey-800{background-color:#37474f !important}.mdl-color-text--blue-grey-900{color:#263238 !important}.mdl-color--blue-grey-900{background-color:#263238 !important}.mdl-color--black{background-color:#000 !important}.mdl-color-text--black{color:#000 !important}.mdl-color--white{background-color:#fff !important}.mdl-color-text--white{color:#fff !important}.mdl-color--primary{background-color:#3f51b5 !important}.mdl-color--primary-contrast{background-color:#fff !important}.mdl-color--primary-dark{background-color:#303f9f !important}.mdl-color--accent{background-color:#ff4081 !important}.mdl-color--accent-contrast{background-color:#fff !important}.mdl-color-text--primary{color:#3f51b5 !important}.mdl-color-text--primary-contrast{color:#fff !important}.mdl-color-text--primary-dark{color:#303f9f !important}.mdl-color-text--accent{color:#ff4081 !important}.mdl-color-text--accent-contrast{color:#fff !important}.mdl-ripple{background:#000;border-radius:50%;height:50px;left:0;opacity:0;pointer-events:none;position:absolute;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:50px;overflow:hidden}.mdl-ripple.is-animating{transition:transform .3s cubic-bezier(0,0,.2,1),width .3s cubic-bezier(0,0,.2,1),height .3s cubic-bezier(0,0,.2,1),opacity .6s cubic-bezier(0,0,.2,1);transition:transform .3s cubic-bezier(0,0,.2,1),width .3s cubic-bezier(0,0,.2,1),height .3s cubic-bezier(0,0,.2,1),opacity .6s cubic-bezier(0,0,.2,1),-webkit-transform .3s cubic-bezier(0,0,.2,1)}.mdl-ripple.is-visible{opacity:.3}.mdl-animation--default,.mdl-animation--fast-out-slow-in{transition-timing-function:cubic-bezier(.4,0,.2,1)}.mdl-animation--linear-out-slow-in{transition-timing-function:cubic-bezier(0,0,.2,1)}.mdl-animation--fast-out-linear-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.mdl-badge{position:relative;white-space:nowrap;margin-right:24px}.mdl-badge:not([data-badge]){margin-right:auto}.mdl-badge[data-badge]:after{content:attr(data-badge);display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:absolute;top:-11px;right:-24px;font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:600;font-size:12px;width:22px;height:22px;border-radius:50%;background:#ff4081;color:#fff}.mdl-button .mdl-badge[data-badge]:after{top:-10px;right:-5px}.mdl-badge.mdl-badge--no-background[data-badge]:after{color:#ff4081;background:rgba(255,255,255,.2);box-shadow:0 0 1px gray}.mdl-badge.mdl-badge--overlap{margin-right:10px}.mdl-badge.mdl-badge--overlap:after{right:-10px}.mdl-button{background:0 0;border:none;border-radius:2px;color:#000;position:relative;height:36px;margin:0;min-width:64px;padding:0 16px;display:inline-block;font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:14px;font-weight:500;text-transform:uppercase;letter-spacing:0;overflow:hidden;will-change:box-shadow;transition:box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);outline:none;cursor:pointer;text-decoration:none;text-align:center;line-height:36px;vertical-align:middle}.mdl-button::-moz-focus-inner{border:0}.mdl-button:hover{background-color:rgba(158,158,158,.2)}.mdl-button:focus:not(:active){background-color:rgba(0,0,0,.12)}.mdl-button:active{background-color:rgba(158,158,158,.4)}.mdl-button.mdl-button--colored{color:#3f51b5}.mdl-button.mdl-button--colored:focus:not(:active){background-color:rgba(0,0,0,.12)}input.mdl-button[type="submit"]{-webkit-appearance:none}.mdl-button--raised{background:rgba(158,158,158,.2);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.mdl-button--raised:active{box-shadow:0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);background-color:rgba(158,158,158,.4)}.mdl-button--raised:focus:not(:active){box-shadow:0 0 8px rgba(0,0,0,.18),0 8px 16px rgba(0,0,0,.36);background-color:rgba(158,158,158,.4)}.mdl-button--raised.mdl-button--colored{background:#3f51b5;color:#fff}.mdl-button--raised.mdl-button--colored:hover{background-color:#3f51b5}.mdl-button--raised.mdl-button--colored:active{background-color:#3f51b5}.mdl-button--raised.mdl-button--colored:focus:not(:active){background-color:#3f51b5}.mdl-button--raised.mdl-button--colored .mdl-ripple{background:#fff}.mdl-button--fab{border-radius:50%;font-size:24px;height:56px;margin:auto;min-width:56px;width:56px;padding:0;overflow:hidden;background:rgba(158,158,158,.2);box-shadow:0 1px 1.5px 0 rgba(0,0,0,.12),0 1px 1px 0 rgba(0,0,0,.24);position:relative;line-height:normal}.mdl-button--fab .material-icons{position:absolute;top:50%;left:50%;-webkit-transform:translate(-12px,-12px);transform:translate(-12px,-12px);line-height:24px;width:24px}.mdl-button--fab.mdl-button--mini-fab{height:40px;min-width:40px;width:40px}.mdl-button--fab .mdl-button__ripple-container{border-radius:50%;-webkit-mask-image:-webkit-radial-gradient(circle,#fff,#000)}.mdl-button--fab:active{box-shadow:0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);background-color:rgba(158,158,158,.4)}.mdl-button--fab:focus:not(:active){box-shadow:0 0 8px rgba(0,0,0,.18),0 8px 16px rgba(0,0,0,.36);background-color:rgba(158,158,158,.4)}.mdl-button--fab.mdl-button--colored{background:#ff4081;color:#fff}.mdl-button--fab.mdl-button--colored:hover{background-color:#ff4081}.mdl-button--fab.mdl-button--colored:focus:not(:active){background-color:#ff4081}.mdl-button--fab.mdl-button--colored:active{background-color:#ff4081}.mdl-button--fab.mdl-button--colored .mdl-ripple{background:#fff}.mdl-button--icon{border-radius:50%;font-size:24px;height:32px;margin-left:0;margin-right:0;min-width:32px;width:32px;padding:0;overflow:hidden;color:inherit;line-height:normal}.mdl-button--icon .material-icons{position:absolute;top:50%;left:50%;-webkit-transform:translate(-12px,-12px);transform:translate(-12px,-12px);line-height:24px;width:24px}.mdl-button--icon.mdl-button--mini-icon{height:24px;min-width:24px;width:24px}.mdl-button--icon.mdl-button--mini-icon .material-icons{top:0;left:0}.mdl-button--icon .mdl-button__ripple-container{border-radius:50%;-webkit-mask-image:-webkit-radial-gradient(circle,#fff,#000)}.mdl-button__ripple-container{display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:0;overflow:hidden}.mdl-button[disabled] .mdl-button__ripple-container .mdl-ripple,.mdl-button.mdl-button--disabled .mdl-button__ripple-container .mdl-ripple{background-color:transparent}.mdl-button--primary.mdl-button--primary{color:#3f51b5}.mdl-button--primary.mdl-button--primary .mdl-ripple{background:#fff}.mdl-button--primary.mdl-button--primary.mdl-button--raised,.mdl-button--primary.mdl-button--primary.mdl-button--fab{color:#fff;background-color:#3f51b5}.mdl-button--accent.mdl-button--accent{color:#ff4081}.mdl-button--accent.mdl-button--accent .mdl-ripple{background:#fff}.mdl-button--accent.mdl-button--accent.mdl-button--raised,.mdl-button--accent.mdl-button--accent.mdl-button--fab{color:#fff;background-color:#ff4081}.mdl-button[disabled][disabled],.mdl-button.mdl-button--disabled.mdl-button--disabled{color:rgba(0,0,0,.26);cursor:default;background-color:transparent}.mdl-button--fab[disabled][disabled],.mdl-button--fab.mdl-button--disabled.mdl-button--disabled{background-color:rgba(0,0,0,.12);color:rgba(0,0,0,.26)}.mdl-button--raised[disabled][disabled],.mdl-button--raised.mdl-button--disabled.mdl-button--disabled{background-color:rgba(0,0,0,.12);color:rgba(0,0,0,.26);box-shadow:none}.mdl-button--colored[disabled][disabled],.mdl-button--colored.mdl-button--disabled.mdl-button--disabled{color:rgba(0,0,0,.26)}.mdl-button .material-icons{vertical-align:middle}.mdl-card{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:16px;font-weight:400;min-height:200px;overflow:hidden;width:330px;z-index:1;position:relative;background:#fff;border-radius:2px;box-sizing:border-box}.mdl-card__media{background-color:#ff4081;background-repeat:repeat;background-position:50% 50%;background-size:cover;background-origin:padding-box;background-attachment:scroll;box-sizing:border-box}.mdl-card__title{-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#000;display:block;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:stretch;-ms-flex-pack:stretch;justify-content:stretch;line-height:normal;padding:16px;-webkit-perspective-origin:165px 56px;perspective-origin:165px 56px;-webkit-transform-origin:165px 56px;transform-origin:165px 56px;box-sizing:border-box}.mdl-card__title.mdl-card--border{border-bottom:1px solid rgba(0,0,0,.1)}.mdl-card__title-text{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end;color:inherit;display:block;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:24px;font-weight:300;line-height:normal;overflow:hidden;-webkit-transform-origin:149px 48px;transform-origin:149px 48px;margin:0}.mdl-card__subtitle-text{font-size:14px;color:rgba(0,0,0,.54);margin:0}.mdl-card__supporting-text{color:rgba(0,0,0,.54);font-size:1rem;line-height:18px;overflow:hidden;padding:16px;width:90%}.mdl-card__supporting-text.mdl-card--border{border-bottom:1px solid rgba(0,0,0,.1)}.mdl-card__actions{font-size:16px;line-height:normal;width:100%;background-color:transparent;padding:8px;box-sizing:border-box}.mdl-card__actions.mdl-card--border{border-top:1px solid rgba(0,0,0,.1)}.mdl-card--expand{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.mdl-card__menu{position:absolute;right:16px;top:16px}.mdl-checkbox{position:relative;z-index:1;vertical-align:middle;display:inline-block;box-sizing:border-box;width:100%;height:24px;margin:0;padding:0}.mdl-checkbox.is-upgraded{padding-left:24px}.mdl-checkbox__input{line-height:24px}.mdl-checkbox.is-upgraded .mdl-checkbox__input{position:absolute;width:0;height:0;margin:0;padding:0;opacity:0;-ms-appearance:none;-moz-appearance:none;-webkit-appearance:none;appearance:none;border:none}.mdl-checkbox__box-outline{position:absolute;top:3px;left:0;display:inline-block;box-sizing:border-box;width:16px;height:16px;margin:0;cursor:pointer;overflow:hidden;border:2px solid rgba(0,0,0,.54);border-radius:2px;z-index:2}.mdl-checkbox.is-checked .mdl-checkbox__box-outline{border:2px solid #3f51b5}fieldset[disabled] .mdl-checkbox .mdl-checkbox__box-outline,.mdl-checkbox.is-disabled .mdl-checkbox__box-outline{border:2px solid rgba(0,0,0,.26);cursor:auto}.mdl-checkbox__focus-helper{position:absolute;top:3px;left:0;display:inline-block;box-sizing:border-box;width:16px;height:16px;border-radius:50%;background-color:transparent}.mdl-checkbox.is-focused .mdl-checkbox__focus-helper{box-shadow:0 0 0 8px rgba(0,0,0,.1);background-color:rgba(0,0,0,.1)}.mdl-checkbox.is-focused.is-checked .mdl-checkbox__focus-helper{box-shadow:0 0 0 8px rgba(63,81,181,.26);background-color:rgba(63,81,181,.26)}.mdl-checkbox__tick-outline{position:absolute;top:0;left:0;height:100%;width:100%;-webkit-mask:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8ZGVmcz4KICAgIDxjbGlwUGF0aCBpZD0iY2xpcCI+CiAgICAgIDxwYXRoCiAgICAgICAgIGQ9Ik0gMCwwIDAsMSAxLDEgMSwwIDAsMCB6IE0gMC44NTM0Mzc1LDAuMTY3MTg3NSAwLjk1OTY4NzUsMC4yNzM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wxIDEsMCAwLDAgeiBNIDAuODUzNDM3NSwwLjE2NzE4NzUgMC45NTk2ODc1LDAuMjczMTI1IDAuNDI5Mzc1LDAuODAzNDM3NSAwLjMyMzEyNSwwLjkwOTY4NzUgMC4yMTcxODc1LDAuODAzNDM3NSAwLjA0MDMxMjUsMC42MjY4NzUgMC4xNDY1NjI1LDAuNTIwNjI1IDAuMzIzMTI1LDAuNjk3NSAwLjg1MzQzNzUsMC4xNjcxODc1IHoiCiAgICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmUiIC8+CiAgICA8L21hc2s+CiAgPC9kZWZzPgogIDxyZWN0CiAgICAgd2lkdGg9IjEiCiAgICAgaGVpZ2h0PSIxIgogICAgIHg9IjAiCiAgICAgeT0iMCIKICAgICBjbGlwLXBhdGg9InVybCgjY2xpcCkiCiAgICAgc3R5bGU9ImZpbGw6IzAwMDAwMDtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZSIgLz4KPC9zdmc+Cg==");background:0 0;transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:background}.mdl-checkbox.is-checked .mdl-checkbox__tick-outline{background:#3f51b5 url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K")}fieldset[disabled] .mdl-checkbox.is-checked .mdl-checkbox__tick-outline,.mdl-checkbox.is-checked.is-disabled .mdl-checkbox__tick-outline{background:rgba(0,0,0,.26)url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K")}.mdl-checkbox__label{position:relative;cursor:pointer;font-size:16px;line-height:24px;margin:0}fieldset[disabled] .mdl-checkbox .mdl-checkbox__label,.mdl-checkbox.is-disabled .mdl-checkbox__label{color:rgba(0,0,0,.26);cursor:auto}.mdl-checkbox__ripple-container{position:absolute;z-index:2;top:-6px;left:-10px;box-sizing:border-box;width:36px;height:36px;border-radius:50%;cursor:pointer;overflow:hidden;-webkit-mask-image:-webkit-radial-gradient(circle,#fff,#000)}.mdl-checkbox__ripple-container .mdl-ripple{background:#3f51b5}fieldset[disabled] .mdl-checkbox .mdl-checkbox__ripple-container,.mdl-checkbox.is-disabled .mdl-checkbox__ripple-container{cursor:auto}fieldset[disabled] .mdl-checkbox .mdl-checkbox__ripple-container .mdl-ripple,.mdl-checkbox.is-disabled .mdl-checkbox__ripple-container .mdl-ripple{background:0 0}.mdl-chip{height:32px;font-family:"Roboto","Helvetica","Arial",sans-serif;line-height:32px;padding:0 12px;border:0;border-radius:16px;background-color:#dedede;display:inline-block;color:rgba(0,0,0,.87);margin:2px 0;font-size:0;white-space:nowrap}.mdl-chip__text{font-size:13px;vertical-align:middle;display:inline-block}.mdl-chip__action{height:24px;width:24px;background:0 0;opacity:.54;cursor:pointer;padding:0;margin:0 0 0 4px;font-size:13px;text-decoration:none;color:rgba(0,0,0,.87);border:none;outline:none}.mdl-chip__action,.mdl-chip__contact{display:inline-block;vertical-align:middle;overflow:hidden;text-align:center}.mdl-chip__contact{height:32px;width:32px;border-radius:16px;margin-right:8px;font-size:18px;line-height:32px}.mdl-chip:focus{outline:0;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.mdl-chip:active{background-color:#d6d6d6}.mdl-chip--deletable{padding-right:4px}.mdl-chip--contact{padding-left:0}.mdl-data-table{position:relative;border:1px solid rgba(0,0,0,.12);border-collapse:collapse;white-space:nowrap;font-size:13px;background-color:#fff}.mdl-data-table thead{padding-bottom:3px}.mdl-data-table thead .mdl-data-table__select{margin-top:0}.mdl-data-table tbody tr{position:relative;height:48px;transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:background-color}.mdl-data-table tbody tr.is-selected{background-color:#e0e0e0}.mdl-data-table tbody tr:hover{background-color:#eee}.mdl-data-table td{text-align:right}.mdl-data-table th{padding:0 18px 12px 18px;text-align:right}.mdl-data-table td:first-of-type,.mdl-data-table th:first-of-type{padding-left:24px}.mdl-data-table td:last-of-type,.mdl-data-table th:last-of-type{padding-right:24px}.mdl-data-table td{position:relative;height:48px;border-top:1px solid rgba(0,0,0,.12);border-bottom:1px solid rgba(0,0,0,.12);padding:12px 18px;box-sizing:border-box}.mdl-data-table td,.mdl-data-table td .mdl-data-table__select{vertical-align:middle}.mdl-data-table th{position:relative;vertical-align:bottom;text-overflow:ellipsis;font-weight:700;line-height:24px;letter-spacing:0;height:48px;font-size:12px;color:rgba(0,0,0,.54);padding-bottom:8px;box-sizing:border-box}.mdl-data-table th.mdl-data-table__header--sorted-ascending,.mdl-data-table th.mdl-data-table__header--sorted-descending{color:rgba(0,0,0,.87)}.mdl-data-table th.mdl-data-table__header--sorted-ascending:before,.mdl-data-table th.mdl-data-table__header--sorted-descending:before{font-family:'Material Icons';font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;word-wrap:normal;-moz-font-feature-settings:'liga';font-feature-settings:'liga';-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;font-size:16px;content:"\e5d8";margin-right:5px;vertical-align:sub}.mdl-data-table th.mdl-data-table__header--sorted-ascending:hover,.mdl-data-table th.mdl-data-table__header--sorted-descending:hover{cursor:pointer}.mdl-data-table th.mdl-data-table__header--sorted-ascending:hover:before,.mdl-data-table th.mdl-data-table__header--sorted-descending:hover:before{color:rgba(0,0,0,.26)}.mdl-data-table th.mdl-data-table__header--sorted-descending:before{content:"\e5db"}.mdl-data-table__select{width:16px}.mdl-data-table__cell--non-numeric.mdl-data-table__cell--non-numeric{text-align:left}.mdl-dialog{border:none;box-shadow:0 9px 46px 8px rgba(0,0,0,.14),0 11px 15px -7px rgba(0,0,0,.12),0 24px 38px 3px rgba(0,0,0,.2);width:280px}.mdl-dialog__title{padding:24px 24px 0;margin:0;font-size:2.5rem}.mdl-dialog__actions{padding:8px 8px 8px 24px;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.mdl-dialog__actions>*{margin-right:8px;height:36px}.mdl-dialog__actions>*:first-child{margin-right:0}.mdl-dialog__actions--full-width{padding:0 0 8px}.mdl-dialog__actions--full-width>*{height:48px;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;padding-right:16px;margin-right:0;text-align:right}.mdl-dialog__content{padding:20px 24px 24px;color:rgba(0,0,0,.54)}.mdl-mega-footer{padding:16px 40px;color:#9e9e9e;background-color:#424242}.mdl-mega-footer--top-section:after,.mdl-mega-footer--middle-section:after,.mdl-mega-footer--bottom-section:after,.mdl-mega-footer__top-section:after,.mdl-mega-footer__middle-section:after,.mdl-mega-footer__bottom-section:after{content:'';display:block;clear:both}.mdl-mega-footer--left-section,.mdl-mega-footer__left-section,.mdl-mega-footer--right-section,.mdl-mega-footer__right-section{margin-bottom:16px}.mdl-mega-footer--right-section a,.mdl-mega-footer__right-section a{display:block;margin-bottom:16px;color:inherit;text-decoration:none}@media screen and (min-width:760px){.mdl-mega-footer--left-section,.mdl-mega-footer__left-section{float:left}.mdl-mega-footer--right-section,.mdl-mega-footer__right-section{float:right}.mdl-mega-footer--right-section a,.mdl-mega-footer__right-section a{display:inline-block;margin-left:16px;line-height:36px;vertical-align:middle}}.mdl-mega-footer--social-btn,.mdl-mega-footer__social-btn{width:36px;height:36px;padding:0;margin:0;background-color:#9e9e9e;border:none}.mdl-mega-footer--drop-down-section,.mdl-mega-footer__drop-down-section{display:block;position:relative}@media screen and (min-width:760px){.mdl-mega-footer--drop-down-section,.mdl-mega-footer__drop-down-section{width:33%}.mdl-mega-footer--drop-down-section:nth-child(1),.mdl-mega-footer--drop-down-section:nth-child(2),.mdl-mega-footer__drop-down-section:nth-child(1),.mdl-mega-footer__drop-down-section:nth-child(2){float:left}.mdl-mega-footer--drop-down-section:nth-child(3),.mdl-mega-footer__drop-down-section:nth-child(3){float:right}.mdl-mega-footer--drop-down-section:nth-child(3):after,.mdl-mega-footer__drop-down-section:nth-child(3):after{clear:right}.mdl-mega-footer--drop-down-section:nth-child(4),.mdl-mega-footer__drop-down-section:nth-child(4){clear:right;float:right}.mdl-mega-footer--middle-section:after,.mdl-mega-footer__middle-section:after{content:'';display:block;clear:both}.mdl-mega-footer--bottom-section,.mdl-mega-footer__bottom-section{padding-top:0}}@media screen and (min-width:1024px){.mdl-mega-footer--drop-down-section,.mdl-mega-footer--drop-down-section:nth-child(3),.mdl-mega-footer--drop-down-section:nth-child(4),.mdl-mega-footer__drop-down-section,.mdl-mega-footer__drop-down-section:nth-child(3),.mdl-mega-footer__drop-down-section:nth-child(4){width:24%;float:left}}.mdl-mega-footer--heading-checkbox,.mdl-mega-footer__heading-checkbox{position:absolute;width:100%;height:55.8px;padding:32px;margin:-16px 0 0;cursor:pointer;z-index:1;opacity:0}.mdl-mega-footer--heading-checkbox+.mdl-mega-footer--heading:after,.mdl-mega-footer--heading-checkbox+.mdl-mega-footer__heading:after,.mdl-mega-footer__heading-checkbox+.mdl-mega-footer--heading:after,.mdl-mega-footer__heading-checkbox+.mdl-mega-footer__heading:after{font-family:'Material Icons';content:'\E5CE'}.mdl-mega-footer--heading-checkbox:checked~.mdl-mega-footer--link-list,.mdl-mega-footer--heading-checkbox:checked~.mdl-mega-footer__link-list,.mdl-mega-footer--heading-checkbox:checked+.mdl-mega-footer--heading+.mdl-mega-footer--link-list,.mdl-mega-footer--heading-checkbox:checked+.mdl-mega-footer__heading+.mdl-mega-footer__link-list,.mdl-mega-footer__heading-checkbox:checked~.mdl-mega-footer--link-list,.mdl-mega-footer__heading-checkbox:checked~.mdl-mega-footer__link-list,.mdl-mega-footer__heading-checkbox:checked+.mdl-mega-footer--heading+.mdl-mega-footer--link-list,.mdl-mega-footer__heading-checkbox:checked+.mdl-mega-footer__heading+.mdl-mega-footer__link-list{display:none}.mdl-mega-footer--heading-checkbox:checked+.mdl-mega-footer--heading:after,.mdl-mega-footer--heading-checkbox:checked+.mdl-mega-footer__heading:after,.mdl-mega-footer__heading-checkbox:checked+.mdl-mega-footer--heading:after,.mdl-mega-footer__heading-checkbox:checked+.mdl-mega-footer__heading:after{font-family:'Material Icons';content:'\E5CF'}.mdl-mega-footer--heading,.mdl-mega-footer__heading{position:relative;width:100%;padding-right:39.8px;margin-bottom:16px;box-sizing:border-box;font-size:14px;line-height:23.8px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#e0e0e0}.mdl-mega-footer--heading:after,.mdl-mega-footer__heading:after{content:'';position:absolute;top:0;right:0;display:block;width:23.8px;height:23.8px;background-size:cover}.mdl-mega-footer--link-list,.mdl-mega-footer__link-list{list-style:none;padding:0;margin:0 0 32px}.mdl-mega-footer--link-list:after,.mdl-mega-footer__link-list:after{clear:both;display:block;content:''}.mdl-mega-footer--link-list li,.mdl-mega-footer__link-list li{font-size:14px;font-weight:400;letter-spacing:0;line-height:20px}.mdl-mega-footer--link-list a,.mdl-mega-footer__link-list a{color:inherit;text-decoration:none;white-space:nowrap}@media screen and (min-width:760px){.mdl-mega-footer--heading-checkbox,.mdl-mega-footer__heading-checkbox{display:none}.mdl-mega-footer--heading-checkbox+.mdl-mega-footePQ� PQ� ;� �8� �Q� pQ� pQ� ading-checkbox+.mdl-mega-footer--heading:after,.mdl-mega-footer__heading-checkbox+.mdl-mega-footer__heading:after{content:''}.mdl-mega-footer--heading-checkbox:checked~.mdl-mega-footer--link-list,.mdl-mega-footer--heading-checkbox:checked~.mdl-mega-footer__link-list,.mdl-mega-footer--heading-checkbox:checked+.mdl-mega-footer__heading+.mdl-mega-footer__link-list,.mdl-mega-footer--heading-checkbox:checked+.mdl-mega-footer--heading+.mdl-mega-footer--link-list,.mdl-mega-footer__heading-checkbox:checked~.mdl-mega-footer--link-list,.mdl-mega-footer__heading-checkbox:checked~.mdl-mega-footer__link-list,.mdl-mega-footer__heading-checkbox:checked+.mdl-mega-footer__heading+.mdl-mega-footer__link-list,.mdl-mega-footer__heading-checkbox:checked+.mdl-mega-footer--heading+.mdl-mega-footer--link-list{display:block}.mdl-mega-footer--heading-checkbox:checked+.mdl-mega-footer--heading:after,.mdl-mega-footer--heading-checkbox:checked+.mdl-mega-footer__heading:after,.mdl-mega-footer__heading-checkbox:checked+.mdl-mega-footer--heading:after,.mdl-mega-footer__heading-checkbox:checked+.mdl-mega-footer__heading:after{content:''}}.mdl-mega-footer--bottom-section,.mdl-mega-footer__bottom-section{padding-top:16px;margin-bottom:16px}.mdl-logo{margin-bottom:16px;color:#fff}.mdl-mega-footer--bottom-section .mdl-mega-footer--link-list li,.mdl-mega-footer__bottom-section .mdl-mega-footer__link-list li{float:left;margin-bottom:0;margin-right:16px}@media screen and (min-width:760px){.mdl-logo{float:left;margin-bottom:0;margin-right:16px}}.mdl-mini-footer{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:32px 16px;color:#9e9e9e;background-color:#424242}.mdl-mini-footer:after{content:'';display:block}.mdl-mini-footer .mdl-logo{line-height:36px}.mdl-mini-footer--link-list,.mdl-mini-footer__link-list{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;list-style:none;margin:0;padding:0}.mdl-mini-footer--link-list li,.mdl-mini-footer__link-list li{margin-bottom:0;margin-right:16px}@media screen and (min-width:760px){.mdl-mini-footer--link-list li,.mdl-mini-footer__link-list li{line-height:36px}}.mdl-mini-footer--link-list a,.mdl-mini-footer__link-list a{color:inherit;text-decoration:none;white-space:nowrap}.mdl-mini-footer--left-section,.mdl-mini-footer__left-section{display:inline-block;-webkit-order:0;-ms-flex-order:0;order:0}.mdl-mini-footer--right-section,.mdl-mini-footer__right-section{display:inline-block;-webkit-order:1;-ms-flex-order:1;order:1}.mdl-mini-footer--social-btn,.mdl-mini-footer__social-btn{width:36px;height:36px;padding:0;margin:0;background-color:#9e9e9e;border:none}.mdl-icon-toggle{position:relative;z-index:1;vertical-align:middle;display:inline-block;height:32px;margin:0;padding:0}.mdl-icon-toggle__input{line-height:32px}.mdl-icon-toggle.is-upgraded .mdl-icon-toggle__input{position:absolute;width:0;height:0;margin:0;padding:0;opacity:0;-ms-appearance:none;-moz-appearance:none;-webkit-appearance:none;appearance:none;border:none}.mdl-icon-toggle__label{display:inline-block;position:relative;cursor:pointer;height:32px;width:32px;min-width:32px;color:#616161;border-radius:50%;padding:0;margin-left:0;margin-right:0;text-align:center;background-color:transparent;will-change:background-color;transition:background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1)}.mdl-icon-toggle__label.material-icons{line-height:32px;font-size:24px}.mdl-icon-toggle.is-checked .mdl-icon-toggle__label{color:#3f51b5}.mdl-icon-toggle.is-disabled .mdl-icon-toggle__label{color:rgba(0,0,0,.26);cursor:auto;transition:none}.mdl-icon-toggle.is-focused .mdl-icon-toggle__label{background-color:rgba(0,0,0,.12)}.mdl-icon-toggle.is-focused.is-checked .mdl-icon-toggle__label{background-color:rgba(63,81,181,.26)}.mdl-icon-toggle__ripple-container{position:absolute;z-index:2;top:-2px;left:-2px;box-sizing:border-box;width:36px;height:36px;border-radius:50%;cursor:pointer;overflow:hidden;-webkit-mask-image:-webkit-radial-gradient(circle,#fff,#000)}.mdl-icon-toggle__ripple-container .mdl-ripple{background:#616161}.mdl-icon-toggle.is-disabled .mdl-icon-toggle__ripple-container{cursor:auto}.mdl-icon-toggle.is-disabled .mdl-icon-toggle__ripple-container .mdl-ripple{background:0 0}.mdl-list{display:block;padding:8px 0;list-style:none}.mdl-list__item{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:16px;font-weight:400;letter-spacing:.04em;line-height:1;min-height:48px;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:16px;cursor:default;color:rgba(0,0,0,.87);overflow:hidden}.mdl-list__item,.mdl-list__item .mdl-list__item-primary-content{box-sizing:border-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.mdl-list__item .mdl-list__item-primary-content{-webkit-order:0;-ms-flex-order:0;order:0;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;text-decoration:none}.mdl-list__item .mdl-list__item-primary-content .mdl-list__item-icon{margin-right:32px}.mdl-list__item .mdl-list__item-primary-content .mdl-list__item-avatar{margin-right:16px}.mdl-list__item .mdl-list__item-secondary-content{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column;-ms-flex-flow:column;flex-flow:column;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;margin-left:16px}.mdl-list__item .mdl-list__item-secondary-content .mdl-list__item-secondary-action label{display:inline}.mdl-list__item .mdl-list__item-secondary-content .mdl-list__item-secondary-info{font-size:12px;font-weight:400;line-height:1;letter-spacing:0;color:rgba(0,0,0,.54)}.mdl-list__item .mdl-list__item-secondary-content .mdl-list__item-sub-header{padding:0 0 0 16px}.mdl-list__item-icon,.mdl-list__item-icon.material-icons{height:24px;width:24px;font-size:24px;box-sizing:border-box;color:#757575}.mdl-list__item-avatar,.mdl-list__item-avatar.material-icons{height:40px;width:40px;box-sizing:border-box;border-radius:50%;background-color:#757575;font-size:40px;color:#fff}.mdl-list__item--two-line{height:72px}.mdl-list__item--two-line .mdl-list__item-primary-content{height:36px;line-height:20px;display:block}.mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-avatar{float:left}.mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-icon{float:left;margin-top:6px}.mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-secondary-content{height:36px}.mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-sub-title{font-size:14px;font-weight:400;letter-spacing:0;line-height:18px;color:rgba(0,0,0,.54);display:block;padding:0}.mdl-list__item--three-line{height:88px}.mdl-list__item--three-line .mdl-list__item-primary-content{height:52px;line-height:20px;display:block}.mdl-list__item--three-line .mdl-list__item-primary-content .mdl-list__item-avatar,.mdl-list__item--three-line .mdl-list__item-primary-content .mdl-list__item-icon{float:left}.mdl-list__item--three-line .mdl-list__item-secondary-content{height:52px}.mdl-list__item--three-line .mdl-list__item-text-body{font-size:14px;font-weight:400;letter-spacing:0;line-height:18px;height:52px;color:rgba(0,0,0,.54);display:block;padding:0}.mdl-menu__container{display:block;margin:0;padding:0;border:none;position:absolute;overflow:visible;height:0;width:0;visibility:hidden;z-index:-1}.mdl-menu__container.is-visible,.mdl-menu__container.is-animating{z-index:999;visibility:visible}.mdl-menu__outline{display:block;background:#fff;margin:0;padding:0;border:none;border-radius:2px;position:absolute;top:0;left:0;overflow:hidden;opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:0 0;transform-origin:0 0;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);will-change:transform;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .2s cubic-bezier(.4,0,.2,1);transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .2s cubic-bezier(.4,0,.2,1),-webkit-transform .3s cubic-bezier(.4,0,.2,1);z-index:-1}.mdl-menu__container.is-visible .mdl-menu__outline{opacity:1;-webkit-transform:scale(1);transform:scale(1);z-index:999}.mdl-menu__outline.mdl-menu--bottom-right{-webkit-transform-origin:100% 0;transform-origin:100% 0}.mdl-menu__outline.mdl-menu--top-left{-webkit-transform-origin:0 100%;transform-origin:0 100%}.mdl-menu__outline.mdl-menu--top-right{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.mdl-menu{position:absolute;list-style:none;top:0;left:0;height:auto;width:auto;min-width:124px;padding:8px 0;margin:0;opacity:0;clip:rect(0 0 0 0);z-index:-1}.mdl-menu__container.is-visible .mdl-menu{opacity:1;z-index:999}.mdl-menu.is-animating{transition:opacity .2s cubic-bezier(.4,0,.2,1),clip .3s cubic-bezier(.4,0,.2,1)}.mdl-menu.mdl-menu--bottom-right{left:auto;right:0}.mdl-menu.mdl-menu--top-left{top:auto;bottom:0}.mdl-menu.mdl-menu--top-right{top:auto;left:auto;bottom:0;right:0}.mdl-menu.mdl-menu--unaligned{top:auto;left:auto}.mdl-menu__item{display:block;border:none;color:rgba(0,0,0,.87);background-color:transparent;text-align:left;margin:0;padding:0 16px;outline-color:#bdbdbd;position:relative;overflow:hidden;font-size:14px;font-weight:400;letter-spacing:0;text-decoration:none;cursor:pointer;height:48px;line-height:48px;white-space:nowrap;opacity:0;transition:opacity .2s cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mdl-menu__container.is-visible .mdl-menu__item{opacity:1}.mdl-menu__item::-moz-focus-inner{border:0}.mdl-menu__item--full-bleed-divider{border-bottom:1px solid rgba(0,0,0,.12)}.mdl-menu__item[disabled],.mdl-menu__item[data-mdl-disabled]{color:#bdbdbd;background-color:transparent;cursor:auto}.mdl-menu__item[disabled]:hover,.mdl-menu__item[data-mdl-disabled]:hover{background-color:transparent}.mdl-menu__item[disabled]:focus,.mdl-menu__item[data-mdl-disabled]:focus{background-color:transparent}.mdl-menu__item[disabled] .mdl-ripple,.mdl-menu__item[data-mdl-disabled] .mdl-ripple{background:0 0}.mdl-menu__item:hover{background-color:#eee}.mdl-menu__item:focus{outline:none;background-color:#eee}.mdl-menu__item:active{background-color:#e0e0e0}.mdl-menu__item--ripple-container{display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:0;overflow:hidden}.mdl-progress{display:block;position:relative;height:4px;width:500px;max-width:100%}.mdl-progress>.bar{display:block;position:absolute;top:0;bottom:0;width:0%;transition:width .2s cubic-bezier(.4,0,.2,1)}.mdl-progress>.progressbar{background-color:#3f51b5;z-index:1;left:0}.mdl-progress>.bufferbar{background-image:linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7)),linear-gradient(to right,#3f51b5 ,#3f51b5);z-index:0;left:0}.mdl-progress>.auxbar{right:0}@supports (-webkit-appearance:none){.mdl-progress:not(.mdl-progress--indeterminate):not(.mdl-progress--indeterminate)>.auxbar,.mdl-progress:not(.mdl-progress__indeterminate):not(.mdl-progress__indeterminate)>.auxbar{background-image:linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7)),linear-gradient(to right,#3f51b5 ,#3f51b5);-webkit-mask:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjxzdmcgd2lkdGg9IjEyIiBoZWlnaHQ9IjQiIHZpZXdQb3J0PSIwIDAgMTIgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmci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)>.auxbar{background-image:linear-gradient(to right,rgba(255,255,255,.9),rgba(255,255,255,.9)),linear-gradient(to right,#3f51b5 ,#3f51b5)}.mdl-progress.mdl-progress--indeterminate>.bar1,.mdl-progress.mdl-progress__indeterminate>.bar1{-webkit-animation-name:indeterminate1;animation-name:indeterminate1}.mdl-progress.mdl-progress--indeterminate>.bar1,.mdl-progress.mdl-progress__indeterminate>.bar1,.mdl-progress.mdl-progress--indeterminate>.bar3,.mdl-progress.mdl-progress__indeterminate>.bar3{background-color:#3f51b5;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}.mdl-progress.mdl-progress--indeterminate>.bar3,.mdl-progress.mdl-progress__indeterminate>.bar3{background-image:none;-webkit-animation-name:indeterminate2;animation-name:indeterminate2}@-webkit-keyframes indeterminate1{0%{left:0%;width:0%}50%{left:25%;width:75%}75%{left:100%;width:0%}}@keyframes indeterminate1{0%{left:0%;width:0%}50%{left:25%;width:75%}75%{left:100%;width:0%}}@-webkit-keyframes indeterminate2{0%,50%{left:0%;width:0%}75%{left:0%;width:25%}100%{left:100%;width:0%}}@keyframes indeterminate2{0%,50%{left:0%;width:0%}75%{left:0%;width:25%}100%{left:100%;width:0%}}.mdl-navigation{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;box-sizing:border-box}.mdl-navigation__link{color:#424242;text-decoration:none;margin:0;font-size:14px;font-weight:400;line-height:24px;letter-spacing:0;opacity:.87}.mdl-navigation__link .material-icons{vertical-align:middle}.mdl-layout{width:100%;height:100%;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;overflow-x:hidden;position:relative;-webkit-overflow-scrolling:touch}.mdl-layout.is-small-screen .mdl-layout--large-screen-only{display:none}.mdl-layout:not(.is-small-screen) .mdl-layout--small-screen-only{display:none}.mdl-layout__container{position:absolute;width:100%;height:100%}.mdl-layout__title,.mdl-layout-title{display:block;position:relative;font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:20px;line-height:1;letter-spacing:.02em;font-weight:400;box-sizing:border-box}.mdl-layout-spacer{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.mdl-layout__drawer{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;height:100%;max-height:100%;position:absolute;top:0;left:0;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-sizing:border-box;border-right:1px solid #e0e0e0;background:#fafafa;-webkit-transform:translateX(-250px);transform:translateX(-250px);-webkit-transform-style:preserve-3d;transform-style:preserve-3d;will-change:transform;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:transform;transition-property:transform,-webkit-transform;color:#424242;overflow:visible;overflow-y:auto;z-index:5}.mdl-layout__drawer.is-visible{-webkit-transform:translateX(0);transform:translateX(0)}.mdl-layout__drawer.is-visible~.mdl-layout__content.mdl-layout__content{overflow:hidden}.mdl-layout__drawer>*{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.mdl-layout__drawer>.mdl-layout__title,.mdl-layout__drawer>.mdl-layout-title{line-height:64px;padding-left:40px}@media screen and (max-width:1024px){.mdl-layout__drawer>.mdl-layout__title,.mdl-layout__drawer>.mdl-layout-title{line-height:56px;padding-left:16px}}.mdl-layout__drawer .mdl-navigation{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;padding-top:16px}.mdl-layout__drawer .mdl-navigation .mdl-navigation__link{display:block;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;padding:16px 40px;margin:0;color:#757575}@media screen and (max-width:1024px){.mdl-layout__drawer .mdl-navigation .mdl-navigation__link{padding:16px}}.mdl-layout__drawer .mdl-navigation .mdl-navigation__link:hover{background-color:#e0e0e0}.mdl-layout__drawer .mdl-navigation .mdl-navigation__link--current{background-color:#e0e0e0;color:#000}@media screen and (min-width:1025px){.mdl-layout--fixed-drawer>.mdl-layout__drawer{-webkit-transform:translateX(0);transform:translateX(0)}}.mdl-layout__drawer-button{display:block;position:absolute;height:48px;width:48px;border:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;overflow:hidden;text-align:center;cursor:pointer;font-size:26px;line-height:56px;font-family:Helvetica,Arial,sans-serif;margin:8px 12px;top:0;left:0;color:#fff;z-index:4}.mdl-layout__header .mdl-layout__drawer-button{position:absolute;color:#fff;background-color:inherit}@media screen and (max-width:1024px){.mdl-layout__header .mdl-layout__drawer-button{margin:4px}}@media screen and (max-width:1024px){.mdl-layout__drawer-button{margin:4px;color:rgba(0,0,0,.5)}}@media screen and (min-width:1025px){.mdl-layout__drawer-button{line-height:54px}.mdl-layout--no-desktop-drawer-button .mdl-layout__drawer-button,.mdl-layout--fixed-drawer>.mdl-layout__drawer-button,.mdl-layout--no-drawer-button .mdl-layout__drawer-button{display:none}}.mdl-layout__header{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;box-sizing:border-box;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;margin:0;padding:0;border:none;min-height:64px;max-height:1000px;z-index:3;background-color:#3f51b5;color:#fff;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:max-height,box-shadow}@media screen and (max-width:1024px){.mdl-layout__header{min-height:56px}}.mdl-layout--fixed-drawer.is-upgraded:not(.is-small-screen)>.mdl-layout__header{margin-left:240px;width:calc(100% - 240px)}@media screen and (min-width:1025px){.mdl-layout--fixed-drawer>.mdl-layout__header .mdl-layout__header-row{padding-left:40px}}.mdl-layout__header>.mdl-layout-icon{position:absolute;left:40px;top:16px;height:32px;width:32px;overflow:hidden;z-index:3;display:block}@media screen and (max-width:1024px){.mdl-layout__header>.mdl-layout-icon{left:16px;top:12px}}.mdl-layout.has-drawer .mdl-layout__header>.mdl-layout-icon{display:none}.mdl-layout__header.is-compact{max-height:64px}@media screen and (max-width:1024px){.mdl-layout__header.is-compact{max-height:56px}}.mdl-layout__header.is-compact.has-tabs{height:112px}@media screen and (max-width:1024px){.mdl-layout__header.is-compact.has-tabs{min-height:104px}}@media screen and (max-width:1024px){.mdl-layout__header{display:none}.mdl-layout--fixed-header>.mdl-layout__header{display:-webkit-flex;display:-ms-flexbox;display:flex}}.mdl-layout__header--transparent.mdl-layout__header--transparent{background-color:transparent;box-shadow:none}.mdl-layout__header--seamed,.mdl-layout__header--scroll{box-shadow:none}.mdl-layout__header--waterfall{box-shadow:none;overflow:hidden}.mdl-layout__header--waterfall.is-casting-shadow{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.mdl-layout__header--waterfall.mdl-layout__header--waterfall-hide-top{-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.mdl-layout__header-row{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;box-sizing:border-box;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:64px;margin:0;padding:0 40px 0 80px}.mdl-layout--no-drawer-button .mdl-layout__header-row{padding-left:40px}@media screen and (min-width:1025px){.mdl-layout--no-desktop-drawer-button .mdl-layout__header-row{padding-left:40px}}@media screen and (max-width:1024px){.mdl-layout__header-row{height:56px;padding:0 16px 0 72px}.mdl-layout--no-drawer-button .mdl-layout__header-row{padding-left:16px}}.mdl-layout__header-row>*{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.mdl-layout__header--scroll .mdl-layout__header-row{width:100%}.mdl-layout__header-row .mdl-navigation{margin:0;padding:0;height:64px;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:1024px){.mdl-layout__header-row .mdl-navigation{height:56px}}.mdl-layout__header-row .mdl-navigation__link{display:block;color:#fff;line-height:64px;padding:0 24px}@media screen and (max-width:1024px){.mdl-layout__header-row .mdl-navigation__link{line-height:56px;padding:0 16px}}.mdl-layout__obfuscator{background-color:transparent;position:absolute;top:0;left:0;height:100%;width:100%;z-index:4;visibility:hidden;transition-property:background-color;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.mdl-layout__obfuscator.is-visible{background-color:rgba(0,0,0,.5);visibility:visible}@supports (pointer-events:auto){.mdl-layout__obfuscator{background-color:rgba(0,0,0,.5);opacity:0;transition-property:opacity;visibility:visible;pointer-events:none}.mdl-layout__obfuscator.is-visible{pointer-events:auto;opacity:1}}.mdl-layout__content{-ms-flex:0 1 auto;position:relative;display:inline-block;overflow-y:auto;overflow-x:hidden;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;z-index:1;-webkit-overflow-scrolling:touch}.mdl-layout--fixed-drawer>.mdl-layout__content{margin-left:240px}.mdl-layout__container.has-scrolling-header .mdl-layout__content{overflow:visible}@media screen and (max-width:1024px){.mdl-layout--fixed-drawer>.mdl-layout__content{margin-left:0}.mdl-layout__container.has-scrolling-header .mdl-layout__content{overflow-y:auto;overflow-x:hidden}}.mdl-layout__tab-bar{height:96px;margin:0;width:calc(100% - 112px);padding:0 0 0 56px;display:-webkit-flex;display:-ms-flexbox;display:flex;background-color:#3f51b5;overflow-y:hidden;overflow-x:scroll}.mdl-layout__tab-bar::-webkit-scrollbar{display:none}.mdl-layout--no-drawer-button .mdl-layout__tab-bar{padding-left:16px;width:calc(100% - 32px)}@media screen and (min-width:1025px){.mdl-layout--no-desktop-drawer-button .mdl-layout__tab-bar{padding-left:16px;width:calc(100% - 32px)}}@media screen and (max-width:1024px){.mdl-layout__tab-bar{width:calc(100% - 60px);padding:0 0 0 60px}.mdl-layout--no-drawer-button .mdl-layout__tab-bar{width:calc(100% - 8px);padding-left:4px}}.mdl-layout--fixed-tabs .mdl-layout__tab-bar{padding:0;overflow:hidden;width:100%}.mdl-layout__tab-bar-container{position:relative;height:48px;width:100%;border:none;margin:0;z-index:2;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.mdl-layout__container>.mdl-layout__tab-bar-container{position:absolute;top:0;left:0}.mdl-layout__tab-bar-button{display:inline-block;position:absolute;top:0;height:48px;width:56px;z-index:4;text-align:center;background-color:#3f51b5;color:transparent;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mdl-layout--no-desktop-drawer-button .mdl-layout__tab-bar-button,.mdl-layout--no-drawer-button .mdl-layout__tab-bar-button{width:16px}.mdl-layout--no-desktop-drawer-button .mdl-layout__tab-bar-button .material-icons,.mdl-layout--no-drawer-button .mdl-layout__tab-bar-button .material-icons{position:relative;left:-4px}@media screen and (max-width:1024px){.mdl-layout__tab-bar-button{width:60px}}.mdl-layout--fixed-tabs .mdl-layout__tab-bar-button{display:none}.mdl-layout__tab-bar-button .material-icons{line-height:48px}.mdl-layout__tab-bar-button.is-active{color:#fff}.mdl-layout__tab-bar-left-button{left:0}.mdl-layout__tab-bar-right-button{right:0}.mdl-layout__tab{margin:0;border:none;padding:0 24px;float:left;position:relative;display:block;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;text-decoration:none;height:48px;line-height:48px;text-align:center;font-weight:500;font-size:14px;text-transform:uppercase;color:rgba(255,255,255,.6);overflow:hidden}@media screen and (max-width:1024px){.mdl-layout__tab{padding:0 12px}}.mdl-layout--fixed-tabs .mdl-layout__tab{float:none;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;padding:0}.mdl-layout.is-upgraded .mdl-layout__tab.is-active{color:#fff}.mdl-layout.is-upgraded .mdl-layout__tab.is-active::after{height:2px;width:100%;display:block;content:" ";bottom:0;left:0;position:absolute;background:#ff4081;-webkit-animation:border-expand .2s cubic-bezier(.4,0,.4,1).01s alternate forwards;animation:border-expand .2s cubic-bezier(.4,0,.4,1).01s alternate forwards;transition:all 1s cubic-bezier(.4,0,1,1)}.mdl-layout__tab .mdl-layout__tab-ripple-container{display:block;position:absolute;height:100%;width:100%;left:0;top:0;z-index:1;overflow:hidden}.mdl-layout__tab .mdl-layout__tab-ripple-container .mdl-ripple{background-color:#fff}.mdl-layout__tab-panel{display:block}.mdl-layout.is-upgraded .mdl-layout__tab-panel{display:none}.mdl-layout.is-upgraded .mdl-layout__tab-panel.is-active{display:block}.mdl-radio{position:relative;font-size:16px;line-height:24px;display:inline-block;vertical-align:middle;box-sizing:border-box;height:24px;margin:0;padding-left:0}.mdl-radio.is-upgraded{padding-left:24px}.mdl-radio__button{line-height:24px}.mdl-radio.is-upgraded .mdl-radio__button{position:absolute;width:0;height:0;margin:0;padding:0;opacity:0;-ms-appearance:none;-moz-appearance:none;-webkit-appearance:none;appearance:none;border:none}.mdl-radio__outer-circle{position:absolute;top:4px;left:0;display:inline-block;box-sizing:border-box;width:16px;height:16px;margin:0;cursor:pointer;border:2px solid rgba(0,0,0,.54);border-radius:50%;z-index:2}.mdl-radio.is-checked .mdl-radio__outer-circle{border:2px solid #3f51b5}.mdl-radio__outer-circle fieldset[disabled] .mdl-radio,.mdl-radio.is-disabled .mdl-radio__outer-circle{border:2px solid rgba(0,0,0,.26);cursor:auto}.mdl-radio__inner-circle{position:absolute;z-index:1;margin:0;top:8px;left:4px;box-sizing:border-box;width:8px;height:8px;cursor:pointer;transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transform:scale(0,0);transform:scale(0,0);border-radius:50%;background:#3f51b5}.mdl-radio.is-checked .mdl-radio__inner-circle{-webkit-transform:scale(1,1);transform:scale(1,1)}fieldset[disabled] .mdl-radio .mdl-radio__inner-circle,.mdl-radio.is-disabled .mdl-radio__inner-circle{background:rgba(0,0,0,.26);cursor:auto}.mdl-radio.is-focused .mdl-radio__inner-circle{box-shadow:0 0 0 10px rgba(0,0,0,.1)}.mdl-radio__label{cursor:pointer}fieldset[disabled] .mdl-radio .mdl-radio__label,.mdl-radio.is-disabled .mdl-radio__label{color:rgba(0,0,0,.26);cursor:auto}.mdl-radio__ripple-container{position:absolute;z-index:2;top:-9px;left:-13px;box-sizing:border-box;width:42px;height:42px;border-radius:50%;cursor:pointer;overflow:hidden;-webkit-mask-image:-webkit-radial-gradient(circle,#fff,#000)}.mdl-radio__ripple-container .mdl-ripple{background:#3f51b5}fieldset[disabled] .mdl-radio .mdl-radio__ripple-container,.mdl-radio.is-disabled .mdl-radio__ripple-container{cursor:auto}fieldset[disabled] .mdl-radio .mdl-radio__ripple-container .mdl-ripple,.mdl-radio.is-disabled .mdl-radio__ripple-container .mdl-ripple{background:0 0}_:-ms-input-placeholder,:root .mdl-slider.mdl-slider.is-upgraded{-ms-appearance:none;height:32px;margin:0}.mdl-slider{width:calc(100% - 40px);margin:0 20px}.mdl-slider.is-upgraded{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:2px;background:0 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;padding:0;color:#3f51b5;-webkit-align-self:center;-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;z-index:1;cursor:pointer}.mdl-slider.is-upgraded::-moz-focus-outer{border:0}.mdl-slider.is-upgraded::-ms-tooltip{display:none}.mdl-slider.is-upgraded::-webkit-slider-runnable-track{background:0 0}.mdl-slider.is-upgraded::-moz-range-track{background:0 0;border:none}.mdl-slider.is-upgraded::-ms-track{background:0 0;color:transparent;height:2px;width:100%;border:none}.mdl-slider.is-upgraded::-ms-fill-lower{padding:0;background:linear-gradient(to right,transparent,transparent 16px,#3f51b5 16px,#3f51b5 0)}.mdl-slider.is-upgraded::-ms-fill-upper{padding:0;background:linear-gradient(to left,transparent,transparent 16px,rgba(0,0,0,.26)16px,rgba(0,0,0,.26)0)}.mdl-slider.is-upgraded::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;box-sizing:border-box;border-radius:50%;background:#3f51b5;border:none;transition:transform .18s cubic-bezier(.4,0,.2,1),border .18s cubic-bezier(.4,0,.2,1),box-shadow .18s cubic-bezier(.4,0,.2,1),background .28s cubic-bezier(.4,0,.2,1);transition:transform .18s cubic-bezier(.4,0,.2,1),border .18s cubic-bezier(.4,0,.2,1),box-shadow .18s cubic-bezier(.4,0,.2,1),background .28s cubic-bezier(.4,0,.2,1),-webkit-transform .18s cubic-bezier(.4,0,.2,1)}.mdl-slider.is-upgraded::-moz-range-thumb{-moz-appearance:none;width:12px;height:12px;box-sizing:border-box;border-radius:50%;background-image:none;background:#3f51b5;border:none}.mdl-slider.is-upgraded:focus:not(:active)::-webkit-slider-thumb{box-shadow:0 0 0 10px rgba(63,81,181,.26)}.mdl-slider.is-upgraded:focus:not(:active)::-moz-range-thumb{box-shadow:0 0 0 10px rgba(63,81,181,.26)}.mdl-slider.is-upgraded:active::-webkit-slider-thumb{background-image:none;background:#3f51b5;-webkit-transform:scale(1.5);transform:scale(1.5)}.mdl-slider.is-upgraded:active::-moz-range-thumb{background-image:none;background:#3f51b5;transform:scale(1.5)}.mdl-slider.is-upgraded::-ms-thumb{width:32px;height:32px;border:none;border-radius:50%;background:#3f51b5;transform:scale(.375);transition:transform .18s cubic-bezier(.4,0,.2,1),background .28s cubic-bezier(.4,0,.2,1);transition:transform .18s cubic-bezier(.4,0,.2,1),background .28s cubic-bezier(.4,0,.2,1),-webkit-transform .18s cubic-bezier(.4,0,.2,1)}.mdl-slider.is-upgraded:focus:not(:active)::-ms-thumb{background:radial-gradient(circle closest-side,#3f51b5 0%,#3f51b5 37.5%,rgba(63,81,181,.26)37.5%,rgba(63,81,181,.26)100%);transform:scale(1)}.mdl-slider.is-upgraded:active::-ms-thumb{background:#3f51b5;transform:scale(.5625)}.mdl-slider.is-upgraded.is-lowest-value::-webkit-slider-thumb{border:2px solid rgba(0,0,0,.26);background:0 0}.mdl-slider.is-upgraded.is-lowest-value::-moz-range-thumb{border:2px solid rgba(0,0,0,.26);background:0 0}.mdl-slider.is-upgraded.is-lowest-value+.mdl-slider__background-flex>.mdl-slider__background-upper{left:6px}.mdl-slider.is-upgraded.is-lowest-value:focus:not(:active)::-webkit-slider-thumb{box-shadow:0 0 0 10px rgba(0,0,0,.12);background:rgba(0,0,0,.12)}.mdl-slider.is-upgraded.is-lowest-value:focus:not(:active)::-moz-range-thumb{box-shadow:0 0 0 10px rgba(0,0,0,.12);background:rgba(0,0,0,.12)}.mdl-slider.is-upgraded.is-lowest-value:active::-webkit-slider-thumb{border:1.6px solid rgba(0,0,0,.26);-webkit-transform:scale(1.5);transform:scale(1.5)}.mdl-slider.is-upgraded.is-lowest-value:active+.mdl-slider__background-flex>.mdl-slider__background-upper{left:9px}.mdl-slider.is-upgraded.is-lowest-value:active::-moz-range-thumb{border:1.5px solid rgba(0,0,0,.26);transform:scale(1.5)}.mdl-slider.is-upgraded.is-lowest-value::-ms-thumb{background:radial-gradient(circle closest-side,transparent 0%,transparent 66.67%,rgba(0,0,0,.26)66.67%,rgba(0,0,0,.26)100%)}.mdl-slider.is-upgraded.is-lowest-value:focus:not(:active)::-ms-thumb{background:radial-gradient(circle closest-side,rgba(0,0,0,.12)0%,rgba(0,0,0,.12)25%,rgba(0,0,0,.26)25%,rgba(0,0,0,.26)37.5%,rgba(0,0,0,.12)37.5%,rgba(0,0,0,.12)100%);transform:scale(1)}.mdl-slider.is-upgraded.is-lowest-value:active::-ms-thumb{transform:scale(.5625);background:radial-gradient(circle closest-side,transparent 0%,transparent 77.78%,rgba(0,0,0,.26)77.78%,rgba(0,0,0,.26)100%)}.mdl-slider.is-upgraded.is-lowest-value::-ms-fill-lower{background:0 0}.mdl-slider.is-upgraded.is-lowest-value::-ms-fill-upper{margin-left:6px}.mdl-slider.is-upgraded.is-lowest-value:active::-ms-fill-upper{margin-left:9px}.mdl-slider.is-upgraded:disabled:focus::-webkit-slider-thumb,.mdl-slider.is-upgraded:disabled:active::-webkit-slider-thumb,.mdl-slider.is-upgraded:disabled::-webkit-slider-thumb{-webkit-transform:scale(.667);transform:scale(.667);background:rgba(0,0,0,.26)}.mdl-slider.is-upgraded:disabled:focus::-moz-range-thumb,.mdl-slider.is-upgraded:disabled:active::-moz-range-thumb,.mdl-slider.is-upgraded:disabled::-moz-range-thumb{transform:scale(.667);background:rgba(0,0,0,.26)}.mdl-slider.is-upgraded:disabled+.mdl-slider__background-flex>.mdl-slider__background-lower{background-color:rgba(0,0,0,.26);left:-6px}.mdl-slider.is-upgraded:disabled+.mdl-slider__background-flex>.mdl-slider__background-upper{left:6px}.mdl-slider.is-upgraded.is-lowest-value:disabled:focus::-webkit-slider-thumb,.mdl-slider.is-upgraded.is-lowest-value:disabled:active::-webkit-slider-thumb,.mdl-slider.is-upgraded.is-lowest-value:disabled::-webkit-slider-thumb{border:3px solid rgba(0,0,0,.26);background:0 0;-webkit-transform:scale(.667);transform:scale(.667)}.mdl-slider.is-upgraded.is-lowest-value:disabled:focus::-moz-range-thumb,.mdl-slider.is-upgraded.is-lowest-value:disabled:active::-moz-range-thumb,.mdl-slider.is-upgraded.is-lowest-value:disabled::-moz-range-thumb{border:3px solid rgba(0,0,0,.26);background:0 0;transform:scale(.667)}.mdl-slider.is-upgraded.is-lowest-value:disabled:active+.mdl-slider__background-flex>.mdl-slider__background-upper{left:6px}.mdl-slider.is-upgraded:disabled:focus::-ms-thumb,.mdl-slider.is-upgraded:disabled:active::-ms-thumb,.mdl-slider.is-upgraded:disabled::-ms-thumb{transform:scale(.25);background:rgba(0,0,0,.26)}.mdl-slider.is-upgraded.is-lowest-value:disabled:focus::-ms-thumb,.mdl-slider.is-upgraded.is-lowest-value:disabled:active::-ms-thumb,.mdl-slider.is-upgraded.is-lowest-value:disabled::-ms-thumb{transform:scale(.25);background:radial-gradient(circle closest-side,transparent 0%,transparent 50%,rgba(0,0,0,.26)50%,rgba(0,0,0,.26)100%)}.mdl-slider.is-upgraded:disabled::-ms-fill-lower{margin-right:6px;background:linear-gradient(to right,transparent,transparent 25px,rgba(0,0,0,.26)25px,rgba(0,0,0,.26)0)}.mdl-slider.is-upgraded:disabled::-ms-fill-upper{margin-left:6px}.mdl-slider.is-upgraded.is-lowest-value:disabled:active::-ms-fill-upper{margin-left:6px}.mdl-slider__ie-container{height:18px;overflow:visible;border:none;margin:none;padding:none}.mdl-slider__container{height:18px;position:relative;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.mdl-slider__container,.mdl-slider__background-flex{background:0 0;display:-webkit-flex;display:-ms-flexbox;display:flex}.mdl-slider__background-flex{position:absolute;height:2px;width:calc(100% - 52px);top:50%;left:0;margin:0 26px;overflow:hidden;border:0;padding:0;-webkit-transform:translate(0,-1px);transform:translate(0,-1px)}.mdl-slider__background-lower{background:#3f51b5}.mdl-slider__background-lower,.mdl-slider__background-upper{-webkit-flex:0;-ms-flex:0;flex:0;position:relative;border:0;padding:0}.mdl-slider__background-upper{background:rgba(0,0,0,.26);transition:left .18s cubic-bezier(.4,0,.2,1)}.mdl-snackbar{position:fixed;bottom:0;left:50%;cursor:default;background-color:#323232;z-index:3;display:block;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;font-family:"Roboto","Helvetica","Arial",sans-serif;will-change:transform;-webkit-transform:translate(0,80px);transform:translate(0,80px);transition:transform .25s cubic-bezier(.4,0,1,1);transition:transform .25s cubic-bezier(.4,0,1,1),-webkit-transform .25s cubic-bezier(.4,0,1,1);pointer-events:none}@media (max-width:479px){.mdl-snackbar{width:100%;left:0;min-height:48px;max-height:80px}}@media (min-width:480px){.mdl-snackbar{min-width:288px;max-width:568px;border-radius:2px;-webkit-transform:translate(-50%,80px);transform:translate(-50%,80px)}}.mdl-snackbar--active{-webkit-transform:translate(0,0);transform:translate(0,0);pointer-events:auto;transition:transform .25s cubic-bezier(0,0,.2,1);transition:transform .25s cubic-bezier(0,0,.2,1),-webkit-transform .25s cubic-bezier(0,0,.2,1)}@media (min-width:480px){.mdl-snackbar--active{-webkit-transform:translate(-50%,0);transform:translate(-50%,0)}}.mdl-snackbar__text{padding:14px 12px 14px 24px;vertical-align:middle;color:#fff;float:left}.mdl-snackbar__action{background:0 0;border:none;color:#ff4081;float:right;padding:14px 24px 14px 12px;font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:14px;font-weight:500;text-transform:uppercase;line-height:1;letter-spacing:0;overflow:hidden;outline:none;opacity:0;pointer-events:none;cursor:pointer;text-decoration:none;text-align:center;-webkit-align-self:center;-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.mdl-snackbar__action::-moz-focus-inner{border:0}.mdl-snackbar__action:not([aria-hidden]){opacity:1;pointer-events:auto}.mdl-spinner{display:inline-block;position:relative;width:28px;height:28px}.mdl-spinner:not(.is-upgraded).is-active:after{content:"Loading..."}.mdl-spinner.is-upgraded.is-active{-webkit-animation:mdl-spinner__container-rotate 1568.23529412ms linear infinite;animation:mdl-spinner__container-rotate 1568.23529412ms linear infinite}@-webkit-keyframes mdl-spinner__container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes mdl-spinner__container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.mdl-spinner__layer{position:absolute;width:100%;height:100%;opacity:0}.mdl-spinner__layer-1{border-color:#42a5f5}.mdl-spinner--single-color .mdl-spinner__layer-1{border-color:#3f51b5}.mdl-spinner.is-active .mdl-spinner__layer-1{-webkit-animation:mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1)infinite both,mdl-spinner__layer-1-fade-in-out 5332ms cubic-bezier(.4,0,.2,1)infinite both;animation:mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1)infinite both,mdl-spinner__layer-1-fade-in-out 5332ms cubic-bezier(.4,0,.2,1)infinite both}.mdl-spinner__layer-2{border-color:#f44336}.mdl-spinner--single-color .mdl-spinner__layer-2{border-color:#3f51b5}.mdl-spinner.is-active .mdl-spinner__layer-2{-webkit-animation:mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1)infinite both,mdl-spinner__layer-2-fade-in-out 5332ms cubic-bezier(.4,0,.2,1)infinite both;animation:mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1)infinite both,mdl-spinner__layer-2-fade-in-out 5332ms cubic-bezier(.4,0,.2,1)infinite both}.mdl-spinner__layer-3{border-color:#fdd835}.mdl-spinner--single-color .mdl-spinner__layer-3{border-color:#3f51b5}.mdl-spinner.is-active .mdl-spinner__layer-3{-webkit-animation:mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1)infinite both,mdl-spinner__layer-3-fade-in-out 5332ms cubic-bezier(.4,0,.2,1)infinite both;animation:mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1)infinite both,mdl-spinner__layer-3-fade-in-out 5332ms cubic-bezier(.4,0,.2,1)infinite both}.mdl-spinner__layer-4{border-color:#4caf50}.mdl-spinner--single-color .mdl-spinner__layer-4{border-color:#3f51b5}.mdl-spinner.is-active .mdl-spinner__layer-4{-webkit-animation:mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1)infinite both,mdl-spinner__layer-4-fade-in-out 5332ms cubic-bezier(.4,0,.2,1)infinite both;animation:mdl-spinner__fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1)infinite both,mdl-spinner__layer-4-fade-in-out 5332ms cubic-bezier(.4,0,.2,1)infinite both}@-webkit-keyframes mdl-spinner__fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@keyframes mdl-spinner__fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@-webkit-keyframes mdl-spinner__layer-1-fade-in-out{from,25%{opacity:.99}26%,89%{opacity:0}90%,100%{opacity:.99}}@keyframes mdl-spinner__layer-1-fade-in-out{from,25%{opacity:.99}26%,89%{opacity:0}90%,100%{opacity:.99}}@-webkit-keyframes mdl-spinner__layer-2-fade-in-out{from,15%{opacity:0}25%,50%{opacity:.99}51%{opacity:0}}@keyframes mdl-spinner__layer-2-fade-in-out{from,15%{opacity:0}25%,50%{opacity:.99}51%{opacity:0}}@-webkit-keyframes mdl-spinner__layer-3-fade-in-out{from,40%{opacity:0}50%,75%{opacity:.99}76%{opacity:0}}@keyframes mdl-spinner__layer-3-fade-in-out{from,40%{opacity:0}50%,75%{opacity:.99}76%{opacity:0}}@-webkit-keyframes mdl-spinner__layer-4-fade-in-out{from,65%{opacity:0}75%,90%{opacity:.99}100%{opacity:0}}@keyframes mdl-spinner__layer-4-fade-in-out{from,65%{opacity:0}75%,90%{opacity:.99}100%{opacity:0}}.mdl-spinner__gap-patch{position:absolute;box-sizing:border-box;top:0;left:45%;width:10%;height:100%;overflow:hidden;border-color:inherit}.mdl-spinner__gap-patch .mdl-spinner__circle{width:1000%;left:-450%}.mdl-spinner__circle-clipper{display:inline-block;position:relative;width:50%;height:100%;overflow:hidden;border-color:inherit}.mdl-spinner__circle-clipper.mdl-spinner__left{float:left}.mdl-spinner__circle-clipper.mdl-spinner__right{float:right}.mdl-spinner__circle-clipper .mdl-spinner__circle{width:200%}.mdl-spinner__circle{box-sizing:border-box;height:100%;border-width:3px;border-style:solid;border-color:inherit;border-bottom-color:transparent!important;border-radius:50%;-webkit-animation:none;animation:none;position:absolute;top:0;right:0;bottom:0;left:0}.mdl-spinner__left .mdl-spinner__circle{border-right-color:transparent!important;-webkit-transform:rotate(129deg);transform:rotate(129deg)}.mdl-spinner.is-active .mdl-spinner__left .mdl-spinner__circle{-webkit-animation:mdl-spinner__left-spin 1333ms cubic-bezier(.4,0,.2,1)infinite both;animation:mdl-spinner__left-spin 1333ms cubic-bezier(.4,0,.2,1)infinite both}.mdl-spinner__right .mdl-spinner__circle{left:-100%;border-left-color:transparent!important;-webkit-transform:rotate(-129deg);transform:rotate(-129deg)}.mdl-spinner.is-active .mdl-spinner__right .mdl-spinner__circle{-webkit-animation:mdl-spinner__right-spin 1333ms cubic-bezier(.4,0,.2,1)infinite both;animation:mdl-spinner__right-spin 1333ms cubic-bezier(.4,0,.2,1)infinite both}@-webkit-keyframes mdl-spinner__left-spin{from{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@keyframes mdl-spinner__left-spin{from{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@-webkit-keyframes mdl-spinner__right-spin{from{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}@keyframes mdl-spinner__right-spin{from{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}.mdl-switch{position:relative;z-index:1;vertical-align:middle;display:inline-block;box-sizing:border-box;width:100%;height:24px;margin:0;padding:0;overflow:visible;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mdl-switch.is-upgraded{padding-left:28px}.mdl-switch__input{line-height:24px}.mdl-switch.is-upgraded .mdl-switch__input{position:absolute;width:0;height:0;margin:0;padding:0;opacity:0;-ms-appearance:none;-moz-appearance:none;-webkit-appearance:none;appearance:none;border:none}.mdl-switch__track{background:rgba(0,0,0,.26);position:absolute;left:0;top:5px;height:14px;width:36px;border-radius:14px;cursor:pointer}.mdl-switch.is-checked .mdl-switch__track{background:rgba(63,81,181,.5)}.mdl-switch__track fieldset[disabled] .mdl-switch,.mdl-switch.is-disabled .mdl-switch__track{background:rgba(0,0,0,.12);cursor:auto}.mdl-switch__thumb{background:#fafafa;position:absolute;left:0;top:2px;height:20px;width:20px;border-radius:50%;cursor:pointer;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:left}.mdl-switch.is-checked .mdl-switch__thumb{background:#3f51b5;left:16px;box-shadow:0 3px 4px 0 rgba(0,0,0,.14),0 3px 3px -2px rgba(0,0,0,.2),0 1px 8px 0 rgba(0,0,0,.12)}.mdl-switch__thumb fieldset[disabled] .mdl-switch,.mdl-switch.is-disabled .mdl-switch__thumb{background:#bdbdbd;cursor:auto}.mdl-switch__focus-helper{position:absolute;top:50%;left:50%;-webkit-transform:translate(-4px,-4px);transform:translate(-4px,-4px);display:inline-block;box-sizing:border-box;width:8px;height:8px;border-radius:50%;background-color:transparent}.mdl-switch.is-focused .mdl-switch__focus-helper{box-shadow:0 0 0 20px rgba(0,0,0,.1);background-color:rgba(0,0,0,.1)}.mdl-switch.is-focused.is-checked .mdl-switch__focus-helper{box-shadow:0 0 0 20px rgba(63,81,181,.26);background-color:rgba(63,81,181,.26)}.mdl-switch__label{position:relative;cursor:pointer;font-size:16px;line-height:24px;margin:0;left:24px}.mdl-switch__label fieldset[disabled] .mdl-switch,.mdl-switch.is-disabled .mdl-switch__label{color:#bdbdbd;cursor:auto}.mdl-switch__ripple-container{position:absolute;z-index:2;top:-12px;left:-14px;box-sizing:border-box;width:48px;height:48px;border-radius:50%;cursor:pointer;overflow:hidden;-webkit-mask-image:-webkit-radial-gradient(circle,#fff,#000);transition-duration:.4s;transition-timing-function:step-end;transition-property:left}.mdl-switch__ripple-container .mdl-ripple{background:#3f51b5}.mdl-switch__ripple-container fieldset[disabled] .mdl-switch,.mdl-switch.is-disabled .mdl-switch__ripple-container{cursor:auto}fieldset[disabled] .mdl-switch .mdl-switch__ripple-container .mdl-ripple,.mdl-switch.is-disabled .mdl-switch__ripple-container .mdl-ripple{background:0 0}.mdl-switch.is-checked .mdl-switch__ripple-container{left:2px}.mdl-tabs{display:block;width:100%}.mdl-tabs__tab-bar{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-content:space-between;-ms-flex-line-pack:justify;align-content:space-between;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;height:48px;padding:0;margin:0;border-bottom:1px solid #e0e0e0}.mdl-tabs__tab{margin:0;border:none;padding:0 24px;float:left;position:relative;display:block;text-decoration:none;height:48px;line-height:48px;text-align:center;font-weight:500;font-size:14px;text-transform:uppercase;color:rgba(0,0,0,.54);overflow:hidden}.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active{color:rgba(0,0,0,.87)}.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active:after{height:2px;width:100%;display:block;content:" ";bottom:0;left:0;position:absolute;background:#3f51b5;-webkit-animation:border-expand .2s cubic-bezier(.4,0,.4,1).01s alternate forwards;animation:border-expand .2s cubic-bezier(.4,0,.4,1).01s alternate forwards;transition:all 1s cubic-bezier(.4,0,1,1)}.mdl-tabs__tab .mdl-tabs__ripple-container{display:block;position:absolute;height:100%;width:100%;left:0;top:0;z-index:1;overflow:hidden}.mdl-tabs__tab .mdl-tabs__ripple-container .mdl-ripple{background:#3f51b5}.mdl-tabs__panel{display:block}.mdl-tabs.is-upgraded .mdl-tabs__panel{display:none}.mdl-tabs.is-upgraded .mdl-tabs__panel.is-active{display:block}@-webkit-keyframes border-expand{0%{opacity:0;width:0}100%{opacity:1;width:100%}}@keyframes border-expand{0%{opacity:0;width:0}100%{opacity:1;width:100%}}.mdl-textfield{position:relative;font-size:16px;display:inline-block;box-sizing:border-box;width:300px;max-width:100%;margin:0;padding:20px 0}.mdl-textfield .mdl-button{position:absolute;bottom:20px}.mdl-textfield--align-right{text-align:right}.mdl-textfield--full-width{width:100%}.mdl-textfield--expandable{min-width:32px;width:auto;min-height:32px}.mdl-textfield--expandable .mdl-button--icon{top:16px}.mdl-textfield__input{border:none;border-bottom:1px solid rgba(0,0,0,.12);display:block;font-size:16px;font-family:"Helvetica","Arial",sans-serif;margin:0;padding:4px 0;width:100%;background:0 0;text-align:left;color:inherit}.mdl-textfield__input[type="number"]{-moz-appearance:textfield}.mdl-textfield__input[type="number"]::-webkit-inner-spin-button,.mdl-textfield__input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.mdl-textfield.is-focused .mdl-textfield__input{outline:none}.mdl-textfield.is-invalid .mdl-textfield__input{border-color:#d50000;box-shadow:none}fieldset[disabled] .mdl-textfield .mdl-textfield__input,.mdl-textfield.is-disabled .mdl-textfield__input{background-color:transparent;border-bottom:1px dotted rgba(0,0,0,.12);color:rgba(0,0,0,.26)}.mdl-textfield textarea.mdl-textfield__input{display:block}.mdl-textfield__label{bottom:0;color:rgba(0,0,0,.26);font-size:16px;left:0;right:0;pointer-events:none;position:absolute;display:block;top:24px;width:100%;overflow:hidden;white-space:nowrap;text-align:left}.mdl-textfield.is-dirty .mdl-textfield__label,.mdl-textfield.has-placeholder .mdl-textfield__label{visibility:hidden}.mdl-textfield--floating-label .mdl-textfield__label{transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.mdl-textfield--floating-label.has-placeholder .mdl-textfield__label{transition:none}fieldset[disabled] .mdl-textfield .mdl-textfield__label,.mdl-textfield.is-disabled.is-disabled .mdl-textfield__label{color:rgba(0,0,0,.26)}.mdl-textfield--floating-label.is-focused .mdl-textfield__label,.mdl-textfield--floating-label.is-dirty .mdl-textfield__label,.mdl-textfield--floating-label.has-placeholder .mdl-textfield__label{color:#3f51b5;font-size:12px;top:4px;visibility:visible}.mdl-textfield--floating-label.is-focused .mdl-textfield__expandable-holder .mdl-textfield__label,.mdl-textfield--floating-label.is-dirty .mdl-textfield__expandable-holder .mdl-textfield__label,.mdl-textfield--floating-label.has-placeholder .mdl-textfield__expandable-holder .mdl-textfield__label{top:-16px}.mdl-textfield--floating-label.is-invalid .mdl-textfield__label{color:#d50000;font-size:12px}.mdl-textfield__label:after{background-color:#3f51b5;bottom:20px;content:'';height:2px;left:45%;position:absolute;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);visibility:hidden;width:10px}.mdl-textfield.is-focused .mdl-textfield__label:after{left:0;visibility:visible;width:100%}.mdl-textfield.is-invalid .mdl-textfield__label:after{background-color:#d50000}.mdl-textfield__error{color:#d50000;position:absolute;font-size:12px;margin-top:3px;visibility:hidden;display:block}.mdl-textfield.is-invalid .mdl-textfield__error{visibility:visible}.mdl-textfield__expandable-holder{display:inline-block;position:relative;margin-left:32px;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:inline-block;max-width:.1px}.mdl-textfield.is-focused .mdl-textfield__expandable-holder,.mdl-textfield.is-dirty .mdl-textfield__expandable-holder{max-width:600px}.mdl-textfield__expandable-holder .mdl-textfield__label:after{bottom:0}.mdl-tooltip{-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:top center;transform-origin:top center;z-index:999;background:rgba(97,97,97,.9);border-radius:2px;color:#fff;display:inline-block;font-size:10px;font-weight:500;line-height:14px;max-width:170px;position:fixed;top:-500px;left:-500px;padding:8px;text-align:center}.mdl-tooltip.is-active{-webkit-animation:pulse 200ms cubic-bezier(0,0,.2,1)forwards;animation:pulse 200ms cubic-bezier(0,0,.2,1)forwards}.mdl-tooltip--large{line-height:14px;font-size:14px;padding:16px}@-webkit-keyframes pulse{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}50%{-webkit-transform:scale(.99);transform:scale(.99)}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}}@keyframes pulse{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}50%{-webkit-transform:scale(.99);transform:scale(.99)}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}}.mdl-shadow--2dp{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.mdl-shadow--3dp{box-shadow:0 3px 4px 0 rgba(0,0,0,.14),0 3px 3px -2px rgba(0,0,0,.2),0 1px 8px 0 rgba(0,0,0,.12)}.mdl-shadow--4dp{box-shadow:0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2)}.mdl-shadow--6dp{box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2)}.mdl-shadow--8dp{box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.2)}.mdl-shadow--16dp{box-shadow:0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)}.mdl-shadow--24dp{box-shadow:0 9px 46px 8px rgba(0,0,0,.14),0 11px 15px -7px rgba(0,0,0,.12),0 24px 38px 3px rgba(0,0,0,.2)}.mdl-grid{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;margin:0 auto;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.mdl-grid.mdl-grid--no-spacing{padding:0}.mdl-cell{box-sizing:border-box}.mdl-cell--top{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}.mdl-cell--middle{-webkit-align-self:center;-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.mdl-cell--bottom{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.mdl-cell--stretch{-webkit-align-self:stretch;-ms-flex-item-align:stretch;-ms-grid-row-align:stretch;align-self:stretch}.mdl-grid.mdl-grid--no-spacing>.mdl-cell{margin:0}.mdl-cell--order-1{-webkit-order:1;-ms-flex-order:1;order:1}.mdl-cell--order-2{-webkit-order:2;-ms-flex-order:2;order:2}.mdl-cell--order-3{-webkit-order:3;-ms-flex-order:3;order:3}.mdl-cell--order-4{-webkit-order:4;-ms-flex-order:4;order:4}.mdl-cell--order-5{-webkit-order:5;-ms-flex-order:5;order:5}.mdl-cell--order-6{-webkit-order:6;-ms-flex-order:6;order:6}.mdl-cell--order-7{-webkit-order:7;-ms-flex-order:7;order:7}.mdl-cell--order-8{-webkit-order:8;-ms-flex-order:8;order:8}.mdl-cell--order-9{-webkit-order:9;-ms-flex-order:9;order:9}.mdl-cell--order-10{-webkit-order:10;-ms-flex-order:10;order:10}.mdl-cell--order-11{-webkit-order:11;-ms-flex-order:11;order:11}.mdl-cell--order-12{-webkit-order:12;-ms-flex-order:12;order:12}@media (max-width:479px){.mdl-grid{padding:8px}.mdl-cell{margin:8px;width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell{width:100%}.mdl-cell--hide-phone{display:none!important}.mdl-cell--order-1-phone.mdl-cell--order-1-phone{-webkit-order:1;-ms-flex-order:1;order:1}.mdl-cell--order-2-phone.mdl-cell--order-2-phone{-webkit-order:2;-ms-flex-order:2;order:2}.mdl-cell--order-3-phone.mdl-cell--order-3-phone{-webkit-order:3;-ms-flex-order:3;order:3}.mdl-cell--order-4-phone.mdl-cell--order-4-phone{-webkit-order:4;-ms-flex-order:4;order:4}.mdl-cell--order-5-phone.mdl-cell--order-5-phone{-webkit-order:5;-ms-flex-order:5;order:5}.mdl-cell--order-6-phone.mdl-cell--order-6-phone{-webkit-order:6;-ms-flex-order:6;order:6}.mdl-cell--order-7-phone.mdl-cell--order-7-phone{-webkit-order:7;-ms-flex-order:7;order:7}.mdl-cell--order-8-phone.mdl-cell--order-8-phone{-webkit-order:8;-ms-flex-order:8;order:8}.mdl-cell--order-9-phone.mdl-cell--order-9-phone{-webkit-order:9;-ms-flex-order:9;order:9}.mdl-cell--order-10-phone.mdl-cell--order-10-phone{-webkit-order:10;-ms-flex-order:10;order:10}.mdl-cell--order-11-phone.mdl-cell--order-11-phone{-webkit-order:11;-ms-flex-order:11;order:11}.mdl-cell--order-12-phone.mdl-cell--order-12-phone{-webkit-order:12;-ms-flex-order:12;order:12}.mdl-cell--1-col,.mdl-cell--1-col-phone.mdl-cell--1-col-phone{width:calc(25% - 16px)}.mdl-grid--no-spacing>.mdl-cell--1-col,.mdl-grid--no-spacing>.mdl-cell--1-col-phone.mdl-cell--1-col-phone{width:25%}.mdl-cell--2-col,.mdl-cell--2-col-phone.mdl-cell--2-col-phone{width:calc(50% - 16px)}.mdl-grid--no-spacing>.mdl-cell--2-col,.mdl-grid--no-spacing>.mdl-cell--2-col-phone.mdl-cell--2-col-phone{width:50%}.mdl-cell--3-col,.mdl-cell--3-col-phone.mdl-cell--3-col-phone{width:calc(75% - 16px)}.mdl-grid--no-spacing>.mdl-cell--3-col,.mdl-grid--no-spacing>.mdl-cell--3-col-phone.mdl-cell--3-col-phone{width:75%}.mdl-cell--4-col,.mdl-cell--4-col-phone.mdl-cell--4-col-phone{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--4-col,.mdl-grid--no-spacing>.mdl-cell--4-col-phone.mdl-cell--4-col-phone{width:100%}.mdl-cell--5-col,.mdl-cell--5-col-phone.mdl-cell--5-col-phone{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--5-col,.mdl-grid--no-spacing>.mdl-cell--5-col-phone.mdl-cell--5-col-phone{width:100%}.mdl-cell--6-col,.mdl-cell--6-col-phone.mdl-cell--6-col-phone{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--6-col,.mdl-grid--no-spacing>.mdl-cell--6-col-phone.mdl-cell--6-col-phone{width:100%}.mdl-cell--7-col,.mdl-cell--7-col-phone.mdl-cell--7-col-phone{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--7-col,.mdl-grid--no-spacing>.mdl-cell--7-col-phone.mdl-cell--7-col-phone{width:100%}.mdl-cell--8-col,.mdl-cell--8-col-phone.mdl-cell--8-col-phone{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--8-col,.mdl-grid--no-spacing>.mdl-cell--8-col-phone.mdl-cell--8-col-phone{width:100%}.mdl-cell--9-col,.mdl-cell--9-col-phone.mdl-cell--9-col-phone{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--9-col,.mdl-grid--no-spacing>.mdl-cell--9-col-phone.mdl-cell--9-col-phone{width:100%}.mdl-cell--10-col,.mdl-cell--10-col-phone.mdl-cell--10-col-phone{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--10-col,.mdl-grid--no-spacing>.mdl-cell--10-col-phone.mdl-cell--10-col-phone{width:100%}.mdl-cell--11-col,.mdl-cell--11-col-phone.mdl-cell--11-col-phone{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--11-col,.mdl-grid--no-spacing>.mdl-cell--11-col-phone.mdl-cell--11-col-phone{width:100%}.mdl-cell--12-col,.mdl-cell--12-col-phone.mdl-cell--12-col-phone{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--12-col,.mdl-grid--no-spacing>.mdl-cell--12-col-phone.mdl-cell--12-col-phone{width:100%}.mdl-cell--1-offset,.mdl-cell--1-offset-phone.mdl-cell--1-offset-phone{margin-left:calc(25% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--1-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--1-offset-phone.mdl-cell--1-offset-phone{margin-left:25%}.mdl-cell--2-offset,.mdl-cell--2-offset-phone.mdl-cell--2-offset-phone{margin-left:calc(50% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--2-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--2-offset-phone.mdl-cell--2-offset-phone{margin-left:50%}.mdl-cell--3-offset,.mdl-cell--3-offset-phone.mdl-cell--3-offset-phone{margin-left:calc(75% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--3-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--3-offset-phone.mdl-cell--3-offset-phone{margin-left:75%}}@media (min-width:480px) and (max-width:839px){.mdl-grid{padding:8px}.mdl-cell{margin:8px;width:calc(50% - 16px)}.mdl-grid--no-spacing>.mdl-cell{width:50%}.mdl-cell--hide-tablet{display:none!important}.mdl-cell--order-1-tablet.mdl-cell--order-1-tablet{-webkit-order:1;-ms-flex-order:1;order:1}.mdl-cell--order-2-tablet.mdl-cell--order-2-tablet{-webkit-order:2;-ms-flex-order:2;order:2}.mdl-cell--order-3-tablet.mdl-cell--order-3-tablet{-webkit-order:3;-ms-flex-order:3;order:3}.mdl-cell--order-4-tablet.mdl-cell--order-4-tablet{-webkit-order:4;-ms-flex-order:4;order:4}.mdl-cell--order-5-tablet.mdl-cell--order-5-tablet{-webkit-order:5;-ms-flex-order:5;order:5}.mdl-cell--order-6-tablet.mdl-cell--order-6-tablet{-webkit-order:6;-ms-flex-order:6;order:6}.mdl-cell--order-7-tablet.mdl-cell--order-7-tablet{-webkit-order:7;-ms-flex-order:7;order:7}.mdl-cell--order-8-tablet.mdl-cell--order-8-tablet{-webkit-order:8;-ms-flex-order:8;order:8}.mdl-cell--order-9-tablet.mdl-cell--order-9-tablet{-webkit-order:9;-ms-flex-order:9;order:9}.mdl-cell--order-10-tablet.mdl-cell--order-10-tablet{-webkit-order:10;-ms-flex-order:10;order:10}.mdl-cell--order-11-tablet.mdl-cell--order-11-tablet{-webkit-order:11;-ms-flex-order:11;order:11}.mdl-cell--order-12-tablet.mdl-cell--order-12-tablet{-webkit-order:12;-ms-flex-order:12;order:12}.mdl-cell--1-col,.mdl-cell--1-col-tablet.mdl-cell--1-col-tablet{width:calc(12.5% - 16px)}.mdl-grid--no-spacing>.mdl-cell--1-col,.mdl-grid--no-spacing>.mdl-cell--1-col-tablet.mdl-cell--1-col-tablet{width:12.5%}.mdl-cell--2-col,.mdl-cell--2-col-tablet.mdl-cell--2-col-tablet{width:calc(25% - 16px)}.mdl-grid--no-spacing>.mdl-cell--2-col,.mdl-grid--no-spacing>.mdl-cell--2-col-tablet.mdl-cell--2-col-tablet{width:25%}.mdl-cell--3-col,.mdl-cell--3-col-tablet.mdl-cell--3-col-tablet{width:calc(37.5% - 16px)}.mdl-grid--no-spacing>.mdl-cell--3-col,.mdl-grid--no-spacing>.mdl-cell--3-col-tablet.mdl-cell--3-col-tablet{width:37.5%}.mdl-cell--4-col,.mdl-cell--4-col-tablet.mdl-cell--4-col-tablet{width:calc(50% - 16px)}.mdl-grid--no-spacing>.mdl-cell--4-col,.mdl-grid--no-spacing>.mdl-cell--4-col-tablet.mdl-cell--4-col-tablet{width:50%}.mdl-cell--5-col,.mdl-cell--5-col-tablet.mdl-cell--5-col-tablet{width:calc(62.5% - 16px)}.mdl-grid--no-spacing>.mdl-cell--5-col,.mdl-grid--no-spacing>.mdl-cell--5-col-tablet.mdl-cell--5-col-tablet{width:62.5%}.mdl-cell--6-col,.mdl-cell--6-col-tablet.mdl-cell--6-col-tablet{width:calc(75% - 16px)}.mdl-grid--no-spacing>.mdl-cell--6-col,.mdl-grid--no-spacing>.mdl-cell--6-col-tablet.mdl-cell--6-col-tablet{width:75%}.mdl-cell--7-col,.mdl-cell--7-col-tablet.mdl-cell--7-col-tablet{width:calc(87.5% - 16px)}.mdl-grid--no-spacing>.mdl-cell--7-col,.mdl-grid--no-spacing>.mdl-cell--7-col-tablet.mdl-cell--7-col-tablet{width:87.5%}.mdl-cell--8-col,.mdl-cell--8-col-tablet.mdl-cell--8-col-tablet{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--8-col,.mdl-grid--no-spacing>.mdl-cell--8-col-tablet.mdl-cell--8-col-tablet{width:100%}.mdl-cell--9-col,.mdl-cell--9-col-tablet.mdl-cell--9-col-tablet{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--9-col,.mdl-grid--no-spacing>.mdl-cell--9-col-tablet.mdl-cell--9-col-tablet{width:100%}.mdl-cell--10-col,.mdl-cell--10-col-tablet.mdl-cell--10-col-tablet{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--10-col,.mdl-grid--no-spacing>.mdl-cell--10-col-tablet.mdl-cell--10-col-tablet{width:100%}.mdl-cell--11-col,.mdl-cell--11-col-tablet.mdl-cell--11-col-tablet{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--11-col,.mdl-grid--no-spacing>.mdl-cell--11-col-tablet.mdl-cell--11-col-tablet{width:100%}.mdl-cell--12-col,.mdl-cell--12-col-tablet.mdl-cell--12-col-tablet{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--12-col,.mdl-grid--no-spacing>.mdl-cell--12-col-tablet.mdl-cell--12-col-tablet{width:100%}.mdl-cell--1-offset,.mdl-cell--1-offset-tablet.mdl-cell--1-offset-tablet{margin-left:calc(12.5% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--1-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--1-offset-tablet.mdl-cell--1-offset-tablet{margin-left:12.5%}.mdl-cell--2-offset,.mdl-cell--2-offset-tablet.mdl-cell--2-offset-tablet{margin-left:calc(25% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--2-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--2-offset-tablet.mdl-cell--2-offset-tablet{margin-left:25%}.mdl-cell--3-offset,.mdl-cell--3-offset-tablet.mdl-cell--3-offset-tablet{margin-left:calc(37.5% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--3-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--3-offset-tablet.mdl-cell--3-offset-tablet{margin-left:37.5%}.mdl-cell--4-offset,.mdl-cell--4-offset-tablet.mdl-cell--4-offset-tablet{margin-left:calc(50% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--4-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--4-offset-tablet.mdl-cell--4-offset-tablet{margin-left:50%}.mdl-cell--5-offset,.mdl-cell--5-offset-tablet.mdl-cell--5-offset-tablet{margin-left:calc(62.5% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--5-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--5-offset-tablet.mdl-cell--5-offset-tablet{margin-left:62.5%}.mdl-cell--6-offset,.mdl-cell--6-offset-tablet.mdl-cell--6-offset-tablet{margin-left:calc(75% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--6-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--6-offset-tablet.mdl-cell--6-offset-tablet{margin-left:75%}.mdl-cell--7-offset,.mdl-cell--7-offset-tablet.mdl-cell--7-offset-tablet{margin-left:calc(87.5% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--7-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--7-offset-tablet.mdl-cell--7-offset-tablet{margin-left:87.5%}}@media (min-width:840px){.mdl-grid{padding:8px}.mdl-cell{margin:8px;width:calc(33.3333333333% - 16px)}.mdl-grid--no-spacing>.mdl-cell{width:33.3333333333%}.mdl-cell--hide-desktop{display:none!important}.mdl-cell--order-1-desktop.mdl-cell--order-1-desktop{-webkit-order:1;-ms-flex-order:1;order:1}.mdl-cell--order-2-desktop.mdl-cell--order-2-desktop{-webkit-order:2;-ms-flex-order:2;order:2}.mdl-cell--order-3-desktop.mdl-cell--order-3-desktop{-webkit-order:3;-ms-flex-order:3;order:3}.mdl-cell--order-4-desktop.mdl-cell--order-4-desktop{-webkit-order:4;-ms-flex-order:4;order:4}.mdl-cell--order-5-desktop.mdl-cell--order-5-desktop{-webkit-order:5;-ms-flex-order:5;order:5}.mdl-cell--order-6-desktop.mdl-cell--order-6-desktop{-webkit-order:6;-ms-flex-order:6;order:6}.mdl-cell--order-7-desktop.mdl-cell--order-7-desktop{-webkit-order:7;-ms-flex-order:7;order:7}.mdl-cell--order-8-desktop.mdl-cell--order-8-desktop{-webkit-order:8;-ms-flex-order:8;order:8}.mdl-cell--order-9-desktop.mdl-cell--order-9-desktop{-webkit-order:9;-ms-flex-order:9;order:9}.mdl-cell--order-10-desktop.mdl-cell--order-10-desktop{-webkit-order:10;-ms-flex-order:10;order:10}.mdl-cell--order-11-desktop.mdl-cell--order-11-desktop{-webkit-order:11;-ms-flex-order:11;order:11}.mdl-cell--order-12-desktop.mdl-cell--order-12-desktop{-webkit-order:12;-ms-flex-order:12;order:12}.mdl-cell--1-col,.mdl-cell--1-col-desktop.mdl-cell--1-col-desktop{width:calc(8.3333333333% - 16px)}.mdl-grid--no-spacing>.mdl-cell--1-col,.mdl-grid--no-spacing>.mdl-cell--1-col-desktop.mdl-cell--1-col-desktop{width:8.3333333333%}.mdl-cell--2-col,.mdl-cell--2-col-desktop.mdl-cell--2-col-desktop{width:calc(16.6666666667% - 16px)}.mdl-grid--no-spacing>.mdl-cell--2-col,.mdl-grid--no-spacing>.mdl-cell--2-col-desktop.mdl-cell--2-col-desktop{width:16.6666666667%}.mdl-cell--3-col,.mdl-cell--3-col-desktop.mdl-cell--3-col-desktop{width:calc(25% - 16px)}.mdl-grid--no-spacing>.mdl-cell--3-col,.mdl-grid--no-spacing>.mdl-cell--3-col-desktop.mdl-cell--3-col-desktop{width:25%}.mdl-cell--4-col,.mdl-cell--4-col-desktop.mdl-cell--4-col-desktop{width:calc(33.3333333333% - 16px)}.mdl-grid--no-spacing>.mdl-cell--4-col,.mdl-grid--no-spacing>.mdl-cell--4-col-desktop.mdl-cell--4-col-desktop{width:33.3333333333%}.mdl-cell--5-col,.mdl-cell--5-col-desktop.mdl-cell--5-col-desktop{width:calc(41.6666666667% - 16px)}.mdl-grid--no-spacing>.mdl-cell--5-col,.mdl-grid--no-spacing>.mdl-cell--5-col-desktop.mdl-cell--5-col-desktop{width:41.6666666667%}.mdl-cell--6-col,.mdl-cell--6-col-desktop.mdl-cell--6-col-desktop{width:calc(50% - 16px)}.mdl-grid--no-spacing>.mdl-cell--6-col,.mdl-grid--no-spacing>.mdl-cell--6-col-desktop.mdl-cell--6-col-desktop{width:50%}.mdl-cell--7-col,.mdl-cell--7-col-desktop.mdl-cell--7-col-desktop{width:calc(58.3333333333% - 16px)}.mdl-grid--no-spacing>.mdl-cell--7-col,.mdl-grid--no-spacing>.mdl-cell--7-col-desktop.mdl-cell--7-col-desktop{width:58.3333333333%}.mdl-cell--8-col,.mdl-cell--8-col-desktop.mdl-cell--8-col-desktop{width:calc(66.6666666667% - 16px)}.mdl-grid--no-spacing>.mdl-cell--8-col,.mdl-grid--no-spacing>.mdl-cell--8-col-desktop.mdl-cell--8-col-desktop{width:66.6666666667%}.mdl-cell--9-col,.mdl-cell--9-col-desktop.mdl-cell--9-col-desktop{width:calc(75% - 16px)}.mdl-grid--no-spacing>.mdl-cell--9-col,.mdl-grid--no-spacing>.mdl-cell--9-col-desktop.mdl-cell--9-col-desktop{width:75%}.mdl-cell--10-col,.mdl-cell--10-col-desktop.mdl-cell--10-col-desktop{width:calc(83.3333333333% - 16px)}.mdl-grid--no-spacing>.mdl-cell--10-col,.mdl-grid--no-spacing>.mdl-cell--10-col-desktop.mdl-cell--10-col-desktop{width:83.3333333333%}.mdl-cell--11-col,.mdl-cell--11-col-desktop.mdl-cell--11-col-desktop{width:calc(91.6666666667% - 16px)}.mdl-grid--no-spacing>.mdl-cell--11-col,.mdl-grid--no-spacing>.mdl-cell--11-col-desktop.mdl-cell--11-col-desktop{width:91.6666666667%}.mdl-cell--12-col,.mdl-cell--12-col-desktop.mdl-cell--12-col-desktop{width:calc(100% - 16px)}.mdl-grid--no-spacing>.mdl-cell--12-col,.mdl-grid--no-spacing>.mdl-cell--12-col-desktop.mdl-cell--12-col-desktop{width:100%}.mdl-cell--1-offset,.mdl-cell--1-offset-desktop.mdl-cell--1-offset-desktop{margin-left:calc(8.3333333333% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--1-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--1-offset-desktop.mdl-cell--1-offset-desktop{margin-left:8.3333333333%}.mdl-cell--2-offset,.mdl-cell--2-offset-desktop.mdl-cell--2-offset-desktop{margin-left:calc(16.6666666667% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--2-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--2-offset-desktop.mdl-cell--2-offset-desktop{margin-left:16.6666666667%}.mdl-cell--3-offset,.mdl-cell--3-offset-desktop.mdl-cell--3-offset-desktop{margin-left:calc(25% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--3-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--3-offset-desktop.mdl-cell--3-offset-desktop{margin-left:25%}.mdl-cell--4-offset,.mdl-cell--4-offset-desktop.mdl-cell--4-offset-desktop{margin-left:calc(33.3333333333% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--4-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--4-offset-desktop.mdl-cell--4-offset-desktop{margin-left:33.3333333333%}.mdl-cell--5-offset,.mdl-cell--5-offset-desktop.mdl-cell--5-offset-desktop{margin-left:calc(41.6666666667% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--5-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--5-offset-desktop.mdl-cell--5-offset-desktop{margin-left:41.6666666667%}.mdl-cell--6-offset,.mdl-cell--6-offset-desktop.mdl-cell--6-offset-desktop{margin-left:calc(50% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--6-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--6-offset-desktop.mdl-cell--6-offset-desktop{margin-left:50%}.mdl-cell--7-offset,.mdl-cell--7-offset-desktop.mdl-cell--7-offset-desktop{margin-left:calc(58.3333333333% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--7-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--7-offset-desktop.mdl-cell--7-offset-desktop{margin-left:58.3333333333%}.mdl-cell--8-offset,.mdl-cell--8-offset-desktop.mdl-cell--8-offset-desktop{margin-left:calc(66.6666666667% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--8-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--8-offset-desktop.mdl-cell--8-offset-desktop{margin-left:66.6666666667%}.mdl-cell--9-offset,.mdl-cell--9-offset-desktop.mdl-cell--9-offset-desktop{margin-left:calc(75% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--9-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--9-offset-desktop.mdl-cell--9-offset-desktop{margin-left:75%}.mdl-cell--10-offset,.mdl-cell--10-offset-desktop.mdl-cell--10-offset-desktop{margin-left:calc(83.3333333333% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--10-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--10-offset-desktop.mdl-cell--10-offset-desktop{margin-left:83.3333333333%}.mdl-cell--11-offset,.mdl-cell--11-offset-desktop.mdl-cell--11-offset-desktop{margin-left:calc(91.6666666667% + 8px)}.mdl-grid.mdl-grid--no-spacing>.mdl-cell--11-offset,.mdl-grid.mdl-grid--no-spacing>.mdl-cell--11-offset-desktop.mdl-cell--11-offset-desktop{margin-left:91.6666666667%}}
|
9 |
+
/*# sourceMappingURL=material.min.css.map */
|
assets/js/admin.js
ADDED
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
jQuery( function( $ ) {
|
3 |
+
|
4 |
+
var wc_shipment_tracking_items = {
|
5 |
+
|
6 |
+
// init Class
|
7 |
+
init: function() {
|
8 |
+
$( '#woocommerce-advanced-shipment-tracking' )
|
9 |
+
.on( 'click', 'a.delete-tracking', this.delete_tracking )
|
10 |
+
.on( 'click', 'button.button-show-tracking-form', this.show_form )
|
11 |
+
.on( 'click', 'button.button-save-form', this.save_form );
|
12 |
+
},
|
13 |
+
|
14 |
+
// When a user enters a new tracking item
|
15 |
+
save_form: function () {
|
16 |
+
var error;
|
17 |
+
var tracking_number = jQuery("#tracking_number");
|
18 |
+
var tracking_provider = jQuery("#tracking_provider");
|
19 |
+
if( tracking_number.val() === '' ){
|
20 |
+
showerror( tracking_number );error = true;
|
21 |
+
} else{
|
22 |
+
hideerror(tracking_number);
|
23 |
+
}
|
24 |
+
if( tracking_provider.val() === '' ){
|
25 |
+
jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','red');
|
26 |
+
error = true;
|
27 |
+
} else{
|
28 |
+
jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','#ddd');
|
29 |
+
hideerror(tracking_provider);
|
30 |
+
}
|
31 |
+
if(error == true){
|
32 |
+
return false;
|
33 |
+
}
|
34 |
+
if ( !$( 'input#tracking_number' ).val() ) {
|
35 |
+
return false;
|
36 |
+
}
|
37 |
+
|
38 |
+
$( '#advanced-shipment-tracking-form' ).block( {
|
39 |
+
message: null,
|
40 |
+
overlayCSS: {
|
41 |
+
background: '#fff',
|
42 |
+
opacity: 0.6
|
43 |
+
}
|
44 |
+
} );
|
45 |
+
|
46 |
+
var data = {
|
47 |
+
action: 'wc_shipment_tracking_save_form',
|
48 |
+
order_id: woocommerce_admin_meta_boxes.post_id,
|
49 |
+
tracking_provider: $( '#tracking_provider' ).val(),
|
50 |
+
custom_tracking_provider: $( '#custom_tracking_provider' ).val(),
|
51 |
+
custom_tracking_link: $( 'input#custom_tracking_link' ).val(),
|
52 |
+
tracking_number: $( 'input#tracking_number' ).val(),
|
53 |
+
date_shipped: $( 'input#date_shipped' ).val(),
|
54 |
+
security: $( '#wc_shipment_tracking_create_nonce' ).val()
|
55 |
+
};
|
56 |
+
|
57 |
+
|
58 |
+
$.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
|
59 |
+
$( '#advanced-shipment-tracking-form' ).unblock();
|
60 |
+
if ( response != '-1' ) {
|
61 |
+
$( '#advanced-shipment-tracking-form' ).hide();
|
62 |
+
$( '#woocommerce-advanced-shipment-tracking #tracking-items' ).append( response );
|
63 |
+
$( '#woocommerce-advanced-shipment-tracking button.button-show-tracking-form' ).show();
|
64 |
+
$( '#tracking_provider' ).selectedIndex = 0;
|
65 |
+
$( '#custom_tracking_provider' ).val( '' );
|
66 |
+
$( 'input#custom_tracking_link' ).val( '' );
|
67 |
+
$( 'input#tracking_number' ).val( '' );
|
68 |
+
$( 'input#date_shipped' ).val( '' );
|
69 |
+
}
|
70 |
+
});
|
71 |
+
|
72 |
+
return false;
|
73 |
+
},
|
74 |
+
|
75 |
+
// Show the new tracking item form
|
76 |
+
show_form: function () {
|
77 |
+
$( '#woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form' ).show();
|
78 |
+
$( '#woocommerce-advanced-shipment-tracking .button-show-tracking-form' ).hide();
|
79 |
+
},
|
80 |
+
|
81 |
+
// Delete a tracking item
|
82 |
+
delete_tracking: function() {
|
83 |
+
|
84 |
+
var tracking_id = $( this ).attr( 'rel' );
|
85 |
+
|
86 |
+
$( '#tracking-item-' + tracking_id ).block({
|
87 |
+
message: null,
|
88 |
+
overlayCSS: {
|
89 |
+
background: '#fff',
|
90 |
+
opacity: 0.6
|
91 |
+
}
|
92 |
+
});
|
93 |
+
|
94 |
+
var data = {
|
95 |
+
action: 'wc_shipment_tracking_delete_item',
|
96 |
+
order_id: woocommerce_admin_meta_boxes.post_id,
|
97 |
+
tracking_id: tracking_id,
|
98 |
+
security: $( '#wc_shipment_tracking_delete_nonce' ).val()
|
99 |
+
};
|
100 |
+
|
101 |
+
$.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
|
102 |
+
$( '#tracking-item-' + tracking_id ).unblock();
|
103 |
+
if ( response != '-1' ) {
|
104 |
+
$( '#tracking-item-' + tracking_id ).remove();
|
105 |
+
}
|
106 |
+
});
|
107 |
+
|
108 |
+
return false;
|
109 |
+
},
|
110 |
+
|
111 |
+
refresh_items: function() {
|
112 |
+
var data = {
|
113 |
+
action: 'wc_shipment_tracking_get_items',
|
114 |
+
order_id: woocommerce_admin_meta_boxes.post_id,
|
115 |
+
security: $( '#wc_shipment_tracking_get_nonce' ).val()
|
116 |
+
};
|
117 |
+
|
118 |
+
$( '#woocommerce-shipment-tracking' ).block( {
|
119 |
+
message: null,
|
120 |
+
overlayCSS: {
|
121 |
+
background: '#fff',
|
122 |
+
opacity: 0.6
|
123 |
+
}
|
124 |
+
} );
|
125 |
+
|
126 |
+
$.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
|
127 |
+
$( '#woocommerce-shipment-tracking' ).unblock();
|
128 |
+
if ( response != '-1' ) {
|
129 |
+
$( '#woocommerce-shipment-tracking #tracking-items' ).html( response );
|
130 |
+
}
|
131 |
+
});
|
132 |
+
},
|
133 |
+
}
|
134 |
+
|
135 |
+
wc_shipment_tracking_items.init();
|
136 |
+
|
137 |
+
window.wc_shipment_tracking_refresh = wc_shipment_tracking_items.refresh_items;
|
138 |
+
} );
|
139 |
+
function showerror(element){
|
140 |
+
element.css("border-color","red");
|
141 |
+
}
|
142 |
+
function hideerror(element){
|
143 |
+
element.css("border-color","");
|
144 |
+
}
|
assets/js/admin.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
jQuery(function(a){var b={init:function(){a("#woocommerce-shipment-tracking").on("click","a.delete-tracking",this.delete_tracking).on("click","button.button-show-form",this.show_form).on("click","button.button-save-form",this.save_form)},save_form:function(){if(!a("input#tracking_number").val())return!1;a("#shipment-tracking-form").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var b={action:"wc_shipment_tracking_save_form",order_id:woocommerce_admin_meta_boxes.post_id,tracking_provider:a("#tracking_provider").val(),custom_tracking_provider:a("#custom_tracking_provider").val(),custom_tracking_link:a("input#custom_tracking_link").val(),tracking_number:a("input#tracking_number").val(),date_shipped:a("input#date_shipped").val(),security:a("#wc_shipment_tracking_create_nonce").val()};return a.post(woocommerce_admin_meta_boxes.ajax_url,b,function(b){a("#shipment-tracking-form").unblock(),"-1"!=b&&(a("#shipment-tracking-form").hide(),a("#woocommerce-shipment-tracking #tracking-items").append(b),a("#woocommerce-shipment-tracking button.button-show-form").show(),a("#tracking_provider").selectedIndex=0,a("#custom_tracking_provider").val(""),a("input#custom_tracking_link").val(""),a("input#tracking_number").val(""),a("input#date_shipped").val(""),a("p.preview_tracking_link").hide())}),!1},show_form:function(){a("#shipment-tracking-form").show(),a("#woocommerce-shipment-tracking button.button-show-form").hide()},delete_tracking:function(){var b=a(this).attr("rel");a("#tracking-item-"+b).block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var c={action:"wc_shipment_tracking_delete_item",order_id:woocommerce_admin_meta_boxes.post_id,tracking_id:b,security:a("#wc_shipment_tracking_delete_nonce").val()};return a.post(woocommerce_admin_meta_boxes.ajax_url,c,function(c){a("#tracking-item-"+b).unblock(),"-1"!=c&&a("#tracking-item-"+b).remove()}),!1},refresh_items:function(){var b={action:"wc_shipment_tracking_get_items",order_id:woocommerce_admin_meta_boxes.post_id,security:a("#wc_shipment_tracking_get_nonce").val()};a("#woocommerce-shipment-tracking").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),a.post(woocommerce_admin_meta_boxes.ajax_url,b,function(b){a("#woocommerce-shipment-tracking").unblock(),"-1"!=b&&a("#woocommerce-shipment-tracking #tracking-items").html(b)})}};b.init(),window.wc_shipment_tracking_refresh=b.refresh_items});
|
assets/js/material.min.js
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* material-design-lite - Material Design Components in CSS, JS and HTML
|
3 |
+
* @version v1.3.0
|
4 |
+
* @license Apache-2.0
|
5 |
+
* @copyright 2015 Google, Inc.
|
6 |
+
* @link https://github.com/google/material-design-lite
|
7 |
+
*/
|
8 |
+
!function(){"use strict";function e(e,t){if(e){if(t.element_.classList.contains(t.CssClasses_.MDL_JS_RIPPLE_EFFECT)){var s=document.createElement("span");s.classList.add(t.CssClasses_.MDL_RIPPLE_CONTAINER),s.classList.add(t.CssClasses_.MDL_JS_RIPPLE_EFFECT);var i=document.createElement("span");i.classList.add(t.CssClasses_.MDL_RIPPLE),s.appendChild(i),e.appendChild(s)}e.addEventListener("click",function(s){if("#"===e.getAttribute("href").charAt(0)){s.preventDefault();var i=e.href.split("#")[1],n=t.element_.querySelector("#"+i);t.resetTabState_(),t.resetPanelState_(),e.classList.add(t.CssClasses_.ACTIVE_CLASS),n.classList.add(t.CssClasses_.ACTIVE_CLASS)}})}}function t(e,t,s,i){function n(){var n=e.href.split("#")[1],a=i.content_.querySelector("#"+n);i.resetTabState_(t),i.resetPanelState_(s),e.classList.add(i.CssClasses_.IS_ACTIVE),a.classList.add(i.CssClasses_.IS_ACTIVE)}if(i.tabBar_.classList.contains(i.CssClasses_.JS_RIPPLE_EFFECT)){var a=document.createElement("span");a.classList.add(i.CssClasses_.RIPPLE_CONTAINER),a.classList.add(i.CssClasses_.JS_RIPPLE_EFFECT);var l=document.createElement("span");l.classList.add(i.CssClasses_.RIPPLE),a.appendChild(l),e.appendChild(a)}i.tabBar_.classList.contains(i.CssClasses_.TAB_MANUAL_SWITCH)||e.addEventListener("click",function(t){"#"===e.getAttribute("href").charAt(0)&&(t.preventDefault(),n())}),e.show=n}var s={upgradeDom:function(e,t){},upgradeElement:function(e,t){},upgradeElements:function(e){},upgradeAllRegistered:function(){},registerUpgradedCallback:function(e,t){},register:function(e){},downgradeElements:function(e){}};s=function(){function e(e,t){for(var s=0;s<c.length;s++)if(c[s].className===e)return"undefined"!=typeof t&&(c[s]=t),c[s];return!1}function t(e){var t=e.getAttribute("data-upgraded");return null===t?[""]:t.split(",")}function s(e,s){var i=t(e);return i.indexOf(s)!==-1}function i(e,t,s){if("CustomEvent"in window&&"function"==typeof window.CustomEvent)return new CustomEvent(e,{bubbles:t,cancelable:s});var i=document.createEvent("Events");return i.initEvent(e,t,s),i}function n(t,s){if("undefined"==typeof t&&"undefined"==typeof s)for(var i=0;i<c.length;i++)n(c[i].className,c[i].cssClass);else{var l=t;if("undefined"==typeof s){var o=e(l);o&&(s=o.cssClass)}for(var r=document.querySelectorAll("."+s),_=0;_<r.length;_++)a(r[_],l)}}function a(n,a){if(!("object"==typeof n&&n instanceof Element))throw new Error("Invalid argument provided to upgrade MDL element.");var l=i("mdl-componentupgrading",!0,!0);if(n.dispatchEvent(l),!l.defaultPrevented){var o=t(n),r=[];if(a)s(n,a)||r.push(e(a));else{var _=n.classList;c.forEach(function(e){_.contains(e.cssClass)&&r.indexOf(e)===-1&&!s(n,e.className)&&r.push(e)})}for(var d,h=0,u=r.length;h<u;h++){if(d=r[h],!d)throw new Error("Unable to find a registered component for the given class.");o.push(d.className),n.setAttribute("data-upgraded",o.join(","));var E=new d.classConstructor(n);E[C]=d,p.push(E);for(var m=0,L=d.callbacks.length;m<L;m++)d.callbacks[m](n);d.widget&&(n[d.className]=E);var I=i("mdl-componentupgraded",!0,!1);n.dispatchEvent(I)}}}function l(e){Array.isArray(e)||(e=e instanceof Element?[e]:Array.prototype.slice.call(e));for(var t,s=0,i=e.length;s<i;s++)t=e[s],t instanceof HTMLElement&&(a(t),t.children.length>0&&l(t.children))}function o(t){var s="undefined"==typeof t.widget&&"undefined"==typeof t.widget,i=!0;s||(i=t.widget||t.widget);var n={classConstructor:t.constructor||t.constructor,className:t.classAsString||t.classAsString,cssClass:t.cssClass||t.cssClass,widget:i,callbacks:[]};if(c.forEach(function(e){if(e.cssClass===n.cssClass)throw new Error("The provided cssClass has already been registered: "+e.cssClass);if(e.className===n.className)throw new Error("The provided className has already been registered")}),t.constructor.prototype.hasOwnProperty(C))throw new Error("MDL component classes must not have "+C+" defined as a property.");var a=e(t.classAsString,n);a||c.push(n)}function r(t,s){var i=e(t);i&&i.callbacks.push(s)}function _(){for(var e=0;e<c.length;e++)n(c[e].className)}function d(e){if(e){var t=p.indexOf(e);p.splice(t,1);var s=e.element_.getAttribute("data-upgraded").split(","),n=s.indexOf(e[C].classAsString);s.splice(n,1),e.element_.setAttribute("data-upgraded",s.join(","));var a=i("mdl-componentdowngraded",!0,!1);e.element_.dispatchEvent(a)}}function h(e){var t=function(e){p.filter(function(t){return t.element_===e}).forEach(d)};if(e instanceof Array||e instanceof NodeList)for(var s=0;s<e.length;s++)t(e[s]);else{if(!(e instanceof Node))throw new Error("Invalid argument provided to downgrade MDL nodes.");t(e)}}var c=[],p=[],C="mdlComponentConfigInternal_";return{upgradeDom:n,upgradeElement:a,upgradeElements:l,upgradeAllRegistered:_,registerUpgradedCallback:r,register:o,downgradeElements:h}}(),s.ComponentConfigPublic,s.ComponentConfig,s.Component,s.upgradeDom=s.upgradeDom,s.upgradeElement=s.upgradeElement,s.upgradeElements=s.upgradeElements,s.upgradeAllRegistered=s.upgradeAllRegistered,s.registerUpgradedCallback=s.registerUpgradedCallback,s.register=s.register,s.downgradeElements=s.downgradeElements,window.componentHandler=s,window.componentHandler=s,window.addEventListener("load",function(){"classList"in document.createElement("div")&&"querySelector"in document&&"addEventListener"in window&&Array.prototype.forEach?(document.documentElement.classList.add("mdl-js"),s.upgradeAllRegistered()):(s.upgradeElement=function(){},s.register=function(){})}),Date.now||(Date.now=function(){return(new Date).getTime()},Date.now=Date.now);for(var i=["webkit","moz"],n=0;n<i.length&&!window.requestAnimationFrame;++n){var a=i[n];window.requestAnimationFrame=window[a+"RequestAnimationFrame"],window.cancelAnimationFrame=window[a+"CancelAnimationFrame"]||window[a+"CancelRequestAnimationFrame"],window.requestAnimationFrame=window.requestAnimationFrame,window.cancelAnimationFrame=window.cancelAnimationFrame}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var l=0;window.requestAnimationFrame=function(e){var t=Date.now(),s=Math.max(l+16,t);return setTimeout(function(){e(l=s)},s-t)},window.cancelAnimationFrame=clearTimeout,window.requestAnimationFrame=window.requestAnimationFrame,window.cancelAnimationFrame=window.cancelAnimationFrame}var o=function(e){this.element_=e,this.init()};window.MaterialButton=o,o.prototype.Constant_={},o.prototype.CssClasses_={RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_CONTAINER:"mdl-button__ripple-container",RIPPLE:"mdl-ripple"},o.prototype.blurHandler_=function(e){e&&this.element_.blur()},o.prototype.disable=function(){this.element_.disabled=!0},o.prototype.disable=o.prototype.disable,o.prototype.enable=function(){this.element_.disabled=!1},o.prototype.enable=o.prototype.enable,o.prototype.init=function(){if(this.element_){if(this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT)){var e=document.createElement("span");e.classList.add(this.CssClasses_.RIPPLE_CONTAINER),this.rippleElement_=document.createElement("span"),this.rippleElement_.classList.add(this.CssClasses_.RIPPLE),e.appendChild(this.rippleElement_),this.boundRippleBlurHandler=this.blurHandler_.bind(this),this.rippleElement_.addEventListener("mouseup",this.boundRippleBlurHandler),this.element_.appendChild(e)}this.boundButtonBlurHandler=this.blurHandler_.bind(this),this.element_.addEventListener("mouseup",this.boundButtonBlurHandler),this.element_.addEventListener("mouseleave",this.boundButtonBlurHandler)}},s.register({constructor:o,classAsString:"MaterialButton",cssClass:"mdl-js-button",widget:!0});var r=function(e){this.element_=e,this.init()};window.MaterialCheckbox=r,r.prototype.Constant_={TINY_TIMEOUT:.001},r.prototype.CssClasses_={INPUT:"mdl-checkbox__input",BOX_OUTLINE:"mdl-checkbox__box-outline",FOCUS_HELPER:"mdl-checkbox__focus-helper",TICK_OUTLINE:"mdl-checkbox__tick-outline",RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE_CONTAINER:"mdl-checkbox__ripple-container",RIPPLE_CENTER:"mdl-ripple--center",RIPPLE:"mdl-ripple",IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_CHECKED:"is-checked",IS_UPGRADED:"is-upgraded"},r.prototype.onChange_=function(e){this.updateClasses_()},r.prototype.onFocus_=function(e){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},r.prototype.onBlur_=function(e){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},r.prototype.onMouseUp_=function(e){this.blur_()},r.prototype.updateClasses_=function(){this.checkDisabled(),this.checkToggleState()},r.prototype.blur_=function(){window.setTimeout(function(){this.inputElement_.blur()}.bind(this),this.Constant_.TINY_TIMEOUT)},r.prototype.checkToggleState=function(){this.inputElement_.checked?this.element_.classList.add(this.CssClasses_.IS_CHECKED):this.element_.classList.remove(this.CssClasses_.IS_CHECKED)},r.prototype.checkToggleState=r.prototype.checkToggleState,r.prototype.checkDisabled=function(){this.inputElement_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},r.prototype.checkDisabled=r.prototype.checkDisabled,r.prototype.disable=function(){this.inputElement_.disabled=!0,this.updateClasses_()},r.prototype.disable=r.prototype.disable,r.prototype.enable=function(){this.inputElement_.disabled=!1,this.updateClasses_()},r.prototype.enable=r.prototype.enable,r.prototype.check=function(){this.inputElement_.checked=!0,this.updateClasses_()},r.prototype.check=r.prototype.check,r.prototype.uncheck=function(){this.inputElement_.checked=!1,this.updateClasses_()},r.prototype.uncheck=r.prototype.uncheck,r.prototype.init=function(){if(this.element_){this.inputElement_=this.element_.querySelector("."+this.CssClasses_.INPUT);var e=document.createElement("span");e.classList.add(this.CssClasses_.BOX_OUTLINE);var t=document.createElement("span");t.classList.add(this.CssClasses_.FOCUS_HELPER);var s=document.createElement("span");if(s.classList.add(this.CssClasses_.TICK_OUTLINE),e.appendChild(s),this.element_.appendChild(t),this.element_.appendChild(e),this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT)){this.element_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS),this.rippleContainerElement_=document.createElement("span"),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CONTAINER),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_EFFECT),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CENTER),this.boundRippleMouseUp=this.onMouseUp_.bind(this),this.rippleContainerElement_.addEventListener("mouseup",this.boundRippleMouseUp);var i=document.createElement("span");i.classList.add(this.CssClasses_.RIPPLE),this.rippleContainerElement_.appendChild(i),this.element_.appendChild(this.rippleContainerElement_)}this.boundInputOnChange=this.onChange_.bind(this),this.boundInputOnFocus=this.onFocus_.bind(this),this.boundInputOnBlur=this.onBlur_.bind(this),this.boundElementMouseUp=this.onMouseUp_.bind(this),this.inputElement_.addEventListener("change",this.boundInputOnChange),this.inputElement_.addEventListener("focus",this.boundInputOnFocus),this.inputElement_.addEventListener("blur",this.boundInputOnBlur),this.element_.addEventListener("mouseup",this.boundElementMouseUp),this.updateClasses_(),this.element_.classList.add(this.CssClasses_.IS_UPGRADED)}},s.register({constructor:r,classAsString:"MaterialCheckbox",cssClass:"mdl-js-checkbox",widget:!0});var _=function(e){this.element_=e,this.init()};window.MaterialIconToggle=_,_.prototype.Constant_={TINY_TIMEOUT:.001},_.prototype.CssClasses_={INPUT:"mdl-icon-toggle__input",JS_RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE_CONTAINER:"mdl-icon-toggle__ripple-container",RIPPLE_CENTER:"mdl-ripple--center",RIPPLE:"mdl-ripple",IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_CHECKED:"is-checked"},_.prototype.onChange_=function(e){this.updateClasses_()},_.prototype.onFocus_=function(e){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},_.prototype.onBlur_=function(e){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},_.prototype.onMouseUp_=function(e){this.blur_()},_.prototype.updateClasses_=function(){this.checkDisabled(),this.checkToggleState()},_.prototype.blur_=function(){window.setTimeout(function(){this.inputElement_.blur()}.bind(this),this.Constant_.TINY_TIMEOUT)},_.prototype.checkToggleState=function(){this.inputElement_.checked?this.element_.classList.add(this.CssClasses_.IS_CHECKED):this.element_.classList.remove(this.CssClasses_.IS_CHECKED)},_.prototype.checkToggleState=_.prototype.checkToggleState,_.prototype.checkDisabled=function(){this.inputElement_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},_.prototype.checkDisabled=_.prototype.checkDisabled,_.prototype.disable=function(){this.inputElement_.disabled=!0,this.updateClasses_()},_.prototype.disable=_.prototype.disable,_.prototype.enable=function(){this.inputElement_.disabled=!1,this.updateClasses_()},_.prototype.enable=_.prototype.enable,_.prototype.check=function(){this.inputElement_.checked=!0,this.updateClasses_()},_.prototype.check=_.prototype.check,_.prototype.uncheck=function(){this.inputElement_.checked=!1,this.updateClasses_()},_.prototype.uncheck=_.prototype.uncheck,_.prototype.init=function(){if(this.element_){if(this.inputElement_=this.element_.querySelector("."+this.CssClasses_.INPUT),this.element_.classList.contains(this.CssClasses_.JS_RIPPLE_EFFECT)){this.element_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS),this.rippleContainerElement_=document.createElement("span"),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CONTAINER),this.rippleContainerElement_.classList.add(this.CssClasses_.JS_RIPPLE_EFFECT),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CENTER),this.boundRippleMouseUp=this.onMouseUp_.bind(this),this.rippleContainerElement_.addEventListener("mouseup",this.boundRippleMouseUp);var e=document.createElement("span");e.classList.add(this.CssClasses_.RIPPLE),this.rippleContainerElement_.appendChild(e),this.element_.appendChild(this.rippleContainerElement_)}this.boundInputOnChange=this.onChange_.bind(this),this.boundInputOnFocus=this.onFocus_.bind(this),this.boundInputOnBlur=this.onBlur_.bind(this),this.boundElementOnMouseUp=this.onMouseUp_.bind(this),this.inputElement_.addEventListener("change",this.boundInputOnChange),this.inputElement_.addEventListener("focus",this.boundInputOnFocus),this.inputElement_.addEventListener("blur",this.boundInputOnBlur),this.element_.addEventListener("mouseup",this.boundElementOnMouseUp),this.updateClasses_(),this.element_.classList.add("is-upgraded")}},s.register({constructor:_,classAsString:"MaterialIconToggle",cssClass:"mdl-js-icon-toggle",widget:!0});var d=function(e){this.element_=e,this.init()};window.MaterialMenu=d,d.prototype.Constant_={TRANSITION_DURATION_SECONDS:.3,TRANSITION_DURATION_FRACTION:.8,CLOSE_TIMEOUT:150},d.prototype.Keycodes_={ENTER:13,ESCAPE:27,SPACE:32,UP_ARROW:38,DOWN_ARROW:40},d.prototype.CssClasses_={CONTAINER:"mdl-menu__container",OUTLINE:"mdl-menu__outline",ITEM:"mdl-menu__item",ITEM_RIPPLE_CONTAINER:"mdl-menu__item-ripple-container",RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE:"mdl-ripple",IS_UPGRADED:"is-upgraded",IS_VISIBLE:"is-visible",IS_ANIMATING:"is-animating",BOTTOM_LEFT:"mdl-menu--bottom-left",BOTTOM_RIGHT:"mdl-menu--bottom-right",TOP_LEFT:"mdl-menu--top-left",TOP_RIGHT:"mdl-menu--top-right",UNALIGNED:"mdl-menu--unaligned"},d.prototype.init=function(){if(this.element_){var e=document.createElement("div");e.classList.add(this.CssClasses_.CONTAINER),this.element_.parentElement.insertBefore(e,this.element_),this.element_.parentElement.removeChild(this.element_),e.appendChild(this.element_),this.container_=e;var t=document.createElement("div");t.classList.add(this.CssClasses_.OUTLINE),this.outline_=t,e.insertBefore(t,this.element_);var s=this.element_.getAttribute("for")||this.element_.getAttribute("data-mdl-for"),i=null;s&&(i=document.getElementById(s),i&&(this.forElement_=i,i.addEventListener("click",this.handleForClick_.bind(this)),i.addEventListener("keydown",this.handleForKeyboardEvent_.bind(this))));var n=this.element_.querySelectorAll("."+this.CssClasses_.ITEM);this.boundItemKeydown_=this.handleItemKeyboardEvent_.bind(this),this.boundItemClick_=this.handleItemClick_.bind(this);for(var a=0;a<n.length;a++)n[a].addEventListener("click",this.boundItemClick_),n[a].tabIndex="-1",n[a].addEventListener("keydown",this.boundItemKeydown_);if(this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT))for(this.element_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS),a=0;a<n.length;a++){var l=n[a],o=document.createElement("span");o.classList.add(this.CssClasses_.ITEM_RIPPLE_CONTAINER);var r=document.createElement("span");r.classList.add(this.CssClasses_.RIPPLE),o.appendChild(r),l.appendChild(o),l.classList.add(this.CssClasses_.RIPPLE_EFFECT)}this.element_.classList.contains(this.CssClasses_.BOTTOM_LEFT)&&this.outline_.classList.add(this.CssClasses_.BOTTOM_LEFT),this.element_.classList.contains(this.CssClasses_.BOTTOM_RIGHT)&&this.outline_.classList.add(this.CssClasses_.BOTTOM_RIGHT),this.element_.classList.contains(this.CssClasses_.TOP_LEFT)&&this.outline_.classList.add(this.CssClasses_.TOP_LEFT),this.element_.classList.contains(this.CssClasses_.TOP_RIGHT)&&this.outline_.classList.add(this.CssClasses_.TOP_RIGHT),this.element_.classList.contains(this.CssClasses_.UNALIGNED)&&this.outline_.classList.add(this.CssClasses_.UNALIGNED),e.classList.add(this.CssClasses_.IS_UPGRADED)}},d.prototype.handleForClick_=function(e){if(this.element_&&this.forElement_){var t=this.forElement_.getBoundingClientRect(),s=this.forElement_.parentElement.getBoundingClientRect();this.element_.classList.contains(this.CssClasses_.UNALIGNED)||(this.element_.classList.contains(this.CssClasses_.BOTTOM_RIGHT)?(this.container_.style.right=s.right-t.right+"px",this.container_.style.top=this.forElement_.offsetTop+this.forElement_.offsetHeight+"px"):this.element_.classList.contains(this.CssClasses_.TOP_LEFT)?(this.container_.style.left=this.forElement_.offsetLeft+"px",this.container_.style.bottom=s.bottom-t.top+"px"):this.element_.classList.contains(this.CssClasses_.TOP_RIGHT)?(this.container_.style.right=s.right-t.right+"px",this.container_.style.bottom=s.bottom-t.top+"px"):(this.container_.style.left=this.forElement_.offsetLeft+"px",this.container_.style.top=this.forElement_.offsetTop+this.forElement_.offsetHeight+"px"))}this.toggle(e)},d.prototype.handleForKeyboardEvent_=function(e){if(this.element_&&this.container_&&this.forElement_){var t=this.element_.querySelectorAll("."+this.CssClasses_.ITEM+":not([disabled])");t&&t.length>0&&this.container_.classList.contains(this.CssClasses_.IS_VISIBLE)&&(e.keyCode===this.Keycodes_.UP_ARROW?(e.preventDefault(),t[t.length-1].focus()):e.keyCode===this.Keycodes_.DOWN_ARROW&&(e.preventDefault(),t[0].focus()))}},d.prototype.handleItemKeyboardEvent_=function(e){if(this.element_&&this.container_){var t=this.element_.querySelectorAll("."+this.CssClasses_.ITEM+":not([disabled])");if(t&&t.length>0&&this.container_.classList.contains(this.CssClasses_.IS_VISIBLE)){var s=Array.prototype.slice.call(t).indexOf(e.target);if(e.keyCode===this.Keycodes_.UP_ARROW)e.preventDefault(),s>0?t[s-1].focus():t[t.length-1].focus();else if(e.keyCode===this.Keycodes_.DOWN_ARROW)e.preventDefault(),t.length>s+1?t[s+1].focus():t[0].focus();else if(e.keyCode===this.Keycodes_.SPACE||e.keyCode===this.Keycodes_.ENTER){e.preventDefault();var i=new MouseEvent("mousedown");e.target.dispatchEvent(i),i=new MouseEvent("mouseup"),e.target.dispatchEvent(i),e.target.click()}else e.keyCode===this.Keycodes_.ESCAPE&&(e.preventDefault(),this.hide())}}},d.prototype.handleItemClick_=function(e){e.target.hasAttribute("disabled")?e.stopPropagation():(this.closing_=!0,window.setTimeout(function(e){this.hide(),this.closing_=!1}.bind(this),this.Constant_.CLOSE_TIMEOUT))},d.prototype.applyClip_=function(e,t){this.element_.classList.contains(this.CssClasses_.UNALIGNED)?this.element_.style.clip="":this.element_.classList.contains(this.CssClasses_.BOTTOM_RIGHT)?this.element_.style.clip="rect(0 "+t+"px 0 "+t+"px)":this.element_.classList.contains(this.CssClasses_.TOP_LEFT)?this.element_.style.clip="rect("+e+"px 0 "+e+"px 0)":this.element_.classList.contains(this.CssClasses_.TOP_RIGHT)?this.element_.style.clip="rect("+e+"px "+t+"px "+e+"px "+t+"px)":this.element_.style.clip=""},d.prototype.removeAnimationEndListener_=function(e){e.target.classList.remove(d.prototype.CssClasses_.IS_ANIMATING)},d.prototype.addAnimationEndListener_=function(){this.element_.addEventListener("transitionend",this.removeAnimationEndListener_),this.element_.addEventListener("webkitTransitionEnd",this.removeAnimationEndListener_)},d.prototype.show=function(e){if(this.element_&&this.container_&&this.outline_){var t=this.element_.getBoundingClientRect().height,s=this.element_.getBoundingClientRect().width;this.container_.style.width=s+"px",this.container_.style.height=t+"px",this.outline_.style.width=s+"px",this.outline_.style.height=t+"px";for(var i=this.Constant_.TRANSITION_DURATION_SECONDS*this.Constant_.TRANSITION_DURATION_FRACTION,n=this.element_.querySelectorAll("."+this.CssClasses_.ITEM),a=0;a<n.length;a++){var l=null;l=this.element_.classList.contains(this.CssClasses_.TOP_LEFT)||this.element_.classList.contains(this.CssClasses_.TOP_RIGHT)?(t-n[a].offsetTop-n[a].offsetHeight)/t*i+"s":n[a].offsetTop/t*i+"s",n[a].style.transitionDelay=l}this.applyClip_(t,s),window.requestAnimationFrame(function(){this.element_.classList.add(this.CssClasses_.IS_ANIMATING),this.element_.style.clip="rect(0 "+s+"px "+t+"px 0)",this.container_.classList.add(this.CssClasses_.IS_VISIBLE)}.bind(this)),this.addAnimationEndListener_();var o=function(t){t===e||this.closing_||t.target.parentNode===this.element_||(document.removeEventListener("click",o),this.hide())}.bind(this);document.addEventListener("click",o)}},d.prototype.show=d.prototype.show,d.prototype.hide=function(){if(this.element_&&this.container_&&this.outline_){for(var e=this.element_.querySelectorAll("."+this.CssClasses_.ITEM),t=0;t<e.length;t++)e[t].style.removeProperty("transition-delay");var s=this.element_.getBoundingClientRect(),i=s.height,n=s.width;this.element_.classList.add(this.CssClasses_.IS_ANIMATING),this.applyClip_(i,n),this.container_.classList.remove(this.CssClasses_.IS_VISIBLE),this.addAnimationEndListener_()}},d.prototype.hide=d.prototype.hide,d.prototype.toggle=function(e){this.container_.classList.contains(this.CssClasses_.IS_VISIBLE)?this.hide():this.show(e)},d.prototype.toggle=d.prototype.toggle,s.register({constructor:d,classAsString:"MaterialMenu",cssClass:"mdl-js-menu",widget:!0});var h=function(e){this.element_=e,this.init()};window.MaterialProgress=h,h.prototype.Constant_={},h.prototype.CssClasses_={INDETERMINATE_CLASS:"mdl-progress__indeterminate"},h.prototype.setProgress=function(e){this.element_.classList.contains(this.CssClasses_.INDETERMINATE_CLASS)||(this.progressbar_.style.width=e+"%")},h.prototype.setProgress=h.prototype.setProgress,h.prototype.setBuffer=function(e){this.bufferbar_.style.width=e+"%",this.auxbar_.style.width=100-e+"%"},h.prototype.setBuffer=h.prototype.setBuffer,h.prototype.init=function(){if(this.element_){var e=document.createElement("div");e.className="progressbar bar bar1",this.element_.appendChild(e),this.progressbar_=e,e=document.createElement("div"),e.className="bufferbar bar bar2",this.element_.appendChild(e),this.bufferbar_=e,e=document.createElement("div"),e.className="auxbar bar bar3",this.element_.appendChild(e),this.auxbar_=e,this.progressbar_.style.width="0%",this.bufferbar_.style.width="100%",this.auxbar_.style.width="0%",this.element_.classList.add("is-upgraded")}},s.register({constructor:h,classAsString:"MaterialProgress",cssClass:"mdl-js-progress",widget:!0});var c=function(e){this.element_=e,this.init()};window.MaterialRadio=c,c.prototype.Constant_={TINY_TIMEOUT:.001},c.prototype.CssClasses_={IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_CHECKED:"is-checked",IS_UPGRADED:"is-upgraded",JS_RADIO:"mdl-js-radio",RADIO_BTN:"mdl-radio__button",RADIO_OUTER_CIRCLE:"mdl-radio__outer-circle",RADIO_INNER_CIRCLE:"mdl-radio__inner-circle",RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE_CONTAINER:"mdl-radio__ripple-container",RIPPLE_CENTER:"mdl-ripple--center",RIPPLE:"mdl-ripple"},c.prototype.onChange_=function(e){for(var t=document.getElementsByClassName(this.CssClasses_.JS_RADIO),s=0;s<t.length;s++){var i=t[s].querySelector("."+this.CssClasses_.RADIO_BTN);i.getAttribute("name")===this.btnElement_.getAttribute("name")&&"undefined"!=typeof t[s].MaterialRadio&&t[s].MaterialRadio.updateClasses_()}},c.prototype.onFocus_=function(e){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},c.prototype.onBlur_=function(e){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},c.prototype.onMouseup_=function(e){this.blur_()},c.prototype.updateClasses_=function(){this.checkDisabled(),this.checkToggleState()},c.prototype.blur_=function(){window.setTimeout(function(){this.btnElement_.blur()}.bind(this),this.Constant_.TINY_TIMEOUT)},c.prototype.checkDisabled=function(){this.btnElement_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},c.prototype.checkDisabled=c.prototype.checkDisabled,c.prototype.checkToggleState=function(){this.btnElement_.checked?this.element_.classList.add(this.CssClasses_.IS_CHECKED):this.element_.classList.remove(this.CssClasses_.IS_CHECKED)},c.prototype.checkToggleState=c.prototype.checkToggleState,c.prototype.disable=function(){this.btnElement_.disabled=!0,this.updateClasses_()},c.prototype.disable=c.prototype.disable,c.prototype.enable=function(){this.btnElement_.disabled=!1,this.updateClasses_()},c.prototype.enable=c.prototype.enable,c.prototype.check=function(){this.btnElement_.checked=!0,this.onChange_(null)},c.prototype.check=c.prototype.check,c.prototype.uncheck=function(){this.btnElement_.checked=!1,this.onChange_(null)},c.prototype.uncheck=c.prototype.uncheck,c.prototype.init=function(){if(this.element_){this.btnElement_=this.element_.querySelector("."+this.CssClasses_.RADIO_BTN),this.boundChangeHandler_=this.onChange_.bind(this),this.boundFocusHandler_=this.onChange_.bind(this),this.boundBlurHandler_=this.onBlur_.bind(this),this.boundMouseUpHandler_=this.onMouseup_.bind(this);var e=document.createElement("span");e.classList.add(this.CssClasses_.RADIO_OUTER_CIRCLE);var t=document.createElement("span");t.classList.add(this.CssClasses_.RADIO_INNER_CIRCLE),this.element_.appendChild(e),this.element_.appendChild(t);var s;if(this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT)){this.element_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS),s=document.createElement("span"),s.classList.add(this.CssClasses_.RIPPLE_CONTAINER),s.classList.add(this.CssClasses_.RIPPLE_EFFECT),s.classList.add(this.CssClasses_.RIPPLE_CENTER),s.addEventListener("mouseup",this.boundMouseUpHandler_);var i=document.createElement("span");i.classList.add(this.CssClasses_.RIPPLE),s.appendChild(i),this.element_.appendChild(s)}this.btnElement_.addEventListener("change",this.boundChangeHandler_),this.btnElement_.addEventListener("focus",this.boundFocusHandler_),this.btnElement_.addEventListener("blur",this.boundBlurHandler_),this.element_.addEventListener("mouseup",this.boundMouseUpHandler_),this.updateClasses_(),this.element_.classList.add(this.CssClasses_.IS_UPGRADED)}},s.register({constructor:c,classAsString:"MaterialRadio",cssClass:"mdl-js-radio",widget:!0});var p=function(e){this.element_=e,this.isIE_=window.navigator.msPointerEnabled,this.init()};window.MaterialSlider=p,p.prototype.Constant_={},p.prototype.CssClasses_={IE_CONTAINER:"mdl-slider__ie-container",SLIDER_CONTAINER:"mdl-slider__container",BACKGROUND_FLEX:"mdl-slider__background-flex",BACKGROUND_LOWER:"mdl-slider__background-lower",BACKGROUND_UPPER:"mdl-slider__background-upper",IS_LOWEST_VALUE:"is-lowest-value",IS_UPGRADED:"is-upgraded"},p.prototype.onInput_=function(e){this.updateValueStyles_()},p.prototype.onChange_=function(e){this.updateValueStyles_()},p.prototype.onMouseUp_=function(e){e.target.blur()},p.prototype.onContainerMouseDown_=function(e){if(e.target===this.element_.parentElement){e.preventDefault();var t=new MouseEvent("mousedown",{target:e.target,buttons:e.buttons,clientX:e.clientX,clientY:this.element_.getBoundingClientRect().y});this.element_.dispatchEvent(t)}},p.prototype.updateValueStyles_=function(){var e=(this.element_.value-this.element_.min)/(this.element_.max-this.element_.min);0===e?this.element_.classList.add(this.CssClasses_.IS_LOWEST_VALUE):this.element_.classList.remove(this.CssClasses_.IS_LOWEST_VALUE),this.isIE_||(this.backgroundLower_.style.flex=e,this.backgroundLower_.style.webkitFlex=e,this.backgroundUpper_.style.flex=1-e,this.backgroundUpper_.style.webkitFlex=1-e)},p.prototype.disable=function(){this.element_.disabled=!0},p.prototype.disable=p.prototype.disable,p.prototype.enable=function(){this.element_.disabled=!1},p.prototype.enable=p.prototype.enable,p.prototype.change=function(e){"undefined"!=typeof e&&(this.element_.value=e),this.updateValueStyles_()},p.prototype.change=p.prototype.change,p.prototype.init=function(){if(this.element_){if(this.isIE_){var e=document.createElement("div");e.classList.add(this.CssClasses_.IE_CONTAINER),this.element_.parentElement.insertBefore(e,this.element_),this.element_.parentElement.removeChild(this.element_),e.appendChild(this.element_)}else{var t=document.createElement("div");t.classList.add(this.CssClasses_.SLIDER_CONTAINER),this.element_.parentElement.insertBefore(t,this.element_),this.element_.parentElement.removeChild(this.element_),t.appendChild(this.element_);var s=document.createElement("div");s.classList.add(this.CssClasses_.BACKGROUND_FLEX),t.appendChild(s),this.backgroundLower_=document.createElement("div"),this.backgroundLower_.classList.add(this.CssClasses_.BACKGROUND_LOWER),s.appendChild(this.backgroundLower_),this.backgroundUpper_=document.createElement("div"),this.backgroundUpper_.classList.add(this.CssClasses_.BACKGROUND_UPPER),s.appendChild(this.backgroundUpper_)}this.boundInputHandler=this.onInput_.bind(this),this.boundChangeHandler=this.onChange_.bind(this),this.boundMouseUpHandler=this.onMouseUp_.bind(this),this.boundContainerMouseDownHandler=this.onContainerMouseDown_.bind(this),this.element_.addEventListener("input",this.boundInputHandler),this.element_.addEventListener("change",this.boundChangeHandler),this.element_.addEventListener("mouseup",this.boundMouseUpHandler),this.element_.parentElement.addEventListener("mousedown",this.boundContainerMouseDownHandler),this.updateValueStyles_(),this.element_.classList.add(this.CssClasses_.IS_UPGRADED)}},s.register({constructor:p,classAsString:"MaterialSlider",cssClass:"mdl-js-slider",widget:!0});var C=function(e){if(this.element_=e,this.textElement_=this.element_.querySelector("."+this.cssClasses_.MESSAGE),this.actionElement_=this.element_.querySelector("."+this.cssClasses_.ACTION),!this.textElement_)throw new Error("There must be a message element for a snackbar.");if(!this.actionElement_)throw new Error("There must be an action element for a snackbar.");this.active=!1,this.actionHandler_=void 0,this.message_=void 0,this.actionText_=void 0,this.queuedNotifications_=[],this.setActionHidden_(!0)};window.MaterialSnackbar=C,C.prototype.Constant_={ANIMATION_LENGTH:250},C.prototype.cssClasses_={SNACKBAR:"mdl-snackbar",MESSAGE:"mdl-snackbar__text",ACTION:"mdl-snackbar__action",ACTIVE:"mdl-snackbar--active"},C.prototype.displaySnackbar_=function(){this.element_.setAttribute("aria-hidden","true"),
|
9 |
+
this.actionHandler_&&(this.actionElement_.textContent=this.actionText_,this.actionElement_.addEventListener("click",this.actionHandler_),this.setActionHidden_(!1)),this.textElement_.textContent=this.message_,this.element_.classList.add(this.cssClasses_.ACTIVE),this.element_.setAttribute("aria-hidden","false"),setTimeout(this.cleanup_.bind(this),this.timeout_)},C.prototype.showSnackbar=function(e){if(void 0===e)throw new Error("Please provide a data object with at least a message to display.");if(void 0===e.message)throw new Error("Please provide a message to be displayed.");if(e.actionHandler&&!e.actionText)throw new Error("Please provide action text with the handler.");this.active?this.queuedNotifications_.push(e):(this.active=!0,this.message_=e.message,e.timeout?this.timeout_=e.timeout:this.timeout_=2750,e.actionHandler&&(this.actionHandler_=e.actionHandler),e.actionText&&(this.actionText_=e.actionText),this.displaySnackbar_())},C.prototype.showSnackbar=C.prototype.showSnackbar,C.prototype.checkQueue_=function(){this.queuedNotifications_.length>0&&this.showSnackbar(this.queuedNotifications_.shift())},C.prototype.cleanup_=function(){this.element_.classList.remove(this.cssClasses_.ACTIVE),setTimeout(function(){this.element_.setAttribute("aria-hidden","true"),this.textElement_.textContent="",Boolean(this.actionElement_.getAttribute("aria-hidden"))||(this.setActionHidden_(!0),this.actionElement_.textContent="",this.actionElement_.removeEventListener("click",this.actionHandler_)),this.actionHandler_=void 0,this.message_=void 0,this.actionText_=void 0,this.active=!1,this.checkQueue_()}.bind(this),this.Constant_.ANIMATION_LENGTH)},C.prototype.setActionHidden_=function(e){e?this.actionElement_.setAttribute("aria-hidden","true"):this.actionElement_.removeAttribute("aria-hidden")},s.register({constructor:C,classAsString:"MaterialSnackbar",cssClass:"mdl-js-snackbar",widget:!0});var u=function(e){this.element_=e,this.init()};window.MaterialSpinner=u,u.prototype.Constant_={MDL_SPINNER_LAYER_COUNT:4},u.prototype.CssClasses_={MDL_SPINNER_LAYER:"mdl-spinner__layer",MDL_SPINNER_CIRCLE_CLIPPER:"mdl-spinner__circle-clipper",MDL_SPINNER_CIRCLE:"mdl-spinner__circle",MDL_SPINNER_GAP_PATCH:"mdl-spinner__gap-patch",MDL_SPINNER_LEFT:"mdl-spinner__left",MDL_SPINNER_RIGHT:"mdl-spinner__right"},u.prototype.createLayer=function(e){var t=document.createElement("div");t.classList.add(this.CssClasses_.MDL_SPINNER_LAYER),t.classList.add(this.CssClasses_.MDL_SPINNER_LAYER+"-"+e);var s=document.createElement("div");s.classList.add(this.CssClasses_.MDL_SPINNER_CIRCLE_CLIPPER),s.classList.add(this.CssClasses_.MDL_SPINNER_LEFT);var i=document.createElement("div");i.classList.add(this.CssClasses_.MDL_SPINNER_GAP_PATCH);var n=document.createElement("div");n.classList.add(this.CssClasses_.MDL_SPINNER_CIRCLE_CLIPPER),n.classList.add(this.CssClasses_.MDL_SPINNER_RIGHT);for(var a=[s,i,n],l=0;l<a.length;l++){var o=document.createElement("div");o.classList.add(this.CssClasses_.MDL_SPINNER_CIRCLE),a[l].appendChild(o)}t.appendChild(s),t.appendChild(i),t.appendChild(n),this.element_.appendChild(t)},u.prototype.createLayer=u.prototype.createLayer,u.prototype.stop=function(){this.element_.classList.remove("is-active")},u.prototype.stop=u.prototype.stop,u.prototype.start=function(){this.element_.classList.add("is-active")},u.prototype.start=u.prototype.start,u.prototype.init=function(){if(this.element_){for(var e=1;e<=this.Constant_.MDL_SPINNER_LAYER_COUNT;e++)this.createLayer(e);this.element_.classList.add("is-upgraded")}},s.register({constructor:u,classAsString:"MaterialSpinner",cssClass:"mdl-js-spinner",widget:!0});var E=function(e){this.element_=e,this.init()};window.MaterialSwitch=E,E.prototype.Constant_={TINY_TIMEOUT:.001},E.prototype.CssClasses_={INPUT:"mdl-switch__input",TRACK:"mdl-switch__track",THUMB:"mdl-switch__thumb",FOCUS_HELPER:"mdl-switch__focus-helper",RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE_CONTAINER:"mdl-switch__ripple-container",RIPPLE_CENTER:"mdl-ripple--center",RIPPLE:"mdl-ripple",IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_CHECKED:"is-checked"},E.prototype.onChange_=function(e){this.updateClasses_()},E.prototype.onFocus_=function(e){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},E.prototype.onBlur_=function(e){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},E.prototype.onMouseUp_=function(e){this.blur_()},E.prototype.updateClasses_=function(){this.checkDisabled(),this.checkToggleState()},E.prototype.blur_=function(){window.setTimeout(function(){this.inputElement_.blur()}.bind(this),this.Constant_.TINY_TIMEOUT)},E.prototype.checkDisabled=function(){this.inputElement_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},E.prototype.checkDisabled=E.prototype.checkDisabled,E.prototype.checkToggleState=function(){this.inputElement_.checked?this.element_.classList.add(this.CssClasses_.IS_CHECKED):this.element_.classList.remove(this.CssClasses_.IS_CHECKED)},E.prototype.checkToggleState=E.prototype.checkToggleState,E.prototype.disable=function(){this.inputElement_.disabled=!0,this.updateClasses_()},E.prototype.disable=E.prototype.disable,E.prototype.enable=function(){this.inputElement_.disabled=!1,this.updateClasses_()},E.prototype.enable=E.prototype.enable,E.prototype.on=function(){this.inputElement_.checked=!0,this.updateClasses_()},E.prototype.on=E.prototype.on,E.prototype.off=function(){this.inputElement_.checked=!1,this.updateClasses_()},E.prototype.off=E.prototype.off,E.prototype.init=function(){if(this.element_){this.inputElement_=this.element_.querySelector("."+this.CssClasses_.INPUT);var e=document.createElement("div");e.classList.add(this.CssClasses_.TRACK);var t=document.createElement("div");t.classList.add(this.CssClasses_.THUMB);var s=document.createElement("span");if(s.classList.add(this.CssClasses_.FOCUS_HELPER),t.appendChild(s),this.element_.appendChild(e),this.element_.appendChild(t),this.boundMouseUpHandler=this.onMouseUp_.bind(this),this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT)){this.element_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS),this.rippleContainerElement_=document.createElement("span"),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CONTAINER),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_EFFECT),this.rippleContainerElement_.classList.add(this.CssClasses_.RIPPLE_CENTER),this.rippleContainerElement_.addEventListener("mouseup",this.boundMouseUpHandler);var i=document.createElement("span");i.classList.add(this.CssClasses_.RIPPLE),this.rippleContainerElement_.appendChild(i),this.element_.appendChild(this.rippleContainerElement_)}this.boundChangeHandler=this.onChange_.bind(this),this.boundFocusHandler=this.onFocus_.bind(this),this.boundBlurHandler=this.onBlur_.bind(this),this.inputElement_.addEventListener("change",this.boundChangeHandler),this.inputElement_.addEventListener("focus",this.boundFocusHandler),this.inputElement_.addEventListener("blur",this.boundBlurHandler),this.element_.addEventListener("mouseup",this.boundMouseUpHandler),this.updateClasses_(),this.element_.classList.add("is-upgraded")}},s.register({constructor:E,classAsString:"MaterialSwitch",cssClass:"mdl-js-switch",widget:!0});var m=function(e){this.element_=e,this.init()};window.MaterialTabs=m,m.prototype.Constant_={},m.prototype.CssClasses_={TAB_CLASS:"mdl-tabs__tab",PANEL_CLASS:"mdl-tabs__panel",ACTIVE_CLASS:"is-active",UPGRADED_CLASS:"is-upgraded",MDL_JS_RIPPLE_EFFECT:"mdl-js-ripple-effect",MDL_RIPPLE_CONTAINER:"mdl-tabs__ripple-container",MDL_RIPPLE:"mdl-ripple",MDL_JS_RIPPLE_EFFECT_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events"},m.prototype.initTabs_=function(){this.element_.classList.contains(this.CssClasses_.MDL_JS_RIPPLE_EFFECT)&&this.element_.classList.add(this.CssClasses_.MDL_JS_RIPPLE_EFFECT_IGNORE_EVENTS),this.tabs_=this.element_.querySelectorAll("."+this.CssClasses_.TAB_CLASS),this.panels_=this.element_.querySelectorAll("."+this.CssClasses_.PANEL_CLASS);for(var t=0;t<this.tabs_.length;t++)new e(this.tabs_[t],this);this.element_.classList.add(this.CssClasses_.UPGRADED_CLASS)},m.prototype.resetTabState_=function(){for(var e=0;e<this.tabs_.length;e++)this.tabs_[e].classList.remove(this.CssClasses_.ACTIVE_CLASS)},m.prototype.resetPanelState_=function(){for(var e=0;e<this.panels_.length;e++)this.panels_[e].classList.remove(this.CssClasses_.ACTIVE_CLASS)},m.prototype.init=function(){this.element_&&this.initTabs_()},s.register({constructor:m,classAsString:"MaterialTabs",cssClass:"mdl-js-tabs"});var L=function(e){this.element_=e,this.maxRows=this.Constant_.NO_MAX_ROWS,this.init()};window.MaterialTextfield=L,L.prototype.Constant_={NO_MAX_ROWS:-1,MAX_ROWS_ATTRIBUTE:"maxrows"},L.prototype.CssClasses_={LABEL:"mdl-textfield__label",INPUT:"mdl-textfield__input",IS_DIRTY:"is-dirty",IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_INVALID:"is-invalid",IS_UPGRADED:"is-upgraded",HAS_PLACEHOLDER:"has-placeholder"},L.prototype.onKeyDown_=function(e){var t=e.target.value.split("\n").length;13===e.keyCode&&t>=this.maxRows&&e.preventDefault()},L.prototype.onFocus_=function(e){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},L.prototype.onBlur_=function(e){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},L.prototype.onReset_=function(e){this.updateClasses_()},L.prototype.updateClasses_=function(){this.checkDisabled(),this.checkValidity(),this.checkDirty(),this.checkFocus()},L.prototype.checkDisabled=function(){this.input_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},L.prototype.checkDisabled=L.prototype.checkDisabled,L.prototype.checkFocus=function(){Boolean(this.element_.querySelector(":focus"))?this.element_.classList.add(this.CssClasses_.IS_FOCUSED):this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},L.prototype.checkFocus=L.prototype.checkFocus,L.prototype.checkValidity=function(){this.input_.validity&&(this.input_.validity.valid?this.element_.classList.remove(this.CssClasses_.IS_INVALID):this.element_.classList.add(this.CssClasses_.IS_INVALID))},L.prototype.checkValidity=L.prototype.checkValidity,L.prototype.checkDirty=function(){this.input_.value&&this.input_.value.length>0?this.element_.classList.add(this.CssClasses_.IS_DIRTY):this.element_.classList.remove(this.CssClasses_.IS_DIRTY)},L.prototype.checkDirty=L.prototype.checkDirty,L.prototype.disable=function(){this.input_.disabled=!0,this.updateClasses_()},L.prototype.disable=L.prototype.disable,L.prototype.enable=function(){this.input_.disabled=!1,this.updateClasses_()},L.prototype.enable=L.prototype.enable,L.prototype.change=function(e){this.input_.value=e||"",this.updateClasses_()},L.prototype.change=L.prototype.change,L.prototype.init=function(){if(this.element_&&(this.label_=this.element_.querySelector("."+this.CssClasses_.LABEL),this.input_=this.element_.querySelector("."+this.CssClasses_.INPUT),this.input_)){this.input_.hasAttribute(this.Constant_.MAX_ROWS_ATTRIBUTE)&&(this.maxRows=parseInt(this.input_.getAttribute(this.Constant_.MAX_ROWS_ATTRIBUTE),10),isNaN(this.maxRows)&&(this.maxRows=this.Constant_.NO_MAX_ROWS)),this.input_.hasAttribute("placeholder")&&this.element_.classList.add(this.CssClasses_.HAS_PLACEHOLDER),this.boundUpdateClassesHandler=this.updateClasses_.bind(this),this.boundFocusHandler=this.onFocus_.bind(this),this.boundBlurHandler=this.onBlur_.bind(this),this.boundResetHandler=this.onReset_.bind(this),this.input_.addEventListener("input",this.boundUpdateClassesHandler),this.input_.addEventListener("focus",this.boundFocusHandler),this.input_.addEventListener("blur",this.boundBlurHandler),this.input_.addEventListener("reset",this.boundResetHandler),this.maxRows!==this.Constant_.NO_MAX_ROWS&&(this.boundKeyDownHandler=this.onKeyDown_.bind(this),this.input_.addEventListener("keydown",this.boundKeyDownHandler));var e=this.element_.classList.contains(this.CssClasses_.IS_INVALID);this.updateClasses_(),this.element_.classList.add(this.CssClasses_.IS_UPGRADED),e&&this.element_.classList.add(this.CssClasses_.IS_INVALID),this.input_.hasAttribute("autofocus")&&(this.element_.focus(),this.checkFocus())}},s.register({constructor:L,classAsString:"MaterialTextfield",cssClass:"mdl-js-textfield",widget:!0});var I=function(e){this.element_=e,this.init()};window.MaterialTooltip=I,I.prototype.Constant_={},I.prototype.CssClasses_={IS_ACTIVE:"is-active",BOTTOM:"mdl-tooltip--bottom",LEFT:"mdl-tooltip--left",RIGHT:"mdl-tooltip--right",TOP:"mdl-tooltip--top"},I.prototype.handleMouseEnter_=function(e){var t=e.target.getBoundingClientRect(),s=t.left+t.width/2,i=t.top+t.height/2,n=-1*(this.element_.offsetWidth/2),a=-1*(this.element_.offsetHeight/2);this.element_.classList.contains(this.CssClasses_.LEFT)||this.element_.classList.contains(this.CssClasses_.RIGHT)?(s=t.width/2,i+a<0?(this.element_.style.top="0",this.element_.style.marginTop="0"):(this.element_.style.top=i+"px",this.element_.style.marginTop=a+"px")):s+n<0?(this.element_.style.left="0",this.element_.style.marginLeft="0"):(this.element_.style.left=s+"px",this.element_.style.marginLeft=n+"px"),this.element_.classList.contains(this.CssClasses_.TOP)?this.element_.style.top=t.top-this.element_.offsetHeight-10+"px":this.element_.classList.contains(this.CssClasses_.RIGHT)?this.element_.style.left=t.left+t.width+10+"px":this.element_.classList.contains(this.CssClasses_.LEFT)?this.element_.style.left=t.left-this.element_.offsetWidth-10+"px":this.element_.style.top=t.top+t.height+10+"px",this.element_.classList.add(this.CssClasses_.IS_ACTIVE)},I.prototype.hideTooltip_=function(){this.element_.classList.remove(this.CssClasses_.IS_ACTIVE)},I.prototype.init=function(){if(this.element_){var e=this.element_.getAttribute("for")||this.element_.getAttribute("data-mdl-for");e&&(this.forElement_=document.getElementById(e)),this.forElement_&&(this.forElement_.hasAttribute("tabindex")||this.forElement_.setAttribute("tabindex","0"),this.boundMouseEnterHandler=this.handleMouseEnter_.bind(this),this.boundMouseLeaveAndScrollHandler=this.hideTooltip_.bind(this),this.forElement_.addEventListener("mouseenter",this.boundMouseEnterHandler,!1),this.forElement_.addEventListener("touchend",this.boundMouseEnterHandler,!1),this.forElement_.addEventListener("mouseleave",this.boundMouseLeaveAndScrollHandler,!1),window.addEventListener("scroll",this.boundMouseLeaveAndScrollHandler,!0),window.addEventListener("touchstart",this.boundMouseLeaveAndScrollHandler))}},s.register({constructor:I,classAsString:"MaterialTooltip",cssClass:"mdl-tooltip"});var f=function(e){this.element_=e,this.init()};window.MaterialLayout=f,f.prototype.Constant_={MAX_WIDTH:"(max-width: 1024px)",TAB_SCROLL_PIXELS:100,RESIZE_TIMEOUT:100,MENU_ICON:"",CHEVRON_LEFT:"chevron_left",CHEVRON_RIGHT:"chevron_right"},f.prototype.Keycodes_={ENTER:13,ESCAPE:27,SPACE:32},f.prototype.Mode_={STANDARD:0,SEAMED:1,WATERFALL:2,SCROLL:3},f.prototype.CssClasses_={CONTAINER:"mdl-layout__container",HEADER:"mdl-layout__header",DRAWER:"mdl-layout__drawer",CONTENT:"mdl-layout__content",DRAWER_BTN:"mdl-layout__drawer-button",ICON:"material-icons",JS_RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_CONTAINER:"mdl-layout__tab-ripple-container",RIPPLE:"mdl-ripple",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",HEADER_SEAMED:"mdl-layout__header--seamed",HEADER_WATERFALL:"mdl-layout__header--waterfall",HEADER_SCROLL:"mdl-layout__header--scroll",FIXED_HEADER:"mdl-layout--fixed-header",OBFUSCATOR:"mdl-layout__obfuscator",TAB_BAR:"mdl-layout__tab-bar",TAB_CONTAINER:"mdl-layout__tab-bar-container",TAB:"mdl-layout__tab",TAB_BAR_BUTTON:"mdl-layout__tab-bar-button",TAB_BAR_LEFT_BUTTON:"mdl-layout__tab-bar-left-button",TAB_BAR_RIGHT_BUTTON:"mdl-layout__tab-bar-right-button",TAB_MANUAL_SWITCH:"mdl-layout__tab-manual-switch",PANEL:"mdl-layout__tab-panel",HAS_DRAWER:"has-drawer",HAS_TABS:"has-tabs",HAS_SCROLLING_HEADER:"has-scrolling-header",CASTING_SHADOW:"is-casting-shadow",IS_COMPACT:"is-compact",IS_SMALL_SCREEN:"is-small-screen",IS_DRAWER_OPEN:"is-visible",IS_ACTIVE:"is-active",IS_UPGRADED:"is-upgraded",IS_ANIMATING:"is-animating",ON_LARGE_SCREEN:"mdl-layout--large-screen-only",ON_SMALL_SCREEN:"mdl-layout--small-screen-only"},f.prototype.contentScrollHandler_=function(){if(!this.header_.classList.contains(this.CssClasses_.IS_ANIMATING)){var e=!this.element_.classList.contains(this.CssClasses_.IS_SMALL_SCREEN)||this.element_.classList.contains(this.CssClasses_.FIXED_HEADER);this.content_.scrollTop>0&&!this.header_.classList.contains(this.CssClasses_.IS_COMPACT)?(this.header_.classList.add(this.CssClasses_.CASTING_SHADOW),this.header_.classList.add(this.CssClasses_.IS_COMPACT),e&&this.header_.classList.add(this.CssClasses_.IS_ANIMATING)):this.content_.scrollTop<=0&&this.header_.classList.contains(this.CssClasses_.IS_COMPACT)&&(this.header_.classList.remove(this.CssClasses_.CASTING_SHADOW),this.header_.classList.remove(this.CssClasses_.IS_COMPACT),e&&this.header_.classList.add(this.CssClasses_.IS_ANIMATING))}},f.prototype.keyboardEventHandler_=function(e){e.keyCode===this.Keycodes_.ESCAPE&&this.drawer_.classList.contains(this.CssClasses_.IS_DRAWER_OPEN)&&this.toggleDrawer()},f.prototype.screenSizeHandler_=function(){this.screenSizeMediaQuery_.matches?this.element_.classList.add(this.CssClasses_.IS_SMALL_SCREEN):(this.element_.classList.remove(this.CssClasses_.IS_SMALL_SCREEN),this.drawer_&&(this.drawer_.classList.remove(this.CssClasses_.IS_DRAWER_OPEN),this.obfuscator_.classList.remove(this.CssClasses_.IS_DRAWER_OPEN)))},f.prototype.drawerToggleHandler_=function(e){if(e&&"keydown"===e.type){if(e.keyCode!==this.Keycodes_.SPACE&&e.keyCode!==this.Keycodes_.ENTER)return;e.preventDefault()}this.toggleDrawer()},f.prototype.headerTransitionEndHandler_=function(){this.header_.classList.remove(this.CssClasses_.IS_ANIMATING)},f.prototype.headerClickHandler_=function(){this.header_.classList.contains(this.CssClasses_.IS_COMPACT)&&(this.header_.classList.remove(this.CssClasses_.IS_COMPACT),this.header_.classList.add(this.CssClasses_.IS_ANIMATING))},f.prototype.resetTabState_=function(e){for(var t=0;t<e.length;t++)e[t].classList.remove(this.CssClasses_.IS_ACTIVE)},f.prototype.resetPanelState_=function(e){for(var t=0;t<e.length;t++)e[t].classList.remove(this.CssClasses_.IS_ACTIVE)},f.prototype.toggleDrawer=function(){var e=this.element_.querySelector("."+this.CssClasses_.DRAWER_BTN);this.drawer_.classList.toggle(this.CssClasses_.IS_DRAWER_OPEN),this.obfuscator_.classList.toggle(this.CssClasses_.IS_DRAWER_OPEN),this.drawer_.classList.contains(this.CssClasses_.IS_DRAWER_OPEN)?(this.drawer_.setAttribute("aria-hidden","false"),e.setAttribute("aria-expanded","true")):(this.drawer_.setAttribute("aria-hidden","true"),e.setAttribute("aria-expanded","false"))},f.prototype.toggleDrawer=f.prototype.toggleDrawer,f.prototype.init=function(){if(this.element_){var e=document.createElement("div");e.classList.add(this.CssClasses_.CONTAINER);var s=this.element_.querySelector(":focus");this.element_.parentElement.insertBefore(e,this.element_),this.element_.parentElement.removeChild(this.element_),e.appendChild(this.element_),s&&s.focus();for(var i=this.element_.childNodes,n=i.length,a=0;a<n;a++){var l=i[a];l.classList&&l.classList.contains(this.CssClasses_.HEADER)&&(this.header_=l),l.classList&&l.classList.contains(this.CssClasses_.DRAWER)&&(this.drawer_=l),l.classList&&l.classList.contains(this.CssClasses_.CONTENT)&&(this.content_=l)}window.addEventListener("pageshow",function(e){e.persisted&&(this.element_.style.overflowY="hidden",requestAnimationFrame(function(){this.element_.style.overflowY=""}.bind(this)))}.bind(this),!1),this.header_&&(this.tabBar_=this.header_.querySelector("."+this.CssClasses_.TAB_BAR));var o=this.Mode_.STANDARD;if(this.header_&&(this.header_.classList.contains(this.CssClasses_.HEADER_SEAMED)?o=this.Mode_.SEAMED:this.header_.classList.contains(this.CssClasses_.HEADER_WATERFALL)?(o=this.Mode_.WATERFALL,this.header_.addEventListener("transitionend",this.headerTransitionEndHandler_.bind(this)),this.header_.addEventListener("click",this.headerClickHandler_.bind(this))):this.header_.classList.contains(this.CssClasses_.HEADER_SCROLL)&&(o=this.Mode_.SCROLL,e.classList.add(this.CssClasses_.HAS_SCROLLING_HEADER)),o===this.Mode_.STANDARD?(this.header_.classList.add(this.CssClasses_.CASTING_SHADOW),this.tabBar_&&this.tabBar_.classList.add(this.CssClasses_.CASTING_SHADOW)):o===this.Mode_.SEAMED||o===this.Mode_.SCROLL?(this.header_.classList.remove(this.CssClasses_.CASTING_SHADOW),this.tabBar_&&this.tabBar_.classList.remove(this.CssClasses_.CASTING_SHADOW)):o===this.Mode_.WATERFALL&&(this.content_.addEventListener("scroll",this.contentScrollHandler_.bind(this)),this.contentScrollHandler_())),this.drawer_){var r=this.element_.querySelector("."+this.CssClasses_.DRAWER_BTN);if(!r){r=document.createElement("div"),r.setAttribute("aria-expanded","false"),r.setAttribute("role","button"),r.setAttribute("tabindex","0"),r.classList.add(this.CssClasses_.DRAWER_BTN);var _=document.createElement("i");_.classList.add(this.CssClasses_.ICON),_.innerHTML=this.Constant_.MENU_ICON,r.appendChild(_)}this.drawer_.classList.contains(this.CssClasses_.ON_LARGE_SCREEN)?r.classList.add(this.CssClasses_.ON_LARGE_SCREEN):this.drawer_.classList.contains(this.CssClasses_.ON_SMALL_SCREEN)&&r.classList.add(this.CssClasses_.ON_SMALL_SCREEN),r.addEventListener("click",this.drawerToggleHandler_.bind(this)),r.addEventListener("keydown",this.drawerToggleHandler_.bind(this)),this.element_.classList.add(this.CssClasses_.HAS_DRAWER),this.element_.classList.contains(this.CssClasses_.FIXED_HEADER)?this.header_.insertBefore(r,this.header_.firstChild):this.element_.insertBefore(r,this.content_);var d=document.createElement("div");d.classList.add(this.CssClasses_.OBFUSCATOR),this.element_.appendChild(d),d.addEventListener("click",this.drawerToggleHandler_.bind(this)),this.obfuscator_=d,this.drawer_.addEventListener("keydown",this.keyboardEventHandler_.bind(this)),this.drawer_.setAttribute("aria-hidden","true")}if(this.screenSizeMediaQuery_=window.matchMedia(this.Constant_.MAX_WIDTH),this.screenSizeMediaQuery_.addListener(this.screenSizeHandler_.bind(this)),this.screenSizeHandler_(),this.header_&&this.tabBar_){this.element_.classList.add(this.CssClasses_.HAS_TABS);var h=document.createElement("div");h.classList.add(this.CssClasses_.TAB_CONTAINER),this.header_.insertBefore(h,this.tabBar_),this.header_.removeChild(this.tabBar_);var c=document.createElement("div");c.classList.add(this.CssClasses_.TAB_BAR_BUTTON),c.classList.add(this.CssClasses_.TAB_BAR_LEFT_BUTTON);var p=document.createElement("i");p.classList.add(this.CssClasses_.ICON),p.textContent=this.Constant_.CHEVRON_LEFT,c.appendChild(p),c.addEventListener("click",function(){this.tabBar_.scrollLeft-=this.Constant_.TAB_SCROLL_PIXELS}.bind(this));var C=document.createElement("div");C.classList.add(this.CssClasses_.TAB_BAR_BUTTON),C.classList.add(this.CssClasses_.TAB_BAR_RIGHT_BUTTON);var u=document.createElement("i");u.classList.add(this.CssClasses_.ICON),u.textContent=this.Constant_.CHEVRON_RIGHT,C.appendChild(u),C.addEventListener("click",function(){this.tabBar_.scrollLeft+=this.Constant_.TAB_SCROLL_PIXELS}.bind(this)),h.appendChild(c),h.appendChild(this.tabBar_),h.appendChild(C);var E=function(){this.tabBar_.scrollLeft>0?c.classList.add(this.CssClasses_.IS_ACTIVE):c.classList.remove(this.CssClasses_.IS_ACTIVE),this.tabBar_.scrollLeft<this.tabBar_.scrollWidth-this.tabBar_.offsetWidth?C.classList.add(this.CssClasses_.IS_ACTIVE):C.classList.remove(this.CssClasses_.IS_ACTIVE)}.bind(this);this.tabBar_.addEventListener("scroll",E),E();var m=function(){this.resizeTimeoutId_&&clearTimeout(this.resizeTimeoutId_),this.resizeTimeoutId_=setTimeout(function(){E(),this.resizeTimeoutId_=null}.bind(this),this.Constant_.RESIZE_TIMEOUT)}.bind(this);window.addEventListener("resize",m),this.tabBar_.classList.contains(this.CssClasses_.JS_RIPPLE_EFFECT)&&this.tabBar_.classList.add(this.CssClasses_.RIPPLE_IGNORE_EVENTS);for(var L=this.tabBar_.querySelectorAll("."+this.CssClasses_.TAB),I=this.content_.querySelectorAll("."+this.CssClasses_.PANEL),f=0;f<L.length;f++)new t(L[f],L,I,this)}this.element_.classList.add(this.CssClasses_.IS_UPGRADED)}},window.MaterialLayoutTab=t,s.register({constructor:f,classAsString:"MaterialLayout",cssClass:"mdl-js-layout"});var b=function(e){this.element_=e,this.init()};window.MaterialDataTable=b,b.prototype.Constant_={},b.prototype.CssClasses_={DATA_TABLE:"mdl-data-table",SELECTABLE:"mdl-data-table--selectable",SELECT_ELEMENT:"mdl-data-table__select",IS_SELECTED:"is-selected",IS_UPGRADED:"is-upgraded"},b.prototype.selectRow_=function(e,t,s){return t?function(){e.checked?t.classList.add(this.CssClasses_.IS_SELECTED):t.classList.remove(this.CssClasses_.IS_SELECTED)}.bind(this):s?function(){var t,i;if(e.checked)for(t=0;t<s.length;t++)i=s[t].querySelector("td").querySelector(".mdl-checkbox"),i.MaterialCheckbox.check(),s[t].classList.add(this.CssClasses_.IS_SELECTED);else for(t=0;t<s.length;t++)i=s[t].querySelector("td").querySelector(".mdl-checkbox"),i.MaterialCheckbox.uncheck(),s[t].classList.remove(this.CssClasses_.IS_SELECTED)}.bind(this):void 0},b.prototype.createCheckbox_=function(e,t){var i=document.createElement("label"),n=["mdl-checkbox","mdl-js-checkbox","mdl-js-ripple-effect",this.CssClasses_.SELECT_ELEMENT];i.className=n.join(" ");var a=document.createElement("input");return a.type="checkbox",a.classList.add("mdl-checkbox__input"),e?(a.checked=e.classList.contains(this.CssClasses_.IS_SELECTED),a.addEventListener("change",this.selectRow_(a,e))):t&&a.addEventListener("change",this.selectRow_(a,null,t)),i.appendChild(a),s.upgradeElement(i,"MaterialCheckbox"),i},b.prototype.init=function(){if(this.element_){var e=this.element_.querySelector("th"),t=Array.prototype.slice.call(this.element_.querySelectorAll("tbody tr")),s=Array.prototype.slice.call(this.element_.querySelectorAll("tfoot tr")),i=t.concat(s);if(this.element_.classList.contains(this.CssClasses_.SELECTABLE)){var n=document.createElement("th"),a=this.createCheckbox_(null,i);n.appendChild(a),e.parentElement.insertBefore(n,e);for(var l=0;l<i.length;l++){var o=i[l].querySelector("td");if(o){var r=document.createElement("td");if("TBODY"===i[l].parentNode.nodeName.toUpperCase()){var _=this.createCheckbox_(i[l]);r.appendChild(_)}i[l].insertBefore(r,o)}}this.element_.classList.add(this.CssClasses_.IS_UPGRADED)}}},s.register({constructor:b,classAsString:"MaterialDataTable",cssClass:"mdl-js-data-table"});var S=function(e){this.element_=e,this.init()};window.MaterialRipple=S,S.prototype.Constant_={INITIAL_SCALE:"scale(0.0001, 0.0001)",INITIAL_SIZE:"1px",INITIAL_OPACITY:"0.4",FINAL_OPACITY:"0",FINAL_SCALE:""},S.prototype.CssClasses_={RIPPLE_CENTER:"mdl-ripple--center",RIPPLE_EFFECT_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",RIPPLE:"mdl-ripple",IS_ANIMATING:"is-animating",IS_VISIBLE:"is-visible"},S.prototype.downHandler_=function(e){if(!this.rippleElement_.style.width&&!this.rippleElement_.style.height){var t=this.element_.getBoundingClientRect();this.boundHeight=t.height,this.boundWidth=t.width,this.rippleSize_=2*Math.sqrt(t.width*t.width+t.height*t.height)+2,this.rippleElement_.style.width=this.rippleSize_+"px",this.rippleElement_.style.height=this.rippleSize_+"px"}if(this.rippleElement_.classList.add(this.CssClasses_.IS_VISIBLE),"mousedown"===e.type&&this.ignoringMouseDown_)this.ignoringMouseDown_=!1;else{"touchstart"===e.type&&(this.ignoringMouseDown_=!0);var s=this.getFrameCount();if(s>0)return;this.setFrameCount(1);var i,n,a=e.currentTarget.getBoundingClientRect();if(0===e.clientX&&0===e.clientY)i=Math.round(a.width/2),n=Math.round(a.height/2);else{var l=void 0!==e.clientX?e.clientX:e.touches[0].clientX,o=void 0!==e.clientY?e.clientY:e.touches[0].clientY;i=Math.round(l-a.left),n=Math.round(o-a.top)}this.setRippleXY(i,n),this.setRippleStyles(!0),window.requestAnimationFrame(this.animFrameHandler.bind(this))}},S.prototype.upHandler_=function(e){e&&2!==e.detail&&window.setTimeout(function(){this.rippleElement_.classList.remove(this.CssClasses_.IS_VISIBLE)}.bind(this),0)},S.prototype.init=function(){if(this.element_){var e=this.element_.classList.contains(this.CssClasses_.RIPPLE_CENTER);this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT_IGNORE_EVENTS)||(this.rippleElement_=this.element_.querySelector("."+this.CssClasses_.RIPPLE),this.frameCount_=0,this.rippleSize_=0,this.x_=0,this.y_=0,this.ignoringMouseDown_=!1,this.boundDownHandler=this.downHandler_.bind(this),this.element_.addEventListener("mousedown",this.boundDownHandler),this.element_.addEventListener("touchstart",this.boundDownHandler),this.boundUpHandler=this.upHandler_.bind(this),this.element_.addEventListener("mouseup",this.boundUpHandler),this.element_.addEventListener("mouseleave",this.boundUpHandler),this.element_.addEventListener("touchend",this.boundUpHandler),this.element_.addEventListener("blur",this.boundUpHandler),this.getFrameCount=function(){return this.frameCount_},this.setFrameCount=function(e){this.frameCount_=e},this.getRippleElement=function(){return this.rippleElement_},this.setRippleXY=function(e,t){this.x_=e,this.y_=t},this.setRippleStyles=function(t){if(null!==this.rippleElement_){var s,i,n,a="translate("+this.x_+"px, "+this.y_+"px)";t?(i=this.Constant_.INITIAL_SCALE,n=this.Constant_.INITIAL_SIZE):(i=this.Constant_.FINAL_SCALE,n=this.rippleSize_+"px",e&&(a="translate("+this.boundWidth/2+"px, "+this.boundHeight/2+"px)")),s="translate(-50%, -50%) "+a+i,this.rippleElement_.style.webkitTransform=s,this.rippleElement_.style.msTransform=s,this.rippleElement_.style.transform=s,t?this.rippleElement_.classList.remove(this.CssClasses_.IS_ANIMATING):this.rippleElement_.classList.add(this.CssClasses_.IS_ANIMATING)}},this.animFrameHandler=function(){this.frameCount_-- >0?window.requestAnimationFrame(this.animFrameHandler.bind(this)):this.setRippleStyles(!1)})}},s.register({constructor:S,classAsString:"MaterialRipple",cssClass:"mdl-js-ripple-effect",widget:!1})}();
|
10 |
+
//# sourceMappingURL=material.min.js.map
|
assets/js/settings.js
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).on("click", ".shipping_provider_tab li", function(){
|
2 |
+
jQuery(".shipping_provider_tab li").removeClass("current");
|
3 |
+
jQuery(this).addClass("current");
|
4 |
+
|
5 |
+
var target = jQuery(this).data("target");
|
6 |
+
|
7 |
+
jQuery(".targets").hide();
|
8 |
+
jQuery(".target-"+target).show();
|
9 |
+
});
|
10 |
+
jQuery(document).on("click", "#wc_ast_status_delivered", function(){
|
11 |
+
if(jQuery(this).prop("checked") == true){
|
12 |
+
jQuery('.status_label_color_th').show();
|
13 |
+
} else{
|
14 |
+
jQuery('.status_label_color_th').hide();
|
15 |
+
}
|
16 |
+
});
|
17 |
+
jQuery( document ).ready(function() {
|
18 |
+
if(jQuery('#wc_ast_status_delivered').prop("checked") == true){
|
19 |
+
jQuery('.status_label_color_th').show();
|
20 |
+
} else{
|
21 |
+
jQuery('.status_label_color_th').hide();
|
22 |
+
}
|
23 |
+
jQuery('#wc_ast_status_label_color').wpColorPicker();
|
24 |
+
});
|
assets/js/shipping_row.js
ADDED
@@ -0,0 +1,492 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
( function( $, data, wp, ajaxurl ) {
|
2 |
+
|
3 |
+
var wc_table_rate_rows_row_template = wp.template( 'shipping-provider-row-template' ),
|
4 |
+
$rates_table = $( '#shipping_rates' ),
|
5 |
+
$rates = $rates_table.find( 'tbody.table_rates' ),
|
6 |
+
$table = $(".shipping_provider_table");
|
7 |
+
|
8 |
+
var $wc_ast_api_form = $("#wc_ast_api_form");
|
9 |
+
var $wc_ast_settings_form = $("#wc_ast_settings_form");
|
10 |
+
|
11 |
+
|
12 |
+
var wc_table_rate_rows = {
|
13 |
+
|
14 |
+
init: function() {
|
15 |
+
|
16 |
+
$(document).on( 'click', 'a.add-provider', this.onAddProvider )
|
17 |
+
.on( 'click', '.shipping_provider_table .remove', this.onRemoveProvider );
|
18 |
+
|
19 |
+
var rates_data = $rates.data( 'rates' );
|
20 |
+
|
21 |
+
$( rates_data ).each( function( i ) {
|
22 |
+
var size = $rates.find( '.table_rate' ).length;
|
23 |
+
$rates.append( wc_table_rate_rows_row_template( {
|
24 |
+
rate: rates_data[ i ],
|
25 |
+
index: size
|
26 |
+
} ) );
|
27 |
+
} );
|
28 |
+
|
29 |
+
$wc_ast_api_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_api_form );
|
30 |
+
$wc_ast_settings_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_settings_form );
|
31 |
+
|
32 |
+
$(".tipTip").tipTip();
|
33 |
+
|
34 |
+
},
|
35 |
+
save_wc_ast_api_form: function( event ) {
|
36 |
+
event.preventDefault();
|
37 |
+
|
38 |
+
$wc_ast_api_form.find(".spinner").addClass("active");
|
39 |
+
$wc_ast_api_form.find(".success_msg").hide();
|
40 |
+
var ajax_data = $wc_ast_api_form.serialize();
|
41 |
+
|
42 |
+
$.post( ajaxurl, ajax_data, function(response) {
|
43 |
+
$wc_ast_api_form.find(".spinner").removeClass("active");
|
44 |
+
$wc_ast_api_form.find(".success_msg").show();
|
45 |
+
});
|
46 |
+
|
47 |
+
},
|
48 |
+
save_wc_ast_settings_form: function( event ) {
|
49 |
+
event.preventDefault();
|
50 |
+
|
51 |
+
$wc_ast_settings_form.find(".spinner").addClass("active");
|
52 |
+
//$wc_ast_settings_form.find(".success_msg").hide();
|
53 |
+
var ajax_data = $wc_ast_settings_form.serialize();
|
54 |
+
|
55 |
+
$.post( ajaxurl, ajax_data, function(response) {
|
56 |
+
$wc_ast_settings_form.find(".spinner").removeClass("active");
|
57 |
+
var snackbarContainer = document.querySelector('#demo-toast-example');
|
58 |
+
var data = {message: 'Data saved successfully.'};
|
59 |
+
snackbarContainer.MaterialSnackbar.showSnackbar(data);
|
60 |
+
//$wc_ast_settings_form.find(".success_msg").show();
|
61 |
+
});
|
62 |
+
|
63 |
+
},
|
64 |
+
onAddProvider: function( event ) {
|
65 |
+
|
66 |
+
event.preventDefault();
|
67 |
+
var target = $table;
|
68 |
+
|
69 |
+
var ajax_data = {
|
70 |
+
action: 'woocommerce_shipping_provider_add',
|
71 |
+
security: data.delete_rates_nonce,
|
72 |
+
|
73 |
+
};
|
74 |
+
var sort_id = $('.shipping_provider_table tbody tr.provider_tr:last').find('.sort_order').val();
|
75 |
+
$.ajax({
|
76 |
+
url: ajaxurl,
|
77 |
+
dataType: "json",
|
78 |
+
data:ajax_data,
|
79 |
+
success: function(response) {
|
80 |
+
|
81 |
+
target.find("tbody").append( wc_table_rate_rows_row_template( {
|
82 |
+
rate: {
|
83 |
+
id: '',
|
84 |
+
provider_name: '',
|
85 |
+
shipping_country: '',
|
86 |
+
provider_url: ''
|
87 |
+
},
|
88 |
+
index: response.id,
|
89 |
+
sort_id: (Number(sort_id) + 1),
|
90 |
+
} ) );
|
91 |
+
jQuery(".wcast_shipping_country").select2();
|
92 |
+
},
|
93 |
+
error: function(response) {
|
94 |
+
console.log(response);
|
95 |
+
alert(response);
|
96 |
+
}
|
97 |
+
});
|
98 |
+
|
99 |
+
},
|
100 |
+
onRemoveProvider: function( event ) {
|
101 |
+
event.preventDefault();
|
102 |
+
$(".shipping_provider_table ").block({
|
103 |
+
message: null,
|
104 |
+
overlayCSS: {
|
105 |
+
background: "#fff",
|
106 |
+
opacity: .6
|
107 |
+
}
|
108 |
+
});
|
109 |
+
var r = confirm("Really delete this entry? This will not be undo.");
|
110 |
+
if (r === true) {
|
111 |
+
|
112 |
+
} else {
|
113 |
+
$(".shipping_provider_table ").unblock();
|
114 |
+
return;
|
115 |
+
}
|
116 |
+
|
117 |
+
var provider_row = jQuery(this).parents("tr");
|
118 |
+
var provider_id = jQuery(this).data("pid");
|
119 |
+
|
120 |
+
var ajax_data = {
|
121 |
+
action: 'woocommerce_shipping_provider_delete',
|
122 |
+
provider_id: provider_id,
|
123 |
+
};
|
124 |
+
|
125 |
+
$.post( ajaxurl, ajax_data, function(response) {
|
126 |
+
provider_row.remove();
|
127 |
+
update_default_shipping_provider();
|
128 |
+
$(".shipping_provider_table ").unblock();
|
129 |
+
});
|
130 |
+
}
|
131 |
+
};
|
132 |
+
$(window).load(function(e) {
|
133 |
+
wc_table_rate_rows.init();
|
134 |
+
});
|
135 |
+
})( jQuery, shipment_tracking_table_rows, wp, ajaxurl );
|
136 |
+
|
137 |
+
jQuery(function($){
|
138 |
+
|
139 |
+
var $in_transit = $("#wc_ast_api_in_transit");
|
140 |
+
if( $in_transit.length > 0 ){
|
141 |
+
$in_transit.after("<div id=wc_ast_tags></div>").hide();
|
142 |
+
|
143 |
+
var a = $in_transit.val().split(",");
|
144 |
+
var i;
|
145 |
+
for (i = 0; i < a.length; i++) {
|
146 |
+
jQuery("#wc_ast_tags").append("<span>"+a[i]+"</span>");
|
147 |
+
}
|
148 |
+
|
149 |
+
$("#wc_ast_tags").append('<input type="text" value="" placeholder="Add a tag" />');
|
150 |
+
}
|
151 |
+
|
152 |
+
$("#wc_ast_tags input").on({
|
153 |
+
focusout : function() {
|
154 |
+
var txt = this.value;
|
155 |
+
//var txt = this.value.replace(/[^a-z0-9\+\-\.\#]/ig,''); // allowed characters
|
156 |
+
if(txt) $("<span/>", {text:txt, insertBefore:this});
|
157 |
+
this.value = "";
|
158 |
+
|
159 |
+
var a=[];
|
160 |
+
jQuery("#wc_ast_tags span").each(function(index, element) {
|
161 |
+
a.push( jQuery(element).text() );
|
162 |
+
});
|
163 |
+
$in_transit.val( a.join() );
|
164 |
+
},
|
165 |
+
keyup : function(ev) {
|
166 |
+
// if: comma|enter (delimit more keyCodes with | pipe)
|
167 |
+
if(/(188|13)/.test(ev.which)){
|
168 |
+
$(this).focusout();
|
169 |
+
return false;
|
170 |
+
}
|
171 |
+
}
|
172 |
+
});
|
173 |
+
$('#wc_ast_tags').on('click', 'span', function() {
|
174 |
+
if(confirm("Remove "+ $(this).text() +"?")) $(this).remove();
|
175 |
+
var a=[];
|
176 |
+
jQuery("#wc_ast_tags span").each(function(index, element) {
|
177 |
+
a.push( jQuery(element).text() );
|
178 |
+
});
|
179 |
+
$in_transit.val( a.join() );
|
180 |
+
});
|
181 |
+
jQuery('[for="wcstsi_snapcx_test_btn"]').attr("for", "");
|
182 |
+
|
183 |
+
if( $("#wcstsi_snapcx_test_btn").length > 0 ){
|
184 |
+
$("#wcstsi_snapcx_test_btn").parents("tr").hide();
|
185 |
+
$("#mainform").after("<div class='wcstsi_snapcx_wrap'></div>");
|
186 |
+
$(".wcstsi_snapcx_wrap").append('<div class=headwrap><b>Manual Trigger : </b> <input name="Manual Trigger" id="wcstsi_api_run" type="button" style="" value="Run the API process manually" class="button-secondary"> </div><div class=bodyres><div class=orders_info></div><div class=orders_api_list></div><div class=response_status></div></div>');
|
187 |
+
}
|
188 |
+
});
|
189 |
+
|
190 |
+
// Item ordering.
|
191 |
+
jQuery('.shipping_provider_table tbody').sortable({
|
192 |
+
items: '.provider_tr',
|
193 |
+
cursor: 'move',
|
194 |
+
handle: '.sort-item',
|
195 |
+
opacity: 0.8,
|
196 |
+
update: function( event, ui ) {
|
197 |
+
jQuery(this).children().each(function(index) {
|
198 |
+
jQuery(this).find('.sort_order').val(index + 1)
|
199 |
+
});
|
200 |
+
},
|
201 |
+
stop:function( event, ui ){
|
202 |
+
update_sort_order();
|
203 |
+
}
|
204 |
+
});
|
205 |
+
|
206 |
+
function update_sort_order(){
|
207 |
+
var form = jQuery('#shipping_provider_form');
|
208 |
+
var error;
|
209 |
+
$(".shipping_provider_table ").block({
|
210 |
+
message: null,
|
211 |
+
overlayCSS: {
|
212 |
+
background: "#fff",
|
213 |
+
opacity: .6
|
214 |
+
}
|
215 |
+
});
|
216 |
+
$.ajax({
|
217 |
+
url: ajaxurl+'?action=update_sort_order',
|
218 |
+
data: form.serialize(),
|
219 |
+
type: 'POST',
|
220 |
+
success: function(response) {
|
221 |
+
jQuery(document).on("click", ".edit_provider", function(){
|
222 |
+
jQuery(this).closest('tr').find('.on_edit_show').show();
|
223 |
+
jQuery(this).closest('tr').find('.on_edit_hide').hide();
|
224 |
+
});
|
225 |
+
update_default_shipping_provider();
|
226 |
+
$(".shipping_provider_table ").unblock();
|
227 |
+
},
|
228 |
+
error: function(response) {
|
229 |
+
console.log(response);
|
230 |
+
}
|
231 |
+
});
|
232 |
+
}
|
233 |
+
|
234 |
+
jQuery(document).on("click", ".status_slide", function(){
|
235 |
+
if(jQuery(this).prop("checked") == true){
|
236 |
+
jQuery(this).closest('tr').removeClass('status_deactivate');
|
237 |
+
} else{
|
238 |
+
jQuery(this).closest('tr').addClass('status_deactivate');
|
239 |
+
}
|
240 |
+
var form = jQuery('#shipping_provider_form');
|
241 |
+
var error;
|
242 |
+
$(".shipping_provider_table ").block({
|
243 |
+
message: null,
|
244 |
+
overlayCSS: {
|
245 |
+
background: "#fff",
|
246 |
+
opacity: .6
|
247 |
+
}
|
248 |
+
});
|
249 |
+
$.ajax({
|
250 |
+
url: ajaxurl+'?action=update_shipment_status',
|
251 |
+
data: form.serialize(),
|
252 |
+
type: 'POST',
|
253 |
+
success: function(response) {
|
254 |
+
update_default_shipping_provider();
|
255 |
+
$(".shipping_provider_table ").unblock();
|
256 |
+
},
|
257 |
+
error: function(response) {
|
258 |
+
console.log(response);
|
259 |
+
}
|
260 |
+
});
|
261 |
+
});
|
262 |
+
$(".custom_provider_tr").hover(function() {
|
263 |
+
jQuery(this).find('.dashicons-edit').show();
|
264 |
+
jQuery(this).find('.dashicons-trash').show();
|
265 |
+
}, function() {
|
266 |
+
jQuery(this).find('.dashicons-edit').hide();
|
267 |
+
jQuery(this).find('.dashicons-trash').hide();
|
268 |
+
});
|
269 |
+
|
270 |
+
jQuery(document).on("click", ".edit_provider", function(){
|
271 |
+
jQuery(this).closest('tr').find('.on_edit_show').show();
|
272 |
+
jQuery(this).closest('tr').find('.on_edit_hide').hide();
|
273 |
+
$(".custom_provider_tr").hover(function() {
|
274 |
+
jQuery(this).find('.dashicons-edit').hide();
|
275 |
+
jQuery(this).find('.dashicons-trash').hide();
|
276 |
+
}, function() {
|
277 |
+
});
|
278 |
+
});
|
279 |
+
jQuery(document).on("click", ".update_provider", function(){
|
280 |
+
$(".shipping_provider_table ").block({
|
281 |
+
message: null,
|
282 |
+
overlayCSS: {
|
283 |
+
background: "#fff",
|
284 |
+
opacity: .6
|
285 |
+
}
|
286 |
+
});
|
287 |
+
var custom_provider_name = jQuery(this).closest('tr').find('.custom_provider_name').val();
|
288 |
+
var custom_provider_country = jQuery(this).closest('tr').find('.custom_provider_country').val();
|
289 |
+
var custom_provider_url = jQuery(this).closest('tr').find('.custom_provider_url').val();
|
290 |
+
var provider_id = jQuery(this).closest('tr').find('.provider_id').val();
|
291 |
+
var sort_order = jQuery(this).closest('tr').find('.sort_order').val();
|
292 |
+
|
293 |
+
|
294 |
+
var ajax_data = {
|
295 |
+
action: 'update_shipping_provider',
|
296 |
+
provider_id: provider_id,
|
297 |
+
custom_provider_name: custom_provider_name,
|
298 |
+
custom_provider_country: custom_provider_country,
|
299 |
+
custom_provider_url: custom_provider_url,
|
300 |
+
sort_order: sort_order,
|
301 |
+
};
|
302 |
+
|
303 |
+
$.ajax({
|
304 |
+
url: ajaxurl,
|
305 |
+
data: ajax_data,
|
306 |
+
type: 'POST',
|
307 |
+
success: function(response) {
|
308 |
+
$(".shipping_provider_table tbody").replaceWith(response);
|
309 |
+
$(".custom_provider_tr").hover(function() {
|
310 |
+
jQuery(this).find('.dashicons-edit').show();
|
311 |
+
jQuery(this).find('.dashicons-trash').show();
|
312 |
+
}, function() {
|
313 |
+
jQuery(this).find('.dashicons-edit').hide();
|
314 |
+
jQuery(this).find('.dashicons-trash').hide();
|
315 |
+
});
|
316 |
+
jQuery(document).on("click", ".edit_provider", function(){
|
317 |
+
jQuery(this).closest('tr').find('.on_edit_show').show();
|
318 |
+
jQuery(this).closest('tr').find('.on_edit_hide').hide();
|
319 |
+
});
|
320 |
+
// Item ordering.
|
321 |
+
jQuery('.shipping_provider_table tbody').sortable({
|
322 |
+
items: '.provider_tr',
|
323 |
+
cursor: 'move',
|
324 |
+
handle: '.sort-item',
|
325 |
+
scrollSensitivity: 40,
|
326 |
+
opacity: 0.65,
|
327 |
+
update: function( event, ui ) {
|
328 |
+
jQuery(this).children().each(function(index) {
|
329 |
+
jQuery(this).find('.sort_order').val(index + 1)
|
330 |
+
});
|
331 |
+
},
|
332 |
+
stop:function( event, ui ){
|
333 |
+
update_sort_order();
|
334 |
+
}
|
335 |
+
});
|
336 |
+
componentHandler.upgradeAllRegistered();
|
337 |
+
update_default_shipping_provider();
|
338 |
+
$(".shipping_provider_table ").unblock();
|
339 |
+
},
|
340 |
+
error: function(response) {
|
341 |
+
}
|
342 |
+
});
|
343 |
+
return false;
|
344 |
+
});
|
345 |
+
|
346 |
+
jQuery(document).on("click", ".add_new", function(){
|
347 |
+
var form = jQuery('#shipping_provider_form');
|
348 |
+
var error;
|
349 |
+
$(".shipping_provider_table ").block({
|
350 |
+
message: null,
|
351 |
+
overlayCSS: {
|
352 |
+
background: "#fff",
|
353 |
+
opacity: .6
|
354 |
+
}
|
355 |
+
});
|
356 |
+
$.ajax({
|
357 |
+
url: ajaxurl+'?action=add_custom_shipment_provider',
|
358 |
+
data: form.serialize(),
|
359 |
+
type: 'POST',
|
360 |
+
success: function(response) {
|
361 |
+
$(".shipping_provider_table tbody").replaceWith(response);
|
362 |
+
$(".custom_provider_tr").hover(function() {
|
363 |
+
jQuery(this).find('.dashicons-edit').show();
|
364 |
+
jQuery(this).find('.dashicons-trash').show();
|
365 |
+
}, function() {
|
366 |
+
jQuery(this).find('.dashicons-edit').hide();
|
367 |
+
jQuery(this).find('.dashicons-trash').hide();
|
368 |
+
});
|
369 |
+
jQuery(document).on("click", ".edit_provider", function(){
|
370 |
+
jQuery(this).closest('tr').find('.on_edit_show').show();
|
371 |
+
jQuery(this).closest('tr').find('.on_edit_hide').hide();
|
372 |
+
});
|
373 |
+
// Item ordering.
|
374 |
+
jQuery('.shipping_provider_table tbody').sortable({
|
375 |
+
items: '.provider_tr',
|
376 |
+
cursor: 'move',
|
377 |
+
handle: '.sort-item',
|
378 |
+
scrollSensitivity: 40,
|
379 |
+
opacity: 0.65,
|
380 |
+
update: function( event, ui ) {
|
381 |
+
jQuery(this).children().each(function(index) {
|
382 |
+
jQuery(this).find('.sort_order').val(index + 1)
|
383 |
+
});
|
384 |
+
},
|
385 |
+
stop:function( event, ui ){
|
386 |
+
update_sort_order();
|
387 |
+
}
|
388 |
+
});
|
389 |
+
update_default_shipping_provider();
|
390 |
+
componentHandler.upgradeAllRegistered();
|
391 |
+
$(".shipping_provider_table ").unblock();
|
392 |
+
},
|
393 |
+
error: function(response) {
|
394 |
+
console.log(response);
|
395 |
+
}
|
396 |
+
});
|
397 |
+
return false;
|
398 |
+
});
|
399 |
+
function update_default_shipping_provider(){
|
400 |
+
var ajax_data = {
|
401 |
+
action: 'update_shipping_provider_dropdown',
|
402 |
+
};
|
403 |
+
$.ajax({
|
404 |
+
url: ajaxurl,
|
405 |
+
data: ajax_data,
|
406 |
+
type: 'POST',
|
407 |
+
success: function(response) {
|
408 |
+
$(".wc_ast_default_provider").replaceWith(response);
|
409 |
+
var snackbarContainer = document.querySelector('#demo-toast-example');
|
410 |
+
var data = {message: 'Data saved successfully.'};
|
411 |
+
snackbarContainer.MaterialSnackbar.showSnackbar(data);
|
412 |
+
},
|
413 |
+
error: function(response) {
|
414 |
+
}
|
415 |
+
});
|
416 |
+
}
|
417 |
+
|
418 |
+
jQuery(document).on("change", ".wc_ast_default_provider", function(){
|
419 |
+
$(".d_s_select_section ").block({
|
420 |
+
message: null,
|
421 |
+
overlayCSS: {
|
422 |
+
background: "#fff",
|
423 |
+
opacity: .6
|
424 |
+
}
|
425 |
+
});
|
426 |
+
var default_provider = jQuery('.wc_ast_default_provider').val();
|
427 |
+
var ajax_data = {
|
428 |
+
action: 'update_default_provider',
|
429 |
+
default_provider: default_provider,
|
430 |
+
};
|
431 |
+
$.ajax({
|
432 |
+
url: ajaxurl,
|
433 |
+
data: ajax_data,
|
434 |
+
type: 'POST',
|
435 |
+
success: function(response) {
|
436 |
+
$(".d_s_select_section ").unblock();
|
437 |
+
var snackbarContainer = document.querySelector('#demo-toast-example');
|
438 |
+
var data = {message: 'Data saved successfully.'};
|
439 |
+
snackbarContainer.MaterialSnackbar.showSnackbar(data);
|
440 |
+
},
|
441 |
+
error: function(response) {
|
442 |
+
}
|
443 |
+
});
|
444 |
+
});
|
445 |
+
|
446 |
+
jQuery(document).on("click", "#list-switch", function(){
|
447 |
+
var r = confirm("Really want to bulk change all provider status?");
|
448 |
+
if (r === true) {
|
449 |
+
|
450 |
+
} else {
|
451 |
+
if(jQuery(this).prop("checked") == true){
|
452 |
+
jQuery(this).prop('checked', false);
|
453 |
+
} else{
|
454 |
+
jQuery(this).prop('checked', true);
|
455 |
+
}
|
456 |
+
return;
|
457 |
+
}
|
458 |
+
if(jQuery('#list-switch').prop("checked") == true){
|
459 |
+
jQuery('.status_slide').prop('checked', true);
|
460 |
+
jQuery('.status_slide').parent('label').addClass('is-checked');
|
461 |
+
jQuery('tr.provider_tr').removeClass('status_deactivate');
|
462 |
+
} else{
|
463 |
+
jQuery('.status_slide').removeAttr('checked');
|
464 |
+
jQuery('.status_slide').parent('label').removeClass('is-checked');
|
465 |
+
jQuery('tr.provider_tr').addClass('status_deactivate');
|
466 |
+
}
|
467 |
+
var form = jQuery('#shipping_provider_form');
|
468 |
+
var error;
|
469 |
+
$(".shipping_provider_table ").block({
|
470 |
+
message: null,
|
471 |
+
overlayCSS: {
|
472 |
+
background: "#fff",
|
473 |
+
opacity: .6
|
474 |
+
}
|
475 |
+
});
|
476 |
+
$.ajax({
|
477 |
+
url: ajaxurl+'?action=update_shipment_status',
|
478 |
+
data: form.serialize(),
|
479 |
+
type: 'POST',
|
480 |
+
success: function(response) {
|
481 |
+
update_default_shipping_provider();
|
482 |
+
$(".shipping_provider_table ").unblock();
|
483 |
+
},
|
484 |
+
error: function(response) {
|
485 |
+
console.log(response);
|
486 |
+
}
|
487 |
+
});
|
488 |
+
});
|
489 |
+
$('.shipping_provider_table .provider_tr td').each(function() {
|
490 |
+
var width = jQuery(this).width();
|
491 |
+
$(this).width(width);
|
492 |
+
});
|
assets/shipment-provider-img/australia-post.png
ADDED
Binary file
|
assets/shipment-provider-img/bpost.png
ADDED
Binary file
|
assets/shipment-provider-img/bring-se.png
ADDED
Binary file
|
assets/shipment-provider-img/brt-bartolini.png
ADDED
Binary file
|
assets/shipment-provider-img/canada-post.png
ADDED
Binary file
|
assets/shipment-provider-img/ceska-posta.png
ADDED
Binary file
|
assets/shipment-provider-img/colissimo.png
ADDED
Binary file
|
assets/shipment-provider-img/correios.png
ADDED
Binary file
|
assets/shipment-provider-img/courier-post.png
ADDED
Binary file
|
assets/shipment-provider-img/db-schenker.png
ADDED
Binary file
|
assets/shipment-provider-img/deutsche-post-dhl.png
ADDED
Binary file
|
assets/shipment-provider-img/dhl-at.png
ADDED
Binary file
|
assets/shipment-provider-img/dhl-cz.png
ADDED
Binary file
|
assets/shipment-provider-img/dhl-express.png
ADDED
Binary file
|
assets/shipment-provider-img/dhl-intraship.png
ADDED
Binary file
|
assets/shipment-provider-img/dhl-se.png
ADDED
Binary file
|
assets/shipment-provider-img/dhl-us.png
ADDED
Binary file
|
assets/shipment-provider-img/dhl.png
ADDED
Binary file
|
assets/shipment-provider-img/dpd-at.png
ADDED
Binary file
|
assets/shipment-provider-img/dpd-co-uk.png
ADDED
Binary file
|
assets/shipment-provider-img/dpd-cz.png
ADDED
Binary file
|
assets/shipment-provider-img/dpd-de.png
ADDED
Binary file
|
assets/shipment-provider-img/dpd-nl.png
ADDED
Binary file
|
assets/shipment-provider-img/dpd-romania.png
ADDED
Binary file
|
assets/shipment-provider-img/dtdc.png
ADDED
Binary file
|
assets/shipment-provider-img/fan-courier.png
ADDED
Binary file
|
assets/shipment-provider-img/fastway-couriers.png
ADDED
Binary file
|
assets/shipment-provider-img/fastways.png
ADDED
Binary file
|
assets/shipment-provider-img/fedex-sameday.png
ADDED
Binary file
|
assets/shipment-provider-img/fedex.png
ADDED
Binary file
|
assets/shipment-provider-img/hermes.png
ADDED
Binary file
|
assets/shipment-provider-img/icon-default.png
ADDED
Binary file
|
assets/shipment-provider-img/interlink.png
ADDED
Binary file
|
assets/shipment-provider-img/itella.png
ADDED
Binary file
|
assets/shipment-provider-img/nz-post.png
ADDED
Binary file
|
assets/shipment-provider-img/ontrac.png
ADDED
Binary file
|
assets/shipment-provider-img/parcelforce.png
ADDED
Binary file
|
assets/shipment-provider-img/pbt-couriers.png
ADDED
Binary file
|
assets/shipment-provider-img/post-at.png
ADDED
Binary file
|
assets/shipment-provider-img/postnl.png
ADDED
Binary file
|
assets/shipment-provider-img/postnord-sverige-ab.png
ADDED
Binary file
|
assets/shipment-provider-img/ppl-cz.png
ADDED
Binary file
|
assets/shipment-provider-img/royal-mail.png
ADDED
Binary file
|
assets/shipment-provider-img/sapo.png
ADDED
Binary file
|
assets/shipment-provider-img/tnt-express-reference.png
ADDED
Binary file
|
assets/shipment-provider-img/tnt-express.png
ADDED
Binary file
|
assets/shipment-provider-img/uk-mail.png
ADDED
Binary file
|
assets/shipment-provider-img/ups-germany.png
ADDED
Binary file
|
assets/shipment-provider-img/ups-se.png
ADDED
Binary file
|
assets/shipment-provider-img/ups.png
ADDED
Binary file
|
assets/shipment-provider-img/urgent-cargus.png
ADDED
Binary file
|
assets/shipment-provider-img/usps.png
ADDED
Binary file
|
includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
/**
|
7 |
+
* REST API shipment tracking controller.
|
8 |
+
*
|
9 |
+
* Handles requests to /orders/shipment-tracking endpoint.
|
10 |
+
*
|
11 |
+
* @since 2.0
|
12 |
+
*/
|
13 |
+
|
14 |
+
class WC_Advanced_Shipment_Tracking_REST_API_Controller extends WC_Advanced_Shipment_Tracking_V1_REST_API_Controller {
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Endpoint namespace.
|
18 |
+
*
|
19 |
+
* @var string
|
20 |
+
*/
|
21 |
+
protected $namespace = 'wc/v2';
|
22 |
+
|
23 |
+
}
|
includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php
ADDED
@@ -0,0 +1,428 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
/**
|
7 |
+
* REST API shipment tracking controller.
|
8 |
+
*
|
9 |
+
* Handles requests to /orders/shipment-tracking endpoint.
|
10 |
+
*
|
11 |
+
* @since 1.5.0
|
12 |
+
*/
|
13 |
+
|
14 |
+
class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Controller {
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Endpoint namespace.
|
18 |
+
*
|
19 |
+
* @var string
|
20 |
+
*/
|
21 |
+
protected $namespace = 'wc/v1';
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Route base.
|
25 |
+
*
|
26 |
+
* @var string
|
27 |
+
*/
|
28 |
+
protected $rest_base = 'orders/(?P<order_id>[\d]+)/shipment-trackings';
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Post type.
|
32 |
+
*
|
33 |
+
* @var string
|
34 |
+
*/
|
35 |
+
protected $post_type = 'shop_order';
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Register the routes for trackings.
|
39 |
+
*/
|
40 |
+
public function register_routes() {
|
41 |
+
register_rest_route( $this->namespace, '/' . $this->rest_base, array(
|
42 |
+
array(
|
43 |
+
'methods' => WP_REST_Server::READABLE,
|
44 |
+
'callback' => array( $this, 'get_items' ),
|
45 |
+
'permission_callback' => array( $this, 'get_items_permissions_check' ),
|
46 |
+
'args' => $this->get_collection_params(),
|
47 |
+
),
|
48 |
+
array(
|
49 |
+
'methods' => WP_REST_Server::CREATABLE,
|
50 |
+
'callback' => array( $this, 'create_item' ),
|
51 |
+
'permission_callback' => array( $this, 'create_item_permissions_check' ),
|
52 |
+
'args' => array_merge( $this->get_endpoint_args_for_item_schema( WP_REST_Server::CREATABLE ), array(
|
53 |
+
'tracking_number' => array(
|
54 |
+
'required' => true,
|
55 |
+
),
|
56 |
+
) ),
|
57 |
+
),
|
58 |
+
'schema' => array( $this, 'get_public_item_schema' ),
|
59 |
+
) );
|
60 |
+
|
61 |
+
register_rest_route( $this->namespace, '/' . $this->rest_base . '/providers', array(
|
62 |
+
array(
|
63 |
+
'methods' => WP_REST_Server::READABLE,
|
64 |
+
'callback' => array( $this, 'get_providers' ),
|
65 |
+
),
|
66 |
+
) );
|
67 |
+
|
68 |
+
register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>[a-fA-F0-9]{0,32})', array(
|
69 |
+
array(
|
70 |
+
'methods' => WP_REST_Server::READABLE,
|
71 |
+
'callback' => array( $this, 'get_item' ),
|
72 |
+
'permission_callback' => array( $this, 'get_item_permissions_check' ),
|
73 |
+
'args' => array(
|
74 |
+
'context' => $this->get_context_param( array( 'default' => 'view' ) ),
|
75 |
+
),
|
76 |
+
),
|
77 |
+
array(
|
78 |
+
'methods' => WP_REST_Server::DELETABLE,
|
79 |
+
'callback' => array( $this, 'delete_item' ),
|
80 |
+
'permission_callback' => array( $this, 'delete_item_permissions_check' ),
|
81 |
+
),
|
82 |
+
'schema' => array( $this, 'get_public_item_schema' ),
|
83 |
+
) );
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Check whether a given request has permission to read order shipment-trackings.
|
88 |
+
*
|
89 |
+
* @param WP_REST_Request $request Full details about the request.
|
90 |
+
* @return WP_Error|boolean
|
91 |
+
*/
|
92 |
+
public function get_items_permissions_check( $request ) {
|
93 |
+
if ( ! wc_rest_check_post_permissions( $this->post_type, 'read' ) ) {
|
94 |
+
return new WP_Error( 'woocommerce_rest_cannot_view', __( 'Sorry, you cannot list resources.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
|
95 |
+
}
|
96 |
+
return true;
|
97 |
+
}
|
98 |
+
|
99 |
+
/**
|
100 |
+
* Check if a given request has access create order shipment-tracking.
|
101 |
+
*
|
102 |
+
* @param WP_REST_Request $request Full details about the request.
|
103 |
+
* @return boolean
|
104 |
+
*/
|
105 |
+
public function create_item_permissions_check( $request ) {
|
106 |
+
if ( ! wc_rest_check_post_permissions( $this->post_type, 'create' ) ) {
|
107 |
+
return new WP_Error( 'woocommerce_rest_cannot_create', __( 'Sorry, you are not allowed to create resources.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
|
108 |
+
}
|
109 |
+
return true;
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Check if a given request has access to read a order shipment-tracking.
|
114 |
+
*
|
115 |
+
* @param WP_REST_Request $request Full details about the request.
|
116 |
+
* @return WP_Error|boolean
|
117 |
+
*/
|
118 |
+
public function get_item_permissions_check( $request ) {
|
119 |
+
if ( ! wc_rest_check_post_permissions( $this->post_type, 'read', (int) $request['order_id'] ) ) {
|
120 |
+
return new WP_Error( 'woocommerce_rest_cannot_view', __( 'Sorry, you cannot view this resource.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
|
121 |
+
}
|
122 |
+
return true;
|
123 |
+
}
|
124 |
+
|
125 |
+
/**
|
126 |
+
* Check if a given request has access delete a order shipment-tracking.
|
127 |
+
*
|
128 |
+
* @param WP_REST_Request $request Full details about the request.
|
129 |
+
* @return boolean
|
130 |
+
*/
|
131 |
+
public function delete_item_permissions_check( $request ) {
|
132 |
+
if ( ! wc_rest_check_post_permissions( $this->post_type, 'delete', (int) $request['order_id'] ) ) {
|
133 |
+
return new WP_Error( 'woocommerce_rest_cannot_delete', __( 'Sorry, you are not allowed to delete this resource.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
|
134 |
+
}
|
135 |
+
return true;
|
136 |
+
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* Checks if an order ID is a valid order.
|
140 |
+
*
|
141 |
+
* @param int $order_id
|
142 |
+
* @return bool
|
143 |
+
* @since 1.6.4
|
144 |
+
*/
|
145 |
+
public function is_valid_order_id( $order_id ) {
|
146 |
+
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
147 |
+
$order = get_post( $order_id );
|
148 |
+
if ( empty( $order->post_type ) || $this->post_type !== $order->post_type ) {
|
149 |
+
return false;
|
150 |
+
}
|
151 |
+
} else {
|
152 |
+
$order = wc_get_order( $order_id );
|
153 |
+
// in 3.0 the order factor will return false if the order class
|
154 |
+
// throws an exception or the class doesn't exist.
|
155 |
+
if ( false === $order ) {
|
156 |
+
return false;
|
157 |
+
}
|
158 |
+
}
|
159 |
+
return true;
|
160 |
+
}
|
161 |
+
|
162 |
+
/**
|
163 |
+
* Get shipment-trackings from an order.
|
164 |
+
*
|
165 |
+
* @param WP_REST_Request $request
|
166 |
+
* @return array
|
167 |
+
*/
|
168 |
+
public function get_items( $request ) {
|
169 |
+
$order_id = (int) $request['order_id'];
|
170 |
+
if ( ! $this->is_valid_order_id( $order_id ) ) {
|
171 |
+
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-shipment-tracking' ), array( 'status' => 404 ) );
|
172 |
+
}
|
173 |
+
|
174 |
+
$st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
175 |
+
$tracking_items = $st->get_tracking_items( $order_id, true );
|
176 |
+
|
177 |
+
$data = array();
|
178 |
+
foreach ( $tracking_items as $tracking_item ) {
|
179 |
+
$tracking_item['order_id'] = $order_id;
|
180 |
+
|
181 |
+
$tracking_item = $this->prepare_item_for_response( $tracking_item, $request );
|
182 |
+
$tracking_item = $this->prepare_response_for_collection( $tracking_item );
|
183 |
+
$data[] = $tracking_item;
|
184 |
+
}
|
185 |
+
|
186 |
+
return rest_ensure_response( $data );
|
187 |
+
}
|
188 |
+
|
189 |
+
/**
|
190 |
+
* Get shipment-tracking providers.
|
191 |
+
*
|
192 |
+
* @param WP_REST_Request $request
|
193 |
+
* @return array
|
194 |
+
*/
|
195 |
+
public function get_providers( $request ) {
|
196 |
+
$st = WC_Shipment_Tracking_Actions::get_instance();
|
197 |
+
return rest_ensure_response( $st->get_providers() );
|
198 |
+
}
|
199 |
+
|
200 |
+
/**
|
201 |
+
* Create a single order shipment-tracking.
|
202 |
+
*
|
203 |
+
* @param WP_REST_Request $request Full details about the request.
|
204 |
+
*
|
205 |
+
* @return WP_Error|WP_REST_Response
|
206 |
+
*/
|
207 |
+
public function create_item( $request ) {
|
208 |
+
if ( ! empty( $request['tracking_id'] ) ) {
|
209 |
+
return new WP_Error( 'woocommerce_rest_shop_order_shipment_tracking_exists', __( 'Cannot create existing order shipment tracking.', 'woocommerce-shipment-tracking' ), array( 'status' => 400 ) );
|
210 |
+
}
|
211 |
+
|
212 |
+
$order_id = (int) $request['order_id'];
|
213 |
+
if ( ! $this->is_valid_order_id( $order_id ) ) {
|
214 |
+
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-shipment-tracking' ), array( 'status' => 404 ) );
|
215 |
+
}
|
216 |
+
|
217 |
+
$args = array(
|
218 |
+
'tracking_provider' => wc_clean( sanitize_title( $request['tracking_provider'] ) ),
|
219 |
+
'custom_tracking_provider' => wc_clean( $request['custom_tracking_provider'] ),
|
220 |
+
'custom_tracking_link' => wc_clean( $request['custom_tracking_link'] ),
|
221 |
+
'tracking_number' => wc_clean( $request['tracking_number'] ),
|
222 |
+
'date_shipped' => wc_clean( $request['date_shipped'] ),
|
223 |
+
);
|
224 |
+
|
225 |
+
$st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
226 |
+
$tracking_item = $st->add_tracking_item( $order_id, $args );
|
227 |
+
$tracking_item['order_id'] = $order_id;
|
228 |
+
$formatted = $st->get_formatted_tracking_item( $order_id, $tracking_item );
|
229 |
+
$tracking_item = array_merge( $tracking_item, $formatted );
|
230 |
+
|
231 |
+
$request->set_param( 'context', 'edit' );
|
232 |
+
|
233 |
+
$response = $this->prepare_item_for_response( $tracking_item, $request );
|
234 |
+
$response = rest_ensure_response( $response );
|
235 |
+
|
236 |
+
$response->set_status( 201 );
|
237 |
+
$response->header( 'Location', rest_url( sprintf( '/%s/%s/%d', $this->namespace, str_replace( '(?P<order_id>[\d]+)', $order_id, $this->rest_base ), $tracking_item['tracking_id'] ) ) );
|
238 |
+
|
239 |
+
return $response;
|
240 |
+
}
|
241 |
+
|
242 |
+
/**
|
243 |
+
* Get a single order shipment-tracking.
|
244 |
+
*
|
245 |
+
* @param WP_REST_Request $request Full details about the request.
|
246 |
+
* @return WP_Error|WP_REST_Response
|
247 |
+
*/
|
248 |
+
public function get_item( $request ) {
|
249 |
+
$tracking_id = $request['id'];
|
250 |
+
|
251 |
+
$order_id = (int) $request['order_id'];
|
252 |
+
if ( ! $this->is_valid_order_id( $order_id ) ) {
|
253 |
+
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
254 |
+
}
|
255 |
+
|
256 |
+
$st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
257 |
+
$tracking_item = $st->get_tracking_item( $order_id, $tracking_id, true );
|
258 |
+
|
259 |
+
if ( ! $tracking_item ) {
|
260 |
+
return new WP_Error( 'woocommerce_rest_order_shipment_tracking_invalid_id', __( 'Invalid shipment tracking ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
261 |
+
}
|
262 |
+
|
263 |
+
$tracking_item['order_id'] = $order_id;
|
264 |
+
$tracking_item = $this->prepare_item_for_response( $tracking_item, $request );
|
265 |
+
$response = rest_ensure_response( $tracking_item );
|
266 |
+
|
267 |
+
return $response;
|
268 |
+
}
|
269 |
+
|
270 |
+
/**
|
271 |
+
* Delete a single order shipment-tracking.
|
272 |
+
*
|
273 |
+
* @param WP_REST_Request $request Full details about the request.
|
274 |
+
* @return WP_REST_Response|WP_Error
|
275 |
+
*/
|
276 |
+
public function delete_item( $request ) {
|
277 |
+
$tracking_id = $request['id'];
|
278 |
+
|
279 |
+
$order_id = (int) $request['order_id'];
|
280 |
+
if ( ! $this->is_valid_order_id( $order_id ) ) {
|
281 |
+
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
282 |
+
}
|
283 |
+
|
284 |
+
$st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
285 |
+
$tracking_item = $st->get_tracking_item( $order_id, $tracking_id, true );
|
286 |
+
|
287 |
+
if ( ! $tracking_item ) {
|
288 |
+
return new WP_Error( 'woocommerce_rest_order_shipment_tracking_invalid_id', __( 'Invalid shipment tracking ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
289 |
+
}
|
290 |
+
|
291 |
+
$tracking_item['order_id'] = $order_id;
|
292 |
+
$tracking_item = $this->prepare_item_for_response( $tracking_item, $request );
|
293 |
+
$response = rest_ensure_response( $tracking_item );
|
294 |
+
|
295 |
+
$result = $st->delete_tracking_item( $order_id, $tracking_id );
|
296 |
+
if ( ! $result ) {
|
297 |
+
return new WP_Error( 'woocommerce_rest_cannot_delete_order_shipment_tracking', __( 'The shipment tracking cannot be deleted.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 500 ) );
|
298 |
+
}
|
299 |
+
|
300 |
+
return $response;
|
301 |
+
}
|
302 |
+
|
303 |
+
/**
|
304 |
+
* Prepare a single order shipment-note output for response.
|
305 |
+
*
|
306 |
+
* @param array $tracking_item Shipment tracking item
|
307 |
+
* @param WP_REST_Request $request Request object
|
308 |
+
*
|
309 |
+
* @return WP_REST_Response $response Response data
|
310 |
+
*/
|
311 |
+
public function prepare_item_for_response( $tracking_item, $request ) {
|
312 |
+
$data = array(
|
313 |
+
'tracking_id' => $tracking_item['tracking_id'],
|
314 |
+
'tracking_provider' => $tracking_item['formatted_tracking_provider'],
|
315 |
+
'tracking_link' => $tracking_item['formatted_tracking_link'],
|
316 |
+
'tracking_number' => $tracking_item['tracking_number'],
|
317 |
+
'date_shipped' => date( 'Y-m-d', $tracking_item['date_shipped'] ),
|
318 |
+
);
|
319 |
+
|
320 |
+
$order_id = $tracking_item['order_id'];
|
321 |
+
|
322 |
+
$context = ! empty( $request['context'] ) ? $request['context'] : 'view';
|
323 |
+
$data = $this->add_additional_fields_to_object( $data, $request );
|
324 |
+
$data = $this->filter_response_by_context( $data, $context );
|
325 |
+
|
326 |
+
// Wrap the data in a response object.
|
327 |
+
$response = rest_ensure_response( $data );
|
328 |
+
|
329 |
+
$response->add_links( $this->prepare_links( $order_id, $tracking_item ) );
|
330 |
+
|
331 |
+
/**
|
332 |
+
* Filter order shipment-tracking object returned from the REST API.
|
333 |
+
*
|
334 |
+
* @param WP_REST_Response $response The response object.
|
335 |
+
* @param array $tracking_item Order tracking item used to create response.
|
336 |
+
* @param WP_REST_Request $request Request object.
|
337 |
+
*/
|
338 |
+
return apply_filters( 'woocommerce_rest_prepare_order_shipment_tracking', $response, $tracking_item, $request );
|
339 |
+
}
|
340 |
+
|
341 |
+
/**
|
342 |
+
* Prepare links for the request.
|
343 |
+
*
|
344 |
+
* @param int $order_id Order ID
|
345 |
+
* @param array $shipment_tracking Shipment tracking item
|
346 |
+
*
|
347 |
+
* @return array Links for the given order shipment-tracking.
|
348 |
+
*/
|
349 |
+
protected function prepare_links( $order_id, $tracking_item ) {
|
350 |
+
$order_id = (int) $order_id;
|
351 |
+
$base = str_replace( '(?P<order_id>[\d]+)', $order_id, $this->rest_base );
|
352 |
+
$links = array(
|
353 |
+
'self' => array(
|
354 |
+
'href' => rest_url( sprintf( '/%s/%s/%s', $this->namespace, $base, $tracking_item['tracking_id'] ) ),
|
355 |
+
),
|
356 |
+
'collection' => array(
|
357 |
+
'href' => rest_url( sprintf( '/%s/%s', $this->namespace, $base ) ),
|
358 |
+
),
|
359 |
+
'up' => array(
|
360 |
+
'href' => rest_url( sprintf( '/%s/orders/%d', $this->namespace, $order_id ) ),
|
361 |
+
),
|
362 |
+
);
|
363 |
+
return $links;
|
364 |
+
}
|
365 |
+
|
366 |
+
/**
|
367 |
+
* Get the Order Notes schema, conforming to JSON Schema.
|
368 |
+
*
|
369 |
+
* @return array
|
370 |
+
*/
|
371 |
+
public function get_item_schema() {
|
372 |
+
$schema = array(
|
373 |
+
'$schema' => 'http://json-schema.org/draft-04/schema#',
|
374 |
+
'title' => 'tax',
|
375 |
+
'type' => 'shipment_tracking',
|
376 |
+
'properties' => array(
|
377 |
+
'tracking_id' => array(
|
378 |
+
'description' => __( 'Unique identifier for shipment tracking.', 'woocommerce-shipment-tracking' ),
|
379 |
+
'type' => 'string',
|
380 |
+
'context' => array( 'view', 'edit' ),
|
381 |
+
'readonly' => true,
|
382 |
+
),
|
383 |
+
'tracking_provider' => array(
|
384 |
+
'description' => __( 'Tracking provider name.', 'woocommerce-shipment-tracking' ),
|
385 |
+
'type' => 'string',
|
386 |
+
'context' => array( 'view', 'edit' ),
|
387 |
+
'readonly' => false,
|
388 |
+
),
|
389 |
+
'custom_tracking_provider' => array(
|
390 |
+
'description' => __( 'Custom tracking provider name.', 'woocommerce-shipment-tracking' ),
|
391 |
+
'type' => 'string',
|
392 |
+
'context' => array( 'edit' ),
|
393 |
+
'readonly' => false,
|
394 |
+
),
|
395 |
+
'custom_tracking_link' => array(
|
396 |
+
'description' => __( 'Custom tracking provider link.', 'woocommerce-shipment-tracking' ),
|
397 |
+
'type' => 'url',
|
398 |
+
'context' => array( 'edit' ),
|
399 |
+
'readonly' => false,
|
400 |
+
),
|
401 |
+
'tracking_number' => array(
|
402 |
+
'description' => __( 'Tracking number.', 'woocommerce-shipment-tracking' ),
|
403 |
+
'type' => 'string',
|
404 |
+
'context' => array( 'view', 'edit' ),
|
405 |
+
'readonly' => false,
|
406 |
+
),
|
407 |
+
'date_shipped' => array(
|
408 |
+
'description' => __( 'Date when package was shipped.', 'woocommerce-shipment-tracking' ),
|
409 |
+
'type' => 'date',
|
410 |
+
'context' => array( 'view', 'edit' ),
|
411 |
+
'readonly' => false,
|
412 |
+
),
|
413 |
+
),
|
414 |
+
);
|
415 |
+
return $this->add_additional_fields_schema( $schema );
|
416 |
+
}
|
417 |
+
|
418 |
+
/**
|
419 |
+
* Get the query params for collections.
|
420 |
+
*
|
421 |
+
* @return array
|
422 |
+
*/
|
423 |
+
public function get_collection_params() {
|
424 |
+
return array(
|
425 |
+
'context' => $this->get_context_param( array( 'default' => 'view' ) ),
|
426 |
+
);
|
427 |
+
}
|
428 |
+
}
|
includes/class-wc-advanced-shipment-tracking-admin.php
ADDED
@@ -0,0 +1,1269 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
class WC_Advanced_Shipment_Tracking_Admin {
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Initialize the main plugin function
|
10 |
+
*/
|
11 |
+
public function __construct() {
|
12 |
+
global $wpdb;
|
13 |
+
$this->table = $wpdb->prefix."woo_shippment_provider";
|
14 |
+
}
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Instance of this class.
|
18 |
+
*
|
19 |
+
* @var object Class Instance
|
20 |
+
*/
|
21 |
+
private static $instance;
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Get the class instance
|
25 |
+
*
|
26 |
+
* @return WC_Advanced_Shipment_Tracking_Admin
|
27 |
+
*/
|
28 |
+
public static function get_instance() {
|
29 |
+
|
30 |
+
if ( null === self::$instance ) {
|
31 |
+
self::$instance = new self;
|
32 |
+
}
|
33 |
+
|
34 |
+
return self::$instance;
|
35 |
+
}
|
36 |
+
|
37 |
+
/*
|
38 |
+
* init from parent mail class
|
39 |
+
*/
|
40 |
+
public function init(){
|
41 |
+
//database check
|
42 |
+
add_action( 'init', array( $this, 'database_table_check') );
|
43 |
+
|
44 |
+
//rename order status + rename bulk action + rename filter
|
45 |
+
add_filter( 'wc_order_statuses', array( $this, 'wc_renaming_order_status') );
|
46 |
+
add_filter( 'woocommerce_register_shop_order_post_statuses', array( $this, 'filter_woocommerce_register_shop_order_post_statuses'), 10, 1 );
|
47 |
+
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'modify_bulk_actions'), 50, 1 );
|
48 |
+
|
49 |
+
//new order status
|
50 |
+
$newstatus = get_option( "wc_ast_status_delivered", 0);
|
51 |
+
if( $newstatus == true ){
|
52 |
+
//register order status
|
53 |
+
add_action( 'init', array( $this, 'register_order_status') );
|
54 |
+
//add status after completed
|
55 |
+
add_filter( 'wc_order_statuses', array( $this, 'add_delivered_to_order_statuses') );
|
56 |
+
//Custom Statuses in admin reports
|
57 |
+
add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_custom_order_status_to_reports'), 20, 1 );
|
58 |
+
// for automate woo to check order is paid
|
59 |
+
add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'delivered_woocommerce_order_is_paid_statuses' ) );
|
60 |
+
//add bulk action
|
61 |
+
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions'), 50, 1 );
|
62 |
+
}
|
63 |
+
|
64 |
+
//cron_schedules
|
65 |
+
add_filter( 'cron_schedules', array( $this, 'add_cron_interval') );
|
66 |
+
//cron hook
|
67 |
+
//add_action( WC_Advanced_Shipment_Tracking_Cron::CRON_HOOK, array( $this, 'wc_ast_cron_callback' ) );
|
68 |
+
|
69 |
+
//filter in shipped orders
|
70 |
+
add_filter( 'is_order_shipped', array( $this, "check_tracking_exist" ),10,2);
|
71 |
+
add_filter( 'is_order_shipped', array( $this, "dhl_filter" ),10,2);
|
72 |
+
|
73 |
+
//batch process cron hook
|
74 |
+
//add_action( 'wc_ast_batch_process', array( $this, 'wc_ast_batch_process_callback' ) );
|
75 |
+
|
76 |
+
$api_enabled = get_option( "wc_ast_api_enabled", 0);
|
77 |
+
if( $api_enabled == true ){
|
78 |
+
//add column after tracking
|
79 |
+
add_filter( 'manage_edit-shop_order_columns', array( $this, 'wc_add_order_shipment_status_column_header'), 20 );
|
80 |
+
//snapcx_column content in order page
|
81 |
+
add_action( 'manage_shop_order_posts_custom_column', array( $this, 'wc_add_order_shipment_status_column_content') );
|
82 |
+
}
|
83 |
+
|
84 |
+
//temparary ajax action=wcast_test1
|
85 |
+
//add_action( 'wp_ajax_wcast_test1', array( $this, 'wc_ast_cron_callback' ) );
|
86 |
+
//temparary ajax action=wcast_test2
|
87 |
+
//add_action( 'wp_ajax_wcast_test2', array( $this, 'wc_ast_batch_process_callback' ) );
|
88 |
+
|
89 |
+
add_action( 'wp_ajax_nopriv_update_sort_order', array( $this, 'update_sort_order_fun') );
|
90 |
+
add_action( 'wp_ajax_update_sort_order', array( $this, 'update_sort_order_fun') );
|
91 |
+
|
92 |
+
add_action( 'wp_ajax_nopriv_update_shipment_status', array( $this, 'update_shipment_status_fun') );
|
93 |
+
add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
|
94 |
+
|
95 |
+
add_action( 'wp_ajax_nopriv_add_custom_shipment_provider', array( $this, 'add_custom_shipment_provider_fun') );
|
96 |
+
add_action( 'wp_ajax_add_custom_shipment_provider', array( $this, 'add_custom_shipment_provider_fun') );
|
97 |
+
|
98 |
+
add_action( 'wp_ajax_nopriv_update_shipping_provider', array( $this, 'update_shipping_provider_fun') );
|
99 |
+
add_action( 'wp_ajax_update_shipping_provider', array( $this, 'update_shipping_provider_fun') );
|
100 |
+
|
101 |
+
add_action( 'wp_ajax_nopriv_update_shipping_provider_dropdown', array( $this, 'update_shipping_provider_dropdown_fun') );
|
102 |
+
add_action( 'wp_ajax_update_shipping_provider_dropdown', array( $this, 'update_shipping_provider_dropdown_fun') );
|
103 |
+
|
104 |
+
add_action( 'wp_ajax_nopriv_update_default_provider', array( $this, 'update_default_provider_fun') );
|
105 |
+
add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
|
106 |
+
|
107 |
+
add_action( 'admin_footer', array( $this, 'footer_function') );
|
108 |
+
}
|
109 |
+
|
110 |
+
/*
|
111 |
+
* database table check
|
112 |
+
*/
|
113 |
+
function database_table_check(){
|
114 |
+
global $wpdb;
|
115 |
+
$table_name = $wpdb->prefix.'shipment_batch_process';
|
116 |
+
$charset_collate = $wpdb->get_charset_collate();
|
117 |
+
|
118 |
+
$sql = "CREATE TABLE `{$table_name}` (
|
119 |
+
id int NOT NULL AUTO_INCREMENT,
|
120 |
+
order_id text NULL,
|
121 |
+
PRIMARY KEY (id)
|
122 |
+
) $charset_collate;";
|
123 |
+
|
124 |
+
if ( !function_exists( 'maybe_create_table' ) ) {
|
125 |
+
require_once ABSPATH . '/wp-admin/includes/upgrade.php';
|
126 |
+
}
|
127 |
+
maybe_create_table( $table_name, $sql );
|
128 |
+
}
|
129 |
+
|
130 |
+
/*
|
131 |
+
* Rename WooCommerce Order Status
|
132 |
+
*/
|
133 |
+
function wc_renaming_order_status( $order_statuses ) {
|
134 |
+
|
135 |
+
$enable = get_option( "wc_ast_status_shipped", 0);
|
136 |
+
if( $enable == false )return $order_statuses;
|
137 |
+
|
138 |
+
foreach ( $order_statuses as $key => $status ) {
|
139 |
+
$new_order_statuses[ $key ] = $status;
|
140 |
+
if ( 'wc-completed' === $key ) {
|
141 |
+
$order_statuses['wc-completed'] = esc_html__( 'Shipped', 'Order status', 'woo-advanced-shippment-tracking' );
|
142 |
+
}
|
143 |
+
}
|
144 |
+
return $order_statuses;
|
145 |
+
}
|
146 |
+
|
147 |
+
/*
|
148 |
+
* define the woocommerce_register_shop_order_post_statuses callback
|
149 |
+
* rename filter
|
150 |
+
* rename from completed to shipped
|
151 |
+
*/
|
152 |
+
function filter_woocommerce_register_shop_order_post_statuses( $array ) {
|
153 |
+
|
154 |
+
$enable = get_option( "wc_ast_status_shipped", 0);
|
155 |
+
if( $enable == false )return $array;
|
156 |
+
|
157 |
+
if( isset( $array[ 'wc-completed' ] ) ){
|
158 |
+
$array[ 'wc-completed' ]['label_count'] = _n_noop( 'Shipped <span class="count">(%s)</span>', 'Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' );
|
159 |
+
}
|
160 |
+
return $array;
|
161 |
+
}
|
162 |
+
|
163 |
+
/*
|
164 |
+
* rename bulk action
|
165 |
+
*/
|
166 |
+
function modify_bulk_actions($bulk_actions) {
|
167 |
+
|
168 |
+
$enable = get_option( "wc_ast_status_shipped", 0);
|
169 |
+
if( $enable == false )return $bulk_actions;
|
170 |
+
|
171 |
+
if( isset( $bulk_actions['mark_completed'] ) ){
|
172 |
+
$bulk_actions['mark_completed'] = 'Change status to shipped';
|
173 |
+
}
|
174 |
+
return $bulk_actions;
|
175 |
+
}
|
176 |
+
|
177 |
+
/**
|
178 |
+
* Register new status : Delivered
|
179 |
+
* https://www.zorem.com/how-to-create-custom-order-status-in-woocommerce/
|
180 |
+
**/
|
181 |
+
function register_order_status() {
|
182 |
+
register_post_status( 'wc-delivered', array(
|
183 |
+
'label' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
|
184 |
+
'public' => true,
|
185 |
+
'show_in_admin_status_list' => true,
|
186 |
+
'show_in_admin_all_list' => true,
|
187 |
+
'exclude_from_search' => false,
|
188 |
+
'label_count' => _n_noop( 'Delivered <span class="count">(%s)</span>', 'Delivered <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
|
189 |
+
) );
|
190 |
+
}
|
191 |
+
|
192 |
+
/*
|
193 |
+
* add status after completed
|
194 |
+
*/
|
195 |
+
function add_delivered_to_order_statuses( $order_statuses ) {
|
196 |
+
$new_order_statuses = array();
|
197 |
+
foreach ( $order_statuses as $key => $status ) {
|
198 |
+
$new_order_statuses[ $key ] = $status;
|
199 |
+
if ( 'wc-completed' === $key ) {
|
200 |
+
$new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
|
201 |
+
}
|
202 |
+
}
|
203 |
+
return $new_order_statuses;
|
204 |
+
}
|
205 |
+
|
206 |
+
/*
|
207 |
+
* Adding the custom order status to the default woocommerce order statuses
|
208 |
+
*/
|
209 |
+
function include_custom_order_status_to_reports( $statuses ){
|
210 |
+
$statuses[] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
|
211 |
+
return $statuses;
|
212 |
+
}
|
213 |
+
|
214 |
+
/*
|
215 |
+
* mark status as a paid.
|
216 |
+
*/
|
217 |
+
function delivered_woocommerce_order_is_paid_statuses( $statuses ) {
|
218 |
+
$statuses[] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
|
219 |
+
return $statuses;
|
220 |
+
}
|
221 |
+
|
222 |
+
/*
|
223 |
+
* add bulk action
|
224 |
+
* Change order status to delivered
|
225 |
+
*/
|
226 |
+
function add_bulk_actions( $bulk_actions ){
|
227 |
+
$bulk_actions['mark_delivered'] = 'Change status to delivered';
|
228 |
+
return $bulk_actions;
|
229 |
+
}
|
230 |
+
|
231 |
+
/*
|
232 |
+
* add_cron_interval
|
233 |
+
*/
|
234 |
+
function add_cron_interval( $schedules ){
|
235 |
+
$schedules['wc_ast_1hr'] = array(
|
236 |
+
'interval' => 60*60,//1 hour
|
237 |
+
'display' => esc_html__( 'Every one hour' ),
|
238 |
+
);
|
239 |
+
$schedules['wc_ast_6hr'] = array(
|
240 |
+
'interval' => 60*60*6,//6 hour
|
241 |
+
'display' => esc_html__( 'Every six hour' ),
|
242 |
+
);
|
243 |
+
$schedules['wc_ast_12hr'] = array(
|
244 |
+
'interval' => 60*60*12,//6 hour
|
245 |
+
'display' => esc_html__( 'Every twelve hour' ),
|
246 |
+
);
|
247 |
+
$schedules['wc_ast_1day'] = array(
|
248 |
+
'interval' => 60*60*24*1,//1 days
|
249 |
+
'display' => esc_html__( 'Every one day' ),
|
250 |
+
);
|
251 |
+
$schedules['wc_ast_2day'] = array(
|
252 |
+
'interval' => 60*60*24*2,//2 days
|
253 |
+
'display' => esc_html__( 'Every two day' ),
|
254 |
+
);
|
255 |
+
$schedules['wc_ast_7day'] = array(
|
256 |
+
'interval' => 60*60*24*7,//7 days
|
257 |
+
'display' => esc_html__( 'Every Seven day' ),
|
258 |
+
);
|
259 |
+
|
260 |
+
//every 5 sec for batch proccessing
|
261 |
+
$schedules['wc_ast_2min'] = array(
|
262 |
+
'interval' => 2*60,//1 hour
|
263 |
+
'display' => esc_html__( 'Every two min' ),
|
264 |
+
);
|
265 |
+
return $schedules;
|
266 |
+
}
|
267 |
+
|
268 |
+
/*
|
269 |
+
* get shipped orders
|
270 |
+
*/
|
271 |
+
function get_shipped_orders() {
|
272 |
+
$range = get_option('wc_ast_api_date_range', 30 );
|
273 |
+
$args = array(
|
274 |
+
'status' => 'wc-completed',
|
275 |
+
'limit' => -1,
|
276 |
+
);
|
277 |
+
if( $range != 0 ){
|
278 |
+
$start = strtotime( date( 'Y-m-d 00:00:00', strtotime( '-'.$range.' days' ) ));
|
279 |
+
$end = strtotime( date( 'Y-m-d 23:59:59', strtotime( '-1 days' ) ));
|
280 |
+
$args['date_completed'] = $start.'...'.$end;
|
281 |
+
}
|
282 |
+
//$orders = wc_get_orders( $args );print_r($orders);exit;
|
283 |
+
return $orders = wc_get_orders( $args );
|
284 |
+
}
|
285 |
+
|
286 |
+
/*
|
287 |
+
* cron callback
|
288 |
+
*/
|
289 |
+
function wc_ast_cron_callback(){
|
290 |
+
|
291 |
+
//get shipped orders
|
292 |
+
$orders = $this->get_shipped_orders();
|
293 |
+
|
294 |
+
foreach( $orders as $order ){
|
295 |
+
$order_shipped = apply_filters( 'is_order_shipped', true, $order );
|
296 |
+
|
297 |
+
if( $order_shipped ){
|
298 |
+
$this->add_in_batch_process( $order->get_id() );
|
299 |
+
}
|
300 |
+
}
|
301 |
+
|
302 |
+
if ( ! wp_next_scheduled( 'wc_ast_batch_process' ) ) {
|
303 |
+
wp_schedule_event( time(), 'wc_ast_2min', 'wc_ast_batch_process' );
|
304 |
+
}
|
305 |
+
}
|
306 |
+
|
307 |
+
/*
|
308 |
+
* tracking number filter
|
309 |
+
* if number not found. return false
|
310 |
+
* if number found. return true
|
311 |
+
*/
|
312 |
+
function check_tracking_exist( $value, $order ){
|
313 |
+
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
314 |
+
if( $tracking_items ){
|
315 |
+
return true;
|
316 |
+
} else {
|
317 |
+
return false;
|
318 |
+
}
|
319 |
+
return $value;
|
320 |
+
}
|
321 |
+
|
322 |
+
/*
|
323 |
+
* DHL tracking number filter
|
324 |
+
* if only DHL. return false
|
325 |
+
* if else. return true
|
326 |
+
*/
|
327 |
+
function dhl_filter( $value, $order ){
|
328 |
+
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
329 |
+
if( $tracking_items ){
|
330 |
+
foreach( ( array )$tracking_items as $key => $val ){
|
331 |
+
$tracking_number = trim($val['tracking_number']);
|
332 |
+
$tracking_provider = $val['tracking_provider'];
|
333 |
+
|
334 |
+
if (strpos($tracking_provider, 'dhl') !== false) {
|
335 |
+
$snapcx = get_post_meta( $order->get_id(), "snapcx", true);
|
336 |
+
$snapcx[$key]['status'] = "DHL tracking skipped.";
|
337 |
+
update_post_meta( $order->get_id(), "snapcx", $snapcx);
|
338 |
+
} else {
|
339 |
+
return true;
|
340 |
+
}
|
341 |
+
}
|
342 |
+
return false;
|
343 |
+
} else {
|
344 |
+
return false;
|
345 |
+
}
|
346 |
+
return $value;
|
347 |
+
}
|
348 |
+
|
349 |
+
/*
|
350 |
+
* add in batch process
|
351 |
+
*/
|
352 |
+
function add_in_batch_process( $order_id ){
|
353 |
+
global $wpdb;
|
354 |
+
$table_name = $wpdb->prefix.'shipment_batch_process';
|
355 |
+
$data = array(
|
356 |
+
'order_id' => $order_id
|
357 |
+
);
|
358 |
+
$wpdb->insert( $table_name, $data );
|
359 |
+
return $wpdb->insert_id;
|
360 |
+
}
|
361 |
+
|
362 |
+
/*
|
363 |
+
* remove from batch process
|
364 |
+
*/
|
365 |
+
function remove_from_batch_process( $batch_process_id ){
|
366 |
+
global $wpdb;
|
367 |
+
$table_name = $wpdb->prefix.'shipment_batch_process';
|
368 |
+
$wpdb->delete( $table_name, array( 'id' => $batch_process_id ) );
|
369 |
+
}
|
370 |
+
|
371 |
+
/*
|
372 |
+
* batch process cron func
|
373 |
+
* this will run when data in table "shipment_batch_process"
|
374 |
+
* if no data cron clear
|
375 |
+
*/
|
376 |
+
function wc_ast_batch_process_callback(){
|
377 |
+
error_reporting(E_ALL); ini_set('display_errors', 1);
|
378 |
+
global $wpdb;
|
379 |
+
$table_name = $wpdb->prefix.'shipment_batch_process';
|
380 |
+
$result = $wpdb->get_results( "SELECT * FROM `{$table_name}` LIMIT 30", ARRAY_A );
|
381 |
+
$result = $wpdb->get_results( "SELECT * FROM `{$table_name}` LIMIT 2", ARRAY_A );
|
382 |
+
|
383 |
+
foreach( (array)$result as $row ){
|
384 |
+
$order_id = $row['order_id'];
|
385 |
+
$array = $this->shipment_api_call( $order_id );
|
386 |
+
$this->remove_from_batch_process( $row['id'] );
|
387 |
+
}
|
388 |
+
|
389 |
+
if( count($result) == 0 ){
|
390 |
+
wp_clear_scheduled_hook( 'wc_ast_batch_process' );
|
391 |
+
}
|
392 |
+
}
|
393 |
+
|
394 |
+
/*
|
395 |
+
* shipment api call
|
396 |
+
*/
|
397 |
+
function shipment_api_call( $order_id ){
|
398 |
+
$array = array();
|
399 |
+
|
400 |
+
$api = new WC_Advanced_Shipment_Tracking_Api_Call;
|
401 |
+
$service_provider = $this->get_service_provider();
|
402 |
+
|
403 |
+
if( $service_provider == 'snapcx' ){
|
404 |
+
$array = $api->get_snapcx_apicall( $order_id );
|
405 |
+
} elseif( $service_provider == 'aftership' ){
|
406 |
+
$array = $api->get_aftership_apicall( $order_id );
|
407 |
+
}
|
408 |
+
return $array;
|
409 |
+
}
|
410 |
+
|
411 |
+
/*
|
412 |
+
* get selected service provider
|
413 |
+
* return ex snapcx
|
414 |
+
*/
|
415 |
+
public function get_service_provider() {
|
416 |
+
if ( empty( $this->service_provider ) ) {
|
417 |
+
$this->service_provider = get_option("wc_ast_api_provider");
|
418 |
+
}
|
419 |
+
return $this->service_provider;
|
420 |
+
}
|
421 |
+
|
422 |
+
/**
|
423 |
+
* Adds 'shipment_status' column header to 'Orders' page immediately after 'woocommerce-advanced-shipment-tracking' column.
|
424 |
+
*
|
425 |
+
* @param string[] $columns
|
426 |
+
* @return string[] $new_columns
|
427 |
+
*/
|
428 |
+
function wc_add_order_shipment_status_column_header( $columns ) {
|
429 |
+
|
430 |
+
$new_columns = array();
|
431 |
+
|
432 |
+
foreach ( $columns as $column_name => $column_info ) {
|
433 |
+
|
434 |
+
$new_columns[ $column_name ] = $column_info;
|
435 |
+
|
436 |
+
if ( 'woocommerce-advanced-shipment-tracking' === $column_name ) {
|
437 |
+
$new_columns['shipment_status'] = __( 'Shipment status', 'my-textdomain' );
|
438 |
+
}
|
439 |
+
}
|
440 |
+
return $new_columns;
|
441 |
+
}
|
442 |
+
|
443 |
+
/**
|
444 |
+
* Adds 'shipment_status' column content to 'Orders' page.
|
445 |
+
*
|
446 |
+
* @param string[] $column name of column being displayed
|
447 |
+
*/
|
448 |
+
function wc_add_order_shipment_status_column_content( $column ) {
|
449 |
+
global $post;
|
450 |
+
if ( 'shipment_status' === $column ) {
|
451 |
+
|
452 |
+
$shipment_status = get_post_meta( $post->ID, "shipment_status", true);
|
453 |
+
if( is_array($shipment_status) ){
|
454 |
+
foreach( $shipment_status as $data ){
|
455 |
+
$status = $data["status"];
|
456 |
+
if( $status == 'Delivered' ){
|
457 |
+
echo "<div class=moodo-green-delevred>".$status.'<span class="dashicons dashicons-yes"></span></div>';
|
458 |
+
} else {
|
459 |
+
echo "<div>".$status."</div>";
|
460 |
+
}
|
461 |
+
$date = $data["status_date"];
|
462 |
+
if( $date ){
|
463 |
+
echo "<span class=description>on {$date}</span>";
|
464 |
+
}
|
465 |
+
}
|
466 |
+
|
467 |
+
}
|
468 |
+
}
|
469 |
+
}
|
470 |
+
|
471 |
+
/**
|
472 |
+
* Load admin styles.
|
473 |
+
*/
|
474 |
+
public function admin_styles($hook) {
|
475 |
+
wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
|
476 |
+
wp_enqueue_style( 'material-css', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/material.css', array(), wc_advanced_shipment_tracking()->version );
|
477 |
+
wp_enqueue_script( 'material-js', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/material.min.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
478 |
+
wp_register_script( 'shipment_tracking_table_rows', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/shipping_row.js' , array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version );
|
479 |
+
wp_enqueue_style( 'wp-color-picker' );
|
480 |
+
wp_enqueue_script( 'advanced_shipment_tracking_settings', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
481 |
+
|
482 |
+
|
483 |
+
wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
|
484 |
+
'i18n' => array(
|
485 |
+
'order' => __( 'Order', 'woo-advanced-shipment-tracking' ),
|
486 |
+
'item' => __( 'Item', 'woo-advanced-shipment-tracking' ),
|
487 |
+
'line_item' => __( 'Line Item', 'woo-advanced-shipment-tracking' ),
|
488 |
+
'class' => __( 'Class', 'woo-advanced-shipment-tracking' ),
|
489 |
+
'delete_rates' => __( 'Delete the selected rates?', 'woo-advanced-shipment-tracking' ),
|
490 |
+
'dupe_rates' => __( 'Duplicate the selected rates?', 'woo-advanced-shipment-tracking' ),
|
491 |
+
),
|
492 |
+
'delete_rates_nonce' => wp_create_nonce( "delete-rate" ),
|
493 |
+
) );
|
494 |
+
|
495 |
+
if( 'woocommerce_page_woocommerce-advanced-shipment-tracking' == $hook ) {
|
496 |
+
|
497 |
+
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
498 |
+
|
499 |
+
wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.full' . $suffix . '.js', array( 'jquery' ), '4.0.3' );
|
500 |
+
wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full' . $suffix . '.js', array( 'jquery' ), '1.0.4' );
|
501 |
+
wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select' . $suffix . '.js', array( 'jquery', 'selectWoo' ), WC_VERSION );
|
502 |
+
wp_register_script( 'jquery-blockui', WC()->plugin_url() . '/assets/js/jquery-blockui/jquery.blockUI' . $suffix . '.js', array( 'jquery' ), '2.70', true );
|
503 |
+
wp_enqueue_script( 'select2');
|
504 |
+
wp_enqueue_script( 'selectWoo');
|
505 |
+
wp_enqueue_script( 'wc-enhanced-select');
|
506 |
+
|
507 |
+
wp_register_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array(), WC_VERSION );
|
508 |
+
wp_enqueue_style( 'woocommerce_admin_styles' );
|
509 |
+
|
510 |
+
wp_register_script( 'jquery-tiptip', WC()->plugin_url() . '/assets/js/jquery-tiptip/jquery.tipTip.min.js', array( 'jquery' ), WC_VERSION, true );
|
511 |
+
wp_enqueue_script( 'jquery-tiptip' );
|
512 |
+
wp_enqueue_script( 'jquery-blockui' );
|
513 |
+
|
514 |
+
wp_enqueue_style( 'checkbox-slider', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/checkbox-slider.css' );
|
515 |
+
}
|
516 |
+
}
|
517 |
+
|
518 |
+
/*
|
519 |
+
* Admin Menu add function
|
520 |
+
* WC sub menu
|
521 |
+
*/
|
522 |
+
public function register_woocommerce_menu() {
|
523 |
+
add_submenu_page( 'woocommerce', 'Shipment Tracking', 'Shipment Tracking', 'manage_options', 'woocommerce-advanced-shipment-tracking', array( $this, 'woocommerce_advanced_shipment_tracking_page_callback' ) );
|
524 |
+
}
|
525 |
+
|
526 |
+
/*
|
527 |
+
* callback for Shipment Tracking page
|
528 |
+
*/
|
529 |
+
public function woocommerce_advanced_shipment_tracking_page_callback(){
|
530 |
+
global $order;
|
531 |
+
$WC_Countries = new WC_Countries();
|
532 |
+
$countries = $WC_Countries->get_countries();
|
533 |
+
|
534 |
+
global $wpdb;
|
535 |
+
$woo_shippment_table_name = $this->table;
|
536 |
+
|
537 |
+
|
538 |
+
if( isset( $_POST['update_default_shipping_provider'] ) ){
|
539 |
+
|
540 |
+
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name" );
|
541 |
+
foreach($default_shippment_providers as $dsp){
|
542 |
+
if(in_array($dsp->id, $_POST['select_custom_provider'])){
|
543 |
+
$success = $wpdb->update($woo_shippment_table_name,
|
544 |
+
array(
|
545 |
+
"display_in_order" => 1,
|
546 |
+
),
|
547 |
+
array('id' => $dsp->id)
|
548 |
+
);
|
549 |
+
} else{
|
550 |
+
$success = $wpdb->update($woo_shippment_table_name,
|
551 |
+
array(
|
552 |
+
"display_in_order" => 0,
|
553 |
+
),
|
554 |
+
array('id' => $dsp->id)
|
555 |
+
);
|
556 |
+
}
|
557 |
+
|
558 |
+
}
|
559 |
+
|
560 |
+
}
|
561 |
+
|
562 |
+
if( isset( $_POST['data'] ) ){
|
563 |
+
|
564 |
+
foreach($_POST['data'] as $key => $val ){
|
565 |
+
$data_array = array(
|
566 |
+
'shipping_country' => sanitize_text_field($val['shipping_country']),
|
567 |
+
'provider_name' => sanitize_text_field($val['provider_name']),
|
568 |
+
'provider_url' => sanitize_text_field($val['provider_url']),
|
569 |
+
'sort_order' => sanitize_text_field($val['sort_order']),
|
570 |
+
);
|
571 |
+
$where_array = array(
|
572 |
+
'id' => $key,
|
573 |
+
'shipping_default' => '0'
|
574 |
+
);
|
575 |
+
$wpdb->update( $this->table, $data_array, $where_array );
|
576 |
+
}
|
577 |
+
|
578 |
+
}
|
579 |
+
|
580 |
+
if( isset( $_POST['sorting'] ) ){
|
581 |
+
|
582 |
+
foreach($_POST['sorting'] as $key => $val ){
|
583 |
+
$data_array = array(
|
584 |
+
'sort_order' => sanitize_text_field($val['sort_order']),
|
585 |
+
);
|
586 |
+
$where_array = array(
|
587 |
+
'id' => $key
|
588 |
+
);
|
589 |
+
$result = $wpdb->update( $this->table, $data_array, $where_array );
|
590 |
+
}
|
591 |
+
|
592 |
+
}
|
593 |
+
|
594 |
+
if( isset( $_POST['wc_ast_default_provider'] ) ){
|
595 |
+
update_option("wc_ast_default_provider", $_POST['wc_ast_default_provider'] );
|
596 |
+
}
|
597 |
+
$order = isset( $_GET['order'] ) ? $_GET['order'] : 'ASC';
|
598 |
+
$orderby = isset( $_GET['orderby'] ) ? $_GET['orderby'] : 'sort_order';
|
599 |
+
|
600 |
+
if( $order == 'DESC' ){$inverse_order = 'ASC';$inverse_class = 'asc';}else{$inverse_order = 'DESC';$inverse_class = 'desc';}
|
601 |
+
|
602 |
+
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name ORDER BY `{$orderby}` {$order} " );
|
603 |
+
|
604 |
+
wp_enqueue_script( 'shipment_tracking_table_rows' );
|
605 |
+
?>
|
606 |
+
<h3><?php _e('WooCommerce Advanced Shipment Tracking', 'woo-advanced-shipment-tracking'); ?></h3>
|
607 |
+
<div class="wrap woocommerce zorem_admin_layout">
|
608 |
+
<div class="zorem_admin_content" >
|
609 |
+
|
610 |
+
<input id="tab1" type="radio" name="tabs" class="tab_input" checked >
|
611 |
+
<label for="tab1" class="tab_label"><?php _e('Shipping Provider', 'woo-advanced-shipment-tracking'); ?></label>
|
612 |
+
|
613 |
+
<input id="tab2" type="radio" name="tabs" class="tab_input">
|
614 |
+
<label for="tab2" class="tab_label"><?php _e('Settings', 'woo-advanced-shipment-tracking'); ?></label>
|
615 |
+
|
616 |
+
<?php /*?><input id="tab3" type="radio" name="tabs" class="tab_input">
|
617 |
+
<label for="tab3" class="tab_label">API integration</label><?php */?>
|
618 |
+
|
619 |
+
<section id="content1" class="tab_section">
|
620 |
+
<div class="tab_inner_container">
|
621 |
+
<h4><?php _e('Select Shiping Provider which you want to use in order.', 'woo-advanced-shipment-tracking'); ?></h4>
|
622 |
+
<div class="marginb20 d_s_select_section">
|
623 |
+
<?php $default_provider = get_option("wc_ast_default_provider" );?>
|
624 |
+
<label><?php _e('Default shipping provider :', 'woo-advanced-shipment-tracking'); ?></label>
|
625 |
+
<select name="wc_ast_default_provider" class="wc_ast_default_provider">
|
626 |
+
<option><?php _e('Please select default provider', 'woo-advanced-shipment-tracking'); ?></option>
|
627 |
+
<?php foreach( $default_shippment_providers as $d_s_p ){?>
|
628 |
+
<?php if($d_s_p->display_in_order != 1)continue;?>
|
629 |
+
<option value="<?php echo sanitize_title( $d_s_p->provider_name )?>" <?php if( $default_provider == sanitize_title( $d_s_p->provider_name ) )echo 'selected';?>><?php echo $d_s_p->provider_name?></option>
|
630 |
+
<?php } ?>
|
631 |
+
</select>
|
632 |
+
</div>
|
633 |
+
<form method="post" action="" id="shipping_provider_form">
|
634 |
+
<table class="widefat fixed shipping_provider_table ui-sortable" cellspacing="0" >
|
635 |
+
<thead>
|
636 |
+
<tr>
|
637 |
+
<th class="manage-column column-shipping-provider <?php echo ( 'provider_name' == $orderby )?'sorted':'sortable'?> <?php echo $inverse_class?>" scope="col">
|
638 |
+
<a href="admin.php?page=woocommerce-advanced-shipment-tracking&orderby=provider_name&order=<?php echo $inverse_order?>" class="">
|
639 |
+
<span><?php _e('Shipping Provider', 'woo-advanced-shipment-tracking'); ?></span>
|
640 |
+
<span class="sorting-indicator"></span>
|
641 |
+
</a>
|
642 |
+
</th>
|
643 |
+
<th class="manage-column column-shipping-country <?php echo ( 'shipping_country' == $orderby )?'sorted':'sortable'?> <?php echo $inverse_class?>" >
|
644 |
+
<a href="admin.php?page=woocommerce-advanced-shipment-tracking&orderby=shipping_country&order=<?php echo $inverse_order?>" class="">
|
645 |
+
<span><?php _e('Shipping Country', 'woo-advanced-shipment-tracking'); ?></span>
|
646 |
+
<span class="sorting-indicator"></span>
|
647 |
+
</a>
|
648 |
+
</th>
|
649 |
+
<th class="manage-column column-status">
|
650 |
+
<span><?php _e('Status', 'woo-advanced-shipment-tracking'); ?></span>
|
651 |
+
<span class="mdl-list__item-secondary-action" style="display: inline-block;">
|
652 |
+
|
653 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="list-switch">
|
654 |
+
<input type="checkbox" name="select_custom_provider[]" id="list-switch" class="mdl-switch__input bulk_status_change" value="" />
|
655 |
+
</label>
|
656 |
+
</span>
|
657 |
+
</th>
|
658 |
+
<th class="manage-column column-tracking-url" ></th>
|
659 |
+
<th class="manage-column column-action" scope="col"></th>
|
660 |
+
</tr>
|
661 |
+
</thead>
|
662 |
+
<tbody>
|
663 |
+
<?php foreach($default_shippment_providers as $d_s_p){ ?>
|
664 |
+
<?php
|
665 |
+
if( $d_s_p->shipping_country == '' && $d_s_p->provider_name == '' && $d_s_p->provider_url == '' ){
|
666 |
+
$wpdb->delete( $this->table, array( 'id' => $d_s_p->id ) );
|
667 |
+
continue;
|
668 |
+
}
|
669 |
+
?>
|
670 |
+
<tr class="provider_tr <?php if($d_s_p->display_in_order != 1) { echo 'status_deactivate'; } ?> <?php if($d_s_p->shipping_default == 0) { echo 'custom_provider_tr'; } ?>">
|
671 |
+
<td class="column-columnname thumb-column">
|
672 |
+
<?php if( $d_s_p->shipping_default == 1 ){ ?>
|
673 |
+
<img class="provider_thumbnail on_edit_hide" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/<?php echo $d_s_p->provider_slug;?>.png">
|
674 |
+
<?php } else{ ?>
|
675 |
+
<img class="provider_thumbnail on_edit_hide" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/icon-default.png">
|
676 |
+
<?php } ?>
|
677 |
+
<span class="provider_name on_edit_hide">
|
678 |
+
<?php
|
679 |
+
echo $d_s_p->provider_name; ?>
|
680 |
+
</span>
|
681 |
+
<?php if( $d_s_p->shipping_default == 0 ){ ?>
|
682 |
+
<input type="text" class="text on_edit_show custom_provider_name" name="data[<?php echo $d_s_p->id?>][provider_name]" value="<?php echo $d_s_p->provider_name;?>" placeholder="<?php _e( 'Shipping Provider', 'woo-advanced-shipment-tracking' ); ?>">
|
683 |
+
<?php } ?>
|
684 |
+
</td>
|
685 |
+
<td class="column-columnname country_select_box">
|
686 |
+
<span class="on_edit_hide">
|
687 |
+
<?php
|
688 |
+
$search = array('(US)', '(UK)');
|
689 |
+
$replace = array('', '');
|
690 |
+
echo str_replace($search, $replace, $WC_Countries->countries[$d_s_p->shipping_country]);
|
691 |
+
?>
|
692 |
+
</span>
|
693 |
+
<?php if( $d_s_p->shipping_default == 0 ){ ?>
|
694 |
+
<select class="on_edit_show custom_provider_country" name="data[<?php echo $d_s_p->id?>][shipping_country]" >
|
695 |
+
<option value="" ><?php _e( 'None', 'woo-advanced-shipment-tracking' ); ?></option>
|
696 |
+
<?php foreach($countries as $key=>$val){ ?>
|
697 |
+
<option value="<?php echo $key; ?>" <?php if ( $key == $d_s_p->shipping_country ) echo 'selected'?>><?php _e( $val, 'woo-advanced-shipment-tracking'); ?></option>
|
698 |
+
<?php } ?>
|
699 |
+
</select>
|
700 |
+
<?php } ?>
|
701 |
+
</td>
|
702 |
+
<td class="column-columnname status-column">
|
703 |
+
<span class="mdl-list__item-secondary-action">
|
704 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="list-switch-<?php echo $d_s_p->id; ?>">
|
705 |
+
<input type="checkbox" name="select_custom_provider[]" id="list-switch-<?php echo $d_s_p->id; ?>" class="mdl-switch__input status_slide" value="<?php echo $d_s_p->id; ?>" <?php if($d_s_p->display_in_order == 1) { echo 'checked'; } ?> />
|
706 |
+
</label>
|
707 |
+
</span>
|
708 |
+
</td>
|
709 |
+
<td class="column-columnname url-column">
|
710 |
+
<a href="<?php echo $d_s_p->provider_url; ?>" title="<?php echo $d_s_p->provider_url; ?>" target="_blank" class="on_edit_hide"><?php _e( 'Tracking Page','woo-advanced-shipment-tracking' ); ?>
|
711 |
+
</a>
|
712 |
+
<?php if( $d_s_p->shipping_default == 0 ){ ?>
|
713 |
+
<input type="text" class="text on_edit_show custom_provider_url" name="data[<?php echo $d_s_p->id?>][provider_url]" value="<?php echo $d_s_p->provider_url;?>" placeholder="<?php _e( 'Shipping URL', 'woo-advanced-shipment-tracking' ); ?>">
|
714 |
+
<?php }?>
|
715 |
+
</td>
|
716 |
+
<td class="column-columnname">
|
717 |
+
<?php if( $d_s_p->shipping_default == 0 ){ ?>
|
718 |
+
<span class="dashicons dashicons-edit edit_provider on_edit_hide" style="display:none"></span>
|
719 |
+
<span class="dashicons dashicons-trash remove on_edit_hide" data-pid="<?php echo $d_s_p->id; ?>" style="display:none"></span>
|
720 |
+
<button class="button button-primary on_edit_show update_provider btn_green" style="display:none;"><?php _e( 'Save', 'woo-advanced-shipment-tracking' ); ?></button>
|
721 |
+
<?php } ?>
|
722 |
+
<span class="dashicons dashicons-editor-justify sort-item ui-sortable-handle on_edit_hide"></span>
|
723 |
+
<input type="hidden" name="provider_id" class="provider_id" value="<?php echo $d_s_p->id?>">
|
724 |
+
<input type="hidden" name="sorting[<?php echo $d_s_p->id?>][sort_order]" class="sort_order" value="<?php echo $d_s_p->sort_order?>">
|
725 |
+
<input type="hidden" name="data[<?php echo $d_s_p->id?>][sort_order]" class="" value="<?php echo $d_s_p->sort_order?>">
|
726 |
+
</td>
|
727 |
+
</tr>
|
728 |
+
<?php } ?>
|
729 |
+
</tbody>
|
730 |
+
<tfoot>
|
731 |
+
<tr>
|
732 |
+
<th colspan="5" ><a href="#" class="add-provider button button-primary btn_green"><?php _e('Add Custom Shipping Provider', 'woo-advanced-shipment-tracking'); ?></a></th>
|
733 |
+
</tr>
|
734 |
+
</tfoot>
|
735 |
+
</table>
|
736 |
+
</form>
|
737 |
+
<script type="text/template" id="tmpl-shipping-provider-row-template">
|
738 |
+
<tr class="provider_tr tr_add">
|
739 |
+
<td class="column-columnname shipping_provider">
|
740 |
+
<input type="text" class="text" value="{{{ data.rate.provider_name }}}" placeholder="<?php _e( 'Shipping Provider', 'woo-advanced-shipment-tracking' ); ?>" name="data[{{{ data.index }}}][provider_name]" />
|
741 |
+
</td>
|
742 |
+
<td class="column-columnname shipping_country">
|
743 |
+
<select class="select wcast_shipping_country" name="data[{{{ data.index }}}][shipping_country]" >
|
744 |
+
<option value="" <# if ( "" === data.rate.rate_condition ) { #>selected="selected"<# } #>><?php _e( 'None', 'woo-advanced-shipment-tracking' ); ?></option>
|
745 |
+
<?php
|
746 |
+
foreach($countries as $key=>$val){ ?>
|
747 |
+
<option value="<?php echo $key; ?>" ><?php _e( $val, 'woo-advanced-shipment-tracking'); ?></option>
|
748 |
+
<?php }
|
749 |
+
?>
|
750 |
+
</select>
|
751 |
+
</td>
|
752 |
+
<td class="column-columnname shipping_url" colspan="2">
|
753 |
+
<input type="text" class="text" name="data[{{{ data.index }}}][provider_url]" value="" placeholder="<?php _e( 'Tracking Page', 'woo-advanced-shipment-tracking' ); ?>">
|
754 |
+
<p><?php _e('You can add tracking number parameter like this - http://shippingprovider.com?tracking_number=%number% , %number% - parameter', 'woo-advanced-shipment-tracking'); ?></p>
|
755 |
+
</td>
|
756 |
+
<td>
|
757 |
+
<input type="hidden" name="data[{{{ data.index }}}][sort_order]" class="sort_order" value="{{{ data.sort_id }}}">
|
758 |
+
<button class="button button-primary add_new btn_green"><?php _e( 'Save', 'woo-advanced-shipment-tracking' ); ?></button>
|
759 |
+
<span class="dashicons dashicons-trash remove" data-pid="{{{ data.index }}}"></span>
|
760 |
+
</td>
|
761 |
+
</tr>
|
762 |
+
</script>
|
763 |
+
</div>
|
764 |
+
</section>
|
765 |
+
<section id="content2" class="tab_section">
|
766 |
+
<div class="tab_inner_container">
|
767 |
+
<form method="post" id="wc_ast_settings_form" action="" enctype="multipart/form-data">
|
768 |
+
<?php #nonce?>
|
769 |
+
<h3><?php _e( 'Settings', 'woo-advanced-shipment-tracking' ); ?></h3>
|
770 |
+
<?php $this->get_html( $this->get_settings_data() );?>
|
771 |
+
<div class="submit">
|
772 |
+
<button name="save" class="button-primary woocommerce-save-button btn_green" type="submit" value="Save changes"><?php _e( 'Save', 'woo-advanced-shipment-tracking' ); ?></button>
|
773 |
+
<div class="spinner" style="float:none"></div>
|
774 |
+
<div class="success_msg" style="display:none;"><?php _e( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ); ?></div>
|
775 |
+
<div class="error_msg" style="display:none;"></div>
|
776 |
+
<?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
|
777 |
+
<input type="hidden" name="action" value="wc_ast_settings_form_update">
|
778 |
+
</div>
|
779 |
+
</form>
|
780 |
+
</div>
|
781 |
+
</section>
|
782 |
+
<section id="content3" class="tab_section">
|
783 |
+
<div class="tab_inner_container">
|
784 |
+
<form method="post" id="wc_ast_api_form" action="" enctype="multipart/form-data">
|
785 |
+
<?php #nonce?>
|
786 |
+
<h3>Api Integration</h3>
|
787 |
+
<?php $this->get_html( $this->get_form_data() );?>
|
788 |
+
<div class="submit">
|
789 |
+
<button name="save" class="button-primary woocommerce-save-button btn_green" type="submit" value="Save changes">Save</button>
|
790 |
+
<div class="spinner" style="float:none"></div>
|
791 |
+
<div class="success_msg" style="display:none;"><?php _e( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ); ?></div>
|
792 |
+
<div class="error_msg" style="display:none;"></div>
|
793 |
+
<?php wp_nonce_field( 'wc_ast_api_form', 'wc_ast_api_form' );?>
|
794 |
+
<input type="hidden" name="action" value="wc_ast_api_form_update">
|
795 |
+
</div>
|
796 |
+
</form>
|
797 |
+
<div class="test_csv_wrap">
|
798 |
+
<h3>Run Manual test</h3>
|
799 |
+
<input type="button" value="Run this export manually" id="test_csv" class="button">
|
800 |
+
<div class="spinner testcsv_spinner" style="float:none"></div>
|
801 |
+
<div class="success_msg csv_test_success" style="display:none;"></div>
|
802 |
+
<div class="error_msg csv_test_error" style="display:none;"></div>
|
803 |
+
</div>
|
804 |
+
</div>
|
805 |
+
</section>
|
806 |
+
</div>
|
807 |
+
<div class="zorem_admin_sidebar">
|
808 |
+
<div class="zorem-sidebar-title">zorem recommendations for you</div>
|
809 |
+
<div class="zorem-sidebar__section">
|
810 |
+
<h2>Recommended plugins</h2>
|
811 |
+
<ul>
|
812 |
+
<li><a href="https://wordpress.org/plugins/woo-advanced-sales-report-email/" target="_blank">WooCommerce Advanced Sales Report Email</a></li>
|
813 |
+
<li><a href="https://wordpress.org/plugins/woo-product-country-base-restrictions/" target="_blank">WooCommerce Product Country Base Restrictions</a></li>
|
814 |
+
<li><a href="https://wordpress.org/plugins/woo-shop-manager-admin-bar/" target="_blank">WooCommerce Shop Manager Admin Bar</a></li>
|
815 |
+
<li><a href="https://wordpress.org/plugins/woo-advanced-sales-report-email/" target="_blank">WooCommerce Advanced Sales Report Email</a></li>
|
816 |
+
</ul>
|
817 |
+
</div>
|
818 |
+
</div>
|
819 |
+
</div>
|
820 |
+
<script>//jQuery('[for="tab2"]').trigger("click");</script>
|
821 |
+
<div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
|
822 |
+
<div class="mdl-snackbar__text"></div>
|
823 |
+
<button class="mdl-snackbar__action" type="button"></button>
|
824 |
+
</div>
|
825 |
+
<?php
|
826 |
+
}
|
827 |
+
|
828 |
+
/*
|
829 |
+
* get html of fields
|
830 |
+
*/
|
831 |
+
private function get_html( $arrays ){
|
832 |
+
?>
|
833 |
+
<table class="form-table">
|
834 |
+
<tbody>
|
835 |
+
<?php foreach( (array)$arrays as $id => $array ){?>
|
836 |
+
<?php if($array['type'] == 'title'){?>
|
837 |
+
<tr valign="top titlerow">
|
838 |
+
<th colspan="2"><h3><?php echo $array['title']?></h3></th>
|
839 |
+
</tr>
|
840 |
+
<?php continue;} ?>
|
841 |
+
<tr valign="top" class="<?php echo $array['class']; ?>">
|
842 |
+
<th scope="row" class="titledesc">
|
843 |
+
<label for="<?php echo $id?>"><?php echo $array['title']?>
|
844 |
+
<?php if( isset($array['tooltip']) ){?>
|
845 |
+
<span class="woocommerce-help-tip tipTip" title="<?php echo $array['tooltip']?>"></span>
|
846 |
+
<?php } ?>
|
847 |
+
</label>
|
848 |
+
</th>
|
849 |
+
<td class="forminp" >
|
850 |
+
<?php if( $array['type'] == 'checkbox' ){?>
|
851 |
+
<span class="mdl-list__item-secondary-action">
|
852 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="<?php echo $id?>">
|
853 |
+
<input type="checkbox" id="<?php echo $id?>" name="<?php echo $id?>" class="mdl-switch__input" <?php echo get_option($id) ? 'checked':''?> value="1"/>
|
854 |
+
</label>
|
855 |
+
</span>
|
856 |
+
<?php } elseif( isset( $array['type'] ) && $array['type'] == 'dropdown' ){?>
|
857 |
+
<?php
|
858 |
+
if( isset($array['multiple']) ){
|
859 |
+
$multiple = 'multiple';
|
860 |
+
$field_id = $array['multiple'];
|
861 |
+
} else {
|
862 |
+
$multiple = '';
|
863 |
+
$field_id = $id;
|
864 |
+
}
|
865 |
+
?>
|
866 |
+
<fieldset>
|
867 |
+
<select class="select select2" id="<?php echo $field_id?>" name="<?php echo $id?>" <?php echo $multiple;?>>
|
868 |
+
<?php //echo '<pre>';print_r( $array['options'] );echo '</pre>';?>
|
869 |
+
<?php foreach((array)$array['options'] as $key => $val ){?>
|
870 |
+
<?php
|
871 |
+
$selected = '';
|
872 |
+
if( isset($array['multiple']) ){
|
873 |
+
//echo "key:".$key;
|
874 |
+
if (in_array($key, (array)$this->data->$field_id ))$selected = 'selected';
|
875 |
+
} else {
|
876 |
+
if( get_option($id) == (string)$key )$selected = 'selected';
|
877 |
+
}
|
878 |
+
|
879 |
+
?>
|
880 |
+
<option value="<?php echo $key?>" <?php echo $selected?> ><?php echo $val?></option>
|
881 |
+
<?php } ?>
|
882 |
+
</select>
|
883 |
+
</fieldset>
|
884 |
+
<?php } elseif( $array['type'] == 'title' ){?>
|
885 |
+
<?php } else {?>
|
886 |
+
|
887 |
+
<fieldset>
|
888 |
+
<input class="input-text regular-input " type="text" name="<?php echo $id?>" id="<?php echo $id?>" style="" value="<?php echo get_option($id)?>" placeholder="">
|
889 |
+
</fieldset>
|
890 |
+
<?php } ?>
|
891 |
+
<p class="description"><?php echo (isset($array['desc']))? $array['desc']: ''?></p>
|
892 |
+
</td>
|
893 |
+
</tr>
|
894 |
+
<?php } ?>
|
895 |
+
</tbody>
|
896 |
+
</table>
|
897 |
+
<?php }
|
898 |
+
|
899 |
+
/*
|
900 |
+
* get api tab form data
|
901 |
+
* return array
|
902 |
+
*/
|
903 |
+
public function get_form_data(){
|
904 |
+
$send_time_array = array();
|
905 |
+
|
906 |
+
for ( $hour = 0; $hour < 24; $hour++ ) {
|
907 |
+
for ( $min = 0; $min < 60; $min = $min + 15 ) {
|
908 |
+
$this_time = date( 'H:i', strtotime( "2014-01-01 $hour:$min" ) );
|
909 |
+
$send_time_array[ $this_time ] = $this_time;
|
910 |
+
}
|
911 |
+
}
|
912 |
+
|
913 |
+
$form_data = array(
|
914 |
+
'wc_ast_api_enabled' => array(
|
915 |
+
'type' => 'checkbox',
|
916 |
+
'title' => 'Enable/Disable',
|
917 |
+
'desc' => 'Enable/Disable',
|
918 |
+
'tooltip' => 'Enable/Disable',
|
919 |
+
),
|
920 |
+
'wc_ast_api_provider' => array(
|
921 |
+
'type' => 'dropdown',
|
922 |
+
'title' => 'Choose API service provider',
|
923 |
+
'desc' => 'Coming soon: Aftership / Shippo / TrackShip ',
|
924 |
+
'tooltip' => 'Choose API service provider',
|
925 |
+
'options' => array(
|
926 |
+
'' => 'Choose API service provider',
|
927 |
+
'snapcx' => 'SnapCX',
|
928 |
+
'aftership' => 'AfterShip',
|
929 |
+
)
|
930 |
+
),
|
931 |
+
'wc_ast_api_key' => array(
|
932 |
+
'type' => 'text',
|
933 |
+
'title' => 'API key',
|
934 |
+
'desc' => 'ex: 1e02cd5bd6f0e464a0449153322dcchd',
|
935 |
+
),
|
936 |
+
'wc_ast_api_cron_time' => array(
|
937 |
+
'type' => 'dropdown',
|
938 |
+
'title' => 'Cron Timing',
|
939 |
+
'desc' => 'Cron time between 2 api call.',
|
940 |
+
'options' => array(
|
941 |
+
'wc_ast_1day' => '1 days',
|
942 |
+
'wc_ast_2day' => '2 days',
|
943 |
+
'wc_ast_7day' => '7 days',
|
944 |
+
)
|
945 |
+
),
|
946 |
+
'wc_ast_api_run_time' => array(
|
947 |
+
'type' => 'dropdown',
|
948 |
+
'title' => 'Cron start Time',
|
949 |
+
'desc' => 'Choose the time of day to run cron.',
|
950 |
+
'options' => $send_time_array
|
951 |
+
),
|
952 |
+
'wc_ast_api_date_range' => array(
|
953 |
+
'type' => 'dropdown',
|
954 |
+
'title' => 'How many long to go back when starting the triggers',
|
955 |
+
'desc' => 'How many long to go back when starting the triggers',
|
956 |
+
'options' => array(
|
957 |
+
"1" => "Yesterday orders",
|
958 |
+
"2" => "Last 2 days orders",
|
959 |
+
"7" => "Last 7 days orders",
|
960 |
+
"30" => "Last 30 days orders",
|
961 |
+
"90" => "Last 90 days orders",
|
962 |
+
"0" => "All orders",
|
963 |
+
)
|
964 |
+
),
|
965 |
+
'wc_ast_api_in_transit' => array(
|
966 |
+
'type' => 'text',
|
967 |
+
'title' => 'Replace status with In Transit',
|
968 |
+
'desc' => 'Ex: Arrived at, Accepted at ( use comma separated string )',
|
969 |
+
),
|
970 |
+
);
|
971 |
+
return $form_data;
|
972 |
+
}
|
973 |
+
|
974 |
+
/*
|
975 |
+
* api form save
|
976 |
+
*/
|
977 |
+
function wc_ast_api_form_update_callback(){
|
978 |
+
|
979 |
+
if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_api_form', 'wc_ast_api_form' ) ) {
|
980 |
+
|
981 |
+
//echo '<pre>';print_r($_POST);echo '</pre>';
|
982 |
+
$data = $this->get_form_data();
|
983 |
+
//echo '<pre>';print_r($data);echo '</pre>';
|
984 |
+
|
985 |
+
foreach( $data as $key => $val ){
|
986 |
+
update_option( $key, sanitize_text_field( $_POST[ $key ] ) );
|
987 |
+
}
|
988 |
+
|
989 |
+
$cron_manager = new WC_Advanced_Shipment_Tracking_Cron();
|
990 |
+
$cron_manager->remove_cron();
|
991 |
+
$cron_manager->setup_cron();
|
992 |
+
|
993 |
+
echo json_encode( array('success' => 'true') );die();
|
994 |
+
|
995 |
+
}
|
996 |
+
}
|
997 |
+
|
998 |
+
/*
|
999 |
+
* get settings tab array data
|
1000 |
+
* return array
|
1001 |
+
*/
|
1002 |
+
function get_settings_data(){
|
1003 |
+
|
1004 |
+
$form_data = array(
|
1005 |
+
'wc_ast_status_shipped' => array(
|
1006 |
+
'type' => 'checkbox',
|
1007 |
+
'title' => __( 'Rename the “Completed” Order status to “Shipped”', 'woo-advanced-shipment-tracking' ),
|
1008 |
+
'desc' => '',
|
1009 |
+
),
|
1010 |
+
'wc_ast_status_delivered' => array(
|
1011 |
+
'type' => 'checkbox',
|
1012 |
+
'title' => __( 'Enable a New Custom order status - “Delivered”', 'woo-advanced-shipment-tracking' ),
|
1013 |
+
'desc' => '',
|
1014 |
+
),
|
1015 |
+
'wc_ast_status_label_color' => array(
|
1016 |
+
'type' => 'color',
|
1017 |
+
'title' => __( 'Status Label color', 'woo-advanced-shipment-tracking' ),
|
1018 |
+
'desc' => '',
|
1019 |
+
'class' => 'status_label_color_th',
|
1020 |
+
),
|
1021 |
+
);
|
1022 |
+
return $form_data;
|
1023 |
+
|
1024 |
+
}
|
1025 |
+
|
1026 |
+
/*
|
1027 |
+
* settings form save
|
1028 |
+
*/
|
1029 |
+
function wc_ast_settings_form_update_callback(){
|
1030 |
+
|
1031 |
+
if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form' ) ) {
|
1032 |
+
|
1033 |
+
//echo '<pre>';print_r($_POST);echo '</pre>';
|
1034 |
+
$data = $this->get_settings_data();
|
1035 |
+
//echo '<pre>';print_r($data);echo '</pre>';
|
1036 |
+
|
1037 |
+
foreach( $data as $key => $val ){
|
1038 |
+
update_option( $key, sanitize_text_field( $_POST[ $key ] ) );
|
1039 |
+
}
|
1040 |
+
echo json_encode( array('success' => 'true') );die();
|
1041 |
+
|
1042 |
+
}
|
1043 |
+
}
|
1044 |
+
|
1045 |
+
/*
|
1046 |
+
* Update shippment provider sort order
|
1047 |
+
*/
|
1048 |
+
function update_sort_order_fun(){
|
1049 |
+
|
1050 |
+
global $wpdb;
|
1051 |
+
$this->table = $wpdb->prefix."woo_shippment_provider";
|
1052 |
+
if( isset( $_POST['sorting'] ) ){
|
1053 |
+
|
1054 |
+
foreach($_POST['sorting'] as $key => $val ){
|
1055 |
+
$data_array = array(
|
1056 |
+
'sort_order' => sanitize_text_field($val['sort_order']),
|
1057 |
+
);
|
1058 |
+
$where_array = array(
|
1059 |
+
'id' => $key
|
1060 |
+
);
|
1061 |
+
|
1062 |
+
$result = $wpdb->update( $this->table, $data_array, $where_array );
|
1063 |
+
|
1064 |
+
}
|
1065 |
+
|
1066 |
+
}
|
1067 |
+
echo $result;exit;
|
1068 |
+
}
|
1069 |
+
/*
|
1070 |
+
* Update shippment provider status
|
1071 |
+
*/
|
1072 |
+
function update_shipment_status_fun(){
|
1073 |
+
global $wpdb;
|
1074 |
+
$this->table = $wpdb->prefix."woo_shippment_provider";
|
1075 |
+
$woo_shippment_table_name = $this->table;
|
1076 |
+
|
1077 |
+
|
1078 |
+
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name" );
|
1079 |
+
foreach($default_shippment_providers as $dsp){
|
1080 |
+
if(in_array($dsp->id, $_POST['select_custom_provider'])){
|
1081 |
+
$success = $wpdb->update($woo_shippment_table_name,
|
1082 |
+
array(
|
1083 |
+
"display_in_order" => 1,
|
1084 |
+
),
|
1085 |
+
array('id' => $dsp->id)
|
1086 |
+
);
|
1087 |
+
} else{
|
1088 |
+
$success = $wpdb->update($woo_shippment_table_name,
|
1089 |
+
array(
|
1090 |
+
"display_in_order" => 0,
|
1091 |
+
),
|
1092 |
+
array('id' => $dsp->id)
|
1093 |
+
);
|
1094 |
+
}
|
1095 |
+
|
1096 |
+
}
|
1097 |
+
}
|
1098 |
+
|
1099 |
+
function add_custom_shipment_provider_fun(){
|
1100 |
+
global $order;
|
1101 |
+
$WC_Countries = new WC_Countries();
|
1102 |
+
$countries = $WC_Countries->get_countries();
|
1103 |
+
global $wpdb;
|
1104 |
+
$this->table = $wpdb->prefix."woo_shippment_provider";
|
1105 |
+
$woo_shippment_table_name = $this->table;
|
1106 |
+
//echo '<pre>';print_r($_POST);echo '</pre>';exit;
|
1107 |
+
if( isset( $_POST['data'] ) ){
|
1108 |
+
|
1109 |
+
foreach($_POST['data'] as $key => $val ){
|
1110 |
+
$data_array = array(
|
1111 |
+
'shipping_country' => sanitize_text_field($val['shipping_country']),
|
1112 |
+
'provider_name' => sanitize_text_field($val['provider_name']),
|
1113 |
+
'provider_url' => sanitize_text_field($val['provider_url']),
|
1114 |
+
'sort_order' => sanitize_text_field($val['sort_order']),
|
1115 |
+
'display_in_order' => 1,
|
1116 |
+
);
|
1117 |
+
$where_array = array(
|
1118 |
+
'id' => $key,
|
1119 |
+
'shipping_default' => '0'
|
1120 |
+
);
|
1121 |
+
$result = $wpdb->update( $this->table, $data_array, $where_array );
|
1122 |
+
}
|
1123 |
+
}
|
1124 |
+
$html = $this->get_table_body();
|
1125 |
+
echo $html;exit;
|
1126 |
+
}
|
1127 |
+
|
1128 |
+
function update_shipping_provider_fun(){
|
1129 |
+
global $order;
|
1130 |
+
$WC_Countries = new WC_Countries();
|
1131 |
+
$countries = $WC_Countries->get_countries();
|
1132 |
+
global $wpdb;
|
1133 |
+
$this->table = $wpdb->prefix."woo_shippment_provider";
|
1134 |
+
$data_array = array(
|
1135 |
+
'shipping_country' => sanitize_text_field($_POST['custom_provider_country']),
|
1136 |
+
'provider_name' => sanitize_text_field($_POST['custom_provider_name']),
|
1137 |
+
'provider_url' => sanitize_text_field($_POST['custom_provider_url']),
|
1138 |
+
'sort_order' => sanitize_text_field($_POST['sort_order']),
|
1139 |
+
);
|
1140 |
+
$where_array = array(
|
1141 |
+
'id' => $_POST['provider_id'],
|
1142 |
+
'shipping_default' => '0'
|
1143 |
+
);
|
1144 |
+
$wpdb->update( $this->table, $data_array, $where_array );
|
1145 |
+
$html = $this->get_table_body();
|
1146 |
+
echo $html;exit;
|
1147 |
+
}
|
1148 |
+
|
1149 |
+
function get_table_body(){
|
1150 |
+
global $order;
|
1151 |
+
$WC_Countries = new WC_Countries();
|
1152 |
+
$countries = $WC_Countries->get_countries();
|
1153 |
+
|
1154 |
+
global $wpdb;
|
1155 |
+
$woo_shippment_table_name = $this->table;
|
1156 |
+
$order = isset( $_GET['order'] ) ? $_GET['order'] : 'ASC';
|
1157 |
+
$orderby = isset( $_GET['orderby'] ) ? $_GET['orderby'] : 'sort_order';
|
1158 |
+
|
1159 |
+
if( $order == 'DESC' ){$inverse_order = 'ASC';$inverse_class = 'asc';}else{$inverse_order = 'DESC';$inverse_class = 'desc';}
|
1160 |
+
|
1161 |
+
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name ORDER BY `{$orderby}` {$order} " );
|
1162 |
+
?>
|
1163 |
+
<tbody>
|
1164 |
+
<?php foreach($default_shippment_providers as $d_s_p){ ?>
|
1165 |
+
<?php
|
1166 |
+
if( $d_s_p->shipping_country == '' && $d_s_p->provider_name == '' && $d_s_p->provider_url == '' ){
|
1167 |
+
$wpdb->delete( $this->table, array( 'id' => $d_s_p->id ) );
|
1168 |
+
continue;
|
1169 |
+
}
|
1170 |
+
?>
|
1171 |
+
<tr class="provider_tr <?php if($d_s_p->display_in_order != 1) { echo 'status_deactivate'; } ?> <?php if($d_s_p->shipping_default == 0) { echo 'custom_provider_tr'; } ?>">
|
1172 |
+
<td class="column-columnname thumb-column">
|
1173 |
+
<?php if( $d_s_p->shipping_default == 1 ){ ?>
|
1174 |
+
<img class="provider_thumbnail on_edit_hide" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/<?php echo $d_s_p->provider_slug;?>.png">
|
1175 |
+
<?php } else{ ?>
|
1176 |
+
<img class="provider_thumbnail on_edit_hide" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/icon-default.png">
|
1177 |
+
<?php } ?>
|
1178 |
+
<span class="provider_name on_edit_hide">
|
1179 |
+
<?php
|
1180 |
+
echo $d_s_p->provider_name; ?>
|
1181 |
+
</span>
|
1182 |
+
<?php if( $d_s_p->shipping_default == 0 ){ ?>
|
1183 |
+
<input type="text" class="text on_edit_show custom_provider_name" name="data[<?php echo $d_s_p->id?>][provider_name]" value="<?php echo $d_s_p->provider_name;?>" placeholder="<?php _e( 'Shipping Provider', 'woo-advanced-shipment-tracking' ); ?>">
|
1184 |
+
<?php } ?>
|
1185 |
+
</td>
|
1186 |
+
<td class="column-columnname country_select_box">
|
1187 |
+
<span class="on_edit_hide">
|
1188 |
+
<?php
|
1189 |
+
$search = array('(US)', '(UK)');
|
1190 |
+
$replace = array('', '');
|
1191 |
+
echo str_replace($search, $replace, $WC_Countries->countries[$d_s_p->shipping_country]);
|
1192 |
+
?>
|
1193 |
+
</span>
|
1194 |
+
<?php if( $d_s_p->shipping_default == 0 ){ ?>
|
1195 |
+
<select class="on_edit_show custom_provider_country" name="data[<?php echo $d_s_p->id?>][shipping_country]" >
|
1196 |
+
<option value="" ><?php _e( 'None', 'woo-advanced-shipment-tracking' ); ?></option>
|
1197 |
+
<?php foreach($countries as $key=>$val){ ?>
|
1198 |
+
<option value="<?php echo $key; ?>" <?php if ( $key == $d_s_p->shipping_country ) echo 'selected'?>><?php _e( $val, 'woo-advanced-shipment-tracking'); ?></option>
|
1199 |
+
<?php } ?>
|
1200 |
+
</select>
|
1201 |
+
<?php } ?>
|
1202 |
+
</td>
|
1203 |
+
<td class="column-columnname">
|
1204 |
+
<span class="mdl-list__item-secondary-action">
|
1205 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="list-switch-<?php echo $d_s_p->id; ?>">
|
1206 |
+
<input type="checkbox" name="select_custom_provider[]" id="list-switch-<?php echo $d_s_p->id; ?>" class="mdl-switch__input status_slide" value="<?php echo $d_s_p->id; ?>" <?php if($d_s_p->display_in_order == 1) { echo 'checked'; } ?> />
|
1207 |
+
</label>
|
1208 |
+
</span>
|
1209 |
+
</td>
|
1210 |
+
<td class="column-columnname url-column">
|
1211 |
+
<a href="<?php echo $d_s_p->provider_url; ?>" title="<?php echo $d_s_p->provider_url; ?>" target="_blank" class="on_edit_hide"><?php _e( 'Tracking Page', 'woo-advanced-shipment-tracking' ); ?>
|
1212 |
+
</a>
|
1213 |
+
<?php if( $d_s_p->shipping_default == 0 ){ ?>
|
1214 |
+
<input type="text" class="text on_edit_show custom_provider_url" name="data[<?php echo $d_s_p->id?>][provider_url]" value="<?php echo $d_s_p->provider_url;?>" placeholder="<?php _e( 'Shipping URL', 'woo-advanced-shipment-tracking' ); ?>">
|
1215 |
+
<?php }?>
|
1216 |
+
</td>
|
1217 |
+
<td class="column-columnname">
|
1218 |
+
<?php if( $d_s_p->shipping_default == 0 ){ ?>
|
1219 |
+
<span class="dashicons dashicons-edit edit_provider on_edit_hide" style="display:none"></span>
|
1220 |
+
<span class="dashicons dashicons-trash remove on_edit_hide" data-pid="<?php echo $d_s_p->id; ?>" style="display:none"></span>
|
1221 |
+
<button class="button button-primary on_edit_show update_provider btn_green" style="display:none;"><?php _e( 'Save', 'woo-advanced-shipment-tracking' ); ?></button>
|
1222 |
+
<?php } ?>
|
1223 |
+
<span class="dashicons dashicons-editor-justify sort-item ui-sortable-handle on_edit_hide"></span>
|
1224 |
+
<input type="hidden" name="provider_id" class="provider_id" value="<?php echo $d_s_p->id?>">
|
1225 |
+
<input type="hidden" name="sorting[<?php echo $d_s_p->id?>][sort_order]" class="sort_order" value="<?php echo $d_s_p->sort_order?>">
|
1226 |
+
<input type="hidden" name="data[<?php echo $d_s_p->id?>][sort_order]" class="" value="<?php echo $d_s_p->sort_order?>">
|
1227 |
+
|
1228 |
+
</td>
|
1229 |
+
</tr>
|
1230 |
+
<?php } ?>
|
1231 |
+
</tbody>
|
1232 |
+
<?php
|
1233 |
+
}
|
1234 |
+
function update_shipping_provider_dropdown_fun(){
|
1235 |
+
global $wpdb;
|
1236 |
+
$woo_shippment_table_name = $this->table;
|
1237 |
+
$order = isset( $_GET['order'] ) ? $_GET['order'] : 'ASC';
|
1238 |
+
$orderby = isset( $_GET['orderby'] ) ? $_GET['orderby'] : 'sort_order';
|
1239 |
+
|
1240 |
+
if( $order == 'DESC' ){$inverse_order = 'ASC';$inverse_class = 'asc';}else{$inverse_order = 'DESC';$inverse_class = 'desc';}
|
1241 |
+
|
1242 |
+
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name ORDER BY `{$orderby}` {$order} " ); ?>
|
1243 |
+
<select name="wc_ast_default_provider" class="wc_ast_default_provider">
|
1244 |
+
<option><?php _e('Please select default provider', 'woo-advanced-shipment-tracking'); ?></option>
|
1245 |
+
<?php foreach( $default_shippment_providers as $d_s_p ){?>
|
1246 |
+
<?php if($d_s_p->display_in_order != 1)continue;?>
|
1247 |
+
<option value="<?php echo sanitize_title( $d_s_p->provider_name )?>" <?php if( $default_provider == sanitize_title( $d_s_p->provider_name ) )echo 'selected';?>><?php echo $d_s_p->provider_name?></option>
|
1248 |
+
<?php } ?>
|
1249 |
+
</select>
|
1250 |
+
<?php
|
1251 |
+
exit;
|
1252 |
+
}
|
1253 |
+
|
1254 |
+
function update_default_provider_fun(){
|
1255 |
+
update_option("wc_ast_default_provider", $_POST['default_provider'] );
|
1256 |
+
exit;
|
1257 |
+
}
|
1258 |
+
|
1259 |
+
function footer_function(){
|
1260 |
+
$color = get_option('wc_ast_status_label_color');
|
1261 |
+
?>
|
1262 |
+
<style>
|
1263 |
+
.order-status.status-delivered{
|
1264 |
+
background: <?php echo $color; ?>;
|
1265 |
+
}
|
1266 |
+
</style>
|
1267 |
+
<?php
|
1268 |
+
}
|
1269 |
+
}
|
includes/class-wc-advanced-shipment-tracking-api-call.php
ADDED
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
class WC_Advanced_Shipment_Tracking_Api_Call {
|
6 |
+
|
7 |
+
public function __construct() {
|
8 |
+
|
9 |
+
}
|
10 |
+
|
11 |
+
/*
|
12 |
+
* get intransit text inarray
|
13 |
+
*/
|
14 |
+
function get_intransit_text(){
|
15 |
+
$arrKeywords = array();
|
16 |
+
$in_transit = get_option('wc_ast_api_in_transit', "Arrived at, Accepted at" );
|
17 |
+
$in_transit = explode(",", $in_transit);
|
18 |
+
foreach((array)$in_transit as $index => $word)
|
19 |
+
$arrKeywords[$index] = trim($word);
|
20 |
+
|
21 |
+
return ($arrKeywords);
|
22 |
+
}
|
23 |
+
|
24 |
+
public function get_snapcx_apicall( $order_id ){
|
25 |
+
$logger = wc_get_logger();
|
26 |
+
$context = array( 'source' => 'wc_ast' );
|
27 |
+
|
28 |
+
$InTransit = $this->get_intransit_text();
|
29 |
+
|
30 |
+
$order = wc_get_order( $order_id );
|
31 |
+
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
32 |
+
|
33 |
+
if( $tracking_items ){
|
34 |
+
foreach( ( array )$tracking_items as $key => $val ){
|
35 |
+
$tracking_number = trim($val['tracking_number']);
|
36 |
+
$tracking_provider = $val['tracking_provider'];
|
37 |
+
|
38 |
+
if( isset($tracking_number) ){
|
39 |
+
$temporderid = get_post_meta( $order->get_id(),"_alg_wc_custom_order_number",true);
|
40 |
+
$orderinfo = " Order: {$temporderid} - {$tracking_provider} - {$tracking_number} ";
|
41 |
+
$array['orderinfo'] = $orderinfo;
|
42 |
+
|
43 |
+
//do api call
|
44 |
+
$response = $this->get_snapcx_data( $order, $tracking_number, $tracking_provider );
|
45 |
+
$body = json_decode($response['body']);
|
46 |
+
$code = $response['response']['code'];
|
47 |
+
|
48 |
+
if( $response['response']['code'] == 200 ){
|
49 |
+
$snapcx = get_post_meta( $order->get_id(), "shipment_status", true);
|
50 |
+
|
51 |
+
//ok
|
52 |
+
if( $body->header->status == 'SUCCESS' ){
|
53 |
+
|
54 |
+
//$body->trackRecord[0]->trackEvent[0]->location;
|
55 |
+
$message = $body->trackRecord[0]->trackEvent[0]->message;
|
56 |
+
|
57 |
+
foreach( (array)$InTransit as $str ){
|
58 |
+
if (strpos($message, $str) !== false) {
|
59 |
+
$message = 'In Transit';
|
60 |
+
}
|
61 |
+
}
|
62 |
+
|
63 |
+
$snapcx[$key]['status'] = $message;
|
64 |
+
$array['msg'] = $message;
|
65 |
+
|
66 |
+
if( $body->trackRecord[0]->trackSummary->delivered == true ){
|
67 |
+
|
68 |
+
//trigger order deleivered
|
69 |
+
$order->update_status('delivered');
|
70 |
+
|
71 |
+
$snapcx[$key]['status'] = "Delivered";
|
72 |
+
$array['msg'] = "Delivered";
|
73 |
+
}
|
74 |
+
$snapcx[$key]['status_date'] = $body->trackRecord[0]->trackEvent[0]->date;
|
75 |
+
}
|
76 |
+
|
77 |
+
$logger->info( $orderinfo . "- status ". $response['response']['code'], $context );
|
78 |
+
|
79 |
+
update_post_meta( $order->get_id(), "shipment_status", $snapcx);
|
80 |
+
|
81 |
+
} elseif( $response['response']['code'] == 500 ){
|
82 |
+
$snapcx = get_post_meta( $order->get_id(), "shipment_status", true);
|
83 |
+
|
84 |
+
// do log
|
85 |
+
if( $body->header->status == 'FAIL' ){
|
86 |
+
|
87 |
+
$logger->error( $orderinfo . "- INVALID_TRACKING_NUM. Please make sure, tracking# is valid. If in doubt, please contact support!! Receieved HTTP 500.", $context );
|
88 |
+
|
89 |
+
$snapcx[$key]['status'] = $body->header->errorCode;
|
90 |
+
$array['msg'] = $body->header->errorCode;
|
91 |
+
|
92 |
+
update_post_meta( $order->get_id(), "shipment_status", $snapcx);
|
93 |
+
}
|
94 |
+
} elseif( $response['response']['code'] == 403 ){
|
95 |
+
$logger->error( $orderinfo . "- Something wrong with Authorization. Receieved HTTP 403.", $context );
|
96 |
+
$array['msg'] = "Something wrong with Authorization. Receieved HTTP 403";
|
97 |
+
$array['status'] = 403;
|
98 |
+
} elseif( $response['response']['code'] == 404 ){
|
99 |
+
$logger->error( $orderinfo . "- Something wrong with API url. Check documentation again. Receieved HTTP 404 ", $context );
|
100 |
+
$array['msg'] = "Something wrong with API url. Check documentation again. Receieved HTTP 404";
|
101 |
+
} else {
|
102 |
+
$logger->error( $orderinfo . "- Unknown error.", $context );
|
103 |
+
$array['msg'] = "Unknown error. ";
|
104 |
+
}
|
105 |
+
}
|
106 |
+
}
|
107 |
+
}
|
108 |
+
return $array;
|
109 |
+
}
|
110 |
+
|
111 |
+
public function get_aftership_apicall( $order_id ){
|
112 |
+
|
113 |
+
}
|
114 |
+
|
115 |
+
/*
|
116 |
+
* get snapcx data from api
|
117 |
+
*/
|
118 |
+
public function get_snapcx_data( $order, $tracking_number, $tracking_provider ){
|
119 |
+
$user_key = get_option( 'wcstsi_api_key' );
|
120 |
+
$url = 'https://api.snapcx.io/tracking/v1/getTrackingDetails';
|
121 |
+
//echo $order->get_id();echo $tracking_provider;echo '<br>';
|
122 |
+
if( $tracking_provider == 'fedex' ){
|
123 |
+
//set fedex
|
124 |
+
} else if( $tracking_provider == 'dhl' ){
|
125 |
+
//set fedex
|
126 |
+
} else {
|
127 |
+
$tracking_provider = "AUTO";
|
128 |
+
}
|
129 |
+
|
130 |
+
$args['body'] = array(
|
131 |
+
'carrier' => $tracking_provider,
|
132 |
+
'trackId' => $tracking_number
|
133 |
+
);
|
134 |
+
$args['headers'] = array(
|
135 |
+
'user_key' => $user_key
|
136 |
+
);
|
137 |
+
$response = wp_remote_get( $url, $args );
|
138 |
+
return $response;
|
139 |
+
}
|
140 |
+
|
141 |
+
public function get_aftership_data() {
|
142 |
+
|
143 |
+
|
144 |
+
}
|
145 |
+
|
146 |
+
}
|
includes/class-wc-advanced-shipment-tracking-cron.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit;
|
5 |
+
} // Exit if accessed directly
|
6 |
+
|
7 |
+
class WC_Advanced_Shipment_Tracking_Cron {
|
8 |
+
|
9 |
+
const CRON_HOOK = 'wc_ast_cron';
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Remove the Cron
|
13 |
+
*
|
14 |
+
* @access public
|
15 |
+
* @since 1.0.0
|
16 |
+
*/
|
17 |
+
public function remove_cron() {
|
18 |
+
wp_clear_scheduled_hook( self::CRON_HOOK );
|
19 |
+
}
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Setup the Cron
|
23 |
+
* @access public
|
24 |
+
* @since 1.0.0
|
25 |
+
*/
|
26 |
+
public function setup_cron() {
|
27 |
+
|
28 |
+
// Add the count words cronjob
|
29 |
+
if ( ! wp_next_scheduled( self::CRON_HOOK ) ) {
|
30 |
+
|
31 |
+
$cron_timing = get_option("wc_ast_api_cron_time", "wc_ast_1day");
|
32 |
+
$send_time = get_option("wc_ast_api_run_time", "03:00");
|
33 |
+
|
34 |
+
// Create a Date Time object when the cron should run for the first time
|
35 |
+
$first_cron = new DateTime( date( 'Y-m-d' ) . $send_time.":00" , new DateTimeZone( wc_timezone_string() ) );
|
36 |
+
|
37 |
+
$hr_min = explode(":",$send_time);
|
38 |
+
if( $hr_min[0] <= date("H") ) $first_cron->modify( '+1 day' );
|
39 |
+
|
40 |
+
wp_schedule_event( $first_cron->format( 'U' ) + $first_cron->getOffset(), $cron_timing, self::CRON_HOOK );
|
41 |
+
}
|
42 |
+
}
|
43 |
+
}
|
includes/class-wc-advanced-shipment-tracking.php
ADDED
@@ -0,0 +1,653 @@
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
class WC_Advanced_Shipment_Tracking_Actions {
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Instance of this class.
|
10 |
+
*
|
11 |
+
* @var object Class Instance
|
12 |
+
*/
|
13 |
+
private static $instance;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Get the class instance
|
17 |
+
*
|
18 |
+
* @return WC_Advanced_Shipment_Tracking_Actions
|
19 |
+
*/
|
20 |
+
public static function get_instance() {
|
21 |
+
|
22 |
+
if ( null === self::$instance ) {
|
23 |
+
self::$instance = new self;
|
24 |
+
}
|
25 |
+
|
26 |
+
return self::$instance;
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Get shiping providers.
|
31 |
+
*
|
32 |
+
* @return array
|
33 |
+
*/
|
34 |
+
public function get_providers() {
|
35 |
+
if ( empty( $this->providers ) ) {
|
36 |
+
$this->providers = array();
|
37 |
+
|
38 |
+
global $wpdb;
|
39 |
+
$wpdb->hide_errors();
|
40 |
+
$table = $wpdb->prefix."woo_shippment_provider";
|
41 |
+
$results = $wpdb->get_results( "SELECT * FROM {$table}" );
|
42 |
+
//echo "<pre>";print_r($results);echo "</pre>";
|
43 |
+
|
44 |
+
if ( ! empty( $results ) ) {
|
45 |
+
|
46 |
+
foreach ( $results as $row ) {
|
47 |
+
$shippment_providers[ $row->provider_name ] = $row->provider_url;
|
48 |
+
}
|
49 |
+
|
50 |
+
$this->providers = $shippment_providers;
|
51 |
+
}
|
52 |
+
}
|
53 |
+
return $this->providers;
|
54 |
+
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Localisation.
|
59 |
+
*/
|
60 |
+
public function load_plugin_textdomain() {
|
61 |
+
$plugin_file = wc_shipment_tracking()->plugin_file;
|
62 |
+
load_plugin_textdomain( 'woocommerce-shipment-tracking', false, dirname( plugin_basename( $plugin_file ) ) . '/languages/' );
|
63 |
+
}
|
64 |
+
|
65 |
+
/**
|
66 |
+
* Load admin styles.
|
67 |
+
*/
|
68 |
+
public function admin_styles() {
|
69 |
+
$plugin_url = wc_shipment_tracking()->plugin_url;
|
70 |
+
wp_enqueue_style( 'shipment_tracking_styles', $plugin_url . '/assets/css/admin.css' );
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* Define shipment tracking column in admin orders list.
|
75 |
+
*
|
76 |
+
* @since 1.6.1
|
77 |
+
*
|
78 |
+
* @param array $columns Existing columns
|
79 |
+
*
|
80 |
+
* @return array Altered columns
|
81 |
+
*/
|
82 |
+
public function shop_order_columns( $columns ) {
|
83 |
+
$columns['shipment_tracking'] = __( 'Shipment Tracking', 'woocommerce-shipment-tracking' );
|
84 |
+
return $columns;
|
85 |
+
}
|
86 |
+
|
87 |
+
/**
|
88 |
+
* Render shipment tracking in custom column.
|
89 |
+
*
|
90 |
+
* @since 1.6.1
|
91 |
+
*
|
92 |
+
* @param string $column Current column
|
93 |
+
*/
|
94 |
+
public function render_shop_order_columns( $column ) {
|
95 |
+
global $post;
|
96 |
+
|
97 |
+
if ( 'shipment_tracking' === $column ) {
|
98 |
+
echo $this->get_shipment_tracking_column( $post->ID );
|
99 |
+
}
|
100 |
+
}
|
101 |
+
|
102 |
+
/**
|
103 |
+
* Get content for shipment tracking column.
|
104 |
+
*
|
105 |
+
* @since 1.6.1
|
106 |
+
*
|
107 |
+
* @param int $order_id Order ID
|
108 |
+
*
|
109 |
+
* @return string Column content to render
|
110 |
+
*/
|
111 |
+
public function get_shipment_tracking_column( $order_id ) {
|
112 |
+
ob_start();
|
113 |
+
|
114 |
+
$tracking_items = $this->get_tracking_items( $order_id );
|
115 |
+
|
116 |
+
if ( count( $tracking_items ) > 0 ) {
|
117 |
+
echo '<ul>';
|
118 |
+
|
119 |
+
foreach ( $tracking_items as $tracking_item ) {
|
120 |
+
$formatted = $this->get_formatted_tracking_item( $order_id, $tracking_item );
|
121 |
+
printf(
|
122 |
+
'<li><a href="%s" target="_blank">%s</a></li>',
|
123 |
+
esc_url( $formatted['formatted_tracking_link'] ),
|
124 |
+
esc_html( $tracking_item['tracking_number'] )
|
125 |
+
);
|
126 |
+
}
|
127 |
+
echo '</ul>';
|
128 |
+
} else {
|
129 |
+
echo '–';
|
130 |
+
}
|
131 |
+
|
132 |
+
return apply_filters( 'woocommerce_shipment_tracking_get_shipment_tracking_column', ob_get_clean(), $order_id, $tracking_items );
|
133 |
+
}
|
134 |
+
|
135 |
+
/**
|
136 |
+
* Add the meta box for shipment info on the order page
|
137 |
+
*/
|
138 |
+
public function add_meta_box() {
|
139 |
+
add_meta_box( 'woocommerce-shipment-tracking', __( 'Shipment Tracking', 'woocommerce-shipment-tracking' ), array( $this, 'meta_box' ), 'shop_order', 'side', 'high' );
|
140 |
+
}
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Returns a HTML node for a tracking item for the admin meta box
|
144 |
+
*/
|
145 |
+
public function display_html_tracking_item_for_meta_box( $order_id, $item ) {
|
146 |
+
$formatted = $this->get_formatted_tracking_item( $order_id, $item );
|
147 |
+
?>
|
148 |
+
<div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
|
149 |
+
<p class="tracking-content">
|
150 |
+
<strong><?php echo esc_html( $formatted['formatted_tracking_provider'] ); ?></strong>
|
151 |
+
<?php if ( strlen( $formatted['formatted_tracking_link'] ) > 0 ) : ?>
|
152 |
+
- <?php echo sprintf( '<a href="%s" target="_blank" title="' . esc_attr( __( 'Click here to track your shipment', 'woocommerce-shipment-tracking' ) ) . '">' . __( 'Track', 'woocommerce-shipment-tracking' ) . '</a>', esc_url( $formatted['formatted_tracking_link'] ) ); ?>
|
153 |
+
<?php endif; ?>
|
154 |
+
<br/>
|
155 |
+
<em><?php echo esc_html( $item['tracking_number'] ); ?></em>
|
156 |
+
</p>
|
157 |
+
<p class="meta">
|
158 |
+
<?php /* translators: 1: shipping date */ ?>
|
159 |
+
<?php echo esc_html( sprintf( __( 'Shipped on %s', 'woocommerce-shipment-tracking' ), date_i18n( 'Y-m-d', $item['date_shipped'] ) ) ); ?>
|
160 |
+
<a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woocommerce-shipment-tracking' ); ?></a>
|
161 |
+
</p>
|
162 |
+
</div>
|
163 |
+
<?php
|
164 |
+
}
|
165 |
+
|
166 |
+
/**
|
167 |
+
* Show the meta box for shipment info on the order page
|
168 |
+
*/
|
169 |
+
public function meta_box() {
|
170 |
+
global $post;
|
171 |
+
|
172 |
+
$tracking_items = $this->get_tracking_items( $post->ID );
|
173 |
+
|
174 |
+
echo '<div id="tracking-items">';
|
175 |
+
|
176 |
+
if ( count( $tracking_items ) > 0 ) {
|
177 |
+
foreach ( $tracking_items as $tracking_item ) {
|
178 |
+
$this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
echo '</div>';
|
183 |
+
|
184 |
+
echo '<button class="button button-show-form" type="button">' . __( 'Add Tracking Number', 'woocommerce-shipment-tracking' ) . '</button>';
|
185 |
+
|
186 |
+
echo '<div id="shipment-tracking-form">';
|
187 |
+
// Providers
|
188 |
+
echo '<p class="form-field tracking_provider_field"><label for="tracking_provider">' . __( 'Provider:', 'woocommerce-shipment-tracking' ) . '</label><br/><select id="tracking_provider" name="tracking_provider" class="chosen_select" style="width:100%;">';
|
189 |
+
|
190 |
+
echo '<option value="">' . __( 'Custom Provider', 'woocommerce-shipment-tracking' ) . '</option>';
|
191 |
+
|
192 |
+
$selected_provider = '';
|
193 |
+
|
194 |
+
if ( ! $selected_provider ) {
|
195 |
+
$selected_provider = sanitize_title( apply_filters( 'woocommerce_shipment_tracking_default_provider', '' ) );
|
196 |
+
}
|
197 |
+
|
198 |
+
foreach ( $this->get_providers() as $provider_group => $providers ) {
|
199 |
+
echo '<optgroup label="' . esc_attr( $provider_group ) . '">';
|
200 |
+
foreach ( $providers as $provider => $url ) {
|
201 |
+
echo '<option value="' . esc_attr( sanitize_title( $provider ) ) . '" ' . selected( sanitize_title( $provider ), $selected_provider, true ) . '>' . esc_html( $provider ) . '</option>';
|
202 |
+
}
|
203 |
+
echo '</optgroup>';
|
204 |
+
}
|
205 |
+
|
206 |
+
echo '</select> ';
|
207 |
+
|
208 |
+
woocommerce_wp_hidden_input( array(
|
209 |
+
'id' => 'wc_shipment_tracking_get_nonce',
|
210 |
+
'value' => wp_create_nonce( 'get-tracking-item' ),
|
211 |
+
) );
|
212 |
+
|
213 |
+
woocommerce_wp_hidden_input( array(
|
214 |
+
'id' => 'wc_shipment_tracking_delete_nonce',
|
215 |
+
'value' => wp_create_nonce( 'delete-tracking-item' ),
|
216 |
+
) );
|
217 |
+
|
218 |
+
woocommerce_wp_hidden_input( array(
|
219 |
+
'id' => 'wc_shipment_tracking_create_nonce',
|
220 |
+
'value' => wp_create_nonce( 'create-tracking-item' ),
|
221 |
+
) );
|
222 |
+
|
223 |
+
woocommerce_wp_text_input( array(
|
224 |
+
'id' => 'custom_tracking_provider',
|
225 |
+
'label' => __( 'Provider Name:', 'woocommerce-shipment-tracking' ),
|
226 |
+
'placeholder' => '',
|
227 |
+
'description' => '',
|
228 |
+
'value' => '',
|
229 |
+
) );
|
230 |
+
|
231 |
+
woocommerce_wp_text_input( array(
|
232 |
+
'id' => 'tracking_number',
|
233 |
+
'label' => __( 'Tracking number:', 'woocommerce-shipment-tracking' ),
|
234 |
+
'placeholder' => '',
|
235 |
+
'description' => '',
|
236 |
+
'value' => '',
|
237 |
+
) );
|
238 |
+
|
239 |
+
woocommerce_wp_text_input( array(
|
240 |
+
'id' => 'custom_tracking_link',
|
241 |
+
'label' => __( 'Tracking link:', 'woocommerce-shipment-tracking' ),
|
242 |
+
'placeholder' => 'http://',
|
243 |
+
'description' => '',
|
244 |
+
'value' => '',
|
245 |
+
) );
|
246 |
+
|
247 |
+
woocommerce_wp_text_input( array(
|
248 |
+
'id' => 'date_shipped',
|
249 |
+
'label' => __( 'Date shipped:', 'woocommerce-shipment-tracking' ),
|
250 |
+
'placeholder' => date_i18n( __( 'Y-m-d', 'woocommerce-shipment-tracking' ), time() ),
|
251 |
+
'description' => '',
|
252 |
+
'class' => 'date-picker-field',
|
253 |
+
'value' => date_i18n( __( 'Y-m-d', 'woocommerce-shipment-tracking' ), current_time( 'timestamp' ) ),
|
254 |
+
) );
|
255 |
+
|
256 |
+
echo '<button class="button button-primary button-save-form">' . __( 'Save Tracking', 'woocommerce-shipment-tracking' ) . '</button>';
|
257 |
+
|
258 |
+
// Live preview
|
259 |
+
echo '<p class="preview_tracking_link">' . __( 'Preview:', 'woocommerce-shipment-tracking' ) . ' <a href="" target="_blank">' . __( 'Click here to track your shipment', 'woocommerce-shipment-tracking' ) . '</a></p>';
|
260 |
+
|
261 |
+
echo '</div>';
|
262 |
+
|
263 |
+
$provider_array = array();
|
264 |
+
|
265 |
+
foreach ( $this->get_providers() as $providers ) {
|
266 |
+
foreach ( $providers as $provider => $format ) {
|
267 |
+
$provider_array[ sanitize_title( $provider ) ] = urlencode( $format );
|
268 |
+
}
|
269 |
+
}
|
270 |
+
|
271 |
+
$js = "
|
272 |
+
jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field ').hide();
|
273 |
+
|
274 |
+
jQuery( 'input#custom_tracking_link, input#tracking_number, #tracking_provider' ).change( function() {
|
275 |
+
|
276 |
+
var tracking = jQuery( 'input#tracking_number' ).val();
|
277 |
+
var provider = jQuery( '#tracking_provider' ).val();
|
278 |
+
var providers = jQuery.parseJSON( '" . json_encode( $provider_array ) . "' );
|
279 |
+
|
280 |
+
var postcode = jQuery( '#_shipping_postcode' ).val();
|
281 |
+
|
282 |
+
if ( ! postcode.length ) {
|
283 |
+
postcode = jQuery( '#_billing_postcode' ).val();
|
284 |
+
}
|
285 |
+
|
286 |
+
postcode = encodeURIComponent( postcode );
|
287 |
+
|
288 |
+
var link = '';
|
289 |
+
|
290 |
+
if ( providers[ provider ] ) {
|
291 |
+
link = providers[provider];
|
292 |
+
link = link.replace( '%251%24s', tracking );
|
293 |
+
link = link.replace( '%252%24s', postcode );
|
294 |
+
link = decodeURIComponent( link );
|
295 |
+
|
296 |
+
jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field' ).hide();
|
297 |
+
} else {
|
298 |
+
jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field' ).show();
|
299 |
+
|
300 |
+
link = jQuery( 'input#custom_tracking_link' ).val();
|
301 |
+
}
|
302 |
+
|
303 |
+
if ( link ) {
|
304 |
+
jQuery( 'p.preview_tracking_link a' ).attr( 'href', link );
|
305 |
+
jQuery( 'p.preview_tracking_link' ).show();
|
306 |
+
} else {
|
307 |
+
jQuery( 'p.preview_tracking_link' ).hide();
|
308 |
+
}
|
309 |
+
|
310 |
+
} ).change();";
|
311 |
+
|
312 |
+
if ( function_exists( 'wc_enqueue_js' ) ) {
|
313 |
+
wc_enqueue_js( $js );
|
314 |
+
} else {
|
315 |
+
WC()->add_inline_js( $js );
|
316 |
+
}
|
317 |
+
|
318 |
+
wp_enqueue_script( 'wc-shipment-tracking-js', wc_shipment_tracking()->plugin_url . '/assets/js/admin.min.js' );
|
319 |
+
|
320 |
+
}
|
321 |
+
|
322 |
+
/**
|
323 |
+
* Order Tracking Save
|
324 |
+
*
|
325 |
+
* Function for saving tracking items
|
326 |
+
*/
|
327 |
+
public function save_meta_box( $post_id, $post ) {
|
328 |
+
if ( isset( $_POST['tracking_number'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
|
329 |
+
$args = array(
|
330 |
+
'tracking_provider' => wc_clean( $_POST['tracking_provider'] ),
|
331 |
+
'custom_tracking_provider' => wc_clean( $_POST['custom_tracking_provider'] ),
|
332 |
+
'custom_tracking_link' => wc_clean( $_POST['custom_tracking_link'] ),
|
333 |
+
'tracking_number' => wc_clean( $_POST['tracking_number'] ),
|
334 |
+
'date_shipped' => wc_clean( $_POST['date_shipped'] ),
|
335 |
+
);
|
336 |
+
|
337 |
+
$this->add_tracking_item( $post_id, $args );
|
338 |
+
}
|
339 |
+
}
|
340 |
+
|
341 |
+
/**
|
342 |
+
* Order Tracking Get All Order Items AJAX
|
343 |
+
*
|
344 |
+
* Function for getting all tracking items associated with the order
|
345 |
+
*/
|
346 |
+
public function get_meta_box_items_ajax() {
|
347 |
+
check_ajax_referer( 'get-tracking-item', 'security', true );
|
348 |
+
|
349 |
+
$order_id = wc_clean( $_POST['order_id'] );
|
350 |
+
$tracking_items = $this->get_tracking_items( $order_id );
|
351 |
+
|
352 |
+
foreach ( $tracking_items as $tracking_item ) {
|
353 |
+
$this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
|
354 |
+
}
|
355 |
+
|
356 |
+
die();
|
357 |
+
}
|
358 |
+
|
359 |
+
/**
|
360 |
+
* Order Tracking Save AJAX
|
361 |
+
*
|
362 |
+
* Function for saving tracking items via AJAX
|
363 |
+
*/
|
364 |
+
public function save_meta_box_ajax() {
|
365 |
+
check_ajax_referer( 'create-tracking-item', 'security', true );
|
366 |
+
|
367 |
+
if ( isset( $_POST['tracking_number'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
|
368 |
+
|
369 |
+
$order_id = wc_clean( $_POST['order_id'] );
|
370 |
+
$args = array(
|
371 |
+
'tracking_provider' => wc_clean( $_POST['tracking_provider'] ),
|
372 |
+
'custom_tracking_provider' => wc_clean( $_POST['custom_tracking_provider'] ),
|
373 |
+
'custom_tracking_link' => wc_clean( $_POST['custom_tracking_link'] ),
|
374 |
+
'tracking_number' => wc_clean( $_POST['tracking_number'] ),
|
375 |
+
'date_shipped' => wc_clean( $_POST['date_shipped'] ),
|
376 |
+
);
|
377 |
+
|
378 |
+
$tracking_item = $this->add_tracking_item( $order_id, $args );
|
379 |
+
|
380 |
+
$this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
|
381 |
+
}
|
382 |
+
|
383 |
+
die();
|
384 |
+
}
|
385 |
+
|
386 |
+
/**
|
387 |
+
* Order Tracking Delete
|
388 |
+
*
|
389 |
+
* Function to delete a tracking item
|
390 |
+
*/
|
391 |
+
public function meta_box_delete_tracking() {
|
392 |
+
check_ajax_referer( 'delete-tracking-item', 'security', true );
|
393 |
+
|
394 |
+
$order_id = wc_clean( $_POST['order_id'] );
|
395 |
+
$tracking_id = wc_clean( $_POST['tracking_id'] );
|
396 |
+
|
397 |
+
$this->delete_tracking_item( $order_id, $tracking_id );
|
398 |
+
}
|
399 |
+
|
400 |
+
/**
|
401 |
+
* Display Shipment info in the frontend (order view/tracking page).
|
402 |
+
*/
|
403 |
+
public function display_tracking_info( $order_id ) {
|
404 |
+
wc_get_template( 'myaccount/view-order.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-shipment-tracking/', $this->get_plugin_path() . '/templates/' );
|
405 |
+
}
|
406 |
+
|
407 |
+
/**
|
408 |
+
* Display shipment info in customer emails.
|
409 |
+
*
|
410 |
+
* @version 1.6.8
|
411 |
+
*
|
412 |
+
* @param WC_Order $order Order object.
|
413 |
+
* @param bool $sent_to_admin Whether the email is being sent to admin or not.
|
414 |
+
* @param bool $plain_text Whether email is in plain text or not.
|
415 |
+
* @param WC_Email $email Email object.
|
416 |
+
*/
|
417 |
+
public function email_display( $order, $sent_to_admin, $plain_text = null, $email = null ) {
|
418 |
+
/**
|
419 |
+
* Don't include tracking information in refunded email.
|
420 |
+
*
|
421 |
+
* When email instance is `WC_Email_Customer_Refunded_Order`, it may
|
422 |
+
* full or partial refund.
|
423 |
+
*
|
424 |
+
* @see https://github.com/woocommerce/woocommerce-shipment-tracking/issues/61
|
425 |
+
*/
|
426 |
+
if ( is_a( $email, 'WC_Email_Customer_Refunded_Order' ) ) {
|
427 |
+
return;
|
428 |
+
}
|
429 |
+
|
430 |
+
$order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
|
431 |
+
if ( true === $plain_text ) {
|
432 |
+
wc_get_template( 'email/plain/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-shipment-tracking/', $this->get_plugin_path() . '/templates/' );
|
433 |
+
} else {
|
434 |
+
wc_get_template( 'email/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-shipment-tracking/', $this->get_plugin_path() . '/templates/' );
|
435 |
+
}
|
436 |
+
}
|
437 |
+
|
438 |
+
/**
|
439 |
+
* Prevents data being copied to subscription renewals
|
440 |
+
*/
|
441 |
+
public function woocommerce_subscriptions_renewal_order_meta_query( $order_meta_query, $original_order_id, $renewal_order_id, $new_order_role ) {
|
442 |
+
$order_meta_query .= " AND `meta_key` NOT IN ( '_wc_shipment_tracking_items' )";
|
443 |
+
return $order_meta_query;
|
444 |
+
}
|
445 |
+
|
446 |
+
/*
|
447 |
+
* Works out the final tracking provider and tracking link and appends then to the returned tracking item
|
448 |
+
*
|
449 |
+
*/
|
450 |
+
public function get_formatted_tracking_item( $order_id, $tracking_item ) {
|
451 |
+
|
452 |
+
$formatted = array();
|
453 |
+
|
454 |
+
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
455 |
+
$postcode = get_post_meta( $order_id, '_shipping_postcode', true );
|
456 |
+
} else {
|
457 |
+
$order = new WC_Order( $order_id );
|
458 |
+
$postcode = $order->get_shipping_postcode();
|
459 |
+
}
|
460 |
+
|
461 |
+
$formatted['formatted_tracking_provider'] = '';
|
462 |
+
$formatted['formatted_tracking_link'] = '';
|
463 |
+
|
464 |
+
if ( empty( $postcode ) ) {
|
465 |
+
$postcode = get_post_meta( $order_id, '_shipping_postcode', true );
|
466 |
+
}
|
467 |
+
|
468 |
+
$formatted['formatted_tracking_provider'] = '';
|
469 |
+
$formatted['formatted_tracking_link'] = '';
|
470 |
+
|
471 |
+
if ( $tracking_item['custom_tracking_provider'] ) {
|
472 |
+
$formatted['formatted_tracking_provider'] = $tracking_item['custom_tracking_provider'];
|
473 |
+
$formatted['formatted_tracking_link'] = $tracking_item['custom_tracking_link'];
|
474 |
+
} else {
|
475 |
+
|
476 |
+
$link_format = '';
|
477 |
+
|
478 |
+
$providers = $this->get_providers();
|
479 |
+
//echo '<pre>';print_r($providers);echo '</pre>';exit;
|
480 |
+
|
481 |
+
foreach ( $this->get_providers() as $provider => $format ) {
|
482 |
+
|
483 |
+
if ( sanitize_title( $provider ) === $tracking_item['tracking_provider'] ) {
|
484 |
+
$link_format = $format;
|
485 |
+
$formatted['formatted_tracking_provider'] = $provider;
|
486 |
+
break;
|
487 |
+
}
|
488 |
+
|
489 |
+
if ( $link_format ) {
|
490 |
+
break;
|
491 |
+
}
|
492 |
+
}
|
493 |
+
|
494 |
+
if ( $link_format ) {
|
495 |
+
$searchVal = array("%number%", "%2$s");
|
496 |
+
$replaceVal = array( $tracking_item['tracking_number'], urlencode( $postcode ) );
|
497 |
+
$link_format = str_replace($searchVal, $replaceVal, $link_format);
|
498 |
+
|
499 |
+
$formatted['formatted_tracking_link'] = $link_format;
|
500 |
+
}
|
501 |
+
|
502 |
+
}
|
503 |
+
|
504 |
+
return $formatted;
|
505 |
+
}
|
506 |
+
|
507 |
+
/**
|
508 |
+
* Deletes a tracking item from post_meta array
|
509 |
+
*
|
510 |
+
* @param int $order_id Order ID
|
511 |
+
* @param string $tracking_id Tracking ID
|
512 |
+
*
|
513 |
+
* @return bool True if tracking item is deleted successfully
|
514 |
+
*/
|
515 |
+
public function delete_tracking_item( $order_id, $tracking_id ) {
|
516 |
+
$tracking_items = $this->get_tracking_items( $order_id );
|
517 |
+
|
518 |
+
$is_deleted = false;
|
519 |
+
|
520 |
+
if ( count( $tracking_items ) > 0 ) {
|
521 |
+
foreach ( $tracking_items as $key => $item ) {
|
522 |
+
if ( $item['tracking_id'] == $tracking_id ) {
|
523 |
+
unset( $tracking_items[ $key ] );
|
524 |
+
$is_deleted = true;
|
525 |
+
break;
|
526 |
+
}
|
527 |
+
}
|
528 |
+
$this->save_tracking_items( $order_id, $tracking_items );
|
529 |
+
}
|
530 |
+
|
531 |
+
return $is_deleted;
|
532 |
+
}
|
533 |
+
|
534 |
+
/*
|
535 |
+
* Adds a tracking item to the post_meta array
|
536 |
+
*
|
537 |
+
* @param int $order_id Order ID
|
538 |
+
* @param array $tracking_items List of tracking item
|
539 |
+
*
|
540 |
+
* @return array Tracking item
|
541 |
+
*/
|
542 |
+
public function add_tracking_item( $order_id, $args ) {
|
543 |
+
$tracking_item = array();
|
544 |
+
|
545 |
+
$tracking_item['tracking_provider'] = wc_clean( $args['tracking_provider'] );
|
546 |
+
$tracking_item['custom_tracking_provider'] = wc_clean( $args['custom_tracking_provider'] );
|
547 |
+
$tracking_item['custom_tracking_link'] = wc_clean( $args['custom_tracking_link'] );
|
548 |
+
$tracking_item['tracking_number'] = wc_clean( $args['tracking_number'] );
|
549 |
+
$tracking_item['date_shipped'] = wc_clean( strtotime( $args['date_shipped'] ) );
|
550 |
+
|
551 |
+
if ( 0 == (int) $tracking_item['date_shipped'] ) {
|
552 |
+
$tracking_item['date_shipped'] = time();
|
553 |
+
}
|
554 |
+
|
555 |
+
if ( $tracking_item['custom_tracking_provider'] ) {
|
556 |
+
$tracking_item['tracking_id'] = md5( "{$tracking_item['custom_tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
|
557 |
+
} else {
|
558 |
+
$tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
|
559 |
+
}
|
560 |
+
|
561 |
+
$tracking_items = $this->get_tracking_items( $order_id );
|
562 |
+
$tracking_items[] = $tracking_item;
|
563 |
+
|
564 |
+
$this->save_tracking_items( $order_id, $tracking_items );
|
565 |
+
|
566 |
+
return $tracking_item;
|
567 |
+
}
|
568 |
+
|
569 |
+
/**
|
570 |
+
* Saves the tracking items array to post_meta.
|
571 |
+
*
|
572 |
+
* @param int $order_id Order ID
|
573 |
+
* @param array $tracking_items List of tracking item
|
574 |
+
*/
|
575 |
+
public function save_tracking_items( $order_id, $tracking_items ) {
|
576 |
+
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
577 |
+
update_post_meta( $order_id, '_wc_shipment_tracking_items', $tracking_items );
|
578 |
+
} else {
|
579 |
+
$order = new WC_Order( $order_id );
|
580 |
+
$order->update_meta_data( '_wc_shipment_tracking_items', $tracking_items );
|
581 |
+
$order->save_meta_data();
|
582 |
+
}
|
583 |
+
}
|
584 |
+
|
585 |
+
/**
|
586 |
+
* Gets a single tracking item from the post_meta array for an order.
|
587 |
+
*
|
588 |
+
* @param int $order_id Order ID
|
589 |
+
* @param string $tracking_id Tracking ID
|
590 |
+
* @param bool $formatted Wether or not to reslove the final tracking
|
591 |
+
* link and provider in the returned tracking item.
|
592 |
+
* Default to false.
|
593 |
+
*
|
594 |
+
* @return null|array Null if not found, otherwise array of tracking item will be returned
|
595 |
+
*/
|
596 |
+
public function get_tracking_item( $order_id, $tracking_id, $formatted = false ) {
|
597 |
+
$tracking_items = $this->get_tracking_items( $order_id, $formatted );
|
598 |
+
|
599 |
+
if ( count( $tracking_items ) ) {
|
600 |
+
foreach ( $tracking_items as $item ) {
|
601 |
+
if ( $item['tracking_id'] === $tracking_id ) {
|
602 |
+
return $item;
|
603 |
+
}
|
604 |
+
}
|
605 |
+
}
|
606 |
+
|
607 |
+
return null;
|
608 |
+
}
|
609 |
+
|
610 |
+
/*
|
611 |
+
* Gets all tracking itesm fron the post meta array for an order
|
612 |
+
*
|
613 |
+
* @param int $order_id Order ID
|
614 |
+
* @param bool $formatted Wether or not to reslove the final tracking link
|
615 |
+
* and provider in the returned tracking item.
|
616 |
+
* Default to false.
|
617 |
+
*
|
618 |
+
* @return array List of tracking items
|
619 |
+
*/
|
620 |
+
public function get_tracking_items( $order_id, $formatted = false ) {
|
621 |
+
global $wpdb;
|
622 |
+
|
623 |
+
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
624 |
+
$tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
|
625 |
+
} else {
|
626 |
+
$order = new WC_Order( $order_id );
|
627 |
+
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
628 |
+
}
|
629 |
+
|
630 |
+
if ( is_array( $tracking_items ) ) {
|
631 |
+
if ( $formatted ) {
|
632 |
+
foreach ( $tracking_items as &$item ) {
|
633 |
+
$formatted_item = $this->get_formatted_tracking_item( $order_id, $item );
|
634 |
+
$item = array_merge( $item, $formatted_item );
|
635 |
+
}
|
636 |
+
}
|
637 |
+
return $tracking_items;
|
638 |
+
} else {
|
639 |
+
return array();
|
640 |
+
}
|
641 |
+
}
|
642 |
+
|
643 |
+
/**
|
644 |
+
* Gets the absolute plugin path without a trailing slash, e.g.
|
645 |
+
* /path/to/wp-content/plugins/plugin-directory
|
646 |
+
*
|
647 |
+
* @return string plugin path
|
648 |
+
*/
|
649 |
+
public function get_plugin_path() {
|
650 |
+
$this->plugin_path = untrailingslashit( plugin_dir_path( dirname( __FILE__ ) ) );
|
651 |
+
return $this->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+
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-02-22 04:39+0000\n"
|
6 |
+
"PO-Revision-Date: 2019-02-22 04:46+0000\n"
|
7 |
+
"Last-Translator: Gaurav Patel <gaurav1092@zorem.com>\n"
|
8 |
+
"Language-Team: German\n"
|
9 |
+
"Language: de_DE\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.2.0; wp-5.0.3"
|
16 |
+
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:82
|
18 |
+
#, php-format
|
19 |
+
msgid ""
|
20 |
+
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
21 |
+
"Shipment Tracking!"
|
22 |
+
msgstr ""
|
23 |
+
"Bitte installieren und aktivieren Sie% sWooCommerce% s für die erweiterte "
|
24 |
+
"Sendungsverfolgung von WooCommerce!"
|
25 |
+
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:592
|
27 |
+
#: woocommerce-advanced-shipment-tracking.php:680
|
28 |
+
msgid "Shipment Tracking"
|
29 |
+
msgstr "Sendungsverfolgung"
|
30 |
+
|
31 |
+
#: woocommerce-advanced-shipment-tracking.php:710
|
32 |
+
msgid "Add Tracking Info"
|
33 |
+
msgstr "Tracking-Info hinzufügen"
|
34 |
+
|
35 |
+
#: woocommerce-advanced-shipment-tracking.php:714
|
36 |
+
msgid "Provider:"
|
37 |
+
msgstr "Anbieter:"
|
38 |
+
|
39 |
+
#: woocommerce-advanced-shipment-tracking.php:715
|
40 |
+
msgid "Select Provider"
|
41 |
+
msgstr "Wählen Sie Provider aus"
|
42 |
+
|
43 |
+
#: woocommerce-advanced-shipment-tracking.php:748
|
44 |
+
msgid "Tracking number:"
|
45 |
+
msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
|
46 |
+
|
47 |
+
#: woocommerce-advanced-shipment-tracking.php:756
|
48 |
+
msgid "Date shipped:"
|
49 |
+
msgstr "Lieferdatum:"
|
50 |
+
|
51 |
+
#: woocommerce-advanced-shipment-tracking.php:763
|
52 |
+
msgid "Save Tracking"
|
53 |
+
msgstr "Tracking speichern"
|
54 |
+
|
55 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
56 |
+
msgid "Preview:"
|
57 |
+
msgstr "Vorschau:"
|
58 |
+
|
59 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
60 |
+
msgid "Click here to track shipment"
|
61 |
+
msgstr "Klicken Sie hier, um den Versand zu verfolgen"
|
62 |
+
|
63 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
64 |
+
msgid "Click here to track your shipment"
|
65 |
+
msgstr "Klicken Sie hier, um Ihre Sendung zu verfolgen"
|
66 |
+
|
67 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
68 |
+
msgid "Track"
|
69 |
+
msgstr "Spur"
|
70 |
+
|
71 |
+
#. 1: shipping date
|
72 |
+
#: woocommerce-advanced-shipment-tracking.php:944
|
73 |
+
#, php-format
|
74 |
+
msgid "Shipped on %s"
|
75 |
+
msgstr "Versand auf% s"
|
76 |
+
|
77 |
+
#: woocommerce-advanced-shipment-tracking.php:945
|
78 |
+
msgid "Delete"
|
79 |
+
msgstr "Löschen"
|
80 |
+
|
81 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:158
|
82 |
+
#, php-format
|
83 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
84 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
85 |
+
msgstr[0] "Ausgeliefert <span class = \"count\"> (% s) </ span>"
|
86 |
+
msgstr[1] "Ausgeliefert <span class = \"count\"> (% s) </ span>"
|
87 |
+
|
88 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:183
|
89 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:200
|
90 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:210
|
91 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:218
|
92 |
+
msgid "Delivered"
|
93 |
+
msgstr "Geliefert"
|
94 |
+
|
95 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:188
|
96 |
+
#, php-format
|
97 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
98 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
99 |
+
msgstr[0] "Geliefert <span class = \"count\"> (% s) </ span>"
|
100 |
+
msgstr[1] "Geliefert <span class = \"count\"> (% s) </ span>"
|
101 |
+
|
102 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:481
|
103 |
+
msgid "Order"
|
104 |
+
msgstr "Auftrag"
|
105 |
+
|
106 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:482
|
107 |
+
msgid "Item"
|
108 |
+
msgstr "Artikel"
|
109 |
+
|
110 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:483
|
111 |
+
msgid "Line Item"
|
112 |
+
msgstr "Werbebuchung"
|
113 |
+
|
114 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:484
|
115 |
+
msgid "Class"
|
116 |
+
msgstr "Klasse"
|
117 |
+
|
118 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
119 |
+
msgid "Delete the selected rates?"
|
120 |
+
msgstr "Die ausgewählten Tarife löschen?"
|
121 |
+
|
122 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:486
|
123 |
+
msgid "Duplicate the selected rates?"
|
124 |
+
msgstr "Die ausgewählten Tarife duplizieren?"
|
125 |
+
|
126 |
+
#. Name of the plugin
|
127 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:602
|
128 |
+
msgid "WooCommerce Advanced Shipment Tracking"
|
129 |
+
msgstr "WooCommerce - Erweiterte Sendungsverfolgung"
|
130 |
+
|
131 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:607
|
132 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:635
|
133 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
134 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:728
|
135 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
136 |
+
msgid "Shipping Provider"
|
137 |
+
msgstr "Versandanbieter"
|
138 |
+
|
139 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:610
|
140 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:757
|
141 |
+
msgid "Settings"
|
142 |
+
msgstr "die Einstellungen"
|
143 |
+
|
144 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:617
|
145 |
+
msgid "Select Shiping Provider which you want to use in order."
|
146 |
+
msgstr ""
|
147 |
+
"Wählen Sie den Versandanbieter aus, den Sie der Reihe nach verwenden möchten."
|
148 |
+
|
149 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:620
|
150 |
+
msgid "Default shipping provider :"
|
151 |
+
msgstr "Standardversandanbieter:"
|
152 |
+
|
153 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:622
|
154 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1233
|
155 |
+
msgid "Please select default provider"
|
156 |
+
msgstr "Bitte wählen Sie einen Standardanbieter"
|
157 |
+
|
158 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:641
|
159 |
+
msgid "Shipping Country"
|
160 |
+
msgstr "Lieferungsland"
|
161 |
+
|
162 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:645
|
163 |
+
msgid "Status"
|
164 |
+
msgstr "Status"
|
165 |
+
|
166 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:684
|
167 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:732
|
168 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1186
|
169 |
+
msgid "None"
|
170 |
+
msgstr "Keiner"
|
171 |
+
|
172 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:698
|
173 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:741
|
174 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1200
|
175 |
+
msgid "Tracking Page"
|
176 |
+
msgstr "Tracking-Seite"
|
177 |
+
|
178 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:701
|
179 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1203
|
180 |
+
msgid "Shipping URL"
|
181 |
+
msgstr "Versand-URL"
|
182 |
+
|
183 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:708
|
184 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:746
|
185 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:760
|
186 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1210
|
187 |
+
msgid "Save"
|
188 |
+
msgstr "sparen"
|
189 |
+
|
190 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:720
|
191 |
+
msgid "Add Custom Shipping Provider"
|
192 |
+
msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
|
193 |
+
|
194 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
195 |
+
msgid ""
|
196 |
+
"You can add tracking number parameter like this - http://shippingprovider."
|
197 |
+
"com?tracking_number=%number% , %number% - parameter"
|
198 |
+
msgstr ""
|
199 |
+
"Sie können den Parameter für die Tracking-Nummer wie folgt hinzufügen - http:"
|
200 |
+
"//shippingprovider.com?tracking_number=%number%,% number% - Parameter"
|
201 |
+
|
202 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:762
|
203 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:779
|
204 |
+
msgid "Data saved successfully."
|
205 |
+
msgstr "Daten erfolgreich gespeichert."
|
206 |
+
|
207 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
208 |
+
msgid "Rename the “Completed” Order status to “Shipped”"
|
209 |
+
msgstr ""
|
210 |
+
"Benennen Sie den Status der abgeschlossenen Bestellung in \"Versendet\" um."
|
211 |
+
|
212 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1006
|
213 |
+
msgid "Enable a New Custom order status - “Delivered”"
|
214 |
+
msgstr ""
|
215 |
+
"Aktivieren Sie einen neuen benutzerdefinierten Auftragsstatus - \"Geliefert\""
|
216 |
+
|
217 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
218 |
+
msgid "Status Label color"
|
219 |
+
msgstr "Status Beschriftungsfarbe"
|
lang/woo-advanced-shipment-tracking-es_ES.mo
ADDED
Binary file
|
lang/woo-advanced-shipment-tracking-es_ES.po
ADDED
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-02-22 04:39+0000\n"
|
6 |
+
"PO-Revision-Date: 2019-02-22 04:51+0000\n"
|
7 |
+
"Last-Translator: Gaurav Patel <gaurav1092@zorem.com>\n"
|
8 |
+
"Language-Team: Spanish (Spain)\n"
|
9 |
+
"Language: es_ES\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.2.0; wp-5.0.3"
|
16 |
+
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:82
|
18 |
+
#, php-format
|
19 |
+
msgid ""
|
20 |
+
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
21 |
+
"Shipment Tracking!"
|
22 |
+
msgstr ""
|
23 |
+
"¡Instale y active% sWooCommerce% s para el seguimiento de envío avanzado de "
|
24 |
+
"WooCommerce!"
|
25 |
+
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:592
|
27 |
+
#: woocommerce-advanced-shipment-tracking.php:680
|
28 |
+
msgid "Shipment Tracking"
|
29 |
+
msgstr "rastreo de envío"
|
30 |
+
|
31 |
+
#: woocommerce-advanced-shipment-tracking.php:710
|
32 |
+
msgid "Add Tracking Info"
|
33 |
+
msgstr "Agregar información de seguimiento"
|
34 |
+
|
35 |
+
#: woocommerce-advanced-shipment-tracking.php:714
|
36 |
+
msgid "Provider:"
|
37 |
+
msgstr "Proveedor:"
|
38 |
+
|
39 |
+
#: woocommerce-advanced-shipment-tracking.php:715
|
40 |
+
msgid "Select Provider"
|
41 |
+
msgstr "Seleccionar Proveedor"
|
42 |
+
|
43 |
+
#: woocommerce-advanced-shipment-tracking.php:748
|
44 |
+
msgid "Tracking number:"
|
45 |
+
msgstr "El número de rastreo:"
|
46 |
+
|
47 |
+
#: woocommerce-advanced-shipment-tracking.php:756
|
48 |
+
msgid "Date shipped:"
|
49 |
+
msgstr "Fecha de envío:"
|
50 |
+
|
51 |
+
#: woocommerce-advanced-shipment-tracking.php:763
|
52 |
+
msgid "Save Tracking"
|
53 |
+
msgstr "Guardar seguimiento"
|
54 |
+
|
55 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
56 |
+
msgid "Preview:"
|
57 |
+
msgstr "Avance:"
|
58 |
+
|
59 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
60 |
+
msgid "Click here to track shipment"
|
61 |
+
msgstr "Haga clic aquí para rastrear el envío"
|
62 |
+
|
63 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
64 |
+
msgid "Click here to track your shipment"
|
65 |
+
msgstr "Haga clic aquí para rastrear su envío"
|
66 |
+
|
67 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
68 |
+
msgid "Track"
|
69 |
+
msgstr "Pista"
|
70 |
+
|
71 |
+
#. 1: shipping date
|
72 |
+
#: woocommerce-advanced-shipment-tracking.php:944
|
73 |
+
#, php-format
|
74 |
+
msgid "Shipped on %s"
|
75 |
+
msgstr "Enviado en% s"
|
76 |
+
|
77 |
+
#: woocommerce-advanced-shipment-tracking.php:945
|
78 |
+
msgid "Delete"
|
79 |
+
msgstr "Borrar"
|
80 |
+
|
81 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:158
|
82 |
+
#, php-format
|
83 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
84 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
85 |
+
msgstr[0] "Enviado <span class = \"count\"> (% s) </span>"
|
86 |
+
msgstr[1] "Enviado <span class = \"count\"> (% s) </span>"
|
87 |
+
|
88 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:183
|
89 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:200
|
90 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:210
|
91 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:218
|
92 |
+
msgid "Delivered"
|
93 |
+
msgstr "Entregado"
|
94 |
+
|
95 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:188
|
96 |
+
#, php-format
|
97 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
98 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
99 |
+
msgstr[0] "Entregado <span class = \"count\"> (% s) </span>"
|
100 |
+
msgstr[1] "Entregado <span class = \"count\"> (% s) </span>"
|
101 |
+
|
102 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:481
|
103 |
+
msgid "Order"
|
104 |
+
msgstr "Orden"
|
105 |
+
|
106 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:482
|
107 |
+
msgid "Item"
|
108 |
+
msgstr "ít"
|
109 |
+
|
110 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:483
|
111 |
+
msgid "Line Item"
|
112 |
+
msgstr "Elemento en linea"
|
113 |
+
|
114 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:484
|
115 |
+
msgid "Class"
|
116 |
+
msgstr "Clase"
|
117 |
+
|
118 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
119 |
+
msgid "Delete the selected rates?"
|
120 |
+
msgstr "¿Eliminar las tarifas seleccionadas?"
|
121 |
+
|
122 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:486
|
123 |
+
msgid "Duplicate the selected rates?"
|
124 |
+
msgstr "¿Duplicar las tarifas seleccionadas?"
|
125 |
+
|
126 |
+
#. Name of the plugin
|
127 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:602
|
128 |
+
msgid "WooCommerce Advanced Shipment Tracking"
|
129 |
+
msgstr "Seguimiento avanzado de envíos de WooCommerce"
|
130 |
+
|
131 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:607
|
132 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:635
|
133 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
134 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:728
|
135 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
136 |
+
msgid "Shipping Provider"
|
137 |
+
msgstr "Proveedor de envio"
|
138 |
+
|
139 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:610
|
140 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:757
|
141 |
+
msgid "Settings"
|
142 |
+
msgstr "Ajustes"
|
143 |
+
|
144 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:617
|
145 |
+
msgid "Select Shiping Provider which you want to use in order."
|
146 |
+
msgstr "Seleccione el proveedor de envío que desea utilizar en orden."
|
147 |
+
|
148 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:620
|
149 |
+
msgid "Default shipping provider :"
|
150 |
+
msgstr "Proveedor de envío predeterminado:"
|
151 |
+
|
152 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:622
|
153 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1233
|
154 |
+
msgid "Please select default provider"
|
155 |
+
msgstr "Por favor seleccione el proveedor predeterminado"
|
156 |
+
|
157 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:641
|
158 |
+
msgid "Shipping Country"
|
159 |
+
msgstr "País de envío"
|
160 |
+
|
161 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:645
|
162 |
+
msgid "Status"
|
163 |
+
msgstr "Estado"
|
164 |
+
|
165 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:684
|
166 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:732
|
167 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1186
|
168 |
+
msgid "None"
|
169 |
+
msgstr "Ninguna"
|
170 |
+
|
171 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:698
|
172 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:741
|
173 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1200
|
174 |
+
msgid "Tracking Page"
|
175 |
+
msgstr "Página de seguimiento"
|
176 |
+
|
177 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:701
|
178 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1203
|
179 |
+
msgid "Shipping URL"
|
180 |
+
msgstr "Shipping URL"
|
181 |
+
|
182 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:708
|
183 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:746
|
184 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:760
|
185 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1210
|
186 |
+
msgid "Save"
|
187 |
+
msgstr "Salvar"
|
188 |
+
|
189 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:720
|
190 |
+
msgid "Add Custom Shipping Provider"
|
191 |
+
msgstr "Añadir proveedor de envío personalizado"
|
192 |
+
|
193 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
194 |
+
msgid ""
|
195 |
+
"You can add tracking number parameter like this - http://shippingprovider."
|
196 |
+
"com?tracking_number=%number% , %number% - parameter"
|
197 |
+
msgstr ""
|
198 |
+
"Puede agregar un parámetro de número de seguimiento como este: http:"
|
199 |
+
"//shippingprovider.com?tracking_number=%number%,% number% - parámetro"
|
200 |
+
|
201 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:762
|
202 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:779
|
203 |
+
msgid "Data saved successfully."
|
204 |
+
msgstr "Datos guardados exitosamente."
|
205 |
+
|
206 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
207 |
+
msgid "Rename the “Completed” Order status to “Shipped”"
|
208 |
+
msgstr "Cambie el nombre del estado del pedido \"Completado\" a \"Enviado\""
|
209 |
+
|
210 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1006
|
211 |
+
msgid "Enable a New Custom order status - “Delivered”"
|
212 |
+
msgstr "Habilitar un nuevo estado de pedido personalizado - \"Entregado\""
|
213 |
+
|
214 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
215 |
+
msgid "Status Label color"
|
216 |
+
msgstr "Color de la etiqueta de estado"
|
lang/woo-advanced-shipment-tracking-fr_FR.mo
ADDED
Binary file
|
lang/woo-advanced-shipment-tracking-fr_FR.po
ADDED
@@ -0,0 +1,218 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-02-22 04:39+0000\n"
|
6 |
+
"PO-Revision-Date: 2019-02-22 04:44+0000\n"
|
7 |
+
"Last-Translator: Gaurav Patel <gaurav1092@zorem.com>\n"
|
8 |
+
"Language-Team: French (France)\n"
|
9 |
+
"Language: fr_FR\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.2.0; wp-5.0.3"
|
16 |
+
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:82
|
18 |
+
#, php-format
|
19 |
+
msgid ""
|
20 |
+
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
21 |
+
"Shipment Tracking!"
|
22 |
+
msgstr ""
|
23 |
+
"Veuillez installer et activer% sWooCommerce% s pour le suivi des envois "
|
24 |
+
"WooCommerce Advanced!"
|
25 |
+
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:592
|
27 |
+
#: woocommerce-advanced-shipment-tracking.php:680
|
28 |
+
msgid "Shipment Tracking"
|
29 |
+
msgstr "Suivi des expéditions"
|
30 |
+
|
31 |
+
#: woocommerce-advanced-shipment-tracking.php:710
|
32 |
+
msgid "Add Tracking Info"
|
33 |
+
msgstr "Ajouter des informations de suivi"
|
34 |
+
|
35 |
+
#: woocommerce-advanced-shipment-tracking.php:714
|
36 |
+
msgid "Provider:"
|
37 |
+
msgstr "Fournisseur:"
|
38 |
+
|
39 |
+
#: woocommerce-advanced-shipment-tracking.php:715
|
40 |
+
msgid "Select Provider"
|
41 |
+
msgstr "Sélectionner un fournisseur"
|
42 |
+
|
43 |
+
#: woocommerce-advanced-shipment-tracking.php:748
|
44 |
+
msgid "Tracking number:"
|
45 |
+
msgstr "Numéro de suivi:"
|
46 |
+
|
47 |
+
#: woocommerce-advanced-shipment-tracking.php:756
|
48 |
+
msgid "Date shipped:"
|
49 |
+
msgstr "Date d'expédition:"
|
50 |
+
|
51 |
+
#: woocommerce-advanced-shipment-tracking.php:763
|
52 |
+
msgid "Save Tracking"
|
53 |
+
msgstr "Enregistrer le suivi"
|
54 |
+
|
55 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
56 |
+
msgid "Preview:"
|
57 |
+
msgstr "Aperçu:"
|
58 |
+
|
59 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
60 |
+
msgid "Click here to track shipment"
|
61 |
+
msgstr "Cliquez ici pour suivre l'expédition"
|
62 |
+
|
63 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
64 |
+
msgid "Click here to track your shipment"
|
65 |
+
msgstr "Cliquez ici pour suivre votre envoi"
|
66 |
+
|
67 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
68 |
+
msgid "Track"
|
69 |
+
msgstr "Piste"
|
70 |
+
|
71 |
+
#. 1: shipping date
|
72 |
+
#: woocommerce-advanced-shipment-tracking.php:944
|
73 |
+
#, php-format
|
74 |
+
msgid "Shipped on %s"
|
75 |
+
msgstr "Expédié le% s"
|
76 |
+
|
77 |
+
#: woocommerce-advanced-shipment-tracking.php:945
|
78 |
+
msgid "Delete"
|
79 |
+
msgstr "Effacer"
|
80 |
+
|
81 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:158
|
82 |
+
#, php-format
|
83 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
84 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
85 |
+
msgstr[0] "Envoyé <span class = \"count\"> (% s) </ span>"
|
86 |
+
msgstr[1] "Envoyé <span class = \"count\"> (% s) </ span>"
|
87 |
+
|
88 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:183
|
89 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:200
|
90 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:210
|
91 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:218
|
92 |
+
msgid "Delivered"
|
93 |
+
msgstr "Livré"
|
94 |
+
|
95 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:188
|
96 |
+
#, php-format
|
97 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
98 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
99 |
+
msgstr[0] "Livré <span class = \"count\"> (% s) </ span>"
|
100 |
+
msgstr[1] "Livré <span class = \"count\"> (% s) </ span>"
|
101 |
+
|
102 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:481
|
103 |
+
msgid "Order"
|
104 |
+
msgstr "Ordre"
|
105 |
+
|
106 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:482
|
107 |
+
msgid "Item"
|
108 |
+
msgstr "Article"
|
109 |
+
|
110 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:483
|
111 |
+
msgid "Line Item"
|
112 |
+
msgstr "Élément de ligne"
|
113 |
+
|
114 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:484
|
115 |
+
msgid "Class"
|
116 |
+
msgstr "Classe"
|
117 |
+
|
118 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
119 |
+
msgid "Delete the selected rates?"
|
120 |
+
msgstr "Supprimer les tarifs sélectionnés?"
|
121 |
+
|
122 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:486
|
123 |
+
msgid "Duplicate the selected rates?"
|
124 |
+
msgstr "Dupliquer les tarifs sélectionnés?"
|
125 |
+
|
126 |
+
#. Name of the plugin
|
127 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:602
|
128 |
+
msgid "WooCommerce Advanced Shipment Tracking"
|
129 |
+
msgstr "WooCommerce Suivi avancé des envois"
|
130 |
+
|
131 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:607
|
132 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:635
|
133 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
134 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:728
|
135 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
136 |
+
msgid "Shipping Provider"
|
137 |
+
msgstr "Fournisseur d'expédition"
|
138 |
+
|
139 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:610
|
140 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:757
|
141 |
+
msgid "Settings"
|
142 |
+
msgstr "Réglages"
|
143 |
+
|
144 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:617
|
145 |
+
msgid "Select Shiping Provider which you want to use in order."
|
146 |
+
msgstr ""
|
147 |
+
"Sélectionnez le fournisseur d'expédition que vous souhaitez utiliser dans "
|
148 |
+
"l'ordre."
|
149 |
+
|
150 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:620
|
151 |
+
msgid "Default shipping provider :"
|
152 |
+
msgstr "Fournisseur d'expédition par défaut:"
|
153 |
+
|
154 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:622
|
155 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1233
|
156 |
+
msgid "Please select default provider"
|
157 |
+
msgstr "Veuillez sélectionner le fournisseur par défaut"
|
158 |
+
|
159 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:641
|
160 |
+
msgid "Shipping Country"
|
161 |
+
msgstr "Pays de livraison"
|
162 |
+
|
163 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:645
|
164 |
+
msgid "Status"
|
165 |
+
msgstr "Statut"
|
166 |
+
|
167 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:684
|
168 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:732
|
169 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1186
|
170 |
+
msgid "None"
|
171 |
+
msgstr "Aucun"
|
172 |
+
|
173 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:698
|
174 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:741
|
175 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1200
|
176 |
+
msgid "Tracking Page"
|
177 |
+
msgstr "Page de suivi"
|
178 |
+
|
179 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:701
|
180 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1203
|
181 |
+
msgid "Shipping URL"
|
182 |
+
msgstr "URL de livraison"
|
183 |
+
|
184 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:708
|
185 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:746
|
186 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:760
|
187 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1210
|
188 |
+
msgid "Save"
|
189 |
+
msgstr "sauvegarder"
|
190 |
+
|
191 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:720
|
192 |
+
msgid "Add Custom Shipping Provider"
|
193 |
+
msgstr "Ajouter un fournisseur d'expédition personnalisé"
|
194 |
+
|
195 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
196 |
+
msgid ""
|
197 |
+
"You can add tracking number parameter like this - http://shippingprovider."
|
198 |
+
"com?tracking_number=%number% , %number% - parameter"
|
199 |
+
msgstr ""
|
200 |
+
"Vous pouvez ajouter un paramètre de numéro de suivi comme celui-ci - http:"
|
201 |
+
"//shippingprovider.com?tracking_number=%number%,% number% - paramètre"
|
202 |
+
|
203 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:762
|
204 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:779
|
205 |
+
msgid "Data saved successfully."
|
206 |
+
msgstr "Données sauvegardées avec succès."
|
207 |
+
|
208 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
209 |
+
msgid "Rename the “Completed” Order status to “Shipped”"
|
210 |
+
msgstr "Renommez le statut «Terminé» en «Expédié»."
|
211 |
+
|
212 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1006
|
213 |
+
msgid "Enable a New Custom order status - “Delivered”"
|
214 |
+
msgstr "Activer un nouveau statut de commande personnalisée - «Livré»"
|
215 |
+
|
216 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
217 |
+
msgid "Status Label color"
|
218 |
+
msgstr "Couleur de l'étiquette d'état"
|
lang/woo-advanced-shipment-tracking-he_IL.mo
ADDED
Binary file
|
lang/woo-advanced-shipment-tracking-he_IL.po
ADDED
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-02-22 04:39+0000\n"
|
6 |
+
"PO-Revision-Date: 2019-02-22 04:40+0000\n"
|
7 |
+
"Last-Translator: Gaurav Patel <gaurav1092@zorem.com>\n"
|
8 |
+
"Language-Team: Hebrew\n"
|
9 |
+
"Language: he_IL\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.2.0; wp-5.0.3"
|
16 |
+
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:82
|
18 |
+
#, php-format
|
19 |
+
msgid ""
|
20 |
+
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
21 |
+
"Shipment Tracking!"
|
22 |
+
msgstr ""
|
23 |
+
|
24 |
+
#: woocommerce-advanced-shipment-tracking.php:592
|
25 |
+
#: woocommerce-advanced-shipment-tracking.php:680
|
26 |
+
msgid "Shipment Tracking"
|
27 |
+
msgstr "מעקב אחר משלוח"
|
28 |
+
|
29 |
+
#: woocommerce-advanced-shipment-tracking.php:710
|
30 |
+
msgid "Add Tracking Info"
|
31 |
+
msgstr "הוסף פרטי מעקב"
|
32 |
+
|
33 |
+
#: woocommerce-advanced-shipment-tracking.php:714
|
34 |
+
msgid "Provider:"
|
35 |
+
msgstr "ספק שירות"
|
36 |
+
|
37 |
+
#: woocommerce-advanced-shipment-tracking.php:715
|
38 |
+
msgid "Select Provider"
|
39 |
+
msgstr "בחר ספק"
|
40 |
+
|
41 |
+
#: woocommerce-advanced-shipment-tracking.php:748
|
42 |
+
msgid "Tracking number:"
|
43 |
+
msgstr "מספר מעקב"
|
44 |
+
|
45 |
+
#: woocommerce-advanced-shipment-tracking.php:756
|
46 |
+
msgid "Date shipped:"
|
47 |
+
msgstr "תאריך משלוח:"
|
48 |
+
|
49 |
+
#: woocommerce-advanced-shipment-tracking.php:763
|
50 |
+
msgid "Save Tracking"
|
51 |
+
msgstr "שמירת פרטי מעקב"
|
52 |
+
|
53 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
54 |
+
msgid "Preview:"
|
55 |
+
msgstr "תצוגה מקדימה:"
|
56 |
+
|
57 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
58 |
+
msgid "Click here to track shipment"
|
59 |
+
msgstr "לחץ כאן כדי לעקוב אחר המשלוח"
|
60 |
+
|
61 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
62 |
+
msgid "Click here to track your shipment"
|
63 |
+
msgstr "הקלק למעקב משלוח"
|
64 |
+
|
65 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
66 |
+
msgid "Track"
|
67 |
+
msgstr "מעקב הזמנה"
|
68 |
+
|
69 |
+
#. 1: shipping date
|
70 |
+
#: woocommerce-advanced-shipment-tracking.php:944
|
71 |
+
#, php-format
|
72 |
+
msgid "Shipped on %s"
|
73 |
+
msgstr "נשלח ב- %s"
|
74 |
+
|
75 |
+
#: woocommerce-advanced-shipment-tracking.php:945
|
76 |
+
msgid "Delete"
|
77 |
+
msgstr "מחק"
|
78 |
+
|
79 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:158
|
80 |
+
#, php-format
|
81 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
82 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
83 |
+
msgstr[0] "נשלחו <span class=\"count\">(%s)</span>"
|
84 |
+
msgstr[1] ""
|
85 |
+
|
86 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:183
|
87 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:200
|
88 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:210
|
89 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:218
|
90 |
+
msgid "Delivered"
|
91 |
+
msgstr "נמסרה ללקוח"
|
92 |
+
|
93 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:188
|
94 |
+
#, php-format
|
95 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
96 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
97 |
+
msgstr[0] "נמסרה ללקוח <span class=\"count\">(%s)</span>"
|
98 |
+
msgstr[1] ""
|
99 |
+
|
100 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:481
|
101 |
+
msgid "Order"
|
102 |
+
msgstr "הזמנה"
|
103 |
+
|
104 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:482
|
105 |
+
msgid "Item"
|
106 |
+
msgstr "פריט"
|
107 |
+
|
108 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:483
|
109 |
+
msgid "Line Item"
|
110 |
+
msgstr "פריט שורה"
|
111 |
+
|
112 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:484
|
113 |
+
msgid "Class"
|
114 |
+
msgstr "מעמד"
|
115 |
+
|
116 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
117 |
+
msgid "Delete the selected rates?"
|
118 |
+
msgstr "מחק שורות מסומנות"
|
119 |
+
|
120 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:486
|
121 |
+
msgid "Duplicate the selected rates?"
|
122 |
+
msgstr "שכפל את התעריפים המסומנים"
|
123 |
+
|
124 |
+
#. Name of the plugin
|
125 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:602
|
126 |
+
msgid "WooCommerce Advanced Shipment Tracking"
|
127 |
+
msgstr "מעקב משלוחים מתקדם עבור WooCommerce"
|
128 |
+
|
129 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:607
|
130 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:635
|
131 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
132 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:728
|
133 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
134 |
+
msgid "Shipping Provider"
|
135 |
+
msgstr "ספק שירות"
|
136 |
+
|
137 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:610
|
138 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:757
|
139 |
+
msgid "Settings"
|
140 |
+
msgstr "הגדרות"
|
141 |
+
|
142 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:617
|
143 |
+
msgid "Select Shiping Provider which you want to use in order."
|
144 |
+
msgstr "בחר בספק/י המשלוח בהם תרצה להשתמש לפי הסדר."
|
145 |
+
|
146 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:620
|
147 |
+
msgid "Default shipping provider :"
|
148 |
+
msgstr ""
|
149 |
+
"ספק משלוח ברירת המחדל\n"
|
150 |
+
|
151 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:622
|
152 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1233
|
153 |
+
msgid "Please select default provider"
|
154 |
+
msgstr "בחר את ספק המשלוח ברירת המחדל"
|
155 |
+
|
156 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:641
|
157 |
+
msgid "Shipping Country"
|
158 |
+
msgstr "מדינה למשלוח"
|
159 |
+
|
160 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:645
|
161 |
+
msgid "Status"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:684
|
165 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:732
|
166 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1186
|
167 |
+
msgid "None"
|
168 |
+
msgstr "אף אחד"
|
169 |
+
|
170 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:698
|
171 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:741
|
172 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1200
|
173 |
+
msgid "Tracking Page"
|
174 |
+
msgstr "לינק למעקב"
|
175 |
+
|
176 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:701
|
177 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1203
|
178 |
+
msgid "Shipping URL"
|
179 |
+
msgstr "כתובת אינטרנט"
|
180 |
+
|
181 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:708
|
182 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:746
|
183 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:760
|
184 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1210
|
185 |
+
msgid "Save"
|
186 |
+
msgstr "שמירה"
|
187 |
+
|
188 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:720
|
189 |
+
msgid "Add Custom Shipping Provider"
|
190 |
+
msgstr "הוספת ספק משלוח ייחודי"
|
191 |
+
|
192 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
193 |
+
msgid ""
|
194 |
+
"You can add tracking number parameter like this - http://shippingprovider."
|
195 |
+
"com?tracking_number=%number% , %number% - parameter"
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:762
|
199 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:779
|
200 |
+
msgid "Data saved successfully."
|
201 |
+
msgstr "נשמר בהצלחה"
|
202 |
+
|
203 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
204 |
+
msgid "Rename the “Completed” Order status to “Shipped”"
|
205 |
+
msgstr "שנה את השם של סטטוס הזמנה 'הושלמה' ל- 'נשלחה'"
|
206 |
+
|
207 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1006
|
208 |
+
msgid "Enable a New Custom order status - “Delivered”"
|
209 |
+
msgstr "אפשר יצירת סטטוס הזמנה חדש - \"נמסרה ללקוח״"
|
210 |
+
|
211 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
212 |
+
msgid "Status Label color"
|
213 |
+
msgstr "צבע הסטטוס"
|
lang/woo-advanced-shipment-tracking-hi_IN.mo
ADDED
Binary file
|
lang/woo-advanced-shipment-tracking-hi_IN.po
ADDED
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-02-22 04:39+0000\n"
|
6 |
+
"PO-Revision-Date: 2019-02-22 04:53+0000\n"
|
7 |
+
"Last-Translator: Gaurav Patel <gaurav1092@zorem.com>\n"
|
8 |
+
"Language-Team: Hindi\n"
|
9 |
+
"Language: hi_IN\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.2.0; wp-5.0.3"
|
16 |
+
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:82
|
18 |
+
#, php-format
|
19 |
+
msgid ""
|
20 |
+
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
21 |
+
"Shipment Tracking!"
|
22 |
+
msgstr ""
|
23 |
+
"कृपया WooCommerce उन्नत शिपमेंट ट्रैकिंग के लिए% sWooCommerce% s को स्थापित "
|
24 |
+
"और सक्रिय करें!"
|
25 |
+
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:592
|
27 |
+
#: woocommerce-advanced-shipment-tracking.php:680
|
28 |
+
msgid "Shipment Tracking"
|
29 |
+
msgstr "नौवहन पर नज़र रखना"
|
30 |
+
|
31 |
+
#: woocommerce-advanced-shipment-tracking.php:710
|
32 |
+
msgid "Add Tracking Info"
|
33 |
+
msgstr "ट्रैकिंग जानकारी जोड़ें"
|
34 |
+
|
35 |
+
#: woocommerce-advanced-shipment-tracking.php:714
|
36 |
+
msgid "Provider:"
|
37 |
+
msgstr "प्रदाता:"
|
38 |
+
|
39 |
+
#: woocommerce-advanced-shipment-tracking.php:715
|
40 |
+
msgid "Select Provider"
|
41 |
+
msgstr "Select Provider"
|
42 |
+
|
43 |
+
#: woocommerce-advanced-shipment-tracking.php:748
|
44 |
+
msgid "Tracking number:"
|
45 |
+
msgstr "खोज संख्या:"
|
46 |
+
|
47 |
+
#: woocommerce-advanced-shipment-tracking.php:756
|
48 |
+
msgid "Date shipped:"
|
49 |
+
msgstr "जिस तारीख पर भेजा गया:"
|
50 |
+
|
51 |
+
#: woocommerce-advanced-shipment-tracking.php:763
|
52 |
+
msgid "Save Tracking"
|
53 |
+
msgstr "ट्रैकिंग सहेजें"
|
54 |
+
|
55 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
56 |
+
msgid "Preview:"
|
57 |
+
msgstr "पूर्वावलोकन:"
|
58 |
+
|
59 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
60 |
+
msgid "Click here to track shipment"
|
61 |
+
msgstr "शिपमेंट को ट्रैक करने के लिए यहां क्लिक करें"
|
62 |
+
|
63 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
64 |
+
msgid "Click here to track your shipment"
|
65 |
+
msgstr "अपने शिपमेंट को ट्रैक करने के लिए यहां क्लिक करें"
|
66 |
+
|
67 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
68 |
+
msgid "Track"
|
69 |
+
msgstr "धावन पथ"
|
70 |
+
|
71 |
+
#. 1: shipping date
|
72 |
+
#: woocommerce-advanced-shipment-tracking.php:944
|
73 |
+
#, php-format
|
74 |
+
msgid "Shipped on %s"
|
75 |
+
msgstr "% S पर भेज दिया गया"
|
76 |
+
|
77 |
+
#: woocommerce-advanced-shipment-tracking.php:945
|
78 |
+
msgid "Delete"
|
79 |
+
msgstr "हटाना"
|
80 |
+
|
81 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:158
|
82 |
+
#, php-format
|
83 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
84 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
85 |
+
msgstr[0] "भेज दिया गया <span class = \"count\"> (% s) </ span>"
|
86 |
+
msgstr[1] "भेज दिया गया <span class = \"count\"> (% s) </ span>"
|
87 |
+
|
88 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:183
|
89 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:200
|
90 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:210
|
91 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:218
|
92 |
+
msgid "Delivered"
|
93 |
+
msgstr "पहुंचा दिया"
|
94 |
+
|
95 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:188
|
96 |
+
#, php-format
|
97 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
98 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
99 |
+
msgstr[0] "वितरित <span class = \"count\"> (% s) </ span>"
|
100 |
+
msgstr[1] "वितरित <span class = \"count\"> (% s) </ span>"
|
101 |
+
|
102 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:481
|
103 |
+
msgid "Order"
|
104 |
+
msgstr "क्रम"
|
105 |
+
|
106 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:482
|
107 |
+
msgid "Item"
|
108 |
+
msgstr "मद"
|
109 |
+
|
110 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:483
|
111 |
+
msgid "Line Item"
|
112 |
+
msgstr "लाइन आइटम"
|
113 |
+
|
114 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:484
|
115 |
+
msgid "Class"
|
116 |
+
msgstr "कक्षा"
|
117 |
+
|
118 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
119 |
+
msgid "Delete the selected rates?"
|
120 |
+
msgstr "चयनित दरों को हटाएं?"
|
121 |
+
|
122 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:486
|
123 |
+
msgid "Duplicate the selected rates?"
|
124 |
+
msgstr "चयनित दरों की नकल करें?"
|
125 |
+
|
126 |
+
#. Name of the plugin
|
127 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:602
|
128 |
+
msgid "WooCommerce Advanced Shipment Tracking"
|
129 |
+
msgstr "WooCommerce उन्नत शिपमेंट ट्रैकिंग"
|
130 |
+
|
131 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:607
|
132 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:635
|
133 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
134 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:728
|
135 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
136 |
+
msgid "Shipping Provider"
|
137 |
+
msgstr "शिपिंग प्रदाता"
|
138 |
+
|
139 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:610
|
140 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:757
|
141 |
+
msgid "Settings"
|
142 |
+
msgstr "सेटिंग्स"
|
143 |
+
|
144 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:617
|
145 |
+
msgid "Select Shiping Provider which you want to use in order."
|
146 |
+
msgstr "शिपिंग प्रदाता का चयन करें जिसे आप क्रम में उपयोग करना चाहते हैं।"
|
147 |
+
|
148 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:620
|
149 |
+
msgid "Default shipping provider :"
|
150 |
+
msgstr "डिफ़ॉल्ट शिपिंग प्रदाता:"
|
151 |
+
|
152 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:622
|
153 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1233
|
154 |
+
msgid "Please select default provider"
|
155 |
+
msgstr "कृपया डिफ़ॉल्ट प्रदाता चुनें"
|
156 |
+
|
157 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:641
|
158 |
+
msgid "Shipping Country"
|
159 |
+
msgstr "शिपिंग देश"
|
160 |
+
|
161 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:645
|
162 |
+
msgid "Status"
|
163 |
+
msgstr "स्थिति"
|
164 |
+
|
165 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:684
|
166 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:732
|
167 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1186
|
168 |
+
msgid "None"
|
169 |
+
msgstr "कोई नहीं"
|
170 |
+
|
171 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:698
|
172 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:741
|
173 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1200
|
174 |
+
msgid "Tracking Page"
|
175 |
+
msgstr "ट्रैकिंग पृष्ठ"
|
176 |
+
|
177 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:701
|
178 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1203
|
179 |
+
msgid "Shipping URL"
|
180 |
+
msgstr "शिपिंग URL"
|
181 |
+
|
182 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:708
|
183 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:746
|
184 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:760
|
185 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1210
|
186 |
+
msgid "Save"
|
187 |
+
msgstr "बचाना"
|
188 |
+
|
189 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:720
|
190 |
+
msgid "Add Custom Shipping Provider"
|
191 |
+
msgstr "कस्टम शिपिंग प्रदाता जोड़ें"
|
192 |
+
|
193 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
194 |
+
msgid ""
|
195 |
+
"You can add tracking number parameter like this - http://shippingprovider."
|
196 |
+
"com?tracking_number=%number% , %number% - parameter"
|
197 |
+
msgstr ""
|
198 |
+
"आप इस तरह ट्रैकिंग नंबर पैरामीटर जोड़ सकते हैं - http://shippingprovider.com?"
|
199 |
+
"tracking_number=%number%,%%% - पैरामीटर"
|
200 |
+
|
201 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:762
|
202 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:779
|
203 |
+
msgid "Data saved successfully."
|
204 |
+
msgstr "डेटा सफलतापूर्वक सहेजा गया।"
|
205 |
+
|
206 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
207 |
+
msgid "Rename the “Completed” Order status to “Shipped”"
|
208 |
+
msgstr "\"भेज दिया गया\" ऑर्डर की स्थिति को \"भेज दिया गया\" का नाम दें"
|
209 |
+
|
210 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1006
|
211 |
+
msgid "Enable a New Custom order status - “Delivered”"
|
212 |
+
msgstr "एक नई कस्टम ऑर्डर स्थिति सक्षम करें - \"वितरित\""
|
213 |
+
|
214 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
215 |
+
msgid "Status Label color"
|
216 |
+
msgstr "स्थिति लेबल रंग"
|
lang/woo-advanced-shipment-tracking-it_IT.mo
ADDED
Binary file
|
lang/woo-advanced-shipment-tracking-it_IT.po
ADDED
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-02-22 04:39+0000\n"
|
6 |
+
"PO-Revision-Date: 2019-02-22 04:54+0000\n"
|
7 |
+
"Last-Translator: Gaurav Patel <gaurav1092@zorem.com>\n"
|
8 |
+
"Language-Team: Italian\n"
|
9 |
+
"Language: it_IT\n"
|
10 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.2.0; wp-5.0.3"
|
16 |
+
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:82
|
18 |
+
#, php-format
|
19 |
+
msgid ""
|
20 |
+
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
21 |
+
"Shipment Tracking!"
|
22 |
+
msgstr ""
|
23 |
+
"Installa e attiva% sWooCommerce% s per il monitoraggio avanzato delle "
|
24 |
+
"spedizioni di WooCommerce!"
|
25 |
+
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:592
|
27 |
+
#: woocommerce-advanced-shipment-tracking.php:680
|
28 |
+
msgid "Shipment Tracking"
|
29 |
+
msgstr "Monitoraggio della spedizione"
|
30 |
+
|
31 |
+
#: woocommerce-advanced-shipment-tracking.php:710
|
32 |
+
msgid "Add Tracking Info"
|
33 |
+
msgstr "Aggiungi informazioni di monitoraggio"
|
34 |
+
|
35 |
+
#: woocommerce-advanced-shipment-tracking.php:714
|
36 |
+
msgid "Provider:"
|
37 |
+
msgstr "Provider:"
|
38 |
+
|
39 |
+
#: woocommerce-advanced-shipment-tracking.php:715
|
40 |
+
msgid "Select Provider"
|
41 |
+
msgstr "Seleziona Provider"
|
42 |
+
|
43 |
+
#: woocommerce-advanced-shipment-tracking.php:748
|
44 |
+
msgid "Tracking number:"
|
45 |
+
msgstr "Numero di identificazione:"
|
46 |
+
|
47 |
+
#: woocommerce-advanced-shipment-tracking.php:756
|
48 |
+
msgid "Date shipped:"
|
49 |
+
msgstr "Data di spedizione:"
|
50 |
+
|
51 |
+
#: woocommerce-advanced-shipment-tracking.php:763
|
52 |
+
msgid "Save Tracking"
|
53 |
+
msgstr "Salva il monitoraggio"
|
54 |
+
|
55 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
56 |
+
msgid "Preview:"
|
57 |
+
msgstr "Anteprima:"
|
58 |
+
|
59 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
60 |
+
msgid "Click here to track shipment"
|
61 |
+
msgstr "Clicca qui per rintracciare la spedizione"
|
62 |
+
|
63 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
64 |
+
msgid "Click here to track your shipment"
|
65 |
+
msgstr "Clicca qui per tracciare la spedizione"
|
66 |
+
|
67 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
68 |
+
msgid "Track"
|
69 |
+
msgstr "Traccia"
|
70 |
+
|
71 |
+
#. 1: shipping date
|
72 |
+
#: woocommerce-advanced-shipment-tracking.php:944
|
73 |
+
#, php-format
|
74 |
+
msgid "Shipped on %s"
|
75 |
+
msgstr "Spedito su% s"
|
76 |
+
|
77 |
+
#: woocommerce-advanced-shipment-tracking.php:945
|
78 |
+
msgid "Delete"
|
79 |
+
msgstr "Elimina"
|
80 |
+
|
81 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:158
|
82 |
+
#, php-format
|
83 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
84 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
85 |
+
msgstr[0] "Spedito <span class = \"count\"> (% s) </ span>"
|
86 |
+
msgstr[1] "Spedito <span class = \"count\"> (% s) </ span>"
|
87 |
+
|
88 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:183
|
89 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:200
|
90 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:210
|
91 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:218
|
92 |
+
msgid "Delivered"
|
93 |
+
msgstr "consegnato"
|
94 |
+
|
95 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:188
|
96 |
+
#, php-format
|
97 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
98 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
99 |
+
msgstr[0] "Consegnato <span class = \"count\"> (% s) </ span>"
|
100 |
+
msgstr[1] "Consegnato <span class = \"count\"> (% s) </ span>"
|
101 |
+
|
102 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:481
|
103 |
+
msgid "Order"
|
104 |
+
msgstr "Ordine"
|
105 |
+
|
106 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:482
|
107 |
+
msgid "Item"
|
108 |
+
msgstr "Articolo"
|
109 |
+
|
110 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:483
|
111 |
+
msgid "Line Item"
|
112 |
+
msgstr "Elemento pubblicitario"
|
113 |
+
|
114 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:484
|
115 |
+
msgid "Class"
|
116 |
+
msgstr "Classe"
|
117 |
+
|
118 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
119 |
+
msgid "Delete the selected rates?"
|
120 |
+
msgstr "Cancellare le tariffe selezionate?"
|
121 |
+
|
122 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:486
|
123 |
+
msgid "Duplicate the selected rates?"
|
124 |
+
msgstr "Duplica le tariffe selezionate?"
|
125 |
+
|
126 |
+
#. Name of the plugin
|
127 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:602
|
128 |
+
msgid "WooCommerce Advanced Shipment Tracking"
|
129 |
+
msgstr "WooCommerce Tracking avanzato delle spedizioni"
|
130 |
+
|
131 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:607
|
132 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:635
|
133 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
134 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:728
|
135 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
136 |
+
msgid "Shipping Provider"
|
137 |
+
msgstr "Fornitore di spedizione"
|
138 |
+
|
139 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:610
|
140 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:757
|
141 |
+
msgid "Settings"
|
142 |
+
msgstr "impostazioni"
|
143 |
+
|
144 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:617
|
145 |
+
msgid "Select Shiping Provider which you want to use in order."
|
146 |
+
msgstr "Seleziona Fornitore di spedizione che desideri utilizzare in ordine."
|
147 |
+
|
148 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:620
|
149 |
+
msgid "Default shipping provider :"
|
150 |
+
msgstr "Provider di spedizione predefinito:"
|
151 |
+
|
152 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:622
|
153 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1233
|
154 |
+
msgid "Please select default provider"
|
155 |
+
msgstr "Si prega di selezionare il fornitore di default"
|
156 |
+
|
157 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:641
|
158 |
+
msgid "Shipping Country"
|
159 |
+
msgstr "Paese di spedizione"
|
160 |
+
|
161 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:645
|
162 |
+
msgid "Status"
|
163 |
+
msgstr "Stato"
|
164 |
+
|
165 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:684
|
166 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:732
|
167 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1186
|
168 |
+
msgid "None"
|
169 |
+
msgstr "Nessuna"
|
170 |
+
|
171 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:698
|
172 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:741
|
173 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1200
|
174 |
+
msgid "Tracking Page"
|
175 |
+
msgstr "Pagina di monitoraggio"
|
176 |
+
|
177 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:701
|
178 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1203
|
179 |
+
msgid "Shipping URL"
|
180 |
+
msgstr "URL di spedizione"
|
181 |
+
|
182 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:708
|
183 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:746
|
184 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:760
|
185 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1210
|
186 |
+
msgid "Save"
|
187 |
+
msgstr "Salvare"
|
188 |
+
|
189 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:720
|
190 |
+
msgid "Add Custom Shipping Provider"
|
191 |
+
msgstr "Aggiungi fornitore di spedizione personalizzato"
|
192 |
+
|
193 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
194 |
+
msgid ""
|
195 |
+
"You can add tracking number parameter like this - http://shippingprovider."
|
196 |
+
"com?tracking_number=%number% , %number% - parameter"
|
197 |
+
msgstr ""
|
198 |
+
"Puoi aggiungere un parametro numero di tracciamento come questo - http:"
|
199 |
+
"//shippingprovider.com?tracking_number=%number%,% number% - parametro"
|
200 |
+
|
201 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:762
|
202 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:779
|
203 |
+
msgid "Data saved successfully."
|
204 |
+
msgstr "Dati salvati correttamente."
|
205 |
+
|
206 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
207 |
+
msgid "Rename the “Completed” Order status to “Shipped”"
|
208 |
+
msgstr "Rinominare lo stato dell'ordine \"Completato\" su \"Spedito\""
|
209 |
+
|
210 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1006
|
211 |
+
msgid "Enable a New Custom order status - “Delivered”"
|
212 |
+
msgstr "Abilita un nuovo stato dell'ordine personalizzato - \"Consegnato\""
|
213 |
+
|
214 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
215 |
+
msgid "Status Label color"
|
216 |
+
msgstr "Colore etichetta di stato"
|
lang/woo-advanced-shipment-tracking-nb_NO.mo
ADDED
Binary file
|
lang/woo-advanced-shipment-tracking-nb_NO.po
ADDED
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-02-22 04:39+0000\n"
|
6 |
+
"PO-Revision-Date: 2019-02-22 04:50+0000\n"
|
7 |
+
"Language-Team: Norwegian (Bokmål)\n"
|
8 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Loco https://localise.biz/\n"
|
13 |
+
"X-Loco-Version: 2.2.0; wp-5.0.3\n"
|
14 |
+
"Last-Translator: Gaurav Patel <gaurav1092@zorem.com>\n"
|
15 |
+
"Language: nb_NO"
|
16 |
+
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:82
|
18 |
+
#, php-format
|
19 |
+
msgid ""
|
20 |
+
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
21 |
+
"Shipment Tracking!"
|
22 |
+
msgstr ""
|
23 |
+
"Vennligst installer og aktiver %sWooCommerce%s for WooCommerce Advanced "
|
24 |
+
"Shipment Tracking!"
|
25 |
+
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:592
|
27 |
+
#: woocommerce-advanced-shipment-tracking.php:680
|
28 |
+
msgid "Shipment Tracking"
|
29 |
+
msgstr "Sporing"
|
30 |
+
|
31 |
+
#: woocommerce-advanced-shipment-tracking.php:710
|
32 |
+
msgid "Add Tracking Info"
|
33 |
+
msgstr "Legg til sporingsinformasjon"
|
34 |
+
|
35 |
+
#: woocommerce-advanced-shipment-tracking.php:714
|
36 |
+
msgid "Provider:"
|
37 |
+
msgstr "Fraktselskap:"
|
38 |
+
|
39 |
+
#: woocommerce-advanced-shipment-tracking.php:715
|
40 |
+
msgid "Select Provider"
|
41 |
+
msgstr "Velg fraktselskap"
|
42 |
+
|
43 |
+
#: woocommerce-advanced-shipment-tracking.php:748
|
44 |
+
msgid "Tracking number:"
|
45 |
+
msgstr "Sporingsnummer:"
|
46 |
+
|
47 |
+
#: woocommerce-advanced-shipment-tracking.php:756
|
48 |
+
msgid "Date shipped:"
|
49 |
+
msgstr "Dato sendt:"
|
50 |
+
|
51 |
+
#: woocommerce-advanced-shipment-tracking.php:763
|
52 |
+
msgid "Save Tracking"
|
53 |
+
msgstr "Lagre sporing"
|
54 |
+
|
55 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
56 |
+
msgid "Preview:"
|
57 |
+
msgstr "Forhåndsvis:"
|
58 |
+
|
59 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
60 |
+
msgid "Click here to track shipment"
|
61 |
+
msgstr "Klikk her for å spore ordre"
|
62 |
+
|
63 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
64 |
+
msgid "Click here to track your shipment"
|
65 |
+
msgstr "Klikk her for å spore din ordre"
|
66 |
+
|
67 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
68 |
+
msgid "Track"
|
69 |
+
msgstr "Sporing"
|
70 |
+
|
71 |
+
#. 1: shipping date
|
72 |
+
#: woocommerce-advanced-shipment-tracking.php:944
|
73 |
+
#, php-format
|
74 |
+
msgid "Shipped on %s"
|
75 |
+
msgstr "Sendt %s"
|
76 |
+
|
77 |
+
#: woocommerce-advanced-shipment-tracking.php:945
|
78 |
+
msgid "Delete"
|
79 |
+
msgstr "Slett"
|
80 |
+
|
81 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:158
|
82 |
+
#, php-format
|
83 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
84 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
85 |
+
msgstr[0] "Sendt <span class = \"count\"> (% s) </ span>"
|
86 |
+
msgstr[1] "Sendt <span class = \"count\"> (% s) </ span>"
|
87 |
+
|
88 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:183
|
89 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:200
|
90 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:210
|
91 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:218
|
92 |
+
msgid "Delivered"
|
93 |
+
msgstr "leveres"
|
94 |
+
|
95 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:188
|
96 |
+
#, php-format
|
97 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
98 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
99 |
+
msgstr[0] "Leveres <span class = \"count\"> (% s) </ span>"
|
100 |
+
msgstr[1] "Leveres <span class = \"count\"> (% s) </ span>"
|
101 |
+
|
102 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:481
|
103 |
+
msgid "Order"
|
104 |
+
msgstr "Ordre"
|
105 |
+
|
106 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:482
|
107 |
+
msgid "Item"
|
108 |
+
msgstr "Vare"
|
109 |
+
|
110 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:483
|
111 |
+
msgid "Line Item"
|
112 |
+
msgstr "Varelinje"
|
113 |
+
|
114 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:484
|
115 |
+
msgid "Class"
|
116 |
+
msgstr "Klasse"
|
117 |
+
|
118 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
119 |
+
msgid "Delete the selected rates?"
|
120 |
+
msgstr "Slett valgte priser?"
|
121 |
+
|
122 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:486
|
123 |
+
msgid "Duplicate the selected rates?"
|
124 |
+
msgstr "Dupliser valgte priser?"
|
125 |
+
|
126 |
+
#. Name of the plugin
|
127 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:602
|
128 |
+
msgid "WooCommerce Advanced Shipment Tracking"
|
129 |
+
msgstr "WooCommerce Avansert sendingsporing"
|
130 |
+
|
131 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:607
|
132 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:635
|
133 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
134 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:728
|
135 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
136 |
+
msgid "Shipping Provider"
|
137 |
+
msgstr "Fraktselskap"
|
138 |
+
|
139 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:610
|
140 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:757
|
141 |
+
msgid "Settings"
|
142 |
+
msgstr "Innstillinger"
|
143 |
+
|
144 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:617
|
145 |
+
msgid "Select Shiping Provider which you want to use in order."
|
146 |
+
msgstr "Velg fraktselskap du vil benytte for ordren."
|
147 |
+
|
148 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:620
|
149 |
+
msgid "Default shipping provider :"
|
150 |
+
msgstr "Standard fraktleverandør:"
|
151 |
+
|
152 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:622
|
153 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1233
|
154 |
+
msgid "Please select default provider"
|
155 |
+
msgstr "Vennligst velg standardleverandør"
|
156 |
+
|
157 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:641
|
158 |
+
msgid "Shipping Country"
|
159 |
+
msgstr "Forsendelsesland"
|
160 |
+
|
161 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:645
|
162 |
+
msgid "Status"
|
163 |
+
msgstr "Status"
|
164 |
+
|
165 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:684
|
166 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:732
|
167 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1186
|
168 |
+
msgid "None"
|
169 |
+
msgstr "Ingen"
|
170 |
+
|
171 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:698
|
172 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:741
|
173 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1200
|
174 |
+
msgid "Tracking Page"
|
175 |
+
msgstr "Sporingsside"
|
176 |
+
|
177 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:701
|
178 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1203
|
179 |
+
msgid "Shipping URL"
|
180 |
+
msgstr "Forsendelses-URL"
|
181 |
+
|
182 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:708
|
183 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:746
|
184 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:760
|
185 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1210
|
186 |
+
msgid "Save"
|
187 |
+
msgstr "Lagre"
|
188 |
+
|
189 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:720
|
190 |
+
msgid "Add Custom Shipping Provider"
|
191 |
+
msgstr "Legg til fraktselskap"
|
192 |
+
|
193 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
194 |
+
msgid ""
|
195 |
+
"You can add tracking number parameter like this - http://shippingprovider."
|
196 |
+
"com?tracking_number=%number% , %number% - parameter"
|
197 |
+
msgstr ""
|
198 |
+
"Du kan legge til sporingsparametre slik - http://shippingprovider.com?"
|
199 |
+
"tracking_number=%number% , %number% - parameter"
|
200 |
+
|
201 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:762
|
202 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:779
|
203 |
+
msgid "Data saved successfully."
|
204 |
+
msgstr "Data lagret vellykket."
|
205 |
+
|
206 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
207 |
+
msgid "Rename the “Completed” Order status to “Shipped”"
|
208 |
+
msgstr "Endre navn på \"Fullført\" bestillingsstatus til \"Sendt\""
|
209 |
+
|
210 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1006
|
211 |
+
msgid "Enable a New Custom order status - “Delivered”"
|
212 |
+
msgstr "Aktiver en ny tilpasset bestillingsstatus - \"Leveres\""
|
213 |
+
|
214 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
215 |
+
msgid "Status Label color"
|
216 |
+
msgstr "Status Label farge"
|
lang/woo-advanced-shipment-tracking-ru_RU.mo
ADDED
Binary file
|
lang/woo-advanced-shipment-tracking-ru_RU.po
ADDED
@@ -0,0 +1,218 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-02-22 04:39+0000\n"
|
6 |
+
"PO-Revision-Date: 2019-02-22 04:56+0000\n"
|
7 |
+
"Last-Translator: Gaurav Patel <gaurav1092@zorem.com>\n"
|
8 |
+
"Language-Team: Russian\n"
|
9 |
+
"Language: ru_RU\n"
|
10 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 && "
|
11 |
+
"n%10<=4 &&(n%100<10||n%100 >= 20)? 1 : 2);\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Loco https://localise.biz/\n"
|
16 |
+
"X-Loco-Version: 2.2.0; wp-5.0.3"
|
17 |
+
|
18 |
+
#: woocommerce-advanced-shipment-tracking.php:82
|
19 |
+
#, php-format
|
20 |
+
msgid ""
|
21 |
+
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
22 |
+
"Shipment Tracking!"
|
23 |
+
msgstr ""
|
24 |
+
"Пожалуйста, установите и активируйте% sWooCommerce% s для расширенного "
|
25 |
+
"отслеживания доставки WooCommerce!"
|
26 |
+
|
27 |
+
#: woocommerce-advanced-shipment-tracking.php:592
|
28 |
+
#: woocommerce-advanced-shipment-tracking.php:680
|
29 |
+
msgid "Shipment Tracking"
|
30 |
+
msgstr "отслеживание посылки"
|
31 |
+
|
32 |
+
#: woocommerce-advanced-shipment-tracking.php:710
|
33 |
+
msgid "Add Tracking Info"
|
34 |
+
msgstr "Добавить информацию отслеживания"
|
35 |
+
|
36 |
+
#: woocommerce-advanced-shipment-tracking.php:714
|
37 |
+
msgid "Provider:"
|
38 |
+
msgstr "Поставщик:"
|
39 |
+
|
40 |
+
#: woocommerce-advanced-shipment-tracking.php:715
|
41 |
+
msgid "Select Provider"
|
42 |
+
msgstr "Выберите провайдера"
|
43 |
+
|
44 |
+
#: woocommerce-advanced-shipment-tracking.php:748
|
45 |
+
msgid "Tracking number:"
|
46 |
+
msgstr "Идентификационный номер:"
|
47 |
+
|
48 |
+
#: woocommerce-advanced-shipment-tracking.php:756
|
49 |
+
msgid "Date shipped:"
|
50 |
+
msgstr "Дата отправки:"
|
51 |
+
|
52 |
+
#: woocommerce-advanced-shipment-tracking.php:763
|
53 |
+
msgid "Save Tracking"
|
54 |
+
msgstr "Сохранить отслеживание"
|
55 |
+
|
56 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
57 |
+
msgid "Preview:"
|
58 |
+
msgstr "Предварительный просмотр:"
|
59 |
+
|
60 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
61 |
+
msgid "Click here to track shipment"
|
62 |
+
msgstr "Нажмите здесь, чтобы отслеживать доставку"
|
63 |
+
|
64 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
65 |
+
msgid "Click here to track your shipment"
|
66 |
+
msgstr "Нажмите здесь, чтобы отследить ваш груз"
|
67 |
+
|
68 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
69 |
+
msgid "Track"
|
70 |
+
msgstr "трек"
|
71 |
+
|
72 |
+
#. 1: shipping date
|
73 |
+
#: woocommerce-advanced-shipment-tracking.php:944
|
74 |
+
#, php-format
|
75 |
+
msgid "Shipped on %s"
|
76 |
+
msgstr "Отправлено на% s"
|
77 |
+
|
78 |
+
#: woocommerce-advanced-shipment-tracking.php:945
|
79 |
+
msgid "Delete"
|
80 |
+
msgstr "удалять"
|
81 |
+
|
82 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:158
|
83 |
+
#, php-format
|
84 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
85 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
86 |
+
msgstr[0] "Отправлено <span class = \"count\"> (% s) </ span>"
|
87 |
+
msgstr[1] "Отправлено <span class = \"count\"> (% s) </ span>"
|
88 |
+
msgstr[2] "Отправлено <span class = \"count\"> (% s) </ span>"
|
89 |
+
|
90 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:183
|
91 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:200
|
92 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:210
|
93 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:218
|
94 |
+
msgid "Delivered"
|
95 |
+
msgstr "доставлен"
|
96 |
+
|
97 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:188
|
98 |
+
#, php-format
|
99 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
100 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
101 |
+
msgstr[0] "Доставлено <span class = \"count\"> (% s) </ span>"
|
102 |
+
msgstr[1] "Доставлено <span class = \"count\"> (% s) </ span>"
|
103 |
+
msgstr[2] "Доставлено <span class = \"count\"> (% s) </ span>"
|
104 |
+
|
105 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:481
|
106 |
+
msgid "Order"
|
107 |
+
msgstr "порядок"
|
108 |
+
|
109 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:482
|
110 |
+
msgid "Item"
|
111 |
+
msgstr "Вещь"
|
112 |
+
|
113 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:483
|
114 |
+
msgid "Line Item"
|
115 |
+
msgstr "Позиция"
|
116 |
+
|
117 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:484
|
118 |
+
msgid "Class"
|
119 |
+
msgstr "Учебный класс"
|
120 |
+
|
121 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
122 |
+
msgid "Delete the selected rates?"
|
123 |
+
msgstr "Удалить выбранные тарифы?"
|
124 |
+
|
125 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:486
|
126 |
+
msgid "Duplicate the selected rates?"
|
127 |
+
msgstr "Дублировать выбранные ставки?"
|
128 |
+
|
129 |
+
#. Name of the plugin
|
130 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:602
|
131 |
+
msgid "WooCommerce Advanced Shipment Tracking"
|
132 |
+
msgstr "WooCommerce расширенное отслеживание доставки"
|
133 |
+
|
134 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:607
|
135 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:635
|
136 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
137 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:728
|
138 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
139 |
+
msgid "Shipping Provider"
|
140 |
+
msgstr "Провайдер доставки"
|
141 |
+
|
142 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:610
|
143 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:757
|
144 |
+
msgid "Settings"
|
145 |
+
msgstr "настройки"
|
146 |
+
|
147 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:617
|
148 |
+
msgid "Select Shiping Provider which you want to use in order."
|
149 |
+
msgstr ""
|
150 |
+
"Выберите поставщика услуг доставки, который вы хотите использовать в заказе."
|
151 |
+
|
152 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:620
|
153 |
+
msgid "Default shipping provider :"
|
154 |
+
msgstr "Поставщик доставки по умолчанию:"
|
155 |
+
|
156 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:622
|
157 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1233
|
158 |
+
msgid "Please select default provider"
|
159 |
+
msgstr "Пожалуйста, выберите поставщика по умолчанию"
|
160 |
+
|
161 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:641
|
162 |
+
msgid "Shipping Country"
|
163 |
+
msgstr "Страна доставки"
|
164 |
+
|
165 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:645
|
166 |
+
msgid "Status"
|
167 |
+
msgstr "Статус"
|
168 |
+
|
169 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:684
|
170 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:732
|
171 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1186
|
172 |
+
msgid "None"
|
173 |
+
msgstr "Никто"
|
174 |
+
|
175 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:698
|
176 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:741
|
177 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1200
|
178 |
+
msgid "Tracking Page"
|
179 |
+
msgstr "Страница отслеживания"
|
180 |
+
|
181 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:701
|
182 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1203
|
183 |
+
msgid "Shipping URL"
|
184 |
+
msgstr "URL доставки"
|
185 |
+
|
186 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:708
|
187 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:746
|
188 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:760
|
189 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1210
|
190 |
+
msgid "Save"
|
191 |
+
msgstr "Сохранить"
|
192 |
+
|
193 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:720
|
194 |
+
msgid "Add Custom Shipping Provider"
|
195 |
+
msgstr "Добавить провайдер доставки"
|
196 |
+
|
197 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
198 |
+
msgid ""
|
199 |
+
"You can add tracking number parameter like this - http://shippingprovider."
|
200 |
+
"com?tracking_number=%number% , %number% - parameter"
|
201 |
+
msgstr "Вы можете добавить параметр номера для отслеживания, например, так:"
|
202 |
+
|
203 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:762
|
204 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:779
|
205 |
+
msgid "Data saved successfully."
|
206 |
+
msgstr "Данные успешно сохранены."
|
207 |
+
|
208 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
209 |
+
msgid "Rename the “Completed” Order status to “Shipped”"
|
210 |
+
msgstr "Переименуйте статус выполненного заказа в «Отправленный»"
|
211 |
+
|
212 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1006
|
213 |
+
msgid "Enable a New Custom order status - “Delivered”"
|
214 |
+
msgstr "Включить статус нового пользовательского заказа - «Доставлено»"
|
215 |
+
|
216 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
217 |
+
msgid "Status Label color"
|
218 |
+
msgstr "Цвет метки состояния"
|
lang/woo-advanced-shipment-tracking.pot
ADDED
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#, fuzzy
|
2 |
+
msgid ""
|
3 |
+
msgstr ""
|
4 |
+
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
5 |
+
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2019-02-22 04:39+0000\n"
|
7 |
+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
+
"Language-Team: \n"
|
10 |
+
"Language: \n"
|
11 |
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Loco https://localise.biz/\n"
|
16 |
+
"X-Loco-Version: 2.2.0; wp-5.0.3"
|
17 |
+
|
18 |
+
#: woocommerce-advanced-shipment-tracking.php:82
|
19 |
+
#, php-format
|
20 |
+
msgid ""
|
21 |
+
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
22 |
+
"Shipment Tracking!"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: woocommerce-advanced-shipment-tracking.php:592
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:680
|
27 |
+
msgid "Shipment Tracking"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: woocommerce-advanced-shipment-tracking.php:710
|
31 |
+
msgid "Add Tracking Info"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: woocommerce-advanced-shipment-tracking.php:714
|
35 |
+
msgid "Provider:"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: woocommerce-advanced-shipment-tracking.php:715
|
39 |
+
msgid "Select Provider"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: woocommerce-advanced-shipment-tracking.php:748
|
43 |
+
msgid "Tracking number:"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: woocommerce-advanced-shipment-tracking.php:756
|
47 |
+
msgid "Date shipped:"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: woocommerce-advanced-shipment-tracking.php:763
|
51 |
+
msgid "Save Tracking"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
55 |
+
msgid "Preview:"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: woocommerce-advanced-shipment-tracking.php:764
|
59 |
+
msgid "Click here to track shipment"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
63 |
+
msgid "Click here to track your shipment"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: woocommerce-advanced-shipment-tracking.php:937
|
67 |
+
msgid "Track"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#. 1: shipping date
|
71 |
+
#: woocommerce-advanced-shipment-tracking.php:944
|
72 |
+
#, php-format
|
73 |
+
msgid "Shipped on %s"
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: woocommerce-advanced-shipment-tracking.php:945
|
77 |
+
msgid "Delete"
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:158
|
81 |
+
#, php-format
|
82 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
83 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
84 |
+
msgstr[0] ""
|
85 |
+
msgstr[1] ""
|
86 |
+
|
87 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:183
|
88 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:200
|
89 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:210
|
90 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:218
|
91 |
+
msgid "Delivered"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:188
|
95 |
+
#, php-format
|
96 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
97 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
98 |
+
msgstr[0] ""
|
99 |
+
msgstr[1] ""
|
100 |
+
|
101 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:481
|
102 |
+
msgid "Order"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:482
|
106 |
+
msgid "Item"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:483
|
110 |
+
msgid "Line Item"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:484
|
114 |
+
msgid "Class"
|
115 |
+
msgstr ""
|
116 |
+
|
117 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:485
|
118 |
+
msgid "Delete the selected rates?"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:486
|
122 |
+
msgid "Duplicate the selected rates?"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#. Name of the plugin
|
126 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:602
|
127 |
+
msgid "WooCommerce Advanced Shipment Tracking"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:607
|
131 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:635
|
132 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
133 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:728
|
134 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
135 |
+
msgid "Shipping Provider"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:610
|
139 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:757
|
140 |
+
msgid "Settings"
|
141 |
+
msgstr ""
|
142 |
+
|
143 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:617
|
144 |
+
msgid "Select Shiping Provider which you want to use in order."
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:620
|
148 |
+
msgid "Default shipping provider :"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:622
|
152 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1233
|
153 |
+
msgid "Please select default provider"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:641
|
157 |
+
msgid "Shipping Country"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:645
|
161 |
+
msgid "Status"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:684
|
165 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:732
|
166 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1186
|
167 |
+
msgid "None"
|
168 |
+
msgstr ""
|
169 |
+
|
170 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:698
|
171 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:741
|
172 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1200
|
173 |
+
msgid "Tracking Page"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:701
|
177 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1203
|
178 |
+
msgid "Shipping URL"
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:708
|
182 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:746
|
183 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:760
|
184 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1210
|
185 |
+
msgid "Save"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:720
|
189 |
+
msgid "Add Custom Shipping Provider"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
193 |
+
msgid ""
|
194 |
+
"You can add tracking number parameter like this - http://shippingprovider."
|
195 |
+
"com?tracking_number=%number% , %number% - parameter"
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:762
|
199 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:779
|
200 |
+
msgid "Data saved successfully."
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
204 |
+
msgid "Rename the “Completed” Order status to “Shipped”"
|
205 |
+
msgstr ""
|
206 |
+
|
207 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1006
|
208 |
+
msgid "Enable a New Custom order status - “Delivered”"
|
209 |
+
msgstr ""
|
210 |
+
|
211 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1011
|
212 |
+
msgid "Status Label color"
|
213 |
+
msgstr ""
|
readme.txt
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== WooCommerce Advanced Shipment Tracking ===
|
2 |
+
Contributors: zorem
|
3 |
+
Donate link: https://www.zorem.com
|
4 |
+
Tags: WooCommerce
|
5 |
+
Requires at least: 4.0
|
6 |
+
Requires PHP: 5.2.4
|
7 |
+
Tested up to: 5.0
|
8 |
+
Stable tag: 5.0
|
9 |
+
License: GPLv2
|
10 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
+
|
12 |
+
Add shipment tracking information to your WooCommerce orders and provide customers with an easy way to track their orders. Shipment tracking Info will appear in customers accounts (in the order panel) and in WooCommerce order complete email.
|
13 |
+
|
14 |
+
== Description ==
|
15 |
+
|
16 |
+
WooCommerce Advanced Shipment Tracking is light-weight plugin that allow shop managers to add shipment tracking info to orders. This plugin give more than 50 default shipping providers and you can also add your own providers. This plugin allows shop managers to add shipment provider, tracking number and date to orders. Customer will receive the tracking info in the “order complete” emails and it will also appear in their account.
|
17 |
+
|
18 |
+
== Features ==
|
19 |
+
|
20 |
+
* add shipping provider and tracking number in order page.
|
21 |
+
* order tracking info will display in user accounts
|
22 |
+
* order tracking info will be added to “completed order” emails
|
23 |
+
* select which shipping providers they need to use in order page
|
24 |
+
* plugin have more than 50 default shipping providers.
|
25 |
+
* add custom shipping providers + tracking URL
|
26 |
+
|
27 |
+
== Frequently Asked Questions ==
|
28 |
+
|
29 |
+
= Can I add my shipping provider that is not in the list?
|
30 |
+
Yes, you can add custom providers and display only providers that are relevant to you.
|
31 |
+
= How do I add tracking number to be used in URL for custom shipping provider?
|
32 |
+
You can add tracking number parameter like this - http://shippingprovider.com?tracking_number=%number% , %number% - parameter
|
33 |
+
|
34 |
+
== Installation ==
|
35 |
+
|
36 |
+
1. Upload the folder woocommerce-advanced-shipment-tracking` to the `/wp-content/plugins/` folder
|
37 |
+
2. Activate the plugin through the 'Plugins' menu in WordPress
|
38 |
+
3. Select default shipping provider from setting page and add tracking number in order pag.
|
39 |
+
|
40 |
+
== Changelog ==
|
41 |
+
|
42 |
+
= 1.8.1 =
|
43 |
+
* Improved UI of Shipping Provider Table
|
44 |
+
* Add option for change Delivered status label color
|
45 |
+
* Added Norweign,Spanish,Hindi,Italian and Russian Language Support.
|
46 |
+
|
47 |
+
= 1.8 =
|
48 |
+
* Add version in js file to fix cache issue
|
49 |
+
|
50 |
+
= 1.7 =
|
51 |
+
* fixed. Language Issue
|
52 |
+
|
53 |
+
= 1.6 =
|
54 |
+
* fixed. Fatal error: Cannot redeclare maybe_create_table()
|
55 |
+
|
56 |
+
= 1.5 =
|
57 |
+
* improved UI.
|
58 |
+
* Added funtionality of ajax for adding tracking number
|
59 |
+
* shipping provider table css updated.
|
60 |
+
* added settings to new custom order status ( Delivered ) and rename existing order status Completed to Shipped.
|
61 |
+
|
62 |
+
|
63 |
+
= 1.4 =
|
64 |
+
* improved UI.
|
65 |
+
* Added language support for French and German.
|
66 |
+
|
67 |
+
= 1.3 =
|
68 |
+
* improved UI.
|
69 |
+
|
70 |
+
= 1.2 =
|
71 |
+
* Added support for woocommerce shipment tracking official plugin.
|
72 |
+
* Added rest api support.
|
73 |
+
* improved UI.
|
74 |
+
|
75 |
+
= 1.1 =
|
76 |
+
* Added Hebrew Language Support.
|
77 |
+
|
78 |
+
= 1.0 =
|
79 |
+
* Initial version.
|
templates/email/plain/tracking-info.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Shipment Tracking
|
8 |
+
*
|
9 |
+
* Shows tracking information in the plain text order email
|
10 |
+
*
|
11 |
+
* @author WooThemes
|
12 |
+
* @package WooCommerce Shipment Tracking/templates/email/plain
|
13 |
+
* @version 1.6.4
|
14 |
+
*/
|
15 |
+
|
16 |
+
if ( $tracking_items ) :
|
17 |
+
|
18 |
+
echo apply_filters( 'woocommerce_shipment_tracking_my_orders_title', __( 'TRACKING INFORMATION', 'woocommerce-advanced-shipment-tracking' ) );
|
19 |
+
|
20 |
+
echo "\n";
|
21 |
+
|
22 |
+
foreach ( $tracking_items as $tracking_item ) {
|
23 |
+
echo esc_html( $tracking_item[ 'formatted_tracking_provider' ] ) . "\n";
|
24 |
+
echo esc_html( $tracking_item[ 'tracking_number' ] ) . "\n";
|
25 |
+
echo esc_url( $tracking_item[ 'formatted_tracking_link' ] ) . "\n\n";
|
26 |
+
}
|
27 |
+
|
28 |
+
echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= \n\n";
|
29 |
+
|
30 |
+
endif;
|
31 |
+
|
32 |
+
?>
|
templates/email/tracking-info.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Shipment Tracking
|
8 |
+
*
|
9 |
+
* Shows tracking information in the HTML order email
|
10 |
+
*
|
11 |
+
* @author WooThemes
|
12 |
+
* @package WooCommerce Shipment Tracking/templates/email
|
13 |
+
* @version 1.6.4
|
14 |
+
*/
|
15 |
+
|
16 |
+
if ( $tracking_items ) : ?>
|
17 |
+
<h2><?php echo apply_filters( 'woocommerce_shipment_tracking_my_orders_title', __( 'Tracking Information', 'woocommerce-advanced-shipment-tracking' ) ); ?></h2>
|
18 |
+
|
19 |
+
<table class="td" cellspacing="0" cellpadding="6" style="width: 100%;" border="1">
|
20 |
+
|
21 |
+
<thead>
|
22 |
+
<tr>
|
23 |
+
<th class="tracking-provider" scope="col" class="td" style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #737373; border: 1px solid #e4e4e4; padding: 12px;"><?php _e( 'Provider', 'woocommerce-advanced-shipment-tracking' ); ?></th>
|
24 |
+
<th class="tracking-number" scope="col" class="td" style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #737373; border: 1px solid #e4e4e4; padding: 12px;"><?php _e( 'Tracking Number', 'woocommerce-advanced-shipment-tracking' ); ?></th>
|
25 |
+
<th class="date-shipped" scope="col" class="td" style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #737373; border: 1px solid #e4e4e4; padding: 12px;"><?php _e( 'Date', 'woocommerce-advanced-shipment-tracking' ); ?></th>
|
26 |
+
<th class="order-actions" scope="col" class="td" style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #737373; border: 1px solid #e4e4e4; padding: 12px;"> </th>
|
27 |
+
</tr>
|
28 |
+
</thead>
|
29 |
+
|
30 |
+
<tbody><?php
|
31 |
+
foreach ( $tracking_items as $tracking_item ) {
|
32 |
+
?><tr class="tracking">
|
33 |
+
<td class="tracking-provider" data-title="<?php _e( 'Provider', 'woocommerce-advanced-shipment-tracking' ); ?>" style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">
|
34 |
+
<?php echo esc_html( $tracking_item['formatted_tracking_provider'] ); ?>
|
35 |
+
</td>
|
36 |
+
<td class="tracking-number" data-title="<?php _e( 'Tracking Number', 'woocommerce-advanced-shipment-tracking' ); ?>" style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">
|
37 |
+
<?php echo esc_html( $tracking_item['tracking_number'] ); ?>
|
38 |
+
</td>
|
39 |
+
<td class="date-shipped" data-title="<?php _e( 'Status', 'woocommerce-advanced-shipment-tracking' ); ?>" style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">
|
40 |
+
<time datetime="<?php echo date( 'Y-m-d', $tracking_item['date_shipped'] ); ?>" title="<?php echo date( 'Y-m-d', $tracking_item['date_shipped'] ); ?>"><?php echo date_i18n( get_option( 'date_format' ), $tracking_item['date_shipped'] ); ?></time>
|
41 |
+
</td>
|
42 |
+
<td class="order-actions" style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">
|
43 |
+
<?php $url = str_replace('%number%',$tracking_item['tracking_number'],$tracking_item['formatted_tracking_link']); ?>
|
44 |
+
<a href="<?php echo esc_url( $url ); ?>" target="_blank"><?php _e( 'Track', 'woocommerce-advanced-shipment-tracking' ); ?></a>
|
45 |
+
</td>
|
46 |
+
</tr><?php
|
47 |
+
}
|
48 |
+
?></tbody>
|
49 |
+
</table><br /><br />
|
50 |
+
|
51 |
+
<?php
|
52 |
+
endif;
|
templates/myaccount/view-order.php
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
/**
|
7 |
+
* View Order: Tracking information
|
8 |
+
*
|
9 |
+
* Shows tracking numbers view order page
|
10 |
+
*
|
11 |
+
* @author WooThemes
|
12 |
+
* @package WooCommerce Shipment Tracking/templates/myaccount
|
13 |
+
* @version 1.6.4
|
14 |
+
*/
|
15 |
+
|
16 |
+
if ( $tracking_items ) : ?>
|
17 |
+
|
18 |
+
<h2><?php echo apply_filters( 'woocommerce_shipment_tracking_my_orders_title', __( 'Tracking Information', 'woocommerce-advanced-shipment-tracking' ) ); ?></h2>
|
19 |
+
|
20 |
+
<table class="shop_table shop_table_responsive my_account_tracking">
|
21 |
+
<thead>
|
22 |
+
<tr>
|
23 |
+
<th class="tracking-provider"><span class="nobr"><?php _e( 'Provider', 'woocommerce-advanced-shipment-tracking' ); ?></span></th>
|
24 |
+
<th class="tracking-number"><span class="nobr"><?php _e( 'Tracking Number', 'woocommerce-advanced-shipment-tracking' ); ?></span></th>
|
25 |
+
<th class="date-shipped"><span class="nobr"><?php _e( 'Date', 'woocommerce-advanced-shipment-tracking' ); ?></span></th>
|
26 |
+
<th class="order-actions"> </th>
|
27 |
+
</tr>
|
28 |
+
</thead>
|
29 |
+
<tbody><?php
|
30 |
+
foreach ( $tracking_items as $tracking_item ) {
|
31 |
+
?><tr class="tracking">
|
32 |
+
<td class="tracking-provider" data-title="<?php _e( 'Provider', 'woocommerce-advanced-shipment-tracking' ); ?>">
|
33 |
+
<?php echo esc_html( $tracking_item['formatted_tracking_provider'] ); ?>
|
34 |
+
</td>
|
35 |
+
<td class="tracking-number" data-title="<?php _e( 'Tracking Number', 'woocommerce-advanced-shipment-tracking' ); ?>">
|
36 |
+
<?php echo esc_html( $tracking_item['tracking_number'] ); ?>
|
37 |
+
</td>
|
38 |
+
<td class="date-shipped" data-title="<?php _e( 'Date', 'woocommerce-advanced-shipment-tracking' ); ?>" style="text-align:left; white-space:nowrap;">
|
39 |
+
<time datetime="<?php echo date( 'Y-m-d', $tracking_item['date_shipped'] ); ?>" title="<?php echo date( 'Y-m-d', $tracking_item['date_shipped'] ); ?>"><?php echo date_i18n( get_option( 'date_format' ), $tracking_item['date_shipped'] ); ?></time>
|
40 |
+
</td>
|
41 |
+
<td class="order-actions" style="text-align: center;">
|
42 |
+
<?php if ( '' !== $tracking_item['formatted_tracking_link'] ) {
|
43 |
+
$url = str_replace('%number%',$tracking_item['tracking_number'],$tracking_item['formatted_tracking_link']);
|
44 |
+
?>
|
45 |
+
<a href="<?php echo esc_url( $url ); ?>" target="_blank" class="button"><?php _e( 'Track', 'woocommerce-advanced-shipment-tracking' ); ?></a>
|
46 |
+
<?php } ?>
|
47 |
+
</td>
|
48 |
+
</tr><?php
|
49 |
+
}
|
50 |
+
?></tbody>
|
51 |
+
</table>
|
52 |
+
|
53 |
+
<?php
|
54 |
+
endif;
|
templates/pip/tracking-info.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Shipment Tracking
|
8 |
+
*
|
9 |
+
* Shows tracking information in the HTML order email
|
10 |
+
*
|
11 |
+
* @author WooThemes
|
12 |
+
* @package WooCommerce Shipment Tracking/templates/email
|
13 |
+
* @version 1.6.4
|
14 |
+
*/
|
15 |
+
?>
|
16 |
+
|
17 |
+
<h3><?php echo apply_filters( 'woocommerce_shipment_tracking_my_orders_title', __( 'Tracking Information', 'woocommerce-advanced-shipment-tracking' ) ); ?></h3>
|
18 |
+
|
19 |
+
<?php foreach ( $items as $item ) : ?>
|
20 |
+
<p class="tracking-content">
|
21 |
+
<strong><?php echo esc_html( $item['formatted_tracking_provider'] ); ?></strong>
|
22 |
+
<?php if ( strlen( $item['formatted_tracking_link'] ) > 0 ) : ?>
|
23 |
+
- <?php echo sprintf( '<a href="%s" target="_blank" title="' . esc_attr( __( 'Click here to track your shipment', 'woocommerce-advanced-shipment-tracking' ) ) . '">' . __( 'Track', 'woocommerce-advanced-shipment-tracking' ) . '</a>', $item['formatted_tracking_link'] ); ?>
|
24 |
+
<?php endif; ?>
|
25 |
+
<br/>
|
26 |
+
<em><?php echo esc_html( $item['tracking_number'] ); ?></em>
|
27 |
+
<br />
|
28 |
+
<?php /* translators: 1: date of shipping */ ?>
|
29 |
+
<span style="font-size: 0.8em"><?php echo esc_html( sprintf( __( 'Shipped on %s', 'woocommerce-advanced-shipment-tracking' ), date_i18n( 'Y-m-d', $item['date_shipped'] ) ) ); ?></span>
|
30 |
+
</p>
|
31 |
+
<?php endforeach; ?>
|
woocommerce-advanced-shipment-tracking.php
ADDED
@@ -0,0 +1,1389 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @wordpress-plugin
|
4 |
+
* Plugin Name: WooCommerce Advanced Shipment Tracking
|
5 |
+
* Plugin URI: http://www.zorem.com/shop
|
6 |
+
* Description: Add shipment tracking information to your WooCommerce orders and provide customers with an easy way to track their orders. Shipment tracking Info will appear in customers accounts (in the order panel) and in WooCommerce order complete email.
|
7 |
+
* Version: 1.8.1
|
8 |
+
* Author: zorem
|
9 |
+
* Author URI: http://www.zorem.com/
|
10 |
+
* License: GPL-2.0+
|
11 |
+
* License URI: http://www.zorem.com/
|
12 |
+
* Text Domain: woo-advanced-shipment-tracking
|
13 |
+
* Domain Path: /lang/
|
14 |
+
*/
|
15 |
+
|
16 |
+
class zorem_woocommerce_advanced_shipment_tracking {
|
17 |
+
|
18 |
+
/**
|
19 |
+
* WooCommerce Advanced Shipment Tracking version.
|
20 |
+
*
|
21 |
+
* @var string
|
22 |
+
*/
|
23 |
+
public $version = '1.8.1';
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Initialize the main plugin function
|
27 |
+
*/
|
28 |
+
public function __construct() {
|
29 |
+
|
30 |
+
$this->plugin_file = __FILE__;
|
31 |
+
|
32 |
+
global $wpdb;
|
33 |
+
$this->table = $wpdb->prefix."woo_shippment_provider";
|
34 |
+
|
35 |
+
if ( $this->is_wc_active() ) {
|
36 |
+
|
37 |
+
// Include required files.
|
38 |
+
$this->includes();
|
39 |
+
|
40 |
+
// Init REST API.
|
41 |
+
$this->init_rest_api();
|
42 |
+
|
43 |
+
//start adding hooks
|
44 |
+
$this->init();
|
45 |
+
|
46 |
+
//admin class init
|
47 |
+
$this->admin->init();
|
48 |
+
|
49 |
+
}
|
50 |
+
}
|
51 |
+
|
52 |
+
/**
|
53 |
+
* Check if WooCommerce is active
|
54 |
+
*
|
55 |
+
* @access private
|
56 |
+
* @since 1.0.0
|
57 |
+
* @return bool
|
58 |
+
*/
|
59 |
+
private function is_wc_active() {
|
60 |
+
|
61 |
+
$active_plugins = (array) get_option( 'active_plugins', array() );
|
62 |
+
|
63 |
+
$is_active = in_array( 'woocommerce/woocommerce.php', $active_plugins ) || array_key_exists( 'woocommerce/woocommerce.php', $active_plugins );
|
64 |
+
|
65 |
+
// Do the WC active check
|
66 |
+
if ( false === $is_active ) {
|
67 |
+
add_action( 'admin_notices', array( $this, 'notice_activate_wc' ) );
|
68 |
+
}
|
69 |
+
|
70 |
+
return $is_active;
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* Display WC active notice
|
75 |
+
*
|
76 |
+
* @access public
|
77 |
+
* @since 1.0.0
|
78 |
+
*/
|
79 |
+
public function notice_activate_wc() {
|
80 |
+
?>
|
81 |
+
<div class="error">
|
82 |
+
<p><?php printf( __( 'Please install and activate %sWooCommerce%s for WooCommerce Advanced Shipment Tracking!', 'woo-advanced-shipment-tracking' ), '<a href="' . admin_url( 'plugin-install.php?tab=search&s=WooCommerce&plugin-search-input=Search+Plugins' ) . '">', '</a>' ); ?></p>
|
83 |
+
</div>
|
84 |
+
<?php
|
85 |
+
}
|
86 |
+
|
87 |
+
/*
|
88 |
+
* init when class loaded
|
89 |
+
*/
|
90 |
+
public function init(){
|
91 |
+
add_action( 'plugins_loaded', array( $this, 'wst_load_textdomain'));
|
92 |
+
//add_action( 'woocommerce_view_order', array( $this, 'show_tracking_box' ) );
|
93 |
+
add_action( 'add_meta_boxes', array( $this, 'add_meta_box' ) );
|
94 |
+
add_action( 'woocommerce_process_shop_order_meta', array( $this, 'save_meta_box' ), 0, 2 );
|
95 |
+
add_action( 'woocommerce_view_order', array( $this, 'show_tracking_info_order' ) );
|
96 |
+
|
97 |
+
add_action( 'wp_ajax_wc_shipment_tracking_delete_item', array( $this, 'meta_box_delete_tracking' ) );
|
98 |
+
add_action( 'wp_ajax_wc_shipment_tracking_save_form', array( $this, 'save_meta_box_ajax' ) );
|
99 |
+
add_action( 'woocommerce_email_before_order_table', array( $this, 'email_display' ), 0, 4 );
|
100 |
+
|
101 |
+
// Custom tracking column in admin orders list.
|
102 |
+
add_filter( 'manage_shop_order_posts_columns', array( $this, 'shop_order_columns' ), 99 );
|
103 |
+
add_action( 'manage_shop_order_posts_custom_column', array( $this, 'render_shop_order_columns' ) );
|
104 |
+
|
105 |
+
|
106 |
+
|
107 |
+
//Plugin Activation Hook
|
108 |
+
register_activation_hook( __FILE__, array( $this, 'woo_shippment_tracking_install' ));
|
109 |
+
|
110 |
+
// ajax add shipping providers
|
111 |
+
add_action( 'wp_ajax_woocommerce_shipping_provider_add', array( $this, 'woocommerce_shipping_provider_add' ) );
|
112 |
+
|
113 |
+
// Delete shipping provider via ajax function
|
114 |
+
add_action( 'wp_ajax_woocommerce_shipping_provider_delete', array( $this, 'woocommerce_shipping_provider_delete' ) );
|
115 |
+
|
116 |
+
add_action('admin_footer', array( $this, 'custom_validation_js'));
|
117 |
+
|
118 |
+
add_action( 'init', array( $this, 'update_database_check'));
|
119 |
+
|
120 |
+
//new
|
121 |
+
//load css js
|
122 |
+
add_action( 'admin_enqueue_scripts', array( $this->admin, 'admin_styles' ), 4);
|
123 |
+
|
124 |
+
//Custom Woocomerce menu
|
125 |
+
add_action('admin_menu', array( $this->admin, 'register_woocommerce_menu' ), 99 );
|
126 |
+
|
127 |
+
//ajax save admin api settings
|
128 |
+
add_action( 'wp_ajax_wc_ast_api_form_update', array( $this->admin, 'wc_ast_api_form_update_callback' ) );
|
129 |
+
|
130 |
+
//ajax save admin api settings
|
131 |
+
add_action( 'wp_ajax_wc_ast_settings_form_update', array( $this->admin, 'wc_ast_settings_form_update_callback' ) );
|
132 |
+
}
|
133 |
+
|
134 |
+
/**
|
135 |
+
* Init advanced shipment tracking REST API.
|
136 |
+
*
|
137 |
+
*/
|
138 |
+
private function init_rest_api() {
|
139 |
+
add_action( 'rest_api_init', array( $this, 'rest_api_register_routes' ) );
|
140 |
+
}
|
141 |
+
|
142 |
+
|
143 |
+
/*** Method load Language file ***/
|
144 |
+
function wst_load_textdomain() {
|
145 |
+
load_plugin_textdomain( 'woo-advanced-shipment-tracking', false, dirname( plugin_basename(__FILE__) ) . '/lang/' );
|
146 |
+
}
|
147 |
+
|
148 |
+
|
149 |
+
/**
|
150 |
+
* Gets the absolute plugin path without a trailing slash, e.g.
|
151 |
+
* /path/to/wp-content/plugins/plugin-directory.
|
152 |
+
*
|
153 |
+
* @return string plugin path
|
154 |
+
*/
|
155 |
+
public function get_plugin_path() {
|
156 |
+
if ( isset( $this->plugin_path ) ) {
|
157 |
+
return $this->plugin_path;
|
158 |
+
}
|
159 |
+
|
160 |
+
$this->plugin_path = untrailingslashit( plugin_dir_path( __FILE__ ) );
|
161 |
+
|
162 |
+
return $this->plugin_path;
|
163 |
+
}
|
164 |
+
/**
|
165 |
+
* Define plugin activation function
|
166 |
+
*
|
167 |
+
* Create Table
|
168 |
+
*
|
169 |
+
* Insert data
|
170 |
+
*
|
171 |
+
*
|
172 |
+
*/
|
173 |
+
public function woo_shippment_tracking_install(){
|
174 |
+
|
175 |
+
global $wpdb;
|
176 |
+
|
177 |
+
$woo_shippment_table_name = $wpdb->prefix . 'woo_shippment_provider';
|
178 |
+
// create the ECPT metabox database table
|
179 |
+
if($wpdb->get_var("show tables like '$woo_shippment_table_name'") != $woo_shippment_table_name)
|
180 |
+
{
|
181 |
+
$charset_collate = $wpdb->get_charset_collate();
|
182 |
+
|
183 |
+
$sql = "CREATE TABLE $woo_shippment_table_name (
|
184 |
+
id mediumint(9) NOT NULL AUTO_INCREMENT,
|
185 |
+
provider_name varchar(500) DEFAULT '' NOT NULL,
|
186 |
+
provider_slug varchar(45) DEFAULT '' NOT NULL,
|
187 |
+
provider_url varchar(500) DEFAULT '' NOT NULL,
|
188 |
+
shipping_country varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
|
189 |
+
shipping_default tinyint(4) NOT NULL DEFAULT '0',
|
190 |
+
display_in_order tinyint(4) NOT NULL DEFAULT '1',
|
191 |
+
sort_order int(11) NOT NULL DEFAULT '0',
|
192 |
+
PRIMARY KEY (id)
|
193 |
+
) $charset_collate;";
|
194 |
+
//echo $sql;exit;
|
195 |
+
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
196 |
+
dbDelta( $sql );
|
197 |
+
|
198 |
+
$providers = array(
|
199 |
+
0 => array (
|
200 |
+
"provider_name" => 'Australia Post',
|
201 |
+
"provider_slug" => 'australia-post',
|
202 |
+
"provider_url" => 'http://auspost.com.au/track/track.html?id=%number%',
|
203 |
+
"shipping_country" => 'AU',
|
204 |
+
"shipping_default" => '1'
|
205 |
+
),
|
206 |
+
|
207 |
+
1 => array (
|
208 |
+
"provider_name" => 'Fastway Couriers',
|
209 |
+
"provider_slug" => 'fastway-couriers',
|
210 |
+
"provider_url" => 'http://www.fastway.com.au/courier-services/track-your-parcel?l=%number%',
|
211 |
+
"shipping_country" => 'AU',
|
212 |
+
"shipping_default" => '1'
|
213 |
+
),
|
214 |
+
|
215 |
+
2 => array (
|
216 |
+
"provider_name" => 'post.at',
|
217 |
+
"provider_slug" => 'post-at',
|
218 |
+
"provider_url" => 'http://www.post.at/sendungsverfolgung.php?pnum1=%number%',
|
219 |
+
"shipping_country" => 'AT',
|
220 |
+
"shipping_default" => '1'
|
221 |
+
),
|
222 |
+
|
223 |
+
3 => array (
|
224 |
+
"provider_name" => 'dhl.at',
|
225 |
+
"provider_slug" => 'dhl-at',
|
226 |
+
"provider_url" => 'http://www.dhl.at/content/at/de/express/sendungsverfolgung.html?brand=DHL&AWB=%number%',
|
227 |
+
"shipping_country" => 'AT',
|
228 |
+
"shipping_default" => '1'
|
229 |
+
),
|
230 |
+
|
231 |
+
4 => array (
|
232 |
+
"provider_name" => 'DPD.at',
|
233 |
+
"provider_slug" => 'dpd-at',
|
234 |
+
"provider_url" => 'https://tracking.dpd.de/parcelstatus?locale=de_AT&query=%number%',
|
235 |
+
"shipping_country" => 'AT',
|
236 |
+
"shipping_default" => '1'
|
237 |
+
),
|
238 |
+
|
239 |
+
5 => array (
|
240 |
+
"provider_name" => 'Correios',
|
241 |
+
"provider_slug" => 'correios',
|
242 |
+
"provider_url" => 'http://websro.correios.com.br/sro_bin/txect01$.QueryList?P_LINGUA=001&P_TIPO=001&P_COD_UNI=%number%',
|
243 |
+
"shipping_country" => 'BR',
|
244 |
+
"shipping_default" => '1'
|
245 |
+
),
|
246 |
+
|
247 |
+
6 => array (
|
248 |
+
"provider_name" => 'bpost',
|
249 |
+
"provider_slug" => 'bpost',
|
250 |
+
"provider_url" => 'https://track.bpost.be/btr/web/#/search?itemCode=%number%',
|
251 |
+
"shipping_country" => 'BE',
|
252 |
+
"shipping_default" => '1'
|
253 |
+
),
|
254 |
+
|
255 |
+
7 => array (
|
256 |
+
"provider_name" => 'Canada Post',
|
257 |
+
"provider_slug" => 'canada-post',
|
258 |
+
"provider_url" => 'http://www.canadapost.ca/cpotools/apps/track/personal/findByTrackNumber?trackingNumber=%number%',
|
259 |
+
"shipping_country" => 'CA',
|
260 |
+
"shipping_default" => '1'
|
261 |
+
),
|
262 |
+
|
263 |
+
8 => array (
|
264 |
+
"provider_name" => 'PPL.cz',
|
265 |
+
"provider_slug" => 'ppl-cz',
|
266 |
+
"provider_url" => 'http://www.ppl.cz/main2.aspx?cls=Package&idSearch=%number%',
|
267 |
+
"shipping_country" => 'CZ',
|
268 |
+
"shipping_default" => '1'
|
269 |
+
),
|
270 |
+
|
271 |
+
9 => array (
|
272 |
+
"provider_name" => 'Česká pošta',
|
273 |
+
"provider_slug" => 'ceska-posta',
|
274 |
+
"provider_url" => 'https://www.postaonline.cz/trackandtrace/-/zasilka/cislo?parcelNumbers=%number%',
|
275 |
+
"shipping_country" => 'CZ',
|
276 |
+
"shipping_default" => '1'
|
277 |
+
),
|
278 |
+
|
279 |
+
10 => array (
|
280 |
+
"provider_name" => 'DHL.cz',
|
281 |
+
"provider_slug" => 'dhl-cz',
|
282 |
+
"provider_url" => 'http://www.dhl.cz/cs/express/sledovani_zasilek.html?AWB=%number%',
|
283 |
+
"shipping_country" => 'CZ',
|
284 |
+
"shipping_default" => '1'
|
285 |
+
),
|
286 |
+
|
287 |
+
11 => array (
|
288 |
+
"provider_name" => 'DPD.cz',
|
289 |
+
"provider_slug" => 'dpd-cz',
|
290 |
+
"provider_url" => 'https://tracking.dpd.de/parcelstatus?locale=cs_CZ&query=%number%',
|
291 |
+
"shipping_country" => 'CZ',
|
292 |
+
"shipping_default" => '1'
|
293 |
+
),
|
294 |
+
|
295 |
+
12 => array (
|
296 |
+
"provider_name" => 'Itella',
|
297 |
+
"provider_slug" => 'itella',
|
298 |
+
"provider_url" => 'http://www.posti.fi/itemtracking/posti/search_by_shipment_id?lang=en&ShipmentId=%number%',
|
299 |
+
"shipping_country" => 'FI',
|
300 |
+
"shipping_default" => '1'
|
301 |
+
),
|
302 |
+
|
303 |
+
13 => array (
|
304 |
+
"provider_name" => 'Colissimo',
|
305 |
+
"provider_slug" => 'colissimo',
|
306 |
+
"provider_url" => 'http://www.colissimo.fr/portail_colissimo/suivre.do?language=fr_FR&colispart=%number%',
|
307 |
+
"shipping_country" => 'FR',
|
308 |
+
"shipping_default" => '1'
|
309 |
+
),
|
310 |
+
|
311 |
+
14 => array (
|
312 |
+
"provider_name" => 'DHL Intraship (DE)',
|
313 |
+
"provider_slug" => 'dhl-intraship',
|
314 |
+
"provider_url" => 'http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de&idc=%number%&rfn=&extendedSearch=true',
|
315 |
+
"shipping_country" => 'DE',
|
316 |
+
"shipping_default" => '1'
|
317 |
+
),
|
318 |
+
|
319 |
+
15 => array (
|
320 |
+
"provider_name" => 'Hermes',
|
321 |
+
"provider_slug" => 'hermes',
|
322 |
+
"provider_url" => 'https://tracking.hermesworld.com/?TrackID=%number%',
|
323 |
+
"shipping_country" => 'DE',
|
324 |
+
"shipping_default" => '1'
|
325 |
+
),
|
326 |
+
|
327 |
+
16 => array (
|
328 |
+
"provider_name" => 'Deutsche Post DHL',
|
329 |
+
"provider_slug" => 'deutsche-post-dhl',
|
330 |
+
"provider_url" => 'http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de&idc=%number%',
|
331 |
+
"shipping_country" => 'DE',
|
332 |
+
"shipping_default" => '1'
|
333 |
+
),
|
334 |
+
|
335 |
+
17 => array (
|
336 |
+
"provider_name" => 'UPS Germany',
|
337 |
+
"provider_slug" => 'ups-germany',
|
338 |
+
"provider_url" => 'http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status&tracknums_displayed=1&TypeOfInquiryNumber=T&loc=de_DE&InquiryNumber1=%number%',
|
339 |
+
"shipping_country" => 'DE',
|
340 |
+
"shipping_default" => '1'
|
341 |
+
),
|
342 |
+
|
343 |
+
18 => array (
|
344 |
+
"provider_name" => 'DPD.de',
|
345 |
+
"provider_slug" => 'dpd-de',
|
346 |
+
"provider_url" => 'https://tracking.dpd.de/parcelstatus?query=%number%&locale=en_DE',
|
347 |
+
"shipping_country" => 'DE',
|
348 |
+
"shipping_default" => '1'
|
349 |
+
),
|
350 |
+
|
351 |
+
19 => array (
|
352 |
+
"provider_name" => 'DPD.ie',
|
353 |
+
"provider_slug" => 'dpd-ie',
|
354 |
+
"provider_url" => 'http://www2.dpd.ie/Services/QuickTrack/tabid/222/ConsignmentID/%number%/Default.aspx',
|
355 |
+
"shipping_country" => 'IE',
|
356 |
+
"shipping_default" => '1'
|
357 |
+
),
|
358 |
+
|
359 |
+
20 => array (
|
360 |
+
"provider_name" => 'An Post',
|
361 |
+
"provider_slug" => 'an-post',
|
362 |
+
"provider_url" => 'https://track.anpost.ie/TrackingResults.aspx?rtt=1&items=%number%',
|
363 |
+
"shipping_country" => 'IE',
|
364 |
+
"shipping_default" => '1'
|
365 |
+
),
|
366 |
+
|
367 |
+
19 => array (
|
368 |
+
"provider_name" => 'BRT (Bartolini)',
|
369 |
+
"provider_slug" => 'brt-bartolini',
|
370 |
+
"provider_url" => 'http://as777.brt.it/vas/sped_det_show.hsm?referer=sped_numspe_par.htm&Nspediz=%number%',
|
371 |
+
"shipping_country" => 'IT',
|
372 |
+
"shipping_default" => '1'
|
373 |
+
),
|
374 |
+
|
375 |
+
20 => array (
|
376 |
+
"provider_name" => 'DHL Express',
|
377 |
+
"provider_slug" => 'dhl-express',
|
378 |
+
"provider_url" => 'http://www.dhl.it/it/express/ricerca.html?AWB=%number%&brand=DHL',
|
379 |
+
"shipping_country" => 'IT',
|
380 |
+
"shipping_default" => '1'
|
381 |
+
),
|
382 |
+
|
383 |
+
21 => array (
|
384 |
+
"provider_name" => 'DTDC',
|
385 |
+
"provider_slug" => 'dtdc',
|
386 |
+
"provider_url" => 'http://www.dtdc.in/tracking/tracking_results.asp?Ttype=awb_no&strCnno=%number%&TrkType2=awb_no',
|
387 |
+
"shipping_country" => 'IN',
|
388 |
+
"shipping_default" => '1'
|
389 |
+
),
|
390 |
+
|
391 |
+
22 => array (
|
392 |
+
"provider_name" => 'PostNL',
|
393 |
+
"provider_slug" => 'postnl',
|
394 |
+
"provider_url" => 'https://mijnpakket.postnl.nl/Claim?Barcode=%number%&Postalcode=%2$s&Foreign=False&ShowAnonymousLayover=False&CustomerServiceClaim=False',
|
395 |
+
"shipping_country" => 'NL',
|
396 |
+
"shipping_default" => '1'
|
397 |
+
),
|
398 |
+
|
399 |
+
23 => array (
|
400 |
+
"provider_name" => 'DPD.NL',
|
401 |
+
"provider_slug" => 'dpd-nl',
|
402 |
+
"provider_url" => 'http://track.dpdnl.nl/?parcelnumber=%number%',
|
403 |
+
"shipping_country" => 'NL',
|
404 |
+
"shipping_default" => '1'
|
405 |
+
),
|
406 |
+
|
407 |
+
24 => array (
|
408 |
+
"provider_name" => 'Courier Post',
|
409 |
+
"provider_slug" => 'courier-post',
|
410 |
+
"provider_url" => 'http://trackandtrace.courierpost.co.nz/Search/%number%',
|
411 |
+
"shipping_country" => 'NZ',
|
412 |
+
"shipping_default" => '1'
|
413 |
+
),
|
414 |
+
|
415 |
+
25 => array (
|
416 |
+
"provider_name" => 'NZ Post',
|
417 |
+
"provider_slug" => 'nz-post',
|
418 |
+
"provider_url" => 'http://www.nzpost.co.nz/tools/tracking?trackid=%number%',
|
419 |
+
"shipping_country" => 'NZ',
|
420 |
+
"shipping_default" => '1'
|
421 |
+
),
|
422 |
+
|
423 |
+
26 => array (
|
424 |
+
"provider_name" => 'Fastways',
|
425 |
+
"provider_slug" => 'fastways',
|
426 |
+
"provider_url" => 'http://www.fastway.co.nz/courier-services/track-your-parcel?l=%number%',
|
427 |
+
"shipping_country" => 'NZ',
|
428 |
+
"shipping_default" => '1'
|
429 |
+
),
|
430 |
+
|
431 |
+
27 => array (
|
432 |
+
"provider_name" => 'PBT Couriers',
|
433 |
+
"provider_slug" => 'pbt-couriers',
|
434 |
+
"provider_url" => 'http://www.pbt.com/nick/results.cfm?ticketNo=%number%',
|
435 |
+
"shipping_country" => 'NZ',
|
436 |
+
"shipping_default" => '1'
|
437 |
+
),
|
438 |
+
|
439 |
+
28 => array (
|
440 |
+
"provider_name" => 'Fan Courier',
|
441 |
+
"provider_slug" => 'fan-courier',
|
442 |
+
"provider_url" => 'https://www.fancourier.ro/awb-tracking/?xawb=%number%',
|
443 |
+
"shipping_country" => 'RO',
|
444 |
+
"shipping_default" => '1'
|
445 |
+
),
|
446 |
+
|
447 |
+
29 => array (
|
448 |
+
"provider_name" => 'DPD Romania',
|
449 |
+
"provider_slug" => 'dpd-romania',
|
450 |
+
"provider_url" => 'https://tracking.dpd.de/parcelstatus?query=%number%&locale=ro_RO',
|
451 |
+
"shipping_country" => 'RO',
|
452 |
+
"shipping_default" => '1'
|
453 |
+
),
|
454 |
+
|
455 |
+
30 => array (
|
456 |
+
"provider_name" => 'Urgent Cargus',
|
457 |
+
"provider_slug" => 'urgent-cargus',
|
458 |
+
"provider_url" => 'https://app.urgentcargus.ro/Private/Tracking.aspx?CodBara=%number%',
|
459 |
+
"shipping_country" => 'RO',
|
460 |
+
"shipping_default" => '1'
|
461 |
+
),
|
462 |
+
|
463 |
+
31 => array (
|
464 |
+
"provider_name" => 'SAPO',
|
465 |
+
"provider_slug" => 'sapo',
|
466 |
+
"provider_url" => 'http://sms.postoffice.co.za/TrackingParcels/Parcel.aspx?id=%number%',
|
467 |
+
"shipping_country" => 'ZA',
|
468 |
+
"shipping_default" => '1'
|
469 |
+
),
|
470 |
+
|
471 |
+
32 => array (
|
472 |
+
"provider_name" => 'PostNord Sverige AB',
|
473 |
+
"provider_slug" => 'postnord-sverige-ab',
|
474 |
+
"provider_url" => 'http://www.postnord.se/sv/verktyg/sok/Sidor/spara-brev-paket-och-pall.aspx?search=%number%',
|
475 |
+
"shipping_country" => 'SE',
|
476 |
+
"shipping_default" => '1'
|
477 |
+
),
|
478 |
+
|
479 |
+
33 => array (
|
480 |
+
"provider_name" => 'DHL.se',
|
481 |
+
"provider_slug" => 'dhl-se',
|
482 |
+
"provider_url" => 'http://www.dhl.se/content/se/sv/express/godssoekning.shtml?brand=DHL&AWB=%number%',
|
483 |
+
"shipping_country" => 'SE',
|
484 |
+
"shipping_default" => '1'
|
485 |
+
),
|
486 |
+
|
487 |
+
34 => array (
|
488 |
+
"provider_name" => 'Bring.se',
|
489 |
+
"provider_slug" => 'bring-se',
|
490 |
+
"provider_url" => 'http://tracking.bring.se/tracking.html?q=%number%',
|
491 |
+
"shipping_country" => 'SE',
|
492 |
+
"shipping_default" => '1'
|
493 |
+
),
|
494 |
+
|
495 |
+
35 => array (
|
496 |
+
"provider_name" => 'UPS.se',
|
497 |
+
"provider_slug" => 'ups-se',
|
498 |
+
"provider_url" => 'http://wwwapps.ups.com/WebTracking/track?track=yes&loc=sv_SE&trackNums=%number%',
|
499 |
+
"shipping_country" => 'SE',
|
500 |
+
"shipping_default" => '1'
|
501 |
+
),
|
502 |
+
|
503 |
+
36 => array (
|
504 |
+
"provider_name" => 'DB Schenker',
|
505 |
+
"provider_slug" => 'db-schenker',
|
506 |
+
"provider_url" => 'http://privpakportal.schenker.nu/TrackAndTrace/packagesearch.aspx?packageId=%number%',
|
507 |
+
"shipping_country" => 'SE',
|
508 |
+
"shipping_default" => '1'
|
509 |
+
),
|
510 |
+
|
511 |
+
37 => array (
|
512 |
+
"provider_name" => 'UK Mail',
|
513 |
+
"provider_slug" => 'uk-mail',
|
514 |
+
"provider_url" => 'https://old.ukmail.com/ConsignmentStatus/ConsignmentSearchResults.aspx?SearchType=Reference&SearchString=%number%',
|
515 |
+
"shipping_country" => 'GB',
|
516 |
+
"shipping_default" => '1'
|
517 |
+
),
|
518 |
+
|
519 |
+
38 => array (
|
520 |
+
"provider_name" => 'DHL',
|
521 |
+
"provider_slug" => 'dhl',
|
522 |
+
"provider_url" => 'http://www.dhl.com/content/g0/en/express/tracking.shtml?brand=DHL&AWB=%number%',
|
523 |
+
"shipping_country" => 'GB',
|
524 |
+
"shipping_default" => '1'
|
525 |
+
),
|
526 |
+
|
527 |
+
39 => array (
|
528 |
+
"provider_name" => 'DPD.co.uk',
|
529 |
+
"provider_slug" => 'dpd-co-uk',
|
530 |
+
"provider_url" => 'http://www.dpd.co.uk/tracking/trackingSearch.do?search.searchType=0&search.parcelNumber=%number%',
|
531 |
+
"shipping_country" => 'GB',
|
532 |
+
"shipping_default" => '1'
|
533 |
+
),
|
534 |
+
|
535 |
+
40 => array (
|
536 |
+
"provider_name" => 'InterLink',
|
537 |
+
"provider_slug" => 'interlink',
|
538 |
+
"provider_url" => 'http://www.interlinkexpress.com/apps/tracking/?reference=%number%&postcode=%2$s#results',
|
539 |
+
"shipping_country" => 'GB',
|
540 |
+
"shipping_default" => '1'
|
541 |
+
),
|
542 |
+
|
543 |
+
41 => array (
|
544 |
+
"provider_name" => 'ParcelForce',
|
545 |
+
"provider_slug" => 'parcelforce',
|
546 |
+
"provider_url" => 'http://www.parcelforce.com/portal/pw/track?trackNumber=%number%',
|
547 |
+
"shipping_country" => 'GB',
|
548 |
+
"shipping_default" => '1'
|
549 |
+
),
|
550 |
+
|
551 |
+
42 => array (
|
552 |
+
"provider_name" => 'Royal Mail',
|
553 |
+
"provider_slug" => 'royal-mail',
|
554 |
+
"provider_url" => 'https://www.royalmail.com/track-your-item/?trackNumber=%number%',
|
555 |
+
"shipping_country" => 'GB',
|
556 |
+
"shipping_default" => '1'
|
557 |
+
),
|
558 |
+
|
559 |
+
43 => array (
|
560 |
+
"provider_name" => 'TNT Express (consignment)',
|
561 |
+
"provider_slug" => 'tnt-express',
|
562 |
+
"provider_url" => 'http://www.tnt.com/webtracker/tracking.do?requestType=GEN&searchType=CON&respLang=en&respCountry=GENERIC&sourceID=1&sourceCountry=ww&cons=%number%&navigation=1&genericSiteIdent=',
|
563 |
+
"shipping_country" => 'GB',
|
564 |
+
"shipping_default" => '1'
|
565 |
+
),
|
566 |
+
|
567 |
+
44 => array (
|
568 |
+
"provider_name" => 'TNT Express (reference)',
|
569 |
+
"provider_slug" => 'tnt-express-reference',
|
570 |
+
"provider_url" => 'http://www.tnt.com/webtracker/tracking.do?requestType=GEN&searchType=REF&respLang=en&respCountry=GENERIC&sourceID=1&sourceCountry=ww&cons=%number%&navigation=1&genericSiteIdent=',
|
571 |
+
"shipping_country" => 'GB',
|
572 |
+
"shipping_default" => '1'
|
573 |
+
),
|
574 |
+
|
575 |
+
45 => array (
|
576 |
+
"provider_name" => 'Fedex',
|
577 |
+
"provider_slug" => 'fedex',
|
578 |
+
"provider_url" => 'http://www.fedex.com/Tracking?action=track&tracknumbers=%number%',
|
579 |
+
"shipping_country" => 'US',
|
580 |
+
"shipping_default" => '1'
|
581 |
+
),
|
582 |
+
|
583 |
+
46 => array (
|
584 |
+
"provider_name" => 'FedEx Sameday',
|
585 |
+
"provider_slug" => 'fedex-sameday',
|
586 |
+
"provider_url" => 'https://www.fedexsameday.com/fdx_dotracking_ua.aspx?tracknum=%number%',
|
587 |
+
"shipping_country" => 'US',
|
588 |
+
"shipping_default" => '1'
|
589 |
+
),
|
590 |
+
|
591 |
+
47 => array (
|
592 |
+
"provider_name" => 'OnTrac',
|
593 |
+
"provider_slug" => 'ontrac',
|
594 |
+
"provider_url" => 'http://www.ontrac.com/trackingdetail.asp?tracking=%number%',
|
595 |
+
"shipping_country" => 'US',
|
596 |
+
"shipping_default" => '1'
|
597 |
+
),
|
598 |
+
|
599 |
+
48 => array (
|
600 |
+
"provider_name" => 'UPS',
|
601 |
+
"provider_slug" => 'ups',
|
602 |
+
"provider_url" => 'http://wwwapps.ups.com/WebTracking/track?track=yes&trackNums=%number%',
|
603 |
+
"shipping_country" => 'US',
|
604 |
+
"shipping_default" => '1'
|
605 |
+
),
|
606 |
+
|
607 |
+
49 => array (
|
608 |
+
"provider_name" => 'USPS',
|
609 |
+
"provider_slug" => 'usps',
|
610 |
+
"provider_url" => 'https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=%number%',
|
611 |
+
"shipping_country" => 'US',
|
612 |
+
"shipping_default" => '1'
|
613 |
+
),
|
614 |
+
|
615 |
+
50 => array (
|
616 |
+
"provider_name" => 'DHL US',
|
617 |
+
"provider_slug" => 'dhl-us',
|
618 |
+
"provider_url" => 'https://www.logistics.dhl/us-en/home/tracking/tracking-ecommerce.html?tracking-id=%number%',
|
619 |
+
"shipping_country" => 'US',
|
620 |
+
"shipping_default" => '1'
|
621 |
+
),
|
622 |
+
);
|
623 |
+
|
624 |
+
foreach($providers as $shipping_provider){
|
625 |
+
$shipping_provider['provider_name'];
|
626 |
+
$success = $wpdb->insert($woo_shippment_table_name, array(
|
627 |
+
"provider_name" => $shipping_provider['provider_name'],
|
628 |
+
"provider_slug" => $shipping_provider['provider_slug'],
|
629 |
+
"provider_url" => $shipping_provider['provider_url'],
|
630 |
+
"shipping_country" => $shipping_provider['shipping_country'],
|
631 |
+
"shipping_default" => $shipping_provider['shipping_default'],
|
632 |
+
));
|
633 |
+
}
|
634 |
+
}
|
635 |
+
|
636 |
+
}
|
637 |
+
/**
|
638 |
+
* Define shipment tracking column in admin orders list.
|
639 |
+
*
|
640 |
+
* @since 1.6.1
|
641 |
+
*
|
642 |
+
* @param array $columns Existing columns
|
643 |
+
*
|
644 |
+
* @return array Altered columns
|
645 |
+
*/
|
646 |
+
public function shop_order_columns( $columns ) {
|
647 |
+
$columns['woocommerce-advanced-shipment-tracking'] = __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' );
|
648 |
+
return $columns;
|
649 |
+
}
|
650 |
+
|
651 |
+
/**
|
652 |
+
* Render shipment tracking in custom column.
|
653 |
+
*
|
654 |
+
* @since 1.6.1
|
655 |
+
*
|
656 |
+
* @param string $column Current column
|
657 |
+
*/
|
658 |
+
public function render_shop_order_columns( $column ) {
|
659 |
+
global $post;
|
660 |
+
|
661 |
+
if ( 'woocommerce-advanced-shipment-tracking' === $column ) {
|
662 |
+
echo $this->get_shipment_tracking_column( $post->ID );
|
663 |
+
}
|
664 |
+
}
|
665 |
+
|
666 |
+
/**
|
667 |
+
* Get content for shipment tracking column.
|
668 |
+
*
|
669 |
+
* @since 1.6.1
|
670 |
+
*
|
671 |
+
* @param int $order_id Order ID
|
672 |
+
*
|
673 |
+
* @return string Column content to render
|
674 |
+
*/
|
675 |
+
public function get_shipment_tracking_column( $order_id ) {
|
676 |
+
ob_start();
|
677 |
+
|
678 |
+
$tracking_items = $this->get_tracking_items( $order_id );
|
679 |
+
|
680 |
+
if ( count( $tracking_items ) > 0 ) {
|
681 |
+
echo '<ul>';
|
682 |
+
|
683 |
+
foreach ( $tracking_items as $tracking_item ) {
|
684 |
+
$formatted = $this->get_formatted_tracking_item( $order_id, $tracking_item );
|
685 |
+
$url = str_replace('%number%',$tracking_item['tracking_number'],$formatted['formatted_tracking_link']);
|
686 |
+
printf(
|
687 |
+
'<li><a href="%s" target="_blank">%s</a></li>',
|
688 |
+
esc_url( $url ),
|
689 |
+
esc_html( $tracking_item['tracking_number'] )
|
690 |
+
);
|
691 |
+
}
|
692 |
+
echo '</ul>';
|
693 |
+
} else {
|
694 |
+
echo '–';
|
695 |
+
}
|
696 |
+
|
697 |
+
return apply_filters( 'woocommerce_shipment_tracking_get_shipment_tracking_column', ob_get_clean(), $order_id, $tracking_items );
|
698 |
+
}
|
699 |
+
|
700 |
+
/**
|
701 |
+
* Display shipment info in customer emails.
|
702 |
+
*
|
703 |
+
* @version 1.6.8
|
704 |
+
*
|
705 |
+
* @param WC_Order $order Order object.
|
706 |
+
* @param bool $sent_to_admin Whether the email is being sent to admin or not.
|
707 |
+
* @param bool $plain_text Whether email is in plain text or not.
|
708 |
+
* @param WC_Email $email Email object.
|
709 |
+
*/
|
710 |
+
public function email_display( $order, $sent_to_admin, $plain_text = null, $email = null ) {
|
711 |
+
/**
|
712 |
+
* Don't include tracking information in refunded email.
|
713 |
+
*
|
714 |
+
* When email instance is `WC_Email_Customer_Refunded_Order`, it may
|
715 |
+
* full or partial refund.
|
716 |
+
*
|
717 |
+
* @see https://github.com/woocommerce/woo-advanced-shipment-tracking/issues/61
|
718 |
+
*/
|
719 |
+
if ( is_a( $email, 'WC_Email_Customer_Refunded_Order' ) ) {
|
720 |
+
return;
|
721 |
+
}
|
722 |
+
|
723 |
+
$order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
|
724 |
+
if ( true === $plain_text ) {
|
725 |
+
wc_get_template( 'email/plain/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', $this->get_plugin_path() . '/templates/' );
|
726 |
+
} else {
|
727 |
+
wc_get_template( 'email/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', $this->get_plugin_path() . '/templates/' );
|
728 |
+
}
|
729 |
+
}
|
730 |
+
|
731 |
+
/**
|
732 |
+
* Add the meta box for shipment info on the order page
|
733 |
+
*/
|
734 |
+
public function add_meta_box() {
|
735 |
+
add_meta_box( 'woocommerce-advanced-shipment-tracking', __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' ), array( $this, 'meta_box' ), 'shop_order', 'side', 'high' );
|
736 |
+
}
|
737 |
+
|
738 |
+
/**
|
739 |
+
* Show the meta box for shipment info on the order page
|
740 |
+
*/
|
741 |
+
public function meta_box() {
|
742 |
+
global $post;
|
743 |
+
global $wpdb;
|
744 |
+
|
745 |
+
$WC_Countries = new WC_Countries();
|
746 |
+
$countries = $WC_Countries->get_countries();
|
747 |
+
|
748 |
+
$woo_shippment_table_name = $wpdb->prefix . 'woo_shippment_provider';
|
749 |
+
$tracking_items = $this->get_tracking_items( $post->ID );
|
750 |
+
|
751 |
+
$shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM $woo_shippment_table_name WHERE display_in_order = 1 GROUP BY shipping_country" );
|
752 |
+
|
753 |
+
$shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name" );
|
754 |
+
|
755 |
+
$default_provider = get_option("wc_ast_default_provider" );
|
756 |
+
|
757 |
+
echo '<div id="tracking-items">';
|
758 |
+
if ( count( $tracking_items ) > 0 ) {
|
759 |
+
foreach ( $tracking_items as $tracking_item ) {
|
760 |
+
$this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
|
761 |
+
}
|
762 |
+
}
|
763 |
+
echo '</div>';
|
764 |
+
|
765 |
+
echo '<button class="button button-show-tracking-form" type="button">' . __( 'Add Tracking Info', 'woo-advanced-shipment-tracking' ) . '</button>';
|
766 |
+
|
767 |
+
echo '<div id="advanced-shipment-tracking-form">';
|
768 |
+
|
769 |
+
echo '<p class="form-field tracking_provider_field"><label for="tracking_provider">' . __( 'Provider:', 'woo-advanced-shipment-tracking' ) . '</label><br/><select id="tracking_provider" name="tracking_provider" class="chosen_select" style="width:100%;">';
|
770 |
+
echo '<option value="">'.__( 'Select Provider', 'woo-advanced-shipment-tracking' ).'</option>';
|
771 |
+
foreach($shippment_countries as $s_c){
|
772 |
+
|
773 |
+
echo '<optgroup label="' . esc_attr( $WC_Countries->countries[$s_c->shipping_country] ) . '">';
|
774 |
+
$country = $s_c->shipping_country;
|
775 |
+
$shippment_providers_by_country = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name WHERE shipping_country = '$country' AND display_in_order = 1" );
|
776 |
+
foreach ( $shippment_providers_by_country as $providers ) {
|
777 |
+
//echo '<pre>';print_r($providers);echo '</pre>';
|
778 |
+
$selected = ( $default_provider == esc_attr( sanitize_title( $providers->provider_name ) ) ) ? 'selected' : '';
|
779 |
+
echo '<option value="' . esc_attr( sanitize_title( $providers->provider_name ) ) . '" '.$selected. '>' . esc_html( $providers->provider_name ) . '</option>';
|
780 |
+
}
|
781 |
+
echo '</optgroup>';
|
782 |
+
}
|
783 |
+
|
784 |
+
echo '</select> ';
|
785 |
+
|
786 |
+
woocommerce_wp_hidden_input( array(
|
787 |
+
'id' => 'wc_shipment_tracking_get_nonce',
|
788 |
+
'value' => wp_create_nonce( 'get-tracking-item' ),
|
789 |
+
) );
|
790 |
+
|
791 |
+
woocommerce_wp_hidden_input( array(
|
792 |
+
'id' => 'wc_shipment_tracking_delete_nonce',
|
793 |
+
'value' => wp_create_nonce( 'delete-tracking-item' ),
|
794 |
+
) );
|
795 |
+
|
796 |
+
woocommerce_wp_hidden_input( array(
|
797 |
+
'id' => 'wc_shipment_tracking_create_nonce',
|
798 |
+
'value' => wp_create_nonce( 'create-tracking-item' ),
|
799 |
+
) );
|
800 |
+
|
801 |
+
woocommerce_wp_text_input( array(
|
802 |
+
'id' => 'tracking_number',
|
803 |
+
'label' => __( 'Tracking number:', 'woo-advanced-shipment-tracking' ),
|
804 |
+
'placeholder' => '',
|
805 |
+
'description' => '',
|
806 |
+
'value' => '',
|
807 |
+
) );
|
808 |
+
|
809 |
+
woocommerce_wp_text_input( array(
|
810 |
+
'id' => 'date_shipped',
|
811 |
+
'label' => __( 'Date shipped:', 'woo-advanced-shipment-tracking' ),
|
812 |
+
'placeholder' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ),
|
813 |
+
'description' => '',
|
814 |
+
'class' => 'date-picker-field',
|
815 |
+
'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
|
816 |
+
) );
|
817 |
+
|
818 |
+
echo '<button class="button button-primary button-save-form">' . __( 'Save Tracking', 'woo-advanced-shipment-tracking' ) . '</button>';
|
819 |
+
echo '<p class="preview_tracking_link">' . __( 'Preview:', 'woo-advanced-shipment-tracking' ) . ' <a href="" target="_blank">' . __( 'Click here to track shipment', 'woo-advanced-shipment-tracking' ) . '</a></p>';
|
820 |
+
|
821 |
+
echo '</div>';
|
822 |
+
$provider_array = array();
|
823 |
+
|
824 |
+
foreach ( $shippment_providers as $provider ) {
|
825 |
+
$provider_array[ sanitize_title( $provider->provider_name ) ] = urlencode( $provider->provider_url );
|
826 |
+
}
|
827 |
+
//echo '<pre>';print_r($provider_array);echo '<pre>';
|
828 |
+
$js = "
|
829 |
+
jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field ').hide();
|
830 |
+
|
831 |
+
jQuery( 'input#tracking_number, #tracking_provider' ).change( function() {
|
832 |
+
|
833 |
+
var tracking = jQuery( 'input#tracking_number' ).val();
|
834 |
+
var provider = jQuery( '#tracking_provider' ).val();
|
835 |
+
var providers = jQuery.parseJSON( '" . json_encode( $provider_array ) . "' );
|
836 |
+
|
837 |
+
var postcode = jQuery( '#_shipping_postcode' ).val();
|
838 |
+
|
839 |
+
if ( ! postcode.length ) {
|
840 |
+
postcode = jQuery( '#_billing_postcode' ).val();
|
841 |
+
}
|
842 |
+
|
843 |
+
postcode = encodeURIComponent( postcode );
|
844 |
+
|
845 |
+
var link = '';
|
846 |
+
|
847 |
+
if ( providers[ provider ] ) {
|
848 |
+
link = providers[provider];
|
849 |
+
link = link.replace( '%25number%25', tracking );
|
850 |
+
link = link.replace( '%252%24s', postcode );
|
851 |
+
link = decodeURIComponent( link );
|
852 |
+
|
853 |
+
jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field' ).hide();
|
854 |
+
} else {
|
855 |
+
jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field' ).show();
|
856 |
+
|
857 |
+
link = jQuery( 'input#custom_tracking_link' ).val();
|
858 |
+
}
|
859 |
+
|
860 |
+
if ( link ) {
|
861 |
+
jQuery( 'p.preview_tracking_link a' ).attr( 'href', link );
|
862 |
+
jQuery( 'p.preview_tracking_link' ).show();
|
863 |
+
} else {
|
864 |
+
jQuery( 'p.preview_tracking_link' ).hide();
|
865 |
+
}
|
866 |
+
|
867 |
+
} ).change();";
|
868 |
+
|
869 |
+
if ( function_exists( 'wc_enqueue_js' ) ) {
|
870 |
+
wc_enqueue_js( $js );
|
871 |
+
} else {
|
872 |
+
WC()->add_inline_js( $js );
|
873 |
+
}
|
874 |
+
|
875 |
+
wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', plugin_dir_url( __FILE__ ) . 'assets/js/admin.js' );
|
876 |
+
}
|
877 |
+
|
878 |
+
/**
|
879 |
+
* Order Tracking Save AJAX
|
880 |
+
*
|
881 |
+
* Function for saving tracking items via AJAX
|
882 |
+
*/
|
883 |
+
public function save_meta_box_ajax() {
|
884 |
+
check_ajax_referer( 'create-tracking-item', 'security', true );
|
885 |
+
|
886 |
+
if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
|
887 |
+
|
888 |
+
$order_id = wc_clean( $_POST['order_id'] );
|
889 |
+
$args = array(
|
890 |
+
'tracking_provider' => wc_clean( $_POST['tracking_provider'] ),
|
891 |
+
'tracking_number' => wc_clean( $_POST['tracking_number'] ),
|
892 |
+
'date_shipped' => wc_clean( $_POST['date_shipped'] ),
|
893 |
+
);
|
894 |
+
|
895 |
+
$tracking_item = $this->add_tracking_item( $order_id, $args );
|
896 |
+
|
897 |
+
$this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
|
898 |
+
}
|
899 |
+
|
900 |
+
die();
|
901 |
+
}
|
902 |
+
/**
|
903 |
+
* Order Tracking Save
|
904 |
+
*
|
905 |
+
* Function for saving tracking items
|
906 |
+
*/
|
907 |
+
public function save_meta_box( $post_id, $post ) {
|
908 |
+
//echo '<pre>';print_r($_POST);echo '</pre>';exit;
|
909 |
+
if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && strlen( $_POST['tracking_number'] ) > 0 ) {
|
910 |
+
$args = array(
|
911 |
+
'tracking_provider' => wc_clean( $_POST['tracking_provider'] ),
|
912 |
+
'tracking_number' => wc_clean( $_POST['tracking_number'] ),
|
913 |
+
'date_shipped' => wc_clean( $_POST['date_shipped'] ),
|
914 |
+
);
|
915 |
+
|
916 |
+
$this->add_tracking_item( $post_id, $args );
|
917 |
+
}
|
918 |
+
}
|
919 |
+
|
920 |
+
/*
|
921 |
+
* Adds a tracking item to the post_meta array
|
922 |
+
*
|
923 |
+
* @param int $order_id Order ID
|
924 |
+
* @param array $tracking_items List of tracking item
|
925 |
+
*
|
926 |
+
* @return array Tracking item
|
927 |
+
*/
|
928 |
+
public function add_tracking_item( $order_id, $args ) {
|
929 |
+
//echo '<pre>';print_r( $args );echo '</pre>';exit;
|
930 |
+
|
931 |
+
$tracking_item = array();
|
932 |
+
|
933 |
+
$tracking_item['tracking_provider'] = wc_clean( $args['tracking_provider'] );
|
934 |
+
$tracking_item['tracking_number'] = wc_clean( $args['tracking_number'] );
|
935 |
+
$tracking_item['date_shipped'] = wc_clean( strtotime( $args['date_shipped'] ) );
|
936 |
+
|
937 |
+
if ( 0 == (int) $tracking_item['date_shipped'] ) {
|
938 |
+
$tracking_item['date_shipped'] = time();
|
939 |
+
}
|
940 |
+
|
941 |
+
if ( $tracking_item['custom_tracking_provider'] ) {
|
942 |
+
$tracking_item['tracking_id'] = md5( "{$tracking_item['custom_tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
|
943 |
+
} else {
|
944 |
+
$tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
|
945 |
+
}
|
946 |
+
|
947 |
+
$tracking_items = $this->get_tracking_items( $order_id );
|
948 |
+
$tracking_items[] = $tracking_item;
|
949 |
+
|
950 |
+
$this->save_tracking_items( $order_id, $tracking_items );
|
951 |
+
|
952 |
+
return $tracking_item;
|
953 |
+
}
|
954 |
+
|
955 |
+
/**
|
956 |
+
* Saves the tracking items array to post_meta.
|
957 |
+
*
|
958 |
+
* @param int $order_id Order ID
|
959 |
+
* @param array $tracking_items List of tracking item
|
960 |
+
*/
|
961 |
+
public function save_tracking_items( $order_id, $tracking_items ) {
|
962 |
+
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
963 |
+
update_post_meta( $order_id, '_wc_shipment_tracking_items', $tracking_items );
|
964 |
+
} else {
|
965 |
+
$order = new WC_Order( $order_id );
|
966 |
+
$order->update_meta_data( '_wc_shipment_tracking_items', $tracking_items );
|
967 |
+
$order->save_meta_data();
|
968 |
+
}
|
969 |
+
}
|
970 |
+
|
971 |
+
/**
|
972 |
+
* Display Shipment info in the frontend (order view/tracking page).
|
973 |
+
*/
|
974 |
+
public function show_tracking_info_order( $order_id ) {
|
975 |
+
wc_get_template( 'myaccount/view-order.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', $this->get_plugin_path() . '/templates/' );
|
976 |
+
}
|
977 |
+
|
978 |
+
/**
|
979 |
+
* Returns a HTML node for a tracking item for the admin meta box
|
980 |
+
*/
|
981 |
+
public function display_html_tracking_item_for_meta_box( $order_id, $item ) {
|
982 |
+
$formatted = $this->get_formatted_tracking_item( $order_id, $item );
|
983 |
+
|
984 |
+
?>
|
985 |
+
<div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
|
986 |
+
<p class="tracking-content">
|
987 |
+
<strong><?php echo esc_html( $formatted['formatted_tracking_provider'] ); ?></strong>
|
988 |
+
|
989 |
+
<?php if ( strlen( $formatted['formatted_tracking_link'] ) > 0 ) : ?>
|
990 |
+
- <?php
|
991 |
+
$url = str_replace('%number%',$item['tracking_number'],$formatted['formatted_tracking_link']);
|
992 |
+
echo sprintf( '<a href="%s" target="_blank" title="' . esc_attr( __( 'Click here to track your shipment', 'woo-advanced-shipment-tracking' ) ) . '">' . __( 'Track', 'woo-advanced-shipment-tracking' ) . '</a>', esc_url( $url ) ); ?>
|
993 |
+
<?php endif; ?>
|
994 |
+
<br/>
|
995 |
+
<em><?php echo esc_html( $item['tracking_number'] ); ?></em>
|
996 |
+
</p>
|
997 |
+
<p class="meta">
|
998 |
+
<?php /* translators: 1: shipping date */ ?>
|
999 |
+
<?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( 'Y-m-d', $item['date_shipped'] ) ) ); ?>
|
1000 |
+
<a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woo-advanced-shipment-tracking' ); ?></a>
|
1001 |
+
</p>
|
1002 |
+
</div>
|
1003 |
+
<?php
|
1004 |
+
}
|
1005 |
+
|
1006 |
+
/*
|
1007 |
+
* Works out the final tracking provider and tracking link and appends then to the returned tracking item
|
1008 |
+
*
|
1009 |
+
*/
|
1010 |
+
public function get_formatted_tracking_item( $order_id, $tracking_item ) {
|
1011 |
+
$formatted = array();
|
1012 |
+
|
1013 |
+
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
1014 |
+
$postcode = get_post_meta( $order_id, '_shipping_postcode', true );
|
1015 |
+
} else {
|
1016 |
+
$order = new WC_Order( $order_id );
|
1017 |
+
$postcode = $order->get_shipping_postcode();
|
1018 |
+
}
|
1019 |
+
|
1020 |
+
$formatted['formatted_tracking_provider'] = '';
|
1021 |
+
$formatted['formatted_tracking_link'] = '';
|
1022 |
+
|
1023 |
+
if ( empty( $postcode ) ) {
|
1024 |
+
$postcode = get_post_meta( $order_id, '_shipping_postcode', true );
|
1025 |
+
}
|
1026 |
+
|
1027 |
+
$formatted['formatted_tracking_provider'] = '';
|
1028 |
+
$formatted['formatted_tracking_link'] = '';
|
1029 |
+
|
1030 |
+
if ( isset( $tracking_item['custom_tracking_provider'] ) && !empty( $tracking_item['custom_tracking_provider'] ) ) {
|
1031 |
+
$formatted['formatted_tracking_provider'] = $tracking_item['custom_tracking_provider'];
|
1032 |
+
$formatted['formatted_tracking_link'] = $tracking_item['custom_tracking_link'];
|
1033 |
+
} else {
|
1034 |
+
|
1035 |
+
$link_format = '';
|
1036 |
+
|
1037 |
+
foreach ( $this->get_providers() as $provider => $format ) {
|
1038 |
+
|
1039 |
+
if ( sanitize_title( $provider ) === $tracking_item['tracking_provider'] ) {
|
1040 |
+
$link_format = $format;
|
1041 |
+
$formatted['formatted_tracking_provider'] = $provider;
|
1042 |
+
break;
|
1043 |
+
}
|
1044 |
+
|
1045 |
+
if ( $link_format ) {
|
1046 |
+
break;
|
1047 |
+
}
|
1048 |
+
}
|
1049 |
+
|
1050 |
+
if ( $link_format ) {
|
1051 |
+
$searchVal = array("%number%", str_replace(' ', '', "%2 $ s") );
|
1052 |
+
$replaceVal = array( $tracking_item['tracking_number'], urlencode( $postcode ) );
|
1053 |
+
$link_format = str_replace($searchVal, $replaceVal, $link_format);
|
1054 |
+
|
1055 |
+
$formatted['formatted_tracking_link'] = $link_format;
|
1056 |
+
}
|
1057 |
+
|
1058 |
+
}
|
1059 |
+
|
1060 |
+
return $formatted;
|
1061 |
+
}
|
1062 |
+
|
1063 |
+
function get_providers(){
|
1064 |
+
|
1065 |
+
if ( empty( $this->providers ) ) {
|
1066 |
+
$this->providers = array();
|
1067 |
+
|
1068 |
+
global $wpdb;
|
1069 |
+
$wpdb->hide_errors();
|
1070 |
+
$results = $wpdb->get_results( "SELECT * FROM {$this->table}" );
|
1071 |
+
//echo "<pre>";print_r($results);echo "</pre>";
|
1072 |
+
|
1073 |
+
if ( ! empty( $results ) ) {
|
1074 |
+
|
1075 |
+
foreach ( $results as $row ) {
|
1076 |
+
$shippment_providers[ $row->provider_name ] = $row->provider_url;
|
1077 |
+
}
|
1078 |
+
|
1079 |
+
$this->providers = $shippment_providers;
|
1080 |
+
}
|
1081 |
+
}
|
1082 |
+
return $this->providers;
|
1083 |
+
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
/*
|
1087 |
+
* Gets all tracking itesm fron the post meta array for an order
|
1088 |
+
*
|
1089 |
+
* @param int $order_id Order ID
|
1090 |
+
* @param bool $formatted Wether or not to reslove the final tracking link
|
1091 |
+
* and provider in the returned tracking item.
|
1092 |
+
* Default to false.
|
1093 |
+
*
|
1094 |
+
* @return array List of tracking items
|
1095 |
+
*/
|
1096 |
+
public function get_tracking_items( $order_id, $formatted = false ) {
|
1097 |
+
global $wpdb;
|
1098 |
+
|
1099 |
+
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
1100 |
+
$tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
|
1101 |
+
} else {
|
1102 |
+
$order = new WC_Order( $order_id );
|
1103 |
+
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
1104 |
+
}
|
1105 |
+
|
1106 |
+
if ( is_array( $tracking_items ) ) {
|
1107 |
+
if ( $formatted ) {
|
1108 |
+
foreach ( $tracking_items as &$item ) {
|
1109 |
+
$formatted_item = $this->get_formatted_tracking_item( $order_id, $item );
|
1110 |
+
$item = array_merge( $item, $formatted_item );
|
1111 |
+
}
|
1112 |
+
}
|
1113 |
+
return $tracking_items;
|
1114 |
+
} else {
|
1115 |
+
return array();
|
1116 |
+
}
|
1117 |
+
}
|
1118 |
+
|
1119 |
+
/**
|
1120 |
+
* Order Tracking Delete
|
1121 |
+
*
|
1122 |
+
* Function to delete a tracking item
|
1123 |
+
*/
|
1124 |
+
public function meta_box_delete_tracking() {
|
1125 |
+
check_ajax_referer( 'delete-tracking-item', 'security', true );
|
1126 |
+
|
1127 |
+
$order_id = wc_clean( $_POST['order_id'] );
|
1128 |
+
$tracking_id = wc_clean( $_POST['tracking_id'] );
|
1129 |
+
|
1130 |
+
$this->delete_tracking_item( $order_id, $tracking_id );
|
1131 |
+
}
|
1132 |
+
|
1133 |
+
/**
|
1134 |
+
* Deletes a tracking item from post_meta array
|
1135 |
+
*
|
1136 |
+
* @param int $order_id Order ID
|
1137 |
+
* @param string $tracking_id Tracking ID
|
1138 |
+
*
|
1139 |
+
* @return bool True if tracking item is deleted successfully
|
1140 |
+
*/
|
1141 |
+
public function delete_tracking_item( $order_id, $tracking_id ) {
|
1142 |
+
$tracking_items = $this->get_tracking_items( $order_id );
|
1143 |
+
|
1144 |
+
$is_deleted = false;
|
1145 |
+
|
1146 |
+
if ( count( $tracking_items ) > 0 ) {
|
1147 |
+
foreach ( $tracking_items as $key => $item ) {
|
1148 |
+
if ( $item['tracking_id'] == $tracking_id ) {
|
1149 |
+
unset( $tracking_items[ $key ] );
|
1150 |
+
$is_deleted = true;
|
1151 |
+
break;
|
1152 |
+
}
|
1153 |
+
}
|
1154 |
+
$this->save_tracking_items( $order_id, $tracking_items );
|
1155 |
+
}
|
1156 |
+
|
1157 |
+
return $is_deleted;
|
1158 |
+
}
|
1159 |
+
|
1160 |
+
|
1161 |
+
|
1162 |
+
|
1163 |
+
|
1164 |
+
/**
|
1165 |
+
* Get shipping providers with normalized values (respect decimal separator
|
1166 |
+
* settings), for display.
|
1167 |
+
*
|
1168 |
+
* @return array
|
1169 |
+
*/
|
1170 |
+
public function get_normalized_shipping_providers() {
|
1171 |
+
$shipping_providers = $this->get_shipping_providers( ARRAY_A );
|
1172 |
+
$decimal_separator = wc_get_price_decimal_separator();
|
1173 |
+
$normalize_keys = array(
|
1174 |
+
'id',
|
1175 |
+
'provider_name',
|
1176 |
+
'shipping_country',
|
1177 |
+
'provider_url',
|
1178 |
+
);
|
1179 |
+
|
1180 |
+
foreach ( $shipping_providers as $index => $shipping_provider ) {
|
1181 |
+
foreach ( $normalize_keys as $key ) {
|
1182 |
+
if ( ! isset( $shipping_provider[ $key ] ) ) {
|
1183 |
+
continue;
|
1184 |
+
}
|
1185 |
+
|
1186 |
+
$shipping_providers[ $index ][ $key ] = str_replace( '.', $decimal_separator, $shipping_providers[ $index ][ $key ] );
|
1187 |
+
}
|
1188 |
+
}
|
1189 |
+
|
1190 |
+
return $shipping_providers;
|
1191 |
+
}
|
1192 |
+
|
1193 |
+
/**
|
1194 |
+
* Get raw shipping providers from the DB.
|
1195 |
+
*
|
1196 |
+
* @param string $output Output format.
|
1197 |
+
* @return mixed
|
1198 |
+
*/
|
1199 |
+
public function get_shipping_providers( $output = OBJECT ) {
|
1200 |
+
global $wpdb;
|
1201 |
+
$woo_shippment_table_name = $wpdb->prefix . 'woo_shippment_provider';
|
1202 |
+
return $wpdb->get_results( "
|
1203 |
+
SELECT * FROM {$woo_shippment_table_name}
|
1204 |
+
WHERE shipping_default = 0
|
1205 |
+
ORDER BY id ASC
|
1206 |
+
", $output );
|
1207 |
+
}
|
1208 |
+
|
1209 |
+
public function custom_validation_js(){ ?>
|
1210 |
+
<script>
|
1211 |
+
jQuery(document).on("click",".button-save-form",function(e){
|
1212 |
+
var error;
|
1213 |
+
var tracking_provider = jQuery("#tracking_provider");
|
1214 |
+
var tracking_number = jQuery("#tracking_number");
|
1215 |
+
|
1216 |
+
if(tracking_provider.val() == '' ){
|
1217 |
+
jQuery( "#select2-tracking_provider-container" ).closest( ".select2-selection" ).css( "border-color", "red" );
|
1218 |
+
error = true;
|
1219 |
+
} else {
|
1220 |
+
jQuery( "#select2-tracking_provider-container" ).closest( ".select2-selection" ).css( "border-color", "" );
|
1221 |
+
}
|
1222 |
+
if(tracking_number.val() == '' ){
|
1223 |
+
tracking_number.css( "border-color", "red" );
|
1224 |
+
error = true;
|
1225 |
+
} else {
|
1226 |
+
tracking_number.css( "border-color", "" );
|
1227 |
+
}
|
1228 |
+
|
1229 |
+
if(error == true){
|
1230 |
+
return false;
|
1231 |
+
}
|
1232 |
+
});
|
1233 |
+
</script>
|
1234 |
+
<?php }
|
1235 |
+
|
1236 |
+
|
1237 |
+
|
1238 |
+
/*
|
1239 |
+
* include files
|
1240 |
+
*/
|
1241 |
+
private function includes(){
|
1242 |
+
require_once $this->get_plugin_path() . '/includes/class-wc-advanced-shipment-tracking.php';
|
1243 |
+
$this->actions = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
1244 |
+
|
1245 |
+
require_once $this->get_plugin_path() . '/includes/class-wc-advanced-shipment-tracking-admin.php';
|
1246 |
+
$this->admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
|
1247 |
+
|
1248 |
+
//cron function
|
1249 |
+
require_once $this->get_plugin_path() . '/includes/class-wc-advanced-shipment-tracking-cron.php';
|
1250 |
+
//api call function
|
1251 |
+
require_once $this->get_plugin_path() . '/includes/class-wc-advanced-shipment-tracking-api-call.php';
|
1252 |
+
}
|
1253 |
+
|
1254 |
+
/**
|
1255 |
+
* Register shipment tracking routes.
|
1256 |
+
*
|
1257 |
+
* @since 1.5.0
|
1258 |
+
*/
|
1259 |
+
public function rest_api_register_routes() {
|
1260 |
+
if ( ! is_a( WC()->api, 'WC_API' ) ) {
|
1261 |
+
return;
|
1262 |
+
}
|
1263 |
+
require_once $this->get_plugin_path() . '/includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php';
|
1264 |
+
require_once $this->get_plugin_path() . '/includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php';
|
1265 |
+
|
1266 |
+
// v1
|
1267 |
+
WC()->api->WC_Advanced_Shipment_Tracking_V1_REST_API_Controller = new WC_Advanced_Shipment_Tracking_V1_REST_API_Controller();
|
1268 |
+
WC()->api->WC_Advanced_Shipment_Tracking_V1_REST_API_Controller->register_routes();
|
1269 |
+
|
1270 |
+
// v2
|
1271 |
+
WC()->api->WC_Advanced_Shipment_Tracking_REST_API_Controller = new WC_Advanced_Shipment_Tracking_REST_API_Controller();
|
1272 |
+
WC()->api->WC_Advanced_Shipment_Tracking_REST_API_Controller->register_routes();
|
1273 |
+
|
1274 |
+
}
|
1275 |
+
|
1276 |
+
/*
|
1277 |
+
* insert provider by ajax
|
1278 |
+
*/
|
1279 |
+
public function woocommerce_shipping_provider_add(){
|
1280 |
+
global $wpdb;
|
1281 |
+
$data = array(
|
1282 |
+
'provider_name' => '',
|
1283 |
+
'provider_url' => '',
|
1284 |
+
'shipping_country' => '',
|
1285 |
+
'shipping_default' => '0',
|
1286 |
+
'display_in_order' => '0'
|
1287 |
+
);
|
1288 |
+
$wpdb->insert( $this->table, $data );
|
1289 |
+
echo json_encode(
|
1290 |
+
array(
|
1291 |
+
"status" => 'success',
|
1292 |
+
'id' => $wpdb->insert_id
|
1293 |
+
)
|
1294 |
+
);
|
1295 |
+
die();
|
1296 |
+
}
|
1297 |
+
|
1298 |
+
/*
|
1299 |
+
* delet provide by ajax
|
1300 |
+
*/
|
1301 |
+
public function woocommerce_shipping_provider_delete(){
|
1302 |
+
|
1303 |
+
$provider_id = $_POST['provider_id'];
|
1304 |
+
if ( ! empty( $provider_id ) ) {
|
1305 |
+
global $wpdb;
|
1306 |
+
$where = array(
|
1307 |
+
'id' => $provider_id,
|
1308 |
+
'shipping_default' => 0
|
1309 |
+
);
|
1310 |
+
$wpdb->delete( $this->table, $where );
|
1311 |
+
}
|
1312 |
+
die();
|
1313 |
+
}
|
1314 |
+
|
1315 |
+
/*
|
1316 |
+
* database update
|
1317 |
+
*/
|
1318 |
+
public function update_database_check(){
|
1319 |
+
if ( is_admin() ){
|
1320 |
+
if( get_option( 'wc_advanced_shipment_tracking' ) < '1.2' ){
|
1321 |
+
$providers = array();
|
1322 |
+
global $wpdb;
|
1323 |
+
$results = $wpdb->get_results( "SELECT * FROM {$this->table}", 'ARRAY_A' );
|
1324 |
+
foreach( $results as $result ){
|
1325 |
+
$providers[ $result['id'] ] = $result;
|
1326 |
+
}
|
1327 |
+
|
1328 |
+
$start = strtotime( date( 'Y-m-d 00:00:00', strtotime( '-180 days' ) ));
|
1329 |
+
$end = strtotime( date( 'Y-m-d 23:59:59', strtotime( '0 days' ) ));
|
1330 |
+
|
1331 |
+
$args = array(
|
1332 |
+
'limit' => -1,
|
1333 |
+
'date_created' => $start.'...'.$end,
|
1334 |
+
);
|
1335 |
+
|
1336 |
+
$orders = wc_get_orders( $args );
|
1337 |
+
foreach( $orders as $order ){
|
1338 |
+
$update = false;
|
1339 |
+
$order_id = $order->get_id();
|
1340 |
+
|
1341 |
+
$tracking_items = $this->get_tracking_items( $order_id );
|
1342 |
+
foreach( (array)$tracking_items as $key => $tracking_item ){
|
1343 |
+
|
1344 |
+
if( is_numeric( $tracking_item['tracking_provider'] ) ){
|
1345 |
+
if( is_string( $providers[ $tracking_item['tracking_provider'] ]['provider_name'] ) ){
|
1346 |
+
$tracking_items[$key]['tracking_provider'] = sanitize_title( $providers[ $tracking_item['tracking_provider'] ]['provider_name'] );
|
1347 |
+
$update = true;
|
1348 |
+
}
|
1349 |
+
}
|
1350 |
+
|
1351 |
+
}
|
1352 |
+
if( $update == true ){
|
1353 |
+
update_post_meta( $order_id, "_wc_shipment_tracking_items", $tracking_items );
|
1354 |
+
}
|
1355 |
+
}
|
1356 |
+
update_option( 'wc_advanced_shipment_tracking', '1.2');
|
1357 |
+
}
|
1358 |
+
}
|
1359 |
+
}
|
1360 |
+
|
1361 |
+
public function plugin_dir_url(){
|
1362 |
+
return plugin_dir_url( __FILE__ );
|
1363 |
+
}
|
1364 |
+
}
|
1365 |
+
|
1366 |
+
/**
|
1367 |
+
* Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
|
1368 |
+
*
|
1369 |
+
* @since 1.6.5
|
1370 |
+
* @version 1.6.5
|
1371 |
+
*
|
1372 |
+
* @return zorem_woocommerce_advanced_shipment_tracking
|
1373 |
+
*/
|
1374 |
+
function wc_advanced_shipment_tracking() {
|
1375 |
+
static $instance;
|
1376 |
+
|
1377 |
+
if ( ! isset( $instance ) ) {
|
1378 |
+
$instance = new zorem_woocommerce_advanced_shipment_tracking();
|
1379 |
+
}
|
1380 |
+
|
1381 |
+
return $instance;
|
1382 |
+
}
|
1383 |
+
|
1384 |
+
/**
|
1385 |
+
* Register this class globally.
|
1386 |
+
*
|
1387 |
+
* Backward compatibility.
|
1388 |
+
*/
|
1389 |
+
$GLOBALS['WC_advanced_Shipment_Tracking'] = wc_advanced_shipment_tracking();
|