A free, self-hostable news aggregator…
Flat design based on default template
Marien Fressinauddd627292283d
diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.cssnew file mode 100644index 000000000..b7a7ee3c9--- /dev/null+++ b/p/themes/Flat/flat.css@@ -0,0 +1,959 @@+@charset "UTF-8";++/*=== FONTS */+@font-face {+ font-family: "OpenSans";+ src: url("../fonts/openSans.woff") format("woff");+}++/*=== GENERAL */+/*============*/+html, body {+ height: 100%;+ font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;+ background: #fafafa;+}++/*=== Links */+a {+ color: #2980b9;+ outline: none;+}++/*=== Forms */+legend {+ display: inline-block;+ width: auto;+ margin: 20px 0 5px;+ padding: 5px 20px;+ font-size: 1.4em;+ clear: both;+ background: #ecf0f1;+ border-radius: 20px;+}+label {+ min-height: 25px;+ padding: 5px 0;+ cursor: pointer;+ color: #444;+}+textarea {+ width: 360px;+ height: 100px;+}+input, select, textarea {+ min-height: 25px;+ padding: 5px;+ line-height: 25px;+ vertical-align: middle;+ background: #fff;+ border: none;+ border-bottom: 3px solid #ddd;+ color: #666;+ border-radius: 5px;+}+option {+ padding: 0 .5em;+}+input:focus, select:focus, textarea:focus {+ color: #333;+ border-color: #2980b9;+}+input:invalid, select:invalid {+ color: #f00;+ border-color: #f00;+ box-shadow: none;+}+input:disabled, select:disabled {+ background: #eee;+}+input.extend {+ transition: width 200ms linear;+ -moz-transition: width 200ms linear;+ -webkit-transition: width 200ms linear;+ -o-transition: width 200ms linear;+ -ms-transition: width 200ms linear;+}++/*=== Tables */+table {+ border-collapse: collapse;+}++tr, th, td {+ padding: 0.5em;+ border: 1px solid #ddd;+}+th {+ background: #f6f6f6;+}+form td,+form th {+ font-weight: normal;+ text-align: center;+}++/*=== COMPONENTS */+/*===============*/+/*=== Forms */+.form-group {+ padding: 5px;+ border: 1px solid transparent;+ border-radius: 3px;+}+.form-group:after {+ content: "";+ display: block;+ clear: both;+}+.form-group:hover {+ background: #fff;+ border: 1px solid #eee;+ border-radius: 3px;+ border: 1px solid #eee;+}+.form-group.form-actions {+ margin: 15px 0 25px;+ padding: 5px 0;+ background: #ecf0f1;+ border-top: 3px solid #bdc3c7;+ border-radius: 5px 5px 0 0;+}+.form-group.form-actions .btn {+ margin: 0 10px;+}+.form-group .group-name {+ padding: 10px 0;+ text-align: right;+}+.form-group .group-controls {+ min-height: 25px;+ padding: 5px 0;+}+.form-group .group-controls .control {+ line-height: 2.0em;+}+.form-group table {+ margin: 10px 0 0 220px;+}++/*=== Buttons */+.stick {+ vertical-align: middle;+ font-size: 0;+}+.stick input,+.stick .btn {+ border-radius: 0;+}+.stick .btn:first-child,+.stick input:first-child {+ border-radius: 5px 0 0 5px;+}+.stick .btn:last-child,+.stick input:last-child,+.stick .btn + .dropdown > .btn {+ border-radius: 0 5px 5px 0;+}+.stick .btn + input,+.stick input + input,+.stick .dropdown + input {+ border-left: 1px solid #ddd;+}++.btn {+ display: inline-block;+ min-height: 38px;+ min-width: 15px;+ margin: 0;+ padding: 5px 10px;+ font-size: 0.9rem;+ vertical-align: middle;+ cursor: pointer;+ overflow: hidden;+ background: #3498db;+ border-radius: 5px;+ border: none;+ border-bottom: 3px solid #2980b9;+ color: #fff;+}+a.btn {+ min-height: 25px;+ line-height: 25px;+}+.btn:hover {+ text-decoration: none;+}+.btn.active,+.btn:active,+.btn:hover,+.dropdown-target:target ~ .btn.dropdown-toggle {+ background: #2980b9;+}++.btn-important {+ font-weight: normal;+ background: #e67e22;+ color: #fff;+ border-bottom: 3px solid #d35400;+}+.btn-important:hover,+.btn-important:active {+ background: #d35400;+}++.btn-attention {+ background: #e74c3c;+ color: #fff;+ border-bottom: 3px solid #c0392b;+}+.btn-attention:hover,+.btn-attention:active {+ background: #c0392b;+}++/*=== Navigation */+.nav-list .nav-header,+.nav-list .item {+ height: 2.5em;+ line-height: 2.5em;+ font-size: 0.9rem;+}+.nav-list .item:hover,+.nav-list .item.active {+ background: #2980b9;+ color: #fff;+}+.nav-list .item:hover a,+.nav-list .item.active a {+ color: #fff;+}+.nav-list .disable {+ text-align: center;+ background: #fafafa;+ color: #aaa;+}+.nav-list .item > a {+ padding: 0 10px;+}+.nav-list a:hover {+ text-decoration: none;+}+.nav-list .item.empty a {+ color: #f39c12;+}+.nav-list .item.active.empty a,+.nav-list .item.active.empty a {+ color: #fff;+ background: #f39c12;+}+.nav-list .item.error a {+ color: #bd362f;+}+.nav-list .item:hover.error a,+.nav-list .item.active.error a {+ color: #fff;+ background: #bd362f;+}++.nav-list .nav-header {+ padding: 0 10px;+ font-weight: bold;+ background: #34495e;+ color: #fff;+}++.nav-list .nav-form {+ padding: 3px;+ text-align: center;+}++.nav-head {+ margin: 0;+ text-align: right;+ background: #34495e;+ color: #fff;+}+.nav-head a {+ color: #fff;+}+.nav-head .item {+ padding: 5px 10px;+ font-size: 0.9rem;+ line-height: 1.5rem;+}++/*=== Horizontal-list */+.horizontal-list {+ margin: 0;+ padding: 0;+}+.horizontal-list .item {+ vertical-align: middle;+}++/*=== Dropdown */+.dropdown-menu {+ margin: 5px 0 0;+ padding: 5px 0;+ font-size: 0.8rem;+ text-align: left;+ border: 1px solid #95a5a6;+ border-radius: 3px;+}+.dropdown-menu:after {+ content: "";+ position: absolute;+ top: -6px;+ right: 13px;+ width: 10px;+ height: 10px;+ z-index: -10;+ transform: rotate(45deg);+ -moz-transform: rotate(45deg);+ -webkit-transform: rotate(45deg);+ -ms-transform: rotate(45deg);+ background: #fff;+ border-top: 1px solid #95a5a6;+ border-left: 1px solid #95a5a6;+}+.dropdown-header {+ padding: 0 5px 5px;+ font-weight: bold;+ text-align: left;+ color: #34495e;+}+.dropdown-menu > .item {+}+.dropdown-menu > .item > a {+ padding: 0 25px;+ line-height: 2.5em;+}+.dropdown-menu > .item > span {+ padding: 0 25px;+ line-height: 2em;+}+.dropdown-menu > .item:hover {+}+.dropdown-menu > .item[aria-checked="true"] > a:before {+ font-weight: bold;+ margin: 0 0 0 -14px;+}+.dropdown-menu > .item:hover > a {+ text-decoration: none;+ background: #2980b9;+ color: #fff;+}+.dropdown-menu .input select,+.dropdown-menu .input input {+ margin: 0 auto 5px;+ padding: 2px 5px;+ border-radius: 3px;+}++.separator {+ margin: 5px 0;+ border-bottom: 1px solid #ddd;+}++/*=== Alerts */+.alert {+ margin: 15px auto;+ padding: 10px 15px;+ font-size: 0.9em;+ background: #f4f4f4;+ border: 1px solid #ccc;+ border-right: 1px solid #aaa;+ border-bottom: 1px solid #aaa;+ border-radius: 5px;+ color: #aaa;+ text-shadow: 0 0 1px #eee;+}+.alert-head {+ font-size: 1.15em;+}+.alert > a {+ text-decoration: underline;+ color: inherit;+}+.alert-warn {+ background: #ffe;+ border: 1px solid #eeb;+ color: #c95;+}+.alert-success {+ background: #dfd;+ border: 1px solid #cec;+ color: #484;+}+.alert-error {+ background: #fdd;+ border: 1px solid #ecc;+ color: #844;+}++/*=== Pagination */+.pagination {+ text-align: center;+ font-size: 0.8em;+ background: #ecf0f1;+ color: #000;+}+.content .pagination {+ margin: 0;+ padding: 0;+}+.pagination .item.pager-current {+ font-weight: bold;+ font-size: 1.5em;+ background: #34495e;+ color: #ecf0f1;+}+.pagination .item a {+ display: block;+ font-style: italic;+ line-height: 3em;+ text-decoration: none;+ color: #000;+}+.pagination .item a:hover {+ background: #34495e;+ color: #ecf0f1;+}+.pagination:first-child .item {+}+.pagination:last-child .item {+}++.pagination .loading,+.pagination a:hover.loading {+ font-size: 0;+ background: url("loader.gif") center center no-repeat #34495e;+}++/*=== STRUCTURE */+/*===============*/+/*=== Header */+.header {+ background: #ecf0f1;+}+.header > .item {+ padding: 10px 0;+ vertical-align: middle;+ text-align: center;+}+.header > .item.title h1 {+}+.header > .item.title h1 a {+ text-decoration: none;+}+.header > .item.search input {+ width: 230px;+}+.header .item.search input:focus {+ width: 350px;+}++/*=== Body */+#global {+}+.aside {+ background: #ecf0f1;+}+.aside.aside_flux {+ padding: 10px 0 50px;+ background: #ecf0f1;+}++/*=== Aside main page (categories) */+.categories {+ text-align: center;+}+.category {+ width: 235px;+ margin: 10px auto;+ text-align: left;+}+.category .btn:first-child {+ position: relative;+ width: 213px;+}+.category.stick .btn:first-child {+ width: 176px;+}+.category .btn:first-child:not([data-unread="0"]):after {+ position: absolute;+ top: 5px; right: 5px;+ padding: 1px 5px;+ background: #3498DB;+ color: #fff;+ border-radius: 5px;+}++/*=== Aside main page (feeds) */+.categories .feeds .item.active {+ background: #2980b9;+}+.categories .feeds .item.active .feed,+.categories .feeds .item.empty.active .feed {+ color: #fff;+}+.categories .feeds .item.empty.active {+ background: #f39c12;+}+.categories .feeds .item.error.active {+ background: #bd362f;+}+.categories .feeds .item.empty .feed {+ color: #e67e22;+}+.categories .feeds .item.error .feed {+ color: #bd362f;+}+.categories .feeds .item .feed {+ margin: 0;+ width: 165px;+ line-height: 3em;+ font-size: 0.8em;+ text-align: left;+ text-decoration: none;+}+.categories .feeds .feed:not([data-unread="0"]) {+ font-weight: bold;+}+.categories .feeds .dropdown-menu:after {+ left: 2px;+}+.categories .feeds .item .dropdown-target:target ~ .dropdown-toggle > .icon,+.categories .feeds .item:hover .dropdown-toggle > .icon,+.categories .feeds .item.active .dropdown-toggle > .icon {+ vertical-align: middle;+ background-color: #95a5a6;+ border-radius: 3px;+}++/*=== Configuration pages */+.post {+ padding: 10px 50px;+ font-size: 0.9em;+}+.post form {+ margin: 10px 0;+}+.post.content {+ max-width: 550px;+}++/*=== Prompt (centered) */+.prompt {+ text-align: center;+}+.prompt label {+ text-align: left;+}+.prompt form {+ margin: 10px auto 20px auto;+ width: 180px;+}+.prompt input {+ margin: 5px auto;+ width: 100%;+}+.prompt p {+ margin: 20px 0;+}++/*=== New article notification */+#new-article {+ text-align: center;+ font-size: 0.9em;+ background: #3498db;+}+#new-article:hover {+ background: #2980b9;+}+#new-article > a {+ line-height: 3em;+ font-weight: bold;+ color: #fff;+}+#new-article > a:hover {+ text-decoration: none;+}++/*=== Day indication */+.day {+ padding: 0 10px;+ font-weight: bold;+ line-height: 3em;+ border-left: 2px solid #ecf0f1;+}+#new-article + .day {+}+.day .name {+ padding: 0 10px 0 0;+ font-size: 1.8em;+ opacity: 0.3;+ font-style: italic;+ text-align: right;+ color: #aab;+}++/*=== Index menu */+.nav_menu {+ text-align: center;+ padding: 5px 0;+}++/*=== Feed articles */+.flux {+ border-left: 2px solid #ecf0f1;+}+.flux:hover {+ background: #fff;+}+.flux.current {+ border-left-color: #3498db;+}+.flux.not_read {+ background: #FFF3ED;+ border-left-color: #FF5300;+}+.flux.not_read:not(.current):hover .item.title {+}+.flux.favorite {+ background: #FFF6DA;+ border-left-color: #FFC300;+}+.flux.favorite:not(.current):hover .item.title {+}+.flux.current {+ background: #fff;+}+++.flux_header {+ font-size: 0.8rem;+ cursor: pointer;+ border-top: 1px solid #ecf0f1;+}+.flux_header .title {+ font-size: 0.9rem;+}+.flux .website .favicon {+ padding: 5px;+}+.flux .date {+ font-size: 0.7rem;+ color: #666;+}+.flux:not(.current):hover .item.title {+ top: 1px;+}++.flux .bottom {+ font-size: 0.8rem;+ text-align: center;+}++/*=== Content of feed articles */+.content {+ padding: 20px 10px;+}+.content > h1.title > a {+ color: #000;+}++.content hr {+ margin: 30px 10px;+ height: 1px;+ background: #ddd;+ border: 0;+ box-shadow: 0 2px 5px #ccc;+}++.content pre {+ margin: 10px auto;+ padding: 10px 20px;+ overflow: auto;+ background: #222;+ color: #fff;+ font-size: 0.9rem;+ border-radius: 3px;+}+.content code {+ padding: 2px 5px;+ color: #dd1144;+ background: #fafafa;+ border: 1px solid #eee;+ border-radius: 3px;+}+.content pre code {+ background: transparent;+ color: #fff;+ border: none;+}++.content blockquote {+ display: block;+ margin: 0;+ padding: 5px 20px;+ border-top: 1px solid #ddd;+ border-bottom: 1px solid #ddd;+ background: #fafafa;+ color: #333;+}+.content blockquote p {+ margin: 0;+}++/*=== Notification and actualize notification */+.notification {+ padding: 0 0 0 5px;+ text-align: center;+ font-weight: bold;+ font-size: 0.9em;+ line-height: 3em;+ z-index: 10;+ vertical-align: middle;+ background: #ddd;+ color: #666;+ border-radius: 3px;+ border: none;+}+.notification.good {+ background: #1abc9c;+ color: #fff;+}+.notification.bad {+ background: #e74c3c;+ color: #fff;+}+.notification a.close {+ padding: 0 15px;+ line-height: 3em;+ border-radius: 0 3px 3px 0;+}+.notification.good a.close:hover {+ background: #16a085;+}+.notification.bad a.close:hover {+ background: #c0392b;+}++.notification#actualizeProgress {+ line-height: 2em;+}++/*=== "Load more" part */+#bigMarkAsRead {+ text-align: center;+ text-decoration: none;+ background: #ecf0f1;+}+#bigMarkAsRead:hover {+ background: #34495e;+ color: #fff;+}+#bigMarkAsRead:hover .bigTick {+}++/*=== Navigation menu (for articles) */+#nav_entries {+ margin: 0;+ text-align: center;+ line-height: 3em;+ table-layout: fixed;+ background: #34495e;+}++/*=== READER VIEW */+/*================*/+#stream.reader .flux {+ padding: 0 0 50px;+ background: #ecf0f1;+ color: #34495e;+ border: none;+}+#stream.reader .flux .author {+ margin: 0 0 10px;+ font-size: 90%;+ color: #999;+}++/*=== GLOBAL VIEW */+/*================*/+#stream.global .box-category {+ text-align: left;+ border: 1px solid #ddd;+ border-radius: 5px;+}+#stream.global .category {+ margin: 0;+}+#stream.global .btn {+ width: auto;+ height: 2em;+ margin: 0;+ padding: 0 10px;+ line-height: 2em;+ font-size: 1.2rem;+ background: #ecf0f1;+ color: #333;+ border-bottom: 1px solid #ddd;+ border-radius: 5px 5px 0 0;+}+#stream.global .btn:not([data-unread="0"]) {+ font-weight: bold;+ background: #3498db;+ color: #fff;+}+#stream.global .btn:first-child:not([data-unread="0"]):after {+ top: 0; right: 5px;+ font-weight: bold;+ background: none;+ border: 0;+ color: #fff;+}+#stream.global .box-category .feeds {+ max-height: 250px;+}+#stream.global .box-category .feeds .item {+ padding: 2px 10px;+ font-size: 0.9rem;+}++/*=== DIVERS */+/*===========*/+.aside.aside_feed .nav-form input,+.aside.aside_feed .nav-form select {+ width: 140px;+}+.aside.aside_feed .nav-form .dropdown .dropdown-menu {+ right: -20px;+}+.aside.aside_feed .nav-form .dropdown .dropdown-menu:after {+ right: 33px;+}++/*=== STATISTICS */+/*===============*/+.stat {+ margin: 10px 0 20px;+}++.stat th,+.stat td,+.stat tr {+}+.stat > table td,+.stat > table th {+ text-align: center;+}++/*=== LOGS */+/*=========*/+.logs {+ overflow: hidden;+ border: 1px solid #aaa;+}+.log {+ margin: 10px 0;+ padding: 5px 2%;+ overflow: auto;+ font-size: 0.8rem;+ background: #fafafa;+ color: #666;+}++.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;+}++/*=== MOBILE */+/*===========*/+@media(max-width: 840px) {+ .aside {+ transition: width 200ms linear;+ -moz-transition: width 200ms linear;+ -webkit-transition: width 200ms linear;+ -o-transition: width 200ms linear;+ -ms-transition: width 200ms linear;+ }+ .aside .toggle_aside,+ #panel .close {+ position: absolute;+ display: block;+ top: 0; right: 0;+ width: 32px;+ height: 32px;+ line-height: 30px;+ text-align: center;+ background: #34495e;+ border-radius: 0 0 0 5px;+ }++ .nav_menu .btn {+ margin: 5px 10px;+ }+ .nav_menu .stick {+ margin: 0 10px;+ }+ .nav_menu .stick .btn {+ margin: 5px 0;+ }+ .nav_menu .search {+ display: inline-block;+ max-width: 97%;+ }+ .nav_menu .search input {+ max-width: 97%;+ width: 90px;+ }+ .nav_menu .search input:focus {+ width: 400px;+ }++ .day .name {+ font-size: 1.1rem;+ }++ .flux_header .item.website .favicon {+ padding: 12px;+ }++ .pagination {+ margin: 0 0 3.5em;+ }++ .notification {+ border-radius: 0;+ }+ .notification a.close {+ display: block;+ left: 0;+ background: transparent;+ }+ .notification a.close:hover {+ opacity: 0.5;+ }+ .notification a.close .icon {+ display: none;+ }+}diff --git a/p/themes/Flat/freshrss.css b/p/themes/Flat/freshrss.cssdeleted file mode 100644index 503eec813..000000000--- a/p/themes/Flat/freshrss.css+++ /dev/null@@ -1,900 +0,0 @@-@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;- }- .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;- }- .nav_menu .search {- display:none;- }--.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;- }- .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;- }- .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;- }--#new-article {- display: none;- min-height: 40px;- background: #3498db;- text-align: center;-}- #new-article:hover {- background: #2980b9;- }- #new-article > a {- display: block;- line-height: 40px;- color: #fff;- font-weight: bold;- }- #new-article > a:hover {- text-decoration: none;- }--.flux {- border-left: 3px solid #ecf0f1;-}- .flux:hover {- background: #fff;- }- .flux.not_read {- border-left-color: #FF5300;- background: #FFF3ED;- }- .flux.favorite {- border-left-color: #FFC300;- background: #FFF6DA;- }- .flux.current {- border-left-color: #3498db;- background: #fff;- }-- .horizontal-list > .item:not(.title):not(.website) > a {- display: block;- }-- .flux_header {- background: inherit;- height: 25px;- font-size: 12px;- border-top: 1px solid #ecf0f1;- cursor: pointer;- }- .flux .item {- line-height: 40px;- white-space: nowrap;- }- .flux_header > .item {- overflow: hidden;- text-overflow: ellipsis;- }- .flux .item.manage {- width: 40px;- text-align: center;- }- .flux .item.website {- width: 200px;- }- .website .favicon {- padding: 5px;- }- .flux .item.title {- background: inherit;- }- .flux .title a {- color: #333;- outline: none;- }- .flux.current .item.title,- .flux.not_read .item.title {- font-weight: bold;- }- .flux .item.date {- width: 145px;- padding:0 5px 0 0;- 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"]) {- background: #3498db;- color: #fff;- font-weight: bold;- }- #stream.global .btn:first-child:not([data-unread="0"]):after {- top: 0; right: 5px;- border: 0;- background: none;- color: #fff;- 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: 150px;- margin: 0 auto;- padding: 20px 10px;- line-height: 170%;- word-wrap: break-word;-}- .content.large {- max-width: 1000px;- }- .content.medium {- max-width: 800px;- }- .content.thin {- max-width: 550px;- }- .content h1, .content h2, .content h3 {- margin: 20px 0 5px;- }- .content > .title {- font-size: x-large;- margin: 0;- }-- .content p {- margin: 0 0 20px;- }- img.big {- display: block;- margin: 10px auto;- }- 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;-}--.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;- }--#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;-}- #nav_entries .item {- display: table-cell;- width: 30%;- }- #nav_entries a {- display: block;- }- #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: absolute;- 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.closed {- display: none;- }- .notification.good {- background: #1abc9c;- color: #fff;- }- .notification.bad {- background: #e74c3c;- color: #fff;- }- .notification a.close {- position: absolute;- top: -6px; right: -6px;- display: inline-block;- width: 16px;- height: 16px;- 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;-}-#actualizeProgress progress {- max-width: 100%;- vertical-align: middle;-}-#actualizeProgress .progress {- vertical-align: middle;-}--.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;-}--select.number option {- text-align:right;-}--@media(min-width: 841px) {- .flux:not(.current):hover .item.title {- max-width: calc(100% - 580px);- padding-right: 1.5em;- position: absolute;- }-}--@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;- }-- .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;- }-- #nav_entries {- width: 100%;- }-- .nav_menu .btn {- margin: 5px 10px;- }- .nav_menu .stick {- margin: 0 10px;- }- .nav_menu .stick .btn {- margin: 5px 0;- }- .nav_menu .search {- display: inline-block;- max-width: 97%;- }- .nav_menu .search input {- max-width: 97%;- width: 90px;- }- .nav_menu .search input:focus {- width: 400px;- }-- #panel {- left: 5px; right: 5px;- }-- .day .date {- display: none;- }- .day .name {- height: 2.6em;- font-size: 1em;- text-shadow: none;- }-- .notification {- top: 0;- left: 0;- right: 0;- border-radius: 0;- }- .notification a.close,- .notification.good a.close,- .notification.bad a.close {- left: 0; right: 0;- top: 0; bottom: 0;- width: auto;- height: auto;- background: transparent;- border: none;- }- .notification a.close .icon {- display: none;- }-}--/*** FALLBACK ***/-.dropdown-menu:after {- -moz-transform: rotate(45deg);- -webkit-transform: rotate(45deg);- -ms-transform: rotate(45deg);-}--input.extend {- -moz-transition: width 200ms linear;- -webkit-transition: width 200ms linear;- -o-transition: width 200ms linear;- -ms-transition: width 200ms linear;-}--@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;- }-}--.stat {- border:1px solid #aaa;- border-radius:10px;- box-shadow:2px 2px 5px #aaa;- margin:10px 0;- padding:0 5px;-}-.stat > h2 {- border-bottom:1px solid #aaa;- margin:0 -5px;- padding-left:5px;-}-.stat > div {- margin:5px 0;-}-.stat > table {- border-collapse:collapse;- margin:5px 0;- width:100%;-}-.stat > table > thead > tr {- border-bottom:2px solid #aaa;-}-.stat > table > tbody > tr {- border-bottom:1px solid #aaa;-}-.stat > table > tbody > tr:last-child {- border-bottom:0;-}-.stat > table th, .stat > table td {- border-left:2px solid #aaa;- padding:5px;-}-.stat > table th:first-child, .stat > table td:first-child {- border-left:0;-}-.stat > table td.numeric{- margin:5px 0;- text-align:center;-}\ No newline at end of filediff --git a/p/themes/Flat/global.css b/p/themes/Flat/global.cssdeleted file mode 100644index 68e9fa359..000000000--- a/p/themes/Flat/global.css+++ /dev/null@@ -1,528 +0,0 @@-@charset "UTF-8";--/* FONTS */-@font-face {- font-family: "OpenSans";- src: url("../fonts/openSans.woff") format("woff");-}---* {- margin: 0;- padding: 0;-}-html, body {- height: 100%;- font-size: 95%;- font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;-}--/* LIENS */-a {- color: #2980b9;- text-decoration: none;-}- a:hover {- text-decoration: underline;- }--/* LISTES */-ul, ol, dl {- margin: 10px 0 10px 30px;- line-height: 190%;-}- dd {- margin: 0 0 10px 30px;- }--/* TITRES */-h1, h2, h3 {- min-height: 40px;- margin: 15px 0 5px;- line-height: 40px;-}--/* IMG */-figure {- margin: 5px 0 10px;- text-align: center;-}- figcaption {- display: inline-block;- padding: 3px 20px;- color: #999;- font-style: italic;- border-bottom: 1px solid #ccc;- }-img {- height: auto;- max-width: 100%;- vertical-align: middle;-}- a img {- border: none;- }--/* VIDEOS */-iframe, embed, object, video {- max-width: 100%;-}--/* FORMULAIRES */-legend {- display: inline-block;- margin: 20px 0 5px;- padding: 5px 20px;- font-size: 150%;- clear: both;- background: #ecf0f1;- border-radius: 20px;-}-label {- display: block;- min-height: 25px;- padding: 5px 0;- font-size: 12px;- line-height: 25px;- cursor: pointer;- font-weight: bold;- color: #444;-}-input {- width: 180px;-}-textarea {- width: 360px;- height: 100px;-}-input, select, textarea {- display: inline-block;- max-width: 100%;- min-height: 25px;- padding: 5px;- background: #FFF;- border: none;- border-bottom: 3px solid #ddd;- color: #666;- line-height: 25px;- vertical-align: middle;- border-radius: 5px;-}- option {- padding:0 .5em 0 .5em;- }- input[type="radio"],- input[type="checkbox"] {- width: 15px !important;- min-height: 15px !important;- }- input:focus, select:focus, textarea:focus {- color: #333;- border-color: #2980b9;- }- input:invalid, select:invalid {- border-color: red;- box-shadow: 0 0 2px 1px red;- }- input:focus.extend {- width: 300px;- transition: width 200ms linear;- }--.form-group {- margin: 5px 0;- border: 1px solid transparent;-}- .form-group:after {- content: "";- display: block;- clear: both;- }- .form-group:hover {- background: #fff;- border: 1px solid #eee;- border-radius: 3px;- }- .form-group.form-actions {- min-width: 250px;- margin: 20px 0;- padding: 5px 0;- background: #ecf0f1;- border-top: 3px solid #bdc3c7;- border-radius: 5px 5px 0 0;- }- .form-group.form-actions .btn {- margin: 0 10px;- }- .form-group .group-name {- display: block;- float: left;- width: 200px;- padding: 10px 0;- text-align: right;- }- .form-group .group-controls {- min-width: 250px;- min-height: 25px;- margin: 0 0 0 220px;- padding: 5px 0;- }- .form-group .group-controls label {- font-weight: normal;- font-size: 14px;- color: #000;- }- .form-group .group-controls .control {- display: block;- min-height: 30px;- padding: 5px 0;- line-height: 25px;- font-size: 14px;- }--.stick {- display: inline-block;- white-space: nowrap;- font-size: 0px;- vertical-align: middle;-}- .stick .btn,- .stick input {- font-size: 14px;- border-radius: 0;- }- .stick .btn:first-child,- .stick input:first-child {- border-radius: 5px 0 0 5px;- }- .stick .btn:last-child,- .stick input:last-child,- .stick .btn + .dropdown > .btn {- border-radius: 0 5px 5px 0;- }- .stick .btn + .dropdown a {- font-size: 12px;- }--.btn {- display: inline-block;- min-height: 38px;- min-width: 18px;- padding: 5px 10px;- background: #3498db;- border-radius: 5px;- border: none;- border-bottom: 3px solid #2980b9;- color: #fff;- line-height: 20px;- vertical-align: middle;- cursor: pointer;- overflow: hidden;-}- a.btn {- min-height: 25px;- line-height: 25px;- }- .btn.active,- .btn:active,- .btn:hover,- .dropdown-target:target ~ .btn.dropdown-toggle {- background: #2980b9;- text-decoration: none;- }-- .btn-important {- background: #e67e22;- color: #fff;- border-bottom: 3px solid #d35400;- }- .btn-important:active,- .btn-important:hover {- background: #d35400;- }-- .btn-attention {- background: #e74c3c;- color: #fff;- border-bottom: 3px solid #c0392b;- }- .btn-attention:hover,- .btn-attention:active {- background: #c0392b;- }--/* NAVIGATION */-.nav-list {- border-right: 1px solid #ecf0f1;-}-.nav-list .nav-header,-.nav-list .item {- display: block;- height: 35px;- line-height: 35px;- margin: 5px 0;-}- .nav-list .item:hover,- .nav-list .item.active {- background: #2980b9;- color: #fff;- }- .nav-list .item:hover a,- .nav-list .item.active a {- color: #fff;- }- .nav-list .disable {- color: #aaa;- background: #fafafa;- text-align: center;- }- .nav-list .item > * {- display: block;- padding: 0 10px;- overflow: hidden;- white-space: nowrap;- text-overflow: ellipsis;- }- .nav-list a:hover {- text-decoration: none;- }- .nav-list .item.error a {- color: #BD362F;- }- .nav-list .item:hover.error a,- .nav-list .item.active.error a {- color: #fff;- background: #BD362F;- }- .nav-list .item.empty a {- color: #f39c12;- }- .nav-list .item:hover.empty a,- .nav-list .item.active.empty a {- color: #fff;- background: #f39c12;- }-- .nav-list .nav-header {- padding: 0 10px;- margin: 0;- color: #fff;- background: #34495e;- font-weight: bold;- }- .nav-list .separator {- display: block;- height: 0;- margin: 5px 0;- border-bottom: 1px solid #ddd;- }-- .nav-list .nav-form {- padding: 3px;- text-align: center;- }--.nav-head {- display: block;- margin: 0;- background: #34495e;- color: #fff;- text-align: right;-}- .nav-head a {- color: #fff;- }- .nav-head .item {- display: inline-block;- padding: 5px 10px;- }--/* HORIZONTAL-LIST */-.horizontal-list {- display: table;- table-layout: fixed;- margin: 0;- padding: 0;- width: 100%;-}- .horizontal-list .item {- display: table-cell;- vertical-align: middle;- }--/* DROPDOWN */-.dropdown {- position: relative;- display: inline-block;-}- .dropdown-target {- display: none;- }-- .dropdown-menu {- display: none;- min-width: 200px;- margin: 5px 0 0;- padding: 5px 0;- position: absolute;- right: 0px;- background: #fff;- border: 1px solid #95a5a6;- border-radius: 3px;- text-align: left;- }- .dropdown-menu:after {- content: "";- position: absolute;- top: -6px;- right: 13px;- width: 10px;- height: 10px;- background: #fff;- border-top: 1px solid #95a5a6;- border-left: 1px solid #95a5a6;- z-index: -10;- transform: rotate(45deg);- }- .dropdown-header {- display: block;- padding: 0 5px;- color: #34495e;- font-weight: bold;- font-size: 14px;- line-height: 30px;- }- .dropdown-menu > .item {- display: block;- height: 30px;- font-size: 90%;- line-height: 30px;- }- .dropdown-menu > .item > a {- display: block;- padding: 0 25px;- line-height: 30px;- }- .dropdown-menu > .item.share > a {- display: list-item;- list-style-position:inside;- list-style-type:decimal;- }- .dropdown-menu > .item:hover > a {- background: #2980b9;- color: #fff;- }- .dropdown-menu > .item:hover > a {- color: #fff;- text-decoration: none;- }- .dropdown-menu .input {- display: block;- height: 40px;- font-size: 90%;- line-height: 30px;- }- .dropdown-menu label {- font-weight: normal;- }- .dropdown-menu .input select,- .dropdown-menu .input input {- display: block;- height: 20px;- width: 95%;- margin: auto;- padding: 2px 5px;- border-radius: 3px;- }- .dropdown-menu .input select {- width: 70%;- height: auto;- }- .dropdown-menu .separator {- display: block;- height: 0;- margin: 5px 0;- border-bottom: 1px solid #95a5a6;- }- .dropdown-target:target ~ .dropdown-menu {- display: block;- z-index: 10;- }- .dropdown-close {- display: inline;- }- .dropdown-close a {- font-size: 0;- position: fixed;- top: 0; bottom: 0;- left: 0; right: 0;- display: block;- z-index: -10;- }--/* ALERTS */-.alert {- display: block;- width: 90%;- margin: 15px auto;- padding: 10px 15px;- background: #f4f4f4;- border: 1px solid #ccc;- border-right: 1px solid #aaa;- border-bottom: 1px solid #aaa;- border-radius: 5px;- color: #aaa;- text-shadow: 0 0 1px #eee;-}- .alert-head {- margin: 0;- font-weight: bold;- font-size: 110%;- }- .alert > a {- color: inherit;- text-decoration: underline;- }- .alert-warn {- background: #ffe;- border: 1px solid #eeb;- color: #c95;- }- .alert-success {- background: #dfd;- border: 1px solid #cec;- color: #484;- }- .alert-error {- background: #fdd;- border: 1px solid #ecc;- color: #844;- }--/* ICÔNES */-.icon {- display: inline-block;- width: 16px;- height: 16px;- vertical-align: middle;- line-height: 16px;-}--/* Prompt (centré) */-.prompt {- text-align: center;-}- .prompt label {- text-align: left;- }- .prompt form {- margin: 1em auto 2.5em auto;- width: 10em;- }- .prompt input {- margin: .4em auto 1.1em auto;- width: 100%;- }- .prompt p {- margin: 20px 0;- }diff --git a/p/themes/Flat/icons/key.svg b/p/themes/Flat/icons/key.svgnew file mode 100644index 000000000..77d0218e5--- /dev/null+++ b/p/themes/Flat/icons/key.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg">+<g transform="translate(-340.99994,-257)" fill="#ffffff">+<path style="block-progression:tb;color:#000000;direction:ltr;text-indent:0;text-align:start;enable-background:accumulate;text-transform:none;" d="m346,260c-2.7496,0-5,2.2504-5,5s2.2504,5,5,5c1.5862,0,2.9034-0.84459,3.8125-2h4.8438,0.75l0.21875-0.75,1.0312-4,0.3125-1.25h-1.2812-5.875c-0.90914-1.1554-2.2263-2-3.8125-2zm0,2c1.1158,0,2.0379,0.59507,2.5625,1.5l0.3125,0.5h0.5625,4.9688l-0.53125,2h-4.4375-0.5625l-0.3125,0.5c-0.52462,0.90493-1.4466,1.5-2.5625,1.5-1.6687,0-3-1.3313-3-3s1.3313-3,3-3z"/>+<path opacity="0.35" style="enable-background:accumulate;color:#000000;" d="M355.5,265,350,265,349.44,267,355,267z" fill-rule="nonzero"/>+<path style="enable-background:accumulate;color:#000000;" d="m346,265c0,0.55228-0.44772,1-1,1s-1-0.44772-1-1,0.44772-1,1-1,1,0.44772,1,1z" fill-rule="nonzero"/>+</g>+</svg>diff --git a/p/themes/Flat/metadata.json b/p/themes/Flat/metadata.jsonindex 6b94d11c2..182c82470 100644--- a/p/themes/Flat/metadata.json+++ b/p/themes/Flat/metadata.json@@ -2,6 +2,6 @@"name": "Flat design","author": "Marien Fressinaud","description": "Thème plat pour FreshRSS",- "version": 0.1,- "files": ["global.css", "freshrss.css"]+ "version": 0.2,+ "files": ["template.css", "flat.css"]}\ No newline at end of filediff --git a/p/themes/Flat/template.css b/p/themes/Flat/template.cssnew file mode 100644index 000000000..09ecaf685--- /dev/null+++ b/p/themes/Flat/template.css@@ -0,0 +1,695 @@+@charset "UTF-8";++/*=== GENERAL */+/*============*/+html, body {+ margin: 0;+ padding: 0;+ font-size: 100%;+}++/*=== Links */+a {+ text-decoration: none;+}+a:hover {+ text-decoration: underline;+}++/*=== Lists */+ul, ol, dd {+ margin: 0;+ padding: 0;+}++/*=== Titles */+h1 {+ margin: 0.6em 0 0.3em;+ font-size: 1.5em;+ line-height: 1.6em;+}+h2 {+ margin: 0.5em 0 0.25em;+ font-size: 1.3em;+ line-height: 2em;+}+h3 {+ margin: 0.5em 0 0.25em;+ font-size: 1.1em;+ line-height: 2em;+}++/*=== Paragraphs */+p {+ margin: 1em 0 0.5em;+ font-size: 1em;+}++/*=== Images */+img {+ height: auto;+ max-width: 100%;+}+img.favicon {+ height: 16px;+ width: 16px;+ vertical-align: middle;+}++/*=== Videos */+iframe, embed, object, video {+ max-width: 100%;+}++/*=== Forms */+legend {+ display: block;+ width: 100%;+ clear: both;+}+label {+ display: block;+}+input {+ width: 180px;+}+textarea {+ width: 300px;+}+input, select, textarea {+ display: inline-block;+ max-width: 100%;+}+input[type="radio"],+input[type="checkbox"] {+ width: 15px !important;+ min-height: 15px !important;+}+input.extend:focus {+ width: 300px;+}++/*=== COMPONENTS */+/*===============*/+/*=== Forms */+.form-group:after {+ content: "";+ display: block;+ clear: both;+}+.form-group.form-actions {+ min-width: 250px;+}+.form-group .group-name {+ display: block;+ float: left;+ width: 200px;+}+.form-group .group-controls {+ min-width: 250px;+ margin: 0 0 0 220px;+}+.form-group .group-controls .control {+ display: block;+}++/*=== Buttons */+.stick {+ display: inline-block;+ white-space: nowrap;+}+.btn,+a.btn {+ display: inline-block;+ cursor: pointer;+ overflow: hidden;+}+.btn-important {+ font-weight: bold;+}++/*=== Navigation */+.nav-list .nav-header,+.nav-list .item {+ display: block;+}+.nav-list .item,+.nav-list .item > a {+ display: block;+ overflow: hidden;+ white-space: nowrap;+ text-overflow: ellipsis;+}+.nav-head {+ display: block;+}+.nav-head .item {+ display: inline-block;+}++/*=== Horizontal-list */+.horizontal-list {+ display: table;+ table-layout: fixed;+ width: 100%;+}+.horizontal-list .item {+ display: table-cell;+}++/*=== Dropdown */+.dropdown {+ position: relative;+ display: inline-block;+}+.dropdown-target {+ display: none;+}+.dropdown-menu {+ display: none;+ min-width: 200px;+ margin: 0;+ position: absolute;+ right: 0;+ background: #fff;+ border: 1px solid #aaa;+}+.dropdown-header {+ display: block;+}+.dropdown-menu > .item {+ display: block;+}+.dropdown-menu > .item > a,+.dropdown-menu > .item > span {+ display: block;+}+.dropdown-menu > .item[aria-checked="true"] > a:before {+ content: '✓';+}+.dropdown-menu .input {+ display: block;+}+.dropdown-menu .input select,+.dropdown-menu .input input {+ display: block;+ max-width: 95%;+}+.dropdown-target:target ~ .dropdown-menu {+ display: block;+ z-index: 10;+}+.dropdown-close {+ display: inline;+}+.dropdown-close a {+ font-size: 0;+ position: fixed;+ top: 0; bottom: 0;+ left: 0; right: 0;+ display: block;+ z-index: -10;+}+.separator {+ display: block;+ height: 0;+ border-bottom: 1px solid #aaa;+}++/*=== Alerts */+.alert {+ display: block;+ width: 90%;+}+.group-controls .alert {+ width: 100%+}+.alert-head {+ margin: 0;+ font-weight: bold;+}+.alert ul {+ margin: 5px 20px;+}++/*=== Icons */+.icon {+ display: inline-block;+ width: 16px;+ height: 16px;+ vertical-align: middle;+ line-height: 16px;+}++/*=== Pagination */+.pagination {+ display: table;+ width: 100%;+ margin: 0;+ padding: 0;+ table-layout: fixed;+}+.pagination .item {+ display: table-cell;+}+.pagination .pager-first,+.pagination .pager-previous,+.pagination .pager-next,+.pagination .pager-last {+ width: 100px;+}++/*=== STRUCTURE */+/*===============*/+/*=== Header */+.header {+ display: table;+ width: 100%;+ table-layout: fixed;+}+.header > .item {+ display: table-cell;+}+.header > .item.title {+ width: 250px;+ white-space: nowrap;+}+.header > .item.title h1 {+ display: inline-block;+}+.header > .item.title .logo {+ display: inline-block;+ height: 32px;+ width: 32px;+ vertical-align: middle;+}+.header > .item.configure {+ width: 100px;+}++/*=== Body */+#global {+ display: table;+ width: 100%;+ height: 100%;+ table-layout: fixed;+}+.aside {+ display: table-cell;+ height: 100%;+ width: 250px;+ vertical-align: top;+}+.aside.aside_flux {+ background: #fff;+}++/*=== Aside main page (categories) */+.categories {+ list-style: none;+ margin: 0;+}+.category {+ display: block;+ overflow: hidden;+ white-space: nowrap;+ text-overflow: ellipsis;+}+.category .btn:not([data-unread="0"]):after {+ content: attr(data-unread);+}++/*=== Aside main page (feeds) */+.categories .feeds {+ width: 100%;+ list-style: none;+}+.categories .feeds:not(.active) {+ display: none;+}+.categories .feeds .feed {+ display: inline-block;+ overflow: hidden;+ white-space: nowrap;+ text-overflow: ellipsis;+ vertical-align: middle;+}+.categories .feeds .feed:not([data-unread="0"]):before {+ content: "(" attr(data-unread) ") ";+}+.categories .feeds .dropdown-menu {+ left: 0;+}+.categories .feeds .item .dropdown-toggle > .icon {+ visibility: hidden;+ cursor: pointer;+ vertical-align: top;+}+.categories .feeds .item .dropdown-target:target ~ .dropdown-toggle > .icon,+.categories .feeds .item:hover .dropdown-toggle > .icon,+.categories .feeds .item.active .dropdown-toggle > .icon {+ visibility: visible;+}++/*=== New article notification */+#new-article {+ display: none;+}+#new-article > a {+ display: block;+}++/*=== Day indication */+.day .name {+ position: absolute;+ right: 0;+ width: 50%;+ overflow: hidden;+ white-space: nowrap;+ text-overflow: ellipsis;+}++/*=== Feed article header and footer */+.flux_header {+ position: relative;+}+.flux .item {+ line-height: 40px;+ white-space: nowrap;+}+.flux .item.manage,+.flux .item.link {+ width: 40px;+ text-align: center;+}+.flux .item.website {+ width: 200px;+}+.flux.not_read .item.title,+.flux.current .item.title {+ font-weight: bold;+}+.flux:not(.current):hover .item.title {+ position: absolute;+ max-width: calc(100% - 320px);+ background: #fff;+}+.flux .item.title a {+ color: #000;+ text-decoration: none;+}+.flux .item.date {+ width: 145px;+ text-align: right;+}+.flux .item > a {+ display: block;+}+.flux .item > a {+ display: block;+ text-decoration: none;+ white-space: nowrap;+ text-overflow: ellipsis;+ overflow: hidden;+}+.flux .item.share > a {+ display: list-item;+ list-style-position: inside;+ list-style-type: decimal;+}++/*=== Feed article content */+.hide_posts > .flux:not(.active) > .flux_content {+ display: none;+}+.content {+ min-height: 20em;+ margin: auto;+ line-height: 1.7em;+ word-wrap: break-word;+}+.content.large {+ max-width: 1000px;+}+.content.medium {+ max-width: 800px;+}+.content.thin {+ max-width: 550px;+}+.content ul,+.content ol,+.content dd {+ margin: 0 0 0 15px;+ padding: 0 0 5px 15px;+}+.content pre {+ overflow: auto;+}++/*=== Notification and actualize notification */+.notification {+ position: absolute;+ top: 1em;+ left: 25%; right: 25%;+ z-index: 10;+ background: #fff;+ border: 1px solid #aaa;+}+.notification.closed {+ display: none;+}+.notification a.close {+ position: absolute;+ top: 0; bottom: 0;+ right: 0;+ display: inline-block;+}++#actualizeProgress {+ position: fixed;+}+#actualizeProgress progress {+ max-width: 100%;+ vertical-align: middle;+}+#actualizeProgress .progress {+ vertical-align: middle;+}++/*=== Navigation menu (for articles) */+#nav_entries {+ position: fixed;+ bottom: 0; left: 0;+ display: table;+ width: 250px;+ background: #fff;+ table-layout: fixed;+}+#nav_entries .item {+ display: table-cell;+ width: 30%;+}+#nav_entries a {+ display: block;+}++/*=== "Load more" part */+#load_more {+ min-height: 40px;+}+.loading {+ background: url("loader.gif") center center no-repeat;+ font-size: 0;+}+#bigMarkAsRead {+ display: block;+ padding: 3em 0;+ text-align: center;+}+.bigTick {+ font-size: 7em;+ line-height: 1.6em;+}++/*=== Statistiques */+.stat > table {+ width: 100%;+}++/*=== GLOBAL VIEW */+/*================*/+/*=== Category boxes */+#stream.global .box-category {+ display: inline-block;+ width: 19em;+ max-width: 95%;+ margin: 20px 10px;+ border: 1px solid #ccc;+ vertical-align: top;+}+#stream.global .category {+ width: 100%;+}+#stream.global .btn {+ display: block;+}+#stream.global .box-category .feeds {+ display: block;+ overflow: auto;+}+#stream.global .box-category .feed {+ width: 19em;+ max-width: 90%;+}++/*=== Panel */+#overlay {+ display: none;+ position: fixed;+ top: 0; bottom: 0;+ left: 0; right: 0;+ background: rgba(0, 0, 0, 0.9);+}+#panel {+ display: none;+ position: fixed;+ top: 1em; bottom: 1em;+ left: 2em; right: 2em;+ overflow: auto;+ background: #fff;+}+#panel .close {+ position: fixed;+ top: 0; bottom: 0;+ left: 0; right: 0;+ display: block;+}+#panel .close img {+ display: none;+}++/*=== DIVERS */+/*===========*/+.nav-login,+.nav_menu .search,+.nav_menu .toggle_aside {+ display: none;+}++.aside .toggle_aside {+ position: absolute;+ right: 0;+ display: none;+ width: 30px;+ height: 30px;+ line-height: 30px;+ text-align: center;+}++/*=== MOBILE */+/*===========*/+@media(max-width: 840px) {+ .header,+ .aside .btn-important,+ .aside .feeds .dropdown,+ .flux_header .item.website span,+ .item.date, .day .date,+ .dropdown-menu > .no-mobile,+ .no-mobile {+ display: none;+ }+ .nav-login {+ display: block;+ }+ .nav_menu .toggle_aside,+ .aside .toggle_aside,+ .nav_menu .search,+ #panel .close img {+ display: inline-block;+ }++ .aside {+ position: fixed;+ top: 0; bottom: 0;+ left: 0;+ width: 0;+ overflow: hidden;+ z-index: 100;+ }+ .aside:target {+ width: 90%;+ overflow: auto;+ }+ .aside .categories {+ margin: 10px 0 75px;+ }++ .flux_header .item.website {+ width: 40px;+ }++ .flux:not(.current):hover .item.title {+ position: relative;+ width: auto;+ white-space: nowrap;+ }++ .notification {+ top: 0;+ left: 0;+ right: 0;+ }++ #nav_entries {+ width: 100%;+ }++ #stream.global .box-category {+ margin: 10px 0;+ }++ #panel {+ top: 0; bottom: 0;+ left: 0; right: 0;+ }+ #panel .close {+ top: 0; right: 0;+ left: auto; bottom: auto;+ display: inline-block;+ width: 30px;+ height: 30px;+ }+}++/*=== PRINTER */+/*============*/+@media print {+ .header, .aside,+ .nav_menu, .day,+ .flux_header,+ .flux_content .bottom,+ .pagination,+ #nav_entries {+ display: none;+ }+ html, body {+ background: #fff;+ color: #000;+ font-family: Serif;+ }+ #global,+ .flux_content {+ display: block !important;+ }+ .flux_content .content {+ width: 100% !important;+ }+ .flux_content .content a {+ color: #000;+ }+ .flux_content .content a:after {+ content: " [" attr(href) "] ";+ font-style: italic;+ }+}diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.cssindex cd40dc509..99463cdef 100644--- a/p/themes/Origine/origine.css+++ b/p/themes/Origine/origine.css@@ -16,6 +16,7 @@ html, body {/*=== Links */a {color: #0062be;+ outline: none;}/*=== Forms */@@ -498,7 +499,7 @@ a.btn {background: #fff;}.aside.aside_flux {- padding: 10px 0 40px;+ padding: 10px 0 50px;}/*=== Aside main page (categories) */@@ -924,7 +925,7 @@ a.btn {padding: 5px 10px;background: #fafafa;color: #333;- font-size: 90%;+ font-size: 0.8rem;}.log+.log {border-top: 1px solid #aaa;