various minor updates re: icons

master
Andrew Dolgov 6 years ago
parent b16c57d29c
commit f3e6e12d46

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

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

File diff suppressed because one or more lines are too long

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

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

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

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

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

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save