mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 14:25:55 +00:00
minor css fixes (mostly for zoom mode)
This commit is contained in:
@@ -620,13 +620,13 @@ class Article extends Handler_Protected {
|
|||||||
} else {
|
} else {
|
||||||
$comments_url = htmlspecialchars($line["link"]);
|
$comments_url = htmlspecialchars($line["link"]);
|
||||||
}
|
}
|
||||||
$entry_comments = "<a class=\"postComments\"
|
$entry_comments = "<a class=\"comments\"
|
||||||
target='_blank' rel=\"noopener noreferrer\" href=\"$comments_url\">$num_comments ".
|
target='_blank' rel=\"noopener noreferrer\" href=\"$comments_url\">$num_comments ".
|
||||||
_ngettext("comment", "comments", $num_comments)."</a>";
|
_ngettext("comment", "comments", $num_comments)."</a>";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if ($line["comments"] && $line["link"] != $line["comments"]) {
|
if ($line["comments"] && $line["link"] != $line["comments"]) {
|
||||||
$entry_comments = "<a class=\"postComments\" target='_blank' rel=\"noopener noreferrer\" href=\"".htmlspecialchars($line["comments"])."\">".__("comments")."</a>";
|
$entry_comments = "<a class=\"comments\" target='_blank' rel=\"noopener noreferrer\" href=\"".htmlspecialchars($line["comments"])."\">".__("comments")."</a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -720,7 +720,7 @@ class Article extends Handler_Protected {
|
|||||||
|
|
||||||
if (!$entry_comments) $entry_comments = " "; # placeholder
|
if (!$entry_comments) $entry_comments = " "; # placeholder
|
||||||
|
|
||||||
$rv['content'] .= "<div class='postTags' style='float : right'>
|
$rv['content'] .= "<div class='tags' style='float : right'>
|
||||||
<img src='images/tag.png'
|
<img src='images/tag.png'
|
||||||
class='tagsPic' alt='Tags' title='Tags'> ";
|
class='tagsPic' alt='Tags' title='Tags'> ";
|
||||||
|
|
||||||
|
|||||||
@@ -634,13 +634,13 @@ class Feeds extends Handler_Protected {
|
|||||||
} else {
|
} else {
|
||||||
$comments_url = htmlspecialchars($line["link"]);
|
$comments_url = htmlspecialchars($line["link"]);
|
||||||
}
|
}
|
||||||
$entry_comments = "<a class=\"postComments\"
|
$entry_comments = "<a class=\"comments\"
|
||||||
target='_blank' rel='noopener noreferrer' href=\"$comments_url\">$num_comments ".
|
target='_blank' rel='noopener noreferrer' href=\"$comments_url\">$num_comments ".
|
||||||
_ngettext("comment", "comments", $num_comments)."</a>";
|
_ngettext("comment", "comments", $num_comments)."</a>";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if ($line["comments"] && $line["link"] != $line["comments"]) {
|
if ($line["comments"] && $line["link"] != $line["comments"]) {
|
||||||
$entry_comments = "<a class=\"postComments\" target='_blank' rel='noopener noreferrer' href=\"".htmlspecialchars($line["comments"])."\">".__("comments")."</a>";
|
$entry_comments = "<a class=\"comments\" target='_blank' rel='noopener noreferrer' href=\"".htmlspecialchars($line["comments"])."\">".__("comments")."</a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
137
css/cdm.less
137
css/cdm.less
@@ -152,75 +152,69 @@ div.cdm.active div.content {
|
|||||||
color : black;
|
color : black;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.cdmExcerpt {
|
.cdm {
|
||||||
white-space : nowrap;
|
div.content div.postEnclosures {
|
||||||
font-size : 11px;
|
margin-top: 1em;
|
||||||
color : #999;
|
color: @default-text;
|
||||||
font-weight : normal;
|
}
|
||||||
cursor : pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.content div.postEnclosures {
|
div.feed-title {
|
||||||
margin-top : 1em;
|
|
||||||
color : @default-text;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.feed-title {
|
|
||||||
border: 0px solid @color-link;
|
border: 0px solid @color-link;
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
padding : 5px 3px 5px 5px;
|
padding: 5px 3px 5px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.feed-title a.title {
|
div.feed-title a.title {
|
||||||
color : @default-text;
|
color: @default-text;
|
||||||
font-weight : bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.feed-title a {
|
div.feed-title a {
|
||||||
color : @default-text;
|
color: @default-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.feed-title a:hover {
|
div.feed-title a:hover {
|
||||||
color : @color-link;
|
color: @color-link;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.header span.feed {
|
div.header span.feed {
|
||||||
float : right;
|
float: right;
|
||||||
font-weight : normal;
|
font-weight: normal;
|
||||||
font-style : italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.header div.feed, div.header div.feed a {
|
div.header div.feed, div.header div.feed a {
|
||||||
vertical-align : middle;
|
vertical-align: middle;
|
||||||
color : @default-text;
|
color: @default-text;
|
||||||
font-weight : normal;
|
font-weight: normal;
|
||||||
font-style : italic;
|
font-style: italic;
|
||||||
font-size : 11px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.cdm .feed a {
|
div.content-inner p {
|
||||||
border-radius : 4px;
|
|
||||||
display : inline-block;
|
|
||||||
padding : 1px 4px 1px 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.content-inner p {
|
|
||||||
/*max-width : 650px;*/
|
/*max-width : 650px;*/
|
||||||
-webkit-hyphens: auto;
|
-webkit-hyphens: auto;
|
||||||
-moz-hyphens: auto;
|
-moz-hyphens: auto;
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.content-inner iframe {
|
div.content-inner iframe {
|
||||||
min-width : 50%;
|
min-width : 50%;
|
||||||
max-width : 98%;
|
max-width : 98%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.header span.author {
|
div.header span.author {
|
||||||
white-space : nowrap;
|
white-space : nowrap;
|
||||||
color : @default-text;
|
color : @default-text;
|
||||||
font-size : 11px;
|
font-size : 11px;
|
||||||
font-weight : normal;
|
font-weight : normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.feed a {
|
||||||
|
border-radius : 4px;
|
||||||
|
display : inline-block;
|
||||||
|
padding : 1px 4px 1px 4px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
div#floatingTitle {
|
div#floatingTitle {
|
||||||
@@ -302,6 +296,29 @@ div#floatingTitle {
|
|||||||
display : none;
|
display : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.feed-title {
|
||||||
|
> * {
|
||||||
|
display : table-cell;
|
||||||
|
vertical-align : middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.title {
|
||||||
|
width : 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.catchup {
|
||||||
|
text-align : right;
|
||||||
|
color : @default-text;
|
||||||
|
padding-right : 10px;
|
||||||
|
font-size : 11px;
|
||||||
|
white-space : nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.catchup:hover {
|
||||||
|
color : @color-link;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
div#floatingTitle.Unread a.title {
|
div#floatingTitle.Unread a.title {
|
||||||
@@ -333,27 +350,3 @@ div#floatingTitle.Unread a.title {
|
|||||||
text-decoration : line-through;
|
text-decoration : line-through;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feed-title {
|
|
||||||
|
|
||||||
> * {
|
|
||||||
display : table-cell;
|
|
||||||
vertical-align : middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.title {
|
|
||||||
width : 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.catchup {
|
|
||||||
text-align : right;
|
|
||||||
color : @default-text;
|
|
||||||
padding-right : 10px;
|
|
||||||
font-size : 11px;
|
|
||||||
white-space : nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.catchup:hover {
|
|
||||||
color : @color-link;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -5,6 +5,11 @@ body.ttrss_zoom {
|
|||||||
max-width : 800px;
|
max-width : 800px;
|
||||||
background : #f5f5f5;
|
background : #f5f5f5;
|
||||||
|
|
||||||
|
div.post {
|
||||||
|
border : 1px solid #ddd;
|
||||||
|
background : white;
|
||||||
|
box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
|
||||||
|
|
||||||
div.header {
|
div.header {
|
||||||
margin : 10px;
|
margin : 10px;
|
||||||
padding-bottom : 10px;
|
padding-bottom : 10px;
|
||||||
@@ -23,7 +28,7 @@ body.ttrss_zoom {
|
|||||||
text-align : right;
|
text-align : right;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.postComments {
|
a.comments {
|
||||||
text-align : right;
|
text-align : right;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -33,20 +38,19 @@ body.ttrss_zoom {
|
|||||||
margin-bottom : 5px;
|
margin-bottom : 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.postTags {
|
div.tags {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.postTags img {
|
div.tags img {
|
||||||
vertical-align : middle;
|
vertical-align : middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.postTitle {
|
div.title {
|
||||||
white-space : normal;
|
white-space : normal;
|
||||||
font-size : 16px;
|
font-size : 16px;
|
||||||
margin-bottom : 5px;
|
margin-bottom : 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@@ -55,22 +59,16 @@ body.ttrss_zoom {
|
|||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.post {
|
|
||||||
border : 1px solid #ddd;
|
|
||||||
background : white;
|
|
||||||
box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
div.footer {
|
div.footer {
|
||||||
margin-top : 1em;
|
margin-top : 1em;
|
||||||
text-align : center;
|
text-align : center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
div.content {
|
div.content {
|
||||||
font-size : 15px;
|
font-size : 15px;
|
||||||
line-height : 1.5;
|
line-height : 1.5;
|
||||||
padding : 10px;
|
padding : 10px;
|
||||||
|
border-width : 0px;
|
||||||
|
|
||||||
img, video {
|
img, video {
|
||||||
max-width : 760px;
|
max-width : 760px;
|
||||||
@@ -104,5 +102,7 @@ body.ttrss_zoom {
|
|||||||
overflow : auto;
|
overflow : auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
define('VERSION_STATIC', '18.8');
|
define('VERSION_STATIC', '18.12');
|
||||||
|
|
||||||
function get_version() {
|
function get_version() {
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
|
|||||||
Reference in New Issue
Block a user