various minor updates re: icons

This commit is contained in:
Andrew Dolgov 2018-12-05 16:48:29 +03:00
parent b16c57d29c
commit f3e6e12d46
9 changed files with 26 additions and 13 deletions

View File

@ -748,7 +748,7 @@ class Pref_Prefs extends Handler_Protected {
$icon_class = $checked ? "plugin-enabled" : "plugin-disabled";
print "<td><label><i class='material-icons $icon_class'>settings</i> $name</label></td>";
print "<td><label><i class='material-icons $icon_class'>extension</i> $name</label></td>";
print "<td>" . htmlspecialchars($about[1]);
if (@$about[4]) {
print " &mdash; <a target=\"_blank\" rel=\"noopener noreferrer\" class=\"visibleLink\"
@ -807,7 +807,7 @@ class Pref_Prefs extends Handler_Protected {
dojoType=\"dijit.form.CheckBox\" $checked $disabled
type=\"checkbox\"></td>";
print "<td><label for='FPCHK-$name'><i class='material-icons $icon_class'>settings</i> $name</label></td>";
print "<td><label for='FPCHK-$name'><i class='material-icons $icon_class'>extension</i> $name</label></td>";
print "<td><label for='FPCHK-$name'>" . htmlspecialchars($about[1]) . "</label>";
if (@$about[4]) {
print " &mdash; <a target=\"_blank\" rel=\"noopener noreferrer\" class=\"visibleLink\"

View File

@ -416,7 +416,6 @@ body.ttrss_main span.hlLabelRef {
body.ttrss_main i.marked-pic,
body.ttrss_main i.pub-pic {
cursor: pointer;
color: #ccc;
}
body.ttrss_main div.tagCloudContainer {
background: white;
@ -1574,6 +1573,10 @@ body.ttrss_prefs hr {
float: right;
margin-right: 1em;
}
.flat .dijitTree .labelParam.filterDisabled,
.flat .dijitTree .dijitTreeLabel.filterDisabled {
text-decoration: line-through;
}
.flat .dijitTree .feedParam {
color: #555555;
float: right;
@ -1944,6 +1947,7 @@ body.ttrss_zoom div.post div.content pre {
/* Preferred icon size */
display: inline-block;
line-height: 1;
color: #ccc;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;

File diff suppressed because one or more lines are too long

View File

@ -45,6 +45,7 @@ body.ttrss_prefs,
font-size: 18px; /* Preferred icon size */
display: inline-block;
line-height: 1;
color : #ccc;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;

View File

@ -83,6 +83,11 @@
margin-right: 1em;
}
.labelParam.filterDisabled,
.dijitTreeLabel.filterDisabled {
text-decoration : line-through;
}
.feedParam {
color: @default-text;
float: right;

View File

@ -475,7 +475,6 @@ body.ttrss_main {
i.marked-pic, i.pub-pic {
cursor : pointer;
color : #ccc;
}
div.tagCloudContainer {

View File

@ -23,13 +23,13 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
domConstruct.place(param, tnode.rowNode, 'next');
}
if (this.model.store.getValue(args.item, 'id') != 'root') {
const img = dojo.doc.createElement('img');
img.src ='images/filter.png';
img.className = 'marked-pic';
tnode._filterIconNode = img;
/* if (this.model.store.getValue(args.item, 'id') != 'root') {
const i = dojo.doc.createElement('i');
i.className = 'material-icons filter';
i.innerHTML = 'label';
tnode._filterIconNode = i;
domConstruct.place(tnode._filterIconNode, tnode.labelNode, 'before');
}
} */
return tnode;
},

View File

@ -416,7 +416,6 @@ body.ttrss_main span.hlLabelRef {
body.ttrss_main i.marked-pic,
body.ttrss_main i.pub-pic {
cursor: pointer;
color: #ccc;
}
body.ttrss_main div.tagCloudContainer {
background: white;
@ -1574,6 +1573,10 @@ body.ttrss_prefs hr {
float: right;
margin-right: 1em;
}
.flat .dijitTree .labelParam.filterDisabled,
.flat .dijitTree .dijitTreeLabel.filterDisabled {
text-decoration: line-through;
}
.flat .dijitTree .feedParam {
color: #555555;
float: right;
@ -1944,6 +1947,7 @@ body.ttrss_zoom div.post div.content pre {
/* Preferred icon size */
display: inline-block;
line-height: 1;
color: #ccc;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;

File diff suppressed because one or more lines are too long