From abb25a58dc8668c6716c419c99b215536861057a Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Wed, 7 Aug 2013 11:46:55 +0200 Subject: Fix issue #86 : possibilité de changer de thème MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Désormais il est possible de créer des thèmes. Le thème peut être changé sur la page de configuration. Les thèmes sont détectés grâce à un fichier metadata.json détaillant le nom du thème, son auteur, une petite description et une version. Un nouveau thème "Flat design" a été ajouté et est pleinement fonctionnel --- public/theme/fallback.css | 65 ---- public/theme/fonts/openSans.woff | Bin 21956 -> 0 bytes public/theme/freshrss.css | 613 ------------------------------------- public/theme/global.css | 556 --------------------------------- public/theme/icons/add.png | Bin 246 -> 0 bytes public/theme/icons/add.svg | 30 -- public/theme/icons/all.png | Bin 223 -> 0 bytes public/theme/icons/all.svg | 32 -- public/theme/icons/category.png | Bin 294 -> 0 bytes public/theme/icons/category.svg | 31 -- public/theme/icons/close.png | Bin 405 -> 0 bytes public/theme/icons/close.svg | 28 -- public/theme/icons/configure.png | Bin 526 -> 0 bytes public/theme/icons/configure.svg | 31 -- public/theme/icons/down.png | Bin 460 -> 0 bytes public/theme/icons/down.svg | 31 -- public/theme/icons/help.png | Bin 687 -> 0 bytes public/theme/icons/help.svg | 32 -- public/theme/icons/link.png | Bin 719 -> 0 bytes public/theme/icons/link.svg | 33 -- public/theme/icons/login.png | Bin 333 -> 0 bytes public/theme/icons/login.svg | 33 -- public/theme/icons/logout.png | Bin 339 -> 0 bytes public/theme/icons/logout.svg | 33 -- public/theme/icons/next.png | Bin 373 -> 0 bytes public/theme/icons/next.svg | 31 -- public/theme/icons/non-starred.png | Bin 600 -> 0 bytes public/theme/icons/non-starred.svg | 32 -- public/theme/icons/note.png | Bin 427 -> 0 bytes public/theme/icons/note.svg | 30 -- public/theme/icons/note_empty.png | Bin 517 -> 0 bytes public/theme/icons/note_empty.svg | 30 -- public/theme/icons/previous.png | Bin 395 -> 0 bytes public/theme/icons/previous.svg | 31 -- public/theme/icons/read.png | Bin 656 -> 0 bytes public/theme/icons/read.svg | 31 -- public/theme/icons/refresh.png | Bin 577 -> 0 bytes public/theme/icons/refresh.svg | 31 -- public/theme/icons/rss.png | Bin 483 -> 0 bytes public/theme/icons/rss.svg | 32 -- public/theme/icons/search.png | Bin 571 -> 0 bytes public/theme/icons/search.svg | 32 -- public/theme/icons/share.png | Bin 541 -> 0 bytes public/theme/icons/share.svg | 34 -- public/theme/icons/starred.png | Bin 528 -> 0 bytes public/theme/icons/starred.svg | 32 -- public/theme/icons/tag.png | Bin 196 -> 0 bytes public/theme/icons/tag.svg | 134 -------- public/theme/icons/unread.png | Bin 434 -> 0 bytes public/theme/icons/unread.svg | 30 -- public/theme/icons/up.png | Bin 411 -> 0 bytes public/theme/icons/up.svg | 31 -- public/theme/loader.gif | Bin 4167 -> 0 bytes 53 files changed, 2089 deletions(-) delete mode 100644 public/theme/fallback.css delete mode 100644 public/theme/fonts/openSans.woff delete mode 100644 public/theme/freshrss.css delete mode 100644 public/theme/global.css delete mode 100644 public/theme/icons/add.png delete mode 100644 public/theme/icons/add.svg delete mode 100644 public/theme/icons/all.png delete mode 100644 public/theme/icons/all.svg delete mode 100644 public/theme/icons/category.png delete mode 100644 public/theme/icons/category.svg delete mode 100644 public/theme/icons/close.png delete mode 100644 public/theme/icons/close.svg delete mode 100644 public/theme/icons/configure.png delete mode 100644 public/theme/icons/configure.svg delete mode 100644 public/theme/icons/down.png delete mode 100644 public/theme/icons/down.svg delete mode 100644 public/theme/icons/help.png delete mode 100644 public/theme/icons/help.svg delete mode 100644 public/theme/icons/link.png delete mode 100644 public/theme/icons/link.svg delete mode 100644 public/theme/icons/login.png delete mode 100644 public/theme/icons/login.svg delete mode 100644 public/theme/icons/logout.png delete mode 100644 public/theme/icons/logout.svg delete mode 100644 public/theme/icons/next.png delete mode 100644 public/theme/icons/next.svg delete mode 100644 public/theme/icons/non-starred.png delete mode 100644 public/theme/icons/non-starred.svg delete mode 100644 public/theme/icons/note.png delete mode 100644 public/theme/icons/note.svg delete mode 100644 public/theme/icons/note_empty.png delete mode 100644 public/theme/icons/note_empty.svg delete mode 100644 public/theme/icons/previous.png delete mode 100644 public/theme/icons/previous.svg delete mode 100644 public/theme/icons/read.png delete mode 100644 public/theme/icons/read.svg delete mode 100644 public/theme/icons/refresh.png delete mode 100644 public/theme/icons/refresh.svg delete mode 100644 public/theme/icons/rss.png delete mode 100644 public/theme/icons/rss.svg delete mode 100644 public/theme/icons/search.png delete mode 100644 public/theme/icons/search.svg delete mode 100644 public/theme/icons/share.png delete mode 100644 public/theme/icons/share.svg delete mode 100644 public/theme/icons/starred.png delete mode 100644 public/theme/icons/starred.svg delete mode 100644 public/theme/icons/tag.png delete mode 100644 public/theme/icons/tag.svg delete mode 100644 public/theme/icons/unread.png delete mode 100644 public/theme/icons/unread.svg delete mode 100644 public/theme/icons/up.png delete mode 100644 public/theme/icons/up.svg delete mode 100644 public/theme/loader.gif (limited to 'public/theme') diff --git a/public/theme/fallback.css b/public/theme/fallback.css deleted file mode 100644 index 579b2eaa8..000000000 --- a/public/theme/fallback.css +++ /dev/null @@ -1,65 +0,0 @@ -.btn { - background: #fff; - background: -moz-linear-gradient(top, #fff 0%, #eee 100%); - background: -webkit-linear-gradient(top, #fff 0%, #eee 100%); - background: -o-linear-gradient(top, #fff 0%, #eee 100%); - background: -ms-linear-gradient(top, #fff 0%, #eee 100%); -} - .btn:hover { - background: #f0f0f0; - background: -moz-linear-gradient(top, #f8f8f8 0%, #f0f0f0 100%); - background: -webkit-linear-gradient(top, #f8f8f8 0%, #f0f0f0 100%); - background: -o-linear-gradient(top, #f8f8f8 0%, #f0f0f0 100%); - background: -ms-linear-gradient(top, #f8f8f8 0%, #f0f0f0 100%); - } - .btn.btn-important { - background: #0084CC; - background: -moz-linear-gradient(top, #0084CC 0%, #0045CC 100%); - background: -webkit-linear-gradient(top, #0084CC 0%, #0045CC 100%); - background: -o-linear-gradient(top, #0084CC 0%, #0045CC 100%); - background: -ms-linear-gradient(top, #0084CC 0%, #0045CC 100%); - } - .btn.btn-important:hover { - background: -moz-linear-gradient(top, #0066CC 0%, #0045CC 100%); - background: -webkit-linear-gradient(top, #0066CC 0%, #0045CC 100%); - background: -o-linear-gradient(top, #0066CC 0%, #0045CC 100%); - background: -ms-linear-gradient(top, #0066CC 0%, #0045CC 100%); - } - .btn.btn-attention { - background: #E95B57; - background: -moz-linear-gradient(top, #E95B57 0%, #BD362F 100%); - background: -webkit-linear-gradient(top, #E95B57 0%, #BD362F 100%); - background: -o-linear-gradient(top, #E95B57 0%, #BD362F 100%); - background: -ms-linear-gradient(top, #E95B57 0%, #BD362F 100%); - } - .btn.btn-attention:hover { - background: -moz-linear-gradient(top, #D14641 0%, #BD362F 100%); - background: -webkit-linear-gradient(top, #D14641 0%, #BD362F 100%); - background: -o-linear-gradient(top, #D14641 0%, #BD362F 100%); - background: -ms-linear-gradient(top, #D14641 0%, #BD362F 100%); - } - - -.nav-head { - background: #fff; - background: -moz-linear-gradient(top, #fff 0%, #f0f0f0 100%); - background: -webkit-linear-gradient(top, #fff 0%, #f0f0f0 100%); - background: -o-linear-gradient(top, #fff 0%, #f0f0f0 100%); - background: -ms-linear-gradient(top, #fff 0%, #f0f0f0 100%); -} - -.header > .item.search input { - -moz-transition: width 200ms linear; - -webkit-transition: width 200ms linear; - -o-transition: width 200ms linear; - -ms-transition: width 200ms linear; -} - -@media(max-width: 840px) { - .aside { - -moz-transition: width 200ms linear; - -webkit-transition: width 200ms linear; - -o-transition: width 200ms linear; - -ms-transition: width 200ms linear; - } -} diff --git a/public/theme/fonts/openSans.woff b/public/theme/fonts/openSans.woff deleted file mode 100644 index 55b25f867..000000000 Binary files a/public/theme/fonts/openSans.woff and /dev/null differ diff --git a/public/theme/freshrss.css b/public/theme/freshrss.css deleted file mode 100644 index 25b75f1f5..000000000 --- a/public/theme/freshrss.css +++ /dev/null @@ -1,613 +0,0 @@ -/* STRUCTURE */ -.header { - display: table; - width: 100%; - background: #f4f4f4; - table-layout: fixed; -} - .header > .item { - display: table-cell; - padding: 10px 0; - border-bottom: 1px solid #aaa; - vertical-align: middle; - text-align: center; - } - .header > .item.title { - width: 250px; - } - .header > .item.title .logo { - display: inline-block; - width: 32px; - padding: 10px; - } - .header > .item.title h1 { - display: inline-block; - margin: 0; - text-shadow: 1px -1px 0 #ccc; - vertical-align: bottom; - } - .header > .item.title a:hover { - text-decoration: none; - } - .header > .item.search input { - width: 200px; - transition: width 200ms linear; - } - .header .item.search input:focus { - width: 300px; - } - .header > .item.configure { - width: 100px; - } - -#global { - display: table; - width: 100%; - height: 100%; - background: #fafafa; - table-layout: fixed; -} - .aside { - display: table-cell; - height: 100%; - width: 250px; - vertical-align: top; - border-right: 1px solid #aaa; - background: #fff; - } - .aside .nav-form input { - width: 180px; - } - .aside.aside_flux { - padding: 10px 0 40px; - } - .aside.aside_feed .nav-form input { - width: 140px; - } - .aside.aside_feed .nav-form .dropdown .dropdown-menu { - right: -20px; - } - - .nav_menu { - width: 100%; - background: #fafafa; - border-bottom: 1px solid #aaa; - text-align: center; - padding: 5px 0; - } - -.favicon { - height: 16px; - width: 16px; -} - -.categories { - margin: 0; - padding: 0; - text-align: center; - list-style: none; -} - .categories .all, - .categories .favorites, - .categories .category { - display: block; - padding: 5px 0; - width: 220px; - margin: 5px auto; - text-align: left; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - .categories .all .btn, - .categories .favorites .btn, - .categories .category .btn:first-child { - width: 195px; - position: relative; - } - .categories .feeds { - width: 220px; - margin: 0 auto; - list-style: none; - } - .categories .feeds .item.active:after { - content: "⇢"; - line-height: 35px; - float: right; - } - .categories .feeds .item.error .feed { - color: #BD362F; - } - .categories .feeds .item .feed { - display: inline-block; - margin: 0; - width: 165px; - line-height: 35px; - font-size: 90%; - vertical-align: middle; - text-align: left; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - .categories .feeds .dropdown .dropdown-menu { - left: 0; - } - .categories .feeds .item .dropdown-toggle i { - background-image: none; - } - .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle i, - .categories .feeds .item:hover .dropdown-toggle i { - background-image: url("icons/configure.png"); - background-image: url("icons/configure.svg"); - } - .categories .notRead { - position: absolute; - top: 3px; right: 3px; - padding: 1px 5px; - background: #ccc; - color: #fff; - font-size: 90%; - border: 1px solid #bbb; - border-radius: 5px; - box-shadow: 1px 3px 3px #aaa inset; - text-shadow: 0 0 1px #aaa; - } - -.post { - padding: 10px 50px; -} - .post form { - margin: 10px 0; - } - -.day { - min-height: 50px; - padding: 0 10px; - font-size: 130%; - font-weight: bold; - line-height: 50px; - background: #fff; - border-top: 1px solid #aaa; - border-bottom: 1px solid #aaa; -} - .day:first-child { - border-top: none; - } - -.flux { - border-left: 10px solid #aaa; - background: #fafafa; -} - .flux:hover { - background: #fff; - } - .flux.active { - border-left: 10px solid #0062BE; - background: #fff; - } - .flux.not_read { - border-left: 10px solid #FF5300; - background: #FFF3ED; - } - .flux.favorite { - border-left: 10px solid #FFC300; - background: #FFF6DA; - } - - .flux_header { - height: 25px; - font-size: 12px; - line-height: 25px; - border-top: 1px solid #ddd; - } - .item.manage { - width: 80px; - white-space: nowrap; - font-size: 0px; - text-align: center; - } - .item.manage .read { - display: inline-block; - width: 40px; - height: 40px; - background: url("icons/read.png") center center no-repeat; - background: url("icons/read.svg") center center no-repeat; - vertical-align: middle; - } - .item.manage .read:hover { - text-decoration: none; - } - .flux.not_read .item.manage .read { - background: url("icons/unread.png") center center no-repeat; - background: url("icons/unread.svg") center center no-repeat; - } - .item.manage .bookmark { - display: inline-block; - width: 40px; - height: 40px; - background: url("icons/non-starred.png") center center no-repeat; - background: url("icons/non-starred.svg") center center no-repeat; - vertical-align: middle; - } - .item.manage .bookmark:hover { - text-decoration: none; - } - .flux.favorite .item.manage .bookmark { - background: url("icons/starred.png") center center no-repeat; - background: url("icons/starred.svg") center center no-repeat; - } - .flux_header .item.website { - width: 200px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - line-height: 40px; - } - .flux_header .item.website .favicon { - padding: 5px; - } - .flux_header .item.website a { - display: block; - height: 40px; - } - .flux_header .item.title { - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - cursor: pointer; - } - .flux.not_read .flux_header .item.title { - font-weight: bold; - } - .flux_header .item.date { - width: 200px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - text-align: right; - font-size: 10px; - color: #666; - cursor: pointer; - } - .flux_header .item.link { - width: 40px; - text-align: center; - } - .flux_header .item.link a { - display: inline-block; - width: 40px; - height: 40px; - background: url("icons/link.png") center center no-repeat; - background: url("icons/link.svg") center center no-repeat; - vertical-align: middle; - } - .flux_header .item.link a:hover { - text-decoration: none; - } - -#stream.reader .flux { - padding: 0 0 30px; - border: none; - background: #f0f0f0; - color: #333; -} - #stream.reader .flux .author { - margin: 0 0 10px; - font-size: 90%; - color: #666; - } - -#stream.global { - text-align: center; -} - #stream.global .category { - display: inline-block; - width: 280px; - margin: 20px 10px; - vertical-align: top; - background: #fff; - border: 1px solid #aaa; - border-radius: 5px; - text-align: left; - box-shadow: 0 0 5px #bbb; - } - #stream.global .cat_header { - height: 35px; - padding: 0 10px; - background: #eee; - border-bottom: 1px solid #aaa; - border-radius: 5px 5px 0 0; - line-height: 35px; - font-size: 120%; - } - #stream.global .cat_header a { - color: #333; - text-shadow: 0 -1px 0px #aaa; - } - #stream.global .category .feeds { - max-height: 250px; - margin: 0; - list-style: none; - overflow: auto; - } - #stream.global .category .feeds .item { - padding: 2px 10px; - font-size: 90%; - } - -.content { - min-height: 300px; - max-width: 550px; - margin: 0 auto; - padding: 20px 10px; - line-height: 170%; - word-wrap: break-word; -} - .content .title { - margin: 0 0 5px; - } - .content h1, .content h2, .content h3 { - margin: 20px 0 5px; - } - - .content p { - margin: 0 0 20px; - } - .content img.big { - display: block; - margin: 10px auto; - } - .content hr { - margin: 30px 0; - height: 1px; - background: #ddd; - border: 0; - } - .content pre { - margin: 10px auto; - padding: 10px; - overflow: auto; - background: #000; - color: #fff; - font-size: 110%; - } - .content q, .content blockquote { - display: block; - margin: 5px 0; - padding: 5px 20px; - font-style: italic; - border-left: 4px solid #ccc; - color: #666; - } - .content blockquote p { - margin: 0; - } - -.flux_content .bottom { - font-size: 90%; - text-align: center; -} - -/*** PAGINATION ***/ -.pagination { - display: table; - width: 100%; - margin: 0; - background: #fafafa; - text-align: center; - color: #333; - font-size: 80%; - line-height: 200%; - table-layout: fixed; -} - .pagination .item { - display: table-cell; - line-height: 40px; - } - .pagination .item.pager-current { - font-weight: bold; - font-size: 140%; - } - .pagination .item.pager-first, - .pagination .item.pager-previous, - .pagination .item.pager-next, - .pagination .item.pager-last { - width: 100px; - } - .pagination .item a { - display: block; - color: #333; - font-style: italic; - } - .pagination:first-child .item { - border-bottom: 1px solid #aaa; - } - .pagination:last-child .item { - border-top: 1px solid #aaa; - } - -.nav_entries { - display: table; - width: 250px; - height: 40px; - position: fixed; - bottom: 0; - left: 0; - margin: 0; - background: #fff; - border-top: 1px solid #ddd; - text-align: center; - line-height: 40px; - table-layout: fixed; -} - .nav_entries .item { - display: table-cell; - width: 30%; - } - .nav_entries .item a { - display: block; - } - .nav_entries .item .icon.i_up { - margin: 5px 0 0; - vertical-align: top; - } - -.loading { - background: url("loader.gif") center center no-repeat; - font-size: 0; -} - -/*** NOTIFICATION ***/ -.notification { - position: fixed; - bottom: 0; - left: 5%; right: 5%; - min-height: 30px; - padding: 10px; - line-height: 30px; - text-align: center; - border-radius: 5px 5px 0 0; - box-shadow: 0 0 5px #666; - background: #ddd; - color: #666; - font-weight: bold; -} - .notification.good { - background: #f4f899; - } - .notification.bad { - background: #f4a899; - } - .notification a.close { - display: inline-block; - width: 16px; - height: 16px; - float: right; - margin: -20px -20px 0 0; - padding: 5px; - background: #fff; - border-radius: 50px; - border: 1px solid #aaa; - line-height: 16px; - } - -.toggle_aside, .btn.toggle_aside { - display: none; -} - -.actualizeProgress { - position: fixed; - top: 0; left: 25%; right: 25%; - width: 50%; - padding: 5px; - background: #fff; - text-align: center; - border: 1px solid #ddd; - border-top: none; - border-radius: 0 0 5px 5px; -} - .actualizeProgress progress { - max-width: 100%; - vertical-align: middle; - } - .actualizeProgress .progress { - color: #999; - font-size: 90%; - vertical-align: middle; - } - -.logs { - border: 1px solid #aaa; -} - .logs .log { - padding: 5px 2%; - overflow: auto; - background: #fafafa; - border-bottom: 1px solid #999; - color: #333; - font-size: 90%; - } - .logs .log .date { - display: block; - } - .logs .log.error { - background: #fdd; - color: #844; - } - .logs .log.warning { - background: #ffe; - color: #c95; - } - .logs .log.notice { - background: #f4f4f4; - color: #aaa; - } - -@media(max-width: 840px) { - .header, - .aside .btn-important, - .aside .feeds .dropdown, - .flux_header .item.website span, - .flux_header .item.date { - display: none; - } - .flux_header .item.website { - width: 40px; - text-align: center; - } - .flux_header .item.website .favicon { - padding: 12px; - } - - .content { - font-size: 120%; - } - - .pagination { - margin: 0 0 40px; - } - .pagination .pager-previous, .pagination .pager-next { - width: 100px; - } - - .toggle_aside, .btn.toggle_aside { - display: inline-block; - } - .aside { - position: fixed; - top: 0; left: 0; - width: 0; - overflow: hidden; - border-right: none; - z-index: 10; - transition: width 200ms linear; - } - .aside.aside_flux { - padding: 10px 0 0; - } - .aside:target { - width: 80%; - border-right: 1px solid #aaa; - overflow: auto; - } - .aside .toggle_aside { - position: absolute; - right: 0; - display: inline-block; - width: 26px; - height: 26px; - margin: 0 10px 0 0; - border: 1px solid #ccc; - border-radius: 20px; - text-align: center; - line-height: 26px; - } - .aside .categories { - margin: 30px 0; - } - - .nav_entries { - width: 100%; - } -} diff --git a/public/theme/global.css b/public/theme/global.css deleted file mode 100644 index 3000bfe45..000000000 --- a/public/theme/global.css +++ /dev/null @@ -1,556 +0,0 @@ -/* FONTS */ -@font-face { - font-family: "OpenSans"; - src: url("fonts/openSans.woff") format("woff"); -} - - -* { - margin: 0; - padding: 0; -} -html, body { - height: 100%; - font-size: 95%; - font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "sans-serif"; -} - -/* LIENS */ -a { - color: #0062BE; - text-decoration: none; -} - a:hover { - text-decoration: underline; - } - -/* LISTES */ -ul, ol, dl { - margin: 10px 0 10px 30px; - line-height: 190%; -} - dd { - margin: 0 0 10px 30px; - } - -/* TITRES */ -h1, h2, h3 { - min-height: 40px; - margin: 15px 0 5px; - line-height: 40px; -} - -/* IMG */ -img { - height: auto; - max-width: 100%; - vertical-align: middle; -} - a img { - border: none; - } - -/* VIDEOS */ -iframe, embed, object, video { - max-width: 100%; -} - -/* FORMULAIRES */ -legend { - display: block; - width: 100%; - margin: 20px 0 5px; - padding: 5px 0; - border-bottom: 1px solid #ddd; - font-size: 150%; - clear: both; -} -label { - display: block; - min-height: 25px; - padding: 5px 0; - font-size: 14px; - line-height: 25px; - cursor: pointer; -} -input, select, textarea { - display: inline-block; - max-width: 100%; - min-height: 25px; - padding: 5px; - background: #fdfdfd; - border: 1px solid #bbb; - border-radius: 3px; - color: #666; - line-height: 25px; - vertical-align: middle; - box-shadow: 0 2px 2px #eee inset; -} - input[type="radio"], - input[type="checkbox"] { - width: 15px !important; - min-height: 15px !important; - } - input:focus, select:focus, textarea:focus { - color: #0062BE; - border-color: #33BBFF; - box-shadow: 0 2px 2px #DDDDFF inset; - } - -.form-group { - margin: 0; - clear: both; -} - .form-group.form-actions { - min-width: 250px; - padding: 5px 0; - background: #f4f4f4; - border-top: 1px solid #ddd; - } - .form-group.form-actions .btn { - margin: 0 10px; - } - .form-group .group-name { - display: block; - float: left; - width: 200px; - padding: 10px 0; - text-align: right; - } - .form-group .group-controls { - min-width: 250px; - min-height: 25px; - margin: 0 0 0 220px; - padding: 5px 0; - } - .form-group .group-controls .control { - display: block; - min-height: 30px; - padding: 5px 0; - line-height: 25px; - font-size: 14px; - } - -.stick { - display: inline-block; - white-space: nowrap; - font-size: 0px; - vertical-align: middle; -} - .stick input { - border-radius: 0; - font-size: 14px; - } - .stick .btn { - border-radius: 0; - font-size: 14px; - } - .stick .btn:first-child, - .stick input:first-child { - border-radius: 3px 0 0 3px; - } - .stick .btn.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 input + .btn, - .stick input + input { - border-left: none; - } - .stick input + .btn { - border-top: 1px solid #bbb; - } - .stick .btn + .dropdown > .btn { - border-left: none; - border-radius: 0 3px 3px 0; - } - .stick .btn + .dropdown a { - font-size: 12px; - } - -.btn { - display: inline-block; - min-height: 37px; - min-width: 15px; - padding: 5px 10px; - background: linear-gradient(to bottom, #fff 0%, #eee 100%); - border-radius: 3px; - border: 1px solid #ddd; - border-bottom: 1px solid #aaa; - border-right: 1px solid #aaa; - color: #666; - text-shadow: 0px -1px 0 #ddd; - line-height: 20px; - vertical-align: middle; - cursor: pointer; - overflow: hidden; -} - a.btn { - min-height: 25px; - line-height: 25px; - } - .btn:hover { - background: linear-gradient(to bottom, #f8f8f8, #f0f0f0); - text-decoration: none; - } - .btn.active, - .btn:active { - box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa; - background: #eee; - } - - .btn.btn-important { - background: linear-gradient(to bottom, #0084CC, #0045CC); - color: #fff; - border: 1px solid #0062B7; - text-shadow: 0px -1px 0 #aaa; - } - .btn.btn-important:hover { - background: linear-gradient(to bottom, #0066CC, #0045CC); - } - .btn.btn-important:active { - background: #0044CB; - box-shadow: none; - } - - .btn.btn-attention { - background: linear-gradient(to bottom, #E95B57, #BD362F); - color: #fff; - border: 1px solid #C44742; - text-shadow: 0px -1px 0px #666; - } - .btn.btn-attention:hover { - background: linear-gradient(to bottom, #D14641, #BD362F); - } - .btn.btn-attention:active { - background: #BD362F; - box-shadow: none; - } - -/* NAVIGATION */ -.nav.nav-list .nav-header, -.nav.nav-list .item { - display: block; - height: 35px; - line-height: 35px; -} - .nav.nav-list .item:hover { - background: #fafafa; - } - .nav.nav-list .item:hover a { - color: #003388; - } - .nav.nav-list .item.active { - background: #0062BE; - color: #fff; - } - .nav.nav-list .item.active a { - color: #fff; - } - .nav.nav-list .disable { - color: #aaa; - background: #fafafa; - text-align: center; - } - .nav.nav-list .item > * { - display: block; - padding: 0 10px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - .nav.nav-list a:hover { - text-decoration: none; - } - .nav.nav-list .item.error a { - color: #BD362F; - } - .nav.nav-list .item.active.error a { - color: #fff; - background: #BD362F; - } - - .nav.nav-list .nav-header { - padding: 0 10px; - color: #888; - background: #f4f4f4; - border-bottom: 1px solid #ddd; - font-weight: bold; - text-shadow: 0 0 1px #ddd; - } - .nav.nav-list .separator { - display: block; - height: 0; - margin: 5px 0; - border-bottom: 1px solid #ddd; - } - - .nav.nav-list .nav-form { - padding: 3px; - text-align: center; - } - -.nav-head { - display: block; - margin: 0; - background: linear-gradient(to bottom, #fff, #f0f0f0); - border-bottom: 1px solid #ddd; - text-align: right; -} - .nav-head .item { - display: inline-block; - padding: 5px 10px; - } - -/* HORIZONTAL-LIST */ -.horizontal-list { - display: table; - table-layout: fixed; - margin: 0; - padding: 0; - width: 100%; -} - .horizontal-list .item { - display: table-cell; - vertical-align: middle; - } - -/* DROPDOWN */ -.dropdown { - position: relative; - display: inline-block; -} - .dropdown .dropdown-target { - display: none; - } - - .dropdown .dropdown-menu { - display: none; - min-width: 200px; - margin: 5px 0 0; - padding: 5px 0; - position: absolute; - right: 0px; - background: #fff; - border: 1px solid #ddd; - border-radius: 5px; - text-align: left; - box-shadow: 3px 3px 3px #ddd; - } - .dropdown .dropdown-menu .dropdown-header { - display: block; - padding: 0 5px; - color: #888; - font-weight: bold; - font-size: 14px; - line-height: 30px; - } - .dropdown .dropdown-menu .item { - display: block; - height: 30px; - font-size: 90%; - line-height: 30px; - } - .dropdown .dropdown-menu .item > * { - display: block; - padding: 0 25px; - line-height: 30px; - } - .dropdown .dropdown-menu .item:hover { - background: #0062BE; - color: #fff; - } - .dropdown .dropdown-menu .item:hover > * { - color: #fff; - text-decoration: none; - } - .dropdown .dropdown-menu .input { - display: block; - height: 40px; - font-size: 90%; - line-height: 30px; - } - .dropdown .dropdown-menu .input input { - display: block; - height: 20px; - width: 95%; - margin: auto; - padding: 2px 5px; - border-radius: 3px; - } - .dropdown .dropdown-menu .separator { - display: block; - height: 0; - margin: 5px 0; - border-bottom: 1px solid #ddd; - } - .dropdown .dropdown-target:target ~ .dropdown-menu { - display: block; - z-index: 10; - } - .dropdown .dropdown-close { - display: inline-block; - position: absolute; - top: -16px; right: -16px; - width: 26px; - height: 26px; - background: #fff; - border-radius: 50px; - border: 1px solid #ddd; - line-height: 26px; - text-align: center; - } - .dropdown .dropdown-close a { - display: block; - width: 100%; - height: 100%; - } - .dropdown .dropdown-close:hover { - background: #f4f4f4; - } - -/* ALERTS */ -.alert { - display: block; - width: 90%; - margin: 15px auto; - padding: 10px 15px; - background: #f4f4f4; - border: 1px solid #ccc; - border-right: 1px solid #aaa; - border-bottom: 1px solid #aaa; - border-radius: 5px; - color: #aaa; - text-shadow: 0 0 1px #eee; -} - .alert .alert-head { - margin: 0; - font-weight: bold; - font-size: 110%; - } - .alert.alert-warn { - background: #ffe; - border: 1px solid #eeb; - color: #c95; - } - .alert.alert-success { - background: #dfd; - border: 1px solid #cec; - color: #484; - } - .alert.alert-error { - background: #fdd; - border: 1px solid #ecc; - color: #844; - } - -/* ICONES */ -.icon { - display: inline-block; - width: 16px; - height: 16px; - vertical-align: middle; - line-height: 16px; - background: center center no-repeat; -} - .icon.i_refresh { - background-image: url("icons/refresh.png"); - background-image: url("icons/refresh.svg"); - } - .icon.i_bookmark { - background-image: url("icons/starred.png"); - background-image: url("icons/starred.svg"); - } - .icon.i_not_bookmark { - background-image: url("icons/unstarred.png"); - background-image: url("icons/unstarred.svg"); - } - .icon.i_read { - background-image: url("icons/read.png"); - background-image: url("icons/read.svg"); - } - .icon.i_unread { - background-image: url("icons/unread.png"); - background-image: url("icons/unread.svg"); - } - .icon.i_all { - background-image: url("icons/all.png"); - background-image: url("icons/all.svg"); - } - .icon.i_close { - background-image: url("icons/close.png"); - background-image: url("icons/close.svg"); - } - .icon.i_search { - background-image: url("icons/search.png"); - background-image: url("icons/search.svg"); - } - .icon.i_configure { - background-image: url("icons/configure.png"); - background-image: url("icons/configure.svg"); - } - .icon.i_login { - background-image: url("icons/login.png"); - background-image: url("icons/login.svg"); - } - .icon.i_logout { - background-image: url("icons/logout.png"); - background-image: url("icons/logout.svg"); - } - .icon.i_add { - background-image: url("icons/add.png"); - background-image: url("icons/add.svg"); - } - .icon.i_link { - background-image: url("icons/link.png"); - background-image: url("icons/link.svg"); - } - .icon.i_down { - background-image: url("icons/down.png"); - background-image: url("icons/down.svg"); - } - .icon.i_up { - background-image: url("icons/up.png"); - background-image: url("icons/up.svg"); - } - .icon.i_next { - background-image: url("icons/next.png"); - background-image: url("icons/next.svg"); - } - .icon.i_prev { - background-image: url("icons/previous.png"); - background-image: url("icons/previous.svg"); - } - .icon.i_help { - background-image: url("icons/help.png"); - background-image: url("icons/help.svg"); - } - .icon.i_note { - background-image: url("icons/note.png"); - background-image: url("icons/note.svg"); - } - .icon.i_note_empty { - background-image: url("icons/note_empty.png"); - background-image: url("icons/note_empty.svg"); - } - .icon.i_category { - background-image: url("icons/category.png"); - background-image: url("icons/category.svg"); - } - .icon.i_rss { - background-image: url("icons/rss.png"); - background-image: url("icons/rss.svg"); - } - .icon.i_share { - background-image: url("icons/share.png"); - background-image: url("icons/share.svg"); - } - .icon.i_tag { - background-image: url("icons/tag.png"); - background-image: url("icons/tag.svg"); - } diff --git a/public/theme/icons/add.png b/public/theme/icons/add.png deleted file mode 100644 index 90cdf4830..000000000 Binary files a/public/theme/icons/add.png and /dev/null differ diff --git a/public/theme/icons/add.svg b/public/theme/icons/add.svg deleted file mode 100644 index 425c9b4aa..000000000 --- a/public/theme/icons/add.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/public/theme/icons/all.png b/public/theme/icons/all.png deleted file mode 100644 index b0dbe5483..000000000 Binary files a/public/theme/icons/all.png and /dev/null differ diff --git a/public/theme/icons/all.svg b/public/theme/icons/all.svg deleted file mode 100644 index 2180f7a4b..000000000 --- a/public/theme/icons/all.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/public/theme/icons/category.png b/public/theme/icons/category.png deleted file mode 100644 index e3a9bf34b..000000000 Binary files a/public/theme/icons/category.png and /dev/null differ diff --git a/public/theme/icons/category.svg b/public/theme/icons/category.svg deleted file mode 100644 index 71f95490e..000000000 --- a/public/theme/icons/category.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/public/theme/icons/close.png b/public/theme/icons/close.png deleted file mode 100644 index 452f1d1cf..000000000 Binary files a/public/theme/icons/close.png and /dev/null differ diff --git a/public/theme/icons/close.svg b/public/theme/icons/close.svg deleted file mode 100644 index c0c786fd6..000000000 --- a/public/theme/icons/close.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Gnome Symbolic Icon Theme - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - - diff --git a/public/theme/icons/configure.png b/public/theme/icons/configure.png deleted file mode 100644 index 8c6fb531c..000000000 Binary files a/public/theme/icons/configure.png and /dev/null differ diff --git a/public/theme/icons/configure.svg b/public/theme/icons/configure.svg deleted file mode 100644 index 52df8bca7..000000000 --- a/public/theme/icons/configure.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/public/theme/icons/down.png b/public/theme/icons/down.png deleted file mode 100644 index 5a647245f..000000000 Binary files a/public/theme/icons/down.png and /dev/null differ diff --git a/public/theme/icons/down.svg b/public/theme/icons/down.svg deleted file mode 100644 index 06d031fae..000000000 --- a/public/theme/icons/down.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/public/theme/icons/help.png b/public/theme/icons/help.png deleted file mode 100644 index aa63c5411..000000000 Binary files a/public/theme/icons/help.png and /dev/null differ diff --git a/public/theme/icons/help.svg b/public/theme/icons/help.svg deleted file mode 100644 index b103ec46d..000000000 --- a/public/theme/icons/help.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/public/theme/icons/link.png b/public/theme/icons/link.png deleted file mode 100644 index de2b187d7..000000000 Binary files a/public/theme/icons/link.png and /dev/null differ diff --git a/public/theme/icons/link.svg b/public/theme/icons/link.svg deleted file mode 100644 index ddc8e0706..000000000 --- a/public/theme/icons/link.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - diff --git a/public/theme/icons/login.png b/public/theme/icons/login.png deleted file mode 100644 index cebe0cf7d..000000000 Binary files a/public/theme/icons/login.png and /dev/null differ diff --git a/public/theme/icons/login.svg b/public/theme/icons/login.svg deleted file mode 100644 index 0a8af162f..000000000 --- a/public/theme/icons/login.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - diff --git a/public/theme/icons/logout.png b/public/theme/icons/logout.png deleted file mode 100644 index 49255fccd..000000000 Binary files a/public/theme/icons/logout.png and /dev/null differ diff --git a/public/theme/icons/logout.svg b/public/theme/icons/logout.svg deleted file mode 100644 index 284a67578..000000000 --- a/public/theme/icons/logout.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - diff --git a/public/theme/icons/next.png b/public/theme/icons/next.png deleted file mode 100644 index ab3490c3b..000000000 Binary files a/public/theme/icons/next.png and /dev/null differ diff --git a/public/theme/icons/next.svg b/public/theme/icons/next.svg deleted file mode 100644 index 72637b4e6..000000000 --- a/public/theme/icons/next.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/public/theme/icons/non-starred.png b/public/theme/icons/non-starred.png deleted file mode 100644 index 4aafb6d8a..000000000 Binary files a/public/theme/icons/non-starred.png and /dev/null differ diff --git a/public/theme/icons/non-starred.svg b/public/theme/icons/non-starred.svg deleted file mode 100644 index 346717f78..000000000 --- a/public/theme/icons/non-starred.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/public/theme/icons/note.png b/public/theme/icons/note.png deleted file mode 100644 index d819ebd02..000000000 Binary files a/public/theme/icons/note.png and /dev/null differ diff --git a/public/theme/icons/note.svg b/public/theme/icons/note.svg deleted file mode 100644 index 117b999f7..000000000 --- a/public/theme/icons/note.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/public/theme/icons/note_empty.png b/public/theme/icons/note_empty.png deleted file mode 100644 index c26ad2b16..000000000 Binary files a/public/theme/icons/note_empty.png and /dev/null differ diff --git a/public/theme/icons/note_empty.svg b/public/theme/icons/note_empty.svg deleted file mode 100644 index 93092f4a4..000000000 --- a/public/theme/icons/note_empty.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/public/theme/icons/previous.png b/public/theme/icons/previous.png deleted file mode 100644 index 10e40669e..000000000 Binary files a/public/theme/icons/previous.png and /dev/null differ diff --git a/public/theme/icons/previous.svg b/public/theme/icons/previous.svg deleted file mode 100644 index 67685c50c..000000000 --- a/public/theme/icons/previous.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/public/theme/icons/read.png b/public/theme/icons/read.png deleted file mode 100644 index a402689c7..000000000 Binary files a/public/theme/icons/read.png and /dev/null differ diff --git a/public/theme/icons/read.svg b/public/theme/icons/read.svg deleted file mode 100644 index 932bfd860..000000000 --- a/public/theme/icons/read.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/public/theme/icons/refresh.png b/public/theme/icons/refresh.png deleted file mode 100644 index dba399981..000000000 Binary files a/public/theme/icons/refresh.png and /dev/null differ diff --git a/public/theme/icons/refresh.svg b/public/theme/icons/refresh.svg deleted file mode 100644 index 11728fc5d..000000000 --- a/public/theme/icons/refresh.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/public/theme/icons/rss.png b/public/theme/icons/rss.png deleted file mode 100644 index c20455af0..000000000 Binary files a/public/theme/icons/rss.png and /dev/null differ diff --git a/public/theme/icons/rss.svg b/public/theme/icons/rss.svg deleted file mode 100644 index ceaddceee..000000000 --- a/public/theme/icons/rss.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/public/theme/icons/search.png b/public/theme/icons/search.png deleted file mode 100644 index 48e7373c4..000000000 Binary files a/public/theme/icons/search.png and /dev/null differ diff --git a/public/theme/icons/search.svg b/public/theme/icons/search.svg deleted file mode 100644 index acfb364cc..000000000 --- a/public/theme/icons/search.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/public/theme/icons/share.png b/public/theme/icons/share.png deleted file mode 100644 index 74c4c5dda..000000000 Binary files a/public/theme/icons/share.png and /dev/null differ diff --git a/public/theme/icons/share.svg b/public/theme/icons/share.svg deleted file mode 100644 index 443321882..000000000 --- a/public/theme/icons/share.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - - - diff --git a/public/theme/icons/starred.png b/public/theme/icons/starred.png deleted file mode 100644 index a6c076358..000000000 Binary files a/public/theme/icons/starred.png and /dev/null differ diff --git a/public/theme/icons/starred.svg b/public/theme/icons/starred.svg deleted file mode 100644 index 0944a7726..000000000 --- a/public/theme/icons/starred.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - - diff --git a/public/theme/icons/tag.png b/public/theme/icons/tag.png deleted file mode 100644 index cb1a13833..000000000 Binary files a/public/theme/icons/tag.png and /dev/null differ diff --git a/public/theme/icons/tag.svg b/public/theme/icons/tag.svg deleted file mode 100644 index 688aca7a4..000000000 --- a/public/theme/icons/tag.svg +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/public/theme/icons/unread.png b/public/theme/icons/unread.png deleted file mode 100644 index ab6e3fb39..000000000 Binary files a/public/theme/icons/unread.png and /dev/null differ diff --git a/public/theme/icons/unread.svg b/public/theme/icons/unread.svg deleted file mode 100644 index 9219b5083..000000000 --- a/public/theme/icons/unread.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - diff --git a/public/theme/icons/up.png b/public/theme/icons/up.png deleted file mode 100644 index 8bfc2fb13..000000000 Binary files a/public/theme/icons/up.png and /dev/null differ diff --git a/public/theme/icons/up.svg b/public/theme/icons/up.svg deleted file mode 100644 index dab31a20d..000000000 --- a/public/theme/icons/up.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - image/svg+xml - - Gnome Symbolic Icon Theme - - - - - - - Gnome Symbolic Icon Theme - - - - - - - - - - - - - - diff --git a/public/theme/loader.gif b/public/theme/loader.gif deleted file mode 100644 index 5ff26f0e3..000000000 Binary files a/public/theme/loader.gif and /dev/null differ -- cgit v1.2.3