.default_table th, table th' => array('background-color' => 'before_footer_bg', 'color' => 'alt_text_color'), '.pricetable-inner .pricetable-column.pricetable-featured .pricetable-column-inner .table-head .price .currency, .pricetable-inner .pricetable-column.pricetable-featured .pricetable-column-inner .table-head .price .after ' => array('color' => 'body_bg_color'), '.pricetable-inner .pricetable-column .pricetable-column-inner .features li:nth-child(odd), .default_table tr:nth-child(odd) td, table tr:nth-child(odd) td' => array('background-color' => 'color_frame_wrap_bg'), '.pricetable-inner .pricetable-column .pricetable-column-inner .features .pricetable-feature span' => array('color' => 'body_color')); $css = ''; foreach ($local as $name => $properties) { $css .= $name . '{' . "\n"; foreach ($properties as $property => $value) { $miss_tmp = ''; $this_value = miss_get_css($value); if ($property == '-miss-gradient') { $css .= "\t" . miss_css_gradient($this_value) . "\n"; } elseif (is_array($value)) { foreach ($value as $subkey => $subval) { $miss_tmp = miss_get_css($subkey); $value = $miss_tmp[$subval]; } $css .= "\t" . $property . ':' . $value . ';' . "\n"; } elseif ($property == '-miss-shadow') { $css .= "\t" . miss_css_shadow($this_value) . "\n"; } elseif ($property == 'color') { //Regenerates IE Compatible Colours if (strpos($this_value, 'rgba(') !== false) { $css .= $this_value ? "\t" . $property . ':' . miss_ms_rgba($this_value) . ';' . "\n" : ''; } $css .= $this_value ? "\t" . $property . ':' . $this_value . ';' . "\n" : ''; } elseif ($property == 'background-color') { //Regenerates IE Compatible Colours if (strpos($this_value, 'rgba(') !== false) { $css .= $this_value ? "\t" . $property . ':' . miss_ms_rgba($this_value) . ';' . "\n" : '';
.navbar .nav > li > a.with_teaser > i, .navbar .nav > li > a.menu_item_without_text > i { font-size: ' . floor(str_replace('px', '', miss_get_css('main_menu_font_size')) * 0.75 + str_replace('px', '', miss_get_css('main_menu_font_size'))) . 'px; } .navbar .nav > li > a.with_teaser > .half > span { padding-top: ' . floor(str_replace('px', '', $menu_height) / 2 - str_replace('px', '', miss_get_css('main_menu_font_size')) - 2) . 'px; } .navbar .nav > li > a.with_teaser > .teaser { font-size: ' . floor(str_replace('px', '', miss_get_css('main_menu_font_size')) * 0.75) . 'px; } header .navbar .nav .nav-search-box .search-form { top: 0; /*-' . floor(str_replace('px', '', $menu_height) / 2 - str_replace('px', '', miss_get_css('main_menu_font_size')) - 2) . 'px; */ } '; $css .= "\n/* End Theme Settings */\n\n"; /** * Get theme Custom CSS from database */ if (miss_get_setting('custom_css')) { $css .= "/* Begin Custom CSS */\n"; $css .= stripslashes(miss_get_setting('custom_css')) . "\n"; $css .= "\n/* End Custom CSS */\n\n"; } echo $css;