Mfp_OrderTracking - Version 1.0.0

Version Notes

Magento Tracking Order system allows Customers to track all order information without logging

Download this release

Release Info

Developer harpreet
Extension Mfp_OrderTracking
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/community/Mfp/OrderTrack/Block/Adminhtml/OrderTrackbackend.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mfp_OrderTrack_Block_Adminhtml_OrderTrackbackend extends Mage_Adminhtml_Block_Template {
4
+
5
+ }
app/code/community/Mfp/OrderTrack/Block/Index.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mfp_OrderTrack_Block_Index extends Mage_Core_Block_Template{
3
+
4
+
5
+
6
+
7
+
8
+ }
app/code/community/Mfp/OrderTrack/Helper/Data.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+ class Mfp_OrderTrack_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+ }
5
+
app/code/community/Mfp/OrderTrack/controllers/Adminhtml/OrdertrackbackendController.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mfp_OrderTrack_Adminhtml_OrdertrackbackendController extends Mage_Adminhtml_Controller_Action
3
+ {
4
+ public function indexAction()
5
+ {
6
+ $this->loadLayout();
7
+ $this->_title($this->__("Backend Page Title"));
8
+ $this->renderLayout();
9
+ }
10
+ }
app/code/community/Mfp/OrderTrack/controllers/IndexController.php ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mfp_OrderTrack_IndexController extends Mage_Core_Controller_Front_Action{
3
+ public function IndexAction() {
4
+
5
+ $this->loadLayout();
6
+ $this->getLayout()->getBlock("head")->setTitle($this->__("Order Track"));
7
+ $breadcrumbs = $this->getLayout()->getBlock("breadcrumbs");
8
+ $breadcrumbs->addCrumb("home", array(
9
+ "label" => $this->__("Home Page"),
10
+ "title" => $this->__("Order Track"),
11
+ "link" => Mage::getBaseUrl()
12
+ ));
13
+
14
+ $breadcrumbs->addCrumb("Order Track", array(
15
+ "label" => $this->__("Order Track"),
16
+ "title" => $this->__("Order Track")
17
+ ));
18
+
19
+ $this->renderLayout();
20
+
21
+ }
22
+
23
+ public function OrderDetailsAction()
24
+ {
25
+ $data = $this->getRequest()->getPost();
26
+ $orderId = $data['orderid'];
27
+ $resource = Mage::getSingleton('core/resource');
28
+ $read= $resource->getConnection('core_read');
29
+ $str = "select * from sales_flat_order inner join sales_flat_shipment_track where
30
+ sales_flat_shipment_track.order_id = sales_flat_order.entity_id and sales_flat_order.increment_id = $orderId";
31
+ $ordertrack = $read->fetchRow($str);
32
+ $ordid = $ordertrack['increment_id'];
33
+ $ord_status = $ordertrack['status'];
34
+ $tracking_number = $ordertrack['track_number'];
35
+ $title = $ordertrack['title'];
36
+ $status = Mage::getStoreConfig('ordertrack_section/ordertrack_group/orderstatus');
37
+ $carrier = Mage::getStoreConfig('ordertrack_section/ordertrack_group/ordercarrier');
38
+ $track_number = Mage::getStoreConfig('ordertrack_section/ordertrack_group/ordertrack');
39
+ if($ordertrack != '')
40
+ {
41
+ $msg .= "<h1>Order Tracking Details</h1>
42
+
43
+
44
+ <table border='1' style='width:100%'>
45
+ <tr>
46
+ <td>Order Id </td>
47
+ <td>$ordid</td>
48
+ </tr> ";
49
+ if($status == 1)
50
+ {
51
+ $msg .= "<tr>
52
+ <td>Order Status</td>
53
+ <td>$ord_status</td>
54
+ </tr>";
55
+ }
56
+ if($carrier == 1)
57
+ {
58
+ $msg .= " <tr>
59
+ <td>Carrier</td>
60
+ <td>$title</td>
61
+ </tr>";
62
+ }
63
+ if($track_number == 1)
64
+ {
65
+ $msg .="<tr>
66
+ <td>Tracking Number </td>
67
+ <td>$tracking_number</td>
68
+ </tr>";
69
+ }
70
+ $msg .="</table>";
71
+ echo $msg;
72
+ }else {
73
+ echo "<h1>No Tracking Details Availables</h1>";
74
+ }}
75
+ }
app/code/community/Mfp/OrderTrack/etc/config.xml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Mfp_OrderTrack>
5
+ <version>1.0.0</version>
6
+ </Mfp_OrderTrack>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <ordertrack>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Mfp_OrderTrack</module>
14
+ <frontName>ordertrack</frontName>
15
+ </args>
16
+ </ordertrack>
17
+ </routers>
18
+ <layout>
19
+ <updates>
20
+ <ordertrack>
21
+ <file>ordertrack.xml</file>
22
+ </ordertrack>
23
+ </updates>
24
+ </layout>
25
+ </frontend>
26
+ <global>
27
+ <helpers>
28
+ <ordertrack>
29
+ <class>Mfp_OrderTrack_Helper</class>
30
+ </ordertrack>
31
+ </helpers>
32
+ <blocks>
33
+ <ordertrack>
34
+ <class>Mfp_OrderTrack_Block</class>
35
+ </ordertrack>
36
+ </blocks>
37
+ </global>
38
+ <adminhtml>
39
+ <menu>
40
+ <ordertrack module="ordertrack">
41
+ <title>Ordertrack</title>
42
+ <sort_order>100</sort_order>
43
+ <children>
44
+ <ordertrackbackend module="ordertrack">
45
+ <title>Settings</title>
46
+ <sort_order>0</sort_order>
47
+ <action>adminhtml/system_config/edit/section/ordertrack_section</action>
48
+ </ordertrackbackend>
49
+ </children>
50
+ </ordertrack>
51
+ </menu>
52
+     <acl>
53
+         <resources>
54
+             <admin>
55
+                 <children>
56
+                     <system>
57
+                         <children>
58
+                             <config>
59
+                                 <children>
60
+                                     <ordertrack_section translate="title" module="ordertrack">
61
+                                         <title>Ordertrack</title>
62
+                                         <sort_order>100</sort_order>
63
+                                     </ordertrack_section>
64
+                                 </children>
65
+                             </config>
66
+                         </children>
67
+                     </system>
68
+                  </children>
69
+             </admin>
70
+         </resources>
71
+     </acl>
72
+ <layout>
73
+ <updates>
74
+ <ordertrack>
75
+ <file>ordertrack.xml</file>
76
+ </ordertrack>
77
+ </updates>
78
+ </layout>
79
+ </adminhtml>
80
+ </config>
app/code/community/Mfp/OrderTrack/etc/system.xml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" ?>
2
+ <config>
3
+     <tabs>
4
+         <ordertrack_tab module="ordertrack" translate="label">
5
+             <label>Ordertrack Manager</label>
6
+             <sort_order>100</sort_order>
7
+         </ordertrack_tab>
8
+     </tabs>
9
+     <sections>
10
+         <ordertrack_section module="ordertrack" translate="label">
11
+             <label>Ordertrack</label>
12
+             <sort_order>200</sort_order>
13
+             <show_in_default>1</show_in_default>
14
+             <show_in_website>1</show_in_website>
15
+             <show_in_store>1</show_in_store>
16
+             <tab>ordertrack_tab</tab>
17
+             <groups>
18
+                 <ordertrack_group translate="label">
19
+                     <label>General</label>
20
+                     <sort_order>10</sort_order>
21
+                     <show_in_default>1</show_in_default>
22
+                     <show_in_website>1</show_in_website>
23
+                     <show_in_store>1</show_in_store>
24
+                     <fields>
25
+                     <trackactive translate="label tooltip comment">
26
+                             <label>Enable</label>
27
+                      <sort_order>30</sort_order>
28
+ <source_model>adminhtml/system_config_source_yesno</source_model>
29
+                             <tooltip>Field ToolTip</tooltip>
30
+                             <show_in_default>1</show_in_default>
31
+                             <show_in_website>1</show_in_website>
32
+                             <show_in_store>1</show_in_store>
33
+                             <frontend_type>select</frontend_type>
34
+                          </trackactive>
35
+
36
+                     <orderstatus translate="label tooltip comment">
37
+                             <label>Status</label>
38
+                      <sort_order>40</sort_order>
39
+ <source_model>adminhtml/system_config_source_yesno</source_model>
40
+                             <tooltip>Field ToolTip</tooltip>
41
+                             <show_in_default>1</show_in_default>
42
+                             <show_in_website>1</show_in_website>
43
+                             <show_in_store>1</show_in_store>
44
+                             <frontend_type>select</frontend_type>
45
+                          </orderstatus>
46
+
47
+                     <ordercarrier translate="label tooltip comment">
48
+                             <label>Carrier</label>
49
+                      <sort_order>50</sort_order>
50
+ <source_model>adminhtml/system_config_source_yesno</source_model>
51
+                             <tooltip>Field ToolTip</tooltip>
52
+                             <show_in_default>1</show_in_default>
53
+                             <show_in_website>1</show_in_website>
54
+                             <show_in_store>1</show_in_store>
55
+                             <frontend_type>select</frontend_type>
56
+                          </ordercarrier>
57
+
58
+                     <ordertrack translate="label tooltip comment">
59
+                             <label>Tracking Number</label>
60
+                      <sort_order>50</sort_order>
61
+ <source_model>adminhtml/system_config_source_yesno</source_model>
62
+                             <tooltip>Field ToolTip</tooltip>
63
+                             <show_in_default>1</show_in_default>
64
+                             <show_in_website>1</show_in_website>
65
+                             <show_in_store>1</show_in_store>
66
+                             <frontend_type>select</frontend_type>
67
+                          </ordertrack>
68
+
69
+
70
+                     </fields>
71
+                 </ordertrack_group>
72
+             </groups>
73
+         </ordertrack_section>
74
+     </sections>
75
+ </config>
app/design/frontend/base/default/layout/ordertrack.xml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="top.links">
5
+ <action method="addLink" translate="label title">
6
+ <label>Order Track</label>
7
+ <url>ordertrack</url>
8
+ <title>Order Track</title>
9
+ <prepare>true</prepare>
10
+ <urlParams />
11
+ <position>10</position>
12
+ </action>
13
+ </reference>
14
+ </default>
15
+
16
+ <ordertrack_index_index>
17
+ <reference name="root">
18
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
19
+ </reference>
20
+ <reference name="content">
21
+ <block type="ordertrack/index" name="ordertrack_index" template="ordertrack/index.phtml"/>
22
+ </reference>
23
+ <reference name="head">
24
+ <action method="addCss"><stylesheet>css/ordertrack.css</stylesheet></action>
25
+ </reference>
26
+ </ordertrack_index_index>
27
+ </layout>
28
+
app/design/frontend/base/default/template/ordertrack/index.phtml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $base_url = Mage::getBaseUrl();
3
+ $active = trim(Mage::getStoreConfig('ordertrack_section/ordertrack_group/trackactive')); ?>
4
+ <script>
5
+ jQuery(document).ready(function () {
6
+ jQuery("#delete-btn").click(function(){
7
+ jQuery('#loadingmessage').show();
8
+ jQuery.ajax({
9
+ type: "POST",
10
+ url: "<?php echo $base_url; ?>ordertrack/index/OrderDetails/", //
11
+ data: {orderid: jQuery("#ordid").val()},
12
+ success: function(html){
13
+ jQuery("#success-msg").html(html);
14
+ jQuery('#loadingmessage').hide();
15
+ },
16
+ error: function(){
17
+ }
18
+ });
19
+ });
20
+ });
21
+ </script>
22
+ <?php
23
+ if($active == 1)
24
+ {
25
+ ?>
26
+
27
+ <div id="about-copy" class="inquiryForm">
28
+ <h1>Track Your Order</h1>
29
+ <p><?php if($des_gen): ?><?php echo $des_gen; ?><?php endif; ?></p>
30
+ <?php if($indicates != "") { ?>
31
+ <div class="indicates"><span class="required"><em>*</em></span><?php echo $this->__($indicates); ?></div>
32
+ <?php } ?>
33
+
34
+ <!--<form name="dealerInquiry" id="dealerInquiry" action="<?php echo $this->getUrl("ordertrack/index/OrderDetails"); ?>" method="post">-->
35
+ <div class="fieldset">
36
+ <ul class="form-list">
37
+ <li class="fields">
38
+ <div class="field">
39
+ <label>Enter Your Order Id:<span class="required"><em>*</em></span></label>
40
+ <div class="input-box">
41
+ <input type="text" name="orderid" id="ordid" size="45" class="input-text required-entry input-box" />
42
+ </div>
43
+ </div>
44
+ <div class="field">
45
+ <label>Email Address:<span class="required"><em>*</em></span></label>
46
+ <div class="input-box">
47
+ <input type="text" name="email" size="45" class="input-text required-entry" />
48
+ </div>
49
+ </div>
50
+
51
+
52
+ </li>
53
+ </ul>
54
+ <div class="button-set">
55
+ <button type="submit" name="SUBMIT" id="delete-btn" class="button" value="SUBMIT" "><span><span><?php if($btn_text): ?><?php echo $btn_text; ?><?php else: ?><?php echo "Submit"; ?><?php endif; ?></span></span></button>
56
+ </div>
57
+ </div>
58
+ <!-- </form> -->
59
+ <div class="clear"></div>
60
+ </div>
61
+ <div class="order-details" id = "success-msg">
62
+ </div>
63
+
64
+ </div>
65
+ <script type="text/javascript">
66
+ //< ![CDATA[
67
+ var customForm = new VarienForm('dealerInquiry');
68
+ //]]>
69
+ function isNumberKey(evt)
70
+ {
71
+ var charCode = (evt.which) ? evt.which : evt.keyCode
72
+ if (charCode > 31 && (charCode < 48 || charCode > 57))
73
+ {
74
+ return false;
75
+ }
76
+ return true;
77
+ }
78
+
79
+ </script>
80
+
81
+ <?php } else { ?>
82
+ <h1>Please Enable your module first</h1>
83
+ <?php } ?>
84
+
85
+ <div id ="loadingmessage" style="display:none;"><img src="<?php echo $this->getSkinUrl('css/loading.gif'); ?>" /></div>
app/etc/modules/Mfp_OrderTrack.xml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Mfp_OrderTrack>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ <version>1.0.0</version>
8
+ </Mfp_OrderTrack>
9
+ </modules>
10
+ </config>
package.xml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Mfp_OrderTracking</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://www.opensource.org/licences/osl-3.0.php">OSLv3.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Magento Tracking Order system allows Customers to track all order information without logging into Magento store.&#xD;
10
+ </summary>
11
+ <description>Magento Tracking Order system allows Customers to track all order information without logging into Magento store The customer just need to fill out the order number and the valid email address into the system and it will display all the details of the said order with latest status, including the shipment tracking data also.&#xD;
12
+ Note : Please include latest jquery file according to your need.&#xD;
13
+ </description>
14
+ <notes>Magento Tracking Order system allows Customers to track all order information without logging </notes>
15
+ <authors><author><name>harpreet</name><user>harpreet</user><email>harpreetsinghphp@gmail.com</email></author></authors>
16
+ <date>2015-09-24</date>
17
+ <time>09:28:58</time>
18
+ <contents><target name="magecommunity"><dir name="Mfp"><dir name="OrderTrack"><dir name="Block"><dir name="Adminhtml"><file name="OrderTrackbackend.php" hash="5b0fbd0c456280c60f2b67778f928f1b"/></dir><file name="Index.php" hash="499432ee434fe70a154f0624e163d015"/></dir><dir name="Helper"><file name="Data.php" hash="2e9bbe222dd11ef0cd8531038fd7e233"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="OrdertrackbackendController.php" hash="4fab891128fc19c6cd5c2f04f8f02a8f"/></dir><file name="IndexController.php" hash="e5b436049625ef5c017bd339a8c97d5f"/></dir><dir name="etc"><file name="config.xml" hash="358bf3c80e47e1be61eccda583e8320e"/><file name="system.xml" hash="a51473646124eb9b4c3d69c0197e73d4"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mfp_OrderTrack.xml" hash="a20e9e4629607c68b6c4cdbd7df0eb31"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ordertrack.xml" hash="d4c855ef38207b416e6471866f8303da"/></dir><dir name="template"><dir name="ordertrack"><file name="index.phtml" hash="f3c569fae3e4a9df3d3d7e304ba5fd1c"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="ordertrack.css" hash="c04fe238549af29ffeeb10ec3d4911be"/></dir></dir></dir></dir></target><target name="magelocal"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="loading.gif" hash=""/></dir></dir></dir></dir></target></contents>
19
+ <compatible/>
20
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
21
+ </package>
skin/frontend/base/default/css/ordertrack.css ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***************************************************************************
2
+ @extension : Dealer Inquiry Extension.
3
+ @copyright : Copyright (c) 2014 Capacity Web Solutions.
4
+ ( http://www.capacitywebsolutions.com )
5
+ @author : Capacity Web Solutions Pvt. Ltd.
6
+ @support : magento@capacitywebsolutions.com
7
+ ***************************************************************************/
8
+
9
+ @import url(http://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,400,400italic,500,500italic,700,700italic,900,900italic);
10
+ @import url(http://fonts.googleapis.com/css?family=Special+Elite);
11
+ .clear { clear:both; }
12
+ .inquiryForm { width:50%; float:left;background:#fff; padding:20px; font-family:'Roboto', Arial, Helvetica, sans-serif; box-sizing:border-box; }
13
+ .inquiryForm h1 { color:#346699; font:500 30px/32px 'Roboto', Arial, Helvetica, sans-serif; padding:0; text-shadow:0 2px 0px #fff; border-bottom:2px solid #ddd; padding-bottom:10px; margin:0 0 10px; }
14
+ .inquiryForm h1 img { float:left; margin-right:7px; vertical-align:middle; }
15
+ .indicates { float:right; color:#FF0000; margin-bottom:10px; }
16
+ .inquiryForm .fieldset { clear:both; background:none; border:0 none; padding:0; margin:0; }
17
+ .inquiryForm .form-list .field, .inquiryForm .form-list .wide, .inquiryForm .form-list .control { margin-bottom:0; }
18
+ .inquiryForm .fieldset .form-list li { margin-bottom:0; }
19
+ .inquiryForm .fieldset .form-list .field { width:600px; margin:0 0 10px 0; float:none; }
20
+ .inquiryForm .fieldset .form-list .input-box { width:500px; }
21
+ .inquiryForm .fieldset .form-list .fields.last { width:310px; float:left; }
22
+ .inquiryForm .fieldset .form-list textarea { height:inherit; }
23
+ .inquiryForm .fieldset .form-list label { color:#333; font:500 14px/18px 'Roboto', Arial, Helvetica, sans-serif; margin-bottom:3px; display:block; }
24
+ .inquiryForm .fieldset .form-list input, .inquiryForm .fieldset .form-list select,
25
+ .inquiryForm .fieldset .form-list textarea { background:#fff; border:1px solid #ddd; padding:5px; font-size:14px; color:#555; }
26
+ .inquiryForm .fieldset .form-list input, .inquiryForm .fieldset .form-list select,
27
+ .inquiryForm .fieldset .form-list textarea { width:100%; border-radius:0 0 0; -webkit-border-radius:0 0 0; box-shadow:1px 1px 1px #ddd; -webkit-box-shadow:1px 1px 1px #ddd; }
28
+ .inquiryForm .fieldset .form-list input:focus, .inquiryForm .fieldset .form-list select:focus,
29
+ .inquiryForm .fieldset .form-list textarea:focus { box-shadow:0 0 3px #ffc45d; -webkit-box-shadow:0 0 3px #ffc45d; transition:all 0.5s ease-in-out 0s; -moz-transition:all 0.5s ease-in-out; -webkit-transition:all 0.5s ease-in-out; }
30
+ .inquiryForm .fieldset .form-list li:after { clear:both; content:"."; display:block; font-size:0; height:0; line-height:0; overflow:hidden; }
31
+ .input-box:after { clear:both; content:""; display:table; }
32
+ .required { color:#EB340A; }
33
+ .captcha-left { float:left; }
34
+ .captcha-left b { color:#000; font:28px/32px 'Special Elite'; border:1px solid #ddd; padding:11px 90px 2px; background:#fff1d8; text-align:center; margin-right:10px; box-shadow:1px 1px 1px #ddd; -webkit-box-shadow:1px 1px 1px #ddd; }
35
+ .inquiryForm .fieldset .form-list .fields.last label { margin-bottom:15px; }
36
+ .inquiryForm .fieldset .form-list .fields.last input.input-text { width:77%; margin-top:10px; }
37
+ #img_refresh { float:left; margin-top:-11px; }
38
+ #img_refresh img { cursor:pointer; background:#ffa200; border:2px solid #555; padding:10px; box-shadow:1px 1px 1px #ddd; -webkit-box-shadow:1px 1px 1px #ddd; border-radius:30px; -webkit-border-radius:30px; }
39
+ .inquiryForm .button { color:#000; background:#0093dd ; padding:10px 30px; font:600 18px/22px 'Roboto', Arial, Helvetica, sans-serif; text-shadow:0 1px 0px #fff; margin-top:15px; transition:all 0.5s ease-in-out 0s; -moz-transition:all 0.5s ease-in-out; -webkit-transition:all 0.5s ease-in-out; border:2px solid #fff; box-shadow:1px 2px 2px #999; -webkit-box-shadow:1px 2px 2px #999; }
40
+ .inquiryForm .button:hover { color:#fff; background:#346699; text-shadow:0 1px 0px #888; }
41
+ .inquiryForm button.button span { color:inherit; }
42
+ .inquiryForm button.button span { background:none; border:0 none; font:inherit; height:inherit; }
43
+ p.required, .validation-advice { color:#FF0000; font-size:13px; margin:5px 0 0; }
44
+
45
+ @media (max-width:1200px) {
46
+ .inquiryForm .fieldset .form-list .field { width:60%; margin:0 0 10px 0; float:none; }
47
+ .inquiryForm .fieldset .form-list .input-box { width:100%; }
48
+ .inquiryForm .fieldset .form-list .fields.last { width:50%; margin:0; }
49
+
50
+ }
51
+ @media (max-width:770px) {
52
+ .inquiryForm .fieldset .form-list .field { width:100%; clear:both; }
53
+ .inquiryForm .fieldset .form-list input, .inquiryForm .fieldset .form-list select, .inquiryForm .fieldset .form-list textarea,
54
+ .inquiryForm .fieldset .form-list .fields.last input.input-text, .inquiryForm .fieldset .form-list .fields.last { width:100%; }
55
+ }
56
+ @media (max-width:470px) {
57
+ .inquiryForm .fieldset .form-list .field { width:100%; clear:both; }
58
+ .inquiryForm .fieldset .form-list input, .inquiryForm .fieldset .form-list select, .inquiryForm .fieldset .form-list textarea,
59
+ .inquiryForm .fieldset .form-list .fields.last input.input-text, .inquiryForm .fieldset .form-list .fields.last { width:100%; }
60
+ }
61
+
62
+ @media (max-width:390px) {
63
+ .inquiryForm h1 { font-size:28px; }
64
+ .captcha-left { margin-bottom:15px; }
65
+ #img_refresh, .captcha-left { clear:both; float:none; }
66
+ #img_refresh { text-align:center; }
67
+ }
68
+
69
+
70
+
71
+ .inquiryThank { width:100%; background:#f7f7f7; padding:20px; font-family:'Roboto', Arial, Helvetica, sans-serif; box-sizing:border-box; }
72
+ .inquiryThank h1 { border-bottom:2px solid #ddd; color:#346699; font:500 30px/32px 'Roboto',Arial,Helvetica,sans-serif; margin:0 0 10px; padding:0 0 10px; text-shadow:0 2px 0 #fff; }
73
+
74
+ .order-details {
75
+ width: 45%;
76
+ float: right;
77
+ margin-top: 21px;
78
+ }
79
+
80
+ .order-details h1{
81
+ color: #346699;
82
+ font: 500 30px/32px 'Roboto', Arial, Helvetica, sans-serif;
83
+ padding: 0;
84
+ text-shadow: 0 2px 0px #fff;
85
+ border-bottom: 2px solid #ddd;
86
+ padding-bottom: 10px;
87
+ margin: 0 0 26px;
88
+ }
89
+
90
+ table {
91
+ border: 1px solid #ccc;
92
+ }
93
+ tr {
94
+ height: 40px;
95
+ }
96
+ td {
97
+ padding-left: 10px;
98
+ }