mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-30 16:07:11 +00:00
exp: tweak headline label styles
This commit is contained in:
@@ -629,9 +629,9 @@ class Article extends Handler_Protected {
|
||||
$labels_str = "";
|
||||
|
||||
foreach ($labels as $l) {
|
||||
$labels_str .= sprintf("<span class='hlLabelRef'
|
||||
style='color : %s; background-color : %s'>%s</span>",
|
||||
$l[2], $l[3], $l[1]);
|
||||
$labels_str .= sprintf("<div1 class='label'
|
||||
style='color : %s; background-color : %s'><i class='material-icons' style='color : %s'>label</i><div>%s</div></div1>",
|
||||
$l[2], $l[3], $l[2], $l[1]);
|
||||
}
|
||||
|
||||
return $labels_str;
|
||||
|
||||
@@ -27,7 +27,7 @@ class Pref_Labels extends Handler_Protected {
|
||||
print "<div class=\"dlgSecCont\">";
|
||||
|
||||
$fg_color = $line['fg_color'];
|
||||
$bg_color = $line['bg_color'];
|
||||
$bg_color = $line['bg_color'] ? $line['bg_color'] : '#fff7d5';
|
||||
|
||||
print "<input style='font-size : 16px; color : $fg_color; background : $bg_color; transition : background 0.1s linear'
|
||||
id='labelEdit_caption' name='caption' dojoType='dijit.form.ValidationTextBox'
|
||||
|
||||
Reference in New Issue
Block a user