Implement fav_filter icon base on template

This commit is contained in:
Hadi Nategh 2016-09-29 12:06:40 +02:00
parent 92dbf0dbe1
commit d3467b49e7
8 changed files with 11 additions and 11 deletions

View File

@ -71,7 +71,7 @@ var et2_favorites = (function(){ "use strict"; return et2_dropdown_button.extend
id: {"default": "favorite"}, id: {"default": "favorite"},
label: {"default": ""}, label: {"default": ""},
label_updates: { "default": false}, label_updates: { "default": false},
image: {"default": "api/fav_filter"}, image: {"default": this.egw().image('fav_filter')},
statustext: {"default": "Favorite queries", "type": "string"} statustext: {"default": "Favorite queries", "type": "string"}
}, },

View File

@ -1525,8 +1525,8 @@ div.message.floating {
display: inline-block; display: inline-block;
padding: 0px 4px; padding: 0px 4px;
margin: -2px 5px; margin: -2px 5px;
/* TODO: This is template specific */ background-image: url(images/fav_filter.png);
background-image: url(images/bullet.png); background-size: 9px 9px;
} }
.sidebox-favorites ul.favorites { .sidebox-favorites ul.favorites {
width: 99%; width: 99%;

BIN
api/templates/default/images/fav_filter.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 616 B

View File

@ -790,7 +790,7 @@
height: 12px; height: 12px;
margin-left: 5px; margin-left: 5px;
margin-right: 10px; margin-right: 10px;
background-image: url(../../api/templates/default/images/fav_filter.png); background-image: url(../images/fav_filter.png);
background-size: 12px 12px; background-size: 12px 12px;
background-position: 0 0; background-position: 0 0;
background-repeat: no-repeat; background-repeat: no-repeat;

View File

@ -779,7 +779,7 @@
height: 12px; height: 12px;
margin-left: 5px; margin-left: 5px;
margin-right: 10px; margin-right: 10px;
background-image: url(../../api/templates/default/images/fav_filter.png); background-image: url(../images/fav_filter.png);
background-size: 12px 12px; background-size: 12px 12px;
background-position: 0 0; background-position: 0 0;
background-repeat: no-repeat; background-repeat: no-repeat;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -740,7 +740,7 @@ div.header_row_right{
height: 12px; height: 12px;
margin-left: 5px; margin-left: 5px;
margin-right: 10px; margin-right: 10px;
background-image: url(../../api/templates/default/images/fav_filter.png); background-image: url(../images/fav_filter.png);
background-size: 12px 12px; background-size: 12px 12px;
background-position: 0 0; background-position: 0 0;
background-repeat: no-repeat; background-repeat: no-repeat;

View File

@ -801,7 +801,7 @@
height: 12px; height: 12px;
margin-left: 5px; margin-left: 5px;
margin-right: 10px; margin-right: 10px;
background-image: url(../../api/templates/default/images/fav_filter.png); background-image: url(../images/fav_filter.png);
background-size: 12px 12px; background-size: 12px 12px;
background-position: 0 0; background-position: 0 0;
background-repeat: no-repeat; background-repeat: no-repeat;