Просмотр исходного кода

Corrections CSS suite aux alternatives Unicode des icônes

Contribue à https://github.com/marienfressinaud/FreshRSS/issues/284
Corrections de
https://github.com/marienfressinaud/FreshRSS/commit/305f1436e3ca2907e5234ed77f62348cf4303b79
Alexandre Alapetite 12 лет назад
Родитель
Сommit
4a89d1e08f

+ 3 - 3
app/views/configure/display.phtml

@@ -162,12 +162,12 @@
 				<thead>
 					<tr>
 						<th> </th>
-						<th><a class="read" title="<?php echo Translate::t ('mark_read'); ?>"></a></th>
-						<th><a class="bookmark" title="<?php echo Translate::t ('mark_favorite'); ?>">★</a></th>
+						<th><a class="icon read" title="<?php echo Translate::t ('mark_read'); ?>"></a></th>
+						<th><a class="icon bookmark" title="<?php echo Translate::t ('mark_favorite'); ?>">★</a></th>
 						<th><?php echo Translate::t ('sharing'); ?></th>
 						<th><?php echo Translate::t ('related_tags'); ?></th>
 						<th><?php echo Translate::t ('publication_date'); ?></th>
-						<th class="item link"><a> </a></th>
+						<th class="link"><a class="icon">↗</a></th>
 					</tr>
 				</thead>
 				<tbody>

+ 2 - 2
app/views/helpers/view/normal_view.phtml

@@ -58,7 +58,7 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) {
 			<li class="item website"><a href="<?php echo _url ('index', 'index', 'get', 'f_' . $feed->id ()); ?>"><img class="favicon" src="<?php echo $feed->favicon (); ?>" alt="✇" /> <span><?php echo $feed->name(); ?></span></a></li>
 			<li class="item title"><a target="_blank" href="<?php echo $item->link (); ?>"><?php echo $item->title (); ?></a></li>
 			<?php if ($this->conf->toplineDate ()) { ?><li class="item date"><?php echo $item->date (); ?> </li><?php } ?>
-			<?php if ($this->conf->toplineLink ()) { ?><li class="item link"><a target="_blank" href="<?php echo $item->link (); ?>">↗</a></li><?php } ?>
+			<?php if ($this->conf->toplineLink ()) { ?><li class="item link"><a class="icon" target="_blank" href="<?php echo $item->link (); ?>">↗</a></li><?php } ?>
 		</ul>
 
 		<div class="flux_content">
@@ -152,7 +152,7 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) {
 				</li>
 				<?php } ?>
 				<?php if ($this->conf->bottomlineDate ()) { ?><li class="item date"><?php echo $item->date (); ?> </li><?php } ?>
-				<?php if ($this->conf->bottomlineLink ()) { ?><li class="item link"><a target="_blank" href="<?php echo $item->link (); ?>"> </a></li><?php } ?>
+				<?php if ($this->conf->bottomlineLink ()) { ?><li class="item link"><a class="icon" target="_blank" href="<?php echo $item->link (); ?>"> </a></li><?php } ?>
 			</ul>
 		</div>
 	</div>

+ 3 - 3
public/themes/default/freshrss.css

@@ -330,11 +330,11 @@
 			color: #666;
 			cursor: pointer;
 		}
-		.item.link {
+		.link {
 			width: 40px;
 			text-align: center;
 		}
-			.item.link a {
+			.link a {
 				display: inline-block;
 				width: 40px;
 				height: 40px;
@@ -342,7 +342,7 @@
 				background: url("../icons/link.svg") center center no-repeat;
 				vertical-align: middle;
 			}
-				.item.link a:hover {
+				.link a:hover {
 					text-decoration: none;
 				}
 

+ 3 - 3
public/themes/flat-design/freshrss.css

@@ -309,11 +309,11 @@ body {
 			color: #666;
 			cursor: pointer;
 		}
-		.item.link {
+		.link {
 			width: 40px;
 			text-align: center;
 		}
-			.item.link a {
+			.link a {
 				display: inline-block;
 				width: 40px;
 				height: 40px;
@@ -321,7 +321,7 @@ body {
 				background: url("../icons/link.svg") center center no-repeat;
 				vertical-align: middle;
 			}
-				.item.link a:hover {
+				.link a:hover {
 					text-decoration: none;
 				}