pixelegg - image Filter gray for .et2_appicon

This commit is contained in:
Hadi Nategh 2014-08-22 14:35:44 +00:00
parent d1dfa111c4
commit 28a2b7db77
2 changed files with 49 additions and 11 deletions

View File

@ -58,6 +58,22 @@
/*-webkit-appearance: none;*/ /*-webkit-appearance: none;*/
} }
/** /**
* img gray filter
*/
img.et2_appicon,
.et2_appicon img {
/*filter grey*/
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(0%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
/*filter: url(grayscale.svg); Firefox 4+ */
filter: gray;
/* IE 6-9 */
}
/**
* VBox widget * VBox widget
*/ */
div.et2_vbox > * { div.et2_vbox > * {
@ -1277,20 +1293,30 @@
table.egwGridView_grid img { table.egwGridView_grid img {
/*filter grey*/ /*filter grey*/
/*filter grey*/ /*filter grey*/
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); filter: none;
-webkit-filter: grayscale(100%); -webkit-filter: initial;
-moz-filter: grayscale(100%); -moz-filter: initial;
-ms-filter: grayscale(0%); -ms-filter: initial;
-o-filter: grayscale(100%); -o-filter: initial;
filter: grayscale(100%);
/*filter: url(grayscale.svg); Firefox 4+ */ /*filter: url(grayscale.svg); Firefox 4+ */
filter: gray; filter: initial;
/* IE 6-9 */ /* IE 6-9 */
} }
#late-sidebox table img { #late-sidebox table img {
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
.admin_aclAPP {
/*filter grey*/
filter: none;
-webkit-filter: initial;
-moz-filter: initial;
-ms-filter: initial;
-o-filter: initial;
/*filter: url(grayscale.svg); Firefox 4+ */
filter: initial;
/* IE 6-9 */
}
/*#################################### END ADMIN PART #####################################################*/ /*#################################### END ADMIN PART #####################################################*/
filter: none; filter: none;
-webkit-filter: initial; -webkit-filter: initial;

View File

@ -36,6 +36,16 @@ input,button,select {
/*-webkit-appearance: none;*/ /*-webkit-appearance: none;*/
} }
/**
* img gray filter
*/
img.et2_appicon,
.et2_appicon img{
.img_filter_gray;
}
/** /**
* VBox widget * VBox widget
*/ */
@ -1243,18 +1253,20 @@ iframe#admin-index_iframe{
table.egwGridView_grid{ table.egwGridView_grid{
img { img {
/*filter grey*/ /*filter grey*/
.img_filter_gray; .img_filter_none;
} }
} }
// Image Size // Image Size
#late-sidebox{ #late-sidebox{
table { table {
img {.dimension_width_height_s;} img {.dimension_width_height_s;}
} }
} }
.admin_aclAPP {.img_filter_none;}
/*#################################### END ADMIN PART #####################################################*/ /*#################################### END ADMIN PART #####################################################*/