a, #access ul li.current-menu-ancestor > a, #access ul li.current-menu-item > a, #access ul li.current-menu-parent > a, #access ul ul a, .searchform input[type="text"], .social textarea#comment, .social input[type="text"], .hentry input[type="password"], .entry-content blockquote, td.month-date,td.month-name,td.time, .footer-widget h2,.rsidebar h2,.lsidebar h2, #ft #wp-calendar, #ft, #nav, ul.nav{ %c_3% } .ie6 #access ul li.current_page_item a, .ie6 #access ul li.current-menu-ancestor a, .ie6 #access ul li.current-menu-item a, .ie6 #access ul li.current-menu-parent a, .ie6 #access ul li a:hover { /* border:1px solid %rgba_border%;*/ %c_2% } input[type="file"], input[type="reset"], .social input[type="submit"], input[type="submit"]{ %c_3% } h2 a{ background:inherit; } .entry div h2,.entry div h3{ } #hd{ background-image:url(%images_path%%tmn_header_image%); } #header-image{ background-color:%custom_light_bg%!important; } .home .sticky, .entry-meta{ border-top:solid 2px %c_border%; border-bottom:solid 2px %c_border%; } .home .sticky{ border-top:solid 6px %c_border%; } .attachment .caption dt{ border-bottom:double 3px %c_border%; } #yui-main{ color:%tmn_header_color%; } /* ol.commentlist :hover{ background:url(%images_path%latestbck.gif) repeat-x; }*/ ol.tblist li{ background:transparent url(%images_path%c.gif) 0 2px no-repeat; } #ft{ border-top: medium solid %c_border%; background:url(%images_path%%tmn_footer_image%) repeat-x; color:%tmn_footer_color%; } #ft #wp-calendar{ border:1px solid %c_border%!important; } .footer-widget h2,.rsidebar h2,.lsidebar h2 { %h2_dark_background% %h_position_rsidebar_h2% } .datetable td li, .rsidebar ul li ul li, .lsidebar ul li ul li, .blog .entry-utility li, .mycomment, .blog .entry-utility li, dl.author dd, dl.author dt, dl.my_tags dd, dl.my_tags dt, ul.category li, ul.sitemap ul li, ul.archive ul li, ul.all_entry h2, .attachment .caption dd, ul.archive,ul.index, .sitemap.new li, #items li{ border-bottom:1px solid %c_border%; } .ie6 .datetable td li, .ie7 .datetable td li, .ie8 .datetable td li{ border-bottom:none; border-bottom:none; } hr{ border:none; border-top:1px solid %c_border%; } ul.archive li, ul.index li{ } .pagenate{ } #month_list, #month_list td, #raindrops_year_list td, #calendar_wrap td, #date_list td, #month_list, #month_list td, #raindrops_year_list td, #calendar_wrap td, #date_list td, fieldset, .itiran, #month_list, #month_list td, #raindrops_year_list td, #calendar_wrap td, #date_list td, .searchform input[type="text"], .searchform input[type="submit"], .hentry input[type="password"], .social textarea#comment, .social input[type="text"], .social input[type="submit"], .entry-content blockquote, td.month-date,td.month-name,td.time{ border:1px solid %c_border%; } .entry-content blockquote { border-left:solid 6px %c_border%; } div.social{ } li.byuser, li.bypostauthor, .social textarea#comment:focus, .social input:focus, .entry-content th{ %c3% } .wp-caption, .entry-content td, .entry-content th{ } .searchform input[type="submit"], .entry-content textarea, .entry-content input[type="password"], .entry-content input[type="text"], .entry-content input[type="submit"], .entry-content input[type="reset"], .entry-content input[type="file"], .entry-content input[type="checkbox"], .entry-content input[type="radio"], .entry-content select{ %c_3% } #access .children li , #access .children a { background:%custom_light_bg%; color:%custom_color%; z-index:999; } .fail-search, #not-found, li.byuser, li.bypostauthor{ border:1px solid; } .children:hover, .children{ } .reply, #ft a, .category32, .archive li a, .page .hentry .entry-title a, .archive.category h2 a, cite.fn, cite a:link, cite a:active, cite a:visited, cite a:hover, #hd h1 a:link, #hd h1 a:active, #hd h1 a:visited, #hd h1 a:hover, /*ol.commentlist li :hover,*/ div.comment-body blockquote, #site-description, #site-title, #site-title span a, .home .sticky a, .home .entry-meta a{ %c_4% background:none!important; } h1{color:#fff!important;} DOC; $css3 =<< a, #access ul ul :active > a { top:0; %c2% color:%custom_color% } #access ul li.current_page_item > a, #access ul li.current-menu-ancestor > a, #access ul li.current-menu-item > a, #access ul li.current-menu-parent > a { %c3% } .ie6 #access ul li.current_page_item a, .ie6 #access ul li.current-menu-ancestor a, .ie6 #access ul li.current-menu-item a, .ie6 #access ul li.current-menu-parent a, .ie6 #access ul li a:hover { %c2% } table, table td, #access > li{ border:1px solid #ccc; } tfoot td{ border:none; } .lsidebar li, .rsidebar li{ border:none!important; } td.month-date,td.month-name,td.time{ %c4% } .datetable td li{ } address{margin:10px auto;} .wp-caption { } li.byuser, li.bypostauthor { %c2% } .comment-meta a, cite.fn{ background:none; } .datetable td li{ } .fail-search, #not-found { %c3% border:3px double; } DOC; return $style; } ?> a, #access li:active >a , #access ul ul :active >a{ top:0; } #access ul li.current_page_item > a, #access ul li.current-menu-ancestor > a, #access ul li.current-menu-item > a, #access ul li.current-menu-parent > a { %c3% } .ie6 #access ul li.current_page_item a, .ie6 #access ul li.current-menu-ancestor a, .ie6 #access ul li.current-menu-item a, .ie6 #access ul li.current-menu-parent a, .ie6 #access ul li a:hover { %c2% } address{ margin:10px auto; } #bd a, .postmetadata{ background:none!important; } .wp-caption { border:solid 1px #999; } li.byuser, li.bypostauthor { %c_3% border:solid 1px %c_border%; } cite.fn{ background:none; } .datetable td li{ } .fail-search, #not-found { %c4% border:3px double %c_border%; } DOC; $css3=<<a, #access li:active >a , #access ul ul :active >a{ background: -webkit-gradient(linear, left top, left bottom, from(%custom_light_bg%), to(%custom_dark_bg%))!important; background: -moz-linear-gradient(top, %custom_light_bg%, %custom_dark_bg%)!important; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='%custom_light_bg%', endColorstr='%custom_dark_bg%'); color:%custom_color%; } .wp-caption { border:solid 1px %rgba_border%; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background: -webkit-gradient(linear, left top, left bottom, from(%custom_dark_bg%), to(%custom_light_bg%)); background: -moz-linear-gradient(top, %custom_dark_bg%, %custom_light_bg%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='%custom_dark_bg%', endColorstr='%custom_light_bg%'); } li.byuser, li.bypostauthor { border:solid 1px %rgba_border%; } .datetable td li{ border-bottom:solid 1px %rgba_border%; } #sidebar{ border-color:%rgba_border%; } table, table td{ border:1px solid %rgba_border%; } CSS3; return $style.$css3; } ?> $raindrops_indv_css ); $raindrops_options = array_merge($raindrops_options,$add_array); } update_option("raindrops_theme_settings",$raindrops_options); }else{ $raindrops_options['_raindrops_indv_css'] = $raindrops_indv_css; add_option( $raindrops_options ); } /** * Create CSS Color Declaration * * * * */ function colors($num = 0, $select = 'set',$color1 = null){ global $images_path; if($color1 == null){ $color1 = str_replace('#',"",BASE_COLOR1); }else{ $color1 = str_replace('#',"",$color1); } $base = new CSS_Color( $color1 ); switch($num){ case(0): $bg = $base->bg['0']; $fg = $base->fg['0']; $color = "color:#$fg;background-color:#$bg;"; break; case(-1): $bg = $base->bg['-1']; $fg = $base->fg['-1']; $color = "color:#$fg;background-color:#$bg;"; break; case(-2): $bg = $base->bg['-2']; $fg = $base->fg['-2']; $color = "color:#$fg;background-color:#$bg;"; break; case(-3): $bg = $base->bg['-3']; $fg = $base->fg['-3']; $color = "color:#$fg;background-color:#$bg;"; break; case(-4): $bg = $base->bg['-4']; $fg = $base->fg['-4']; $color = "color:#$fg;background-color:#$bg;"; break; case(-5): $bg = $base->bg['-5']; $fg = $base->fg['-5']; $color = "color:#$fg;\n\tbackground-color:#$bg;"; break; case(1): $bg = $base->bg['+1']; $fg = $base->fg['+1']; $color = "color:#$fg;\n\tbackground-color:#$bg;"; break; case(2): $bg = $base->bg['+2']; $fg = $base->fg['+2']; $color = "color:#$fg;\n\tbackground-color:#$bg;"; break; case(3): $bg = $base->bg['+3']; $fg = $base->fg['+3']; $color = "color:#$fg;\n\tbackground-color:#$bg;"; break; case(4): $bg = $base->bg['+4']; $fg = $base->fg['+4']; $color = "color:#$fg;\n\tbackground-color:#$bg;"; break; case(5): $bg = $base->bg['+5']; $fg = $base->fg['+5']; $color = "color:#$fg;\n\tbackground-color:#$bg;"; break; default: $bg = $base->bg['0']; $fg = $base->fg['0']; $color = "color:#$fg;\n\tbackground-color:#$bg;"; break; } switch($select){ case('set'): return $color; break; case('background'): return '#'.$bg; break; case('color'): return '#'.$fg; break; } } /** * Base Color Class Create * * * * */ function color_base($color1=null,$color2=null){ global $images_path; if($color1 == null){ $color1 = str_replace('#',"",BASE_COLOR1); }else{ $color1 = str_replace('#',"",$color1); } $base = new CSS_Color($color1); $bg_1 = $base->bg['-1']; $fg_1 = $base->fg['-1']; $bg_2 = $base->bg['-2']; $fg_2 = $base->fg['-2']; $bg_3 = $base->bg['-3']; $fg_3 = $base->fg['-3']; $bg_4 = $base->bg['-4']; $fg_4 = $base->fg['-4']; $bg_5 = $base->bg['-5']; $fg_5 = $base->fg['-5']; $bg1 = $base->bg['+1']; $fg1 = $base->fg['+1']; $bg2 = $base->bg['+2']; $fg2 = $base->fg['+2']; $bg3 = $base->bg['+3']; $fg3 = $base->fg['+3']; $bg4 = $base->bg['+4']; $fg4 = $base->fg['+4']; $bg5 = $base->bg['+5']; $fg5 = $base->fg['+5']; $result=<<