summaryrefslogtreecommitdiff
path: root/p/themes/Dark/dark.css
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-07-08 23:32:54 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-07-08 23:32:54 +0200
commit61decd4528df572d042ecb7eb614187b287c8b3c (patch)
tree95732e1d3b06aefabb98d0ca9b164a0cde41701e /p/themes/Dark/dark.css
parent1b140d6c06b62c25568163c567b2165a35551154 (diff)
Dark design based on default template
Need reviews See https://github.com/marienfressinaud/FreshRSS/issues/320
Diffstat (limited to 'p/themes/Dark/dark.css')
-rw-r--r--p/themes/Dark/dark.css974
1 files changed, 974 insertions, 0 deletions
diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css
new file mode 100644
index 000000000..66e724089
--- /dev/null
+++ b/p/themes/Dark/dark.css
@@ -0,0 +1,974 @@
+@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: #1c1c1c;
+ color: #888;
+}
+
+/*=== Links */
+a {
+ outline: none;
+ color: #6986B2;
+}
+
+/*=== Images */
+img.favicon {
+ background: #fff;
+ border-radius: 2px;
+}
+
+/*=== Forms */
+legend {
+ margin: 20px 0 5px;
+ padding: 5px 0;
+ font-size: 1.4em;
+ border-bottom: 1px solid #2f2f2f;
+}
+label {
+ min-height: 25px;
+ padding: 5px 0;
+ cursor: pointer;
+}
+textarea {
+ width: 360px;
+ height: 100px;
+}
+input, select, textarea {
+ min-height: 25px;
+ padding: 5px;
+ line-height: 25px;
+ vertical-align: middle;
+ background: #333;
+ border: 1px solid #000;
+ border-radius: 3px;
+ color: #999;
+ box-shadow: 0 2px 2px #1d1d1d inset;
+}
+option {
+ padding: 0 .5em;
+}
+input:focus, select:focus, textarea:focus {
+ color: #6986b2;
+ border-color: #2f2f2f;
+}
+input:invalid, select:invalid {
+ border-color: #f00;
+ box-shadow: 0 0 2px 1px #f00;
+}
+input:disabled, select:disabled {
+ background: #888;
+ color: #000;
+ box-shadow: none;
+}
+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 #333;
+}
+th {
+ background: #222;
+}
+form td,
+form th {
+ font-weight: normal;
+ text-align: center;
+}
+
+/*=== COMPONENTS */
+/*===============*/
+/*=== Forms */
+.form-group.form-actions {
+ padding: 5px 0;
+ background: #1a1a1a;
+ border-top: 1px solid #2f2f2f;
+}
+.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 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: 3px 0 0 3px;
+}
+.stick .btn-important:first-child {
+ border-right: 1px solid #000;
+}
+.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 {
+}
+.stick .btn + .dropdown > .btn {
+ border-left: none;
+ border-radius: 0 3px 3px 0;
+}
+
+.btn {
+ display: inline-block;
+ min-height: 37px;
+ min-width: 15px;
+ margin: 0;
+ padding: 5px 10px;
+ font-size: 0.9rem;
+ vertical-align: middle;
+ cursor: pointer;
+ overflow: hidden;
+ background: #1c1c1c;
+ border-radius: 3px;
+ border: 1px solid #000;
+ color: #888;
+}
+a.btn {
+ min-height: 25px;
+ line-height: 25px;
+}
+.btn:hover {
+ text-decoration: none;
+ background: -moz-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+ background: -moz-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+ background: -webkit-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+ background: -o-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+ background: -ms-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+}
+.btn.active,
+.btn:active,
+.dropdown-target:target ~ .btn.dropdown-toggle {
+ background: #26303F;
+}
+
+.btn-important {
+ font-weight: normal;
+ background: #26303F;
+}
+.btn-important:hover {
+ background: linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+ background: -moz-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+ background: -webkit-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+ background: -o-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+ background: -ms-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+}
+.btn-important:active {
+ background: #26303F;
+}
+
+.btn-attention {
+ background: #880011;
+}
+.btn-attention:hover {
+ background: linear-gradient(top, #cc0044 0%, #880011 100%);
+ background: -moz-linear-gradient(top, #cc0044 0%, #880011 100%);
+ background: -webkit-linear-gradient(top, #cc0044 0%, #880011 100%);
+ background: -o-linear-gradient(top, #cc0044 0%, #880011 100%);
+ background: -ms-linear-gradient(top, #cc0044 0%, #880011 100%);
+}
+.btn-attention:active {
+ background: #880011;
+}
+
+/*=== 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: #26303F;
+}
+.nav-list .item:hover a,
+.nav-list .item.active a {
+ color: #888;
+}
+.nav-list .disable {
+ text-align: center;
+ color: #aaa;
+ background: #fafafa;
+}
+.nav-list .item > a {
+ padding: 0 10px;
+}
+.nav-list a:hover {
+ text-decoration: none;
+}
+.nav-list .item.empty a {
+ color: #c95;
+}
+.nav-list .item:hover.empty a,
+.nav-list .item.active.empty a {
+ color: #fff;
+ background: #c95;
+}
+.nav-list .item.error a {
+ color: #a44;
+}
+.nav-list .item:hover.error a,
+.nav-list .item.active.error a {
+ color: #fff;
+ background: #a44;
+}
+
+.nav-list .nav-header {
+ padding: 0 10px;
+ font-weight: bold;
+ background: #111;
+ border-bottom: 1px solid #333;
+}
+
+.nav-list .nav-form {
+ padding: 3px;
+ text-align: center;
+}
+
+.nav-head {
+ margin: 0;
+ text-align: right;
+ background: #1c1c1c;
+ border-bottom: 1px solid #333;
+}
+.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;
+ background: #1a1a1a;
+ border: 1px solid #888;
+ border-radius: 5px;
+}
+.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: #1a1a1a;
+ border-top: 1px solid #888;
+ border-left: 1px solid #888;
+}
+.dropdown-header {
+ padding: 0 5px 5px;
+ font-weight: bold;
+ text-align: left;
+ color: #888;
+}
+.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 {
+ background: #26303F;
+ color: #888;
+}
+.dropdown-menu > .item[aria-checked="true"] > a:before {
+ font-weight: bold;
+ margin: 0 0 0 -14px;
+}
+.dropdown-menu > .item:hover > a {
+ text-decoration: none;
+ color: #888;
+}
+.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 #333;
+}
+
+/*=== Alerts */
+.alert {
+ margin: 15px auto;
+ padding: 10px 15px;
+ font-size: 0.9em;
+ background: #111;
+ border: 1px solid #888;
+ border-radius: 5px;
+ color: #aaa;
+}
+.alert-head {
+ font-size: 1.15em;
+}
+.alert > a {
+ text-decoration: underline;
+ color: inherit;
+}
+.alert-warn {
+ border: 1px solid #c95;
+ color: #c95;
+}
+.alert-success {
+ border: 1px solid #484;
+ color: #484;
+}
+.alert-error {
+ border: 1px solid #a44;
+ color: #a44;
+}
+
+/*=== Pagination */
+.pagination {
+ text-align: center;
+ font-size: 0.8em;
+ background: #1a1a1a;
+ color: #888;
+}
+.content .pagination {
+ margin: 0;
+ padding: 0;
+}
+.pagination .item.pager-current {
+ font-weight: bold;
+ font-size: 1.5em;
+}
+.pagination .item a {
+ display: block;
+ font-style: italic;
+ line-height: 3em;
+ text-decoration: none;
+ color: #666;
+}
+.pagination .item a:hover {
+}
+.pagination:first-child .item {
+ border-bottom: 1px solid #333;
+}
+.pagination:last-child .item {
+ border-top: 1px solid #333;
+}
+
+.pagination .loading,
+.pagination a:hover.loading {
+ font-size: 0;
+}
+
+/*=== STRUCTURE */
+/*===============*/
+/*=== Header */
+.header {
+}
+.header > .item {
+ padding: 10px 0;
+ vertical-align: middle;
+ text-align: center;
+ border-bottom: 1px solid #333;
+}
+.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 {
+ border-right: 1px solid #333;
+ background: #1c1c1c;
+}
+.aside.aside_flux {
+ padding: 10px 0 50px;
+ border-right: 1px solid #333;
+ background: #1c1c1c;
+}
+
+/*=== 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: 3px; right: 3px;
+ padding: 1px 5px;
+ background: #111;
+ color: #888;
+ border: 1px solid #000;
+ border-radius: 5px;
+}
+
+/*=== Aside main page (feeds) */
+.categories .feeds .item.active {
+ background: #26303F;
+}
+.categories .feeds .item.active .feed {
+ color: #888;
+}
+.categories .feeds .item.empty .feed {
+ color: #c95;
+}
+.categories .feeds .item.empty.active {
+ background: #c95;
+}
+.categories .feeds .item.empty.active .feed {
+ color: #fff;
+}
+.categories .feeds .item.error .feed {
+ color: #a44;
+}
+.categories .feeds .item.error.active {
+ background: #a44;
+}
+.categories .feeds .item.error.active .feed {
+ color: #fff;
+}
+.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: #111;
+ 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: #26303F;
+}
+#new-article:hover {
+ background: #4A5D7A;
+}
+#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-top: 1px solid #333;
+}
+.day .name {
+ padding: 0 10px 0 0;
+ font-size: 1.8em;
+ opacity: 0.3;
+ font-style: italic;
+ text-align: right;
+ color: #aab;
+ text-shadow: 0px -1px 0px #333;
+}
+
+/*=== Index menu */
+.nav_menu {
+ text-align: center;
+ padding: 5px 0;
+ border-bottom: 1px solid #2f2f2f;
+}
+
+/*=== Feed articles */
+.flux {
+ border-left: 2px solid #2f2f2f;
+}
+.flux.current {
+ border-left: 2px solid #0062BE;
+ background: #111;
+}
+.flux.not_read {
+ border-left: 2px solid #FF5300;
+}
+.flux.favorite {
+ border-left: 2px solid #FFC300;
+}
+
+
+.flux_header {
+ font-size: 0.8rem;
+ cursor: pointer;
+ border-top: 1px solid #333;
+}
+.flux_header .title {
+ font-size: 0.9rem;
+}
+.flux_header .item.title a {
+ color: #888;
+}
+.flux .website .favicon {
+ margin: 5px;
+}
+.flux .date {
+ font-size: 0.7rem;
+ color: #666;
+}
+.flux:not(.current):hover .item.title {
+ top: 1px;
+ background: #1c1c1c;
+}
+
+.flux .bottom {
+ font-size: 0.8rem;
+ text-align: center;
+}
+
+/*=== Content of feed articles */
+.content {
+ padding: 20px 10px;
+}
+.content > h1.title > a {
+ color: #888;
+}
+
+.content hr {
+ margin: 30px 10px;
+ height: 1px;
+ background: #666;
+ border: 0;
+ box-shadow: 0 2px 5px #666;
+}
+
+.content pre {
+ margin: 10px auto;
+ padding: 10px 20px;
+ overflow: auto;
+ background: #222;
+ color: #fff;
+ border: 1px solid #000;
+ font-size: 0.9rem;
+ border-radius: 3px;
+}
+.content code {
+ padding: 2px 5px;
+ color: #dd1144;
+ background: #000;
+ border: 1px solid #333;
+ 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 #444;
+ border-bottom: 1px solid #444;
+ background: #222;
+ color: #999;
+}
+.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;
+ border-radius: 5px;
+ box-shadow: 0 0 5px #666;
+ background: #111;
+ color: #c95;
+ border: 1px solid #c95;
+}
+.notification.good {
+ border-color: #484;
+ color: #484;
+}
+.notification.bad {
+ border-color: #a44;
+ color: #a44;
+}
+.notification a.close {
+ padding: 0 15px;
+ line-height: 3em;
+}
+.notification a.close:hover {
+ background: #222;
+ border-radius: 0 3px 3px 0;
+}
+.notification.good a.close:hover {
+ background: #484;
+}
+.notification.bad a.close:hover {
+ background: #a44;
+}
+
+.notification#actualizeProgress {
+ line-height: 2em;
+}
+
+/*=== "Load more" part */
+#bigMarkAsRead {
+ text-align: center;
+ text-decoration: none;
+}
+#bigMarkAsRead:hover {
+ background: #111;
+ color: #aaa;
+}
+
+/*=== Navigation menu (for articles) */
+#nav_entries {
+ margin: 0;
+ text-align: center;
+ line-height: 3em;
+ table-layout: fixed;
+ background: #111;
+ border-top: 1px solid #333;
+}
+
+/*=== READER VIEW */
+/*================*/
+#stream.reader .flux {
+ padding: 0 0 50px;
+ border: none;
+ background: #111;
+}
+#stream.reader .flux .author {
+ margin: 0 0 10px;
+ font-size: 90%;
+ color: #666;
+}
+
+/*=== GLOBAL VIEW */
+/*================*/
+#stream.global .box-category {
+ text-align: left;
+ background: #1a1a1a;
+ border: 1px solid #000;
+ border-radius: 5px;
+ text-align: left;
+}
+#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: #26303F;
+ border: none;
+ border-bottom: 1px solid #000;
+ border-radius: 5px 5px 0 0;
+}
+#stream.global .btn:not([data-unread="0"]) {
+ font-weight: bold;
+ background: #34495e;
+ color: #fff;
+}
+#stream.global .btn:first-child:not([data-unread="0"]):after {
+ top: 0; right: 5px;
+ font-weight: bold;
+ border: 0;
+ background: none;
+ color: #fff;
+}
+#stream.global .box-category .feeds {
+ max-height: 250px;
+}
+#stream.global .box-category .feeds .item {
+ padding: 2px 10px;
+ font-size: 0.9rem;
+}
+
+/*=== Panel */
+#panel {
+ background: #1c1c1c;
+ border: 1px solid #666;
+ border-radius: 3px;
+}
+
+/*=== 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 {
+ border: none;
+}
+.stat > table td,
+.stat > table th {
+ border-bottom: 1px solid #333;
+ text-align: center;
+}
+
+/*=== LOGS */
+/*=========*/
+.logs {
+ overflow: hidden;
+ border: 1px solid #333;
+}
+.log {
+ padding: 5px 10px;
+ font-size: 0.8rem;
+ background: #111;
+ color: #888;
+}
+.log+.log {
+ border-top: 1px solid #333;
+}
+.log .date {
+ display: block;
+ font-weight: bold;
+}
+.log.error {
+ background: #a44;
+ color: #fff;
+}
+.log.warning {
+ background: #c95;
+ color: #fff;
+}
+.log.notice {
+ background: #ec9;
+ color: #000;
+}
+.log.debug {
+ 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: 30px;
+ height: 30px;
+ line-height: 30px;
+ text-align: center;
+ background: #111;
+ border-left: 1px solid #333;
+ border-bottom: 1px solid #333;
+ 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-top: none;
+ border-right: none;
+ border-left: none;
+ border-radius: 0;
+ }
+ .notification a.close {
+ display: block;
+ left: 0;
+ }
+ .notification a.close:hover {
+ opacity: 0.5;
+ }
+ .notification a.close .icon {
+ display: none;
+ }
+}