Przeglądaj źródła

Add Swage Theme (#2069)

* Add Swage Theme

Add a new Theme to FreshRSS

* Update Credits

Add additional line to Credits

* CSS Fixes

Fix glitches in CSS.

* Add Missing Icon

Add Icon was missing from theme.
Patrick Crandol 7 lat temu
rodzic
commit
7de31bb956

+ 1 - 0
CREDITS.md

@@ -46,6 +46,7 @@ People are sorted by name so please keep this order.
 * [Nicolas Lœuillet](https://github.com/nicosomb): [contributions](https://github.com/FreshRSS/documentation/commits?author=nicosomb), [Web](http://www.loeuillet.org/)
 * [Nicola Spanti](https://github.com/RyDroid): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:RyDroid), [Web](http://www.nicola-spanti.info/)
 * [Olivier Dossmann](https://github.com/blankoworld): [contributions](https://github.com/FreshRSS/FreshRSS/commits?author=blankoworld), [Web](https://olivier.dossmann.net)
+* [Patrick Crandol](https://github.com/pattems): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:pattems)
 * [perrinjerome](https://github.com/perrinjerome): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:perrinjerome)
 * [plopoyop](https://github.com/plopoyop): [contributions](https://github.com/FreshRSS/FreshRSS/commits?author=plopoyop)
 * [Paulius Šukys](https://github.com/psukys): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:psukys), [Web](http://sukys.eu)

+ 7 - 0
p/themes/Swage/icons/add.svg

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<g transform="translate(-60 -726)">
+<path class="st0" d="m67 729.5v3c0 0.3-0.2 0.5-0.5 0.5h-3c-0.3 0-0.5 0.2-0.5 0.5v1c0 0.3 0.2 0.5 0.5 0.5h3c0.3 0 0.5 0.2 0.5 0.5v3c0 0.3 0.2 0.5 0.5 0.5h1c0.3 0 0.5-0.2 0.5-0.5v-3c0-0.3 0.2-0.5 0.5-0.5h3c0.3 0 0.5-0.2 0.5-0.5v-1c0-0.3-0.2-0.5-0.5-0.5h-3c-0.3 0-0.5-0.2-0.5-0.5v-3c0-0.3-0.2-0.5-0.5-0.5h-1c-0.3 0-0.5 0.2-0.5 0.5z"/>
+</g>
+</svg>

+ 7 - 0
p/themes/Swage/icons/all.svg

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css"> .st0{fill:#FFFFFF;}</style>
+<rect class="st0" width="16" height="2.6"/>
+<rect class="st0" y="6.7" width="16" height="2.6"/>
+<rect class="st0" y="13.4" width="16" height="2.6"/>
+</svg>

+ 6 - 0
p/themes/Swage/icons/bookmark-add.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<polygon class="st0" points="16 5.3 13.7 5.3 13.7 3 12 3 12 5.3 9.8 5.3 9.8 6.9 12 6.9 12 9.2 13.7 9.2 13.7 6.9 16 6.9"/>
+<path class="st0" d="M11,10.2V7.9H8.8V4.3H11V2h1.8V1.7c0-1-0.8-1.7-1.7-1.7H2.5c-1,0-1.7,0.8-1.7,1.7l0,13.9L6.8,13l6.1,2.6v-5.4 H11z"/>
+</svg>

+ 6 - 0
p/themes/Swage/icons/bookmark.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFD255;}</style>
+<path class="st0" d="M8,12.6l4.9,3L11.6,10L16,6.2l-5.7-0.5L8,0.4L5.8,5.7L0,6.2L4.4,10l-1.3,5.6L8,12.6z"/>
+</svg>
+

+ 12 - 0
p/themes/Swage/icons/category.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}
+</style>
+<rect class="st0" y="5.9" width="3.8" height="3.8"/>
+<rect class="st0" x="5.9" y="5.9" width="10.1" height="3.8"/>
+<rect class="st0" width="3.8" height="3.8"/>
+<rect class="st0" x="5.9" width="10.1" height="3.8"/>
+<rect class="st0" y="11.8" width="3.8" height="3.8"/>
+<rect class="st0" x="5.9" y="11.8" width="10.1" height="3.8"/>
+</svg>
+

+ 12 - 0
p/themes/Swage/icons/configure.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">
+        .st0{fill:none;}
+        .st1{fill:#FFFFFF;}
+</style>
+<path class="st0" d="M-2-1h20v20H-2V-1z"/>
+<path class="st1" d="M13.9,8.8C14,8.5,14,8.3,14,8s0-0.5-0.1-0.8l1.7-1.3c0.1-0.1,0.2-0.3,0.1-0.5l-1.6-2.8  c-0.1-0.2-0.3-0.2-0.5-0.2l-2,0.8c-0.4-0.3-0.9-0.6-1.4-0.8L10,0.3C10,0.1,9.8,0,9.6,0H6.4C6.2,0,6,0.1,6,0.3L5.7,2.5  
+C5.2,2.7,4.8,2.9,4.4,3.2l-2-0.8C2.2,2.4,2,2.4,1.9,2.6L0.3,5.4C0.2,5.6,0.2,5.8,0.4,5.9l1.7,1.3C2,7.5,2,7.7,2,8s0,0.5,0.1,0.8  l-1.7,1.3c-0.2,0.1-0.2,0.3-0.1,0.5l1.6,2.8c0.1,0.2,0.3,0.2,0.5,0.2l2-0.8c0.4,0.3,0.9,0.6,1.3,0.8L6,15.7C6,15.9,6.2,16,6.4,16  
+h3.2c0.2,0,0.4-0.1,0.4-0.3l0.3-2.1c0.5-0.2,0.9-0.5,1.4-0.8l2,0.8c0.2,0.1,0.4,0,0.5-0.2l1.6-2.8c0.1-0.2,0.1-0.4-0.1-0.5         C15.6,10.1,14,8.8,13.9,8.8z M8,11c-1.6,0-3-1.4-3-3s1.4-3,3-3s3,1.4,3,3S9.6,11,8,11z"/>
+</svg>
+

+ 6 - 0
p/themes/Swage/icons/down.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<path class="st0" d="m12.2 5.3l-4.2 6.6-4.2-6.6h8.4m3.6-2h-15.6l7.8 12.3 7.8-12.3z"/>
+</svg>
+

+ 5 - 0
p/themes/Swage/icons/error.svg

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#B0425B;}</style>
+<path class="st0" d="M0,16h16L8,2.2L0,16z M8.7,13.8H7.3v-1.5h1.5V13.8z M8.7,10.9H7.3V8h1.5V10.9z"/>
+</svg>

+ 14 - 0
p/themes/Swage/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>

+ 6 - 0
p/themes/Swage/icons/import.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<path class="st0" d="M15,16v-2H1v2H15z M15,6h-4V0H5v6H1l7,7L15,6z"/>
+</svg>
+

+ 5 - 0
p/themes/Swage/icons/next.svg

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+        <path class="st0" d="m5.2 7l4 2.5-4 2.5v-5m-2-3.7v12.3l9.7-6.1-9.7-6.2z"/>
+</svg>

+ 6 - 0
p/themes/Swage/icons/non-starred.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#DDDDDD;}</style>
+<path class="st0" d="m16 6.2l-5.7-0.5-2.3-5.3-2.2 5.3-5.8 0.5 4.4 3.8-1.3 5.6 4.9-3 4.9 3-1.3-5.6 4.4-3.8zm-8 4.9l-3 1.8 0.8-3.4-2.7-2.3 3.5-0.3 1.4-3.2 1.4 3.2 3.5 0.3-2.7 2.3 0.8 3.4-3-1.8z"/>
+</svg>
+

+ 6 - 0
p/themes/Swage/icons/prev.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<path class="st0" d="m10.8 6.9v5l-3.9-2.5 3.9-2.5m2-3.6l-9.6 6.1 9.6 6.2v-12.3z"/>
+</svg>
+

+ 5 - 0
p/themes/Swage/icons/read.svg

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#DDDDDD;}</style>
+<path class="st0" d="M15.9,6c0-0.6-0.3-1.1-0.7-1.4L8,0.4L0.8,4.6C0.3,4.9,0,5.4,0,6v8c0,0.9,0.7,1.6,1.6,1.6h12.8,c0.9,0,1.6-0.7,1.6-1.6L15.9,6z M8,10L1.4,5.9L8,2l6.6,3.9L8,10z"/>
+</svg>

+ 6 - 0
p/themes/Swage/icons/refresh.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<path class="st0" d="M13.5,2.4C12.1,1,10.1,0.1,8,0.1c-4.3,0-7.7,3.5-7.7,7.7s3.5,7.7,7.7,7.7c3.6,0,6.6-2.5,7.5-5.8h-2,c-0.8,2.3-2.9,3.9-5.5,3.9c-3.2,0-5.8-2.6-5.8-5.8S4.8,2.1,8,2.1c1.6,0,3,0.7,4.1,1.7L9,6.9h6.8V0.1L13.5,2.4z"/>
+</svg>
+

+ 7 - 0
p/themes/Swage/icons/rss.svg

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<circle class="st0" cx="2.4" cy="13.4" r="2.2"/>
+<path class="st0" d="m0.2 0v2.8c7 0 12.7 5.7 12.7 12.7h2.8c0.1-8.5-6.9-15.5-15.5-15.5zm0 5.7v2.8c3.9 0 7.1 3.2 7.1 7.1h2.8c0-5.5-4.4-9.9-9.9-9.9z"/>
+</svg>
+

+ 6 - 0
p/themes/Swage/icons/starred.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFD255;}</style>
+<path class="st0" d="M8,12.6l4.9,3L11.6,10L16,6.2l-5.7-0.5L8,0.4L5.8,5.7L0,6.2L4.4,10l-1.3,5.6L8,12.6z"/>
+</svg>
+

+ 6 - 0
p/themes/Swage/icons/unread.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FF6633;}</style>
+<path class="st0" d="m14.4 2.8h-12.8c-0.9 0-1.6 0.6-1.6 1.5v9.7c0 0.9 0.7 1.6 1.6 1.6h12.8c0.9 0 1.6-0.7 1.6-1.6v-9.7c0.1-0.9-0.7-1.5-1.6-1.5zm0 3.1l-6.4 4.1-6.4-4v-1.7l6.4 4 6.4-4v1.6z"/>
+</svg>
+

+ 6 - 0
p/themes/Swage/icons/up.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<path class="st0" d="M8,7l4.2,6.6H3.8L8,7 M8,3.3L0.2,15.6h15.6L8,3.3L8,3.3z"/>
+</svg>
+

+ 6 - 0
p/themes/Swage/icons/view-global.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<path class="st0" d="M0.2,8.7h6.9V0H0.2V8.7z M0.2,15.6h6.9v-5.2H0.2V15.6z M8.9,15.6h6.9V6.9H8.9V15.6z M8.9,0v5.2h6.9V0H8.9z"/>
+</svg>
+

+ 8 - 0
p/themes/Swage/icons/view-normal.svg

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<rect class="st0" width="16" height="2.6"/>
+<rect class="st0" y="6.5" width="16" height="2.6"/>
+<rect class="st0" y="13" width="16" height="2.6"/>
+</svg>
+

+ 6 - 0
p/themes/Swage/icons/view-reader.svg

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new 0 0 16 16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+<style type="text/css">.st0{fill:#FFFFFF;}</style>
+<path class="st0" d="M8.7,7.3h5.1v1.4H8.7V7.3z M8.7,5h5.1v1.4H8.7V5z M8.7,9.6h5.1V11H8.7V9.6z M14.5,0H1.5C0.7,0,0,0.8,0,1.8v11.9,c0,1,0.7,1.8,1.5,1.8h13.1c0.8,0,1.5-0.8,1.5-1.8V1.8C16,0.8,15.3,0,14.5,0z M14.5,13.8H8V1.8h6.5V13.8z"/>
+</svg>
+

BIN
p/themes/Swage/loader.gif


+ 7 - 0
p/themes/Swage/metadata.json

@@ -0,0 +1,7 @@
+{
+  "name": "Swage",
+  "author": "Patrick Crandol",
+  "description": "A Fresh take on the interface, inspired by the Flat Theme.",
+  "version": 1.0,
+  "files": ["_template.css", "swage.css"]
+}

Plik diff jest za duży
+ 0 - 0
p/themes/Swage/swage.css


+ 1134 - 0
p/themes/Swage/swage.scss

@@ -0,0 +1,1134 @@
+@charset "UTF-8";
+//colors
+
+$color_text:	#181621;
+$color_light:	#FCFCFC;
+$color_nav:		#0062be;
+$color_aside:	#22303d;
+$color_alert:	#FA8052;
+$color_good:	#5EAABF;
+$color_bad:		#B0425B;
+$color_stared:	#FFF6DA;
+$color_unread:	#FFF3ED;
+$color_hover:	#FFFFFF;
+
+// @extend-elements
+%input {
+	min-height: 25px;
+	margin-top: 4px;
+	line-height: 25px;
+	vertical-align: middle;
+	background: $color_light;
+	border: none;
+	padding-left: 5px;
+}
+
+%invalid {
+	color: $color_bad;
+	border-color: $color_bad;
+	box-shadow: none;
+}
+
+%nav-list {
+	height: 2.5em;
+	line-height: 2.5em;
+	font-size: 0.9rem;
+}
+
+%dropdown {
+	padding: 0 22px;
+	line-height: 2.5em;
+	font-size: 0.8rem;
+	color: $color_light;
+}
+
+%after {
+	content: "";
+	display: block;
+	clear: both;
+}
+
+// /@extend-elements
+html,
+body {
+	height: 100%;
+	font-family: Helvetica, Arial, sans-serif;
+}
+
+a {
+	color: darken( $color_nav, 10%);
+	outline: none;
+	&.btn {
+		min-height: 25px;
+		line-height: 25px;
+		text-decoration: none;
+		&:hover {
+			background: darken( $color_nav, 10%);
+		}
+	}
+}
+
+img {
+	&.icon:hover {
+		background: none;
+	}
+}
+
+div#stream {
+	margin-top: 35px;
+}
+
+sup {
+	top: -0.3em;
+}
+
+legend {
+	display: inline-block;
+	width: auto;
+	margin: 20px 0 5px;
+	padding: 5px 20px;
+	font-size: 1.4em;
+	clear: both;
+	background: darken( $color_light, 10%);
+}
+
+label {
+	min-height: 25px;
+	cursor: pointer;
+	color: $color_light;
+}
+
+textarea {
+	width: 360px;
+	height: 100px;
+	@extend %input;
+	&:focus {
+		color: darken ( $color_light, 40% );;
+		border-color: darken( $color_nav, 10%);
+	}
+}
+
+input,
+select {
+	@extend %input;
+	&:focus {
+		color: darken ( $color_light, 40% );;
+		border-color: darken( $color_nav, 10%);
+	}
+	&:invalid {
+		@extend %invalid;
+	}
+	&:disabled {
+		background: $color_light;
+	}
+}
+
+input {
+	&.extend {
+		transition: width 200ms linear;
+	}
+}
+
+option {
+	padding: 0 .5em;
+}
+
+table {
+	border-collapse: collapse;
+}
+
+tr,
+td,
+th {
+	padding: 0.5em;
+	border: 1px solid darken( $color_light, 10%);
+}
+
+th {
+	background: $color_light;
+}
+
+form {
+	td,
+	th {
+		font-weight: normal;
+		text-align: center;
+	}
+}
+.category {
+	.title.error::before {
+		display: inline-block;
+		padding-right: 7px;
+		width: 16px;
+		content: url(../Swage/icons/error.svg);
+	}
+}
+
+
+.form-group {
+	padding: 5px;
+	border: 1px solid transparent;
+	&:hover {
+		background: $color_light;
+		border: 1px solid $color_light;
+	}
+	&.form-actions {
+		margin: 15px 0 25px;
+		padding: 5px 0;
+		background: darken( $color_light, 10%);
+		border-top: 3px solid darken( $color_light, 10%);
+		.btn {
+			margin: 0 10px;
+		}
+	}
+	.group-name {
+		padding: 10px 0;
+		text-align: right;
+	}
+	.group-controls {
+		min-height: 25px;
+		padding: 5px 0;
+		.control {
+			line-height: 2.0em;
+		}
+	}
+	table {
+		margin: 10px 0 0 220px;
+	}
+}
+
+.form-group::after {
+	@extend %after;
+}
+
+.stick {
+	vertical-align: middle;
+	font-size: 0;
+}
+
+.btn {
+	display: inline-block;
+	min-height: 35px;
+	min-width: 15px;
+	margin: 0;
+	padding: 5px 10px;
+	font-size: 0.9rem;
+	vertical-align: middle;
+	cursor: pointer;
+	overflow: hidden;
+	background: $color_nav;
+	border: none;
+	color: $color_light;
+	&.active,
+	:active,
+	:hover {
+		background: darken( $color_nav, 10%);
+		text-decoration: none;
+	}
+}
+
+.btn-important, .btn-attention {
+	font-weight: normal;
+	background: $color_alert;
+	color: $color_light;
+	&:hover,
+	:active {
+		background: darken( $color_alert, 10%) !important;
+	}
+}
+
+.nav-list {
+	.nav-header {
+		@extend %nav-list;
+		padding: 0 10px;
+		font-weight: bold;
+		background: $color_aside;
+		color: $color_light;
+	}
+	.item {
+		@extend %nav-list;
+		&:hover,
+		.active {
+			background: darken( $color_nav, 10%);
+			color: $color_light;
+			a {
+				color: $color_light;
+			}
+			&.empty a,
+			.error a {
+				color: $color_light;
+			}
+			&.empty a {
+				background: $color_alert;
+			}
+			&.error a {
+				background: lighten( $color_bad, 10%);;
+			}
+		}
+		> a {
+			padding: 0 10px;
+		}
+		&.empty a {
+			color: $color_alert;
+		}
+		&.error a {
+			color: lighten( $color_bad, 10%);;
+		}
+	}
+	.disable {
+		text-align: center;
+		background: $color_light;
+		color: darken ( $color_light, 40% );;
+	}
+	.nav-form {
+		padding: 3px;
+		text-align: center;
+	}
+	a:hover {
+		text-decoration: none;
+	}
+}
+
+.nav-head {
+	margin: 0;
+	text-align: right;
+	background: $color_aside;
+	color: $color_light;
+	a {
+		color: $color_light;
+	}
+	.item {
+		padding: 5px 10px;
+		font-size: 0.9rem;
+		line-height: 1.5rem;
+	}
+}
+
+.horizontal-list {
+	margin: 0;
+	padding: 0;
+	.item {
+		vertical-align: middle;
+	}
+}
+
+.dropdown-menu {
+	padding: 5px 0;
+	font-size: 0.8rem;
+	text-align: left;
+	border: none;
+	background-color: darken( $color_nav, 10%);
+	> {
+		.item {
+			@extend %dropdown;
+			padding: 0;
+			margin-left: 10px;
+			> a,
+			> span,
+			> as-link,
+			button {
+				@extend %dropdown;
+			}
+			> a {
+				min-width: initial;
+			} 
+			&:hover {
+				background: $color_nav;
+				color: $color_light;
+				> a {
+					text-decoration: none;
+					color: $color_light;
+				}
+			}
+		}
+		.item[aria-checked="true"] > a::before {
+			font-weight: bold;
+			margin: 0 0 0 -14px;
+		}
+	}
+	.input {
+		select,
+		input {
+			margin: 0 auto 5px;
+			padding: 2px 5px;
+		}
+	}
+}
+
+.dropdown-header {
+	padding: 0 5px 5px;
+	font-weight: bold;
+	text-align: left;
+	color: $color_light;
+}
+
+.separator {
+	margin: 5px 0;
+	border-bottom: 1px solid darken( $color_light, 10%);
+}
+
+.alert {
+	margin: 5px auto;
+	padding: 10px 15px;
+	font-size: 0.9em;
+	background: $color_light;
+	border: none;
+	color: darken ( $color_light, 40% );;
+	text-shadow: 0 0 1px $color_light;
+	> a {
+		text-decoration: underline;
+		color: inherit;
+	}
+}
+
+.alert-head {
+	font-size: 1.15em;
+}
+
+.alert-warn,
+.alert-success,
+.alert-error {
+	border: none;
+}
+
+.alert-warn {
+	background: $color_light;
+	color: $color_alert;
+}
+
+.alert-success {
+	background: $color_light;
+	color: $color_good;
+}
+
+.alert-error {
+	background: $color_light;
+	color: $color_bad;
+}
+
+.pagination {
+	text-align: center;
+	font-size: 0.8em;
+	background: darken( $color_light, 10%);
+	color: $color_text;
+	.item {
+		&.pager-current {
+			font-weight: bold;
+			font-size: 1.5em;
+			background: $color_aside;
+			color: darken( $color_light, 10%);
+		}
+		a {
+			display: block;
+			font-style: italic;
+			line-height: 3em;
+			text-decoration: none;
+			color: $color_text;
+			&:hover {
+				background: $color_aside;
+				color: darken( $color_light, 10%);
+			}
+		}
+	}
+	.loading,
+	a:hover.loading {
+		font-size: 0;
+		background: url(loader.gif) center center no-repeat $color_aside;
+	}
+}
+
+.content {
+	padding: 20px 10px;
+	.pagination {
+		margin: 0;
+		padding: 0;
+	}
+	hr {
+		margin: 30px 10px;
+		height: 1px;
+		background: darken( $color_light, 10%);
+		border: 0;
+		box-shadow: 0 2px 5px darken( $color_light, 10%);
+	}
+	pre {
+		margin: 10px auto;
+		padding: 10px 20px;
+		overflow: auto;
+		background: $color_text;
+		color: $color_light;
+		font-size: 0.9rem;
+		code {
+			background: transparent;
+			color: $color_light;
+			border: none;
+		}
+	}
+	code {
+		padding: 2px 5px;
+		color: $color_bad;
+		background: $color_light;
+		border: 1px solid $color_light;
+	}
+	blockquote {
+		display: block;
+		margin: 0;
+		padding: 5px 20px;
+		border-top: 1px solid darken( $color_light, 10%);
+		border-bottom: 1px solid darken( $color_light, 10%);
+		background: $color_light;
+		color: darken ( $color_light, 40% );;
+		p {
+			margin: 0;
+		}
+	}
+	> h1.title > a {
+		color: $color_text;
+	}
+}
+
+.box {
+	border: 1px solid darken( $color_light, 10%);
+	.box-title {
+		margin: 0;
+		padding: 5px 10px;
+		background: darken( $color_light, 10%);
+		color: darken ( $color_light, 40% );;
+		border-bottom: 1px solid darken( $color_light, 10%);
+	}
+	.box-content {
+		max-height: 260px;
+		.item {
+			padding: 0 10px;
+			font-size: 0.9rem;
+			line-height: 2.5em;
+			.configure {
+				visibility: hidden;
+				.icon {
+					vertical-align: middle;
+					background-color: darken( $color_light, 10%);
+				}
+			}
+			&:hover .configure {
+				visibility: visible;
+			}
+		}
+	}
+	&.category {
+		.box-title .title {
+			font-weight: normal;
+			text-decoration: none;
+			text-align: left;
+		}
+		&:not([data-unread="0"]) .box-title {
+			background: $color_nav;
+			&:active {
+				background: darken( $color_nav, 10%);
+			}
+			.title {
+				font-weight: bold;
+				color: $color_light;
+			}
+		}
+		.title:not([data-unread="0"])::after {
+			position: absolute;
+			top: 5px;
+			right: 10px;
+			border: 0;
+			background: none;
+			font-weight: bold;
+			box-shadow: none;
+			text-shadow: none;
+		}
+		.item.feed {
+			padding: 2px 10px;
+			font-size: 0.8rem;
+		}
+	}
+}
+
+.tree {
+	margin: 10px 0;
+}
+
+.tree-folder-title {
+	position: relative;
+	padding: 0 10px;
+	background: $color_aside;
+	line-height: 2.3rem;
+	font-size: 1rem;
+	height: 35px;
+	.title {
+		background: inherit;
+		color: $color_light;
+		&:hover {
+			text-decoration: none;
+		}
+	}
+}
+
+.tree-folder-items {
+	background: $color_aside;
+	> .item {
+		padding: 0 10px;
+		line-height: 2.5rem;
+		font-size: 0.8rem;
+		&.active {
+			background: darken( $color_nav, 10%);
+		}
+		> a {
+			text-decoration: none;
+			color: $color_light;
+		}
+	}
+}
+
+.header {
+	> .item {
+		vertical-align: middle;
+		&.title {
+			width: 231px;
+			position: absolute;
+			h1 {
+				margin: 0;
+				display: block;
+				a {
+					text-decoration: none;
+					color: $color_light;
+				}
+			}
+			.logo {
+				display: inline-block;
+				height: 26px;
+				vertical-align: top;
+				position: relative;
+				top: 5px;
+			}
+		}
+		&.search input {
+			width: 230px;
+		}
+	}
+	.item.search input:focus {
+		width: 350px;
+	}
+	.item.search {
+		display: none;
+	}
+	.item.configure {
+		position: fixed;
+		right: 0px;
+		z-index: 1000;
+		width: 35px;
+	}
+	h1 {
+		text-align: center;
+		font-size: 1.5em;
+	}
+}
+
+.aside {
+	background: $color_aside;
+	padding: 35px 0;
+	width: 231px;
+	&.aside_feed {
+		.tree {
+			margin: 0 0 50px;
+		}
+		.nav-form {
+			input,
+			select {
+				width: 140px;
+			}
+			.dropdown {
+				.dropdown-menu {
+					right: -20px;
+				}
+				.dropdown-menu::after {
+					right: 33px;
+				}
+			}
+		}
+	}
+}
+
+.aside_feed {
+	.tree-folder-title > .title:not([data-unread="0"])::after {
+		position: absolute;
+		right: 0;
+		margin: 6px 0;
+		padding: 0 10px;
+		font-size: 0.9rem;
+		line-height: 1.5rem;
+		background: inherit;
+	}
+	.tree-folder-items .dropdown-menu::after {
+		left: 2px;
+	}
+}
+
+.post {
+	padding: 10px 50px;
+	font-size: 0.9em;
+	form {
+		margin: 10px 0;
+	}
+	&.content {
+		max-width: 550px;
+	}
+}
+
+.prompt {
+	text-align: center;
+	label {
+		text-align: left;
+	}
+	form {
+		margin: 10px auto 20px auto;
+		width: 200px;
+	}
+	input {
+		margin: 5px auto;
+		width: 100%;
+	}
+	p {
+		margin: 20px 0;
+	}
+}
+
+#new-article {
+	text-align: center;
+	font-size: 1em;
+	background: $color_nav;
+	position: fixed;
+	bottom: 48px;
+	z-index: 900;
+	left: 0;
+	width: 231px;
+	line-height: 1.5em;
+	&:hover {
+		background: darken( $color_nav, 10%);
+	}
+	> a {
+		line-height: 1.5em;
+		font-weight: bold;
+		color: $color_light;
+		&:hover {
+			text-decoration: none;
+		}
+	}
+}
+
+.day {
+	padding: 0 10px;
+	font-weight: bold;
+	line-height: 3em;
+	text-align: center;
+	.name {
+		display: none;
+	}
+}
+
+.nav {
+	a {
+		color: $color_light;
+	}
+}
+
+
+.nav_menu {
+	font-size: 0;
+	background-color: $color_nav;
+	position: fixed;
+	width: 100%;
+	z-index: 900;
+	.item.search {
+		display: inline-block;
+		position: fixed;
+		right: 40px;
+	}
+}
+
+.flux {
+	padding-right: 10px;
+	background: $color_light;
+	&::after {
+		@extend %after;
+		margin: 0 auto;
+		width: 90%;
+		border-top: 1px solid darken( $color_light, 10%);
+	}
+	&:hover,
+	.current {
+		background: $color_hover;
+		&:not(.current):hover .item.title {
+			background: $color_hover;
+		}
+	}
+	&.not_read {
+		background: $color_unread;
+		&:not(.current):hover .item.title {
+			background: $color_unread;
+		}
+	}
+	&.favorite,{
+		background: $color_stared;
+		&:not(.current):hover .item.title {
+			background: $color_stared;
+		}
+	}
+	.date {
+		font-size: 0.7rem;
+		color: darken ( $color_light, 40% );;
+	}
+	.bottom {
+		font-size: 0.8rem;
+		text-align: center;
+	}
+	.website .favicon {
+		padding: 5px;
+	}
+}
+
+.flux_header {
+	font-size: 0.8rem;
+	cursor: pointer;
+	.title {
+		font-size: 0.9rem;
+	}
+}
+
+.notification {
+	text-align: center;
+	font-weight: bold;
+	font-size: 1em;
+	padding: 10px 0;
+	z-index: 10;
+	vertical-align: middle;
+	background: darken( $color_light, 10%);
+	color: darken ( $color_light, 40% );;
+	border: none;
+	position: fixed;
+	bottom: 48px;
+	left: 0;
+	top: auto;
+	width: 231px;
+	height: auto;
+	&.good,
+	.bad {
+		color: $color_light;
+	}
+	&.good {
+		background: $color_good;
+		a.close:hover {
+			background: $color_good;
+		}
+	}
+	&.bad {
+		background: lighten( $color_bad, 10%);;
+		a.close:hover {
+			background: lighten( $color_bad, 10%);;
+		}
+	}
+	&#actualizeProgress {
+		line-height: 2em;
+	}
+	a.close {
+		display: none;
+	}
+}
+
+#bigMarkAsRead {
+	text-align: center;
+	text-decoration: none;
+	background: darken( $color_light, 10%);
+	padding: 20px !IMPORTANT;
+	&:hover {
+		background: $color_aside;
+		color: $color_light;
+	}
+}
+
+#nav_entries {
+	margin: 0;
+	text-align: center;
+	line-height: 3em;
+	table-layout: fixed;
+	width: 231px;
+	background: $color_aside;
+}
+
+.stat {
+	margin: 10px 0 20px;
+	th,
+	td,
+	tr {
+		border: none;
+	}
+	> table {
+		td,
+		th {
+			border-bottom: 1px solid darken( $color_light, 10%);
+		}
+	}
+	> .horizontal-list {
+		margin: 0 0 5px;
+		.item {
+			overflow: hidden;
+			white-space: nowrap;
+			text-overflow: ellipsis;
+			&:first-child {
+				width: 270px;
+			}
+		}
+	}
+}
+
+.loglist {
+	overflow: hidden;
+	border: 1px solid darken ( $color_light, 40% );;
+}
+
+.log {
+	margin: 10px 0;
+	padding: 5px 2%;
+	overflow: auto;
+	font-size: 0.8rem;
+	background: $color_light;
+	color: darken ( $color_light, 40% );;
+	> .date {
+		margin: 0 10px 0 0;
+		padding: 5px 10px;
+	}
+	&.error > .date {
+		background: lighten( $color_bad, 10%);;
+		color: $color_light;
+	}
+	&.warning > .date {
+		background: $color_alert;
+	}
+	&.notice > .date {
+		background: darken( $color_light, 10%);
+	}
+	&.debug > .date {
+		background: $color_text;
+		color: $color_light;
+	}
+}
+
+@media(max-width: 840px) {
+	.dropdown-header, .dropdown-menu > .item {
+		padding: 12px;
+	}
+	
+	#new-article {
+		width: 100%;
+		bottom: initial;
+	}
+	.header {
+		display: table;
+		.item.title .logo {
+			display: none;
+		}
+	}
+	.header > .item.title h1 a {
+		display: block;
+		position: absolute;
+		top: -35px;
+		left: 10px;
+		font-size: 0.6em;
+	}
+	.header .item.configure,
+	button.read_all.btn {
+		display: none;
+	}
+	.flux .item.manage,
+	.flux_header .item.website {
+		width: 35px;
+		text-align: center;
+	}
+	.aside {
+		width: 0;
+		transition: width 200ms linear;
+		.toggle_aside {
+			display: block;
+			height: 50px;
+			line-height: 50px;
+			text-align: right;
+			padding-right: 10px;
+			background: $color_aside;
+		}
+		&.aside_feed {
+			padding: 0;
+		}
+		&:target {
+			width: 78%;
+		}
+	}
+	.nav_menu {
+		position: initial;
+		height: 71px;
+		.btn {
+			margin: 5px 10px;
+		}
+		.stick {
+			margin: 0 10px;
+			.btn {
+				margin: 5px 0;
+			}
+		}
+		.search {
+			position: absolute !important;
+			top: 35px;
+			left: 55px;
+			input {
+				width: 85%;
+			}
+		}
+	}
+	.pagination {
+		margin: 0 0 3.5em;
+	}
+	#panel .close {
+		display: block;
+		height: 50px;
+		line-height: 50px;
+		text-align: right;
+		padding-right: 10px;
+		background: $color_aside;
+	}
+	.day .name {
+		font-size: 1.1rem;
+	}
+	.notification {
+		width: 100%;
+		a.close {
+			display: block;
+			left: 0;
+			background: transparent;
+			&:hover {
+				opacity: 0.5;
+			}
+			.icon {
+				display: none;
+			}
+		}
+	}
+	#nav_entries {
+		width: 100% !important;
+	}
+	div#stream {
+		margin-top: 0px;
+	}
+	a.btn.toggle_aside {
+		position: absolute;
+		top: 29px;
+	}
+	form#mark-read-menu,
+	a#actualize,
+	a#toggle-order,
+	div#nav_menu_actions,
+	div#nav_menu_views {
+		position: absolute;
+	}
+	form#mark-read-menu {
+		right: 46px;
+		top: 30px;
+		z-index: 1100;
+	}
+	a#actualize,
+	a#toggle-order {
+		right: 0px;
+	}
+	a#actualize {
+		top: 29px;
+	}
+	a#toggle-order,
+	div#nav_menu_actions,
+	div#nav_menu_views {
+		top: 65px;
+	}
+	div#nav_menu_actions {
+		left: 0px;
+	}
+	div#nav_menu_views {
+		right: 50px;
+	}
+}
+
+@media(max-width: 410px) {
+	.nav_menu .stick {
+		margin: 0;
+	}
+}
+
+@media(max-width: 374px) {
+	#nav_menu_views {
+		display: none;
+	}
+}
+
+button.as-link {
+	color: $color_light;
+	outline: none;
+}
+
+.dropdown-target:target ~ .btn.dropdown-toggle {
+	background: darken( $color_nav, 10%);
+}
+
+.tree-folder.active .tree-folder-title {
+	background: darken( $color_nav, 10%);
+	font-weight: bold;
+}
+
+.feed.item {
+	&.empty {
+		color: $color_alert;
+		&.active {
+			background: $color_alert;
+			color: $color_light;
+			> a {
+				color: $color_light;
+			}
+		}
+		> a {
+			color: $color_alert;
+		}
+	}
+	&.error {
+		color: lighten( $color_bad, 10%);;
+		&.active {
+			background: lighten( $color_bad, 10%);;
+			color: $color_light;
+			> a {
+				color: $color_light;
+			}
+		}
+		> a {
+			color: lighten( $color_bad, 10%);;
+		}
+	}
+}
+
+#dropdown-query ~ .dropdown-menu .dropdown-header .icon {
+	vertical-align: middle;
+	float: right;
+}
+
+#stream.reader .flux {
+	padding: 0 0 50px;
+	background: $color_light;
+	color: $color_aside;
+	border: none;
+	.author {
+		margin: 0 0 10px;
+		font-size: 90%;
+		color: darken ( $color_light, 40% );;
+	}
+}
+
+#nav_menu_actions, #nav_menu_read_all {
+	ul.dropdown-menu {
+    	left: 0px;
+	}
+}

BIN
p/themes/Swage/thumbs/original.png


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików