aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Dark/dark.css
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-10-31 18:15:47 +0100
committerGravatar GitHub <noreply@github.com> 2019-10-31 18:15:47 +0100
commit3aa66f317b496ccd9a2df914bbc747c52081a7ad (patch)
tree6a3f3f74899801abdca00546e213dfdc141c53cf /p/themes/Dark/dark.css
parent82611c9622ed23b0e9fcf5f9f651ddffa1fd7706 (diff)
parentfcae48f313d399050cb15f37a8a73ae52fc67796 (diff)
Merge pull request #2599 from FreshRSS/dev1.15.0
FreshRSS 1.15
Diffstat (limited to 'p/themes/Dark/dark.css')
-rw-r--r--p/themes/Dark/dark.css348
1 files changed, 238 insertions, 110 deletions
diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css
index c82c36644..8322179f4 100644
--- a/p/themes/Dark/dark.css
+++ b/p/themes/Dark/dark.css
@@ -3,15 +3,15 @@
/*=== GENERAL */
/*============*/
html, body {
- height: 100%;
- font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
background: #1c1c1c;
+ height: 100%;
color: #888;
+ font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
}
/*=== Links */
a, button.as-link {
- color: #6986B2;
+ color: #6986b2;
outline: none;
}
@@ -28,47 +28,51 @@ legend {
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;
+ color: #999;
border: 1px solid #000;
border-radius: 3px;
- color: #999;
box-shadow: 0 2px 2px #1d1d1d inset;
+ min-height: 25px;
+ line-height: 25px;
+ vertical-align: middle;
}
+
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: #666;
color: #aaa;
}
+
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 */
@@ -80,9 +84,11 @@ tr, th, td {
padding: 0.5em;
border: 1px solid #333;
}
+
th {
background: #222;
}
+
form td,
form th {
font-weight: normal;
@@ -97,44 +103,54 @@ form th {
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 */
button.as-link[disabled] {
- color:#445 !important;
+ color: #445 !important;
}
+
.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,
@@ -146,80 +162,79 @@ button.as-link[disabled] {
.stick .dropdown + .dropdown > .btn {
border-left: none;
}
+
.stick input:focus+input {
border-left: 1px solid #000;
}
+
.stick input+input:focus {
border-left: 1px solid #333;
}
+
.stick .btn + .dropdown > .btn {
border-left: none;
border-radius: 0 3px 3px 0;
}
.btn {
+ margin: 0;
+ padding: 5px 10px;
+ background: #111;
display: inline-block;
+ color: #888;
+ font-size: 0.9rem;
+ border: 1px solid #000;
+ border-radius: 3px;
min-height: 37px;
min-width: 15px;
line-height: 25px;
- margin: 0;
- padding: 5px 10px;
- font-size: 0.9rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
- background: #111;
- 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%);
+ background: linear-gradient(to top, #4a5d7a 0%, #26303f 100%);
}
+
.btn.active,
.dropdown-target:target ~ .btn.dropdown-toggle {
background: #333;
}
+
.btn:active {
- background: #26303F;
+ background: #26303f;
}
.btn-important {
font-weight: normal;
- background: #26303F;
+ 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%);
+ background: linear-gradient(to top, #4a5d7a 0%, #26303f 100%);
}
+
.btn-important:active {
- background: #26303F;
+ background: #26303f;
}
.btn-attention {
- background: #880011;
+ background: #801;
}
+
.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%);
+ background: linear-gradient(to top, #c04 0%, #801 100%);
}
+
.btn-attention:active {
- background: #880011;
+ background: #801;
}
/*=== Navigation */
@@ -229,42 +244,52 @@ a.btn {
line-height: 2.5em;
font-size: 0.9rem;
}
+
.nav-list .item:hover {
- background: #26303F;
+ background: #26303f;
}
+
.nav-list .item.active {
background: #333;
}
+
.nav-list .item:hover a,
.nav-list .item.active a {
color: #888;
}
+
.nav-list .disable {
- text-align: center;
- color: #aaa;
background: #fafafa;
+ color: #aaa;
+ text-align: center;
}
+
.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;
+ color: #fff;
}
+
.nav-list .item.error a {
color: #a44;
}
+
.nav-list .item:hover.error a,
.nav-list .item.active.error a {
- color: #fff;
background: #a44;
+ color: #fff;
}
.nav-list .nav-header {
@@ -285,6 +310,7 @@ a.btn {
background: #1c1c1c;
border-bottom: 1px solid #333;
}
+
.nav-head .item {
padding: 5px 10px;
font-size: 0.9rem;
@@ -296,6 +322,7 @@ a.btn {
margin: 0;
padding: 0;
}
+
.horizontal-list .item {
vertical-align: middle;
}
@@ -304,34 +331,34 @@ a.btn {
.dropdown-menu {
margin: 5px 0 0;
padding: 5px 0;
- font-size: 0.8rem;
- text-align: left;
background: #1a1a1a;
+ font-size: 0.8rem;
border: 1px solid #888;
border-radius: 5px;
+ text-align: left;
}
+
.dropdown-menu::after {
+ background: #1a1a1a;
+ width: 10px;
+ height: 10px;
+ border-top: 1px solid #888;
+ border-left: 1px solid #888;
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 > a,
.dropdown-menu > .item > span,
.dropdown-menu > .item > .as-link {
@@ -339,18 +366,22 @@ a.btn {
line-height: 2.5em;
font-size: 0.8rem;
}
+
.dropdown-menu > .item:hover {
- background: #26303F;
+ 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;
@@ -367,48 +398,56 @@ a.btn {
.alert {
margin: 15px auto;
padding: 10px 15px;
- font-size: 0.9em;
background: #111;
+ color: #aaa;
+ font-size: 0.9em;
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;
+ border: 1px solid #c95;
}
+
.alert-success {
- border: 1px solid #484;
color: #484;
+ border: 1px solid #484;
}
+
.alert-error {
- border: 1px solid #a44;
color: #a44;
+ border: 1px solid #a44;
}
/*=== Pagination */
.pagination {
- text-align: center;
- font-size: 0.8em;
background: #1c1c1c;
color: #888;
+ font-size: 0.8em;
+ text-align: center;
}
+
.content .pagination {
margin: 0;
padding: 0;
}
+
.pagination .item.pager-current {
- font-weight: bold;
- font-size: 1.5em;
background: #111;
+ font-size: 1.5em;
+ font-weight: bold;
}
+
.pagination .item a {
display: block;
font-style: italic;
@@ -416,14 +455,17 @@ a.btn {
text-decoration: none;
color: #666;
}
+
.pagination .item a:hover {
background-color: #111;
}
+
.pagination:first-child .item {
border-bottom: 1px solid #333;
}
+
.pagination:last-child .item {
- border-top: 1px solid #333;
+ border-top: 1px solid #333;
}
.pagination .loading,
@@ -436,13 +478,15 @@ a.btn {
border: 1px solid #000;
border-radius: 5px;
}
+
.box .box-title {
margin: 0;
padding: 5px 10px;
- background: #26303F;
+ background: #26303f;
border-bottom: 1px solid #000;
border-radius: 5px 5px 0 0;
}
+
.box .box-content {
max-height: 260px;
}
@@ -457,6 +501,7 @@ a.btn {
.box .box-content .item .configure {
visibility: hidden;
}
+
.box .box-title:hover .configure,
.box .box-content .item:hover .configure {
visibility: visible;
@@ -466,57 +511,70 @@ a.btn {
.tree {
margin: 10px 0;
}
+
.tree-folder-title {
- position: relative;
padding: 0 10px;
- line-height: 2.5rem;
- font-size: 1rem;
background: #1c1c1c;
+ font-size: 1rem;
+ position: relative;
+ line-height: 2.5rem;
}
+
.tree-folder-title .title {
background: inherit;
color: #888;
}
+
.tree-folder-title .title:hover {
text-decoration: none;
}
+
.tree-folder.active .tree-folder-title {
background: #2c2c2c;
font-weight: bold;
}
+
.tree-folder-items {
+ background: #161616;
border-top: 1px solid #222;
border-bottom: 1px solid #222;
- background: #161616;
}
+
.tree-folder-items > .item {
padding: 0 10px;
line-height: 2.5rem;
font-size: 0.8rem;
}
+
.tree-folder-items > .item.active {
background: #1c1c1c;
}
+
.tree-folder-items > .item > a {
text-decoration: none;
}
+
.tree-folder-items > .item.active > a {
color: #888;
}
/*=== Scrollbar */
+
@supports (scrollbar-width: thin) {
#sidebar {
scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
}
+
#sidebar:hover {
scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
}
}
+
@supports not (scrollbar-width: thin) {
#sidebar::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
}
+
#sidebar:hover::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
}
@@ -528,24 +586,30 @@ a.btn {
.header {
height: 85px;
}
+
.header > .item {
padding: 10px;
vertical-align: middle;
text-align: center;
border-bottom: 1px solid #333;
}
-.header > .item.title{
+
+.header > .item.title {
width: 230px;
}
+
.header > .item.title h1 {
margin: 0.5em 0;
}
+
.header > .item.title h1 a {
text-decoration: none;
}
+
.header > .item.search input {
width: 230px;
}
+
.header .item.search input:focus {
width: 350px;
}
@@ -554,55 +618,65 @@ a.btn {
#global {
height: calc(100% - 85px);
}
+
.aside {
- border-right: 1px solid #333;
background: #1c1c1c;
+ border-right: 1px solid #333;
}
+
.aside.aside_feed {
padding: 10px 0;
text-align: center;
}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
- position: absolute;
- right: 0;
margin: 10px 0;
padding: 0 10px;
+ background: inherit;
font-size: 0.9rem;
+ position: absolute;
+ right: 0;
line-height: 1.5rem;
- background: inherit;
}
/*=== Aside main page (feeds) */
.feed.item.empty.active {
background: #c95;
}
+
.feed.item.error.active {
background: #a44;
}
+
.feed.item.empty,
.feed.item.empty > a {
color: #c95;
}
+
.feed.item.error,
.feed.item.error > a {
color: #a44;
}
+
.feed.item.empty.active,
.feed.item.empty.active > a {
color: #111;
}
+
.feed.item.error.active,
.feed.item.error.active > a {
color: #fff;
}
+
.aside_feed .tree-folder-items .dropdown-menu::after {
left: 2px;
}
+
.aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
@@ -615,9 +689,11 @@ a.btn {
padding: 10px 50px;
font-size: 0.9em;
}
+
.post form {
margin: 10px 0;
}
+
.post.content {
max-width: 550px;
}
@@ -626,35 +702,42 @@ a.btn {
.prompt {
text-align: center;
}
+
.prompt label {
text-align: left;
}
+
.prompt form {
margin: 10px auto 20px auto;
width: 200px;
}
+
.prompt input {
margin: 5px auto;
width: 100%;
}
+
.prompt p {
margin: 20px 0;
}
/*=== New article notification */
#new-article {
- text-align: center;
+ background: #26303f;
font-size: 0.9em;
- background: #26303F;
+ text-align: center;
}
+
#new-article:hover {
- background: #4A5D7A;
+ background: #4a5d7a;
}
+
#new-article > a {
line-height: 3em;
font-weight: bold;
color: #fff;
}
+
#new-article > a:hover {
text-decoration: none;
}
@@ -667,13 +750,14 @@ a.btn {
border-top: 1px solid #333;
border-bottom: 1px solid #333;
}
+
.day .name {
padding: 0 10px 0 0;
+ color: #aab;
font-size: 1.8em;
opacity: 0.3;
font-style: italic;
text-align: right;
- color: #aab;
text-shadow: 0px -1px 0px #333;
}
@@ -688,18 +772,22 @@ a.btn {
.flux {
border-left: 2px solid #2f2f2f;
}
+
.flux:hover {
background: #111;
}
+
.flux.current {
- border-left: 2px solid #0062BE;
background: #111;
+ border-left: 2px solid #0062be;
}
+
.flux.not_read {
- border-left: 2px solid #FF5300;
+ border-left: 2px solid #ff5300;
}
+
.flux.favorite {
- border-left: 2px solid #FFC300;
+ border-left: 2px solid #ffc300;
}
@@ -707,19 +795,24 @@ a.btn {
font-size: 0.8rem;
cursor: pointer;
}
+
.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;
+ font-size: 0.7rem;
}
+
.flux:not(.current):hover .item.title {
background: #111;
}
@@ -733,14 +826,15 @@ a.btn {
.content {
padding: 20px 10px;
}
+
.content > h1.title > a {
color: #888;
}
.content hr {
margin: 30px 10px;
- height: 1px;
background: #666;
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px #666;
}
@@ -748,20 +842,22 @@ a.btn {
.content pre {
margin: 10px auto;
padding: 10px 20px;
- overflow: auto;
background: #222;
color: #fff;
- border: 1px solid #000;
font-size: 0.9rem;
+ border: 1px solid #000;
border-radius: 3px;
+ overflow: auto;
}
+
.content code {
padding: 2px 5px;
- color: #dd1144;
background: #000;
+ color: #d14;
border: 1px solid #333;
border-radius: 3px;
}
+
.content pre code {
background: transparent;
color: #fff;
@@ -769,14 +865,15 @@ a.btn {
}
.content blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
- border-top: 1px solid #444;
- border-bottom: 1px solid #444;
background: #222;
+ display: block;
color: #999;
+ border-top: 1px solid #444;
+ border-bottom: 1px solid #444;
}
+
.content blockquote p {
margin: 0;
}
@@ -784,37 +881,43 @@ a.btn {
/*=== Notification and actualize notification */
.notification {
padding: 0 0 0 5px;
+ background: #111;
+ color: #c95;
+ font-size: 0.9em;
+ border: 1px solid #c95;
+ border-radius: 5px;
+ box-shadow: 0 0 5px #666;
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;
}
@@ -828,6 +931,7 @@ a.btn {
text-align: center;
text-decoration: none;
}
+
#bigMarkAsRead:hover {
background: #111;
color: #aaa;
@@ -847,13 +951,14 @@ a.btn {
/*================*/
#stream.reader .flux {
padding: 0 0 50px;
- border: none;
background: #111;
+ border: none;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
color: #666;
+ font-size: 90%;
}
/*=== GLOBAL VIEW */
@@ -864,25 +969,30 @@ a.btn {
text-align: left;
color: #888;
}
+
.box.category:not([data-unread="0"]) .box-title {
- background: #34495E;
+ background: #34495e;
}
+
.box.category:not([data-unread="0"]) .box-title:active {
- background: #26303F;
+ background: #26303f;
}
+
.box.category:not([data-unread="0"]) .box-title .title {
color: #fff;
font-weight: bold;
}
+
.box.category .title:not([data-unread="0"])::after {
+ background: none;
+ border: 0;
position: absolute;
top: 5px; right: 10px;
- border: 0;
- background: none;
font-weight: bold;
box-shadow: none;
text-shadow: none;
}
+
.box.category .item.feed {
padding: 2px 10px;
font-size: 0.8rem;
@@ -907,9 +1017,11 @@ a.btn {
.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;
}
@@ -925,6 +1037,7 @@ a.btn {
.stat tr {
border: none;
}
+
.stat > table td,
.stat > table th {
border-bottom: 1px solid #333;
@@ -933,11 +1046,13 @@ a.btn {
.stat > .horizontal-list {
margin: 0 0 5px;
}
+
.stat > .horizontal-list .item {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
+
.stat > .horizontal-list .item:first-child {
width: 270px;
}
@@ -948,31 +1063,38 @@ a.btn {
overflow: hidden;
border: 1px solid #333;
}
+
.log {
padding: 5px 10px;
- font-size: 0.8rem;
background: #111;
color: #888;
+ font-size: 0.8rem;
}
+
.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;
@@ -980,23 +1102,21 @@ a.btn {
/*=== MOBILE */
/*===========*/
-@media(max-width: 840px) {
+
+@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 {
+ background: #111;
display: block;
width: 100%;
height: 50px;
+ border-bottom: 1px solid #333;
line-height: 50px;
text-align: center;
- background: #111;
- border-bottom: 1px solid #333;
}
.aside.aside_feed {
@@ -1006,20 +1126,25 @@ a.btn {
.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;
}
@@ -1038,13 +1163,16 @@ a.btn {
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;
}