Jelajahi Sumber

Alternative-Dark theme (#2811)

* Alternative-Dark theme

* Update template.css

* Update adark.css

* Update adark.css

* Update template.css

* Updates and fixes

* Remaining minor whitespace

* Remaining minor Travis

* order/properties-order

Co-authored-by: Fabiano <defabiano@tutanota.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
fabianski7 6 tahun lalu
induk
melakukan
7380cd02ec

+ 1126 - 0
p/themes/Alternative-Dark/adark.css

@@ -0,0 +1,1126 @@
+@charset "UTF-8";
+
+/*=== GENERAL */
+/*============*/
+html, body {
+	background: #171717;
+	height: 100%;
+	color: #999;
+	font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
+}
+
+/*=== Links */
+a, button.as-link {
+	color: #ccc;
+	outline: none;
+}
+
+/*=== Forms */
+legend {
+	margin: 20px 0 5px;
+	padding: 5px 0;
+	font-size: 1.4em;
+	border-bottom: 1px solid #333;
+}
+
+label {
+	min-height: 25px;
+	padding: 5px 0;
+	cursor: pointer;
+}
+
+textarea {
+	width: 360px;
+	height: 100px;
+}
+
+input, select, textarea {
+	padding: 5px;
+	background: #262626;
+	color: #666;
+	border: 1px solid #666;
+	border-radius: 3px;
+	min-height: 25px;
+	line-height: 25px;
+	vertical-align: middle;
+}
+
+option {
+	padding: 0 .5em;
+}
+
+input:disabled, select:disabled {
+	background: #eee;
+}
+
+input.extend {
+	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.form-actions {
+	padding: 5px 0;
+	background: #171717;
+	border-top: 1px solid #333;
+}
+
+.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 #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 .btn + .dropdown > .btn {
+	border-left: none;
+	border-radius: 0 3px 3px 0;
+}
+
+.btn {
+	margin: 0;
+	padding: 5px 10px;
+	background: #171717;
+	display: inline-block;
+	color: #bfbfbf;
+	font-size: 0.9rem;
+	border: 1px solid #777;
+	border-right: 1px solid #777;
+	border-bottom: 1px solid #777;
+	border-radius: 3px;
+	min-height: 37px;
+	min-width: 15px;
+	line-height: 25px;
+	vertical-align: middle;
+	cursor: pointer;
+	overflow: hidden;
+}
+
+a.btn {
+	min-height: 25px;
+	line-height: 25px;
+}
+
+.btn:hover {
+	background: #1d242f;
+	text-decoration: none;
+	color: #6b88ae;
+	border: 1px solid #45699a;
+}
+
+.btn.active,
+.btn:active,
+.dropdown-target:target ~ .btn.dropdown-toggle {
+	background: #262626;
+}
+
+.btn-important {
+	background: #0062b7;
+	color: #fff;
+	border: 1px solid #0062b7;
+	font-weight: normal;
+}
+
+.btn-important:hover {
+	background: #0062b7;
+	color: #eee;
+}
+
+.btn-important:active {
+	background: #0044cb;
+	box-shadow: none;
+}
+
+.btn-attention {
+	color: #fff;
+}
+
+.btn-attention:active {
+	background: #bd362f;
+	box-shadow: none;
+}
+
+/*=== Navigation */
+.nav-list .nav-header,
+.nav-list .item {
+	height: 2.5em;
+	line-height: 2.5em;
+	font-size: 0.9rem;
+}
+
+.nav-list .item:hover {
+	background: #1f1f1f;
+}
+
+.nav-list .item.active {
+	background: #171717;
+	color: #fff;
+}
+
+.nav-list .item.active a {
+	color: #fff;
+}
+
+.nav-list .disable {
+	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: #f39c12;
+}
+
+.nav-list .item.active.empty a {
+	background: #f39c12;
+	color: #fff;
+}
+
+.nav-list .item.error a {
+	color: #bd362f;
+}
+
+.nav-list .item.active.error a {
+	background: #bd362f;
+	color: #fff;
+}
+
+.nav-list .nav-header {
+	padding: 0 10px;
+	color: #888;
+	font-weight: bold;
+}
+
+.nav-list .nav-form {
+	padding: 3px;
+	text-align: center;
+}
+
+.nav-head {
+	margin: 0;
+	background: #fff;
+	background: linear-gradient(to bottom, #fff, #f0f0f0);
+	border-bottom: 1px solid #ddd;
+	text-align: right;
+}
+
+.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;
+	border-radius: 5px;
+	text-align: left;
+}
+
+.dropdown-menu::after {
+	background: #fff;
+	display: none;
+	width: 10px;
+	height: 10px;
+	border-top: 1px solid #ddd;
+	border-left: 1px solid #ddd;
+	content: "";
+	position: absolute;
+	top: -6px;
+	right: 13px;
+	z-index: -10;
+	transform: rotate(45deg);
+}
+
+.dropdown-header {
+	padding: 0 5px 5px;
+	color: #888;
+	font-weight: bold;
+	text-align: left;
+}
+
+.dropdown-menu > .item > a,
+.dropdown-menu > .item > span,
+.dropdown-menu > .item > .as-link {
+	padding: 0 22px;
+	line-height: 2.5em;
+	font-size: 0.8rem;
+}
+
+.dropdown-menu > .item:hover {
+	background: #262626;
+	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 #292929;
+}
+
+/*=== Alerts */
+.alert {
+	margin: 15px auto;
+	padding: 10px 15px;
+	background: #f4f4f4;
+	color: #aaa;
+	font-size: 0.9em;
+	border: 1px solid #ccc;
+	border-right: 1px solid #aaa;
+	border-bottom: 1px solid #aaa;
+	border-radius: 5px;
+}
+
+.alert-head {
+	font-size: 1.15em;
+}
+
+.alert > a {
+	color: inherit;
+	text-decoration: underline;
+}
+
+.alert-warn {
+	background: #171717;
+	color: #999;
+	border: 2px solid #615f20;
+}
+
+.alert-success {
+	background: #171717;
+	color: #999;
+	border: 2px solid #18521d;
+}
+
+.alert-error {
+	background: #171717;
+	color: #999;
+	border: 2px solid #902b2b;
+}
+
+/*=== Pagination */
+.pagination {
+	background: #171717;
+	text-align: center;
+	color: #e8e8e8;
+	font-size: 0.8em;
+}
+
+.content .pagination {
+	margin: 0;
+	padding: 0;
+}
+
+.pagination .item.pager-current {
+	font-weight: bold;
+	font-size: 1.5em;
+}
+
+.pagination .item a {
+	display: block;
+	color: #333;
+	font-style: italic;
+	line-height: 3em;
+	text-decoration: none;
+}
+
+.pagination .item a:hover {
+	background: #ddd;
+}
+
+.pagination:first-child .item {
+	border-bottom: 1px solid #aaa;
+}
+
+.pagination:last-child .item {
+	border-top: 1px solid #292929;
+}
+
+.pagination .loading,
+.pagination a:hover.loading {
+	background: url("loader.gif") center center no-repeat #fff;
+	font-size: 0;
+}
+
+/*=== Boxes */
+.box {
+	background: #1f1f1f;
+	border-radius: 3px;
+}
+
+.box .box-title {
+	margin: 0;
+	padding: 5px 10px;
+	background: #f6f6f6;
+	border: 1px solid #292929;
+	border-radius: 5px 5px 0 0;
+}
+
+.box .box-content {
+	min-height: 2.5em;
+	max-height: 260px;
+}
+
+.box .box-content .item {
+	padding: 0 10px;
+	font-size: 0.9rem;
+	line-height: 2.5em;
+}
+
+.box .box-title .configure,
+.box .box-content .item .configure {
+	visibility: hidden;
+}
+
+.box .box-title:hover .configure,
+.box .box-content .item:hover .configure {
+	visibility: visible;
+}
+
+/*=== Tree */
+.tree {
+	margin: 10px 0;
+}
+
+.tree-folder-title {
+	position: relative;
+	padding: 0 10px;
+	background: #262626;
+	line-height: 2.5rem;
+	font-size: 1rem;
+}
+
+.tree-folder-title:hover {
+	background: #1f1f1f;
+}
+
+.tree-folder-title .title {
+	background: inherit;
+	color: #999;
+}
+
+.tree-folder-title .title:hover {
+	text-decoration: none;
+}
+
+.tree-folder.active .tree-folder-title {
+	background: #171717;
+	font-weight: bold;
+}
+
+.tree-folder.active .tree-folder-title .title {
+	color: #ccc;
+}
+
+.tree-folder-items {
+	background: #262626;
+}
+
+.tree-folder-items:hover {
+	background: #1f1f1f;
+}
+
+.tree-folder-items > .item {
+	padding: 0 10px;
+	line-height: 2.5rem;
+	font-size: 0.8rem;
+}
+
+.tree-folder-items > .item.active {
+	background: #171717;
+}
+
+.tree-folder-items > .item > a {
+	text-decoration: none;
+}
+
+.tree-folder-items > .item.active > a {
+	color: #999;
+}
+
+/*=== STRUCTURE */
+/*===============*/
+/*=== Header */
+.header {
+	background: #171717;
+	height: 85px;
+}
+
+.header > .item {
+	padding: 10px;
+	border-bottom: 1px solid #333;
+	vertical-align: middle;
+	text-align: center;
+}
+
+.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;
+}
+
+/*=== Body */
+#global {
+	height: calc(100% - 85px);
+}
+
+.aside {
+	background: #262626;
+}
+
+.aside.aside_feed {
+	padding: 10px 0;
+	text-align: center;
+	background: #262626;
+}
+
+.aside.aside_feed .tree {
+	margin: 10px 0 50px;
+}
+
+/*=== Aside main page (categories) */
+.aside_feed .category .title:not([data-unread="0"])::after {
+	margin: 10px 0;
+	padding: 0 10px;
+	background: inherit;
+	font-size: 0.9rem;
+	position: absolute;
+	right: 0;
+	line-height: 1.5rem;
+}
+
+/*=== Aside main page (feeds) */
+.feed.item.empty.active {
+	background: #e67e22;
+}
+
+.feed.item.error.active {
+	background: #bd362f;
+}
+
+.feed.item.empty,
+.feed.item.empty > a {
+	color: #e67e22;
+}
+
+.feed.item.error,
+.feed.item.error > a {
+	color: #bd362f;
+}
+
+.feed.item.empty.active,
+.feed.item.error.active,
+.feed.item.empty.active > a,
+.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.active .dropdown-toggle > .icon {
+	background-color: #fff;
+	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: 200px;
+}
+
+.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: #06c;
+}
+
+#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: #171717;
+	color: #ccc;
+	border-top: 1px solid #aaa;
+}
+
+#new-article + .day {
+	border-top: none;
+}
+
+.day .name {
+	padding: 0 10px 0 0;
+	color: #ccc;
+	font-size: 1.8em;
+	opacity: 0.3;
+	text-shadow: 0px -1px 0px #666;
+	font-style: italic;
+	text-align: right;
+}
+
+/*=== Index menu */
+.nav_menu {
+	padding: 5px 0;
+	background: #171717;
+	text-align: center;
+}
+
+/*=== Feed articles */
+.flux {
+	background: #171717;
+	border-left: 1px solid #292929;
+}
+
+.flux:hover {
+	background: #333!important;
+}
+
+.flux.current {
+	background: #191919;
+	border-left: 2px solid #0062be;
+}
+
+.flux.current.active {
+	background: #333;
+}
+
+.flux.not_read {
+	border-left: 2px solid #e74c3c;
+}
+
+.flux.not_read:not(.current) {
+	background: #171717;
+}
+
+.flux.not_read:not(.current):hover .item.title {
+	background: inherit;
+}
+
+.flux.favorite {
+	border-left: 2px solid #ffc300;
+}
+
+.flux.favorite:not(.current) {
+	background: #171717;
+}
+
+.flux_header {
+	font-size: 0.8rem;
+	border-top: 1px solid #292929;
+	cursor: pointer;
+}
+
+.flux_header .title {
+	font-size: 0.9rem;
+}
+
+.flux .website .favicon {
+	padding: 5px;
+}
+
+.flux .date {
+	color: #ababab;
+	font-size: 0.7rem;
+}
+
+.flux .bottom {
+	font-size: 0.8rem;
+	text-align: center;
+}
+
+/*=== Content of feed articles */
+.content {
+	padding: 20px 10px;
+	color: #999;
+}
+
+.content > h1.title > a {
+	color: #949494;
+}
+
+.content hr {
+	margin: 30px 10px;
+	background: #ddd;
+	height: 1px;
+	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;
+	background: #262626;
+	border: 1px solid #262626;
+	border-radius: 3px;
+}
+
+.content pre code {
+	background: transparent;
+	color: #fff;
+	border: none;
+}
+
+.content blockquote {
+	margin: 0;
+	padding: 25px;
+	background: #262626;
+	display: block;
+	color: #999;
+}
+
+.content blockquote p {
+	margin: 0;
+}
+
+/*=== Notification and actualize notification */
+.notification {
+	padding: 0 0 0 5px;
+	font-size: 0.9em;
+	border: 1px solid #eeb;
+	border-radius: 3px;
+	text-align: center;
+	font-weight: bold;
+	line-height: 3em;
+	z-index: 10;
+	vertical-align: middle;
+}
+
+.notification.good {
+	background: #262626;
+	color: #999;
+	border: 2px solid #3b5981;
+}
+
+.notification.bad {
+	background: #fdd;
+	color: #844;
+	border: 1px solid #ecc;
+}
+
+.notification a.close {
+	padding: 0 15px;
+	line-height: 3em;
+}
+
+.notification.bad a.close:hover {
+	background: #ecc;
+}
+
+.notification#actualizeProgress {
+	line-height: 2em;
+}
+
+/*=== "Load more" part */
+#bigMarkAsRead {
+	background: #171717;
+	color: #0062be;
+	text-align: center;
+	text-decoration: none;
+}
+
+/*=== Navigation menu (for articles) */
+#nav_entries {
+	margin: 0;
+	background: #262626;
+	text-align: center;
+	line-height: 3em;
+	table-layout: fixed;
+}
+
+/*=== READER VIEW */
+/*================*/
+#stream.reader .flux {
+	padding: 0 0 50px;
+	color: #333;
+	border-bottom: 10px solid #171717;
+}
+
+#stream.reader .flux.current.active {
+	background: #333;
+}
+
+#stream.reader .flux .author {
+	margin: 0 0 10px;
+	color: #666;
+	font-size: 90%;
+}
+
+/*=== GLOBAL VIEW */
+/*================*/
+.box.category .box-title .title {
+	font-weight: normal;
+	text-decoration: none;
+	text-align: left;
+}
+
+.box.category:not([data-unread="0"]) .box-title {
+	background: #262626;
+}
+
+.box.category:not([data-unread="0"]) .box-title:active {
+	background: #171717;
+}
+
+.box.category:not([data-unread="0"]) .box-title .title {
+	color: #999;
+	font-weight: bold;
+}
+
+.box.category .title:not([data-unread="0"])::after {
+	background: none;
+	color: #fff;
+	border: 0;
+	box-shadow: none;
+	position: absolute;
+	top: 5px; right: 10px;
+	font-weight: bold;
+	text-shadow: none;
+}
+
+.box.category .item.feed {
+	padding: 2px 10px;
+	font-size: 0.8rem;
+}
+
+/*=== 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 #ddd;
+}
+
+.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;
+}
+
+/*=== LOGS */
+/*=========*/
+.loglist {
+	border: 1px solid #aaa;
+	border-radius: 5px;
+	overflow: hidden;
+}
+
+.log {
+	padding: 5px 10px;
+	background: #fafafa;
+	color: #333;
+	font-size: 0.8rem;
+}
+
+.log+.log {
+	border-top: 1px solid #aaa;
+}
+
+.log .date {
+	display: block;
+	font-weight: bold;
+}
+
+.log.error {
+	background: #fdd;
+	color: #844;
+}
+
+.log.warning {
+	background: #ffe;
+	color: #c95;
+}
+
+.log.notice {
+	background: #f4f4f4;
+	color: #aaa;
+}
+
+.log.debug {
+	background: #333;
+	color: #eee;
+}
+
+/*=== MOBILE */
+/*===========*/
+
+@media (max-width: 840px) {
+	.aside {
+		box-shadow: 3px 0 3px #aaa;
+		transition: width 200ms linear;
+	}
+
+	.aside .toggle_aside,
+	#panel .close {
+		background: #f6f6f6;
+		display: block;
+		width: 100%;
+		height: 50px;
+		border-bottom: 1px solid #ddd;
+		line-height: 50px;
+		text-align: center;
+	}
+
+	.aside.aside_feed {
+		padding: 0;
+	}
+
+	.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 {
+		display: none!important;
+		font-size: 1.1rem;
+		text-shadow: none;
+	}
+
+	.pagination {
+		margin: 0 0 3.5em;
+		border-top: 1px solid #292929;
+	}
+
+	.notification a.close {
+		background: transparent;
+		display: block;
+		left: 0;
+	}
+
+	.notification a.close:hover {
+		opacity: 0.5;
+	}
+
+	.notification a.close .icon {
+		display: none;
+	}
+}

+ 14 - 0
p/themes/Alternative-Dark/icons/icon.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 256 256" version="1.1" viewBox="0 0 256 256" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">
+.st0{fill:#FFFFFF;}
+.st1{fill:none;stroke:#FFFFFF;stroke-width:24;stroke-opacity:0.3;}
+.st2{fill:none;stroke:#FFFFFF;stroke-width:24;}
+</style>
+<title>Logo FreshRSS</title>
+<circle class="st0" cx="128" cy="128" r="33"/>
+<path class="st1" d="m12 128c0-64.1 51.9-116 116-116s116 51.9 116 116-51.9 116-116 116"/>
+<path class="st1" d="m54 128c0-40.9 33.1-74 74-74s74 33.1 74 74-33.1 74-74 74"/>
+<path class="st2" d="m128 12c64.1 0 116 51.9 116 116"/>
+<path class="st2" d="m128 54c40.9 0 74 33.1 74 74"/>
+</svg>

TEMPAT SAMPAH
p/themes/Alternative-Dark/loader.gif


+ 7 - 0
p/themes/Alternative-Dark/metadata.json

@@ -0,0 +1,7 @@
+{
+  "name": "Alternative Dark",
+  "author": "Ghost",
+  "description": "Save my eyes!!!",
+  "version": 0.1,
+  "files": ["template.css", "adark.css"]
+}

+ 1313 - 0
p/themes/Alternative-Dark/template.css

@@ -0,0 +1,1313 @@
+@charset "UTF-8";
+
+/*=== GENERAL */
+/*============*/
+
+@font-face {
+	font-family: 'OpenSans';
+	font-style: normal;
+	font-weight: 400;
+	src: local('Open Sans'), local('OpenSans'),
+		url('../fonts/OpenSans.woff2') format('woff2'),
+		url('../fonts/OpenSans.woff') format('woff');
+}
+
+html, body {
+	margin: 0;
+	padding: 0;
+	font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
+	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;
+}
+
+sup {
+	line-height: 25px;
+	position: relative;
+	top: -0.8em;
+	vertical-align: baseline;
+}
+
+/*=== Images */
+img {
+	max-width: 100%;
+	height: auto;
+}
+
+img.favicon {
+	width: 16px;
+	height: 16px;
+	vertical-align: middle;
+}
+
+.feed.mute::before {
+	content: '🔇';
+}
+
+/*=== Videos */
+iframe, embed, object, video {
+	max-width: 100%;
+}
+
+/*=== Forms */
+legend {
+	display: block;
+	width: 100%;
+	clear: both;
+}
+
+label {
+	display: block;
+}
+
+input {
+	width: 180px;
+}
+
+input[type=number] {
+	width: 6em;
+}
+
+textarea,
+input[type="file"],
+input.long,
+input.extend:focus {
+	width: 300px;
+}
+
+input, select, textarea {
+	display: inline-block;
+	max-width: 100%;
+	font-size: 0.8rem;
+}
+
+input[type="radio"],
+input[type="checkbox"] {
+	width: 15px !important;
+	min-height: 15px !important;
+}
+
+.dropdown-menu label > input[type="text"] {
+	width: 150px;
+	width: calc(99% - 5em);
+}
+
+.dropdown-menu input[type="checkbox"] {
+	margin-left: 1em;
+	margin-right: .5em;
+}
+
+button.as-link,
+button.as-link:hover,
+button.as-link:active {
+	background: transparent;
+	color: inherit;
+	font-size: 1.1em;
+	border: none;
+	cursor: pointer;
+	text-align: left;
+}
+
+button.as-link[disabled] {
+	color: #ddd !important;
+}
+
+/*=== Tables */
+table {
+	max-width: 100%;
+}
+
+th.numeric,
+td.numeric {
+	text-align: center;
+}
+
+/*=== COMPONENTS */
+/*===============*/
+[aria-hidden="true"] {
+	display: none !important;
+}
+
+/*=== 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;
+}
+
+@supports (position: sticky) {
+	#mark-read-aside {
+		position: sticky;
+		top: 0;
+	}
+}
+
+/*=== 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;
+	vertical-align: middle;
+}
+
+.dropdown-target {
+	display: none;
+}
+
+.dropdown-menu {
+	margin: 0;
+	background: #333;
+	display: none;
+	border: 2px solid #262626;
+	min-width: 200px;
+	position: absolute;
+	right: 0;
+}
+
+.dropdown-menu-scrollable {
+	max-height: 75vh;
+	overflow-x: hidden;
+	overflow-y: auto;
+}
+
+.dropdown-header {
+	display: block;
+}
+
+.dropdown-menu > .item {
+	display: block;
+}
+
+.dropdown-menu > .item > a,
+.dropdown-menu > .item > .as-link,
+.dropdown-menu > .item > span {
+	display: block;
+	min-width: 200px;
+	white-space: nowrap;
+}
+
+.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: 1000;
+}
+
+.dropdown-close {
+	display: inline;
+}
+
+.dropdown-close a {
+	display: block;
+	font-size: 0;
+	position: fixed;
+	top: 0; bottom: 0;
+	left: 0; right: 0;
+	z-index: -11;
+	cursor: default;
+}
+
+.dropdown div.dropdown-close {
+	display: none;
+}
+
+.dropdown-target:target ~ div.dropdown-close {
+	display: block;
+	z-index: 999;
+	position: relative;
+}
+
+.dropdown-menu-scrollable .dropdown-close {
+	display: none;
+}
+
+.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 {
+	margin: 0;
+	padding: 0;
+	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;
+}
+
+/*=== Boxes */
+.box {
+	margin: 20px 10px;
+	display: inline-block;
+	max-width: 95%;
+	width: 20rem;
+	border: 1px solid #444;
+	vertical-align: top;
+}
+
+.box .box-title {
+	position: relative;
+	font-size: 1.2rem;
+	font-weight: bold;
+}
+
+.box .box-title form {
+	margin: 0;
+}
+
+.box .box-content {
+	display: block;
+	overflow: auto;
+}
+
+.box .box-content .item {
+	display: block;
+}
+
+.box .box-content .item.disabled {
+	text-align: center;
+	font-style: italic;
+}
+
+.box .box-content-centered {
+	padding: 30px 5px;
+	text-align: center;
+}
+
+.box .box-content-centered .btn {
+	margin: 20px 0 0;
+}
+
+/*=== Draggable */
+.drag-hover {
+	margin: 0 0 5px;
+	border-bottom: 2px solid #ccc;
+}
+
+[draggable=true] {
+	cursor: grab;
+}
+
+/*=== Scrollbar */
+
+@supports (scrollbar-width: thin) {
+	#sidebar {
+		overflow-y: auto;
+		scrollbar-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.05);
+		scrollbar-width: thin;
+	}
+
+	#sidebar:hover {
+		scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05);
+	}
+}
+
+@supports not (scrollbar-width: thin) {
+	#sidebar::-webkit-scrollbar {
+		background: rgba(0, 0, 0, 0.05);
+		width: 8px;
+	}
+
+	#sidebar::-webkit-scrollbar-thumb {
+		background: rgba(0, 0, 0, 0.1);
+		display: unset;
+		border-radius: 5px;
+	}
+
+	#sidebar:hover::-webkit-scrollbar-thumb {
+		background: rgba(0, 0, 0, 0.3);
+	}
+}
+
+/*=== Tree */
+.tree {
+	margin: 0;
+	max-height: 99vh;
+	list-style: none;
+	text-align: left;
+	overflow-x: hidden;
+}
+
+.tree-folder-items {
+	padding: 0;
+	max-height: 200em;
+	list-style: none;
+	transition: max-height .3s linear;
+}
+
+.tree-folder-title {
+	display: block;
+	overflow: hidden;
+	white-space: nowrap;
+	text-overflow: ellipsis;
+}
+
+.tree-folder-title .title {
+	display: inline-block;
+	width: 100%;
+	vertical-align: middle;
+}
+
+.tree-folder-items > .item {
+	display: block;
+	white-space: nowrap;
+}
+
+.tree-folder-items > .item > a {
+	display: inline-block;
+	vertical-align: middle;
+	width: calc(100% - 32px);
+	overflow: hidden;
+	white-space: nowrap;
+	text-overflow: ellipsis;
+}
+
+.tree-bottom {
+	visibility: hidden;
+	margin-bottom: 18em;
+}
+
+/*=== 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;
+	width: 32px;
+	height: 32px;
+	vertical-align: middle;
+}
+
+.header > .item.configure {
+	width: 100px;
+}
+
+/*=== Body */
+#global {
+	display: table;
+	width: 100%;
+	height: 100%;
+	table-layout: fixed;
+}
+
+.aside {
+	display: table-cell;
+	width: 300px;
+	vertical-align: top;
+}
+
+/*=== Aside main page */
+.aside_feed .category .title {
+	width: calc(100% - 35px);
+}
+
+.aside_feed .tree-folder-title .icon {
+	padding: 5px;
+}
+
+.aside_feed .tree-folder-items .item.feed {
+	padding: 0px 15px;
+}
+
+.aside_feed .tree-folder-items:not(.active) {
+	margin: 0;
+	padding: 0;
+	max-height: 0;
+	border: none;
+	overflow: hidden;
+}
+
+.aside_feed .tree-folder-items .dropdown {
+	vertical-align: top;
+}
+
+.aside_feed .tree-folder-items .dropdown-menu {
+	left: 0;
+}
+
+.aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
+	visibility: hidden;
+	cursor: pointer;
+}
+
+.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 {
+	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 {
+	background: #333;
+	max-width: calc(100% - 320px);
+	position: absolute;
+}
+
+.flux .item.title a {
+	color: #ababab;
+	text-decoration: none;
+}
+
+.flux .item.title .author {
+	padding-left: 1rem;
+	color: #555;
+	font-size: .9rem;
+	font-weight: normal;
+}
+
+.flux .item.date {
+	width: 155px;
+	text-align: right;
+	overflow: hidden;
+}
+
+.flux .item > a {
+	display: block;
+	text-decoration: none;
+	white-space: nowrap;
+	text-overflow: ellipsis;
+	overflow: hidden;
+}
+
+.flux .item.share > a,
+.item.query > 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;
+}
+
+br {
+	line-height: 1em;
+}
+
+/*=== Notification and actualize notification */
+.notification {
+	position: absolute;
+	top: 1em;
+	left: 25%; right: 25%;
+	z-index: 10;
+	background: #fff;
+	border: 1px solid #aaa;
+	opacity: 1;
+	visibility: visible;
+	transition: visibility 0s, opacity .3s linear;
+}
+
+.notification.closed {
+	opacity: 0;
+	visibility: hidden;
+}
+
+.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;
+}
+
+/*=== Popup */
+#popup {
+	display: none;
+	position: fixed;
+	z-index: 1;
+	left: 0;
+	top: 0;
+	width: 100%;
+	height: 100%;
+	overflow: auto;
+	background-color: #eee;
+	background-color: rgba(0,0,0,0.4);
+}
+
+#popup-content {
+	margin: 5rem auto;
+	display: table;
+	width: 80%;
+	height: 80%;
+	overflow: hidden;
+	background-color: #fafafa;
+	border-radius: .25rem;
+	box-shadow: 0 0 1px #737373, 1px 2px 3px #4a4a4f;
+}
+
+.popup-row {
+	display: table-row;
+	width: 100%;
+}
+
+#popup-close {
+	float: right;
+	width: 27px;
+	height: 27px;
+	padding-bottom: 5px;
+	color: #aaa;
+	font-size: 28px;
+	font-weight: bold;
+}
+
+#popup-close:hover,
+#popup-close:focus {
+	color: #000;
+	text-decoration: none;
+	cursor: pointer;
+}
+
+#popup-txt {
+	display: none;
+	height: 100%;
+}
+
+#popup-iframe-container {
+	display: none;
+	height: 100%;
+}
+
+#popup-iframe-sub {
+	padding: 10px;
+	height: 100%;
+}
+
+#popup-iframe {
+	width: 100%;
+	height: 100%;
+}
+
+/*=== Navigation menu (for articles) */
+#nav_entries {
+	background: #fff;
+	display: table;
+	position: fixed;
+	bottom: 0; left: 0;
+	width: 300px;
+	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 {
+	margin: 0 0 100% 0;
+	margin: 0 0 100vh 0;
+	padding: 1em 0 50px 0;
+	display: block;
+	width: 100%;
+	text-align: center;
+	font-size: 1.4em;
+}
+
+.bigTick {
+	display: none!important;
+}
+
+/*=== Statistiques */
+.stat {
+	margin: 15px 0;
+}
+
+.stat.half {
+	padding: 0 2%;
+	display: inline-block;
+	width: 46%;
+}
+
+.stat > table {
+	width: 100%;
+}
+
+.statGraph {
+	height: 300px;
+}
+
+/*=== LOGIN VIEW */
+/*================*/
+.formLogin .header > .item {
+	padding: 10px 30px;
+}
+
+.formLogin .header > .item.title {
+	text-align: left;
+}
+
+.formLogin .header > .item.configure {
+	text-align: right;
+}
+
+
+/*=== GLOBAL VIEW */
+/*================*/
+#stream.global {
+	text-align: center;
+}
+
+#stream.global .box {
+	text-align: left;
+}
+
+#global > #panel {
+	bottom: 99vh;
+	display: block;
+	transition: visibility .3s, bottom .3s;
+	visibility: hidden;
+}
+
+#global > #panel.visible {
+	bottom: 1em;
+	visibility: visible;
+}
+/*=== Panel */
+#overlay {
+	position: fixed;
+	top: 0; bottom: 0;
+	left: 0; right: 0;
+	background: rgba(0, 0, 0, 0.9);
+	opacity: 0;
+	transition: visibility .3s, opacity .3s;
+	visibility: hidden;
+}
+
+#overlay.visible {
+	opacity: 1;
+	visibility: visible;
+}
+
+#panel {
+	background: #fff;
+	display: none;
+	position: fixed;
+	top: 1em; bottom: 1em;
+	left: 2em; right: 2em;
+	overflow: auto;
+}
+
+#overlay .close {
+	position: fixed;
+	top: 0; bottom: 0;
+	left: 0; right: 0;
+	display: block;
+}
+
+#overlay .close img {
+	display: none;
+}
+
+/*=== Slider */
+#slider {
+	position: fixed;
+	top: 0; bottom: 0;
+	left: 100%; right: 0;
+	overflow: auto;
+	background: #171717;
+	border-left: 1px solid #333;
+	transition: left 200ms linear;
+}
+
+#slider.active {
+	left: 40%;
+}
+
+#close-slider {
+	position: fixed;
+	top: 0; bottom: 0;
+	left: 100%; right: 0;
+	cursor: pointer;
+}
+
+#close-slider.active {
+	left: 0;
+}
+
+/*=== SLIDESHOW */
+/*==============*/
+.slides {
+	padding: 0;
+	display: block;
+	max-width: 640px;
+	height: 320px;
+	border: 1px solid #aaa;
+	position: relative;
+	min-width: 260px;
+	margin-bottom: 30px;
+}
+
+.slides input {
+	display: none;
+}
+
+.slide-container {
+	display: block;
+}
+
+.slide {
+	display: block;
+	width: 100%;
+	height: 100%;
+	top: 0;
+	opacity: 0;
+	position: absolute;
+	transform: scale(0);
+	transition: all .7s ease-in-out;
+}
+
+.slide img {
+	width: 100%;
+	height: 100%;
+}
+
+.nav label {
+	padding: 0;
+	display: none;
+	width: 10%;
+	height: 100%;
+	color: #0062b7;
+	font-family: "Varela Round", sans-serif;
+	font-size: 1000%;
+	position: absolute;
+	opacity: 0;
+	z-index: 9;
+	cursor: pointer;
+	transition: opacity .2s;
+	text-align: center;
+	line-height: 225%;
+	background-color: rgba(255, 255, 255, .3);
+	text-shadow: 0px 0px 15px rgb(119, 119, 119);
+}
+
+.properties {
+	padding: 5px;
+	background: rgba(255, 255, 255, 0.7);
+	display: none;
+	color: #000;
+	border-top: 1px solid #aaa;
+	bottom: 0;
+	left: 0; right: 0;
+	position: absolute;
+	z-index: 10;
+}
+
+.properties .page-number {
+	right: 5px;
+	top: 0;
+	position: absolute;
+}
+
+.slide:hover + .nav label {
+	opacity: 0.5;
+}
+
+.nav label:hover {
+	opacity: 1;
+}
+
+.nav .next {
+	right: 0;
+}
+
+input:checked + .slide-container .slide {
+	opacity: 1;
+	transform: scale(1);
+	transition: opacity 1s ease-in-out;
+}
+
+input:checked + .slide-container .nav label {
+	display: block;
+}
+
+input:checked + .slide-container .properties {
+	display: block;
+}
+
+/*=== DIVERS */
+/*===========*/
+.category .title:not([data-unread="0"])::after {
+	content: attr(data-unread);
+}
+
+.category .title.error::before {
+	content: "⚠ ";
+	color: #bd362f;
+}
+
+.feed .item-title:not([data-unread="0"])::before {
+	content: "(" attr(data-unread) ") ";
+}
+
+.feed .item-title:not([data-unread="0"]) {
+	font-weight: bold;
+}
+
+.state_unread .category:not(.active)[data-unread="0"],
+.state_unread .feed:not(.active)[data-unread="0"] {
+	display: none;
+}
+
+.nav-login,
+.nav_menu .search,
+.aside .toggle_aside,
+.nav_menu .toggle_aside {
+	display: none;
+}
+
+.enclosure [download] {
+	font-size: xx-large;
+	margin-left: .8em;
+}
+
+pre.enclosure-description {
+	white-space: pre-line;
+}
+
+/*=== READER */
+/*===========*/
+.reader .nav_menu .toggle_aside {
+	display: inline-block;
+}
+
+.reader .aside .toggle_aside {
+	display: block;
+	width: 100%;
+}
+
+.reader .aside {
+	width: 0;
+}
+
+.reader .aside:target {
+	width: 300px;
+}
+
+.reader .aside .stick {
+	display: none;
+}
+
+/*=== MOBILE */
+/*===========*/
+
+@media (max-width: 840px) {
+	.header,
+	.aside .btn-important,
+	.flux_header .item.website span,
+	.item.date, .day .date,
+	.dropdown-menu > .no-mobile,
+	.no-mobile {
+		display: none;
+	}
+
+	.dropdown .dropdown-menu {
+		width: 100%;
+		border-radius: 0;
+		bottom: 0;
+		position: fixed;
+	}
+
+	.dropdown-menu::after {
+		display: none;
+	}
+
+	.aside .toggle_aside,
+	.nav-login {
+		display: block;
+	}
+
+	.nav_menu .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%;
+	}
+
+	.flux_header .item.website {
+		width: 40px;
+	}
+
+	.flux:not(.current):hover .item.title {
+		background: #333;
+		position: relative;
+		width: auto;
+		white-space: nowrap;
+	}
+
+	.notification {
+		top: 0;
+		left: 0;
+		right: 0;
+	}
+
+	#nav_entries {
+		width: 100%;
+	}
+
+	#panel {
+		top: 25px; bottom: 30px;
+		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;
+	}
+}
+
+/*=== PREVIEW */
+/*===========*/
+.preview_controls {
+	margin-left: auto;
+	margin-right: auto;
+	padding: 1rem;
+	max-width: 1000px;
+	text-align: center;
+	background-color: #eee;
+	border: 1px solid #e0e0e0;
+	border-radius: .25rem;
+}
+
+.preview_controls label {
+	display: inline;
+}
+
+.preview_controls label input[type="radio"] {
+	margin-top: -4px;
+}
+
+.preview_controls label + label {
+	margin-left: 1rem;
+}
+
+.preview_background {
+	background-color: transparent;
+}

TEMPAT SAMPAH
p/themes/Alternative-Dark/thumbs/original.png