aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-06-03 20:19:32 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-06-03 20:19:32 +0200
commit1fdd76bc1d00f67899f32d5f7edc98218ce3d0b9 (patch)
treeb16946f7dfbe46314d6d395481a47ac29692e469
parentd7ba16a39b0c14404139bc6235fd2076e5d2a4c5 (diff)
Add theme Origine2
- Based on the new template - Should remplace Origine later - It is still not finished, there are a lot to do
-rw-r--r--p/themes/Origine2/loader.gifbin0 -> 4167 bytes
-rw-r--r--p/themes/Origine2/metadata.json7
-rw-r--r--p/themes/Origine2/origine.css724
-rw-r--r--p/themes/Origine2/template.css662
4 files changed, 1393 insertions, 0 deletions
diff --git a/p/themes/Origine2/loader.gif b/p/themes/Origine2/loader.gif
new file mode 100644
index 000000000..5ff26f0e3
--- /dev/null
+++ b/p/themes/Origine2/loader.gif
Binary files differ
diff --git a/p/themes/Origine2/metadata.json b/p/themes/Origine2/metadata.json
new file mode 100644
index 000000000..a6e17fb9f
--- /dev/null
+++ b/p/themes/Origine2/metadata.json
@@ -0,0 +1,7 @@
+{
+ "name": "Origine2",
+ "author": "Marien Fressinaud",
+ "description": "Le thème par défaut pour FreshRSS",
+ "version": 0.1,
+ "files": ["template.css", "origine.css"]
+}
diff --git a/p/themes/Origine2/origine.css b/p/themes/Origine2/origine.css
new file mode 100644
index 000000000..814689502
--- /dev/null
+++ b/p/themes/Origine2/origine.css
@@ -0,0 +1,724 @@
+@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;
+}
+
+/*=== Links */
+a {
+ color: #0062be;
+}
+
+/*=== Forms */
+legend {
+ margin: 20px 0 5px;
+ padding: 5px 0;
+ border-bottom: 1px solid #ddd;
+ font-size: 1.4em;
+}
+label {
+ min-height: 25px;
+ padding: 5px 0;
+ cursor: pointer;
+}
+textarea {
+ width: 360px;
+ height: 100px;
+}
+input, select, textarea {
+ min-height: 25px;
+ padding: 5px;
+ background: #fdfdfd;
+ border: 1px solid #bbb;
+ border-radius: 3px;
+ color: #666;
+ vertical-align: top;
+ box-shadow: 0 2px 2px #eee inset;
+}
+option {
+ padding: 0 .5em;
+}
+input:focus, select:focus, textarea:focus {
+ color: #0062be;
+ border-color: #33bbff;
+ box-shadow: 0 2px 2px #ddddff inset;
+}
+input:invalid, select:invalid {
+ border-color: #f00;
+ box-shadow: 0 0 2px 2px #fdd inset;
+}
+input:disabled, select:disabled {
+ background: #eee;
+}
+input:focus.extend {
+ width: 300px;
+ transition: width 200ms linear;
+ -moz-transition: width 200ms linear;
+ -webkit-transition: width 200ms linear;
+ -o-transition: width 200ms linear;
+ -ms-transition: width 200ms linear;
+}
+
+/*=== COMPONENTS */
+/*===============*/
+/*=== Forms */
+.form-group.form-actions {
+ padding: 5px 0;
+ background: #f4f4f4;
+ border-top: 1px solid #ddd;
+}
+.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 {
+ min-height: 30px;
+ padding: 5px 0;
+ line-height: 25px;
+ font-size: 14px;
+}
+
+/*=== Buttons */
+.stick {
+ font-size: 0px;
+ vertical-align: middle;
+}
+.stick input,
+.stick .btn {
+ border-radius: 0;
+ font-size: 0.9rem;
+}
+.stick .btn:first-child,
+.stick input:first-child {
+ border-radius: 3px 0 0 3px;
+}
+.stick .btn-important:first-child {
+ border-right: 1px solid #06f;
+}
+.stick .btn:last-child,
+.stick input:last-child {
+ border-radius: 0 3px 3px 0;
+}
+.stick .btn + .btn,
+.stick .btn + input,
+.stick .btn + .dropdown > .btn,
+.stick input + .btn,
+.stick input + input,
+.stick input + .dropdown > .btn,
+.stick .dropdown + .btn,
+.stick .dropdown + input,
+.stick .dropdown + .dropdown > .btn {
+ border-left: none;
+}
+.stick input + .btn {
+ border-top: 1px solid #bbb;
+}
+.stick .btn + .dropdown > .btn {
+ border-left: none;
+ border-radius: 0 3px 3px 0;
+}
+.stick .btn + .dropdown a {
+ font-size: 0.9rem;
+}
+
+.btn {
+ display: inline-block;
+ min-height: 37px;
+ min-width: 15px;
+ padding: 5px 10px;
+ background: #fff;
+ background: linear-gradient(to bottom, #fff 0%, #eee 100%);
+ background: -moz-linear-gradient(top, #fff 0%, #eee 100%);
+ background: -webkit-linear-gradient(top, #fff 0%, #eee 100%);
+ background: -o-linear-gradient(top, #fff 0%, #eee 100%);
+ background: -ms-linear-gradient(top, #fff 0%, #eee 100%);
+ border-radius: 3px;
+ border: 1px solid #ddd;
+ border-bottom: 1px solid #aaa;
+ border-right: 1px solid #aaa;
+ color: #666;
+ text-shadow: 0px -1px 0 #ddd;
+ vertical-align: middle;
+ cursor: pointer;
+ overflow: hidden;
+}
+a.btn {
+ min-height: 25px;
+ line-height: 25px;
+}
+.btn:hover {
+ background: #f0f0f0;
+ background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
+ background: -moz-linear-gradient(top, #f8f8f8 0%, #f0f0f0 100%);
+ background: -webkit-linear-gradient(top, #f8f8f8 0%, #f0f0f0 100%);
+ background: -o-linear-gradient(top, #f8f8f8 0%, #f0f0f0 100%);
+ background: -ms-linear-gradient(top, #f8f8f8 0%, #f0f0f0 100%);
+ text-decoration: none;
+}
+.btn.active,
+.btn:active,
+.dropdown-target:target ~ .btn.dropdown-toggle {
+ box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
+ background: #eee;
+}
+
+.btn-important {
+ background: #0084CC;
+ background: linear-gradient(to bottom, #0084CC, #0045CC);
+ background: -moz-linear-gradient(top, #0084CC 0%, #0045CC 100%);
+ background: -webkit-linear-gradient(top, #0084CC 0%, #0045CC 100%);
+ background: -o-linear-gradient(top, #0084CC 0%, #0045CC 100%);
+ background: -ms-linear-gradient(top, #0084CC 0%, #0045CC 100%);
+ color: #fff;
+ border: 1px solid #0062B7;
+ text-shadow: 0px -1px 0 #aaa;
+ font-weight: normal;
+}
+.btn-important:hover {
+ background: linear-gradient(to bottom, #0066CC, #0045CC);
+ background: -moz-linear-gradient(top, #0066CC 0%, #0045CC 100%);
+ background: -webkit-linear-gradient(top, #0066CC 0%, #0045CC 100%);
+ background: -o-linear-gradient(top, #0066CC 0%, #0045CC 100%);
+ background: -ms-linear-gradient(top, #0066CC 0%, #0045CC 100%);
+}
+.btn-important:active {
+ background: #0044CB;
+ box-shadow: none;
+}
+
+.btn-attention {
+ background: #E95B57;
+ background: linear-gradient(to bottom, #E95B57, #BD362F);
+ background: -moz-linear-gradient(top, #E95B57 0%, #BD362F 100%);
+ background: -webkit-linear-gradient(top, #E95B57 0%, #BD362F 100%);
+ background: -o-linear-gradient(top, #E95B57 0%, #BD362F 100%);
+ background: -ms-linear-gradient(top, #E95B57 0%, #BD362F 100%);
+ color: #fff;
+ border: 1px solid #C44742;
+ text-shadow: 0px -1px 0px #666;
+}
+.btn-attention:hover {
+ background: linear-gradient(to bottom, #D14641, #BD362F);
+ background: -moz-linear-gradient(top, #D14641 0%, #BD362F 100%);
+ background: -webkit-linear-gradient(top, #D14641 0%, #BD362F 100%);
+ background: -o-linear-gradient(top, #D14641 0%, #BD362F 100%);
+ background: -ms-linear-gradient(top, #D14641 0%, #BD362F 100%);
+}
+.btn-attention:active {
+ background: #BD362F;
+ box-shadow: none;
+}
+
+/*=== Navigation */
+.nav-list .nav-header,
+.nav-list .item {
+ height: 2.5em;
+ line-height: 2.5em;
+}
+.nav-list .item:hover {
+ background: #fafafa;
+}
+.nav-list .item:hover a {
+ color: #003388;
+}
+.nav-list .item.active {
+ background: #0062BE;
+ color: #fff;
+}
+.nav-list .item.active a {
+ color: #fff;
+}
+.nav-list .disable {
+ color: #aaa;
+ background: #fafafa;
+ text-align: center;
+}
+.nav-list .item > a {
+ padding: 0 10px;
+}
+.nav-list a:hover {
+ text-decoration: none;
+}
+.nav-list .item.error a {
+ color: #BD362F;
+}
+.nav-list .item.active.error a {
+ color: #fff;
+ background: #BD362F;
+}
+.nav-list .item.empty a {
+ color: #f39c12;
+}
+.nav-list .item.active.empty a {
+ color: #fff;
+ background: #f39c12;
+}
+
+.nav-list .nav-header {
+ padding: 0 10px;
+ color: #888;
+ background: #f4f4f4;
+ border-bottom: 1px solid #ddd;
+ font-weight: bold;
+ text-shadow: 0 0 1px #ddd;
+}
+
+.nav-list .nav-form {
+ padding: 3px;
+ text-align: center;
+}
+
+.nav-head {
+ margin: 0;
+ background: #fff;
+ background: linear-gradient(to bottom, #fff, #f0f0f0);
+ background: -moz-linear-gradient(top, #fff 0%, #f0f0f0 100%);
+ background: -webkit-linear-gradient(top, #fff 0%, #f0f0f0 100%);
+ background: -o-linear-gradient(top, #fff 0%, #f0f0f0 100%);
+ background: -ms-linear-gradient(top, #fff 0%, #f0f0f0 100%);
+ border-bottom: 1px solid #ddd;
+ text-align: right;
+}
+.nav-head .item {
+ padding: 5px 10px;
+}
+
+/*=== Horizontal-list */
+.horizontal-list {
+ margin: 0;
+ padding: 0;
+}
+.horizontal-list .item {
+ vertical-align: middle;
+}
+
+/*=== Dropdown */
+.dropdown-menu {
+ margin: 5px 0 0;
+ padding: 5px 0;
+ border: 1px solid #ddd;
+ border-radius: 5px;
+ box-shadow: 3px 3px 3px #ddd;
+ text-align: left;
+}
+.dropdown-menu:after {
+ content: "";
+ position: absolute;
+ top: -6px;
+ right: 13px;
+ width: 10px;
+ height: 10px;
+ background: #fff;
+ border-top: 1px solid #ddd;
+ border-left: 1px solid #ddd;
+ z-index: -10;
+ transform: rotate(45deg);
+ -moz-transform: rotate(45deg);
+ -webkit-transform: rotate(45deg);
+ -ms-transform: rotate(45deg);
+}
+.dropdown-header {
+ padding: 0 5px 5px;
+ color: #888;
+ font-weight: bold;
+ font-size: 0.9rem;
+ text-align: left;
+}
+.dropdown-menu > .item {
+ font-size: 0.9em;
+}
+.dropdown-menu > .item > a {
+ padding: 0 25px;
+ line-height: 2.5em;
+}
+.dropdown-menu > .item:hover {
+ background: #0062BE;
+ color: #fff;
+}
+.dropdown-menu > .item[aria-checked="true"] > a:before {
+ font-weight: bold;
+ margin: 0 0 0 -14px;
+}
+.dropdown-menu > .item:hover > a {
+ color: #fff;
+ text-decoration: none;
+}
+.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;
+ 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;
+ font-size: 0.9em;
+}
+.alert-head {
+ font-size: 1.2em;
+}
+.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;
+}
+
+/*=== Pagination */
+.pagination {
+ margin: 0;
+ background: #fafafa;
+ text-align: center;
+ color: #333;
+ font-size: 0.8em;
+}
+.pagination .item.pager-current {
+ font-weight: bold;
+ font-size: 1.5em;
+}
+.pagination .item a {
+ display: block;
+ color: #333;
+ font-style: italic;
+ line-height: 3em;
+}
+.pagination:first-child .item {
+ border-bottom: 1px solid #aaa;
+}
+.pagination:last-child .item {
+ border-top: 1px solid #aaa;
+}
+
+/*=== STRUCTURE */
+/*===============*/
+/*=== Header */
+.header {
+ background: #f4f4f4;
+}
+.header > .item {
+ padding: 10px 0;
+ border-bottom: 1px solid #aaa;
+ vertical-align: middle;
+ text-align: center;
+}
+.header > .item.title h1 {
+ text-shadow: 1px -1px 0 #ccc;
+}
+.header > .item.title h1 a {
+ text-decoration: none;
+}
+.header > .item.search input {
+ width: 230px;
+}
+.header .item.search input:focus {
+ width: 350px;
+}
+
+/*=== Body */
+#global {
+ background: #fafafa;
+}
+.aside {
+ border-right: 1px solid #aaa;
+ background: #fff;
+}
+.aside.aside_flux {
+ padding: 10px 0 40px;
+}
+
+/*=== Aside main page (categories) */
+.categories {
+ text-align: center;
+}
+.category {
+ width: 220px;
+ margin: 10px auto;
+ text-align: left;
+}
+.category .btn:first-child {
+ position: relative;
+ width: 197px;
+}
+.category.stick .btn:first-child {
+ width: 160px;
+}
+.category .btn:first-child:not([data-unread="0"]):after {
+ position: absolute;
+ top: 3px; right: 3px;
+ padding: 1px 5px;
+ background: #ccc;
+ color: #fff;
+ font-size: 0.9em;
+ border: 1px solid #bbb;
+ border-radius: 5px;
+ box-shadow: 1px 3px 3px #aaa inset;
+ text-shadow: 0 0 1px #aaa;
+}
+
+/*=== Aside main page (feeds) */
+.categories .feeds .item.active {
+ background: #0062BE;
+}
+.categories .feeds .item.active .feed {
+ color: #fff;
+}
+.categories .feeds .item.empty .feed {
+ color: #e67e22;
+}
+.categories .feeds .item.empty.active {
+ background: #e67e22;
+}
+.categories .feeds .item.empty.active .feed {
+ color: #fff;
+}
+.categories .feeds .item.error .feed {
+ color: #BD362F;
+}
+.categories .feeds .item .feed {
+ margin: 0;
+ width: 165px;
+ line-height: 3em;
+ font-size: 0.9em;
+ text-align: left;
+}
+.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 {
+ background-color: #fff;
+ border-radius: 3px;
+ vertical-align: middle;
+}
+
+/*=== Configuration pages */
+.post {
+ padding: 10px 50px;
+ font-size: 0.9em;
+}
+.post form {
+ margin: 10px 0;
+}
+
+/*=== 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 {
+ background: #0084CC;
+ text-align: center;
+ font-size: 0.9em;
+}
+#new-article:hover {
+ background: #0066CC;
+}
+#new-article > a {
+ line-height: 3em;
+ color: #fff;
+ font-weight: bold;
+}
+#new-article > a:hover {
+ text-decoration: none;
+}
+
+/*=== Day indication */
+.day {
+ padding: 0 10px;
+ font-weight: bold;
+ line-height: 3em;
+ background: #fff;
+ border-top: 1px solid #aaa;
+ border-bottom: 1px solid #aaa;
+}
+#new-article + .day {
+ border-top: none;
+}
+.day .name {
+ padding: 0 10px 0 0;
+ color: #aab;
+ font-size: 1.8em;
+ opacity: 0.3;
+ text-shadow: 0px -1px 0px #666;
+ font-style: italic;
+ text-align: right;
+}
+
+/*=== Index menu */
+.nav_menu {
+ background: #fafafa;
+ border-bottom: 1px solid #aaa;
+ text-align: center;
+ padding: 5px 0;
+}
+
+/*=== Feed articles */
+.flux {
+ border-left: 2px solid #aaa;
+ background: #fafafa;
+}
+.flux:hover {
+ background: #fff;
+}
+.flux.current {
+ border-left: 2px solid #0062BE;
+}
+.flux.not_read {
+ border-left: 2px solid #FF5300;
+ background: #FFF3ED;
+}
+.flux.not_read:not(.current):hover .item.title {
+ background: #FFF3ED;
+}
+.flux.favorite {
+ border-left: 2px solid #FFC300;
+ background: #FFF6DA;
+}
+.flux.favorite:not(.current):hover .item.title {
+ background: #FFF6DA;
+}
+.flux.current {
+ background: #fff;
+}
+
+.flux_header {
+ border-top: 1px solid #ddd;
+ cursor: pointer;
+}
+.flux:not(.current):hover .item.title {
+ top: 1px;
+}
+
+/*=== Content of feed articles */
+.content {
+ padding: 20px 10px;
+}
+
+/*=== Notification and actualize notification */
+#notification {
+ padding: 0 0 0 5px;
+ text-align: center;
+ border: 1px solid #eeb;
+ border-radius: 3px;
+ box-shadow: 0 0 5px #ddd;
+ font-weight: bold;
+ font-size: 0.9em;
+ line-height: 3em;
+ z-index: 10;
+}
+#notification.good {
+ background: #ffe;
+ border: 1px solid #eeb;
+ color: #c95;
+}
+#notification.bad {
+ background: #fdd;
+ border: 1px solid #ecc;
+ color: #844;
+}
+#notification a.close {
+ padding: 0 15px;
+}
+#notification.good a.close:hover {
+ background: #eeb;
+}
+#notification.bad a.close:hover {
+ background: #ecc;
+}
+
+/*=== "Load more" part */
+#bigMarkAsRead {
+ text-align: center;
+ text-decoration: none;
+ text-shadow: 0 -1px 0 #aaa;
+}
+#bigMarkAsRead:hover {
+ background: #333;
+ color: #fff;
+}
+
+/*=== Navigation menu (for articles) */
+#nav_entries {
+ margin: 0;
+ background: #fff;
+ border-top: 1px solid #ddd;
+ text-align: center;
+ line-height: 3em;
+ table-layout: fixed;
+}
+
+
+/*=== 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;
+}
diff --git a/p/themes/Origine2/template.css b/p/themes/Origine2/template.css
new file mode 100644
index 000000000..355f1aeda
--- /dev/null
+++ b/p/themes/Origine2/template.css
@@ -0,0 +1,662 @@
+@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;
+ font-size: 0.9em;
+}
+
+/*=== Titles */
+h1 {
+ margin: 0.3em 0 0.6em;
+ font-size: 1.8em;
+}
+h2 {
+ margin: 0.25em 0 0.5em;
+ font-size: 1.6em;
+}
+h3 {
+ margin: 0.25em 0 0.5em;
+ font-size: 1.4em;
+}
+
+/*=== 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;
+ max-height: 300px;
+ margin: 0;
+ position: absolute;
+ right: 0;
+ background: #fff;
+ border: 1px solid #aaa;
+ overflow: auto;
+}
+.dropdown-header {
+ display: block;
+}
+.dropdown-menu > .item {
+ display: block;
+}
+.dropdown-menu > .item > a {
+ 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%;
+}
+.alert-head {
+ margin: 0;
+ font-weight: bold;
+}
+
+/*=== Icons */
+.icon {
+ display: inline-block;
+ width: 16px;
+ height: 16px;
+ vertical-align: middle;
+ line-height: 16px;
+}
+
+/*=== Pagination */
+.pagination {
+ display: table;
+ width: 100%;
+ 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) */
+.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 {
+ font-size: 0.9em;
+ line-height: 40px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+.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;
+ top: 0;
+ height: auto;
+ max-width: calc(100% - 320px);
+ background: #fff;
+ white-space: normal;
+ z-index: 10;
+}
+.flux .item.title a {
+ color: #000;
+ text-decoration: none;
+}
+.flux .item.date {
+ width: 145px;
+ font-size: 0.7em;
+ text-align: right;
+}
+.flux .item:not(.title) > a {
+ display: block;
+}
+.flux .flux_header .item,
+.flux .bottom .item.date {
+ 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 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;
+ right: 0;
+ display: inline-block;
+}
+
+.actualizeProgress {
+ position: fixed;
+ top: 1em;
+ left: 25%; right: 25%;
+ background: #fff;
+ border: 1px solid #aaa;
+}
+.actualizeProgress progress {
+ max-width: 100%;
+}
+
+/*=== 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: 5em 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: 20em;
+ max-width: 95%;
+ border: 1px solid #aaa;
+ vertical-align: top;
+}
+#stream.global .category {
+ width: 100%;
+}
+#stream.global .btn {
+ display: block;
+}
+#stream.global .box-category .feeds {
+ display: block;
+ overflow: auto;
+}
+
+/*=== 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 {
+ display: none;
+ }
+ .nav-login,
+ #panel .close img {
+ display: block;
+ }
+ .nav_menu .toggle_aside,
+ .aside .toggle_aside,
+ .nav_menu .search {
+ display: inline-block;
+ }
+
+ .aside {
+ position: fixed;
+ top: 0; left: 0;
+ width: 0;
+ overflow: hidden;
+ z-index: 10;
+ }
+ .aside:target {
+ width: 80%;
+ overflow: auto;
+ }
+
+ .flux_header .item.website {
+ width: 40px;
+ }
+
+ .flux:not(.current):hover .item.title {
+ position: relative;
+ width: auto;
+ white-space: nowrap;
+ }
+
+ #notification,
+ .actualizeProgress {
+ top: 0;
+ left: 0;
+ right: 0;
+ }
+
+ #nav_entries {
+ width: 100%;
+ }
+
+ #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;
+ }
+}