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;*/
}
/**
* 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
*/
div.et2_vbox > * {
@ -1277,20 +1293,30 @@
table.egwGridView_grid img {
/*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");
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(0%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: none;
-webkit-filter: initial;
-moz-filter: initial;
-ms-filter: initial;
-o-filter: initial;
/*filter: url(grayscale.svg); Firefox 4+ */
filter: gray;
filter: initial;
/* IE 6-9 */
}
#late-sidebox table img {
width: 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 #####################################################*/
filter: none;
-webkit-filter: initial;

View File

@ -36,6 +36,16 @@ input,button,select {
/*-webkit-appearance: none;*/
}
/**
* img gray filter
*/
img.et2_appicon,
.et2_appicon img{
.img_filter_gray;
}
/**
* VBox widget
*/
@ -1243,7 +1253,7 @@ iframe#admin-index_iframe{
table.egwGridView_grid{
img {
/*filter grey*/
.img_filter_gray;
.img_filter_none;
}
}
@ -1255,6 +1265,8 @@ iframe#admin-index_iframe{
}
}
.admin_aclAPP {.img_filter_none;}
/*#################################### END ADMIN PART #####################################################*/