|
|
|
@charset "UTF-8";
|
|
|
|
|
|
|
|
/* STRUCTURE */
|
|
|
|
body {
|
|
|
|
background: #fafafa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
table-layout: fixed;
|
|
|
|
background: #ecf0f1;
|
|
|
|
}
|
|
|
|
.header > .item {
|
|
|
|
display: table-cell;
|
|
|
|
padding: 10px 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.header > .item.title {
|
|
|
|
width: 250px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.logo {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 48px;
|
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
.header > .item.title h1 {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.header > .item.search input {
|
|
|
|
width: 230px;
|
|
|
|
transition: width 200ms linear;
|
|
|
|
}
|
|
|
|
.header .item.search input:focus {
|
|
|
|
width: 330px;
|
|
|
|
}
|
|
|
|
.header > .item.configure {
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.item a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#global {
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
table-layout: fixed;
|
|
|
|
}
|
|
|
|
.aside {
|
|
|
|
display: table-cell;
|
|
|
|
height: 100%;
|
|
|
|
width: 250px;
|
|
|
|
vertical-align: top;
|
|
|
|
background: #ecf0f1;
|
|
|
|
}
|
|
|
|
.aside .nav-form input {
|
|
|
|
width: 180px;
|
|
|
|
}
|
|
|
|
.aside.aside_flux {
|
|
|
|
padding: 10px 0 40px;
|
|
|
|
}
|
|
|
|
.aside.aside_feed .nav-form input {
|
|
|
|
width: 140px;
|
|
|
|
}
|
|
|
|
.aside.aside_feed .nav-form .dropdown-menu {
|
|
|
|
right: -20px;
|
|
|
|
}
|
|
|
|
.aside.aside_feed .nav-form .dropdown-menu:after {
|
|
|
|
right: 33px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-login {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav_menu {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.favicon {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.categories {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
.category {
|
|
|
|
display: block;
|
|
|
|
width: 220px;
|
|
|
|
margin: 10px auto;
|
|
|
|
text-align: left;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
.category .btn:first-child {
|
|
|
|
width: 195px;
|
|
|
|
position: relative;
|
|
|
|
}
|
Grosse optimisation JavaScript
* Fusion de endless_mode.js dans main.js car endless_mode.js est
toujours chargé et assez petit.
* Suppression des changements de style en JavaScript lors du chargement
(genre boucle de .hide(), ou d'ajout de classe ".stick") et
implémentation en PHP + CSS à la place.
* Chargement JavaScript asynchrone (defer + async) pour de meilleurs
performances.
* Utilisation préférable des événements globaux plutôt que des
événements pour chaque élément avec jQuery.on(events, selector) pour un
chargement plus rapide et moins de mémoire utilisée.
* Optimisation manuelle du JavaScript (sélecteurs CSS plus performants,
méthodes jQuery plus appropriées, etc.).
* Désactivation de init_img() qui était coûteux, lancé à un moment où
les images ne sont de toute manière pas encore chargées, et qui
n'apporte rien car il y a déjà un img {max-width:100%} en CSS.
* JavaScript en mode strict.
* Enfin, passage du code JavaScript dans JSLint et du coup nombreuses
corrections (syntaxe, variables, méthodes dépréciées...).
* Devrait permettre de fermer
https://github.com/marienfressinaud/FreshRSS/issues/121
* Au passage, quelques simplifications CSS pour de meilleures
performances.
11 years ago
|
|
|
.category.stick .btn:first-child {
|
|
|
|
width:160px;
|
|
|
|
}
|
|
|
|
.category .btn:first-child:not([data-unread="0"]):after {
|
|
|
|
content: attr(data-unread);
|
|
|
|
position: absolute;
|
|
|
|
top: 5px; right: 5px;
|
|
|
|
padding: 0 5px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 90%;
|
|
|
|
background: #3498DB;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
Grosse optimisation JavaScript
* Fusion de endless_mode.js dans main.js car endless_mode.js est
toujours chargé et assez petit.
* Suppression des changements de style en JavaScript lors du chargement
(genre boucle de .hide(), ou d'ajout de classe ".stick") et
implémentation en PHP + CSS à la place.
* Chargement JavaScript asynchrone (defer + async) pour de meilleurs
performances.
* Utilisation préférable des événements globaux plutôt que des
événements pour chaque élément avec jQuery.on(events, selector) pour un
chargement plus rapide et moins de mémoire utilisée.
* Optimisation manuelle du JavaScript (sélecteurs CSS plus performants,
méthodes jQuery plus appropriées, etc.).
* Désactivation de init_img() qui était coûteux, lancé à un moment où
les images ne sont de toute manière pas encore chargées, et qui
n'apporte rien car il y a déjà un img {max-width:100%} en CSS.
* JavaScript en mode strict.
* Enfin, passage du code JavaScript dans JSLint et du coup nombreuses
corrections (syntaxe, variables, méthodes dépréciées...).
* Devrait permettre de fermer
https://github.com/marienfressinaud/FreshRSS/issues/121
* Au passage, quelques simplifications CSS pour de meilleures
performances.
11 years ago
|
|
|
.category + .feeds:not(.active) {
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
.categories .feeds {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 auto;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
.categories .feeds .item.active:after {
|
|
|
|
content: "⇢";
|
|
|
|
line-height: 35px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
.categories .feeds .item.empty .feed {
|
|
|
|
color: #e67e22;
|
|
|
|
}
|
|
|
|
.categories .feeds .item.error .feed {
|
|
|
|
color: #BD362F;
|
|
|
|
}
|
|
|
|
.categories .feeds .item .feed {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
width: 165px;
|
|
|
|
line-height: 35px;
|
|
|
|
font-size: 90%;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: left;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
.feed:not([data-unread="0"]) {
|
|
|
|
font-weight:bold;
|
|
|
|
}
|
|
|
|
.feed:not([data-unread="0"]):before {
|
|
|
|
content: "(" attr(data-unread) ") ";
|
|
|
|
}
|
|
|
|
.categories .feeds .dropdown-menu {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
.categories .feeds .dropdown-menu:after {
|
|
|
|
left: 2px;
|
|
|
|
}
|
|
|
|
.categories .feeds .item .dropdown-toggle > .icon {
|
|
|
|
visibility: hidden;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.categories .feeds .item .dropdown-target:target ~ .dropdown-toggle > .icon,
|
|
|
|
.categories .feeds .item:hover .dropdown-toggle > .icon,
|
|
|
|
.categories .feeds .item.active .dropdown-toggle > .icon {
|
|
|
|
background-color: #95a5a6;
|
|
|
|
border-radius: 3px;
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
.categories .btn:hover .notRead,
|
|
|
|
.categories .btn.active .notRead {
|
|
|
|
background: #2980B9;
|
|
|
|
border-left: 3px solid #3498DB;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post {
|
|
|
|
padding: 10px 50px;
|
|
|
|
}
|
|
|
|
.post form {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.day {
|
|
|
|
padding: 5px 15px;
|
|
|
|
font-size: 130%;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 50px;
|
|
|
|
border-left: 3px solid #ecf0f1;
|
|
|
|
}
|
|
|
|
.day .name {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
width: 50%;
|
|
|
|
height: 1.5em;
|
|
|
|
padding: 0 10px 0 0;
|
|
|
|
overflow: hidden;
|
|
|
|
color: #aab;
|
|
|
|
font-size: 1.8em;
|
|
|
|
opacity: .3;
|
|
|
|
font-style: italic;
|
|
|
|
text-align: right;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
z-index: -10;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flux {
|
|
|
|
border-left: 3px solid #ecf0f1;
|
|
|
|
}
|
|
|
|
.flux.current {
|
|
|
|
border-left-color: #3498db;
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
.flux.not_read {
|
|
|
|
border-left-color: #FF5300;
|
|
|
|
background: #FFF3ED;
|
|
|
|
}
|
|
|
|
.flux.favorite {
|
|
|
|
border-left-color: #FFC300;
|
|
|
|
background: #FFF6DA;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flux_header {
|
|
|
|
height: 25px;
|
|
|
|
font-size: 12px;
|
|
|
|
border-top: 1px solid #ecf0f1;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.flux .flux_header > .item > a,
|
|
|
|
.flux .bottom > .item > a {
|
|
|
|
display: inline-block;
|
|
|
|
height: 40px;
|
|
|
|
width: 100%;
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
.flux .item.manage {
|
|
|
|
width: 40px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.flux .item.website {
|
|
|
|
width: 200px;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
.flux .item.website .favicon {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
.flux .item.title {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
.flux .item.title a {
|
|
|
|
color: #333;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.flux.current .item.title,
|
|
|
|
.flux.not_read .item.title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.flux .item.date {
|
|
|
|
width: 200px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding:0 5px 0 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
text-align: right;
|
|
|
|
font-size: 10px;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
.link {
|
|
|
|
width: 40px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#stream.reader .flux {
|
|
|
|
position: relative;
|
|
|
|
padding: 0 0 30px;
|
|
|
|
border: none;
|
|
|
|
background: #ecf0f1;
|
|
|
|
color: #34495e;
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
#stream.reader .flux .author {
|
|
|
|
margin: 0 0 10px;
|
|
|
|
font-size: 90%;
|
|
|
|
color: #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
#stream.global {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#stream.global .box-category {
|
|
|
|
display: inline-block;
|
|
|
|
width: 280px;
|
|
|
|
margin: 20px 10px;
|
|
|
|
vertical-align: top;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-radius: 5px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
#stream.global .category {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
#stream.global .btn {
|
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
height: 35px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 10px;
|
|
|
|
background: #ecf0f1;
|
|
|
|
color: #333;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
border-radius: 5px 5px 0 0;
|
|
|
|
line-height: 35px;
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
#stream.global .btn:not([data-unread="0"]) {
|
|
|
|
font-weight:bold;
|
|
|
|
}
|
|
|
|
#stream.global .btn:first-child:not([data-unread="0"]):after {
|
|
|
|
top: 0; right: 5px;
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
color: #333;
|
|
|
|
font-weight: bold;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
#stream.global .box-category .feeds {
|
|
|
|
display: block;
|
|
|
|
max-height: 250px;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
#stream.global .box-category .feeds .item {
|
|
|
|
padding: 2px 10px;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
#stream.global .box-category .feed {
|
|
|
|
width: 220px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
min-height: 300px;
|
|
|
|
max-width: 550px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 20px 10px;
|
|
|
|
line-height: 170%;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
.content .title {
|
|
|
|
margin: 0 0 5px;
|
|
|
|
}
|
|
|
|
.content h1, .content h2, .content h3 {
|
|
|
|
margin: 20px 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content p {
|
|
|
|
margin: 0 0 20px;
|
|
|
|
}
|
Grosse optimisation JavaScript
* Fusion de endless_mode.js dans main.js car endless_mode.js est
toujours chargé et assez petit.
* Suppression des changements de style en JavaScript lors du chargement
(genre boucle de .hide(), ou d'ajout de classe ".stick") et
implémentation en PHP + CSS à la place.
* Chargement JavaScript asynchrone (defer + async) pour de meilleurs
performances.
* Utilisation préférable des événements globaux plutôt que des
événements pour chaque élément avec jQuery.on(events, selector) pour un
chargement plus rapide et moins de mémoire utilisée.
* Optimisation manuelle du JavaScript (sélecteurs CSS plus performants,
méthodes jQuery plus appropriées, etc.).
* Désactivation de init_img() qui était coûteux, lancé à un moment où
les images ne sont de toute manière pas encore chargées, et qui
n'apporte rien car il y a déjà un img {max-width:100%} en CSS.
* JavaScript en mode strict.
* Enfin, passage du code JavaScript dans JSLint et du coup nombreuses
corrections (syntaxe, variables, méthodes dépréciées...).
* Devrait permettre de fermer
https://github.com/marienfressinaud/FreshRSS/issues/121
* Au passage, quelques simplifications CSS pour de meilleures
performances.
11 years ago
|
|
|
img.big {
|
|
|
|
display: block;
|
|
|
|
margin: 10px auto;
|
|
|
|
}
|
Grosse optimisation JavaScript
* Fusion de endless_mode.js dans main.js car endless_mode.js est
toujours chargé et assez petit.
* Suppression des changements de style en JavaScript lors du chargement
(genre boucle de .hide(), ou d'ajout de classe ".stick") et
implémentation en PHP + CSS à la place.
* Chargement JavaScript asynchrone (defer + async) pour de meilleurs
performances.
* Utilisation préférable des événements globaux plutôt que des
événements pour chaque élément avec jQuery.on(events, selector) pour un
chargement plus rapide et moins de mémoire utilisée.
* Optimisation manuelle du JavaScript (sélecteurs CSS plus performants,
méthodes jQuery plus appropriées, etc.).
* Désactivation de init_img() qui était coûteux, lancé à un moment où
les images ne sont de toute manière pas encore chargées, et qui
n'apporte rien car il y a déjà un img {max-width:100%} en CSS.
* JavaScript en mode strict.
* Enfin, passage du code JavaScript dans JSLint et du coup nombreuses
corrections (syntaxe, variables, méthodes dépréciées...).
* Devrait permettre de fermer
https://github.com/marienfressinaud/FreshRSS/issues/121
* Au passage, quelques simplifications CSS pour de meilleures
performances.
11 years ago
|
|
|
figure img.big {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.content hr {
|
|
|
|
margin: 30px 0;
|
|
|
|
height: 1px;
|
|
|
|
background: #ddd;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
.content pre {
|
|
|
|
margin: 10px auto;
|
|
|
|
padding: 10px;
|
|
|
|
overflow: auto;
|
|
|
|
background: #000;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 110%;
|
|
|
|
}
|
|
|
|
.content q, .content blockquote {
|
|
|
|
display: block;
|
|
|
|
margin: 5px 0;
|
|
|
|
padding: 5px 20px;
|
|
|
|
font-style: italic;
|
|
|
|
border-left: 4px solid #ccc;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
.content blockquote p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#panel {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
top: 10px; bottom: 10px;
|
|
|
|
left: 100px; right: 100px;
|
|
|
|
overflow: auto;
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #95a5a6;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
#panel .close {
|
|
|
|
position: fixed;
|
|
|
|
top: 10px; right: 0px;
|
|
|
|
display: inline-block;
|
|
|
|
width: 26px;
|
|
|
|
height: 26px;
|
|
|
|
margin: 0 10px 0 0;
|
|
|
|
border-radius: 3px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 24px;
|
|
|
|
background: #95a5a6;
|
|
|
|
}
|
|
|
|
#panel .close:hover {
|
|
|
|
background: #7f8c8d;
|
|
|
|
}
|
|
|
|
|
|
|
|
#overlay {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
top: 0; bottom: 0;
|
|
|
|
left: 0; right: 0;
|
|
|
|
background: rgba(0, 0, 0, 0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
.flux_content .bottom {
|
|
|
|
font-size: 90%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
Grosse optimisation JavaScript
* Fusion de endless_mode.js dans main.js car endless_mode.js est
toujours chargé et assez petit.
* Suppression des changements de style en JavaScript lors du chargement
(genre boucle de .hide(), ou d'ajout de classe ".stick") et
implémentation en PHP + CSS à la place.
* Chargement JavaScript asynchrone (defer + async) pour de meilleurs
performances.
* Utilisation préférable des événements globaux plutôt que des
événements pour chaque élément avec jQuery.on(events, selector) pour un
chargement plus rapide et moins de mémoire utilisée.
* Optimisation manuelle du JavaScript (sélecteurs CSS plus performants,
méthodes jQuery plus appropriées, etc.).
* Désactivation de init_img() qui était coûteux, lancé à un moment où
les images ne sont de toute manière pas encore chargées, et qui
n'apporte rien car il y a déjà un img {max-width:100%} en CSS.
* JavaScript en mode strict.
* Enfin, passage du code JavaScript dans JSLint et du coup nombreuses
corrections (syntaxe, variables, méthodes dépréciées...).
* Devrait permettre de fermer
https://github.com/marienfressinaud/FreshRSS/issues/121
* Au passage, quelques simplifications CSS pour de meilleures
performances.
11 years ago
|
|
|
.hide_posts > :not(.active) > .flux_content {
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** PAGINATION ***/
|
|
|
|
.pagination {
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
background: #ecf0f1;
|
|
|
|
text-align: center;
|
|
|
|
color: #000;
|
|
|
|
font-size: 80%;
|
|
|
|
line-height: 200%;
|
|
|
|
table-layout: fixed;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.pagination .item {
|
|
|
|
display: table-cell;
|
|
|
|
line-height: 40px;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
.pagination .item.pager-current {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 140%;
|
|
|
|
color: #ecf0f1;
|
|
|
|
background: #34495e;
|
|
|
|
}
|
|
|
|
.pagination .item.pager-first,
|
|
|
|
.pagination .item.pager-previous,
|
|
|
|
.pagination .item.pager-next,
|
|
|
|
.pagination .item.pager-last {
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
.pagination .item a {
|
|
|
|
display: block;
|
|
|
|
color: #000;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
.pagination .item a:hover {
|
|
|
|
color: #ecf0f1;
|
|
|
|
background: #34495e;
|
|
|
|
}
|
|
|
|
|
Grosse optimisation JavaScript
* Fusion de endless_mode.js dans main.js car endless_mode.js est
toujours chargé et assez petit.
* Suppression des changements de style en JavaScript lors du chargement
(genre boucle de .hide(), ou d'ajout de classe ".stick") et
implémentation en PHP + CSS à la place.
* Chargement JavaScript asynchrone (defer + async) pour de meilleurs
performances.
* Utilisation préférable des événements globaux plutôt que des
événements pour chaque élément avec jQuery.on(events, selector) pour un
chargement plus rapide et moins de mémoire utilisée.
* Optimisation manuelle du JavaScript (sélecteurs CSS plus performants,
méthodes jQuery plus appropriées, etc.).
* Désactivation de init_img() qui était coûteux, lancé à un moment où
les images ne sont de toute manière pas encore chargées, et qui
n'apporte rien car il y a déjà un img {max-width:100%} en CSS.
* JavaScript en mode strict.
* Enfin, passage du code JavaScript dans JSLint et du coup nombreuses
corrections (syntaxe, variables, méthodes dépréciées...).
* Devrait permettre de fermer
https://github.com/marienfressinaud/FreshRSS/issues/121
* Au passage, quelques simplifications CSS pour de meilleures
performances.
11 years ago
|
|
|
#nav_entries {
|
|
|
|
display: table;
|
|
|
|
width: 250px;
|
|
|
|
height: 40px;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
margin: 0;
|
|
|
|
background: #34495e;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 40px;
|
|
|
|
table-layout: fixed;
|
|
|
|
}
|
Grosse optimisation JavaScript
* Fusion de endless_mode.js dans main.js car endless_mode.js est
toujours chargé et assez petit.
* Suppression des changements de style en JavaScript lors du chargement
(genre boucle de .hide(), ou d'ajout de classe ".stick") et
implémentation en PHP + CSS à la place.
* Chargement JavaScript asynchrone (defer + async) pour de meilleurs
performances.
* Utilisation préférable des événements globaux plutôt que des
événements pour chaque élément avec jQuery.on(events, selector) pour un
chargement plus rapide et moins de mémoire utilisée.
* Optimisation manuelle du JavaScript (sélecteurs CSS plus performants,
méthodes jQuery plus appropriées, etc.).
* Désactivation de init_img() qui était coûteux, lancé à un moment où
les images ne sont de toute manière pas encore chargées, et qui
n'apporte rien car il y a déjà un img {max-width:100%} en CSS.
* JavaScript en mode strict.
* Enfin, passage du code JavaScript dans JSLint et du coup nombreuses
corrections (syntaxe, variables, méthodes dépréciées...).
* Devrait permettre de fermer
https://github.com/marienfressinaud/FreshRSS/issues/121
* Au passage, quelques simplifications CSS pour de meilleures
performances.
11 years ago
|
|
|
#nav_entries .item {
|
|
|
|
display: table-cell;
|
|
|
|
width: 30%;
|
|
|
|
}
|
Grosse optimisation JavaScript
* Fusion de endless_mode.js dans main.js car endless_mode.js est
toujours chargé et assez petit.
* Suppression des changements de style en JavaScript lors du chargement
(genre boucle de .hide(), ou d'ajout de classe ".stick") et
implémentation en PHP + CSS à la place.
* Chargement JavaScript asynchrone (defer + async) pour de meilleurs
performances.
* Utilisation préférable des événements globaux plutôt que des
événements pour chaque élément avec jQuery.on(events, selector) pour un
chargement plus rapide et moins de mémoire utilisée.
* Optimisation manuelle du JavaScript (sélecteurs CSS plus performants,
méthodes jQuery plus appropriées, etc.).
* Désactivation de init_img() qui était coûteux, lancé à un moment où
les images ne sont de toute manière pas encore chargées, et qui
n'apporte rien car il y a déjà un img {max-width:100%} en CSS.
* JavaScript en mode strict.
* Enfin, passage du code JavaScript dans JSLint et du coup nombreuses
corrections (syntaxe, variables, méthodes dépréciées...).
* Devrait permettre de fermer
https://github.com/marienfressinaud/FreshRSS/issues/121
* Au passage, quelques simplifications CSS pour de meilleures
performances.
11 years ago
|
|
|
#nav_entries a {
|
|
|
|
display: block;
|
|
|
|
}
|
Grosse optimisation JavaScript
* Fusion de endless_mode.js dans main.js car endless_mode.js est
toujours chargé et assez petit.
* Suppression des changements de style en JavaScript lors du chargement
(genre boucle de .hide(), ou d'ajout de classe ".stick") et
implémentation en PHP + CSS à la place.
* Chargement JavaScript asynchrone (defer + async) pour de meilleurs
performances.
* Utilisation préférable des événements globaux plutôt que des
événements pour chaque élément avec jQuery.on(events, selector) pour un
chargement plus rapide et moins de mémoire utilisée.
* Optimisation manuelle du JavaScript (sélecteurs CSS plus performants,
méthodes jQuery plus appropriées, etc.).
* Désactivation de init_img() qui était coûteux, lancé à un moment où
les images ne sont de toute manière pas encore chargées, et qui
n'apporte rien car il y a déjà un img {max-width:100%} en CSS.
* JavaScript en mode strict.
* Enfin, passage du code JavaScript dans JSLint et du coup nombreuses
corrections (syntaxe, variables, méthodes dépréciées...).
* Devrait permettre de fermer
https://github.com/marienfressinaud/FreshRSS/issues/121
* Au passage, quelques simplifications CSS pour de meilleures
performances.
11 years ago
|
|
|
#nav_entries .i_up {
|
|
|
|
margin: 5px 0 0;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination .loading,
|
|
|
|
.pagination a:hover.loading {
|
|
|
|
background: url("loader.gif") center center no-repeat #34495e;
|
|
|
|
font-size: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bigMarkAsRead {
|
|
|
|
background: #ecf0f1;
|
|
|
|
display: block;
|
|
|
|
font-style: normal;
|
|
|
|
padding: 32px 0 64px 0;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
text-shadow: 0 -1px 0 #aaa;
|
|
|
|
}
|
|
|
|
#bigMarkAsRead:hover {
|
|
|
|
background: #34495e;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.bigTick {
|
|
|
|
font-size: 72pt;
|
|
|
|
line-height: 1.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** NOTIFICATION ***/
|
|
|
|
.notification {
|
|
|
|
position: fixed;
|
|
|
|
top: 10px;
|
|
|
|
left: 25%; right: 25%;
|
|
|
|
min-height: 30px;
|
|
|
|
padding: 10px;
|
|
|
|
line-height: 30px;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 3px;
|
|
|
|
background: #ddd;
|
|
|
|
color: #666;
|
|
|
|
font-weight: bold;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
.notification.good {
|
|
|
|
background: #1abc9c;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.notification.bad {
|
|
|
|
background: #e74c3c;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.notification a.close {
|
|
|
|
display: inline-block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
float: right;
|
|
|
|
margin: -16px -16px 0 0;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 3px;
|
|
|
|
line-height: 16px;
|
|
|
|
}
|
|
|
|
.notification.good a.close {
|
|
|
|
background: #1abc9c;
|
|
|
|
}
|
|
|
|
.notification.bad a.close {
|
|
|
|
background: #e74c3c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle_aside, .btn.toggle_aside {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actualizeProgress {
|
|
|
|
position: fixed;
|
|
|
|
top: 10px;
|
|
|
|
left: 25%; right: 25%;
|
|
|
|
padding: 5px;
|
|
|
|
background: #3498db;
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.actualizeProgress progress {
|
|
|
|
max-width: 100%;
|
|
|
|
width: 250px;
|
|
|
|
height: 15px;
|
|
|
|
vertical-align: middle;
|
|
|
|
background: #fff;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.actualizeProgress .progress {
|
|
|
|
color: #ecf0f1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logs {
|
|
|
|
border: 1px solid #34495e;
|
|
|
|
}
|
|
|
|
.log {
|
|
|
|
margin: 10px 0;
|
|
|
|
padding: 5px 2%;
|
|
|
|
overflow: auto;
|
|
|
|
background: #fafafa;
|
|
|
|
color: #666;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
.log>.date {
|
|
|
|
margin: 0 10px 0 0;
|
|
|
|
padding: 5px 10px;
|
|
|
|
border-radius: 20px;
|
|
|
|
}
|
|
|
|
.log.error>.date {
|
|
|
|
background: #e74c3c;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.log.warning>.date {
|
|
|
|
background: #f39c12;
|
|
|
|
}
|
|
|
|
.log.notice>.date {
|
|
|
|
background: #ecf0f1;
|
|
|
|
}
|
|
|
|
.log.debug>.date {
|
|
|
|
background: #111;
|
|
|
|
color: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group table {
|
|
|
|
border-collapse:collapse;
|
|
|
|
margin:10px 0 0 220px;
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group tr, .form-group th, .form-group td {
|
|
|
|
font-weight:normal;
|
|
|
|
padding:.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: 840px) {
|
|
|
|
.header,
|
|
|
|
.aside .btn-important,
|
|
|
|
.aside .feeds .dropdown,
|
|
|
|
.flux_header .item.website span,
|
|
|
|
.item.date {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.flux_header .item.website {
|
|
|
|
width: 40px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.flux_header .item.website .favicon {
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-login {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
margin: 0 0 40px;
|
|
|
|
}
|
|
|
|
.pagination .pager-previous, .pagination .pager-next {
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle_aside, .btn.toggle_aside {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.aside {
|
|
|
|
position: fixed;
|
|
|
|
top: 0; left: 0;
|
|
|
|
width: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: 10;
|
|
|
|
transition: width 200ms linear;
|
|
|
|
background: #ecf0f1;
|
|
|
|
}
|
|
|
|
.aside.aside_flux {
|
|
|
|
padding: 10px 0 0;
|
|
|
|
}
|
|
|
|
.aside:target {
|
|
|
|
width: 80%;
|
|
|
|
border-right: 1px solid #aaa;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
.aside .toggle_aside {
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
display: inline-block;
|
|
|
|
width: 26px;
|
|
|
|
height: 26px;
|
|
|
|
margin: 0 10px 0 0;
|
|
|
|
border-radius: 3px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 24px;
|
|
|
|
background: #95a5a6;
|
|
|
|
}
|
|
|
|
.aside .toggle_aside:hover {
|
|
|
|
background: #7f8c8d;
|
|
|
|
}
|
|
|
|
.aside .categories {
|
|
|
|
margin: 30px 0;
|
|
|
|
}
|
|
|
|
|
Grosse optimisation JavaScript
* Fusion de endless_mode.js dans main.js car endless_mode.js est
toujours chargé et assez petit.
* Suppression des changements de style en JavaScript lors du chargement
(genre boucle de .hide(), ou d'ajout de classe ".stick") et
implémentation en PHP + CSS à la place.
* Chargement JavaScript asynchrone (defer + async) pour de meilleurs
performances.
* Utilisation préférable des événements globaux plutôt que des
événements pour chaque élément avec jQuery.on(events, selector) pour un
chargement plus rapide et moins de mémoire utilisée.
* Optimisation manuelle du JavaScript (sélecteurs CSS plus performants,
méthodes jQuery plus appropriées, etc.).
* Désactivation de init_img() qui était coûteux, lancé à un moment où
les images ne sont de toute manière pas encore chargées, et qui
n'apporte rien car il y a déjà un img {max-width:100%} en CSS.
* JavaScript en mode strict.
* Enfin, passage du code JavaScript dans JSLint et du coup nombreuses
corrections (syntaxe, variables, méthodes dépréciées...).
* Devrait permettre de fermer
https://github.com/marienfressinaud/FreshRSS/issues/121
* Au passage, quelques simplifications CSS pour de meilleures
performances.
11 years ago
|
|
|
#nav_entries {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav_menu .btn {
|
|
|
|
margin: 5px 10px;
|
|
|
|
}
|
|
|
|
.nav_menu .stick {
|
|
|
|
margin: 0 10px;
|
|
|
|
}
|
|
|
|
.nav_menu .stick .btn {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#panel {
|
|
|
|
left: 5px; right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.day .date {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.day .name {
|
|
|
|
height: 2.6em;
|
|
|
|
font-size: 1em;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification,
|
|
|
|
.actualizeProgress {
|
|
|
|
left: 10px;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** FALLBACK ***/
|
|
|
|
.dropdown-menu:after {
|
|
|
|
-moz-transform: rotate(45deg);
|
|
|
|
-webkit-transform: rotate(45deg);
|
|
|
|
-ms-transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
.header,
|
|
|
|
.aside,
|
|
|
|
.nav_menu,
|
|
|
|
.day,
|
|
|
|
.flux_header,
|
|
|
|
.flux_content .bottom,
|
|
|
|
.pagination {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
|
|
|
background: #fff;
|
|
|
|
color: #000;
|
|
|
|
font-family: Serif;
|
|
|
|
font-size: 12pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
#global,
|
|
|
|
.flux_content {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flux_content .content {
|
|
|
|
width: 100% !important;
|
|
|
|
text-align: justify;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flux_content .content a {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
.flux_content .content a:after {
|
|
|
|
content: " (" attr(href) ") ";
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|