From 80e2eda56a6c6e46944bea89147daa1ec703d46b Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Sat, 21 Apr 2012 19:09:16 +0100 Subject: [PATCH] Use CSS gradients instead of image backgrounds --- themes/pmahomme/css/theme_left.css.php | 2 +- themes/pmahomme/css/theme_right.css.php | 16 ++++++++-------- themes/pmahomme/img/input_bg.gif | Bin 170 -> 0 bytes themes/pmahomme/img/marked_bg.png | Bin 172 -> 0 bytes themes/pmahomme/img/tab_bg.png | Bin 127 -> 0 bytes themes/pmahomme/img/tab_hover_bg.png | Bin 502 -> 0 bytes 6 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 themes/pmahomme/img/input_bg.gif delete mode 100644 themes/pmahomme/img/marked_bg.png delete mode 100644 themes/pmahomme/img/tab_bg.png delete mode 100644 themes/pmahomme/img/tab_hover_bg.png diff --git a/themes/pmahomme/css/theme_left.css.php b/themes/pmahomme/css/theme_left.css.php index 73b01e0def..50cc99b9a4 100644 --- a/themes/pmahomme/css/theme_left.css.php +++ b/themes/pmahomme/css/theme_left.css.php @@ -239,7 +239,7 @@ select{ border: 1px solid #aaa; color: #333; padding: 3px; - background: url(themes/pmahomme/img/input_bg.gif); + background: white; } diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php index 88f5ea8189..a1edac31cc 100644 --- a/themes/pmahomme/css/theme_right.css.php +++ b/themes/pmahomme/css/theme_right.css.php @@ -167,7 +167,7 @@ input[type=text] { -moz-box-shadow: 0 1px 2px #ddd; -webkit-box-shadow: 0 1px 2px #ddd; - background: url(getImgPath(); ?>input_bg.gif); + background: white; border: 1px solid #aaa; color: #555; padding: 4px; @@ -184,7 +184,7 @@ input[type=password] { -moz-box-shadow: 0 1px 2px #ddd; -webkit-box-shadow: 0 1px 2px #ddd; - background: url(getImgPath(); ?>input_bg.gif); + background: white; border: 1px solid #aaa; color: #555; padding: 4px; @@ -336,7 +336,7 @@ select { border: 1px solid #aaa; color: #333; padding: 3px; - background: url(getImgPath(); ?>input_bg.gif) + background: white; } select[multiple] { @@ -471,7 +471,7 @@ td.marked, table tr.marked td, table tr.marked th, table tr.marked { - background: url(getImgPath(); ?>marked_bg.png) repeat-x #b6c6d7; + getCssGradient('ced6df', 'b6c6d7'); ?> color: ; } @@ -482,7 +482,7 @@ table tr.marked { .even:hover, .hover, .structure_actions_dropdown { - background: url(getImgPath(); ?>marked_bg.png) repeat-x #b6c6d7; /* 3.4 */ + getCssGradient('ced6df', 'b6c6d7'); ?> color: ; } @@ -490,7 +490,7 @@ table tr.marked { table tr.odd:hover th, table tr.even:hover th, table tr.hover th { - background: url(getImgPath(); ?>marked_bg.png) repeat-x #b6c6d7; /* 3.4 */ + getCssGradient('ced6df', 'b6c6d7'); ?> color: ; } @@ -928,7 +928,7 @@ ul#topmenu2 li { } .menucontainer { - background: url(getImgPath(); ?>tab_bg.png) repeat-x; + getCssGradient('ffffff', 'dcdcdc'); ?> border-top: 1px solid #aaa; } @@ -978,7 +978,7 @@ ul#topmenu ul.notonly { } ul#topmenu li:hover { - background: url(getImgPath(); ?>tab_hover_bg.png) repeat-x 50% 0%!important; + getCssGradient('ffffff', 'e5e5e5'); ?> } ul#topmenu li:hover ul, diff --git a/themes/pmahomme/img/input_bg.gif b/themes/pmahomme/img/input_bg.gif deleted file mode 100644 index 7cb23d8bcfe46cb27e6a30af822ebf875e2e1c6f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 170 zcmV;b09F4-Nk%w1VFCbT0P_w2{r&y)^z`}p`TqX?`}_O&`1tkp_44xa{QUg)_xJYp z_Ve@e`uh6+|Nrsv@c;k-A^8LV00000EC2ui00IDH000D6u*o?F04Ni}dMQbw7)G$1 z$Kj~za+o8?2-`K?O?6!w*9n48NTeu^ilR`kQ$t)FtJL9i3Is@`kq8uA(ioY{rBcC} YaXMb_CnS;(^b diff --git a/themes/pmahomme/img/marked_bg.png b/themes/pmahomme/img/marked_bg.png deleted file mode 100644 index 1ab70afe95b9d82949ce76df03c4bb8bfb534f24..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^96&6_!3-o%@#=yE>;rs4T>t<7f9~4-Ggt1NzH;x> z<$EVC-8~LO7w;asaOdcSJ4epnIdty!fit)Eow~XA)Xm)|ZtOa7W5==U+mBt}21G}% zS6QFw2O6c}>Eal|aXmSqfyvEHqq&oD?!iMID$O75Coo<+<}pX_(prb)h8z|qhJ_qV V2_-j`mI3uJc)I$ztaD0e0s!GlQ1bu) diff --git a/themes/pmahomme/img/tab_bg.png b/themes/pmahomme/img/tab_bg.png deleted file mode 100644 index 33faa417df1b707b936724244d082634bbad75db..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 127 zcmeAS@N?(olHy`uVBq!ia0vp^tU#>J0VEh6CER5JQY`6?zK#qG>ra@ocD)4h%{*Nk zLpZJ{|2faVq7(0+BFwy0<#atur)HB9x61$j=|BI=FZ?8L_cbEr|HIIeY=VrO8~?Cw YWDFCO4byp1zZqn*r>mdKI;Vst0RBKGQ2+n{ diff --git a/themes/pmahomme/img/tab_hover_bg.png b/themes/pmahomme/img/tab_hover_bg.png deleted file mode 100644 index 09f1e294efab472d5bbf963eafcbbbc18fd6cb46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 502 zcmVmYkyFFe&(gafN53V?aP^+lS`I?h7;#a==@gq0D4R8b805`zIV|nAf z5#I5u08qKaZveoH&v=D|ZPalpTOi*Z z0WEqcOV8XwsP=8#m89_?bOV&7q9DkxZf<#{XLj}@^a7wn8bUbj2kRrr`Wnc15IO<8 zeJCKZw5_B;sQL^ktq=nhwF{v1ZL59Og)j1v^g^zCcJxU$aBNfP0oY|P;l&5Zev@|p zS@#Qa1}LcM|HcVC6GHrM5nG6uRQ|Jy-)UC