diff --git a/admin-dev/themes/default/admin.css b/admin-dev/themes/default/admin.css index e31f7f89d..8543e37fc 100644 --- a/admin-dev/themes/default/admin.css +++ b/admin-dev/themes/default/admin.css @@ -1,7 +1,20 @@ -body{background:#EFEFEF} +body {font-family: Arial, Helvetica, sans-serif;} + +h1, h2, h3, h4, h5, h6 {font-family: Arial, Helvetica, sans-serif;} + + + +ul li {list-style-type:none;} + + + #top_container{margin:0;padding:0} -#header_infos{float:left;font-size:10px;margin:10px 20px 4px 0;width:380px;height:40px} -#header_infos #header_shopname span{display:block;font-size:24px;height:28px;overflow:hidden;margin-bottom:-8px} + + +/*HEADER*/ +#header { background-color: #3d3d3d; height:94px;} +#header_infos{float:left;font-size:10px;margin:10px 20px 4px 0;width:380px;} +#header_infos #header_shopname span{display:block;font-size:24px;height:28px;overflow:hidden;margin-bottom:-8px; color:#fff;} #header_infos #header_logout{text-decoration:underline} #header_infos #header_foaccess{text-decoration:none} #header_search{float:right;height:39px;width:356px} @@ -10,8 +23,9 @@ body{background:#EFEFEF} #header_search #bo_search_submit{cursor:pointer;float:left;font-weight:700;margin:7px 0 0 2px;width:79px} #header_quick{float:right;height:39px;margin-right:1px;width:175px} #header_quick #quick_select{margin:8px 0 0 20px;vertical-align:middle;width:140px} -#header_shoplist{float: right;} +#header_shoplist{float: right;clear:right} #header_myaccount{background:url(bg-lang.png) no-repeat;display:block;float:right;height:16px;margin:8px 1px 0 0;width:16px} +.path_bar {display:none;} .button{background-color:#FFF6D3;border:1px solid #DFD5AF;border-left:1px solid #FFF6D3;border-top:1px solid #FFF6D3;color:#268CCD;padding:3px} .button[disabled=disabled]{color:#8C8C8C} input.button[disabled=disabled]:hover{background-color:#FFF6D3} @@ -35,9 +49,11 @@ input.button[disabled=disabled]:hover{background-color:#FFF6D3} .cat_bar a{font-weight:700} fieldset{background:#FFFFF0;border:1px solid #DFD5C3;font-size:1.1em;margin:0;padding:1em} legend{background:#FFF6D3;border:1px solid #DFD5C3;font-weight:700;margin:0;padding:.2em .5em;text-align:left} -#menu{float:left;height:30px;line-height:normal;margin:10px 0 0;*margin:7px 0 0;padding:0;width:100%;padding:0 1px} -#menu li.maintab{background:url(bg-tab.png) repeat-x 0 -2px;float:left;height:29px;list-style:none;margin:0 1px 0 0;list-style:none;display:block;border:1px solid #999999;-moz-border-radius-topright:6px;-moz-border-radius-topleft:6px;-webkit-border-top-right-radius:6px;-webkit-border-top-left-radius:6px} -#menu li.submenu_size .title{color:#000;display:block;height:20px;padding:8px 6px 4px 0;font-weight:bold;font-size:0.95em;} + +/*MENU*/ +#menu{ background-color: #f8f8f8; border-bottom:1px solid #e5e5e5; float:left;height:36px;line-height:normal;margin:10px 0;*margin:0;padding:0;width:100%;} +#menu li.maintab{float:left;height:29px;list-style:none;margin:0 1px 0 0;list-style:none;display:block; border-left:1px solid #fff; border-right:1px solid #ccc;} +#menu li.submenu_size .title{color:#000;display:block;height:20px;padding:8px 6px 4px 0;font-weight:normal;font-size:0.95em;} #menu li.submenu_size .title{_display:inline;_padding:6px 5px 4px 0} #menu li{_height:32px;_padding-top:3px} #menu img{display:inline;padding:0 3px 0 6px;vertical-align:top;width:16px;height:16px} @@ -47,15 +63,10 @@ legend{background:#FFF6D3;border:1px solid #DFD5C3;font-weight:700;margin:0;padd .withLeftBorder{background:transparent url(separator_subnav.png) no-repeat 0 5px} .submenu li{list-style:none;margin:0;padding-left:7px;padding-right:7px;margin-top:8px;float:left;height:16px;} .submenu li a{text-decoration:underline} -.tab-row {height:24px;width:100px;margin-left:25px;border:1px solid #cccccc} -.tab-row .tab .selected {background:#FFF6D3;margin:1px -3px -3px 25px;top:-2px;background-color:#eeeeee} -.tab-row .tab {background:#EFEFEF;width:100px;} -.tab-row .tab-page.selected {background:#FFF6D3;font-weight:bold;margin:1px -3px -3px 0px;top:-2px;background-color:#eeeeee} -.tab-row .tab-page {background:#EFEFEF;width:100px;} hr {height: 1px;color:#E0D0B1;background-color:#E0D0B1} #footer {height:40px;background:#ECEADE url(footer-bg.png) repeat-x scroll left bottom;border:1px solid #999999;font-size:12px;clear:both;font-size:0.9em;color:#666666} -#content {background-color:#FFF;border-left:1px solid #999999;border-right:1px solid #999999; border-top:1px solid #999999} -input[type="text"],input[type="password"],input[type="file"],textarea {border:1px solid #E0D0B1} +#content {} +input[type="text"],input[type="password"],input[type="file"],textarea {border:1px solid #ccc;} select {border: 1px solid #E0D0B1} select[disabled="disabled"], input[disabled="disabled"],textarea[disabled="disabled"] {border: 1px solid #CCCCCC;color: #AAAAAA} .header_module{background:url(header_module.png);padding-left: 0.5em;padding-top: 0.8em;height:20px;color: #812143;border:solid 1px #CCC;} @@ -88,10 +99,51 @@ a.module_toggle_all{color: #268CCD;} #header_infos .notifs_wrapper a {font-weight: bold;color: black;} .notifs_wrapper p {font-size: 12px;padding-top:8px;margin:0;border-top: 2px solid #E0E0E0;} .notifs_wrapper p.no_notifs {border: none;} -.productTabs ol{padding:0;} -.productTabs{background-color:#e0e0e0;border:1px solid #cccccc;position:absolute;top:100px;left:50px;} +/*toolbarBox*/ +.toolbarBox { margin-bottom:10px;} +.toolbarBox .pageTitle { line-height:48px} +.toolbarBox .pageTitle h3 {font-size: 2em; font-weight: bold; line-height: 48px; margin: 0; padding: 0;} + +.toolbarBox ul.cc_button {float:right;margin:0;padding:0;} +.toolbarBox ul.cc_button li {color: #666666; float: left; height: 48px; list-style: none outside none; padding: 1px 1px 3px 4px; text-align: center;} +.toolbarBox a.toolbar_btn { border-color: #cccccc #bbbbbb #a0a0a0; border-left: 1px solid #bbbbbb; border-radius: 3px 3px 3px 3px; border-right: 1px solid #bbbbbb; border-style: solid; border-width: 1px;font-size:11px;cursor: pointer; display: block; float: left; padding: 1px 5px; white-space: nowrap; text-shadow: 0 1px 0 #ffffff; + background: -moz-linear-gradient(center top , #ffffff, #eeeeee) repeat scroll 0 0 transparent; + background: -webkit-linear-gradient(center top , #ffffff, #eeeeee) repeat scroll 0 0 transparent;} +.toolbarBox a.toolbar_btn:hover {border-color:#939393;} +.toolbarBox .toolbar_btn span{ display: block;float: none;height: 32px;margin: 0 auto;width: 32px;} +.toolbarBox .process-icon-delete { background-image: url(process-icon-delete.png);} +.toolbarBox .process-icon-duplicate { background-image: url(process-icon-duplicate.png);} +.toolbarBox .process-icon-preview { background-image: url(process-icon-preview.png);} +.toolbarBox .process-icon-stats { background-image: url(process-icon-stats.png);} +.toolbarBox .process-icon-cancel { background-image: url(process-icon-cancel.png);} +.toolbarBox .process-icon-new{ background-image: url(process-icon-new.png);} +.toolbarBox .process-icon-save { background-image: url(process-icon-save.png);} +.toolbarBox .process-icon-save-and-stay { background-image: url(process-icon-save-and-stay.png);} + + +/*productBox*/ +#productBox { position:relative; width:100%; float:left;} + + +/*tab-pane*/ +form#product{ background-color:#ebedf4; border:1px solid #ccced7; min-height:300px; padding: 5px 10px 10px; margin-left:140px;} +form.defaultForm{ background-color:#ebedf4; border:1px solid #ccced7; min-height:300px; padding: 5px 10px 10px;} +.tab-row {} +.tab-row .tab {background:#EFEFEF;width:100px;} +.tab-row .tab-page.selected {} +.tab-row .tab-page {} +.productTabs{ background-color:#fafafa; border:1px solid #ccced7; border-right:none; float:left; width:140px;} +.productTabs ul{padding:0;} +.productTabs ul li.tab-row { border:none; } +.productTabs ul li.tab-row:first-child a {border-top:none;} +.productTabs ul li.tab-row a { display:block; font-weight:normal; color:#666;padding: 7px 10px; border-top:1px solid #CCCED7; border-right:1px solid #CCCED7;} +.productTabs ul li.tab-row a.selected { background-color:#EBEDF4;font-weight:bold;color:#000; border-right:none;} +.product-tab-content h4.tab { display:none;} + + + ul.cc_button {float:right;margin:0;padding:6px 0;} ul.cc_button li {float:left;text-decoration: none;list-style: none;font-size:12px;padding:5px 0;} -.available_btn {border:2px outset black;display:block;height:50px;margin:2px;padding:3px 2px 1px 2px;width:60px;} -.available_btn span{font-size:small;margin-top:5px;text-align:center} +.toolbar_btn {border:2px outset black;display:block;height:50px;margin:2px;padding:3px 2px 1px 2px;width:60px;} +.toolbar_btn span{font-size:small;margin-top:5px;text-align:center} diff --git a/admin-dev/themes/default/process-icon-cancel.png b/admin-dev/themes/default/process-icon-cancel.png new file mode 100644 index 000000000..3cfadb3e2 Binary files /dev/null and b/admin-dev/themes/default/process-icon-cancel.png differ diff --git a/admin-dev/themes/default/process-icon-delete.png b/admin-dev/themes/default/process-icon-delete.png new file mode 100644 index 000000000..372f49380 Binary files /dev/null and b/admin-dev/themes/default/process-icon-delete.png differ diff --git a/admin-dev/themes/default/process-icon-duplicate.png b/admin-dev/themes/default/process-icon-duplicate.png new file mode 100644 index 000000000..2e6a86481 Binary files /dev/null and b/admin-dev/themes/default/process-icon-duplicate.png differ diff --git a/admin-dev/themes/default/process-icon-new.png b/admin-dev/themes/default/process-icon-new.png new file mode 100644 index 000000000..a4705a29f Binary files /dev/null and b/admin-dev/themes/default/process-icon-new.png differ diff --git a/admin-dev/themes/default/process-icon-preview.png b/admin-dev/themes/default/process-icon-preview.png new file mode 100644 index 000000000..d8a448281 Binary files /dev/null and b/admin-dev/themes/default/process-icon-preview.png differ diff --git a/admin-dev/themes/default/process-icon-save-and-stay.png b/admin-dev/themes/default/process-icon-save-and-stay.png new file mode 100644 index 000000000..05137c83f Binary files /dev/null and b/admin-dev/themes/default/process-icon-save-and-stay.png differ diff --git a/admin-dev/themes/default/process-icon-save.png b/admin-dev/themes/default/process-icon-save.png new file mode 100644 index 000000000..05137c83f Binary files /dev/null and b/admin-dev/themes/default/process-icon-save.png differ diff --git a/admin-dev/themes/default/process-icon-stats.png b/admin-dev/themes/default/process-icon-stats.png new file mode 100644 index 000000000..0ff815b51 Binary files /dev/null and b/admin-dev/themes/default/process-icon-stats.png differ diff --git a/admin-dev/themes/template/products/content.tpl b/admin-dev/themes/template/products/content.tpl index 953d1974b..65848b593 100644 --- a/admin-dev/themes/template/products/content.tpl +++ b/admin-dev/themes/template/products/content.tpl @@ -4,15 +4,41 @@ + +
+ + + {if isset($product)} +
+

{l s='Current product:'} 

+
+ {/if} +
+ +
{if isset($product_tabs)}
-
    +
      {foreach $product_tabs key=numStep item=tab}
    • {$tab.name}{*todo href when nojs*}
    • {/foreach} -
+
-
{$draft_warning} -
@@ -210,6 +226,7 @@ $(document).ready(function(){
+

{l s='Back to list'}
{else} diff --git a/admin-dev/themes/template/products/informations.tpl b/admin-dev/themes/template/products/informations.tpl index 5582c4858..2f9f29a60 100644 --- a/admin-dev/themes/template/products/informations.tpl +++ b/admin-dev/themes/template/products/informations.tpl @@ -61,8 +61,7 @@ } }); - {l s='Product global information'} -  -

{l s='Current product:'}{l s='no name'}

+

{l s='Product global information'}

-
+

{* global information *} @@ -139,7 +138,7 @@ {* status informations *}
- + + {/if} active}style="display:none"{/if} > - + + + {if $ps_use_ecotax} + + + + + {/if} + + + + + + + + + + + + + + + + + + + + + {* [end] prices *} + {$content} diff --git a/classes/AdminController.php b/classes/AdminController.php index f79783f28..62e701799 100644 --- a/classes/AdminController.php +++ b/classes/AdminController.php @@ -92,7 +92,7 @@ class AdminControllerCore extends Controller protected $_list = array(); /** @var array Cache for query results */ - protected $toolbar_btn = array(); + protected $toolbar_btn = null; /** @var integer Number of results in list */ protected $_listTotal = 0; @@ -712,7 +712,8 @@ class AdminControllerCore extends Controller } /** - * assign $this->toolbar_btn in smarty + * assign default action in toolbar_btn smarty var, if they are not set. + * uses override to specifically add, modify or remove items * */ public function initToolbar() @@ -982,7 +983,7 @@ class AdminControllerCore extends Controller 'lang_iso' => $this->context->language->iso_code, 'link' => $this->context->link, 'bo_color' => isset($this->context->employee->bo_color) ? Tools::htmlentitiesUTF8($this->context->employee->bo_color) : null, - 'shop_name' => Configuration::get('PS_SHOP_NAME'), + 'shop_name' => $shop_name, 'show_new_orders' => Configuration::get('PS_SHOW_NEW_ORDERS'), 'show_new_customers' => Configuration::get('PS_SHOW_NEW_CUSTOMERS'), 'show_new_messages' => Configuration::get('PS_SHOW_NEW_MESSAGES'), @@ -1043,6 +1044,8 @@ class AdminControllerCore extends Controller */ public function initContent() { + // toolbar (save, cancel, new, ..) + $this->initToolbar(); if ($this->display == 'edit' || $this->display == 'add') { if (!($this->object = $this->loadObject(true))) @@ -1055,9 +1058,6 @@ class AdminControllerCore extends Controller $this->content .= $this->initOptions(); } - // toolbar (save, cancel, new, ..) - $this->initToolbar(); - $this->context->smarty->assign(array( 'table' => $this->table, 'current' => self::$currentIndex, @@ -1160,6 +1160,7 @@ class AdminControllerCore extends Controller $helper->default_form_language = $this->default_form_language; $helper->allow_employee_form_lang = $this->allow_employee_form_lang; $helper->fields_value = $this->getFieldsValue($this->object); + $helper->toolbar_btn = $this->toolbar_btn; if ($this->tabAccess['view']) { if (Tools::getValue('back')) diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index c9d5f8a6d..b8fd5990b 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -1703,6 +1703,55 @@ if (false) $this->context->smarty->assign('draft_warning',$content); } + public function initToolbar() + { + if ($this->display == 'edit') + if ($product = $this->loadObject(true)) + { + if($this->tabAccess['delete']) + $this->toolbar_btn['delete'] = array( + 'short' => 'Delete', + 'href' => $this->context->link->getAdminLink('AdminProducts').'&id_product='.$product->id.'&deleteproduct', + 'desc' => $this->l('Delete this product'), + 'confirm' => 1); + + if($this->tabAccess['add']) + $this->toolbar_btn['duplicate'] = array( + 'short' => 'Duplicate', + 'href' => '#todo'.$this->context->link->getAdminLink('AdminProducts').'&id_product='.$product->id, 'desc' => $this->l('Duplicate'), + 'confirm' => 1 + ); + // @TODO navigation + $this->toolbar_btn['preview'] = array( + 'short' => 'Preview', + 'href' => '', 'desc' => 'prevdesc', + 'class' => 'previewUrl', + ); + if (file_exists(_PS_MODULE_DIR_.'statsproduct/statsproduct.php')) + $this->toolbar_btn['stats'] = array( + 'short' => 'Statistics', + 'href' => $this->context->link->getAdminLink('AdminStats').'&module=statsproduct&id_product='.$product->id, + 'desc' => $this->l('View product sales'), + ); + + $this->toolbar_btn['cancel'] = array( + 'short' => 'Close', + 'href' => '#todo'.$this->context->link->getAdminLink('AdminProducts').'&id_product='.$product->id, 'desc' => $this->l('Cancel'), + 'confirm' => 1); + if($this->tabAccess['add']) + $this->toolbar_btn['new'] = array( + 'short' => 'Create', + 'href' => '#todo'.$this->context->link->getAdminLink('AdminProducts').'&id_product='.$product->id, 'desc' => $this->l('Create'), + ); + if($this->tabAccess['edit']) + $this->toolbar_btn['save'] = array( + 'short' => 'Save', + 'href' => '#todo'.$this->context->link->getAdminLink('AdminProducts').'&id_product='.$product->id, 'desc' => $this->l('Save'), + ); + } + return parent::initToolbar(); + } + /** * initForm contains all necessary initialization needed for all tabs * @@ -1722,8 +1771,9 @@ if (false) $this->context->smarty->assign('upload_max_filesize', ini_get('upload_max_filesize')); $this->context->smarty->assign('country_display_tax_label', $this->context->country->display_tax_label); + // let's calculate this once for all if (!($obj = $this->loadObject(true))) - throw new Exception('object not loaded'); + throw new PrestashopException('object not loaded'); $this->_displayDraftWarning($obj->active); return parent::initForm(); } @@ -1734,7 +1784,7 @@ if (false) parent::displayForm(); $this->addJs(_PS_JS_DIR_.'attributesBack.js'); if (!($product = $this->loadObject(true))) - throw new Exception('object not loaded'); + throw new PrestashopException('object not loaded'); $smarty = $this->context->smarty; $product_tabs = array(); // action defines which tab to display first @@ -1860,7 +1910,7 @@ switch ($this->action) } } - function initFormPrices($obj, $languages, $defaultLanguage) + public function initFormPrices($obj, $languages, $defaultLanguage) { $content = ''; if ($obj->id) @@ -2325,6 +2375,15 @@ switch ($this->action) // customization 'uploadable_files', 'text_fields' ); + // prices + array_push($product_props, + 'price', 'wholesale_price', 'id_tax_rules_group', 'unit_price_ratio', 'on_sale', + 'unity' + ); + + if(Configuration::get('PS_USE_ECOTAX')) + array_push($product_props, 'ecotax'); + foreach($product_props as $prop) $product->$prop = $this->getFieldValue($product, $prop); $product->manufacturer_name = Manufacturer::getNameById($product->id_manufacturer); @@ -2402,121 +2461,20 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); $smarty->assign('error_product_download', $error); } - $currency = $this->context->currency; - $content .= ' - - - - '; - $content .= ' - - - - '; - $tax_rules_groups = TaxRulesGroup::getTaxRulesGroups(true); - $taxesRatesByGroup = TaxRulesGroup::getAssociatedTaxRatesByIdCountry($this->context->country->id); - $ecotaxTaxRate = Tax::getProductEcotaxRate(); - $content .= ''; - $content .= ' - - - - - '; - if (Configuration::get('PS_USE_ECOTAX')) - $content .= ' - - - - '; - - if ($this->context->country->display_tax_label) - { - $content .= ' - - - - '; - } - else - $content .= ''; - - $content .= ' - - - - - - - - - - - - - - - - '; + $smarty->assign('ps_tax', Configuration::get('PS_TAX')); if ((int)Configuration::get('PS_STOCK_MANAGEMENT')) @@ -2756,7 +2714,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); { $content .= ' - +
{l s='Status:' } active}checked="checked" {/if} /> {l s='Shop association:'} {$displayAssoShop}
{l s='Options:' } available_for_order}checked="checked"{/if} /> + + + + + {l s='Create'} {l s='Create'} + + + {if $tax_exclude_taxe_option} + {l s='Taxes are currently disabled'} ({l s='Tax options'}) + + {/if} +
+ {$currency->prefix}{$currency->suffix} + ({l s='already included in price'}) +
+ {$currency->prefix}{$currency->suffix} +
+ {$currency->prefix} {$currency->suffix} + {l s='per'} + {if $ps_tax && $country_display_tax_label} + {l s='or'} + {$currency->prefix}0.00{$currency->suffix} + {l s='per'} {$product->unity} {l s='with tax'} + + {/if} +

{l s='Eg. $15 per Lb'}

+
+ on_sale}checked="checked"{/if} value="1" />  +
+ + {$currency->prefix}{$currency->suffix} ({l s='tax incl.'}) + + + + {if $country_display_tax_label} + / + {/if} + {$currency->prefix}{$currency->suffix} {if $country_display_tax_label}({l s='tax excl.'}){/if} +
+
{l s='You can define many discounts and specific price rules in the Prices tab'}
+
- '.($currency->format % 2 != 0 ? $currency->sign.' ' : '').''.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' - '.$this->l('The wholesale price at which you bought this product').' -
- '.($currency->format % 2 != 0 ? $currency->sign.' ' : '').''.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' * - '.$this->l('The pre-tax retail price to sell this product').' -
- - - - '.$this->l('Create').' '.$this->l('Create').' - '; - if (Tax::excludeTaxeOption()) - { - $content .= ''.$this->l('Taxes are currently disabled').' ('.$this->l('Tax options').')'; - $content .= ''; - } - - $content .= '
- '.($currency->format % 2 != 0 ? $currency->sign.' ' : '').''.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' - ('.$this->l('already included in price').') -
- '.($currency->format % 2 != 0 ? ' '.$currency->sign : '').' '.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' -
- '.($currency->format % 2 != 0 ? ' '.$currency->sign : '').' '.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' '.$this->l('per').' '. - (Configuration::get('PS_TAX') && $this->context->country->display_tax_label ? ''.$this->l('or').' '.($currency->format % 2 != 0 ? ' '.$currency->sign : '').'0.00'.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' '.$this->l('per').' '.$this->getFieldValue($product, 'unity').' '.$this->l('with tax') : '').' -

'.$this->l('Eg. $15 per Lb').'

-
- getFieldValue($product, 'on_sale') ? 'checked="checked"' : '').'value="1" />  -
- - '.($currency->format % 2 != 0 ? $currency->sign.' ' : '').''.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' ('.$this->l('tax incl.').') - - '; - - if ($this->context->country->display_tax_label) - $content .= ' / '; - - $content .= ($currency->format % 2 != 0 ? $currency->sign.' ' : '').''.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' '.($this->context->country->display_tax_label ? '('.$this->l('tax excl.').')' : '').' -
-
'.$this->l('You can define many discounts and specific price rules in the Prices tab').'
-
'.$this->l('Do you want an image associated with the product in your description?').' diff --git a/css/admin.css b/css/admin.css index 7bfe16cc9..900a1412c 100644 --- a/css/admin.css +++ b/css/admin.css @@ -68,11 +68,11 @@ hr { } legend, th { - font-family : Trebuchet,Arial,Helvetica,sans-serif; + font-family : Arial,Helvetica,sans-serif; } h1, h2, h3, h4, h5, h6 { - font-family : "Trebuchet MS",Trebuchet,Arial,Helvetica,sans-serif; + font-family : Arial,Helvetica,sans-serif; } h1 { @@ -327,7 +327,6 @@ select optgroup option { /* STRUCTURE */ #container { - width: 1024px; margin: 0 auto 2em auto; text-align: left; }