aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-10-31 18:15:47 +0100
committerGravatar GitHub <noreply@github.com> 2019-10-31 18:15:47 +0100
commit3aa66f317b496ccd9a2df914bbc747c52081a7ad (patch)
tree6a3f3f74899801abdca00546e213dfdc141c53cf /p
parent82611c9622ed23b0e9fcf5f9f651ddffa1fd7706 (diff)
parentfcae48f313d399050cb15f37a8a73ae52fc67796 (diff)
Merge pull request #2599 from FreshRSS/dev1.15.0
FreshRSS 1.15
Diffstat (limited to 'p')
-rw-r--r--p/api/fever.php7
-rw-r--r--p/api/greader.php37
-rw-r--r--p/ext.php17
-rw-r--r--p/f.php10
-rw-r--r--p/scripts/api.js2
-rw-r--r--p/scripts/bcrypt.min.js2
-rw-r--r--p/scripts/category.js25
-rw-r--r--p/scripts/extra.js40
-rw-r--r--p/scripts/flotr2.min.js2
-rw-r--r--p/scripts/global_view.js2
-rw-r--r--p/scripts/install.js2
-rw-r--r--p/scripts/main.js28
-rw-r--r--p/scripts/repartition.js2
-rw-r--r--p/scripts/stats.js2
-rw-r--r--p/themes/.gitignore1
-rw-r--r--p/themes/Ansum/_components.scss617
-rw-r--r--p/themes/Ansum/_configuration.scss151
-rw-r--r--p/themes/Ansum/_divers.scss2
-rw-r--r--p/themes/Ansum/_fonts.scss115
-rw-r--r--p/themes/Ansum/_forms.scss234
-rw-r--r--p/themes/Ansum/_global-view.scss133
-rw-r--r--p/themes/Ansum/_layout.scss741
-rw-r--r--p/themes/Ansum/_list-view.scss144
-rw-r--r--p/themes/Ansum/_logs.scss9
-rw-r--r--p/themes/Ansum/_mixins.scss88
-rw-r--r--p/themes/Ansum/_mobile.scss290
-rw-r--r--p/themes/Ansum/_reader-view.scss3
-rw-r--r--p/themes/Ansum/_sidebar.scss480
-rw-r--r--p/themes/Ansum/_stats.scss3
-rw-r--r--p/themes/Ansum/_tables.scss2
-rw-r--r--p/themes/Ansum/_variables.scss14
-rw-r--r--p/themes/Ansum/ansum.css392
-rw-r--r--p/themes/Ansum/ansum.css.map7
-rw-r--r--p/themes/Ansum/ansum.scss31
-rw-r--r--p/themes/BlueLagoon/BlueLagoon.css585
-rw-r--r--p/themes/Dark/dark.css348
-rw-r--r--p/themes/Flat/flat.css301
-rw-r--r--p/themes/Mapco/_components.scss616
-rw-r--r--p/themes/Mapco/_configuration.scss151
-rw-r--r--p/themes/Mapco/_divers.scss2
-rw-r--r--p/themes/Mapco/_fonts.scss115
-rw-r--r--p/themes/Mapco/_forms.scss234
-rw-r--r--p/themes/Mapco/_global-view.scss133
-rw-r--r--p/themes/Mapco/_layout.scss741
-rw-r--r--p/themes/Mapco/_list-view.scss145
-rw-r--r--p/themes/Mapco/_logs.scss9
-rw-r--r--p/themes/Mapco/_mixins.scss92
-rw-r--r--p/themes/Mapco/_mobile.scss288
-rw-r--r--p/themes/Mapco/_reader-view.scss3
-rw-r--r--p/themes/Mapco/_sidebar.scss466
-rw-r--r--p/themes/Mapco/_stats.scss3
-rw-r--r--p/themes/Mapco/_tables.scss2
-rw-r--r--p/themes/Mapco/_variables.scss20
-rw-r--r--p/themes/Mapco/mapco.css444
-rw-r--r--p/themes/Mapco/mapco.css.map7
-rw-r--r--p/themes/Mapco/mapco.scss31
-rw-r--r--p/themes/Origine-compact/origine-compact.css387
-rw-r--r--p/themes/Origine/origine.css368
-rw-r--r--p/themes/Pafat/pafat.css330
-rw-r--r--p/themes/Screwdriver/screwdriver.css581
-rw-r--r--p/themes/Swage/icons/read.svg6
-rw-r--r--p/themes/Swage/icons/view-reader.svg7
-rw-r--r--p/themes/Swage/swage.css1730
-rw-r--r--p/themes/Swage/swage.scss340
-rw-r--r--p/themes/base-theme/base.css177
-rw-r--r--p/themes/base-theme/template.css249
-rw-r--r--p/themes/p.css7
67 files changed, 6961 insertions, 5592 deletions
diff --git a/p/api/fever.php b/p/api/fever.php
index b81646928..94d3a3b3d 100644
--- a/p/api/fever.php
+++ b/p/api/fever.php
@@ -95,7 +95,7 @@ class FeverDAO extends Minz_ModelPdo
$sql = 'SELECT id, guid, title, author, '
. ($entryDAO->isCompressed() ? 'UNCOMPRESS(content_bin) AS content' : 'content')
. ', link, date, is_read, is_favorite, id_feed '
- . 'FROM `' . $this->prefix . 'entry` WHERE';
+ . 'FROM `_entry` WHERE';
if (!empty($entry_ids)) {
$bindEntryIds = $this->bindParamArray('id', $entry_ids, $values);
@@ -120,7 +120,7 @@ class FeverDAO extends Minz_ModelPdo
$sql .= $order;
$sql .= ' LIMIT 50';
- $stm = $this->bd->prepare($sql);
+ $stm = $this->pdo->prepare($sql);
$stm->execute($values);
$result = $stm->fetchAll(PDO::FETCH_ASSOC);
@@ -165,9 +165,12 @@ class FeverAPI
$user_conf = get_user_configuration($username);
if ($user_conf != null && $feverKey === $user_conf->feverKey) {
FreshRSS_Context::$user_conf = $user_conf;
+ Minz_Translate::init(FreshRSS_Context::$user_conf->language);
$this->entryDAO = FreshRSS_Factory::createEntryDao();
$this->feedDAO = FreshRSS_Factory::createFeedDao();
return true;
+ } else {
+ Minz_Translate::init();
}
Minz_Log::error('Fever API: Reset API password for user: ' . $username, API_LOG);
Minz_Log::error('Fever API: Please reset your API password!');
diff --git a/p/api/greader.php b/p/api/greader.php
index 3d628c855..66888b0ef 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -43,11 +43,7 @@ if (PHP_INT_SIZE < 8) { //32-bit
}
}
-if (version_compare(PHP_VERSION, '5.4.0') >= 0) {
- define('JSON_OPTIONS', JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
-} else {
- define('JSON_OPTIONS', 0);
-}
+define('JSON_OPTIONS', JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
function headerVariable($headerName, $varName) {
$header = '';
@@ -81,9 +77,7 @@ function multiplePosts($name) { //https://bugs.php.net/bug.php?id=51633
}
class MyPDO extends Minz_ModelPdo {
- function prepare($sql) {
- return $this->bd->prepare(str_replace('%_', $this->prefix, $sql));
- }
+ public $pdo;
}
function debugInfo() {
@@ -182,10 +176,6 @@ function authorizationToUser() {
function clientLogin($email, $pass) { //http://web.archive.org/web/20130604091042/http://undoc.in/clientLogin.html
if (FreshRSS_user_Controller::checkUsername($email)) {
- if (!function_exists('password_verify')) {
- include_once(LIB_PATH . '/password_compat.php');
- }
-
FreshRSS_Context::$user_conf = get_user_configuration($email);
if (FreshRSS_Context::$user_conf == null) {
Minz_Log::warning('Invalid API user ' . $email . ': configuration cannot be found.');
@@ -222,8 +212,10 @@ function token($conf) {
function checkToken($conf, $token) {
//http://code.google.com/p/google-reader-api/wiki/ActionToken
$user = Minz_Session::param('currentUser', '_');
- if ($user !== '_' && $token == '') {
- return true; //FeedMe //TODO: Check security consequences
+ if ($user !== '_' && ( //TODO: Check security consequences
+ $token == '' || //FeedMe
+ $token === 'x')) { //Reeder
+ return true;
}
if ($token === str_pad(sha1(FreshRSS_Context::$system_conf->salt . $user . $conf->apiPasswordHash), 57, 'Z')) {
return true;
@@ -245,9 +237,8 @@ function userInfo() { //https://github.com/theoldreader/api#user-info
function tagList() {
header('Content-Type: application/json; charset=UTF-8');
- $pdo = new MyPDO();
- $stm = $pdo->prepare('SELECT c.name FROM `%_category` c');
- $stm->execute();
+ $model = new MyPDO();
+ $stm = $model->pdo->query('SELECT c.name FROM `_category` c');
$res = $stm->fetchAll(PDO::FETCH_COLUMN, 0);
$tags = array(
@@ -283,10 +274,11 @@ function tagList() {
function subscriptionList() {
header('Content-Type: application/json; charset=UTF-8');
- $pdo = new MyPDO();
- $stm = $pdo->prepare('SELECT f.id, f.name, f.url, f.website, c.id as c_id, c.name as c_name FROM `%_feed` f
- INNER JOIN `%_category` c ON c.id = f.category AND f.priority >= :priority_normal');
- $stm->execute(array(':priority_normal' => FreshRSS_Feed::PRIORITY_NORMAL));
+ $model = new MyPDO();
+ $stm = $model->pdo->prepare('SELECT f.id, f.name, f.url, f.website, c.id as c_id, c.name as c_name FROM `_feed` f
+ INNER JOIN `_category` c ON c.id = f.category AND f.priority >= :priority_normal');
+ $stm->bindValue(':priority_normal', FreshRSS_Feed::PRIORITY_NORMAL, PDO::PARAM_INT);
+ $stm->execute();
$res = $stm->fetchAll(PDO::FETCH_ASSOC);
$salt = FreshRSS_Context::$system_conf->salt;
@@ -924,6 +916,9 @@ $user = authorizationToUser();
FreshRSS_Context::$user_conf = null;
if ($user !== '') {
FreshRSS_Context::$user_conf = get_user_configuration($user);
+ Minz_Translate::init(FreshRSS_Context::$user_conf->language);
+} else {
+ Minz_Translate::init();
}
Minz_Session::_param('currentUser', $user);
diff --git a/p/ext.php b/p/ext.php
index 1b123f47d..3035aae7d 100644
--- a/p/ext.php
+++ b/p/ext.php
@@ -59,6 +59,23 @@ case 'js':
header('Content-Type: application/javascript; charset=UTF-8');
header('Content-Disposition: inline; filename="' . $file_name . '"');
break;
+case 'png':
+ header('Content-Type: image/png');
+ header('Content-Disposition: inline; filename="' . $file_name . '"');
+ break;
+case 'jpeg':
+case 'jpg':
+ header('Content-Type: image/jpeg');
+ header('Content-Disposition: inline; filename="' . $file_name . '"');
+ break;
+case 'gif':
+ header('Content-Type: image/gif');
+ header('Content-Disposition: inline; filename="' . $file_name . '"');
+ break;
+case 'svg':
+ header('Content-Type: image/svg+xml');
+ header('Content-Disposition: inline; filename="' . $file_name . '"');
+ break;
default:
header('HTTP/1.1 400 Bad Request');
die();
diff --git a/p/f.php b/p/f.php
index b68109cd5..9947539c3 100644
--- a/p/f.php
+++ b/p/f.php
@@ -5,13 +5,11 @@ require(LIB_PATH . '/favicons.php');
require(LIB_PATH . '/http-conditional.php');
function show_default_favicon($cacheSeconds = 3600) {
- global $default_favicon;
-
header('Content-Disposition: inline; filename="default_favicon.ico"');
- $default_mtime = @filemtime($default_favicon);
+ $default_mtime = @filemtime(DEFAULT_FAVICON);
if (!httpConditional($default_mtime, $cacheSeconds, 2)) {
- readfile($default_favicon);
+ readfile(DEFAULT_FAVICON);
}
}
@@ -20,8 +18,8 @@ if (!ctype_xdigit($id)) {
$id = '0';
}
-$txt = $favicons_dir . $id . '.txt';
-$ico = $favicons_dir . $id . '.ico';
+$txt = FAVICONS_DIR . $id . '.txt';
+$ico = FAVICONS_DIR . $id . '.ico';
$ico_mtime = @filemtime($ico);
$txt_mtime = @filemtime($txt);
diff --git a/p/scripts/api.js b/p/scripts/api.js
index 841b16a6a..f9dcabf01 100644
--- a/p/scripts/api.js
+++ b/p/scripts/api.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
"use strict";
/* jshint esversion:6, strict:global */
@@ -60,3 +61,4 @@ check(jsonVars.fever + '?api', function next(result1) {
});
}
});
+// @license-end
diff --git a/p/scripts/bcrypt.min.js b/p/scripts/bcrypt.min.js
index 23d2a73aa..28c7a6b47 100644
--- a/p/scripts/bcrypt.min.js
+++ b/p/scripts/bcrypt.min.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt Apache-2.0
/*
bcrypt.js (c) 2013 Daniel Wirtz <dcode@dcode.io>
Released under the Apache License, Version 2.0
@@ -55,3 +56,4 @@ e[b++]=c>>12|224,e[b++]=c>>6&63|128),e[b++]=c&63|128);return e},x="./ABCDEFGHIJK
18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,
1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,
2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],C=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892];m.encodeBase64=p;m.decodeBase64=q;return m});
+// @license-end
diff --git a/p/scripts/category.js b/p/scripts/category.js
index 86d8542f1..c5d36e900 100644
--- a/p/scripts/category.js
+++ b/p/scripts/category.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
"use strict";
/* globals context */
/* jshint esversion:6, strict:global */
@@ -136,10 +137,34 @@ function init_draggable() {
};
}
+function archiving() {
+ const slider = document.getElementById('slider');
+ slider.addEventListener('change', function (e) {
+ if (e.target.id === 'use_default_purge_options') {
+ slider.querySelectorAll('.archiving').forEach(function (element) {
+ element.hidden = e.target.checked;
+ });
+ }
+ });
+ slider.addEventListener('click', function (e) {
+ if (e.target.closest('button[type=reset]')) {
+ const archiving = document.getElementById('use_default_purge_options');
+ if (archiving) {
+ slider.querySelectorAll('.archiving').forEach(function (element) {
+ element.hidden = archiving.getAttribute('data-leave-validation') == 1;
+ });
+ }
+ }
+ });
+}
+
if (document.readyState && document.readyState !== 'loading') {
init_draggable();
+ archiving();
} else if (document.addEventListener) {
document.addEventListener('DOMContentLoaded', function () {
init_draggable();
+ archiving();
}, false);
}
+// @license-end
diff --git a/p/scripts/extra.js b/p/scripts/extra.js
index c0d0c89e1..1fd8a19de 100644
--- a/p/scripts/extra.js
+++ b/p/scripts/extra.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
"use strict";
/* globals context, openNotification, xmlHttpRequestJson */
/* jshint esversion:6, strict:global */
@@ -183,12 +184,32 @@ function init_slider_observers() {
};
closer.onclick = function (ev) {
- closer.classList.remove('active');
- slider.classList.remove('active');
- return false;
+ if (data_leave_validation() || confirm(context.i18n.confirmation_default)) {
+ slider.querySelectorAll('form').forEach(function (f) { f.reset(); });
+ closer.classList.remove('active');
+ slider.classList.remove('active');
+ return true;
+ } else {
+ return false;
+ }
};
}
+function data_leave_validation() {
+ const ds = document.querySelectorAll('[data-leave-validation]');
+ for (let i = ds.length - 1; i >= 0; i--) {
+ const input = ds[i];
+ if (input.type === 'checkbox' || input.type === 'radio') {
+ if (input.checked != input.getAttribute('data-leave-validation')) {
+ return false;
+ }
+ } else if (input.value != input.getAttribute('data-leave-validation')) {
+ return false;
+ }
+ }
+ return true;
+}
+
function init_configuration_alert() {
window.onsubmit = function (e) {
window.hasSubmit = true;
@@ -197,16 +218,8 @@ function init_configuration_alert() {
if (window.hasSubmit) {
return;
}
- const ds = document.querySelectorAll('[data-leave-validation]');
- for (let i = ds.length - 1; i >= 0; i--) {
- const input = ds[i];
- if (input.type === 'checkbox' || input.type === 'radio') {
- if (input.checked != input.getAttribute('data-leave-validation')) {
- return false;
- }
- } else if (input.value != input.getAttribute('data-leave-validation')) {
- return false;
- }
+ if (!data_leave_validation()) {
+ return false;
}
};
}
@@ -239,3 +252,4 @@ if (document.readyState && document.readyState !== 'loading') {
init_extra();
}, false);
}
+// @license-end
diff --git a/p/scripts/flotr2.min.js b/p/scripts/flotr2.min.js
index c3601e827..527cb2fd2 100644
--- a/p/scripts/flotr2.min.js
+++ b/p/scripts/flotr2.min.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
/*!
* bean.js - copyright Jacob Thornton 2011
* https://github.com/fat/bean
@@ -25,3 +26,4 @@
* Flot: https://github.com/flot/flot (original fork)
*/
(function(){var e=this,t=this.Flotr,n;n={_:_,bean:bean,isIphone:/iphone/i.test(navigator.userAgent),isIE:navigator.appVersion.indexOf("MSIE")!=-1?parseFloat(navigator.appVersion.split("MSIE")[1]):!1,graphTypes:{},plugins:{},addType:function(e,t){n.graphTypes[e]=t,n.defaultOptions[e]=t.options||{},n.defaultOptions.defaultType=n.defaultOptions.defaultType||e},addPlugin:function(e,t){n.plugins[e]=t,n.defaultOptions[e]=t.options||{}},draw:function(e,t,r,i){return i=i||n.Graph,new i(e,t,r)},merge:function(e,t){var r,i,s=t||{};for(r in e)i=e[r],i&&typeof i=="object"?i.constructor===Array?s[r]=this._.clone(i):i.constructor!==RegExp&&!this._.isElement(i)&&!i.jquery?s[r]=n.merge(i,t?t[r]:undefined):s[r]=i:s[r]=i;return s},clone:function(e){return n.merge(e,{})},getTickSize:function(e,t,r,i){var s=(r-t)/e,o=n.getMagnitude(s),u=10,a=s/o;return a<1.5?u=1:a<2.25?u=2:a<3?u=i===0?2:2.5:a<7.5&&(u=5),u*o},defaultTickFormatter:function(e,t){return e+""},defaultTrackFormatter:function(e){return"("+e.x+", "+e.y+")"},engineeringNotation:function(e,t,n){var r=["Y","Z","E","P","T","G","M","k",""],i=["y","z","a","f","p","n","ยต","m",""],s=r.length;n=n||1e3,t=Math.pow(10,t||2);if(e===0)return 0;if(e>1)while(s--&&e>=n)e/=n;else{r=i,s=r.length;while(s--&&e<1)e*=n}return Math.round(e*t)/t+r[s]},getMagnitude:function(e){return Math.pow(10,Math.floor(Math.log(e)/Math.LN10))},toPixel:function(e){return Math.floor(e)+.5},toRad:function(e){return-e*(Math.PI/180)},floorInBase:function(e,t){return t*Math.floor(e/t)},drawText:function(e,t,r,i,s){if(!e.fillText){e.drawText(t,r,i,s);return}s=this._.extend({size:n.defaultOptions.fontSize,color:"#000000",textAlign:"left",textBaseline:"bottom",weight:1,angle:0},s),e.save(),e.translate(r,i),e.rotate(s.angle),e.fillStyle=s.color,e.font=(s.weight>1?"bold ":"")+s.size*1.3+"px sans-serif",e.textAlign=s.textAlign,e.textBaseline=s.textBaseline,e.fillText(t,0,0),e.restore()},getBestTextAlign:function(e,t){return t=t||{textAlign:"center",textBaseline:"middle"},e+=n.getTextAngleFromAlign(t),Math.abs(Math.cos(e))>.01&&(t.textAlign=Math.cos(e)>0?"right":"left"),Math.abs(Math.sin(e))>.01&&(t.textBaseline=Math.sin(e)>0?"top":"bottom"),t},alignTable:{"right middle":0,"right top":Math.PI/4,"center top":Math.PI/2,"left top":3*(Math.PI/4),"left middle":Math.PI,"left bottom":-3*(Math.PI/4),"center bottom":-Math.PI/2,"right bottom":-Math.PI/4,"center middle":0},getTextAngleFromAlign:function(e){return n.alignTable[e.textAlign+" "+e.textBaseline]||0},noConflict:function(){return e.Flotr=t,this}},e.Flotr=n})(),Flotr.defaultOptions={colors:["#00A8F0","#C0D800","#CB4B4B","#4DA74D","#9440ED"],ieBackgroundColor:"#FFFFFF",title:null,subtitle:null,shadowSize:4,defaultType:null,HtmlText:!0,fontColor:"#545454",fontSize:7.5,resolution:1,parseFloat:!0,preventDefault:!0,xaxis:{ticks:null,minorTicks:null,showLabels:!0,showMinorLabels:!1,labelsAngle:0,title:null,titleAngle:0,noTicks:5,minorTickFreq:null,tickFormatter:Flotr.defaultTickFormatter,tickDecimals:null,min:null,max:null,autoscale:!1,autoscaleMargin:0,color:null,mode:"normal",timeFormat:null,timeMode:"UTC",timeUnit:"millisecond",scaling:"linear",base:Math.E,titleAlign:"center",margin:!0},x2axis:{},yaxis:{ticks:null,minorTicks:null,showLabels:!0,showMinorLabels:!1,labelsAngle:0,title:null,titleAngle:90,noTicks:5,minorTickFreq:null,tickFormatter:Flotr.defaultTickFormatter,tickDecimals:null,min:null,max:null,autoscale:!1,autoscaleMargin:0,color:null,scaling:"linear",base:Math.E,titleAlign:"center",margin:!0},y2axis:{titleAngle:270},grid:{color:"#545454",backgroundColor:null,backgroundImage:null,watermarkAlpha:.4,tickColor:"#DDDDDD",labelMargin:3,verticalLines:!0,minorVerticalLines:null,horizontalLines:!0,minorHorizontalLines:null,outlineWidth:1,outline:"nsew",circular:!1},mouse:{track:!1,trackAll:!1,position:"se",relative:!1,trackFormatter:Flotr.defaultTrackFormatter,margin:5,lineColor:"#FF3F19",trackDecimals:1,sensibility:2,trackY:!0,radius:3,fillColor:null,fillOpacity:.4}},function(){function t(e,t,n,r){this.rgba=["r","g","b","a"];var i=4;while(-1<--i)this[this.rgba[i]]=arguments[i]||(i==3?1:0);this.normalize()}var e=Flotr._,n={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]};t.prototype={scale:function(t,n,r,i){var s=4;while(-1<--s)e.isUndefined(arguments[s])||(this[this.rgba[s]]*=arguments[s]);return this.normalize()},alpha:function(t){return!e.isUndefined(t)&&!e.isNull(t)&&(this.a=t),this.normalize()},clone:function(){return new t(this.r,this.b,this.g,this.a)},limit:function(e,t,n){return Math.max(Math.min(e,n),t)},normalize:function(){var e=this.limit;return this.r=e(parseInt(this.r,10),0,255),this.g=e(parseInt(this.g,10),0,255),this.b=e(parseInt(this.b,10),0,255),this.a=e(this.a,0,1),this},distance:function(e){if(!e)return;e=new t.parse(e);var n=0,r=3;while(-1<--r)n+=Math.abs(this[this.rgba[r]]-e[this.rgba[r]]);return n},toString:function(){return this.a>=1?"rgb("+[this.r,this.g,this.b].join(",")+")":"rgba("+[this.r,this.g,this.b,this.a].join(",")+")"},contrast:function(){var e=1-(.299*this.r+.587*this.g+.114*this.b)/255;return e<.5?"#000000":"#ffffff"}},e.extend(t,{parse:function(e){if(e instanceof t)return e;var r;if(r=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(e))return new t(parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16));if(r=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(e))return new t(parseInt(r[1],10),parseInt(r[2],10),parseInt(r[3],10));if(r=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(e))return new t(parseInt(r[1]+r[1],16),parseInt(r[2]+r[2],16),parseInt(r[3]+r[3],16));if(r=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(e))return new t(parseInt(r[1],10),parseInt(r[2],10),parseInt(r[3],10),parseFloat(r[4]));if(r=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(e))return new t(parseFloat(r[1])*2.55,parseFloat(r[2])*2.55,parseFloat(r[3])*2.55);if(r=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(e))return new t(parseFloat(r[1])*2.55,parseFloat(r[2])*2.55,parseFloat(r[3])*2.55,parseFloat(r[4]));var i=(e+"").replace(/^\s*([\S\s]*?)\s*$/,"$1").toLowerCase();return i=="transparent"?new t(255,255,255,0):(r=n[i])?new t(r[0],r[1],r[2]):new t(0,0,0,0)},processColor:function(n,r){var i=r.opacity;if(!n)return"rgba(0, 0, 0, 0)";if(n instanceof t)return n.alpha(i).toString();if(e.isString(n))return t.parse(n).alpha(i).toString();var s=n.colors?n:{colors:n};if(!r.ctx)return e.isArray(s.colors)?t.parse(e.isArray(s.colors[0])?s.colors[0][1]:s.colors[0]).alpha(i).toString():"rgba(0, 0, 0, 0)";s=e.extend({start:"top",end:"bottom"},s),/top/i.test(s.start)&&(r.x1=0),/left/i.test(s.start)&&(r.y1=0),/bottom/i.test(s.end)&&(r.x2=0),/right/i.test(s.end)&&(r.y2=0);var o,u,a,f=r.ctx.createLinearGradient(r.x1,r.y1,r.x2,r.y2);for(o=0;o<s.colors.length;o++)u=s.colors[o],e.isArray(u)?(a=u[0],u=u[1]):a=o/(s.colors.length-1),f.addColorStop(a,t.parse(u).alpha(i));return f}}),Flotr.Color=t}(),Flotr.Date={set:function(e,t,n,r){n=n||"UTC",t="set"+(n==="UTC"?"UTC":"")+t,e[t](r)},get:function(e,t,n){return n=n||"UTC",t="get"+(n==="UTC"?"UTC":"")+t,e[t]()},format:function(e,t,n){function s(e){return e+="",e.length==1?"0"+e:e}if(!e)return;var r=this.get,i={h:r(e,"Hours",n).toString(),H:s(r(e,"Hours",n)),M:s(r(e,"Minutes",n)),S:s(r(e,"Seconds",n)),s:r(e,"Milliseconds",n),d:r(e,"Date",n).toString(),m:(r(e,"Month",n)+1).toString(),y:r(e,"FullYear",n).toString(),b:Flotr.Date.monthNames[r(e,"Month",n)]},o=[],u,a=!1;for(var f=0;f<t.length;++f)u=t.charAt(f),a?(o.push(i[u]||u),a=!1):u=="%"?a=!0:o.push(u);return o.join("")},getFormat:function(e,t){var n=Flotr.Date.timeUnits;return e<n.second?"%h:%M:%S.%s":e<n.minute?"%h:%M:%S":e<n.day?t<2*n.day?"%h:%M":"%b %d %h:%M":e<n.month?"%b %d":e<n.year?t<n.year?"%b":"%b %y":"%y"},formatter:function(e,t){var n=t.options,r=Flotr.Date.timeUnits[n.timeUnit],i=new Date(e*r);if(t.options.timeFormat)return Flotr.Date.format(i,n.timeFormat,n.timeMode);var s=(t.max-t.min)*r,o=t.tickSize*Flotr.Date.timeUnits[t.tickUnit];return Flotr.Date.format(i,Flotr.Date.getFormat(o,s),n.timeMode)},generator:function(e){function y(e){t(m,e,o,Flotr.floorInBase(n(m,e,o),h))}var t=this.set,n=this.get,r=this.timeUnits,i=this.spec,s=e.options,o=s.timeMode,u=r[s.timeUnit],a=e.min*u,f=e.max*u,l=(f-a)/s.noTicks,c=[],h=e.tickSize,p,d,v;d=s.tickFormatter===Flotr.defaultTickFormatter?this.formatter:s.tickFormatter;for(v=0;v<i.length-1;++v){var m=i[v][0]*r[i[v][1]];if(l<(m+i[v+1][0]*r[i[v+1][1]])/2&&m>=h)break}h=i[v][0],p=i[v][1],p=="year"&&(h=Flotr.getTickSize(s.noTicks*r.year,a,f,0),h==.5&&(p="month",h=6)),e.tickUnit=p,e.tickSize=h;var g=h*r[p];m=new Date(a);switch(p){case"millisecond":y("Milliseconds");break;case"second":y("Seconds");break;case"minute":y("Minutes");break;case"hour":y("Hours");break;case"month":y("Month");break;case"year":y("FullYear")}g>=r.second&&t(m,"Milliseconds",o,0),g>=r.minute&&t(m,"Seconds",o,0),g>=r.hour&&t(m,"Minutes",o,0),g>=r.day&&t(m,"Hours",o,0),g>=r.day*4&&t(m,"Date",o,1),g>=r.year&&t(m,"Month",o,0);var b=0,w=NaN,E;do{E=w,w=m.getTime(),c.push({v:w/u,label:d(w/u,e)});if(p=="month")if(h<1){t(m,"Date",o,1);var S=m.getTime();t(m,"Month",o,n(m,"Month",o)+1);var x=m.getTime();m.setTime(w+b*r.hour+(x-S)*h),b=n(m,"Hours",o),t(m,"Hours",o,0)}else t(m,"Month",o,n(m,"Month",o)+h);else p=="year"?t(m,"FullYear",o,n(m,"FullYear",o)+h):m.setTime(w+g)}while(w<f&&w!=E);return c},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,month:2592e6,year:31556952e3},spec:[[1,"millisecond"],[20,"millisecond"],[50,"millisecond"],[100,"millisecond"],[200,"millisecond"],[500,"millisecond"],[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"],[3,"month"],[6,"month"],[1,"year"]],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},function(){function t(e){return e&&e.jquery?e[0]:e}var e=Flotr._;Flotr.DOM={addClass:function(n,r){n=t(n);var i=n.className?n.className:"";if(e.include(i.split(/\s+/g),r))return;n.className=(i?i+" ":"")+r},create:function(e){return document.createElement(e)},node:function(e){var t=Flotr.DOM.create("div"),n;return t.innerHTML=e,n=t.children[0],t.innerHTML="",n},empty:function(e){e=t(e),e.innerHTML=""},remove:function(e){e=t(e),e.parentNode.removeChild(e)},hide:function(e){e=t(e),Flotr.DOM.setStyles(e,{display:"none"})},insert:function(n,r){n=t(n),e.isString(r)?n.innerHTML+=r:e.isElement(r)&&n.appendChild(r)},opacity:function(e,n){e=t(e),e.style.opacity=n},position:function(e,n){return e=t(e),e.offsetParent?(n=this.position(e.offsetParent),n.left+=e.offsetLeft,n.top+=e.offsetTop,n):{left:e.offsetLeft||0,top:e.offsetTop||0}},removeClass:function(n,r){var i=n.className?n.className:"";n=t(n),n.className=e.filter(i.split(/\s+/g),function(e){if(e!=r)return!0}).join(" ")},setStyles:function(n,r){n=t(n),e.each(r,function(e,t){n.style[t]=e})},show:function(e){e=t(e),Flotr.DOM.setStyles(e,{display:""})},size:function(e){return e=t(e),{height:e.offsetHeight,width:e.offsetWidth}}}}(),function(){var e=Flotr,t=e.bean;e.EventAdapter={observe:function(e,n,r){return t.add(e,n,r),this},fire:function(e,n,r){return t.fire(e,n,r),typeof Prototype!="undefined"&&Event.fire(e,n,r),this},stopObserving:function(e,n,r){return t.remove(e,n,r),this},eventPointer:function(t){if(!e._.isUndefined(t.touches)&&t.touches.length>0)return{x:t.touches[0].pageX,y:t.touches[0].pageY};if(!e._.isUndefined(t.changedTouches)&&t.changedTouches.length>0)return{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY};if(t.pageX||t.pageY)return{x:t.pageX,y:t.pageY};if(t.clientX||t.clientY){var n=document,r=n.body,i=n.documentElement;return{x:t.clientX+r.scrollLeft+i.scrollLeft,y:t.clientY+r.scrollTop+i.scrollTop}}}}}(),function(){var e=Flotr,t=e.DOM,n=e._,r=function(e){this.o=e};r.prototype={dimensions:function(e,t,n,r){return e?this.o.html?this.html(e,this.o.element,n,r):this.canvas(e,t):{width:0,height:0}},canvas:function(t,n){if(!this.o.textEnabled)return;n=n||{};var r=this.measureText(t,n),i=r.width,s=n.size||e.defaultOptions.fontSize,o=n.angle||0,u=Math.cos(o),a=Math.sin(o),f=2,l=6,c;return c={width:Math.abs(u*i)+Math.abs(a*s)+f,height:Math.abs(a*i)+Math.abs(u*s)+l},c},html:function(e,n,r,i){var s=t.create("div");return t.setStyles(s,{position:"absolute",top:"-10000px"}),t.insert(s,'<div style="'+r+'" class="'+i+' flotr-dummy-div">'+e+"</div>"),t.insert(this.o.element,s),t.size(s)},measureText:function(t,r){var i=this.o.ctx,s;return!i.fillText||e.isIphone&&i.measure?{width:i.measure(t,r)}:(r=n.extend({size:e.defaultOptions.fontSize,weight:1,angle:0},r),i.save(),i.font=(r.weight>1?"bold ":"")+r.size*1.3+"px sans-serif",s=i.measureText(t),i.restore(),s)}},Flotr.Text=r}(),function(){function i(e,n,r){return t.observe.apply(this,arguments),this._handles.push(arguments),this}var e=Flotr.DOM,t=Flotr.EventAdapter,n=Flotr._,r=Flotr;Graph=function(e,i,s){this._setEl(e),this._initMembers(),this._initPlugins(),t.fire(this.el,"flotr:beforeinit",[this]),this.data=i,this.series=r.Series.getSeries(i),this._initOptions(s),this._initGraphTypes(),this._initCanvas(),this._text=new r.Text({element:this.el,ctx:this.ctx,html:this.options.HtmlText,textEnabled:this.textEnabled}),t.fire(this.el,"flotr:afterconstruct",[this]),this._initEvents(),this.findDataRanges(),this.calculateSpacing(),this.draw(n.bind(function(){t.fire(this.el,"flotr:afterinit",[this])},this))},Graph.prototype={destroy:function(){t.fire(this.el,"flotr:destroy"),n.each(this._handles,function(e){t.stopObserving.apply(this,e)}),this._handles=[],this.el.graph=null},observe:i,_observe:i,processColor:function(e,t){var i={x1:0,y1:0,x2:this.plotWidth,y2:this.plotHeight,opacity:1,ctx:this.ctx};return n.extend(i,t),r.Color.processColor(e,i)},findDataRanges:function(){var e=this.axes,t,i,s;n.each(this.series,function(e){s=e.getRange(),s&&(t=e.xaxis,i=e.yaxis,t.datamin=Math.min(s.xmin,t.datamin),t.datamax=Math.max(s.xmax,t.datamax),i.datamin=Math.min(s.ymin,i.datamin),i.datamax=Math.max(s.ymax,i.datamax),t.used=t.used||s.xused,i.used=i.used||s.yused)},this),!e.x.used&&!e.x2.used&&(e.x.used=!0),!e.y.used&&!e.y2.used&&(e.y.used=!0),n.each(e,function(e){e.calculateRange()});var o=n.keys(r.graphTypes),u=!1;n.each(this.series,function(e){if(e.hide)return;n.each(o,function(t){e[t]&&e[t].show&&(this.extendRange(t,e),u=!0)},this),u||this.extendRange(this.options.defaultType,e)},this)},extendRange:function(e,t){this[e].extendRange&&this[e].extendRange(t,t.data,t[e],this[e]),this[e].extendYRange&&this[e].extendYRange(t.yaxis,t.data,t[e],this[e]),this[e].extendXRange&&this[e].extendXRange(t.xaxis,t.data,t[e],this[e])},calculateSpacing:function(){var e=this.axes,t=this.options,r=this.series,i=t.grid.labelMargin,s=this._text,o=e.x,u=e.x2,a=e.y,f=e.y2,l=t.grid.outlineWidth,c,h,p,d;n.each(e,function(e){e.calculateTicks(),e.calculateTextDimensions(s,t)}),d=s.dimensions(t.title,{size:t.fontSize*1.5},"font-size:1em;font-weight:bold;","flotr-title"),this.titleHeight=d.height,d=s.dimensions(t.subtitle,{size:t.fontSize},"font-size:smaller;","flotr-subtitle"),this.subtitleHeight=d.height;for(h=0;h<t.length;++h)r[h].points.show&&(l=Math.max(l,r[h].points.radius+r[h].points.lineWidth/2));var v=this.plotOffset;o.options.margin===!1?(v.bottom=0,v.top=0):o.options.margin===!0?(v.bottom+=(t.grid.circular?0:o.used&&o.options.showLabels?o.maxLabel.height+i:0)+(o.used&&o.options.title?o.titleSize.height+i:0)+l,v.top+=(t.grid.circular?0:u.used&&u.options.showLabels?u.maxLabel.height+i:0)+(u.used&&u.options.title?u.titleSize.height+i:0)+this.subtitleHeight+this.titleHeight+l):(v.bottom=o.options.margin,v.top=o.options.margin),a.options.margin===!1?(v.left=0,v.right=0):a.options.margin===!0?(v.left+=(t.grid.circular?0:a.used&&a.options.showLabels?a.maxLabel.width+i:0)+(a.used&&a.options.title?a.titleSize.width+i:0)+l,v.right+=(t.grid.circular?0:f.used&&f.options.showLabels?f.maxLabel.width+i:0)+(f.used&&f.options.title?f.titleSize.width+i:0)+l):(v.left=a.options.margin,v.right=a.options.margin),v.top=Math.floor(v.top),this.plotWidth=this.canvasWidth-v.left-v.right,this.plotHeight=this.canvasHeight-v.bottom-v.top,o.length=u.length=this.plotWidth,a.length=f.length=this.plotHeight,a.offset=f.offset=this.plotHeight,o.setScale(),u.setScale(),a.setScale(),f.setScale()},draw:function(e){var n=this.ctx,r;t.fire(this.el,"flotr:beforedraw",[this.series,this]);if(this.series.length){n.save(),n.translate(this.plotOffset.left,this.plotOffset.top);for(r=0;r<this.series.length;r++)this.series[r].hide||this.drawSeries(this.series[r]);n.restore(),this.clip()}t.fire(this.el,"flotr:afterdraw",[this.series,this]),e&&e()},drawSeries:function(e){function t(e,t){var n=this.getOptions(e,t);this[t].draw(n)}var i=!1;e=e||this.series,n.each(r.graphTypes,function(n,r){e[r]&&e[r].show&&this[r]&&(i=!0,t.call(this,e,r))},this),i||t.call(this,e,this.options.defaultType)},getOptions:function(e,t){var n=e[t],i=this[t],s=e.xaxis,o=e.yaxis,u={context:this.ctx,width:this.plotWidth,height:this.plotHeight,fontSize:this.options.fontSize,fontColor:this.options.fontColor,textEnabled:this.textEnabled,htmlText:this.options.HtmlText,text:this._text,element:this.el,data:e.data,color:e.color,shadowSize:e.shadowSize,xScale:s.d2p,yScale:o.d2p,xInverse:s.p2d,yInverse:o.p2d};return u=r.merge(n,u),u.fillStyle=this.processColor(n.fillColor||e.color,{opacity:n.fillOpacity}),u},getEventPosition:function(n){var r=document,i=r.body,s=r.documentElement,o=this.axes,u=this.plotOffset,a=this.lastMousePos,f=t.eventPointer(n),l=f.x-a.pageX,c=f.y-a.pageY,h,p,d;return"ontouchstart"in this.el?(h=e.position(this.overlay),p=f.x-h.left-u.left,d=f.y-h.top-u.top):(h=this.overlay.getBoundingClientRect(),p=n.clientX-h.left-u.left-i.scrollLeft-s.scrollLeft,d=n.clientY-h.top-u.top-i.scrollTop-s.scrollTop),{x:o.x.p2d(p),x2:o.x2.p2d(p),y:o.y.p2d(d),y2:o.y2.p2d(d),relX:p,relY:d,dX:l,dY:c,absX:f.x,absY:f.y,pageX:f.x,pageY:f.y}},clickHandler:function(e){if(this.ignoreClick)return this.ignoreClick=!1,this.ignoreClick;t.fire(this.el,"flotr:click",[this.getEventPosition(e),this])},mouseMoveHandler:function(e){if(this.mouseDownMoveHandler)return;var n=this.getEventPosition(e);t.fire(this.el,"flotr:mousemove",[e,n,this]),this.lastMousePos=n},mouseDownHandler:function(e){if(this.mouseUpHandler)return;this.mouseUpHandler=n.bind(function(e){t.stopObserving(document,"mouseup",this.mouseUpHandler),t.stopObserving(document,"mousemove",this.mouseDownMoveHandler),this.mouseDownMoveHandler=null,this.mouseUpHandler=null,t.fire(this.el,"flotr:mouseup",[e,this])},this),this.mouseDownMoveHandler=n.bind(function(n){var r=this.getEventPosition(n);t.fire(this.el,"flotr:mousemove",[e,r,this]),this.lastMousePos=r},this),t.observe(document,"mouseup",this.mouseUpHandler),t.observe(document,"mousemove",this.mouseDownMoveHandler),t.fire(this.el,"flotr:mousedown",[e,this]),this.ignoreClick=!1},drawTooltip:function(t,n,r,i){var s=this.getMouseTrack(),o="opacity:0.7;background-color:#000;color:#fff;display:none;position:absolute;padding:2px 8px;-moz-border-radius:4px;border-radius:4px;white-space:nowrap;",u=i.position,a=i.margin,f=this.plotOffset;n!==null&&r!==null?(i.relative?(u.charAt(0)=="n"?o+="bottom:"+(a-f.top-r+this.canvasHeight)+"px;top:auto;":u.charAt(0)=="s"&&(o+="top:"+(a+f.top+r)+"px;bottom:auto;"),u.charAt(1)=="e"?o+="left:"+(a+f.left+n)+"px;right:auto;":u.charAt(1)=="w"&&(o+="right:"+(a-f.left-n+this.canvasWidth)+"px;left:auto;")):(u.charAt(0)=="n"?o+="top:"+(a+f.top)+"px;bottom:auto;":u.charAt(0)=="s"&&(o+="bottom:"+(a+f.bottom)+"px;top:auto;"),u.charAt(1)=="e"?o+="right:"+(a+f.right)+"px;left:auto;":u.charAt(1)=="w"&&(o+="left:"+(a+f.left)+"px;right:auto;")),s.style.cssText=o,e.empty(s),e.insert(s,t),e.show(s)):e.hide(s)},clip:function(e){var t=this.plotOffset,n=this.canvasWidth,i=this.canvasHeight;e=e||this.ctx;if(r.isIE&&r.isIE<9&&!r.isFlashCanvas){if(e===this.octx)return;e.save(),e.fillStyle=this.processColor(this.options.ieBackgroundColor),e.fillRect(0,0,n,t.top),e.fillRect(0,0,t.left,i),e.fillRect(0,i-t.bottom,n,t.bottom),e.fillRect(n-t.right,0,t.right,i),e.restore()}else e.clearRect(0,0,n,t.top),e.clearRect(0,0,t.left,i),e.clearRect(0,i-t.bottom,n,t.bottom),e.clearRect(n-t.right,0,t.right,i)},_initMembers:function(){this._handles=[],this.lastMousePos={pageX:null,pageY:null},this.plotOffset={left:0,right:0,top:0,bottom:0},this.ignoreClick=!0,this.prevHit=null},_initGraphTypes:function(){n.each(r.graphTypes,function(e,t){this[t]=r.clone(e)},this)},_initEvents:function(){var e=this.el,r,i,s;"ontouchstart"in e?(r=n.bind(function(n){s=!0,t.stopObserving(document,"touchend",r),t.fire(e,"flotr:mouseup",[event,this]),this.multitouches=null,i||this.clickHandler(n)},this),this.observe(this.overlay,"touchstart",n.bind(function(n){i=!1,s=!1,this.ignoreClick=!1,n.touches&&n.touches.length>1&&(this.multitouches=n.touches),t.fire(e,"flotr:mousedown",[event,this]),this.observe(document,"touchend",r)},this)),this.observe(this.overlay,"touchmove",n.bind(function(n){var r=this.getEventPosition(n);this.options.preventDefault&&n.preventDefault(),i=!0,this.multitouches||n.touches&&n.touches.length>1?this.multitouches=n.touches:s||t.fire(e,"flotr:mousemove",[event,r,this]),this.lastMousePos=r},this))):this.observe(this.overlay,"mousedown",n.bind(this.mouseDownHandler,this)).observe(e,"mousemove",n.bind(this.mouseMoveHandler,this)).observe(this.overlay,"click",n.bind(this.clickHandler,this)).observe(e,"mouseout",function(n){t.fire(e,"flotr:mouseout",n)})},_initCanvas:function(){function l(i,s){return i||(i=e.create("canvas"),typeof FlashCanvas!="undefined"&&typeof i.getContext=="function"&&(FlashCanvas.initElement(i),this.isFlashCanvas=!0),i.className="flotr-"+s,i.style.cssText="position:absolute;left:0px;top:0px;",e.insert(t,i)),n.each(a,function(t,n){e.show(i);if(s=="canvas"&&i.getAttribute(n)===t)return;i.setAttribute(n,t*r.resolution),i.style[n]=t+"px"}),i.context_=null,i}function c(e){window.G_vmlCanvasManager&&window.G_vmlCanvasManager.initElement(e);var t=e.getContext("2d");return window.G_vmlCanvasManager||t.scale(r.resolution,r.resolution),t}var t=this.el,r=this.options,i=t.children,s=[],o,u,a,f;for(u=i.length;u--;)o=i[u],!this.canvas&&o.className==="flotr-canvas"?this.canvas=o:!this.overlay&&o.className==="flotr-overlay"?this.overlay=o:s.push(o);for(u=s.length;u--;)t.removeChild(s[u]);e.setStyles(t,{position:"relative"}),a={},a.width=t.clientWidth,a.height=t.clientHeight;if(a.width<=0||a.height<=0||r.resolution<=0)throw"Invalid dimensions for plot, width = "+a.width+", height = "+a.height+", resolution = "+r.resolution;this.canvas=l(this.canvas,"canvas"),this.overlay=l(this.overlay,"overlay"),this.ctx=c(this.canvas),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.octx=c(this.overlay),this.octx.clearRect(0,0,this.overlay.width,this.overlay.height),this.canvasHeight=a.height,this.canvasWidth=a.width,this.textEnabled=!!this.ctx.drawText||!!this.ctx.fillText},_initPlugins:function(){n.each(r.plugins,function(e,t){n.each(e.callbacks,function(e,t){this.observe(this.el,t,n.bind(e,this))},this),this[t]=r.clone(e),n.each(this[t],function(e,r){n.isFunction(e)&&(this[t][r]=n.bind(e,this))},this)},this)},_initOptions:function(e){var i=r.clone(r.defaultOptions);i.x2axis=n.extend(n.clone(i.xaxis),i.x2axis),i.y2axis=n.extend(n.clone(i.yaxis),i.y2axis),this.options=r.merge(e||{},i),this.options.grid.minorVerticalLines===null&&this.options.xaxis.scaling==="logarithmic"&&(this.options.grid.minorVerticalLines=!0),this.options.grid.minorHorizontalLines===null&&this.options.yaxis.scaling==="logarithmic"&&(this.options.grid.minorHorizontalLines=!0),t.fire(this.el,"flotr:afterinitoptions",[this]),this.axes=r.Axis.getAxes(this.options);var s=[],o=[],u=this.series.length,a=this.series.length,f=this.options.colors,l=[],c=0,h,p,d,v;for(p=a-1;p>-1;--p)h=this.series[p].color,h&&(--a,n.isNumber(h)?s.push(h):l.push(r.Color.parse(h)));for(p=s.length-1;p>-1;--p)a=Math.max(a,s[p]+1);for(p=0;o.length<a;){h=f.length==p?new r.Color(100,100,100):r.Color.parse(f[p]);var m=c%2==1?-1:1,g=1+m*Math.ceil(c/2)*.2;h.scale(g,g,g),o.push(h),++p>=f.length&&(p=0,++c)}for(p=0,d=0;p<u;++p){v=this.series[p],v.color?n.isNumber(v.color)&&(v.color=o[v.color].toString()):v.color=o[d++].toString(),v.xaxis||(v.xaxis=this.axes.x),v.xaxis==1?v.xaxis=this.axes.x:v.xaxis==2&&(v.xaxis=this.axes.x2),v.yaxis||(v.yaxis=this.axes.y),v.yaxis==1?v.yaxis=this.axes.y:v.yaxis==2&&(v.yaxis=this.axes.y2);for(var y in r.graphTypes)v[y]=n.extend(n.clone(this.options[y]),v[y]);v.mouse=n.extend(n.clone(this.options.mouse),v.mouse),n.isUndefined(v.shadowSize)&&(v.shadowSize=this.options.shadowSize)}},_setEl:function(e){if(!e)throw"The target container doesn't exist";if(e.graph instanceof Graph)e.graph.destroy();else if(!e.clientWidth)throw"The target container must be visible";e.graph=this,this.el=e}},Flotr.Graph=Graph}(),function(){function n(t){this.orientation=1,this.offset=0,this.datamin=Number.MAX_VALUE,this.datamax=-Number.MAX_VALUE,e.extend(this,t)}function r(e,t){return e=Math.log(Math.max(e,Number.MIN_VALUE)),t!==Math.E&&(e/=Math.log(t)),e}function s(e,t){return t===Math.E?Math.exp(e):Math.pow(t,e)}var e=Flotr._,t="logarithmic";n.prototype={setScale:function(){var e=this.length,n=this.max,i=this.min,o=this.offset,u=this.orientation,a=this.options,f=a.scaling===t,l;f?l=e/(r(n,a.base)-r(i,a.base)):l=e/(n-i),this.scale=l,f?(this.d2p=function(e){return o+u*(r(e,a.base)-r(i,a.base))*l},this.p2d=function(e){return s((o+u*e)/l+r(i,a.base),a.base)}):(this.d2p=function(e){return o+u*(e-i)*l},this.p2d=function(e){return(o+u*e)/l+i})},calculateTicks:function(){var t=this.options;this.ticks=[],this.minorTicks=[],t.ticks?(this._cleanUserTicks(t.ticks,this.ticks),this._cleanUserTicks(t.minorTicks||[],this.minorTicks)):t.mode=="time"?this._calculateTimeTicks():t.scaling==="logarithmic"?this._calculateLogTicks():this._calculateTicks(),e.each(this.ticks,function(e){e.label+=""}),e.each(this.minorTicks,function(e){e.label+=""})},calculateRange:function(){if(!this.used)return;var e=this,t=e.options,n=t.min!==null?t.min:e.datamin,r=t.max!==null?t.max:e.datamax,i=t.autoscaleMargin;t.scaling=="logarithmic"&&(n<=0&&(n=e.datamin),r<=0&&(r=n));if(r==n){var s=r?.01:1;t.min===null&&(n-=s),t.max===null&&(r+=s)}if(t.scaling==="logarithmic"){n<0&&(n=r/t.base);var o=Math.log(r);t.base!=Math.E&&(o/=Math.log(t.base)),o=Math.ceil(o);var u=Math.log(n);t.base!=Math.E&&(u/=Math.log(t.base)),u=Math.ceil(u),e.tickSize=Flotr.getTickSize(t.noTicks,u,o,t.tickDecimals===null?0:t.tickDecimals),t.minorTickFreq===null&&(o-u>10?t.minorTickFreq=0:o-u>5?t.minorTickFreq=2:t.minorTickFreq=5)}else e.tickSize=Flotr.getTickSize(t.noTicks,n,r,t.tickDecimals);e.min=n,e.max=r,t.min===null&&t.autoscale&&(e.min-=e.tickSize*i,e.min<0&&e.datamin>=0&&(e.min=0),e.min=e.tickSize*Math.floor(e.min/e.tickSize)),t.max===null&&t.autoscale&&(e.max+=e.tickSize*i,e.max>0&&e.datamax<=0&&e.datamax!=e.datamin&&(e.max=0),e.max=e.tickSize*Math.ceil(e.max/e.tickSize)),e.min==e.max&&(e.max=e.min+1)},calculateTextDimensions:function(e,t){var n="",r,i;if(this.options.showLabels)for(i=0;i<this.ticks.length;++i)r=this.ticks[i].label.length,r>n.length&&(n=this.ticks[i].label);this.maxLabel=e.dimensions(n,{size:t.fontSize,angle:Flotr.toRad(this.options.labelsAngle)},"font-size:smaller;","flotr-grid-label"),this.titleSize=e.dimensions(this.options.title,{size:t.fontSize*1.2,angle:Flotr.toRad(this.options.titleAngle)},"font-weight:bold;","flotr-axis-title")},_cleanUserTicks:function(t,n){var r=this,i=this.options,s,o,u,a;e.isFunction(t)&&(t=t({min:r.min,max:r.max}));for(o=0;o<t.length;++o)a=t[o],typeof a=="object"?(s=a[0],u=a.length>1?a[1]:i.tickFormatter(s,{min:r.min,max:r.max})):(s=a,u=i.tickFormatter(s,{min:this.min,max:this.max})),n[o]={v:s,label:u}},_calculateTimeTicks:function(){this.ticks=Flotr.Date.generator(this)},_calculateLogTicks:function(){var e=this,t=e.options,n,r,s=Math.log(e.max);t.base!=Math.E&&(s/=Math.log(t.base)),s=Math.ceil(s);var o=Math.log(e.min);t.base!=Math.E&&(o/=Math.log(t.base)),o=Math.ceil(o);for(i=o;i<s;i+=e.tickSize){r=t.base==Math.E?Math.exp(i):Math.pow(t.base,i);var u=r*(t.base==Math.E?Math.exp(e.tickSize):Math.pow(t.base,e.tickSize)),a=(u-r)/t.minorTickFreq;e.ticks.push({v:r,label:t.tickFormatter(r,{min:e.min,max:e.max})});for(n=r+a;n<u;n+=a)e.minorTicks.push({v:n,label:t.tickFormatter(n,{min:e.min,max:e.max})})}r=t.base==Math.E?Math.exp(i):Math.pow(t.base,i),e.ticks.push({v:r,label:t.tickFormatter(r,{min:e.min,max:e.max})})},_calculateTicks:function(){var e=this,t=e.options,n=e.tickSize,r=e.min,i=e.max,s=n*Math.ceil(r/n),o,u,a,f,l,c;t.minorTickFreq&&(u=n/t.minorTickFreq);for(l=0;(a=f=s+l*n)<=i;++l){o=t.tickDecimals,o===null&&(o=1-Math.floor(Math.log(n)/Math.LN10)),o<0&&(o=0),a=a.toFixed(o),e.ticks.push({v:a,label:t.tickFormatter(a,{min:e.min,max:e.max})});if(t.minorTickFreq)for(c=0;c<t.minorTickFreq&&l*n+c*u<i;++c)a=f+c*u,e.minorTicks.push({v:a,label:t.tickFormatter(a,{min:e.min,max:e.max})})}}},e.extend(n,{getAxes:function(e){return{x:new n({options:e.xaxis,n:1,length:this.plotWidth}),x2:new n({options:e.x2axis,n:2,length:this.plotWidth}),y:new n({options:e.yaxis,n:1,length:this.plotHeight,offset:this.plotHeight,orientation:-1}),y2:new n({options:e.y2axis,n:2,length:this.plotHeight,offset:this.plotHeight,orientation:-1})}}}),Flotr.Axis=n}(),function(){function t(t){e.extend(this,t)}var e=Flotr._;t.prototype={getRange:function(){var e=this.data,t=e.length,n=Number.MAX_VALUE,r=Number.MAX_VALUE,i=-Number.MAX_VALUE,s=-Number.MAX_VALUE,o=!1,u=!1,a,f,l;if(t<0||this.hide)return!1;for(l=0;l<t;l++)a=e[l][0],f=e[l][1],a!==null&&(a<n&&(n=a,o=!0),a>i&&(i=a,o=!0)),f!==null&&(f<r&&(r=f,u=!0),f>s&&(s=f,u=!0));return{xmin:n,xmax:i,ymin:r,ymax:s,xused:o,yused:u}}},e.extend(t,{getSeries:function(n){return e.map(n,function(n){var r;return n.data?(r=new t,e.extend(r,n)):r=new t({data:n}),r})}}),Flotr.Series=t}(),Flotr.addType("lines",{options:{show:!1,lineWidth:2,fill:!1,fillBorder:!1,fillColor:null,fillOpacity:.4,steps:!1,stacked:!1},stack:{values:[]},draw:function(e){var t=e.context,n=e.lineWidth,r=e.shadowSize,i;t.save(),t.lineJoin="round",r&&(t.lineWidth=r/2,i=n/2+t.lineWidth/2,t.strokeStyle="rgba(0,0,0,0.1)",this.plot(e,i+r/2,!1),t.strokeStyle="rgba(0,0,0,0.2)",this.plot(e,i,!1)),t.lineWidth=n,t.strokeStyle=e.color,this.plot(e,0,!0),t.restore()},plot:function(e,t,n){function S(){!t&&e.fill&&d&&(v=o(d[0]),r.fillStyle=e.fillStyle,r.lineTo(m,p),r.lineTo(v,p),r.lineTo(v,u(d[1])),r.fill(),e.fillBorder&&r.stroke())}var r=e.context,i=e.width,s=e.height,o=e.xScale,u=e.yScale,a=e.data,f=e.stacked?this.stack:!1,l=a.length-1,c=null,h=null,p=u(0),d=null,v,m,g,y,b,w,E;if(l<1)return;r.beginPath();for(E=0;E<l;++E){if(a[E][1]===null||a[E+1][1]===null){e.fill&&E>0&&a[E][1]!==null&&(r.stroke(),S(),d=null,r.closePath(),r.beginPath());continue}v=o(a[E][0]),m=o(a[E+1][0]),d===null&&(d=a[E]),f?(b=f.values[a[E][0]]||0,w=f.values[a[E+1][0]]||f.values[a[E][0]]||0,g=u(a[E][1]+b),y=u(a[E+1][1]+w),n&&(a[E].y0=b,f.values[a[E][0]]=a[E][1]+b,E==l-1&&(a[E+1].y0=w,f.values[a[E+1][0]]=a[E+1][1]+w))):(g=u(a[E][1]),y=u(a[E+1][1]));if(g>s&&y>s||g<0&&y<0||v<0&&m<0||v>i&&m>i)continue;(c!=v||h!=g+t)&&r.moveTo(v,g+t),c=m,h=y+t,e.steps?(r.lineTo(c+t/2,g+t),r.lineTo(c+t/2,h)):r.lineTo(c,h)}(!e.fill||e.fill&&!e.fillBorder)&&r.stroke(),S(),r.closePath()},extendYRange:function(e,t,n,r){var i=e.options;if(n.stacked&&(!i.max&&i.max!==0||!i.min&&i.min!==0)){var s=e.max,o=e.min,u=r.positiveSums||{},a=r.negativeSums||{},f,l;for(l=0;l<t.length;l++)f=t[l][0]+"",t[l][1]>0?(u[f]=(u[f]||0)+t[l][1],s=Math.max(s,u[f])):(a[f]=(a[f]||0)+t[l][1],o=Math.min(o,a[f]));r.negativeSums=a,r.positiveSums=u,e.max=s,e.min=o}n.steps&&(this.hit=function(e){var t=e.data,n=e.args,r=e.yScale,i=n[0],s=t.length,o=n[1],u=e.xInverse(i.relX),a=i.relY,f;for(f=0;f<s-1;f++)if(u>=t[f][0]&&u<=t[f+1][0]){Math.abs(r(t[f][1])-a)<8&&(o.x=t[f][0],o.y=t[f][1],o.index=f,o.seriesIndex=e.index);break}},this.drawHit=function(e){var t=e.context,n=e.args,r=e.data,i=e.xScale,s=n.index,o=i(n.x),u=e.yScale(n.y),a;r.length-1>s&&(a=e.xScale(r[s+1][0]),t.save(),t.strokeStyle=e.color,t.lineWidth=e.lineWidth,t.beginPath(),t.moveTo(o,u),t.lineTo(a,u),t.stroke(),t.closePath(),t.restore())},this.clearHit=function(e){var t=e.context,n=e.args,r=e.data,i=e.xScale,s=e.lineWidth,o=n.index,u=i(n.x),a=e.yScale(n.y),f;r.length-1>o&&(f=e.xScale(r[o+1][0]),t.clearRect(u-s,a-s,f-u+2*s,2*s))})}}),Flotr.addType("bars",{options:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,fillOpacity:.4,horizontal:!1,stacked:!1,centered:!0,topPadding:.1,grouped:!1},stack:{positive:[],negative:[],_positive:[],_negative:[]},draw:function(e){var t=e.context;this.current+=1,t.save(),t.lineJoin="miter",t.lineWidth=e.lineWidth,t.strokeStyle=e.color,e.fill&&(t.fillStyle=e.fillStyle),this.plot(e),t.restore()},plot:function(e){var t=e.data,n=e.context,r=e.shadowSize,i,s,o,u,a,f;if(t.length<1)return;this.translate(n,e.horizontal);for(i=0;i<t.length;i++){s=this.getBarGeometry(t[i][0],t[i][1],e);if(s===null)continue;o=s.left,u=s.top,a=s.width,f=s.height,e.fill&&n.fillRect(o,u,a,f),r&&(n.save(),n.fillStyle="rgba(0,0,0,0.05)",n.fillRect(o+r,u+r,a,f),n.restore()),e.lineWidth&&n.strokeRect(o,u,a,f)}},translate:function(e,t){t&&(e.rotate(-Math.PI/2),e.scale(-1,1))},getBarGeometry:function(e,t,n){var r=n.horizontal,i=n.barWidth,s=n.centered,o=n.stacked?this.stack:!1,u=n.lineWidth,a=s?i/2:0,f=r?n.yScale:n.xScale,l=r?n.xScale:n.yScale,c=r?t:e,h=r?e:t,p=0,d,v,m,g,y;return n.grouped&&(this.current/this.groups,c-=a,i/=this.groups,a=i/2,c=c+i*this.current-a),o&&(d=h>0?o.positive:o.negative,p=d[c]||p,d[c]=p+h),v=f(c-a),m=f(c+i-a),g=l(h+p),y=l(p),y<0&&(y=0),e===null||t===null?null:{x:c,y:h,xScale:f,yScale:l,top:g,left:Math.min(v,m)-u/2,width:Math.abs(m-v)-u,height:y-g}},hit:function(e){var t=e.data,n=e.args,r=n[0],i=n[1],s=e.xInverse(r.relX),o=e.yInverse(r.relY),u=this.getBarGeometry(s,o,e),a=u.width/2,f=u.left,l=u.y,c,h;for(h=t.length;h--;)c=this.getBarGeometry(t[h][0],t[h][1],e),(l>0&&l<c.y||l<0&&l>c.y)&&Math.abs(f-c.left)<a&&(i.x=t[h][0],i.y=t[h][1],i.index=h,i.seriesIndex=e.index)},drawHit:function(e){var t=e.context,n=e.args,r=this.getBarGeometry(n.x,n.y,e),i=r.left,s=r.top,o=r.width,u=r.height;t.save(),t.strokeStyle=e.color,t.lineWidth=e.lineWidth,this.translate(t,e.horizontal),t.beginPath(),t.moveTo(i,s+u),t.lineTo(i,s),t.lineTo(i+o,s),t.lineTo(i+o,s+u),e.fill&&(t.fillStyle=e.fillStyle,t.fill()),t.stroke(),t.closePath(),t.restore()},clearHit:function(e){var t=e.context,n=e.args,r=this.getBarGeometry(n.x,n.y,e),i=r.left,s=r.width,o=r.top,u=r.height,a=2*e.lineWidth;t.save(),this.translate(t,e.horizontal),t.clearRect(i-a,Math.min(o,o+u)-a,s+2*a,Math.abs(u)+2*a),t.restore()},extendXRange:function(e,t,n,r){this._extendRange(e,t,n,r),this.groups=this.groups+1||1,this.current=0},extendYRange:function(e,t,n,r){this._extendRange(e,t,n,r)},_extendRange:function(e,t,n,r){var i=e.options.max;if(_.isNumber(i)||_.isString(i))return;var s=e.min,o=e.max,u=n.horizontal,a=e.orientation,f=this.positiveSums||{},l=this.negativeSums||{},c,h,p,d;(a==1&&!u||a==-1&&u)&&n.centered&&(o=Math.max(e.datamax+n.barWidth,o),s=Math.min(e.datamin-n.barWidth,s));if(n.stacked&&(a==1&&u||a==-1&&!u))for(d=t.length;d--;)c=t[d][a==1?1:0]+"",h=t[d][a==1?0:1],h>0?(f[c]=(f[c]||0)+h,o=Math.max(o,f[c])):(l[c]=(l[c]||0)+h,s=Math.min(s,l[c]));(a==1&&u||a==-1&&!u)&&n.topPadding&&(e.max===e.datamax||n.stacked&&this.stackMax!==o)&&(o+=n.topPadding*(o-s)),this.stackMin=s,this.stackMax=o,this.negativeSums=l,this.positiveSums=f,e.max=o,e.min=s}}),Flotr.addType("bubbles",{options:{show:!1,lineWidth:2,fill:!0,fillOpacity:.4,baseRadius:2},draw:function(e){var t=e.context,n=e.shadowSize;t.save(),t.lineWidth=e.lineWidth,t.fillStyle="rgba(0,0,0,0.05)",t.strokeStyle="rgba(0,0,0,0.05)",this.plot(e,n/2),t.strokeStyle="rgba(0,0,0,0.1)",this.plot(e,n/4),t.strokeStyle=e.color,t.fillStyle=e.fillStyle,this.plot(e),t.restore()},plot:function(e,t){var n=e.data,r=e.context,i,s,o,u,a;t=t||0;for(s=0;s<n.length;++s)i=this.getGeometry(n[s],e),r.beginPath(),r.arc(i.x+t,i.y+t,i.z,0,2*Math.PI,!0),r.stroke(),e.fill&&r.fill(),r.closePath()},getGeometry:function(e,t){return{x:t.xScale(e[0]),y:t.yScale(e[1]),z:e[2]*t.baseRadius}},hit:function(e){var t=e.data,n=e.args,r=n[0],s=n[1],o=r.relX,u=r.relY,a,f,l,c;s.best=s.best||Number.MAX_VALUE;for(i=t.length;i--;)f=this.getGeometry(t[i],e),l=f.x-o,c=f.y-u,a=Math.sqrt(l*l+c*c),a<f.z&&f.z<s.best&&(s.x=t[i][0],s.y=t[i][1],s.index=i,s.seriesIndex=e.index,s.best=f.z)},drawHit:function(e){var t=e.context,n=this.getGeometry(e.data[e.args.index],e);t.save(),t.lineWidth=e.lineWidth,t.fillStyle=e.fillStyle,t.strokeStyle=e.color,t.beginPath(),t.arc(n.x,n.y,n.z,0,2*Math.PI,!0),t.fill(),t.stroke(),t.closePath(),t.restore()},clearHit:function(e){var t=e.context,n=this.getGeometry(e.data[e.args.index],e),r=n.z+e.lineWidth;t.save(),t.clearRect(n.x-r,n.y-r,2*r,2*r),t.restore()}}),Flotr.addType("candles",{options:{show:!1,lineWidth:1,wickLineWidth:1,candleWidth:.6,fill:!0,upFillColor:"#00A8F0",downFillColor:"#CB4B4B",fillOpacity:.5,barcharts:!1},draw:function(e){var t=e.context;t.save(),t.lineJoin="miter",t.lineCap="butt",t.lineWidth=e.wickLineWidth||e.lineWidth,this.plot(e),t.restore()},plot:function(e){var t=e.data,n=e.context,r=e.xScale,i=e.yScale,s=e.candleWidth/2,o=e.shadowSize,u=e.lineWidth,a=e.wickLineWidth,f=a%2/2,l,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N;if(t.length<1)return;for(N=0;N<t.length;N++){c=t[N],h=c[0],d=c[1],v=c[2],m=c[3],g=c[4],y=r(h-s),b=r(h+s),w=i(m),E=i(v),S=i(Math.min(d,g)),x=i(Math.max(d,g)),l=e[d>g?"downFillColor":"upFillColor"],e.fill&&!e.barcharts&&(n.fillStyle="rgba(0,0,0,0.05)",n.fillRect(y+o,x+o,b-y,S-x),n.save(),n.globalAlpha=e.fillOpacity,n.fillStyle=l,n.fillRect(y,x+u,b-y,S-x),n.restore());if(u||a)h=Math.floor((y+b)/2)+f,n.strokeStyle=l,n.beginPath(),e.barcharts?(n.moveTo(h,Math.floor(E+u)),n.lineTo(h,Math.floor(w+u)),T=d<g,n.moveTo(T?b:y,Math.floor(x+u)),n.lineTo(h,Math.floor(x+u)),n.moveTo(h,Math.floor(S+u)),n.lineTo(T?y:b,Math.floor(S+u))):(n.strokeRect(y,x+u,b-y,S-x),n.moveTo(h,Math.floor(x+u)),n.lineTo(h,Math.floor(E+u)),n.moveTo(h,Math.floor(S+u)),n.lineTo(h,Math.floor(w+u))),n.closePath(),n.stroke()}},hit:function(e){var t=e.xScale,n=e.yScale,r=e.data,i=e.args,s=i[0],o=e.candleWidth/2,u=i[1],a=s.relX,f=s.relY,l=r.length,c,h,p,d,v,m,g,y;for(c=0;c<l;c++){h=r[c],p=h[2],d=h[3],v=t(h[0]-o),m=t(h[0]+o),y=n(d),g=n(p);if(a>v&&a<m&&f>g&&f<y){u.x=h[0],u.index=c,u.seriesIndex=e.index;return}}},drawHit:function(e){var t=e.context;t.save(),this.plot(_.defaults({fill:!!e.fillColor,upFillColor:e.color,downFillColor:e.color,data:[e.data[e.args.index]]},e)),t.restore()},clearHit:function(e){var t=e.args,n=e.context,r=e.xScale,i=e.yScale,s=e.lineWidth,o=e.candleWidth/2,u=e.data[t.index],a=r(u[0]-o)-s,f=r(u[0]+o)+s,l=i(u[2]),c=i(u[3])+s;n.clearRect(a,l,f-a,c-l)},extendXRange:function(e,t,n){e.options.max===null&&(e.max=Math.max(e.datamax+.5,e.max),e.min=Math.min(e.datamin-.5,e.min))}}),Flotr.addType("gantt",{options:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,fillOpacity:.4,centered:!0},draw:function(e){var t=this.ctx,n=e.gantt.barWidth,r=Math.min(e.gantt.lineWidth,n);t.save(),t.translate(this.plotOffset.left,this.plotOffset.top),t.lineJoin="miter",t.lineWidth=r,t.strokeStyle=e.color,t.save(),this.gantt.plotShadows(e,n,0,e.gantt.fill),t.restore();if(e.gantt.fill){var i=e.gantt.fillColor||e.color;t.fillStyle=this.processColor(i,{opacity:e.gantt.fillOpacity})}this.gantt.plot(e,n,0,e.gantt.fill),t.restore()},plot:function(e,t,n,r){var i=e.data;if(i.length<1)return;var s=e.xaxis,o=e.yaxis,u=this.ctx,a;for(a=0;a<i.length;a++){var f=i[a][0],l=i[a][1],c=i[a][2],h=!0,p=!0,d=!0;if(l===null||c===null)continue;var v=l,m=l+c,g=f-(e.gantt.centered?t/2:0),y=f+t-(e.gantt.centered?t/2:0);if(m<s.min||v>s.max||y<o.min||g>o.max)continue;v<s.min&&(v=s.min,h=!1),m>s.max&&(m=s.max,s.lastSerie!=e&&(p=!1)),g<o.min&&(g=o.min),y>o.max&&(y=o.max,o.lastSerie!=e&&(p=!1)),r&&(u.beginPath(),u.moveTo(s.d2p(v),o.d2p(g)+n),u.lineTo(s.d2p(v),o.d2p(y)+n),u.lineTo(s.d2p(m),o.d2p(y)+n),u.lineTo(s.d2p(m),o.d2p(g)+n),u.fill(),u.closePath()),e.gantt.lineWidth&&(h||d||p)&&(u.beginPath(),u.moveTo(s.d2p(v),o.d2p(g)+n),u[h?"lineTo":"moveTo"](s.d2p(v),o.d2p(y)+n),u[p?"lineTo":"moveTo"](s.d2p(m),o.d2p(y)+n),u[d?"lineTo":"moveTo"](s.d2p(m),o.d2p(g)+n),u.stroke(),u.closePath())}},plotShadows:function(e,t,n){var r=e.data;if(r.length<1)return;var i,s,o,u,a=e.xaxis,f=e.yaxis,l=this.ctx,c=this.options.shadowSize;for(i=0;i<r.length;i++){s=r[i][0],o=r[i][1],u=r[i][2];if(o===null||u===null)continue;var h=o,p=o+u,d=s-(e.gantt.centered?t/2:0),v=s+t-(e.gantt.centered?t/2:0);if(p<a.min||h>a.max||v<f.min||d>f.max)continue;h<a.min&&(h=a.min),p>a.max&&(p=a.max),d<f.min&&(d=f.min),v>f.max&&(v=f.max);var m=a.d2p(p)-a.d2p(h)-(a.d2p(p)+c<=this.plotWidth?0:c),g=f.d2p(d)-f.d2p(v)-(f.d2p(d)+c<=this.plotHeight?0:c);l.fillStyle="rgba(0,0,0,0.05)",l.fillRect(Math.min(a.d2p(h)+c,this.plotWidth),Math.min(f.d2p(v)+c,this.plotHeight),m,g)}},extendXRange:function(e){if(e.options.max===null){var t=e.min,n=e.max,r,i,s,o,u,a={},f={},l=null;for(r=0;r<this.series.length;++r){o=this.series[r],u=o.gantt;if(u.show&&o.xaxis==e){for(i=0;i<o.data.length;i++)u.show&&(y=o.data[i][0]+"",a[y]=Math.max(a[y]||0,o.data[i][1]+o.data[i][2]),l=o);for(i in a)n=Math.max(a[i],n)}}e.lastSerie=l,e.max=n,e.min=t}},extendYRange:function(e){if(e.options.max===null){var t=Number.MIN_VALUE,n=Number.MAX_VALUE,r,i,s,o,u={},a={},f=null;for(r=0;r<this.series.length;++r){s=this.series[r],o=s.gantt;if(o.show&&!s.hide&&s.yaxis==e){var l=Number.MIN_VALUE,c=Number.MAX_VALUE;for(i=0;i<s.data.length;i++)l=Math.max(l,s.data[i][0]),c=Math.min(c,s.data[i][0]);o.centered?(t=Math.max(l+.5,t),n=Math.min(c-.5,n)):(t=Math.max(l+1,t),n=Math.min(c,n)),o.barWidth+l>t&&(t=e.max+o.barWidth)}}e.lastSerie=f,e.max=t,e.min=n,e.tickSize=Flotr.getTickSize(e.options.noTicks,n,t,e.options.tickDecimals)}}}),function(){function e(e){return typeof e=="object"&&e.constructor&&(Image?!0:e.constructor===Image)}Flotr.defaultMarkerFormatter=function(e){return Math.round(e.y*100)/100+""},Flotr.addType("markers",{options:{show:!1,lineWidth:1,color:"#000000",fill:!1,fillColor:"#FFFFFF",fillOpacity:.4,stroke:!1,position:"ct",verticalMargin:0,labelFormatter:Flotr.defaultMarkerFormatter,fontSize:Flotr.defaultOptions.fontSize,stacked:!1,stackingType:"b",horizontal:!1},stack:{positive:[],negative:[],values:[]},draw:function(e){function h(e,t){return o=r.negative[e]||0,s=r.positive[e]||0,t>0?(r.positive[e]=o+t,o+t):(r.negative[e]=s+t,s+t)}var t=e.data,n=e.context,r=e.stacked?e.stack:!1,i=e.stackingType,s,o,u,a,f,l,c;n.save(),n.lineJoin="round",n.lineWidth=e.lineWidth,n.strokeStyle="rgba(0,0,0,0.5)",n.fillStyle=e.fillStyle;for(a=0;a<t.length;++a)f=t[a][0],l=t[a][1],r&&(i=="b"?e.horizontal?l=h(l,f):f=h(f,l):i=="a"&&(u=r.values[f]||0,r.values[f]=u+l,l=u+l)),c=e.labelFormatter({x:f,y:l,index:a,data:t}),this.plot(e.xScale(f),e.yScale(l),c,e);n.restore()},plot:function(t,n,r,i){var s=i.context;if(e(r)&&!r.complete)throw"Marker image not loaded.";this._plot(t,n,r,i)},_plot:function(t,n,r,i){var s=i.context,o=2,u=t,a=n,f;e(r)?f={height:r.height,width:r.width}:f=i.text.canvas(r),f.width=Math.floor(f.width+o*2),f.height=Math.floor(f.height+o*2),i.position.indexOf("c")!=-1?u-=f.width/2+o:i.position.indexOf("l")!=-1&&(u-=f.width),i.position.indexOf("m")!=-1?a-=f.height/2+o:i.position.indexOf("t")!=-1?a-=f.height+i.verticalMargin:a+=i.verticalMargin,u=Math.floor(u)+.5,a=Math.floor(a)+.5,i.fill&&s.fillRect(u,a,f.width,f.height),i.stroke&&s.strokeRect(u,a,f.width,f.height),e(r)?s.drawImage(r,parseInt(u+o,10),parseInt(a+o,10)):Flotr.drawText(s,r,u+o,a+o,{textBaseline:"top",textAlign:"left",size:i.fontSize,color:i.color})}})}(),function(){var e=Flotr._;Flotr.defaultPieLabelFormatter=function(e,t){return(100*t/e).toFixed(2)+"%"},Flotr.addType("pie",{options:{show:!1,lineWidth:1,fill:!0,fillColor:null,fillOpacity:.6,explode:6,sizeRatio:.6,startAngle:Math.PI/4,labelFormatter:Flotr.defaultPieLabelFormatter,pie3D:!1,pie3DviewAngle:Math.PI/2*.8,pie3DspliceThickness:20,epsilon:.1},draw:function(e){var t=e.data,n=e.context,r=e.lineWidth,i=e.shadowSize,s=e.sizeRatio,o=e.height,u=e.width,a=e.explode,f=e.color,l=e.fill,c=e.fillStyle,h=Math.min(u,o)*s/2,p=t[0][1],d=[],v=1,m=Math.PI*2*p/this.total,g=this.startAngle||2*Math.PI*e.startAngle,y=g+m,b=g+m/2,w=e.labelFormatter(this.total,p),E=a+h+4,S=Math.cos(b)*E,x=Math.sin(b)*E,T=S<0?"right":"left",N=x>0?"top":"bottom",C,k,L;n.save(),n.translate(u/2,o/2),n.scale(1,v),k=Math.cos(b)*a,L=Math.sin(b)*a,i>0&&(this.plotSlice(k+i,L+i,h,g,y,n),l&&(n.fillStyle="rgba(0,0,0,0.1)",n.fill())),this.plotSlice(k,L,h,g,y,n),l&&(n.fillStyle=c,n.fill()),n.lineWidth=r,n.strokeStyle=f,n.stroke(),C={size:e.fontSize*1.2,color:e.fontColor,weight:1.5},w&&(e.htmlText||!e.textEnabled?(divStyle="position:absolute;"+N+":"+(o/2+(N==="top"?x:-x))+"px;",divStyle+=T+":"+(u/2+(T==="right"?-S:S))+"px;",d.push('<div style="',divStyle,'" class="flotr-grid-label">',w,"</div>")):(C.textAlign=T,C.textBaseline=N,Flotr.drawText(n,w,S,x,C)));if(e.htmlText||!e.textEnabled){var A=Flotr.DOM.node('<div style="color:'+e.fontColor+'" class="flotr-labels"></div>');Flotr.DOM.insert(A,d.join("")),Flotr.DOM.insert(e.element,A)}n.restore(),this.startAngle=y,this.slices=this.slices||[],this.slices.push({radius:h,x:k,y:L,explode:a,start:g,end:y})},plotSlice:function(e,t,n,r,i,s){s.beginPath(),s.moveTo(e,t),s.arc(e,t,n,r,i,!1),s.lineTo(e,t),s.closePath()},hit:function(e){var t=e.data[0],n=e.args,r=e.index,i=n[0],s=n[1],o=this.slices[r],u=i.relX-e.width/2,a=i.relY-e.height/2,f=Math.sqrt(u*u+a*a),l=Math.atan(a/u),c=Math.PI*2,h=o.explode||e.explode,p=o.start%c,d=o.end%c,v=e.epsilon;u<0?l+=Math.PI:u>0&&a<0&&(l+=c),f<o.radius+h&&f>h&&(l>p&&l<d||p>d&&(l<d||l>p)||p===d&&(o.start===o.end&&Math.abs(l-p)<v||o.start!==o.end&&Math.abs(l-p)>v))&&(s.x=t[0],s.y=t[1],s.sAngle=p,s.eAngle=d,s.index=0,s.seriesIndex=r,s.fraction=t[1]/this.total)},drawHit:function(e){var t=e.context,n=this.slices[e.args.seriesIndex];t.save(),t.translate(e.width/2,e.height/2),this.plotSlice(n.x,n.y,n.radius,n.start,n.end,t),t.stroke(),t.restore()},clearHit:function(e){var t=e.context,n=this.slices[e.args.seriesIndex],r=2*e.lineWidth,i=n.radius+r;t.save(),t.translate(e.width/2,e.height/2),t.clearRect(n.x-i,n.y-i,2*i+r,2*i+r),t.restore()},extendYRange:function(e,t){this.total=(this.total||0)+t[0][1]}})}(),Flotr.addType("points",{options:{show:!1,radius:3,lineWidth:2,fill:!0,fillColor:"#FFFFFF",fillOpacity:1,hitRadius:null},draw:function(e){var t=e.context,n=e.lineWidth,r=e.shadowSize;t.save(),r>0&&(t.lineWidth=r/2,t.strokeStyle="rgba(0,0,0,0.1)",this.plot(e,r/2+t.lineWidth/2),t.strokeStyle="rgba(0,0,0,0.2)",this.plot(e,t.lineWidth/2)),t.lineWidth=e.lineWidth,t.strokeStyle=e.color,e.fill&&(t.fillStyle=e.fillStyle),this.plot(e),t.restore()},plot:function(e,t){var n=e.data,r=e.context,i=e.xScale,s=e.yScale,o,u,a;for(o=n.length-1;o>-1;--o){a=n[o][1];if(a===null)continue;u=i(n[o][0]),a=s(a);if(u<0||u>e.width||a<0||a>e.height)continue;r.beginPath(),t?r.arc(u,a+t,e.radius,0,Math.PI,!1):(r.arc(u,a,e.radius,0,2*Math.PI,!0),e.fill&&r.fill()),r.stroke(),r.closePath()}}}),Flotr.addType("radar",{options:{show:!1,lineWidth:2,fill:!0,fillOpacity:.4,radiusRatio:.9,sensibility:2},draw:function(e){var t=e.context,n=e.shadowSize;t.save(),t.translate(e.width/2,e.height/2),t.lineWidth=e.lineWidth,t.fillStyle="rgba(0,0,0,0.05)",t.strokeStyle="rgba(0,0,0,0.05)",this.plot(e,n/2),t.strokeStyle="rgba(0,0,0,0.1)",this.plot(e,n/4),t.strokeStyle=e.color,t.fillStyle=e.fillStyle,this.plot(e),t.restore()},plot:function(e,t){var n=e.data,r=e.context,i=Math.min(e.height,e.width)*e.radiusRatio/2,s=2*Math.PI/n.length,o=-Math.PI/2,u,a;t=t||0,r.beginPath();for(u=0;u<n.length;++u)a=n[u][1]/this.max,r[u===0?"moveTo":"lineTo"](Math.cos(u*s+o)*i*a+t,Math.sin(u*s+o)*i*a+t);r.closePath(),e.fill&&r.fill(),r.stroke()},getGeometry:function(e,t){var n=Math.min(t.height,t.width)*t.radiusRatio/2,r=2*Math.PI/t.data.length,i=-Math.PI/2,s=e[1]/this.max;return{x:Math.cos(e[0]*r+i)*n*s+t.width/2,y:Math.sin(e[0]*r+i)*n*s+t.height/2}},hit:function(e){var t=e.args,n=t[0],r=t[1],i=n.relX,s=n.relY,o,u,a,f;for(var l=0;l<r.series.length;l++){var c=r.series[l],h=c.data;for(var p=h.length;p--;){u=this.getGeometry(h[p],e),a=u.x-i,f=u.y-s,o=Math.sqrt(a*a+f*f);if(o<e.sensibility*2)return r.x=h[p][0],r.y=h[p][1],r.index=p,r.seriesIndex=l,r}}},drawHit:function(e){var t=2*Math.PI/e.data.length,n=-Math.PI/2,r=Math.min(e.height,e.width)*e.radiusRatio/2,i=e.args.series,s=i.points.hitRadius||i.points.radius||i.mouse.radius,o=e.context;o.translate(e.width/2,e.height/2);var u=e.args.index,a=e.data[u][1]/this.max,f=Math.cos(u*t+n)*r*a,l=Math.sin(u*t+n)*r*a;o.beginPath(),o.arc(f,l,s,0,2*Math.PI,!0),o.closePath(),o.stroke()},clearHit:function(e){var t=2*Math.PI/e.data.length,n=-Math.PI/2,r=Math.min(e.height,e.width)*e.radiusRatio/2,i=e.context,s=e.args.series,o=s.points?s.points.lineWidth:1;offset=(s.points.hitRadius||s.points.radius||s.mouse.radius)+o,i.translate(e.width/2,e.height/2);var u=e.args.index,a=e.data[u][1]/this.max,f=Math.cos(u*t+n)*r*a,l=Math.sin(u*t+n)*r*a;i.clearRect(f-offset,l-offset,offset*2,offset*2)},extendYRange:function(e,t){this.max=Math.max(e.max,this.max||-Number.MAX_VALUE)}}),Flotr.addType("timeline",{options:{show:!1,lineWidth:1,barWidth:.2,fill:!0,fillColor:null,fillOpacity:.4,centered:!0},draw:function(e){var t=e.context;t.save(),t.lineJoin="miter",t.lineWidth=e.lineWidth,t.strokeStyle=e.color,t.fillStyle=e.fillStyle,this.plot(e),t.restore()},plot:function(e){var t=e.data,n=e.context,r=e.xScale,i=e.yScale,s=e.barWidth,o=e.lineWidth,u;Flotr._.each(t,function(e){var t=e[0],u=e[1],a=e[2],f=s,l=Math.ceil(r(t)),c=Math.ceil(r(t+a))-l,h=Math.round(i(u)),p=Math.round(i(u-f))-h,d=l-o/2,v=Math.round(h-p/2)-o/2;n.strokeRect(d,v,c,p),n.fillRect(d,v,c,p)})},extendRange:function(e){var t=e.data,n=e.xaxis,r=e.yaxis,i=e.timeline.barWidth;n.options.min===null&&(n.min=n.datamin-i/2);if(n.options.max===null){var s=n.max;Flotr._.each(t,function(e){s=Math.max(s,e[0]+e[2])},this),n.max=s+i/2}r.options.min===null&&(r.min=r.datamin-i),r.options.min===null&&(r.max=r.datamax+i)}}),function(){var e=Flotr.DOM;Flotr.addPlugin("crosshair",{options:{mode:null,color:"#FF0000",hideCursor:!0},callbacks:{"flotr:mousemove":function(e,t){this.options.crosshair.mode&&(this.crosshair.clearCrosshair(),this.crosshair.drawCrosshair(t))}},drawCrosshair:function(t){var n=this.octx,r=this.options.crosshair,i=this.plotOffset,s=i.left+Math.round(t.relX)+.5,o=i.top+Math.round(t.relY)+.5;if(t.relX<0||t.relY<0||t.relX>this.plotWidth||t.relY>this.plotHeight){this.el.style.cursor=null,e.removeClass(this.el,"flotr-crosshair");return}r.hideCursor&&(this.el.style.cursor="none",e.addClass(this.el,"flotr-crosshair")),n.save(),n.strokeStyle=r.color,n.lineWidth=1,n.beginPath(),r.mode.indexOf("x")!=-1&&(n.moveTo(s,i.top),n.lineTo(s,i.top+this.plotHeight)),r.mode.indexOf("y")!=-1&&(n.moveTo(i.left,o),n.lineTo(i.left+this.plotWidth,o)),n.stroke(),n.restore()},clearCrosshair:function(){var e=this.plotOffset,t=this.lastMousePos,n=this.octx;t&&(n.clearRect(Math.round(t.relX)+e.left,e.top,1,this.plotHeight+1),n.clearRect(e.left,Math.round(t.relY)+e.top,this.plotWidth+1,1))}})}(),function(){function n(e,t,n,r,i,s){var o="image/"+e,u=n.getImageData(0,0,r,i),a=new Image;return n.save(),n.globalCompositeOperation="destination-over",n.fillStyle=s,n.fillRect(0,0,r,i),a.src=t.toDataURL(o),n.restore(),n.clearRect(0,0,r,i),n.putImageData(u,0,0),a}var e=Flotr.DOM,t=Flotr._;Flotr.addPlugin("download",{saveImage:function(r,i,s,o){var u=this.options.grid,a;if(Flotr.isIE&&Flotr.isIE<9)return a="<html><body>"+this.canvas.firstChild.innerHTML+"</body></html>",window.open().document.write(a);if(r!=="jpeg"&&r!=="png")return;a=n(r,this.canvas,this.ctx,this.canvasWidth,this.canvasHeight,u&&u.backgroundColor||"#ffffff");if(!t.isElement(a)||!o)return window.open(a.src);this.download.restoreCanvas(),e.hide(this.canvas),e.hide(this.overlay),e.setStyles({position:"absolute"}),e.insert(this.el,a),this.saveImageElement=a},restoreCanvas:function(){e.show(this.canvas),e.show(this.overlay),this.saveImageElement&&this.el.removeChild(this.saveImageElement),this.saveImageElement=null}})}(),function(){var e=Flotr.EventAdapter,t=Flotr._;Flotr.addPlugin("graphGrid",{callbacks:{"flotr:beforedraw":function(){this.graphGrid.drawGrid()},"flotr:afterdraw":function(){this.graphGrid.drawOutline()}},drawGrid:function(){function v(e){for(p=0;p<e.length;++p){var t=e[p].v/c.max;for(d=0;d<=w;++d)n[d===0?"moveTo":"lineTo"](Math.cos(d*S+x)*b*t,Math.sin(d*S+x)*b*t)}}function m(e,r){t.each(t.pluck(e,"v"),function(e){if(e<=c.min||e>=c.max||(e==c.min||e==c.max)&&i.outlineWidth)return;r(Math.floor(c.d2p(e))+n.lineWidth/2)})}function g(e){n.moveTo(e,0),n.lineTo(e,f)}function y(e){n.moveTo(0,e),n.lineTo(l,e)}var n=this.ctx,r=this.options,i=r.grid,s=i.verticalLines,o=i.horizontalLines,u=i.minorVerticalLines,a=i.minorHorizontalLines,f=this.plotHeight,l=this.plotWidth,c,h,p,d;(s||u||o||a)&&e.fire(this.el,"flotr:beforegrid",[this.axes.x,this.axes.y,r,this]),n.save(),n.lineWidth=1,n.strokeStyle=i.tickColor;if(i.circular){n.translate(this.plotOffset.left+l/2,this.plotOffset.top+f/2);var b=Math.min(f,l)*r.radar.radiusRatio/2,w=this.axes.x.ticks.length,S=2*(Math.PI/w),x=-Math.PI/2;n.beginPath(),c=this.axes.y,o&&v(c.ticks),a&&v(c.minorTicks),s&&t.times(w,function(e){n.moveTo(0,0),n.lineTo(Math.cos(e*S+x)*b,Math.sin(e*S+x)*b)}),n.stroke()}else n.translate(this.plotOffset.left,this.plotOffset.top),i.backgroundColor&&(n.fillStyle=this.processColor(i.backgroundColor,{x1:0,y1:0,x2:l,y2:f}),n.fillRect(0,0,l,f)),n.beginPath(),c=this.axes.x,s&&m(c.ticks,g),u&&m(c.minorTicks,g),c=this.axes.y,o&&m(c.ticks,y),a&&m(c.minorTicks,y),n.stroke();n.restore(),(s||u||o||a)&&e.fire(this.el,"flotr:aftergrid",[this.axes.x,this.axes.y,r,this])},drawOutline:function(){var e=this,t=e.options,n=t.grid,r=n.outline,s=e.ctx,o=n.backgroundImage,u=e.plotOffset,a=u.left,f=u.top,l=e.plotWidth,c=e.plotHeight,h,p,d,v,m,g;if(!n.outlineWidth)return;s.save();if(n.circular){s.translate(a+l/2,f+c/2);var y=Math.min(c,l)*t.radar.radiusRatio/2,b=this.axes.x.ticks.length,w=2*(Math.PI/b),E=-Math.PI/2;s.beginPath(),s.lineWidth=n.outlineWidth,s.strokeStyle=n.color,s.lineJoin="round";for(i=0;i<=b;++i)s[i===0?"moveTo":"lineTo"](Math.cos(i*w+E)*y,Math.sin(i*w+E)*y);s.stroke()}else{s.translate(a,f);var S=n.outlineWidth,x=.5-S+(S+1)%2/2,T="lineTo",N="moveTo";s.lineWidth=S,s.strokeStyle=n.color,s.lineJoin="miter",s.beginPath(),s.moveTo(x,x),l-=S/2%1,c+=S/2,s[r.indexOf("n")!==-1?T:N](l,x),s[r.indexOf("e")!==-1?T:N](l,c),s[r.indexOf("s")!==-1?T:N](x,c),s[r.indexOf("w")!==-1?T:N](x,x),s.stroke(),s.closePath()}s.restore(),o&&(d=o.src||o,v=(parseInt(o.left,10)||0)+u.left,m=(parseInt(o.top,10)||0)+u.top,p=new Image,p.onload=function(){s.save(),o.alpha&&(s.globalAlpha=o.alpha),s.globalCompositeOperation="destination-over",s.drawImage(p,0,0,p.width,p.height,v,m,l,c),s.restore()},p.src=d)}})}(),function(){var e=Flotr.DOM,t=Flotr._,n=Flotr,r="opacity:0.7;background-color:#000;color:#fff;position:absolute;padding:2px 8px;-moz-border-radius:4px;border-radius:4px;white-space:nowrap;";Flotr.addPlugin("hit",{callbacks:{"flotr:mousemove":function(e,t){this.hit.track(t)},"flotr:click":function(e){var n=this.hit.track(e);n&&!t.isUndefined(n.index)&&(e.hit=n)},"flotr:mouseout":function(e){e.relatedTarget!==this.mouseTrack&&this.hit.clearHit()},"flotr:destroy":function(){this.options.mouse.container&&e.remove(this.mouseTrack),this.mouseTrack=null}},track:function(e){if(this.options.mouse.track||t.any(this.series,function(e){return e.mouse&&e.mouse.track}))return this.hit.hit(e)},executeOnType:function(e,r,i){function u(e,u){t.each(t.keys(n.graphTypes),function(t){e[t]&&e[t].show&&!e.hide&&this[t][r]&&(o=this.getOptions(e,t),o.fill=!!e.mouse.fillColor,o.fillStyle=this.processColor(e.mouse.fillColor||"#ffffff",{opacity:e.mouse.fillOpacity}),o.color=e.mouse.lineColor,o.context=this.octx,o.index=u,i&&(o.args=i),this[t][r].call(this[t],o),s=!0)},this)}var s=!1,o;return t.isArray(e)||(e=[e]),t.each(e,u,this),s},drawHit:function(e){var t=this.octx,n=e.series;if(n.mouse.lineColor){t.save(),t.lineWidth=n.points?n.points.lineWidth:1,t.strokeStyle=n.mouse.lineColor,t.fillStyle=this.processColor(n.mouse.fillColor||"#ffffff",{opacity:n.mouse.fillOpacity}),t.translate(this.plotOffset.left,this.plotOffset.top);if(!this.hit.executeOnType(n,"drawHit",e)){var r=e.xaxis,i=e.yaxis;t.beginPath(),t.arc(r.d2p(e.x),i.d2p(e.y),n.points.hitRadius||n.points.radius||n.mouse.radius,0,2*Math.PI,!0),t.fill(),t.stroke(),t.closePath()}t.restore(),this.clip(t)}this.prevHit=e},clearHit:function(){var t=this.prevHit,n=this.octx,r=this.plotOffset;n.save(),n.translate(r.left,r.top);if(t){if(!this.hit.executeOnType(t.series,"clearHit",this.prevHit)){var i=t.series,s=i.points?i.points.lineWidth:1;offset=(i.points.hitRadius||i.points.radius||i.mouse.radius)+s,n.clearRect(t.xaxis.d2p(t.x)-offset,t.yaxis.d2p(t.y)-offset,offset*2,offset*2)}e.hide(this.mouseTrack),this.prevHit=null}n.restore()},hit:function(e){var n=this.options,r=this.prevHit,i,s,o,u,a,f,l,c,h;if(this.series.length===0)return;h={relX:e.relX,relY:e.relY,absX:e.absX,absY:e.absY,series:this.series};if(n.mouse.trackY&&!n.mouse.trackAll&&this.hit.executeOnType(this.series,"hit",[e,h])&&!t.isUndefined(h.seriesIndex))a=this.series[h.seriesIndex],h.series=a,h.mouse=a.mouse,h.xaxis=a.xaxis,h.yaxis=a.yaxis;else{i=this.hit.closest(e);if(i){i=n.mouse.trackY?i.point:i.x,u=i.seriesIndex,a=this.series[u],l=a.xaxis,c=a.yaxis,s=2*a.mouse.sensibility;if(n.mouse.trackAll||i.distanceX<s/l.scale&&(!n.mouse.trackY||i.distanceY<s/c.scale))h.series=a,h.xaxis=a.xaxis,h.yaxis=a.yaxis,h.mouse=a.mouse,h.x=i.x,h.y=i.y,h.dist=i.distance,h.index=i.dataIndex,h.seriesIndex=u}}if(!r||r.index!==h.index||r.seriesIndex!==h.seriesIndex)this.hit.clearHit(),h.series&&h.mouse&&h.mouse.track&&(this.hit.drawMouseTrack(h),this.hit.drawHit(h),Flotr.EventAdapter.fire(this.el,"flotr:hit",[h,this]));return h},closest:function(e){function E(e){e.distance=h,e.distanceX=p,e.distanceY=d,e.seriesIndex=b,e.dataIndex=w,e.x=g,e.y=y,f=!0}var t=this.series,n=this.options,r=e.relX,i=e.relY,s=Number.MAX_VALUE,o=Number.MAX_VALUE,u={},a={},f=!1,l,c,h,p,d,v,m,g,y,b,w;for(b=0;b<t.length;b++){l=t[b],c=l.data,v=l.xaxis.p2d(r),m=l.yaxis.p2d(i);if(l.hide)continue;for(w=c.length;w--;){g=c[w][0],y=c[w][1],c[w].y0&&(y+=c[w].y0);if(g===null||y===null)continue;if(g<l.xaxis.min||g>l.xaxis.max)continue;p=Math.abs(g-v),d=Math.abs(y-m),h=p*p+d*d,h<s&&(s=h,E(u)),p<o&&(o=p,E(a))}}return f?{point:u,x:a}:!1},drawMouseTrack:function(n){var i="",s=n.series,o=n.mouse.position,u=n.mouse.margin,a=n.x,f=n.y,l=r,c=this.mouseTrack,h=this.plotOffset,p=h.left,d=h.right,v=h.bottom,m=h.top,g=n.mouse.trackDecimals,y=this.options,b=y.mouse.container,w=0,E=0,S,x,T;c||(c=e.node('<div class="flotr-mouse-value" style="'+l+'"></div>'),this.mouseTrack=c,e.insert(b||this.el,c));if(!g||g<0)g=0;a&&a.toFixed&&(a=a.toFixed(g)),f&&f.toFixed&&(f=f.toFixed(g)),T=n.mouse.trackFormatter({x:a,y:f,series:n.series,index:n.index,nearest:n,fraction:n.fraction});if(t.isNull(T)||t.isUndefined(T)){e.hide(c);return}c.innerHTML=T,e.show(c);if(!o)return;x=e.size(c),b&&(S=e.position(this.el),w=S.top,E=S.left);if(!n.mouse.relative)i+="top:",o.charAt(0)=="n"?i+=w+u+m:o.charAt(0)=="s"&&(i+=w-u+m+this.plotHeight-x.height),i+="px;bottom:auto;left:",o.charAt(1)=="e"?i+=E-u+p+this.plotWidth-x.width:o.charAt(1)=="w"&&(i+=E+u+p),i+="px;right:auto;";else if(s.pie&&s.pie.show){var N={x:this.plotWidth/2,y:this.plotHeight/2},C=Math.min(this.canvasWidth,this.canvasHeight)*s.pie.sizeRatio/2,k=n.sAngle<n.eAngle?(n.sAngle+n.eAngle)/2:(n.sAngle+n.eAngle+2*Math.PI)/2;i+="bottom:"+(u-m-N.y-Math.sin(k)*C/2+this.canvasHeight)+"px;top:auto;",i+="left:"+(u+p+N.x+Math.cos(k)*C/2)+"px;right:auto;"}else i+="top:",/n/.test(o)?i+=w-u+m+n.yaxis.d2p(n.y)-x.height:i+=w+u+m+n.yaxis.d2p(n.y),i+="px;bottom:auto;left:",/w/.test(o)?i+=E-u+p+n.xaxis.d2p(n.x)-x.width:i+=E+u+p+n.xaxis.d2p(n.x),i+="px;right:auto;";c.style.cssText=l+i,n.mouse.relative&&(/[ew]/.test(o)?/[ns]/.test(o)||(c.style.top=w+m+n.yaxis.d2p(n.y)-e.size(c).height/2+"px"):c.style.left=E+p+n.xaxis.d2p(n.x)-e.size(c).width/2+"px")}})}(),function(){function e(e,t){return e.which?e.which===1:e.button===0||e.button===1}function t(e,t){return Math.min(Math.max(0,e),t.plotWidth-1)}function n(e,t){return Math.min(Math.max(0,e),t.plotHeight)}var r=Flotr.DOM,i=Flotr.EventAdapter,s=Flotr._;Flotr.addPlugin("selection",{options:{pinchOnly:null,mode:null,color:"#B6D9FF",fps:20},callbacks:{"flotr:mouseup":function(e){var t=this.options.selection,n=this.selection,r=this.getEventPosition(e);if(!t||!t.mode)return;n.interval&&clearInterval(n.interval),this.multitouches?n.updateSelection():t.pinchOnly||n.setSelectionPos(n.selection.second,r),n.clearSelection(),n.selecting&&n.selectionIsSane()&&(n.drawSelection(),n.fireSelectEvent(),this.ignoreClick=!0)},"flotr:mousedown":function(t){var n=this.options.selection,r=this.selection,i=this.getEventPosition(t);if(!n||!n.mode)return;if(!n.mode||!e(t)&&s.isUndefined(t.touches))return;n.pinchOnly||r.setSelectionPos(r.selection.first,i),r.interval&&clearInterval(r.interval),this.lastMousePos.pageX=null,r.selecting=!1,r.interval=setInterval(s.bind(r.updateSelection,this),1e3/n.fps)},"flotr:destroy":function(e){clearInterval(this.selection.interval)}},getArea:function(){var e=this.selection.selection,t=this.axes,n=e.first,r=e.second,i,s,o,u;return i=t.x.p2d(e.first.x),s=t.x.p2d(e.second.x),o=t.y.p2d(e.first.y),u=t.y.p2d(e.second.y),{x1:Math.min(i,s),y1:Math.min(o,u),x2:Math.max(i,s),y2:Math.max(o,u),xfirst:i,xsecond:s,yfirst:o,ysecond:u}},selection:{first:{x:-1,y:-1},second:{x:-1,y:-1}},prevSelection:null,interval:null,fireSelectEvent:function(e){var t=this.selection.getArea();e=e||"select",t.selection=this.selection.selection,i.fire(this.el,"flotr:"+e,[t,this])},setSelection:function(e,r){var i=this.options,s=this.axes.x,o=this.axes.y,u=o.scale,a=s.scale,f=i.selection.mode.indexOf("x")!=-1,l=i.selection.mode.indexOf("y")!=-1,c=this.selection.selection;this.selection.clearSelection(),c.first.y=n(f&&!l?0:(o.max-e.y1)*u,this),c.second.y=n(f&&!l?this.plotHeight-1:(o.max-e.y2)*u,this),c.first.x=t(l&&!f?0:(e.x1-s.min)*a,this),c.second.x=t(l&&!f?this.plotWidth:(e.x2-s.min)*a,this),this.selection.drawSelection(),r||this.selection.fireSelectEvent()},setSelectionPos:function(e,r){var i=this.options.selection.mode,s=this.selection.selection;i.indexOf("x")==-1?e.x=e==s.first?0:this.plotWidth:e.x=t(r.relX,this),i.indexOf("y")==-1?e.y=e==s.first?0:this.plotHeight-1:e.y=n(r.relY,this)},drawSelection:function(){this.selection.fireSelectEvent("selecting");var e=this.selection.selection,t=this.octx,n=this.options,r=this.plotOffset,i=this.selection.prevSelection;if(i&&e.first.x==i.first.x&&e.first.y==i.first.y&&e.second.x==i.second.x&&e.second.y==i.second.y)return;t.save(),t.strokeStyle=this.processColor(n.selection.color,{opacity:.8}),t.lineWidth=1,t.lineJoin="miter",t.fillStyle=this.processColor(n.selection.color,{opacity:.4}),this.selection.prevSelection={first:{x:e.first.x,y:e.first.y},second:{x:e.second.x,y:e.second.y}};var s=Math.min(e.first.x,e.second.x),o=Math.min(e.first.y,e.second.y),u=Math.abs(e.second.x-e.first.x),a=Math.abs(e.second.y-e.first.y);t.fillRect(s+r.left+.5,o+r.top+.5,u,a),t.strokeRect(s+r.left+.5,o+r.top+.5,u,a),t.restore()},updateSelection:function(){if(!this.lastMousePos.pageX)return;this.selection.selecting=!0;if(this.multitouches)this.selection.setSelectionPos(this.selection.selection.first,this.getEventPosition(this.multitouches[0])),this.selection.setSelectionPos(this.selection.selection.second,this.getEventPosition(this.multitouches[1]));else{if(this.options.selection.pinchOnly)return;this.selection.setSelectionPos(this.selection.selection.second,this.lastMousePos)}this.selection.clearSelection(),this.selection.selectionIsSane()&&this.selection.drawSelection()},clearSelection:function(){if(!this.selection.prevSelection)return;var e=this.selection.prevSelection,t=1,n=this.plotOffset,r=Math.min(e.first.x,e.second.x),i=Math.min(e.first.y,e.second.y),s=Math.abs(e.second.x-e.first.x),o=Math.abs(e.second.y-e.first.y);this.octx.clearRect(r+n.left-t+.5,i+n.top-t,s+2*t+.5,o+2*t+.5),this.selection.prevSelection=null},selectionIsSane:function(){var e=this.selection.selection;return Math.abs(e.second.x-e.first.x)>=5||Math.abs(e.second.y-e.first.y)>=5}})}(),function(){var e=Flotr.DOM;Flotr.addPlugin("labels",{callbacks:{"flotr:afterdraw":function(){this.labels.draw()}},draw:function(){function b(e,t,r){var i=r?t.minorTicks:t.ticks,s=t.orientation===1,u=t.n===1,l,h;l={color:t.options.color||d.grid.color,angle:Flotr.toRad(t.options.labelsAngle),textBaseline:"middle"};for(c=0;c<i.length&&(r?t.options.showMinorLabels:t.options.showLabels);++c){n=i[c],n.label+="";if(!n.label||!n.label.length)continue;x=Math.cos(c*a+f)*o,y=Math.sin(c*a+f)*o,l.textAlign=s?Math.abs(x)<.1?"center":x<0?"right":"left":"left",Flotr.drawText(v,n.label,s?x:3,s?y:-(t.ticks[c].v/t.max)*(o-d.fontSize),l)}}function w(e,t,r,i){function f(e){return e.options.showLabels&&e.used}function l(e,t,n,r){return e.plotOffset.left+(t?r:n?-d.grid.labelMargin:d.grid.labelMargin+e.plotWidth)}function h(e,t,n,r){return e.plotOffset.top+(t?d.grid.labelMargin:r)+(t&&n?e.plotHeight:0)}var s=t.orientation===1,o=t.n===1,u,a;u={color:t.options.color||d.grid.color,textAlign:r,textBaseline:i,angle:Flotr.toRad(t.options.labelsAngle)},u=Flotr.getBestTextAlign(u.angle,u);for(c=0;c<t.ticks.length&&f(t);++c){n=t.ticks[c];if(!n.label||!n.label.length)continue;a=t.d2p(n.v);if(a<0||a>(s?e.plotWidth:e.plotHeight))continue;Flotr.drawText(v,n.label,l(e,s,o,a),h(e,s,o,a),u),!s&&!o&&(v.save(),v.strokeStyle=u.color,v.beginPath(),v.moveTo(e.plotOffset.left+e.plotWidth-8,e.plotOffset.top+t.d2p(n.v)),v.lineTo(e.plotOffset.left+e.plotWidth,e.plotOffset.top+t.d2p(n.v)),v.stroke(),v.restore())}}function E(e,t){var r=t.orientation===1,i=t.n===1,o="",u,a,f,l=e.plotOffset;!r&&!i&&(v.save(),v.strokeStyle=t.options.color||d.grid.color,v.beginPath());if(t.options.showLabels&&(i?!0:t.used))for(c=0;c<t.ticks.length;++c){n=t.ticks[c];if(!n.label||!n.label.length||(r?l.left:l.top)+t.d2p(n.v)<0||(r?l.left:l.top)+t.d2p(n.v)>(r?e.canvasWidth:e.canvasHeight))continue;f=l.top+(r?(i?1:-1)*(e.plotHeight+d.grid.labelMargin):t.d2p(n.v)-t.maxLabel.height/2),u=r?l.left+t.d2p(n.v)-s/2:0,o="",c===0?o=" first":c===t.ticks.length-1&&(o=" last"),o+=r?" flotr-grid-label-x":" flotr-grid-label-y",h+=['<div style="position:absolute; text-align:'+(r?"center":"right")+"; ","top:"+f+"px; ",(!r&&!i?"right:":"left:")+u+"px; ","width:"+(r?s:(i?l.left:l.right)-d.grid.labelMargin)+"px; ",t.options.color?"color:"+t.options.color+"; ":" ",'" class="flotr-grid-label'+o+'">'+n.label+"</div>"].join(" "),!r&&!i&&(v.moveTo(l.left+e.plotWidth-8,l.top+t.d2p(n.v)),v.lineTo(l.left+e.plotWidth,l.top+t.d2p(n.v)))}}var t,n,r,i,s,o,u,a,f,l,c,h="",p=0,d=this.options,v=this.ctx,m=this.axes,g={size:d.fontSize};for(c=0;c<m.x.ticks.length;++c)m.x.ticks[c].label&&++p;s=this.plotWidth/p,d.grid.circular&&(v.save(),v.translate(this.plotOffset.left+this.plotWidth/2,this.plotOffset.top+this.plotHeight/2),o=this.plotHeight*d.radar.radiusRatio/2+d.fontSize,u=this.axes.x.ticks.length,a=2*(Math.PI/u),f=-Math.PI/2,b(this,m.x,!1),b(this,m.x,!0),b(this,m.y,!1),b(this,m.y,!0),v.restore()),!d.HtmlText&&this.textEnabled?(w(this,m.x,"center","top"),w(this,m.x2,"center","bottom"),w(this,m.y,"right","middle"),w(this,m.y2,"left","middle")):(m.x.options.showLabels||m.x2.options.showLabels||m.y.options.showLabels||m.y2.options.showLabels)&&!d.grid.circular&&(h="",E(this,m.x),E(this,m.x2),E(this,m.y),E(this,m.y2),v.stroke(),v.restore(),l=e.create("div"),e.setStyles(l,{fontSize:"smaller",color:d.grid.color}),l.className="flotr-labels",e.insert(this.el,l),e.insert(l,h))}})}(),function(){var e=Flotr.DOM,t=Flotr._;Flotr.addPlugin("legend",{options:{show:!0,noColumns:1,labelFormatter:function(e){return e},labelBoxBorderColor:"#CCCCCC",labelBoxWidth:14,labelBoxHeight:10,labelBoxMargin:5,container:null,position:"nw",margin:5,backgroundColor:"#F0F0F0",backgroundOpacity:.85},callbacks:{"flotr:afterinit":function(){this.legend.insertLegend()},"flotr:destroy":function(){var t=this.legend.markup;t&&(this.legend.markup=null,e.remove(t))}},insertLegend:function(){if(!this.options.legend.show)return;var n=this.series,r=this.plotOffset,i=this.options,s=i.legend,o=[],u=!1,a=this.ctx,f=t.filter(n,function(e){return e.label&&!e.hide}).length,l=s.position,c=s.margin,h=s.backgroundOpacity,p,d,v;if(f){var m=s.labelBoxWidth,g=s.labelBoxHeight,y=s.labelBoxMargin,b=r.left+c,w=r.top+c,E=0,S={size:i.fontSize*1.1,color:i.grid.color};for(p=n.length-1;p>-1;--p){if(!n[p].label||n[p].hide)continue;d=s.labelFormatter(n[p].label),E=Math.max(E,this._text.measureText(d,S).width)}var x=Math.round(m+y*3+E),T=Math.round(f*(y+g)+y);!h&&h!==0&&(h=.1);if(!i.HtmlText&&this.textEnabled&&!s.container){l.charAt(0)=="s"&&(w=r.top+this.plotHeight-(c+T)),l.charAt(0)=="c"&&(w=r.top+this.plotHeight/2-(c+T/2)),l.charAt(1)=="e"&&(b=r.left+this.plotWidth-(c+x)),v=this.processColor(s.backgroundColor,{opacity:h}),a.fillStyle=v,a.fillRect(b,w,x,T),a.strokeStyle=s.labelBoxBorderColor,a.strokeRect(Flotr.toPixel(b),Flotr.toPixel(w),x,T);var N=b+y,C=w+y;for(p=0;p<n.length;p++){if(!n[p].label||n[p].hide)continue;d=s.labelFormatter(n[p].label),a.fillStyle=n[p].color,a.fillRect(N,C,m-1,g-1),a.strokeStyle=s.labelBoxBorderColor,a.lineWidth=1,a.strokeRect(Math.ceil(N)-1.5,Math.ceil(C)-1.5,m+2,g+2),Flotr.drawText(a,d,N+m+y,C+g,S),C+=g+y}}else{for(p=0;p<n.length;++p){if(!n[p].label||n[p].hide)continue;p%s.noColumns===0&&(o.push(u?"</tr><tr>":"<tr>"),u=!0);var k=n[p],L=s.labelBoxWidth,A=s.labelBoxHeight;d=s.labelFormatter(k.label),v="background-color:"+(k.bars&&k.bars.show&&k.bars.fillColor&&k.bars.fill?k.bars.fillColor:k.color)+";",o.push('<td class="flotr-legend-color-box">','<div style="border:1px solid ',s.labelBoxBorderColor,';padding:1px">','<div style="width:',L-1,"px;height:",A-1,"px;border:1px solid ",n[p].color,'">','<div style="width:',L,"px;height:",A,"px;",v,'"></div>',"</div>","</div>","</td>",'<td class="flotr-legend-label">',d,"</td>")}u&&o.push("</tr>");if(o.length>0){var O='<table style="font-size:smaller;color:'+i.grid.color+'">'+o.join("")+"</table>";if(s.container)O=e.node(O),this.legend.markup=O,e.insert(s.container,O);else{var M={position:"absolute",zIndex:"2",border:"1px solid "+s.labelBoxBorderColor};l.charAt(0)=="n"?(M.top=c+r.top+"px",M.bottom="auto"):l.charAt(0)=="c"?(M.top=c+(this.plotHeight-T)/2+"px",M.bottom="auto"):l.charAt(0)=="s"&&(M.bottom=c+r.bottom+"px",M.top="auto"),l.charAt(1)=="e"?(M.right=c+r.right+"px",M.left="auto"):l.charAt(1)=="w"&&(M.left=c+r.left+"px",M.right="auto");var P=e.create("div"),H;P.className="flotr-legend",e.setStyles(P,M),e.insert(P,O),e.insert(this.el,P);if(!h)return;var B=s.backgroundColor||i.grid.backgroundColor||"#ffffff";t.extend(M,e.size(P),{backgroundColor:B,zIndex:"",border:""}),M.width+="px",M.height+="px",P=e.create("div"),P.className="flotr-legend-bg",e.setStyles(P,M),e.opacity(P,h),e.insert(P," "),e.insert(this.el,P)}}}}}})}(),function(){function e(e){if(this.options.spreadsheet.tickFormatter)return this.options.spreadsheet.tickFormatter(e);var t=n.find(this.axes.x.ticks,function(t){return t.v==e});return t?t.label:e}var t=Flotr.DOM,n=Flotr._;Flotr.addPlugin("spreadsheet",{options:{show:!1,tabGraphLabel:"Graph",tabDataLabel:"Data",toolbarDownload:"Download CSV",toolbarSelectAll:"Select all",csvFileSeparator:",",decimalSeparator:".",tickFormatter:null,initialTab:"graph"},callbacks:{"flotr:afterconstruct":function(){if(!this.options.spreadsheet.show)return;var e=this.spreadsheet,n=t.node('<div class="flotr-tabs-group" style="position:absolute;left:0px;width:'+this.canvasWidth+'px"></div>'),r=t.node('<div style="float:left" class="flotr-tab selected">'+this.options.spreadsheet.tabGraphLabel+"</div>"),i=t.node('<div style="float:left" class="flotr-tab">'+this.options.spreadsheet.tabDataLabel+"</div>"),s;e.tabsContainer=n,e.tabs={graph:r,data:i},t.insert(n,r),t.insert(n,i),t.insert(this.el,n),s=t.size(i).height+2,this.plotOffset.bottom+=s,t.setStyles(n,{top:this.canvasHeight-s+"px"}),this.observe(r,"click",function(){e.showTab("graph")}).observe(i,"click",function(){e.showTab("data")}),this.options.spreadsheet.initialTab!=="graph"&&e.showTab(this.options.spreadsheet.initialTab)}},loadDataGrid:function(){if(this.seriesData)return this.seriesData;var e=this.series,t={};return n.each(e,function(e,r){n.each(e.data,function(e){var n=e[0],s=e[1],o=t[n];if(o)o[r+1]=s;else{var u=[];u[0]=n,u[r+1]=s,t[n]=u}})}),this.seriesData=n.sortBy(t,function(e,t){return parseInt(t,10)}),this.seriesData},constructDataGrid:function(){if(this.spreadsheet.datagrid)return this.spreadsheet.datagrid;var r=this.series,i=this.spreadsheet.loadDataGrid(),s=["<colgroup><col />"],o,u,a,f=['<table class="flotr-datagrid"><tr class="first-row">'];f.push("<th>&nbsp;</th>"),n.each(r,function(e,t){f.push('<th scope="col">'+(e.label||String.fromCharCode(65+t))+"</th>"),s.push("<col />")}),f.push("</tr>"),n.each(i,function(t){f.push("<tr>"),n.times(r.length+1,function(r){var i="td",s=t[r],o=n.isUndefined(s)?"":Math.round(s*1e5)/1e5;if(r===0){i="th";var u=e.call(this,o);u&&(o=u)}f.push("<"+i+(i=="th"?' scope="row"':"")+">"+o+"</"+i+">")},this),f.push("</tr>")},this),s.push("</colgroup>"),a=t.node(f.join("")),o=t.node('<button type="button" class="flotr-datagrid-toolbar-button">'+this.options.spreadsheet.toolbarDownload+"</button>"),u=t.node('<button type="button" class="flotr-datagrid-toolbar-button">'+this.options.spreadsheet.toolbarSelectAll+"</button>"),this.observe(o,"click",n.bind(this.spreadsheet.downloadCSV,this)).observe(u,"click",n.bind(this.spreadsheet.selectAllData,this));var l=t.node('<div class="flotr-datagrid-toolbar"></div>');t.insert(l,o),t.insert(l,u);var c=this.canvasHeight-t.size(this.spreadsheet.tabsContainer).height-2,h=t.node('<div class="flotr-datagrid-container" style="position:absolute;left:0px;top:0px;width:'+this.canvasWidth+"px;height:"+c+'px;overflow:auto;z-index:10"></div>');return t.insert(h,l),t.insert(h,a),t.insert(this.el,h),this.spreadsheet.datagrid=a,this.spreadsheet.container=h,a},showTab:function(e){if(this.spreadsheet.activeTab===e)return;switch(e){case"graph":t.hide(this.spreadsheet.container),t.removeClass(this.spreadsheet.tabs.data,"selected"),t.addClass(this.spreadsheet.tabs.graph,"selected");break;case"data":this.spreadsheet.datagrid||this.spreadsheet.constructDataGrid(),t.show(this.spreadsheet.container),t.addClass(this.spreadsheet.tabs.data,"selected"),t.removeClass(this.spreadsheet.tabs.graph,"selected");break;default:throw"Illegal tab name: "+e}this.spreadsheet.activeTab=e},selectAllData:function(){if(this.spreadsheet.tabs){var e,t,n,r,i=this.spreadsheet.constructDataGrid();return this.spreadsheet.showTab("data"),setTimeout(function(){(n=i.ownerDocument)&&(r=n.defaultView)&&r.getSelection&&n.createRange&&(e=window.getSelection())&&e.removeAllRanges?(t=n.createRange(),t.selectNode(i),e.removeAllRanges(),e.addRange(t)):document.body&&document.body.createTextRange&&(t=document.body.createTextRange())&&(t.moveToElementText(i),t.select())},0),!0}return!1},downloadCSV:function(){var t="",r=this.series,i=this.options,s=this.spreadsheet.loadDataGrid(),o=encodeURIComponent(i.spreadsheet.csvFileSeparator);if(i.spreadsheet.decimalSeparator===i.spreadsheet.csvFileSeparator)throw"The decimal separator is the same as the column separator ("+i.spreadsheet.decimalSeparator+")";n.each(r,function(e,n){t+=o+'"'+(e.label||String.fromCharCode(65+n)).replace(/\"/g,'\\"')+'"'}),t+="%0D%0A",t+=n.reduce(s,function(t,n){var r=e.call(this,n[0])||"";r='"'+(r+"").replace(/\"/g,'\\"')+'"';var s=n.slice(1).join(o);return i.spreadsheet.decimalSeparator!=="."&&(s=s.replace(/\./g,i.spreadsheet.decimalSeparator)),t+r+o+s+"%0D%0A"},"",this),Flotr.isIE&&Flotr.isIE<9?(t=t.replace(new RegExp(o,"g"),decodeURIComponent(o)).replace(/%0A/g,"\n").replace(/%0D/g,"\r"),window.open().document.write(t)):window.open("data:text/csv,"+t)}})}(),function(){var e=Flotr.DOM;Flotr.addPlugin("titles",{callbacks:{"flotr:afterdraw":function(){this.titles.drawTitles()}},drawTitles:function(){var t,n=this.options,r=n.grid.labelMargin,i=this.ctx,s=this.axes;if(!n.HtmlText&&this.textEnabled){var o={size:n.fontSize,color:n.grid.color,textAlign:"center"};n.subtitle&&Flotr.drawText(i,n.subtitle,this.plotOffset.left+this.plotWidth/2,this.titleHeight+this.subtitleHeight-2,o),o.weight=1.5,o.size*=1.5,n.title&&Flotr.drawText(i,n.title,this.plotOffset.left+this.plotWidth/2,this.titleHeight-2,o),o.weight=1.8,o.size*=.8,s.x.options.title&&s.x.used&&(o.textAlign=s.x.options.titleAlign||"center",o.textBaseline="top",o.angle=Flotr.toRad(s.x.options.titleAngle),o=Flotr.getBestTextAlign(o.angle,o),Flotr.drawText(i,s.x.options.title,this.plotOffset.left+this.plotWidth/2,this.plotOffset.top+s.x.maxLabel.height+this.plotHeight+2*r,o)),s.x2.options.title&&s.x2.used&&(o.textAlign=s.x2.options.titleAlign||"center",o.textBaseline="bottom",o.angle=Flotr.toRad(s.x2.options.titleAngle),o=Flotr.getBestTextAlign(o.angle,o),Flotr.drawText(i,s.x2.options.title,this.plotOffset.left+this.plotWidth/2,this.plotOffset.top-s.x2.maxLabel.height-2*r,o)),s.y.options.title&&s.y.used&&(o.textAlign=s.y.options.titleAlign||"right",o.textBaseline="middle",o.angle=Flotr.toRad(s.y.options.titleAngle),o=Flotr.getBestTextAlign(o.angle,o),Flotr.drawText(i,s.y.options.title,this.plotOffset.left-s.y.maxLabel.width-2*r,this.plotOffset.top+this.plotHeight/2,o)),s.y2.options.title&&s.y2.used&&(o.textAlign=s.y2.options.titleAlign||"left",o.textBaseline="middle",o.angle=Flotr.toRad(s.y2.options.titleAngle),o=Flotr.getBestTextAlign(o.angle,o),Flotr.drawText(i,s.y2.options.title,this.plotOffset.left+this.plotWidth+s.y2.maxLabel.width+2*r,this.plotOffset.top+this.plotHeight/2,o))}else{t=[],n.title&&t.push('<div style="position:absolute;top:0;left:',this.plotOffset.left,"px;font-size:1em;font-weight:bold;text-align:center;width:",this.plotWidth,'px;" class="flotr-title">',n.title,"</div>"),n.subtitle&&t.push('<div style="position:absolute;top:',this.titleHeight,"px;left:",this.plotOffset.left,"px;font-size:smaller;text-align:center;width:",this.plotWidth,'px;" class="flotr-subtitle">',n.subtitle,"</div>"),t.push("</div>"),t.push('<div class="flotr-axis-title" style="font-weight:bold;">'),s.x.options.title&&s.x.used&&t.push('<div style="position:absolute;top:',this.plotOffset.top+this.plotHeight+n.grid.labelMargin+s.x.titleSize.height,"px;left:",this.plotOffset.left,"px;width:",this.plotWidth,"px;text-align:",s.x.options.titleAlign,';" class="flotr-axis-title flotr-axis-title-x1">',s.x.options.title,"</div>"),s.x2.options.title&&s.x2.used&&t.push('<div style="position:absolute;top:0;left:',this.plotOffset.left,"px;width:",this.plotWidth,"px;text-align:",s.x2.options.titleAlign,';" class="flotr-axis-title flotr-axis-title-x2">',s.x2.options.title,"</div>"),s.y.options.title&&s.y.used&&t.push('<div style="position:absolute;top:',this.plotOffset.top+this.plotHeight/2-s.y.titleSize.height/2,"px;left:0;text-align:",s.y.options.titleAlign,';" class="flotr-axis-title flotr-axis-title-y1">',s.y.options.title,"</div>"),s.y2.options.title&&s.y2.used&&t.push('<div style="position:absolute;top:',this.plotOffset.top+this.plotHeight/2-s.y.titleSize.height/2,"px;right:0;text-align:",s.y2.options.titleAlign,';" class="flotr-axis-title flotr-axis-title-y2">',s.y2.options.title,"</div>"),t=t.join("");var u=e.create("div");e.setStyles({color:n.grid.color}),u.className="flotr-titles",e.insert(this.el,u),e.insert(u,t)}}})}();
+// @license-end
diff --git a/p/scripts/global_view.js b/p/scripts/global_view.js
index b1581614a..bc4a48b91 100644
--- a/p/scripts/global_view.js
+++ b/p/scripts/global_view.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
"use strict";
/* globals context, init_load_more, init_posts, init_stream */
/* jshint esversion:6, strict:global */
@@ -110,3 +111,4 @@ if (document.readyState && document.readyState !== 'loading') {
init_all_global_view();
}, false);
}
+// @license-end
diff --git a/p/scripts/install.js b/p/scripts/install.js
index 967d27627..ccf3b6bb0 100644
--- a/p/scripts/install.js
+++ b/p/scripts/install.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
"use strict";
/* jshint globalstrict: true */
@@ -71,3 +72,4 @@ var confirms = document.getElementsByClassName('confirm');
for (var i = 0 ; i < confirms.length ; i++) {
confirms[i].addEventListener('click', ask_confirmation);
}
+// @license-end
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 4fd91235e..361bed02a 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
"use strict";
/* jshint esversion:6, strict:global */
@@ -720,8 +721,14 @@ function init_shortcuts() {
return true;
}
- const s = context.shortcuts,
- k = (ev.key.trim() || ev.code).toUpperCase();
+ const s = context.shortcuts;
+ let k = (ev.key.trim() || ev.code || 'Space').toUpperCase();
+
+ //IE11
+ if (k === 'SPACEBAR') k = 'SPACE';
+ else if (k === 'DEL') k = 'DELETE';
+ else if (k === 'ESC') k = 'ESCAPE';
+
if (location.hash.match(/^#dropdown-/)) {
const n = parseInt(k);
if (n) {
@@ -803,7 +810,11 @@ function init_shortcuts() {
if (context.auto_mark_site) {
mark_read(document.querySelector('.flux.current'), true, false);
}
- window.open(document.querySelector('.flux.current a.go_website').href);
+ const newWindow = window.open();
+ if (newWindow) {
+ newWindow.opener = null;
+ newWindow.location = document.querySelector('.flux.current a.go_website').href;
+ }
return false;
}
if (k === s.skip_next_entry) { next_entry(true); return false; }
@@ -1387,9 +1398,10 @@ function faviconNbUnread(n) {
}
//http://remysharp.com/2010/08/24/dynamic-favicons/
const canvas = document.createElement('canvas'),
- link = document.getElementById('favicon').cloneNode(true);
+ link = document.getElementById('favicon').cloneNode(true),
+ ratio = window.devicePixelRatio;
if (canvas.getContext && link) {
- canvas.height = canvas.width = 16;
+ canvas.height = canvas.width = 16 * ratio;
const img = document.createElement('img');
img.onload = function () {
const ctx = canvas.getContext('2d');
@@ -1403,9 +1415,9 @@ function faviconNbUnread(n) {
} else {
text = 'E' + Math.floor(Math.log10(n));
}
- ctx.font = 'bold 9px "Arial", sans-serif';
+ ctx.font = 'bold ' + 9 * ratio + 'px "Arial", sans-serif';
ctx.fillStyle = 'rgba(255, 255, 255, 0.8)';
- ctx.fillRect(0, 7, ctx.measureText(text).width, 9);
+ ctx.fillRect(0, 7 * ratio, ctx.measureText(text).width, 9 * ratio);
ctx.fillStyle = '#F00';
ctx.fillText(text, 0, canvas.height - 1);
}
@@ -1454,6 +1466,7 @@ function init_afterDOM() {
init_posts();
init_nav_entries();
init_notifs_html5();
+ setTimeout(faviconNbUnread, 1000);
setInterval(refreshUnreads, 120000);
}
@@ -1474,3 +1487,4 @@ if (document.readyState && document.readyState !== 'loading') {
init_afterDOM();
}, false);
}
+// @license-end
diff --git a/p/scripts/repartition.js b/p/scripts/repartition.js
index e71fa71c4..8837c687b 100644
--- a/p/scripts/repartition.js
+++ b/p/scripts/repartition.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
"use strict";
/* globals Flotr, numberFormat */
/* jshint esversion:6, strict:global */
@@ -70,3 +71,4 @@ function initStats() {
}
initStats();
+// @license-end
diff --git a/p/scripts/stats.js b/p/scripts/stats.js
index b47188d77..54ea0e4de 100644
--- a/p/scripts/stats.js
+++ b/p/scripts/stats.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
"use strict";
/* globals Flotr, numberFormat */
/* jshint esversion:6, strict:global */
@@ -57,3 +58,4 @@ function initStats() {
});
}
initStats();
+// @license-end
diff --git a/p/themes/.gitignore b/p/themes/.gitignore
new file mode 100644
index 000000000..18cb4b685
--- /dev/null
+++ b/p/themes/.gitignore
@@ -0,0 +1 @@
+xTheme-*
diff --git a/p/themes/Ansum/_components.scss b/p/themes/Ansum/_components.scss
index be27fcd92..d7b6d4ed6 100644
--- a/p/themes/Ansum/_components.scss
+++ b/p/themes/Ansum/_components.scss
@@ -5,119 +5,119 @@
/*=== Horizontal-list */
.horizontal-list {
- margin: 0;
- padding: 0.1rem 0;
+ margin: 0;
+ padding: 0.1rem 0;
- .item{
- vertical-align: middle;
+ .item {
+ vertical-align: middle;
- &:first-child{
- padding-left: 0.5rem;
- }
+ &:first-child {
+ padding-left: 0.5rem;
+ }
- }
+ }
}
/*=== Dropdown */
.dropdown-menu {
- background: $grey-lighter;
- margin: 0;
- font-size: 1rem;
- text-align: left;
- padding: 0.5rem 0 1rem 0;
- border: none;
- border-radius: 3px;
-
- -webkit-box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
- -moz-box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
- box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
-
- &::after {
- content: "";
- position: absolute;
- top: -4px;
- right: 13px;
- width: 10px;
- height: 10px;
- z-index: -10;
- transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- background: white;
- // border-top: 1px solid #95a5a6;
- // border-left: 1px solid #95a5a6;
- }
-
- .dropdown-header {
- // padding: 0 5px 5px;
- margin: 1.75rem 0 0.5rem 2rem;
- font-weight: bold;
+ margin: 0;
+ padding: 0.5rem 0 1rem 0;
+ background: $grey-lighter;
+ font-size: 1rem;
+ border: none;
+ border-radius: 3px;
+ box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
text-align: left;
- color: $grey-dark;
- text-transform: uppercase;
- letter-spacing: 1px;
-
-
- }
-
- .item{
- @include transition(all, 0.075s, ease-in-out);
- a, span, .as-link{
- padding: 0 2rem;
- line-height: 2.5em;
- font-size: 1rem;
- color: $main-font-color;
- }
- &:hover{
- background: $main-first;
- color: $white;
- a, button{
- text-decoration: none;
- color: $white;
- }
+ &::after {
+ background: white;
+ width: 10px;
+ height: 10px;
+ content: "";
+ position: absolute;
+ top: -4px;
+ right: 13px;
+ z-index: -10;
+ transform: rotate(45deg);
+ // border-top: 1px solid #95a5a6;
+ // border-left: 1px solid #95a5a6;
}
- &[aria-checked="true"]{
- a::before{
+
+ .dropdown-header {
+ // padding: 0 5px 5px;
+ margin: 1.75rem 0 0.5rem 2rem;
font-weight: bold;
- margin: 0 0 0 -14px;
- }
+ text-align: left;
+ color: $grey-dark;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+
+
}
- }
- .input{
- select, input{
- margin: 0 auto 5px;
- padding: 2px 5px;
- border-radius: 3px;
+
+ .item {
+
+ @include transition(all, 0.075s, ease-in-out);
+
+ a, span, .as-link {
+ padding: 0 2rem;
+ color: $main-font-color;
+ font-size: 1rem;
+ line-height: 2.5em;
+ }
+
+ &:hover {
+ background: $main-first;
+ color: $white;
+
+ a, button {
+ text-decoration: none;
+ color: $white;
+ }
+ }
+
+ &[aria-checked="true"] {
+ a::before {
+ margin: 0 0 0 -14px;
+ font-weight: bold;
+ }
+ }
}
- }
- .separator {
- margin: 0.75rem 0;
- border-bottom: 1px solid $grey-light;
- // display: none;
- }
-}
-.tree .tree-folder .tree-folder-items .dropdown-menu,
-.tree .tree-folder .tree-folder-items .dropdown-menu{
- // tout รงa sert ร  restaurer l'apparence du dropdown dans un contexte de sidebar sombre
-
- .item{
- padding: 0;
-
- a,
- button{
- color: $main-font-color;
-
- &:hover{
- color: $white;
- }
+ .input {
+ select, input {
+ margin: 0 auto 5px;
+ padding: 2px 5px;
+ border-radius: 3px;
+ }
+ }
+
+ .separator {
+ margin: 0.75rem 0;
+ border-bottom: 1px solid $grey-light;
+ // display: none;
}
- &:hover{
- background: $main-first;
+
+}
+
+.tree .tree-folder .tree-folder-items .dropdown-menu {
+ // tout รงa sert ร  restaurer l'apparence du dropdown dans un contexte de sidebar sombre
+ .item {
+ padding: 0;
+
+ a,
+ button {
+ color: $main-font-color;
+
+ &:hover {
+ color: $white;
+ }
+ }
+
+ &:hover {
+ background: $main-first;
+ }
}
- }
}
@@ -125,256 +125,273 @@
/*=== Alerts */
.alert {
- margin: 1rem 0;
- // width: 100%;
- padding: 1rem;
- font-size: 1rem;
- background: $grey-lighter;
- border: 1px solid $grey-medium;
- border-radius: 3px;
- color: $grey-dark;
- text-shadow: 0 0 1px $grey-light;
+ margin: 1rem 0;
+ // width: 100%;
+ padding: 1rem;
+ background: $grey-lighter;
+ color: $grey-dark;
+ font-size: 1rem;
+ border: 1px solid $grey-medium;
+ border-radius: 3px;
+ text-shadow: 0 0 1px $grey-light;
}
+
.alert-head {
- font-size: 1.15em;
+ font-size: 1.15em;
}
+
.alert > a {
- text-decoration: underline;
- color: inherit;
+ text-decoration: underline;
+ color: inherit;
}
+
.alert-warn {
- background: $warning-light;
- border: 1px solid unquote($warning-text+'33'); // on ajoute l'opacitรฉ ร  la fin
- color: $warning-text;
+ background: $warning-light;
+ color: $warning-text;
+ border: 1px solid unquote($warning-text+'33'); // on ajoute l'opacitรฉ ร  la fin
}
+
.alert-success {
- background: $success-light;
- border: 1px solid unquote($success-text+'33');
- color: $success-text;
+ background: $success-light;
+ color: $success-text;
+ border: 1px solid unquote($success-text+'33');
}
+
.alert-error {
- background: $alert-light;
- border: 1px solid unquote($alert-text+'33');
- color: $alert-text;
+ background: $alert-light;
+ color: $alert-text;
+ border: 1px solid unquote($alert-text+'33');
}
/*=== Pagination */
.pagination {
- text-align: center;
- font-size: 0.8em;
- background: $grey-light;
- color: $main-font-color;
-
- .item{
- &.pager-current {
- font-weight: bold;
- font-size: 1.5em;
- background: $sid-bg;
- color: $grey-light;
- }
- a {
- display: block;
- font-style: italic;
- line-height: 3em;
- text-decoration: none;
- color: $main-font-color;
-
- &:hover{
- background: $main-font-color;
- color: $grey-light;
- }
+ background: $grey-light;
+ color: $main-font-color;
+ font-size: 0.8em;
+ text-align: center;
+
+ .item {
+ &.pager-current {
+ background: $sid-bg;
+ color: $grey-light;
+ font-size: 1.5em;
+ font-weight: bold;
+ }
+
+ a {
+ display: block;
+ color: $main-font-color;
+ font-style: italic;
+ line-height: 3em;
+ text-decoration: none;
+
+ &:hover {
+ background: $main-font-color;
+ color: $grey-light;
+ }
+ }
}
- }
- .loading,
- a:hover.loading {
- font-size: 0;
- background: url("loader.gif") center center no-repeat #34495e;
- }
+ .loading,
+ a:hover.loading {
+ background: url("loader.gif") center center no-repeat #34495e;
+ font-size: 0;
+ }
}
+
.content .pagination {
- margin: 0;
- padding: 0;
+ margin: 0;
+ padding: 0;
}
/*=== Boxes */
.box {
- // border: 1px solid #ddd;
- border: none;
- border-radius: 3px;
- background: $white;
-
- -webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
- -moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
- box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
-
- .box-title {
- margin: 0;
- padding: 0.5rem 0.75rem;
- background: $grey-light;
- color: $main-font-color;
- // border-bottom: 1px solid #ddd;
- border-radius: 2px 2px 0 0;
+ background: $white;
+ // border: 1px solid #ddd;
+ border: none;
+ border-radius: 3px;
+ box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
+
+ .box-title {
+ margin: 0;
+ padding: 0.5rem 0.75rem;
+ background: $grey-light;
+ color: $main-font-color;
+ // border-bottom: 1px solid #ddd;
+ border-radius: 2px 2px 0 0;
+
+ img {
+ margin-right: 0.75rem;
+ }
- img{
- margin-right: 0.75rem;
- }
+ &:hover {
+ .configure {
+ background: url("icons/cog.svg") no-repeat 4px 4px;
+ display: block;
+ float: left;
+ width: 1.75rem;
+ height: 1.75rem;
+ border-radius: 2px;
+ visibility: visible;
+ margin-right: 0.5rem;
+
+ .icon {
+ display: none;
+ border-radius: 3px;
+ vertical-align: middle;
+ }
+
+ &:hover {
+ background: url("icons/cog-white.svg") no-repeat 4px 4px $main-first;
+ }
+ }
+ }
- &:hover{
.configure {
- visibility: visible;
- background: url("icons/cog.svg") no-repeat 4px 4px;
- width: 1.75rem;
- height: 1.75rem;
- display: block;
- border-radius: 2px;
- float: left;
- margin-right: 0.5rem;
- .icon {
- vertical-align: middle;
- border-radius: 3px;
- display: none;
+ visibility: hidden;
+ }
+
+ form {
+ input {
+ width: 85%;
}
- &:hover {
- background: url("icons/cog-white.svg") no-repeat 4px 4px $main-first;
+
+ .dropdown {
+ float: right;
+
+ a.dropdown-toggle {
+ padding: 0;
+ // float: right;
+ border-radius: 0;
+ background-image: url(icons/more.svg);
+ background-repeat: no-repeat;
+ background-position: right 8px;
+
+ img {
+ display: none;
+ }
+ }
}
}
}
- .configure {
- visibility: hidden;
- }
- form{
- input{
- width: 85%;
- }
- .dropdown{
- float: right;
- a.dropdown-toggle{
- padding: 0;
- background-image: url(icons/more.svg);
- background-repeat: no-repeat;
- background-position: right 8px;
- // float: right;
- border-radius: 0;
- img{
- display: none;
- }
- }
- }
- }
- }
- .box-content {
- // max-height: 260px;
+ .box-content {
+ // max-height: 260px;
+ .item {
+ padding: 0.5rem 0.75rem;
+ color: $main-font-color;
+ font-size: 1rem;
+ border-bottom: 1px solid $grey-light;
+ line-height: 1.7em;
+
+ img {
+ margin-right: 0.75rem;
+ }
- .item {
- padding: 0.5rem 0.75rem;
- font-size: 1rem;
- color: $main-font-color;
- line-height: 1.7em;
- border-bottom: 1px solid $grey-light;
-
- img{
- margin-right: 0.75rem;
- }
-
- .configure {
- visibility: hidden;
- width: 1.75rem;
- height: 1.75rem;
- display: block;
- border-radius: 2px;
- float: left;
- margin-right: 0.5rem;
- background: url("icons/cog.svg") no-repeat 4px 4px;
-
- .icon {
- vertical-align: middle;
- border-radius: 3px;
- display: none;
+ .configure {
+ background: url("icons/cog.svg") no-repeat 4px 4px;
+ display: block;
+ float: left;
+ width: 1.75rem;
+ height: 1.75rem;
+ border-radius: 2px;
+ visibility: hidden;
+ margin-right: 0.5rem;
+
+ .icon {
+ display: none;
+ border-radius: 3px;
+ vertical-align: middle;
+ }
+
+ &:hover {
+ // background: $main-first;
+ background: url("icons/cog-white.svg") no-repeat 4px 4px $main-first;
+ }
+ }
+
+ &:hover .configure {
+ visibility: visible;
+ }
}
- &:hover{
- // background: $main-first;
- background: url("icons/cog-white.svg") no-repeat 4px 4px $main-first;
+
+ .item:last-child {
+ border-bottom: none;
}
- }
- &:hover .configure {
- visibility: visible;
- }
- }
- .item:last-child{
- border-bottom: none;
}
- }
}
/*=== "Load more" part */
#bigMarkAsRead {
- text-align: center;
- text-decoration: none;
- background: $main-first-light;
- color: $main-first;
+ text-align: center;
+ text-decoration: none;
+ background: $main-first-light;
+ color: $main-first;
+
+ @include transition(all, 0.15s, ease-in-out);
- @include transition(all, 0.15s, ease-in-out);
+ &:hover {
+ background: $main-first;
+ color: #fff;
- &:hover {
- background: $main-first;
- color: #fff;
+ .bigTick {
+ background: url(icons/tick-white.svg) center no-repeat;
+ }
+ }
- .bigTick{
- background: url(icons/tick-white.svg) center no-repeat;
+ .bigTick {
+ margin: 0.5rem 0;
+ background: url(icons/tick-color.svg) center no-repeat;
+ display: inline-block;
+ width: 64px;
+ height: 64px;
+ text-indent: -9999px;
+ white-space: nowrap;
}
- }
- .bigTick{
- margin: 0.5rem 0;
- display: inline-block;
- text-indent: -9999px;
- background: url(icons/tick-color.svg) center no-repeat;
- height: 64px;
- width: 64px;
- white-space: nowrap;
- }
}
// page de login
-.formLogin{
- background: $sid-bg;
-
- .header{
- .configure{
- padding-right: 1rem;
- img{
- margin-right: 0.5rem;
- }
-
- a.signin{
+.formLogin {
+ background: $sid-bg;
+
+ .header {
+ .configure {
+ padding-right: 1rem;
+
+ img {
+ margin-right: 0.5rem;
+ }
+
+ a.signin {
+ color: $white;
+ }
+ }
+ }
+
+ h1 {
color: $white;
- }
}
- }
-
- h1{
- color: $white;
- }
- form#crypto-form{
- div{
- margin-bottom: 1rem;
-
- label{
- font-size: 1rem;
- color: $grey-medium;
-
-
- }
- input{
- background: $main-first-darker;
-
- &:focus{
- background: $grey-lighter;
- color: $main-font-color;
+
+ form#crypto-form {
+ div {
+ margin-bottom: 1rem;
+
+ label {
+ color: $grey-medium;
+ font-size: 1rem;
+
+
+ }
+
+ input {
+ background: $main-first-darker;
+
+ &:focus {
+ background: $grey-lighter;
+ color: $main-font-color;
+ }
+ }
}
- }
- }
- }
+ }
}
diff --git a/p/themes/Ansum/_configuration.scss b/p/themes/Ansum/_configuration.scss
index c3c6fd417..78e471f19 100644
--- a/p/themes/Ansum/_configuration.scss
+++ b/p/themes/Ansum/_configuration.scss
@@ -1,90 +1,89 @@
/*=== Configuration pages */
.post {
- padding: 1rem 2rem;
- font-size: 1rem;
-
- form {
- margin: 1rem 0;
-
- // Gestion des extensions
- .horizontal-list{
- margin-bottom: 0.5rem;
-
- .item{
- .stick{
- // width: 65%;
- // margin-right: 1rem;
- // display:flex;
-
- }
- .btn{
- // width: 8rem;
- // flex-grow: 1;
+ padding: 1rem 2rem;
+ font-size: 1rem;
+
+ form {
+ margin: 1rem 0;
+
+ // Gestion des extensions
+ .horizontal-list {
+ margin-bottom: 0.5rem;
+
+ .item {
+ .stick {
+ // width: 65%;
+ // margin-right: 1rem;
+ // display:flex;
+
+ }
+
+ .btn {
+ // width: 8rem;
+ // flex-grow: 1;
+ }
+ }
+
}
- }
-
}
- }
- &.content {
- max-width: 550px;
- }
-
- h1, h2{ // pages titles
- font-size: 3rem;
- margin-top: 1.75rem;
- font-weight: 300;
- line-height: 1.2em;
- // font-family: "spectral";
- color: $main-font-color;
- }
-
- a[href="./"]{ // C'est le bouton "Retour ร  vos flux"
- display: inline-block;
- // min-height: 38px;
- min-width: 15px;
- line-height: 25px;
- margin: 0;
- padding: 0.75rem 1.5rem;
- font-size: 1rem;
- vertical-align: middle;
- cursor: pointer;
- overflow: hidden;
- background: $grey-lighter;
- border: 1px solid $grey-medium-light;
- border-radius: 5px;
- // border: none;
- color: $grey-dark;
-
- &:hover{
- text-decoration: none;
- background: $main-first;
- color: white;
- border: 1px solid $main-first;
+
+ &.content {
+ max-width: 550px;
+ }
+
+ h1, h2 { // pages titles
+ // font-family: "spectral";
+ color: $main-font-color;
+ font-size: 3rem;
+ margin-top: 1.75rem;
+ font-weight: 300;
+ line-height: 1.2em;
}
- }
-
+
+ a[href="./"] { // C'est le bouton "Retour ร  vos flux"
+ margin: 0;
+ padding: 0.75rem 1.5rem;
+ background: $grey-lighter;
+ display: inline-block;
+ // border: none;
+ color: $grey-dark;
+ font-size: 1rem;
+ border: 1px solid $grey-medium-light;
+ border-radius: 5px;
+ // min-height: 38px;
+ min-width: 15px;
+ line-height: 25px;
+ vertical-align: middle;
+ cursor: pointer;
+ overflow: hidden;
+
+ &:hover {
+ background: $main-first;
+ color: white;
+ border: 1px solid $main-first;
+ text-decoration: none;
+ }
+ }
+
}
-#slider{
- border-left: none;
-
- -webkit-box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
- -moz-box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
- box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
+#slider {
+ border-left: none;
+ box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
}
-.slide-container{
- .properties{
- background: rgba(0, 0, 0, 0.75);
- border: 0;
- padding: 1rem;
- color: white;
+.slide-container {
+ .properties {
+ padding: 1rem;
+ background: rgba(0, 0, 0, 0.75);
+ color: white;
+ border: 0;
- .page-number{
- right: 1rem;
- top: 1rem;
+ .page-number {
+ right: 1rem;
+ top: 1rem;
+ }
}
- }
}
diff --git a/p/themes/Ansum/_divers.scss b/p/themes/Ansum/_divers.scss
index 7d122f1b4..c6fb1f283 100644
--- a/p/themes/Ansum/_divers.scss
+++ b/p/themes/Ansum/_divers.scss
@@ -4,9 +4,11 @@
.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;
}
diff --git a/p/themes/Ansum/_fonts.scss b/p/themes/Ansum/_fonts.scss
index 5891be834..da1cf4ac7 100644
--- a/p/themes/Ansum/_fonts.scss
+++ b/p/themes/Ansum/_fonts.scss
@@ -1,56 +1,63 @@
@font-face {
- font-family: "lato";
- font-style: normal;
- font-stretch: normal;
- font-weight: 400;
- src: local("Lato"), url("../fonts/LatoLatin-Regular.woff") format("woff");
-}
-@font-face {
- font-family: "lato";
- font-style: italic;
- font-stretch: normal;
- font-weight: 400;
- src: local("Lato"), url("../fonts/LatoLatin-Italic.woff") format("woff");
-}
-@font-face {
- font-family: "lato";
- font-style: normal;
- font-stretch: normal;
- font-weight: 700;
- src: local("Lato"), url("../fonts/LatoLatin-Bold.woff") format("woff");
-}
-@font-face {
- font-family: "lato";
- font-style: italic;
- font-stretch: normal;
- font-weight: 700;
- src: local("Lato"), url("../fonts/LatoLatin-BoldItalic.woff") format("woff");
-}
-@font-face {
- font-family: "spectral";
- font-style: normal;
- font-stretch: normal;
- font-weight: 400;
- src: local("Spectral"), url("../fonts/Spectral-Regular.woff") format("woff");
-}
-@font-face {
- font-family: "spectral";
- font-style: italic;
- font-stretch: normal;
- font-weight: 400;
- src: local("Spectral"), url("../fonts/Spectral-Italic.woff") format("woff");
-}
-@font-face {
- font-family: "spectral";
- font-style: normal;
- font-stretch: normal;
- font-weight: 700;
- src: local("Spectral"), url("../fonts/Spectral-Bold.woff") format("woff");
-}
-@font-face {
- font-family: "spectral";
- font-style: italic;
- font-stretch: normal;
- font-weight: 700;
- src: local("Spectral"), url("../fonts/Spectral-BoldItalic.woff") format("woff");
+ font-family: "lato";
+ font-style: normal;
+ font-stretch: normal;
+ font-weight: 400;
+ src: local("Lato"), url("../fonts/LatoLatin-Regular.woff") format("woff");
+}
+
+@font-face {
+ font-family: "lato";
+ font-style: italic;
+ font-stretch: normal;
+ font-weight: 400;
+ src: local("Lato"), url("../fonts/LatoLatin-Italic.woff") format("woff");
+}
+
+@font-face {
+ font-family: "lato";
+ font-style: normal;
+ font-stretch: normal;
+ font-weight: 700;
+ src: local("Lato"), url("../fonts/LatoLatin-Bold.woff") format("woff");
+}
+
+@font-face {
+ font-family: "lato";
+ font-style: italic;
+ font-stretch: normal;
+ font-weight: 700;
+ src: local("Lato"), url("../fonts/LatoLatin-BoldItalic.woff") format("woff");
+}
+
+@font-face {
+ font-family: "spectral";
+ font-style: normal;
+ font-stretch: normal;
+ font-weight: 400;
+ src: local("Spectral"), url("../fonts/Spectral-Regular.woff") format("woff");
+}
+
+@font-face {
+ font-family: "spectral";
+ font-style: italic;
+ font-stretch: normal;
+ font-weight: 400;
+ src: local("Spectral"), url("../fonts/Spectral-Italic.woff") format("woff");
+}
+
+@font-face {
+ font-family: "spectral";
+ font-style: normal;
+ font-stretch: normal;
+ font-weight: 700;
+ src: local("Spectral"), url("../fonts/Spectral-Bold.woff") format("woff");
+}
+
+@font-face {
+ font-family: "spectral";
+ font-style: italic;
+ font-stretch: normal;
+ font-weight: 700;
+ src: local("Spectral"), url("../fonts/Spectral-BoldItalic.woff") format("woff");
}
diff --git a/p/themes/Ansum/_forms.scss b/p/themes/Ansum/_forms.scss
index 8a388aa8a..ff1691894 100644
--- a/p/themes/Ansum/_forms.scss
+++ b/p/themes/Ansum/_forms.scss
@@ -1,152 +1,160 @@
/* btns */
-
.btn {
- display: inline-block;
- min-height: 38px;
- min-width: 15px;
- line-height: 25px;
- margin: 0;
- padding: 0.5rem 1.5rem;
- font-size: 1rem;
- vertical-align: middle;
- cursor: pointer;
- overflow: hidden;
- background: $grey-lighter;
- border-radius: 5px;
- border: none;
- color: $grey-dark;
-
- @include transition(all, 0.15s, ease-in-out);
-
- &.btn-important {
- background: $main-first;
- color: $white;
-
- // @include transition(all, 0.15s, ease-in-out);
-
- &:hover,
- &:active {
- background: $main-first-alt;
+ margin: 0;
+ padding: 0.5rem 1.5rem;
+ background: $grey-lighter;
+ display: inline-block;
+ color: $grey-dark;
+ font-size: 1rem;
+ border: none;
+ border-radius: 5px;
+ min-height: 38px;
+ min-width: 15px;
+ line-height: 25px;
+ vertical-align: middle;
+ cursor: pointer;
+ overflow: hidden;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ &.btn-important {
+ background: $main-first;
+ color: $white;
+
+ // @include transition(all, 0.15s, ease-in-out);
+ &:hover,
+ &:active {
+ background: $main-first-alt;
+ }
}
- }
- &.btn-attention {
- background: $alert-bg;
- color: #fff;
+ &.btn-attention {
+ background: $alert-bg;
+ color: #fff;
- &:hover,
- &:active {
- background: $alert-text;
+ &:hover,
+ &:active {
+ background: $alert-text;
+ }
}
- }
- &:hover {
- text-decoration: none;
- }
+ &:hover {
+ text-decoration: none;
+ }
}
a.btn {
- min-height: 25px;
- line-height: 25px;
+ min-height: 25px;
+ line-height: 25px;
}
/*=== Forms */
legend {
- display: inline-block;
- width: auto;
- margin: 2rem 0 1rem 0;
- padding: 0;
- font-size: 1rem;
- clear: both;
- text-transform: uppercase;
- letter-spacing: 1px;
- font-weight: 700;
+ margin: 2rem 0 1rem 0;
+ padding: 0;
+ display: inline-block;
+ width: auto;
+ font-size: 1rem;
+ clear: both;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ font-weight: 700;
}
+
label {
- min-height: 25px;
- padding: 5px 0;
- cursor: pointer;
- color: $grey-dark;
+ min-height: 25px;
+ padding: 5px 0;
+ cursor: pointer;
+ color: $grey-dark;
}
+
textarea {
- width: 360px;
- height: 100px;
+ width: 360px;
+ height: 100px;
}
+
input, select, textarea, button {
- font-family: "lato", "Helvetica", "Arial", sans-serif;
- min-height: 25px;
- padding: 5px 10px;
- line-height: 25px;
- vertical-align: middle;
- background: $white;
- border: 1px solid $grey-light;
- font-size: 1rem;
- color: $grey-dark;
- border-radius: 2px;
+ padding: 5px 10px;
+ background: $white;
+ color: $grey-dark;
+ font-family: "lato", "Helvetica", "Arial", sans-serif;
+ font-size: 1rem;
+ border: 1px solid $grey-light;
+ border-radius: 2px;
+ min-height: 25px;
+ line-height: 25px;
+ vertical-align: middle;
}
+
option {
- padding: 0 .5em;
+ padding: 0 .5em;
}
+
input:focus, select:focus, textarea:focus {
- color: $main-font-color;
- border-color: $main-first;
+ color: $main-font-color;
+ border-color: $main-first;
}
+
input:invalid, select:invalid {
- color: $alert-bg;
- border-color: $alert-bg;
- box-shadow: none;
+ color: $alert-bg;
+ border-color: $alert-bg;
+ box-shadow: none;
}
+
input:disabled, select:disabled {
- background: $grey-light;
+ background: $grey-light;
}
+
input.extend {
- transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
+ transition: width 200ms linear;
}
.form-group {
- padding: 5px;
- border-radius: 3px;
+ padding: 5px;
+ border-radius: 3px;
- &::after {
- content: "";
- display: block;
- clear: both;
- }
- &:hover {
- // background: #fff;
- // border: 1px solid #eee;
- // border-radius: 3px;
- // border: 1px solid #eee;
- }
- .group-name {
- padding: 10px 0;
- text-align: right;
- }
- .group-controls {
- min-height: 25px;
- padding: 5px 0;
- }
- .group-controls .control {
- line-height: 2.0em;
- }
- table {
- margin: 10px 0 0 220px;
- }
-
- &.form-actions {
- margin: 15px 0 25px;
- padding: 5px 0;
- // background: #333;
- }
- &.form-actions .btn {
- margin: 0 0.5rem 0 0;
- }
+ &::after {
+ content: "";
+ display: block;
+ clear: both;
+ }
+
+ &:hover {
+ // background: #fff;
+ // border: 1px solid #eee;
+ // border-radius: 3px;
+ // border: 1px solid #eee;
+ }
+
+ .group-name {
+ padding: 10px 0;
+ text-align: right;
+ }
+
+ .group-controls {
+ min-height: 25px;
+ padding: 5px 0;
+ }
+
+ .group-controls .control {
+ line-height: 2.0em;
+ }
+
+ table {
+ margin: 10px 0 0 220px;
+ }
+
+ &.form-actions {
+ margin: 15px 0 25px;
+ padding: 5px 0;
+ // background: #333;
+ }
+
+ &.form-actions .btn {
+ margin: 0 0.5rem 0 0;
+ }
}
diff --git a/p/themes/Ansum/_global-view.scss b/p/themes/Ansum/_global-view.scss
index 30979bd6c..7d24a9109 100644
--- a/p/themes/Ansum/_global-view.scss
+++ b/p/themes/Ansum/_global-view.scss
@@ -1,80 +1,83 @@
/*=== GLOBAL VIEW */
/*================*/
+#stream {
+ .box.category {
+ &:not([data-unread="0"]) .box-title {
+ // background: #3498db;
+ }
-#stream{
- .box.category{
-
- &:not([data-unread="0"]) .box-title {
- // background: #3498db;
- }
- &:not([data-unread="0"]) .box-title:active {
- // background: #2980b9;
- }
- &:not([data-unread="0"]) .box-title .title {
- font-weight: bold;
- // color: #fff;
- }
-
- .box-title{
- background: none;
- padding: 1.5rem;
-
- a.title{
- font-weight: normal;
- text-decoration: none;
- text-align: left;
- font-size: 1rem;
- text-transform: uppercase;
- letter-spacing: 1px;
- color: $grey-dark;
+ &:not([data-unread="0"]) .box-title:active {
+ // background: #2980b9;
+ }
- &:not([data-unread="0"])::after {
- position: absolute;
- top: 1.75rem;
- right: 0;
- line-height: 1.5rem;
- background: $grey-light;
- border-radius: 12px;
- padding: 0 0.75rem;
- margin: -0.5rem 1rem 0 0;
- text-align: center;
+ &:not([data-unread="0"]) .box-title .title {
+ font-weight: bold;
+ // color: #fff;
}
- &:hover{
- color: $main-first;
+
+ .box-title {
+ padding: 1.5rem;
+ background: none;
+
+ a.title {
+ color: $grey-dark;
+ font-size: 1rem;
+ font-weight: normal;
+ text-decoration: none;
+ text-align: left;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+
+ &:not([data-unread="0"])::after {
+ margin: -0.5rem 1rem 0 0;
+ padding: 0 0.75rem;
+ background: $grey-light;
+ border-radius: 12px;
+ position: absolute;
+ top: 1.75rem;
+ right: 0;
+ line-height: 1.5rem;
+ text-align: center;
+ }
+
+ &:hover {
+ color: $main-first;
+ }
+ }
}
- }
- }
- .box-content{
- padding-bottom: 0.5rem;
- .item.feed {
- // padding: 2px 10px;
- font-size: 1rem;
- padding: 0.5rem 1.5rem;
-
- a{
- color: $main-font-color;
- font-weight: 400;
+ .box-content {
+ padding-bottom: 0.5rem;
+
+ .item.feed {
+ padding: 0.5rem 1.5rem;
+ // padding: 2px 10px;
+ font-size: 1rem;
- &:hover{
- color: $main-first;
- text-decoration: none;
- }
+ a {
+ color: $main-font-color;
+ font-weight: 400;
+
+ &:hover {
+ color: $main-first;
+ text-decoration: none;
+ }
+ }
+ }
}
- }
- }
- }
+ }
}
// le panel qui apparait en overlay pour afficher les flux
-#overlay{
- background: rgba(0, 0, 0, 0.65);
+#overlay {
+ background: rgba(0, 0, 0, 0.65);
}
-#panel{
- top: 3rem;
- right: 3rem;
- bottom: 3rem;
- left: 3rem;
- border-radius: 3px;
+
+#panel {
+ top: 3rem;
+ right: 3rem;
+ bottom: 3rem;
+ left: 3rem;
+ border-radius: 3px;
}
diff --git a/p/themes/Ansum/_layout.scss b/p/themes/Ansum/_layout.scss
index de684504a..a75601d06 100644
--- a/p/themes/Ansum/_layout.scss
+++ b/p/themes/Ansum/_layout.scss
@@ -2,118 +2,117 @@
/*===============*/
/*=== Header */
.header {
- background: $sid-bg;
- padding: 0.5rem 1.35rem;
- display: block;
- table-layout: none;
- width: auto;
-
- .item{
- vertical-align: middle;
- // text-align: center;
- // display: flex;
- // justify-content: space-between;
- // flex-direction: row;
-
- &.title{
-
- font-weight: 400;
- width: 280px;
-
- h1{
- a{
- text-decoration: none;
- color: $sid-font-color;
- font-size: 1rem;
- text-transform: uppercase;
- letter-spacing: 1px;
-
- img{
- margin-right: 0.5rem;
-
- }
+ padding: 0.5rem 1.35rem;
+ background: $sid-bg;
+ display: block;
+ width: auto;
+ table-layout: none;
+
+ .item {
+ vertical-align: middle;
+ // text-align: center;
+ // display: flex;
+ // justify-content: space-between;
+ // flex-direction: row;
+ &.title {
+ width: 280px;
+
+ font-weight: 400;
+
+ h1 {
+ a {
+ text-decoration: none;
+ color: $sid-font-color;
+ font-size: 1rem;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+
+ img {
+ margin-right: 0.5rem;
+
+ }
+ }
+ }
}
- }
- }
- &.search{
- // text-align: center;
- // width: 50%;
- input{
- width: 230px;
- border-radius: 2px 0 0 2px;
- background-color: $sid-bg-alt;
- color: $sid-font-color;
- border: none;
+ &.search {
+ // text-align: center;
+ // width: 50%;
+ input {
+ width: 230px;
+ color: $sid-font-color;
+ border: none;
+ border-radius: 2px 0 0 2px;
+ background-color: $sid-bg-alt;
- @include transition(all, 0.15s, ease-in-out);
+ @include transition(all, 0.15s, ease-in-out);
- &:hover{
- background-color: $sid-bg-dark;
- }
-
- &:focus{
- width: 350px;
+ &:hover {
+ background-color: $sid-bg-dark;
+ }
- background-color: $white;
- color: $grey-dark;
- }
- }
- .btn{
- img{display: none;}
- border-radius: 0 2px 2px 0;
+ &:focus {
+ width: 350px;
+ color: $grey-dark;
- background-color: $main-first;
- background-position: center;
- background-repeat: no-repeat;
- background-image: url(icons/magnifier.svg);
-
- border-left-width: 0;
+ background-color: $white;
+ }
+ }
- width: 3rem;
- min-height: 35px;
+ .btn {
+ img {display: none;}
- &:hover{
- background-color: $main-first-alt;
- }
- }
- }
- &.configure{
- width: 2rem;
- position: absolute;
- right: 1rem;
- top: 1.25rem;
- text-align: center;
- // float: right;
-
- .btn{
- img{display: none;}
- // border-radius: 0 2px 2px 0;
-
- background-color: transparent;
- background-position: center;
- background-repeat: no-repeat;
- background-image: url(icons/cog.svg);
+ width: 3rem;
+ border-radius: 0 2px 2px 0;
+
+ background-color: $main-first;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-image: url(icons/magnifier.svg);
- padding: 0 0.5rem;
-
- // border-left-width: 0;
+ border-left-width: 0;
+ min-height: 35px;
- // width: 3rem;
+ &:hover {
+ background-color: $main-first-alt;
+ }
+ }
+ }
- &:hover{
- // background-color: $main-first-alt;
+ &.configure {
+ width: 2rem;
+ position: absolute;
+ right: 1rem;
+ top: 1.25rem;
+ text-align: center;
+ // float: right;
+ .btn {
+ img {display: none;}
+
+ padding: 0 0.5rem;
+ // border-radius: 0 2px 2px 0;
+
+ background-color: transparent;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-image: url(icons/cog.svg);
+
+ // border-left-width: 0;
+
+ // width: 3rem;
+ &:hover {
+ // background-color: $main-first-alt;
+ }
+ }
}
- }
}
- }
-
+
}
/*=== Body */
#global {
- height: calc(100% - 85px);
+ height: calc(100% - 85px);
}
@@ -121,342 +120,352 @@
/*=== Prompt (centered) */
.prompt {
- text-align: center;
+ text-align: center;
}
+
.prompt label {
- text-align: left;
+ text-align: left;
}
+
.prompt form {
- margin: 10px auto 20px auto;
- width: 200px;
+ margin: 10px auto 20px auto;
+ width: 200px;
}
+
.prompt input {
- margin: 5px auto;
- width: 100%;
+ margin: 5px auto;
+ width: 100%;
}
+
.prompt p {
- margin: 20px 0;
+ margin: 20px 0;
}
/*=== New article notification */
#new-article {
- text-align: center;
- font-size: 1rem;
- background: $main-first;
+ background: $main-first;
+ font-size: 1rem;
+ text-align: center;
}
+
#new-article:hover {
- background: $main-first-alt;
+ background: $main-first-alt;
}
+
#new-article > a {
- line-height: 3em;
- font-weight: bold;
- color: $white;
+ line-height: 3em;
+ font-weight: bold;
+ color: $white;
}
+
#new-article > a:hover {
- text-decoration: none;
+ text-decoration: none;
}
/*=== Day indication */
.day {
- padding: 1rem 0 0 1.25rem;
- font-weight: 700;
- line-height: 3em;
- letter-spacing: 1px;
- text-transform: uppercase;
- font-size: 0.875rem;
- color: $light-font-color;
- // border-left: 2px solid #ecf0f1;
-
- .name{
- padding: 0 1rem 0 1rem;
+ padding: 1rem 0 0 1.25rem;
+ color: $light-font-color;
font-size: 0.875rem;
- // font-weight: 700;
- color: $main-font-color;
- position: relative;
- left: 0;
-
- // letter-spacing: 1px;
+ font-weight: 700;
+ line-height: 3em;
+ letter-spacing: 1px;
text-transform: uppercase;
- }
+ // border-left: 2px solid #ecf0f1;
+ .name {
+ padding: 0 1rem 0 1rem;
+ // font-weight: 700;
+ color: $main-font-color;
+ font-size: 0.875rem;
+ position: relative;
+ left: 0;
+
+ // letter-spacing: 1px;
+ text-transform: uppercase;
+ }
}
/*=== Index menu */
.nav_menu {
- text-align: center;
- padding: 5px 0;
-
- .btn{
- border-left-width: 0;
- padding: 0.5rem 1rem;
- background-color: $grey-lighter;
- background-position: center;
- background-repeat: no-repeat;
-
- &:hover{
- background-color: $grey-light;
- }
- }
-
- .stick{
- background: $grey-lighter;
-
- .btn{
- border-left-width: 0;
- padding: 0.5rem 1rem;
- background-color: $grey-lighter;
- background-position: center;
- background-repeat: no-repeat;
- @include transition(all, 0.15s, ease-in-out);
-
- &:hover{
- background-color: $grey-medium-light;
- }
-
- &.active{
- background-color: $main-first;
- }
-
- img.icon{display: none;} // on efface pour afficher nos icones, mouhahaha !!
-
-
- // actions
- &#toggle-read{
- background-image: url(icons/read.svg);
- }
- &#toggle-read.active{
- background-image: url(icons/read-white.svg);
- }
-
- &#toggle-unread{
- background-image: url(icons/unread.svg);
- }
- &#toggle-unread.active{
- background-image: url(icons/unread-white.svg);
- }
-
- &#toggle-starred{
- background-image: url(icons/starred.svg);
- }
- &#toggle-starred.active{
- background-image: url(icons/starred-white.svg);
- }
-
- &#toggle-non-starred{
- background-image: url(icons/non-starred.svg);
- }
- &#toggle-non-starred.active{
- background-image: url(icons/non-starred-white.svg);
- }
-
- // read all
- &.read_all{
+ text-align: center;
+ padding: 5px 0;
+
+ .btn {
+ border-left-width: 0;
+ padding: 0.5rem 1rem;
background-color: $grey-lighter;
- // min-height: 0;
- color:$main-font-color;
- padding: 5px 16px;
- @include transition(all, 0.15s, ease-in-out);
+ background-position: center;
+ background-repeat: no-repeat;
- &:hover{
- background-color: $grey-medium-light;
+ &:hover {
+ background-color: $grey-light;
}
- }
-
- // views
- &.view-normal{
- background-image: url(icons/view-list.svg);
- }
- &.view-normal.active{
- background-image: url(icons/view-list-white.svg);
- }
-
- &.view-global{
- background-image: url(icons/view-global.svg);
- }
- &.view-global.active{
- background-image: url(icons/view-global-white.svg);
- }
-
- &.view-reader{
- background-image: url(icons/view-reader.svg);
- }
- &.view-reader.active{
- background-image: url(icons/view-reader-white.svg);
- }
-
- &.view-rss{
- background-image: url(icons/rss.svg);
- }
-
- }
- .dropdown {
- a.dropdown-toggle{
- border-left-width: 0;
- background-image: url(icons/more.svg);
- }
- }
-
- &#nav_menu_action{
-
}
- &#nav_menu_read_all{
-
- }
- &#nav_menu_views{
-
+
+ .stick {
+ background: $grey-lighter;
+
+ .btn {
+ border-left-width: 0;
+ padding: 0.5rem 1rem;
+ background-color: $grey-lighter;
+ background-position: center;
+ background-repeat: no-repeat;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ &:hover {
+ background-color: $grey-medium-light;
+ }
+
+ &.active {
+ background-color: $main-first;
+ }
+
+ img.icon {display: none;} // on efface pour afficher nos icones, mouhahaha !!
+
+
+ // actions
+ &#toggle-read {
+ background-image: url(icons/read.svg);
+ }
+
+ &#toggle-read.active {
+ background-image: url(icons/read-white.svg);
+ }
+
+ &#toggle-unread {
+ background-image: url(icons/unread.svg);
+ }
+
+ &#toggle-unread.active {
+ background-image: url(icons/unread-white.svg);
+ }
+
+ &#toggle-starred {
+ background-image: url(icons/starred.svg);
+ }
+
+ &#toggle-starred.active {
+ background-image: url(icons/starred-white.svg);
+ }
+
+ &#toggle-non-starred {
+ background-image: url(icons/non-starred.svg);
+ }
+
+ &#toggle-non-starred.active {
+ background-image: url(icons/non-starred-white.svg);
+ }
+
+ // read all
+ &.read_all {
+ padding: 5px 16px;
+ // min-height: 0;
+ color: $main-font-color;
+ background-color: $grey-lighter;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ &:hover {
+ background-color: $grey-medium-light;
+ }
+ }
+
+ // views
+ &.view-normal {
+ background-image: url(icons/view-list.svg);
+ }
+
+ &.view-normal.active {
+ background-image: url(icons/view-list-white.svg);
+ }
+
+ &.view-global {
+ background-image: url(icons/view-global.svg);
+ }
+
+ &.view-global.active {
+ background-image: url(icons/view-global-white.svg);
+ }
+
+ &.view-reader {
+ background-image: url(icons/view-reader.svg);
+ }
+
+ &.view-reader.active {
+ background-image: url(icons/view-reader-white.svg);
+ }
+
+ &.view-rss {
+ background-image: url(icons/rss.svg);
+ }
+
+ }
+
+ .dropdown {
+ a.dropdown-toggle {
+ border-left-width: 0;
+ background-image: url(icons/more.svg);
+ }
+ }
}
- }
}
#dropdown-query ~ .dropdown-menu .dropdown-header .icon {
- vertical-align: middle;
- background-color: $grey-medium-dark;
- border-radius: 3px;
+ vertical-align: middle;
+ background-color: $grey-medium-dark;
+ border-radius: 3px;
}
/*=== Content of feed articles */
.content, .content.thin {
- padding: 20px 10px;
+ padding: 20px 10px;
- font-size: 1.125rem;
- line-height: 1.8rem;
+ font-size: 1.125rem;
+ line-height: 1.8rem;
- h1.title, h1{
+ h1.title, h1 {
+ a {
+ color: $main-font-color;
+ font-family: "spectral", serif;
+ font-size: 2rem;
- a{
- color: $main-font-color;
- font-family: "spectral";
- font-size: 2rem;
+ &:hover {
+ color: $main-first;
+ text-decoration: none;
+ }
+ }
+ }
- &:hover{
- color: $main-first;
- text-decoration: none;
- }
+ .author {
+ color: $light-font-color;
+ font-size: 1.125rem;
+ }
+
+ p, ul {
+ font-size: 1.125rem;
+ line-height: 1.8rem;
+ }
+
+ .content hr {
+ margin: 30px 10px;
+ background: $grey-medium-light;
+ height: 1px;
+ border: 0;
+ box-shadow: 0 2px 5px #ccc;
+ }
+
+ pre {
+ margin: 10px auto;
+ padding: 10px 20px;
+ overflow: auto;
+ background: $main-first-darker;
+ color: $white;
+ font-size: 0.9rem;
+ border-radius: 3px;
+
+ code {
+ background: transparent;
+ color: $white;
+ border: none;
+ }
}
- }
- .author{
- font-size: 1.125rem;
- color: $light-font-color;
- }
- p, ul{
- font-size: 1.125rem;
- line-height: 1.8rem;
- }
- hr{
- }
- .content hr {
- margin: 30px 10px;
- height: 1px;
- background: $grey-medium-light;
- border: 0;
- box-shadow: 0 2px 5px #ccc;
- }
-
- pre {
- margin: 10px auto;
- padding: 10px 20px;
- overflow: auto;
- background: $main-first-darker;
- color: $white;
- font-size: 0.9rem;
- border-radius: 3px;
code {
- background: transparent;
- color: $white;
- border: none;
+ padding: 2px 5px;
+ background: $grey-lighter;
+ color: $grey-light;
+ border: 1px solid $grey-light;
+ border-radius: 3px;
}
- }
- code {
- padding: 2px 5px;
- color: $grey-light;
- background: $grey-lighter;
- border: 1px solid $grey-light;
- border-radius: 3px;
- }
- blockquote {
- display: block;
- margin: 0;
- padding: 5px 20px;
- border-top: 1px solid $grey-medium-light;
- border-bottom: 1px solid $grey-medium-light;
- background: $grey-lighter;
- color: $main-font-color;
-
- p {
- margin: 0;
+ blockquote {
+ margin: 0;
+ padding: 5px 20px;
+ background: $grey-lighter;
+ display: block;
+ color: $main-font-color;
+ border-top: 1px solid $grey-medium-light;
+ border-bottom: 1px solid $grey-medium-light;
+
+ p {
+ margin: 0;
+ }
}
- }
}
/*=== Notification and actualize notification */
.notification {
- position: fixed;
- top: auto;
- bottom: 0;
- left: 0;
- right: 0;
- width: 100%;
- height: 3rem;
-
- padding: 1rem 0;
- text-align: center;
- // font-weight: bold;
- font-size: 1em;
- line-height: 3em;
- z-index: 10;
- vertical-align: middle;
- background: $grey-medium-light;
- color: $grey-dark;
- // border-radius: 3px;
- border: none;
-
- .msg{
- font-size: 1rem;
- display: inline-block;
- }
-
- &.good {
- background: $success-bg;
- color: $white;
- }
- &.bad {
- background: $alert-bg;
- color: $white;
- }
- a.close {
- padding: 0 15px;
+
+ padding: 1rem 0;
+ background: $grey-medium-light;
+ width: 100%;
+ height: 3rem;
+ color: $grey-dark;
+ // font-weight: bold;
+ font-size: 1em;
+ // border-radius: 3px;
+ border: none;
+ position: fixed;
+ top: auto;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ text-align: center;
line-height: 3em;
- border-radius: 0 3px 3px 0;
- }
-
- &.good a.close:hover {
- background: $success-text;
- }
- &.bad a.close:hover {
- background: $alert-text;
- }
-
- &#actualizeProgress {
- line-height: 2em;
-
- br{
- display: none;
+ z-index: 10;
+ vertical-align: middle;
+
+ .msg {
+ display: inline-block;
+ font-size: 1rem;
+ }
+
+ &.good {
+ background: $success-bg;
+ color: $white;
+ }
+
+ &.bad {
+ background: $alert-bg;
+ color: $white;
+ }
+
+ a.close {
+ padding: 0 15px;
+ border-radius: 0 3px 3px 0;
+ line-height: 3em;
+ }
+
+ &.good a.close:hover {
+ background: $success-text;
+ }
+
+ &.bad a.close:hover {
+ background: $alert-text;
+ }
+
+ &#actualizeProgress {
+ line-height: 2em;
+
+ br {
+ display: none;
+ }
}
- }
}
/*=== Navigation menu (for articles) */
#nav_entries {
- margin: 0;
- text-align: center;
- line-height: 3em;
- table-layout: fixed;
- background: $sid-bg;
+ margin: 0;
+ text-align: center;
+ line-height: 3em;
+ table-layout: fixed;
+ background: $sid-bg;
}
diff --git a/p/themes/Ansum/_list-view.scss b/p/themes/Ansum/_list-view.scss
index 78f100203..8b8398c6f 100644
--- a/p/themes/Ansum/_list-view.scss
+++ b/p/themes/Ansum/_list-view.scss
@@ -1,92 +1,96 @@
/*=== Feed articles */
.flux {
- // border-left: 2px solid #ecf0f1;
- background: $white;
+ // border-left: 2px solid #ecf0f1;
+ background: $white;
- @include transition(all, 0.15s, ease-in-out);
-
- &:hover{
- background: $grey-lighter;
+ @include transition(all, 0.15s, ease-in-out);
- &:not(.current):hover .item.title {
- background: $grey-lighter;
+ &:hover {
+ background: $grey-lighter;
-
- }
- }
- &.current{
- border-left-color: $main-first;
- background: $white;
- }
- &.not_read{
- background: $unread-bg; //--------------------
- // border-left-color: #FF5300;
+ &:not(.current):hover .item.title {
+ background: $grey-lighter;
- &:hover{
- background: $unread-bg-light; //--------------------
- }
-
- &:not(.current):hover .item.title {
- background: $unread-bg-light;
-
+ }
}
- .item.title{
- a{
- color: $unread-font-color; //--------------------
- }
-
+
+ &.current {
+ background: $white;
+ border-left-color: $main-first;
}
- .item.website{
- a{
- color: $unread-font-color; //--------------------
- }
+
+ &.not_read {
+ background: $unread-bg; //--------------------
+ // border-left-color: #FF5300;
+ &:hover {
+ background: $unread-bg-light; //--------------------
+ }
+
+ &:not(.current):hover .item.title {
+ background: $unread-bg-light;
+
+
+ }
+
+ .item.title {
+ a {
+ color: $unread-font-color; //--------------------
+ }
+
+ }
+
+ .item.website {
+ a {
+ color: $unread-font-color; //--------------------
+ }
+ }
+
+ .item.date {
+ color: unquote($unread-font-color+"99"); //--------------------
+ }
}
- .item.date{
- color: unquote($unread-font-color+"99"); //--------------------
+
+ &.favorite {
+ background: $fav-light;
+ border-left-color: $fav-bg;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ &:not(.current):hover .item.title {
+ background: $fav-light;
+ }
}
-}
-
- &.favorite {
- background: $fav-light;
- border-left-color: $fav-bg;
- @include transition(all, 0.15s, ease-in-out);
+ .website {
+ a {
+ color: $main-font-color;
+ opacity: 0.75;
+ }
- &:not(.current):hover .item.title {
- background: $fav-light;
+ .favicon {
+ padding: 5px;
+ }
}
- }
- .website{
- a{
- color: $main-font-color;
- opacity: 0.75;
+ .date {
+ color: $main-font-color;
+ font-size: 0.85rem;
+ opacity: 0.75;
}
-
- .favicon {
- padding: 5px;
+
+ .bottom {
+ font-size: 1rem;
+ text-align: center;
}
- }
- .date {
- font-size: 0.85rem;
- color: $main-font-color;
- opacity: 0.75;
- }
-
- .bottom {
- font-size: 1rem;
- text-align: center;
- }
}
.flux_header {
- font-size: 1rem;
- cursor: pointer;
- border-top: 1px solid $grey-light;
-
- .title {
font-size: 1rem;
- }
-}
+ cursor: pointer;
+ border-top: 1px solid $grey-light;
+ .title {
+ font-size: 1rem;
+ }
+}
diff --git a/p/themes/Ansum/_logs.scss b/p/themes/Ansum/_logs.scss
index ae1e24c6c..82eead3c9 100644
--- a/p/themes/Ansum/_logs.scss
+++ b/p/themes/Ansum/_logs.scss
@@ -4,13 +4,14 @@
overflow: hidden;
border: 1px solid $grey-medium-dark;
}
+
.log {
margin: 10px 0;
padding: 5px 2%;
- overflow: auto;
- font-size: 0.8rem;
background: $grey-lighter;
color: $grey-dark;
+ font-size: 0.8rem;
+ overflow: auto;
}
.log > .date {
@@ -18,16 +19,20 @@
padding: 5px 10px;
border-radius: 20px;
}
+
.log.error > .date {
background: $alert-bg;
color: #fff;
}
+
.log.warning > .date {
background: $warning-bg;
}
+
.log.notice > .date {
background: $grey-light;
}
+
.log.debug > .date {
background: $main-first-darker;
color: $white;
diff --git a/p/themes/Ansum/_mixins.scss b/p/themes/Ansum/_mixins.scss
index 4c82c438a..84ef1d492 100644
--- a/p/themes/Ansum/_mixins.scss
+++ b/p/themes/Ansum/_mixins.scss
@@ -1,57 +1,69 @@
+/* stylelint-disable property-no-vendor-prefix */
+
/* FUNCTIONS */
//animation
+
@mixin transition($target, $duration, $ease) {
- -webkit-transition: $target $duration $ease;
- -moz-transition: $target $duration $ease;
- -o-transition: $target $duration $ease;
- transition: $target $duration $ease;
+ -webkit-transition: $target $duration $ease;
+ -moz-transition: $target $duration $ease;
+ -o-transition: $target $duration $ease;
+ transition: $target $duration $ease;
}
//animation
+
@mixin animation-delay($delay) {
- -webkit-animation-delay: $delay;
- /* Safari 4.0 - 8.0 */
- animation-delay: $delay;
+ -webkit-animation-delay: $delay;
+ /* Safari 4.0 - 8.0 */
+ animation-delay: $delay;
}
//animation
+
@mixin animation($animate...) {
- $max: length($animate);
- $animations: '';
- @for $i from 1 through $max {
- $animations: #{$animations + nth($animate, $i)};
- @if $i < $max {
- $animations: #{$animations + ", "};
- }
- }
- -webkit-animation: $animations;
- -moz-animation: $animations;
- -o-animation: $animations;
- animation: $animations;
+ $max: length($animate);
+ $animations: '';
+
+ @for $i from 1 through $max {
+ $animations: #{$animations + nth($animate, $i)};
+
+ @if $i < $max {
+ $animations: #{$animations + ", "};
+ }
+ }
+ -webkit-animation: $animations;
+ -moz-animation: $animations;
+ -o-animation: $animations;
+ animation: $animations;
}
//keyframes
+
@mixin keyframes($animationName) {
- @-webkit-keyframes #{$animationName} {
- @content;
- }
- @-moz-keyframes #{$animationName} {
- @content;
- }
- @-o-keyframes #{$animationName} {
- @content;
- }
- @keyframes #{$animationName} {
- @content;
- }
+
+ @-webkit-keyframes #{$animationName} {
+ @content;
+ }
+
+ @-moz-keyframes #{$animationName} {
+ @content;
+ }
+
+ @-o-keyframes #{$animationName} {
+ @content;
+ }
+
+ @keyframes #{$animationName} {
+ @content;
+ }
}
-@mixin border-radius($radius: 4px){
- -moz-border-radius: $radius;
- -webkit-border-radius: $radius;
- -ms-border-radius: $radius;
- -o-border-radius: $radius;
- -khtml-border-radius: $radius;
- border-radius: $radius;
+@mixin border-radius($radius: 4px) {
+ -moz-border-radius: $radius;
+ -webkit-border-radius: $radius;
+ -ms-border-radius: $radius;
+ -o-border-radius: $radius;
+ -khtml-border-radius: $radius;
+ border-radius: $radius;
}
diff --git a/p/themes/Ansum/_mobile.scss b/p/themes/Ansum/_mobile.scss
index 10b432241..8922ea370 100644
--- a/p/themes/Ansum/_mobile.scss
+++ b/p/themes/Ansum/_mobile.scss
@@ -1,170 +1,186 @@
/*=== MOBILE */
/*===========*/
-@media(max-width: 840px) {
- html, body{
- // font-size: 1rem;
- }
- ul.nav{
- .item{
- width: 100%;
-
- img{
- display: none;
- }
- a{
- display: inline-block;
- padding: 1rem 1rem 1rem 2.5rem;
- color: $sid-font-color;
- width: 100%;
-
- background: url("../../themes/icons/logout.svg") no-repeat $sid-bg-dark 3% center;
+
+@media (max-width: 840px) {
+ html, body {
+ // font-size: 1rem;
+ }
+
+ ul.nav {
+ .item {
+ width: 100%;
+
+ img {
+ display: none;
+ }
+
+ a {
+ padding: 1rem 1rem 1rem 2.5rem;
+
+ background: url("../../themes/icons/logout.svg") no-repeat $sid-bg-dark 3% center;
+ display: inline-block;
+ width: 100%;
+ color: $sid-font-color;
+
+ @include transition(all, 0.2s, ease-in-out);
+
+ &:hover,
+ &:active {
+ background: url("../../themes/icons/logout.svg") no-repeat $alert-bg 3% center;
+ text-decoration: none;
+ color: $white;
+ }
+ }
+
+ }
+
+ }
+
+ .aside {
@include transition(all, 0.2s, ease-in-out);
- &:hover,
- &:active{
- background: url("../../themes/icons/logout.svg") no-repeat $alert-bg 3% center;
- text-decoration: none;
- color: $white;
+ &.aside_feed {
+ padding: 0;
}
- }
+ .tree .tree-folder .tree-folder-items .item a {
+ padding: 0.5rem 1rem;
+ }
}
-
- }
- .aside {
- @include transition(all, 0.2s, ease-in-out);
-
- &.aside_feed {
- padding: 0;
+
+ .aside .toggle_aside,
+ #panel .close {
+ background: $main-first-alt;
+ display: block;
+ width: 100%;
+ height: 50px;
+ line-height: 50px;
+ text-align: center;
}
- .tree .tree-folder .tree-folder-items .item a{
- padding: 0.5rem 1rem;
+ .header {
+ padding: 0.5rem;
+
+ .item {
+ &.title {
+ display: none;
+ }
+
+ &.search {
+ input {
+ width: 90%;
+ height: 3.5rem;
+
+ &:focus {
+ width: 100%;
+
+ }
+ }
+
+ .btn {
+ min-height: 49px;
+ padding: 0.5rem 2rem;
+ }
+ }
+
+ &.configure {
+ width: 2.75rem;
+ top: 3.125rem;
+
+ .dropdown {
+ .btn {
+ padding: 1.125rem;
+ }
+ }
+ }
+ }
}
- }
- .aside .toggle_aside,
- #panel .close {
- display: block;
- width: 100%;
- height: 50px;
- line-height: 50px;
- text-align: center;
- background: $main-first-alt;
- }
-
- .header{
- padding: 0.5rem;
- .item{
- &.title{
- display: none;
- }
-
- &.search{
- input{
- width: 90%;
- height: 3.5rem;
-
- &:focus{
- width: 100%;
- }
+ .nav_menu {
+ .btn {
+ margin: 0;
+ padding: 0.85rem 1.25rem;
}
- .btn{
- min-height: 49px;
- padding: 0.5rem 2rem;
+
+ .stick {
+ margin: 0.5rem 0.5rem;
+
+ .btn {
+ margin: 0;
+ padding: 0.85rem 1.25rem;
+
+ &.read_all {
+ padding: 0.85rem 1.25rem;
+ }
+ }
}
- }
- &.configure{
- width: 2.75rem;
- top: 3.125rem;
- .dropdown{
- .btn{
- padding: 1.125rem;
- }
+
+ .search {
+ display: none;
+ max-width: 97%;
+
+ .input {
+
+ max-width: 97%;
+ width: 90px;
+
+ &:focus {
+ width: 400px;
+ }
+ }
}
- }
- }
- }
-
- .nav_menu{
- .btn {
- margin: 0;
- padding: 0.85rem 1.25rem;
}
- .stick {
- margin: 0.5rem 0.5rem;
- .btn{
- margin: 0;
- padding: 0.85rem 1.25rem;
-
- &.read_all{
- padding: 0.85rem 1.25rem;
+ #stream {
+ .flux {
+ .flux_header {
+ padding: 0.5rem 0;
+ }
}
- }
}
- .search {
- display: none;
- max-width: 97%;
- .input{
- max-width: 97%;
- width: 90px;
- &::focus{
- width: 400px;
+ .day {
+ text-align: center;
+ padding: 1rem 0;
+
+ .name {
+ padding: 0;
+ // font-size: 1.1rem;
+ display: block;
+ width: 100%;
+ line-height: 1.5rem;
+ margin-bottom: 1rem;
}
- }
+
}
- }
- #stream{
- .flux{
- .flux_header{
- padding: 0.5rem 0;
- }
+
+ .pagination {
+ margin: 0 0 3.5em;
}
- }
-
-
-
- .day{
- text-align: center;
- padding: 1rem 0;
- .name {
- // font-size: 1.1rem;
- display: block;
- padding: 0;
- width: 100%;
- line-height: 1.5rem;
- margin-bottom: 1rem;
+
+ #nav_entries {
+ line-height: 4.5rem;
}
- }
+ .notification {
+ border-radius: 0;
- .pagination {
- margin: 0 0 3.5em;
- }
+ a.close {
+ background: transparent;
+ display: block;
+ left: 0;
+ }
- #nav_entries{
- line-height: 4.5rem;
- }
+ a.close:hover {
+ opacity: 0.5;
+ }
- .notification {
- border-radius: 0;
+ a.close .icon {
+ display: none;
- a.close {
- display: block;
- left: 0;
- background: transparent;
- }
- a.close:hover {
- opacity: 0.5;
- }
- a.close .icon {
- display: none;
-
+ }
}
- }
}
diff --git a/p/themes/Ansum/_reader-view.scss b/p/themes/Ansum/_reader-view.scss
index 4368908d6..e75e43d00 100644
--- a/p/themes/Ansum/_reader-view.scss
+++ b/p/themes/Ansum/_reader-view.scss
@@ -6,8 +6,9 @@
color: $main-font-color;
border: none;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
color: $grey-medium-dark;
+ font-size: 90%;
}
diff --git a/p/themes/Ansum/_sidebar.scss b/p/themes/Ansum/_sidebar.scss
index 87d5bd1a9..86f3e346d 100644
--- a/p/themes/Ansum/_sidebar.scss
+++ b/p/themes/Ansum/_sidebar.scss
@@ -1,142 +1,141 @@
/*=== Tree */
.tree {
- margin: 10px 0;
-
- &#sidebar{
- scrollbar-color: rgba(255,255, 0, 0.1) rgba(0, 0, 0, 0.05);
- scrollbar-color: unquote($sid-font-color+"33") unquote($sid-font-color+"22");
-
-
- }
-
-
- .tree-folder{
- border-bottom: 1px solid $sid-sep;
-
- -moz-box-shadow: inset -1px -11px 8px #00000033;
- -webkit-box-shadow: inset -1px -11px 8px #00000033;
- box-shadow: inset -1px -11px 8px #00000033;
-
- .tree-folder-title {
- position: relative;
- background: $sid-bg;
- font-size: 0.85rem;
- letter-spacing: 1px;
- padding: 12px 16px;
- font-weight: 700;
- text-transform: uppercase;
-
- .title {
- background: inherit;
- color: $sid-font-color;
- &:hover{
- text-decoration: none;
- }
- }
- }
- &.active {
- .tree-folder-title {
- background: $sid-bg;
- font-weight: bold;
- }
+ margin: 10px 0;
+
+ &#sidebar {
+ scrollbar-color: rgba(255,255, 0, 0.1) rgba(0, 0, 0, 0.05);
+ scrollbar-color: unquote($sid-font-color+"33") unquote($sid-font-color+"22");
}
- .tree-folder-items {
- background: $sid-bg-alt;
- .item{
- padding: 0 1rem;
- line-height: 2.5rem;
- font-size: 1rem;
- font-weight: 400;
- @include transition(all, 0.15s, ease-in-out);
+ .tree-folder {
+ border-bottom: 1px solid $sid-sep;
+ box-shadow: inset -1px -11px 8px #0003;
+
+ .tree-folder-title {
+ padding: 12px 16px;
+ background: $sid-bg;
+ position: relative;
+ font-size: 0.85rem;
+ letter-spacing: 1px;
+ font-weight: 700;
+ text-transform: uppercase;
+
+ .title {
+ background: inherit;
+ color: $sid-font-color;
+
+ &:hover {
+ text-decoration: none;
+ }
+ }
+ }
- &.active{
- background: $sid-active;
+ &.active {
+ .tree-folder-title {
+ background: $sid-bg;
+ font-weight: bold;
+ }
+ }
- .dropdown li a{
- color: $main-font-color;
+ .tree-folder-items {
+ background: $sid-bg-alt;
- &:hover{
- color: $sid-font-color;
- }
- }
+ .item {
+ padding: 0 1rem;
+ line-height: 2.5rem;
+ font-size: 1rem;
+ font-weight: 400;
- a{
- color: $sid-active-font;
- }
- }
+ @include transition(all, 0.15s, ease-in-out);
- &:hover{
- background: $sid-bg-dark;
- }
+ &.active {
+ background: $sid-active;
+
+ .dropdown li a {
+ color: $main-font-color;
+
+ &:hover {
+ color: $sid-font-color;
+ }
+ }
+
+ a {
+ color: $sid-active-font;
+ }
+ }
+
+ &:hover {
+ background: $sid-bg-dark;
+ }
- a{
- text-decoration: none;
- color: $sid-font-color;
+ a {
+ text-decoration: none;
+ color: $sid-font-color;
+ }
+ }
+
+ .feed .item-title:not([data-unread="0"])::before {
+ margin: 11px 6px 0 4px;
+ padding: 3px 4px;
+ background: $sid-pills;
+ display: block;
+ float: left;
+ font-size: 0.75rem;
+ border-radius: 12px;
+ content: attr(data-unread);
+ text-align: center;
+ line-height: 0.75rem;
+ }
}
- }
-
- .feed .item-title:not([data-unread="0"])::before {
- content: attr(data-unread);
- background: $sid-pills;
- font-size: 0.75rem;
- display: block;
- float: left;
- padding: 3px 4px;
- text-align:center;
- border-radius: 12px;
- margin: 11px 6px 0 4px;
- line-height: 0.75rem;
- }
- .feed .item-title:not([data-unread="0"]) {
-
- }
}
- }
}
/*=== Buttons */
.stick {
- vertical-align: middle;
- font-size: 0;
-
- input, .btn {
- border-radius: 0;
- }
- .btn:first-child,
- input:first-child {
- border-radius: 5px 0 0 5px;
- }
- .btn:last-child, input:last-child, .btn + .dropdown > .btn {
- border-radius: 0 5px 5px 0;
- }
- .btn + .btn,
- .btn + input,
- .btn + .dropdown > .btn,
- input + .btn,
- input + input,
- input + .dropdown > .btn,
- .dropdown + .btn,
- .dropdown + input,
- .dropdown + .dropdown > .btn {
- border-left: 1px solid $grey-medium-light;
- }
+ vertical-align: middle;
+ font-size: 0;
+
+ input, .btn {
+ border-radius: 0;
+ }
+
+ .btn:first-child,
+ input:first-child {
+ border-radius: 5px 0 0 5px;
+ }
+
+ .btn:last-child, input:last-child, .btn + .dropdown > .btn {
+ border-radius: 0 5px 5px 0;
+ }
+
+ .btn + .btn,
+ .btn + input,
+ .btn + .dropdown > .btn,
+ input + .btn,
+ input + input,
+ input + .dropdown > .btn,
+ .dropdown + .btn,
+ .dropdown + input,
+ .dropdown + .dropdown > .btn {
+ border-left: 1px solid $grey-medium-light;
+ }
}
.aside {
- background: $sid-bg;
-
-
- &.aside_feed {
- padding: 10px 0;
- text-align: center;
background: $sid-bg;
- border-right: 1px solid $sid-sep;
- }
- &.aside_feed .tree {
- margin: 10px 0 50px;
- }
+
+
+ &.aside_feed {
+ padding: 10px 0;
+ text-align: center;
+ background: $sid-bg;
+ border-right: 1px solid $sid-sep;
+ }
+
+ &.aside_feed .tree {
+ margin: 10px 0 50px;
+ }
}
@@ -146,154 +145,171 @@
/*=== Navigation */
-
-.nav-list{
- .nav-header,
- .item{
- height: 2.5em;
- line-height: 2.5em;
- font-size: 1rem;
- }
- .item{
- background: $sid-bg;
- @include transition(all, 0.15s, ease-in-out);
- a{
- padding: 0 1rem;
- color: $sid-font-color;
- }
- .error{
- a{
- color: $alert-bg;
- }
+.nav-list {
+ .nav-header,
+ .item {
+ height: 2.5em;
+ line-height: 2.5em;
+ font-size: 1rem;
}
- &:hover{
- background: $sid-bg-dark;
- color: $sid-font-color;
-
- .error{
- a{
- color: $sid-font-color;
- background: $main-first;
+
+ .item {
+ background: $sid-bg;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ a {
+ padding: 0 1rem;
+ color: $sid-font-color;
}
- }
- .empty{
- a{
- color: $sid-font-color;
- background: $warning-bg;
+
+ .error {
+ a {
+ color: $alert-bg;
+ }
}
- }
-
- a{
- color: $sid-font-color;
- text-decoration: none;
- }
- }
- &.active{
- background: $main-first;
- color: $white;
-
- .error{
- a{
- color: $white;
- background: $main-first;
+
+ &:hover {
+ background: $sid-bg-dark;
+ color: $sid-font-color;
+
+ .error {
+ a {
+ background: $main-first;
+ color: $sid-font-color;
+ }
+ }
+
+ .empty {
+ a {
+ background: $warning-bg;
+ color: $sid-font-color;
+ }
+ }
+
+ a {
+ color: $sid-font-color;
+ text-decoration: none;
+ }
}
- }
- .empty{
- a{
- color: $white;
- background: $warning-bg;
+ &.active {
+ background: $main-first;
+ color: $white;
+
+ .error {
+ a {
+ background: $main-first;
+ color: $white;
+ }
+ }
+
+ .empty {
+ a {
+ background: $warning-bg;
+ color: $white;
+ }
+ }
+
+ a {
+ color: $white;
+ text-decoration: none;
+ }
}
- }
-
- a{
- color: $white;
- text-decoration: none;
- }
+
}
-
- }
- &.empty{
- a{
- color: $warning-bg;
+
+ &.empty {
+ a {
+ color: $warning-bg;
+ }
}
- }
- .disable{
- text-align: center;
- background: $grey-lighter;
- color: $grey-medium-dark;
- }
- .nav-header {
- padding: 0 10px;
- font-weight: bold;
- color: $grey-dark;
- text-transform: uppercase;
- letter-spacing: 1px;
- margin-top: 1rem;
- }
-
- .nav-form {
- padding: 3px;
- text-align: center;
- }
-
- .nav-head {
- margin: 0;
- text-align: right;
- // background: #34495e;
- color: $white;
- a {
- color: $white;
- }
- .item {
- padding: 5px 10px;
- font-size: 0.9rem;
- line-height: 1.5rem;
- }
- }
+ .disable {
+ text-align: center;
+ background: $grey-lighter;
+ color: $grey-medium-dark;
+ }
+
+ .nav-header {
+ padding: 0 10px;
+ font-weight: bold;
+ color: $grey-dark;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ margin-top: 1rem;
+ }
+
+ .nav-form {
+ padding: 3px;
+ text-align: center;
+ }
+
+ .nav-head {
+ margin: 0;
+ text-align: right;
+ // background: #34495e;
+ color: $white;
+
+ a {
+ color: $white;
+ }
+
+ .item {
+ padding: 5px 10px;
+ font-size: 0.9rem;
+ line-height: 1.5rem;
+ }
+ }
}
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
- position: absolute;
- right: 0;
- line-height: 1.5rem;
- background: $sid-pills;
- border-radius: 12px;
- padding: 0 0.75rem;
- margin: -0.5rem 1rem 0 0;
- text-align: center;
+ margin: -0.5rem 1rem 0 0;
+ padding: 0 0.75rem;
+ background: $sid-pills;
+ border-radius: 12px;
+ position: absolute;
+ right: 0;
+ line-height: 1.5rem;
+ text-align: center;
}
.feed.item.empty.active {
- background: $grey-dark;
+ background: $grey-dark;
}
+
.feed.item.error.active {
- background: $grey-dark;
+ background: $grey-dark;
}
+
.feed.item.empty,
.feed.item.empty > a {
- color: $grey-dark;
+ color: $grey-dark;
}
+
.feed.item.error,
.feed.item.error > a {
- color: $grey-dark;
+ color: $grey-dark;
}
+
.feed.item.empty.active,
.feed.item.error.active,
.feed.item.empty.active > a,
.feed.item.error.active > a {
- color: $white;
+ color: $white;
}
+
.aside_feed .tree-folder-items .dropdown-menu::after {
- left: 2px;
+ left: 2px;
}
+
.aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
- border-radius: 3px;
+ border-radius: 3px;
}
-.aside_feed .stick #btn-importExport{
- border-left-color: $sid-bg;
+
+.aside_feed .stick #btn-importExport {
+ border-left-color: $sid-bg;
}
diff --git a/p/themes/Ansum/_stats.scss b/p/themes/Ansum/_stats.scss
index f287efa08..592419166 100644
--- a/p/themes/Ansum/_stats.scss
+++ b/p/themes/Ansum/_stats.scss
@@ -9,6 +9,7 @@
.stat tr {
border: none;
}
+
.stat > table td,
.stat > table th {
border-bottom: 1px solid $grey-medium-light;
@@ -17,11 +18,13 @@
.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;
}
diff --git a/p/themes/Ansum/_tables.scss b/p/themes/Ansum/_tables.scss
index 608e19aca..2d0311608 100644
--- a/p/themes/Ansum/_tables.scss
+++ b/p/themes/Ansum/_tables.scss
@@ -7,9 +7,11 @@ tr, th, td {
padding: 0.5em;
border: 1px solid $grey-medium-light;
}
+
th {
background: $grey-lighter;
}
+
form td,
form th {
font-weight: normal;
diff --git a/p/themes/Ansum/_variables.scss b/p/themes/Ansum/_variables.scss
index 9fc4238ab..60472019d 100644
--- a/p/themes/Ansum/_variables.scss
+++ b/p/themes/Ansum/_variables.scss
@@ -15,11 +15,11 @@ $white: #fff; // le blanc (des fois qu'on aurait envie de le teinter un peu)
// on essaiera de teinter ces gris suivant la couleur principale
$grey-darker: #524236;
$grey-dark: #766556;
-$grey-medium-dark: #bbaa99;
+$grey-medium-dark: #ba9;
$grey-medium: #d9ccbf;
-$grey-medium-light: #e4d8cc;
-$grey-light: #f5f0ec;
-$grey-lighter: #fcfaf8;
+$grey-medium-light: #e4d8cc;
+$grey-light: #f5f0ec;
+$grey-lighter: #fcfaf8;
$unread-font-color: #161a38;
$unread-bg: #f2f6f8;
@@ -39,8 +39,8 @@ $success-light: #cffdef;
$success-text: #0c7556;
// les favoris
-$fav-bg: #FFC300;
-$fav-light: #FFF6DA;
+$fav-bg: #ffc300;
+$fav-light: #fff6da;
// la couleur de sidebar, utile si on a envie d'un thรจme qui aurait une sidebar foncรฉ, e.g.
$sid-font-color: #363330; // la couleur de fond de la barre de gauche et du header
@@ -49,5 +49,5 @@ $sid-bg-alt: #f7f2ea; // le background de l'intรฉrieur des groupes
$sid-bg-dark: #efe3d3; // les hovers
$sid-sep: #f0e7da; // les sรฉparateurs
$sid-active: $main-first; // la couleur active
-$sid-active-font: #FFFFFF; // la couleur active
+$sid-active-font: #fff; // la couleur active
$sid-pills: rgba(35,35,0, 0.15); // les gรฉlules
diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css
index 026ce875b..525e7e079 100644
--- a/p/themes/Ansum/ansum.css
+++ b/p/themes/Ansum/ansum.css
@@ -46,23 +46,24 @@
font-stretch: normal;
font-weight: 700;
src: local("Spectral"), url("../fonts/Spectral-BoldItalic.woff") format("woff"); }
+/* stylelint-disable property-no-vendor-prefix */
/* FUNCTIONS */
/* btns */
.btn {
+ margin: 0;
+ padding: 0.5rem 1.5rem;
+ background: #fcfaf8;
display: inline-block;
+ color: #766556;
+ font-size: 1rem;
+ border: none;
+ border-radius: 5px;
min-height: 38px;
min-width: 15px;
line-height: 25px;
- margin: 0;
- padding: 0.5rem 1.5rem;
- font-size: 1rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
- background: #fcfaf8;
- border-radius: 5px;
- border: none;
- color: #766556;
-webkit-transition: all 0.15s ease-in-out;
-moz-transition: all 0.15s ease-in-out;
-o-transition: all 0.15s ease-in-out;
@@ -86,10 +87,10 @@ a.btn {
/*=== Forms */
legend {
- display: inline-block;
- width: auto;
margin: 2rem 0 1rem 0;
padding: 0;
+ display: inline-block;
+ width: auto;
font-size: 1rem;
clear: both;
text-transform: uppercase;
@@ -107,16 +108,16 @@ textarea {
height: 100px; }
input, select, textarea, button {
- font-family: "lato", "Helvetica", "Arial", sans-serif;
- min-height: 25px;
padding: 5px 10px;
- line-height: 25px;
- vertical-align: middle;
background: #fff;
- border: 1px solid #f5f0ec;
- font-size: 1rem;
color: #766556;
- border-radius: 2px; }
+ font-family: "lato", "Helvetica", "Arial", sans-serif;
+ font-size: 1rem;
+ border: 1px solid #f5f0ec;
+ border-radius: 2px;
+ min-height: 25px;
+ line-height: 25px;
+ vertical-align: middle; }
option {
padding: 0 .5em; }
@@ -134,11 +135,7 @@ input:disabled, select:disabled {
background: #f5f0ec; }
input.extend {
- transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear; }
+ transition: width 200ms linear; }
.form-group {
padding: 5px;
@@ -193,29 +190,24 @@ form th {
/*=== Dropdown */
.dropdown-menu {
- background: #fcfaf8;
margin: 0;
- font-size: 1rem;
- text-align: left;
padding: 0.5rem 0 1rem 0;
+ background: #fcfaf8;
+ font-size: 1rem;
border: none;
border-radius: 3px;
- -webkit-box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
- -moz-box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
- box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35); }
+ box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
+ text-align: left; }
.dropdown-menu::after {
+ background: white;
+ width: 10px;
+ height: 10px;
content: "";
position: absolute;
top: -4px;
right: 13px;
- width: 10px;
- height: 10px;
z-index: -10;
- transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- background: white; }
+ transform: rotate(45deg); }
.dropdown-menu .dropdown-header {
margin: 1.75rem 0 0.5rem 2rem;
font-weight: bold;
@@ -230,9 +222,9 @@ form th {
transition: all 0.075s ease-in-out; }
.dropdown-menu .item a, .dropdown-menu .item span, .dropdown-menu .item .as-link {
padding: 0 2rem;
- line-height: 2.5em;
+ color: #363330;
font-size: 1rem;
- color: #363330; }
+ line-height: 2.5em; }
.dropdown-menu .item:hover {
background: #ca7227;
color: #fff; }
@@ -240,8 +232,8 @@ form th {
text-decoration: none;
color: #fff; }
.dropdown-menu .item[aria-checked="true"] a::before {
- font-weight: bold;
- margin: 0 0 0 -14px; }
+ margin: 0 0 0 -14px;
+ font-weight: bold; }
.dropdown-menu .input select, .dropdown-menu .input input {
margin: 0 auto 5px;
padding: 2px 5px;
@@ -250,20 +242,14 @@ form th {
margin: 0.75rem 0;
border-bottom: 1px solid #f5f0ec; }
-.tree .tree-folder .tree-folder-items .dropdown-menu .item,
.tree .tree-folder .tree-folder-items .dropdown-menu .item {
padding: 0; }
.tree .tree-folder .tree-folder-items .dropdown-menu .item a,
- .tree .tree-folder .tree-folder-items .dropdown-menu .item button,
- .tree .tree-folder .tree-folder-items .dropdown-menu .item a,
.tree .tree-folder .tree-folder-items .dropdown-menu .item button {
color: #363330; }
.tree .tree-folder .tree-folder-items .dropdown-menu .item a:hover,
- .tree .tree-folder .tree-folder-items .dropdown-menu .item button:hover,
- .tree .tree-folder .tree-folder-items .dropdown-menu .item a:hover,
.tree .tree-folder .tree-folder-items .dropdown-menu .item button:hover {
color: #fff; }
- .tree .tree-folder .tree-folder-items .dropdown-menu .item:hover,
.tree .tree-folder .tree-folder-items .dropdown-menu .item:hover {
background: #ca7227; }
@@ -271,11 +257,11 @@ form th {
.alert {
margin: 1rem 0;
padding: 1rem;
- font-size: 1rem;
background: #fcfaf8;
+ color: #766556;
+ font-size: 1rem;
border: 1px solid #d9ccbf;
border-radius: 3px;
- color: #766556;
text-shadow: 0 0 1px #f5f0ec; }
.alert-head {
@@ -287,43 +273,43 @@ form th {
.alert-warn {
background: #fdfde0;
- border: 1px solid #73762f33;
- color: #73762f; }
+ color: #73762f;
+ border: 1px solid #73762f33; }
.alert-success {
background: #cffdef;
- border: 1px solid #0c755633;
- color: #0c7556; }
+ color: #0c7556;
+ border: 1px solid #0c755633; }
.alert-error {
background: #fde0d8;
- border: 1px solid #73341f33;
- color: #73341f; }
+ color: #73341f;
+ border: 1px solid #73341f33; }
/*=== Pagination */
.pagination {
- text-align: center;
- font-size: 0.8em;
background: #f5f0ec;
- color: #363330; }
+ color: #363330;
+ font-size: 0.8em;
+ text-align: center; }
.pagination .item.pager-current {
- font-weight: bold;
- font-size: 1.5em;
background: #fbf9f6;
- color: #f5f0ec; }
+ color: #f5f0ec;
+ font-size: 1.5em;
+ font-weight: bold; }
.pagination .item a {
display: block;
+ color: #363330;
font-style: italic;
line-height: 3em;
- text-decoration: none;
- color: #363330; }
+ text-decoration: none; }
.pagination .item a:hover {
background: #363330;
color: #f5f0ec; }
.pagination .loading,
.pagination a:hover.loading {
- font-size: 0;
- background: url("loader.gif") center center no-repeat #34495e; }
+ background: url("loader.gif") center center no-repeat #34495e;
+ font-size: 0; }
.content .pagination {
margin: 0;
@@ -331,11 +317,9 @@ form th {
/*=== Boxes */
.box {
+ background: #fff;
border: none;
border-radius: 3px;
- background: #fff;
- -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
- -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25); }
.box .box-title {
margin: 0;
@@ -346,18 +330,18 @@ form th {
.box .box-title img {
margin-right: 0.75rem; }
.box .box-title:hover .configure {
- visibility: visible;
background: url("icons/cog.svg") no-repeat 4px 4px;
+ display: block;
+ float: left;
width: 1.75rem;
height: 1.75rem;
- display: block;
border-radius: 2px;
- float: left;
+ visibility: visible;
margin-right: 0.5rem; }
.box .box-title:hover .configure .icon {
- vertical-align: middle;
+ display: none;
border-radius: 3px;
- display: none; }
+ vertical-align: middle; }
.box .box-title:hover .configure:hover {
background: url("icons/cog-white.svg") no-repeat 4px 4px #ca7227; }
.box .box-title .configure {
@@ -368,33 +352,33 @@ form th {
float: right; }
.box .box-title form .dropdown a.dropdown-toggle {
padding: 0;
+ border-radius: 0;
background-image: url(icons/more.svg);
background-repeat: no-repeat;
- background-position: right 8px;
- border-radius: 0; }
+ background-position: right 8px; }
.box .box-title form .dropdown a.dropdown-toggle img {
display: none; }
.box .box-content .item {
padding: 0.5rem 0.75rem;
- font-size: 1rem;
color: #363330;
- line-height: 1.7em;
- border-bottom: 1px solid #f5f0ec; }
+ font-size: 1rem;
+ border-bottom: 1px solid #f5f0ec;
+ line-height: 1.7em; }
.box .box-content .item img {
margin-right: 0.75rem; }
.box .box-content .item .configure {
- visibility: hidden;
+ background: url("icons/cog.svg") no-repeat 4px 4px;
+ display: block;
+ float: left;
width: 1.75rem;
height: 1.75rem;
- display: block;
border-radius: 2px;
- float: left;
- margin-right: 0.5rem;
- background: url("icons/cog.svg") no-repeat 4px 4px; }
+ visibility: hidden;
+ margin-right: 0.5rem; }
.box .box-content .item .configure .icon {
- vertical-align: middle;
+ display: none;
border-radius: 3px;
- display: none; }
+ vertical-align: middle; }
.box .box-content .item .configure:hover {
background: url("icons/cog-white.svg") no-repeat 4px 4px #ca7227; }
.box .box-content .item:hover .configure {
@@ -419,11 +403,11 @@ form th {
background: url(icons/tick-white.svg) center no-repeat; }
#bigMarkAsRead .bigTick {
margin: 0.5rem 0;
- display: inline-block;
- text-indent: -9999px;
background: url(icons/tick-color.svg) center no-repeat;
- height: 64px;
+ display: inline-block;
width: 64px;
+ height: 64px;
+ text-indent: -9999px;
white-space: nowrap; }
.formLogin {
@@ -439,8 +423,8 @@ form th {
.formLogin form#crypto-form div {
margin-bottom: 1rem; }
.formLogin form#crypto-form div label {
- font-size: 1rem;
- color: #d9ccbf; }
+ color: #d9ccbf;
+ font-size: 1rem; }
.formLogin form#crypto-form div input {
background: #221f1d; }
.formLogin form#crypto-form div input:focus {
@@ -467,15 +451,13 @@ form th {
scrollbar-color: #36333033 #36333022; }
.tree .tree-folder {
border-bottom: 1px solid #f0e7da;
- -moz-box-shadow: inset -1px -11px 8px #00000033;
- -webkit-box-shadow: inset -1px -11px 8px #00000033;
- box-shadow: inset -1px -11px 8px #00000033; }
+ box-shadow: inset -1px -11px 8px #0003; }
.tree .tree-folder .tree-folder-title {
- position: relative;
+ padding: 12px 16px;
background: #fbf9f6;
+ position: relative;
font-size: 0.85rem;
letter-spacing: 1px;
- padding: 12px 16px;
font-weight: 700;
text-transform: uppercase; }
.tree .tree-folder .tree-folder-title .title {
@@ -504,22 +486,22 @@ form th {
.tree .tree-folder .tree-folder-items .item.active .dropdown li a:hover {
color: #363330; }
.tree .tree-folder .tree-folder-items .item.active a {
- color: #FFFFFF; }
+ color: #fff; }
.tree .tree-folder .tree-folder-items .item:hover {
background: #efe3d3; }
.tree .tree-folder .tree-folder-items .item a {
text-decoration: none;
color: #363330; }
.tree .tree-folder .tree-folder-items .feed .item-title:not([data-unread="0"])::before {
- content: attr(data-unread);
+ margin: 11px 6px 0 4px;
+ padding: 3px 4px;
background: rgba(35, 35, 0, 0.15);
- font-size: 0.75rem;
display: block;
float: left;
- padding: 3px 4px;
- text-align: center;
+ font-size: 0.75rem;
border-radius: 12px;
- margin: 11px 6px 0 4px;
+ content: attr(data-unread);
+ text-align: center;
line-height: 0.75rem; }
/*=== Buttons */
@@ -576,11 +558,11 @@ form th {
background: #efe3d3;
color: #363330; }
.nav-list .item:hover .error a {
- color: #363330;
- background: #ca7227; }
+ background: #ca7227;
+ color: #363330; }
.nav-list .item:hover .empty a {
- color: #363330;
- background: #f4f762; }
+ background: #f4f762;
+ color: #363330; }
.nav-list .item:hover a {
color: #363330;
text-decoration: none; }
@@ -588,11 +570,11 @@ form th {
background: #ca7227;
color: #fff; }
.nav-list .item.active .error a {
- color: #fff;
- background: #ca7227; }
+ background: #ca7227;
+ color: #fff; }
.nav-list .item.active .empty a {
- color: #fff;
- background: #f4f762; }
+ background: #f4f762;
+ color: #fff; }
.nav-list .item.active a {
color: #fff;
text-decoration: none; }
@@ -601,7 +583,7 @@ form th {
.nav-list .disable {
text-align: center;
background: #fcfaf8;
- color: #bbaa99; }
+ color: #ba9; }
.nav-list .nav-header {
padding: 0 10px;
font-weight: bold;
@@ -625,13 +607,13 @@ form th {
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
+ margin: -0.5rem 1rem 0 0;
+ padding: 0 0.75rem;
+ background: rgba(35, 35, 0, 0.15);
+ border-radius: 12px;
position: absolute;
right: 0;
line-height: 1.5rem;
- background: rgba(35, 35, 0, 0.15);
- border-radius: 12px;
- padding: 0 0.75rem;
- margin: -0.5rem 1rem 0 0;
text-align: center; }
.feed.item.empty.active {
@@ -669,16 +651,16 @@ form th {
/*===============*/
/*=== Header */
.header {
- background: #fbf9f6;
padding: 0.5rem 1.35rem;
+ background: #fbf9f6;
display: block;
- table-layout: none;
- width: auto; }
+ width: auto;
+ table-layout: none; }
.header .item {
vertical-align: middle; }
.header .item.title {
- font-weight: 400;
- width: 280px; }
+ width: 280px;
+ font-weight: 400; }
.header .item.title h1 a {
text-decoration: none;
color: #363330;
@@ -689,10 +671,10 @@ form th {
margin-right: 0.5rem; }
.header .item.search input {
width: 230px;
- border-radius: 2px 0 0 2px;
- background-color: #f7f2ea;
color: #363330;
border: none;
+ border-radius: 2px 0 0 2px;
+ background-color: #f7f2ea;
-webkit-transition: all 0.15s ease-in-out;
-moz-transition: all 0.15s ease-in-out;
-o-transition: all 0.15s ease-in-out;
@@ -701,16 +683,16 @@ form th {
background-color: #efe3d3; }
.header .item.search input:focus {
width: 350px;
- background-color: #fff;
- color: #766556; }
+ color: #766556;
+ background-color: #fff; }
.header .item.search .btn {
+ width: 3rem;
border-radius: 0 2px 2px 0;
background-color: #ca7227;
background-position: center;
background-repeat: no-repeat;
background-image: url(icons/magnifier.svg);
border-left-width: 0;
- width: 3rem;
min-height: 35px; }
.header .item.search .btn img {
display: none; }
@@ -723,11 +705,11 @@ form th {
top: 1.25rem;
text-align: center; }
.header .item.configure .btn {
+ padding: 0 0.5rem;
background-color: transparent;
background-position: center;
background-repeat: no-repeat;
- background-image: url(icons/cog.svg);
- padding: 0 0.5rem; }
+ background-image: url(icons/cog.svg); }
.header .item.configure .btn img {
display: none; }
@@ -755,9 +737,9 @@ form th {
/*=== New article notification */
#new-article {
- text-align: center;
+ background: #ca7227;
font-size: 1rem;
- background: #ca7227; }
+ text-align: center; }
#new-article:hover {
background: #b7641d; }
@@ -773,16 +755,16 @@ form th {
/*=== Day indication */
.day {
padding: 1rem 0 0 1.25rem;
+ color: #6d655f;
+ font-size: 0.875rem;
font-weight: 700;
line-height: 3em;
letter-spacing: 1px;
- text-transform: uppercase;
- font-size: 0.875rem;
- color: #6d655f; }
+ text-transform: uppercase; }
.day .name {
padding: 0 1rem 0 1rem;
- font-size: 0.875rem;
color: #363330;
+ font-size: 0.875rem;
position: relative;
left: 0;
text-transform: uppercase; }
@@ -834,9 +816,9 @@ form th {
.nav_menu .stick .btn#toggle-non-starred.active {
background-image: url(icons/non-starred-white.svg); }
.nav_menu .stick .btn.read_all {
- background-color: #fcfaf8;
- color: #363330;
padding: 5px 16px;
+ color: #363330;
+ background-color: #fcfaf8;
-webkit-transition: all 0.15s ease-in-out;
-moz-transition: all 0.15s ease-in-out;
-o-transition: all 0.15s ease-in-out;
@@ -863,7 +845,7 @@ form th {
#dropdown-query ~ .dropdown-menu .dropdown-header .icon {
vertical-align: middle;
- background-color: #bbaa99;
+ background-color: #ba9;
border-radius: 3px; }
/*=== Content of feed articles */
@@ -873,21 +855,21 @@ form th {
line-height: 1.8rem; }
.content h1.title a, .content h1 a, .content.thin h1.title a, .content.thin h1 a {
color: #363330;
- font-family: "spectral";
+ font-family: "spectral", serif;
font-size: 2rem; }
.content h1.title a:hover, .content h1 a:hover, .content.thin h1.title a:hover, .content.thin h1 a:hover {
color: #ca7227;
text-decoration: none; }
.content .author, .content.thin .author {
- font-size: 1.125rem;
- color: #6d655f; }
+ color: #6d655f;
+ font-size: 1.125rem; }
.content p, .content ul, .content.thin p, .content.thin ul {
font-size: 1.125rem;
line-height: 1.8rem; }
.content .content hr, .content.thin .content hr {
margin: 30px 10px;
- height: 1px;
background: #e4d8cc;
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px #ccc; }
.content pre, .content.thin pre {
@@ -904,42 +886,42 @@ form th {
border: none; }
.content code, .content.thin code {
padding: 2px 5px;
- color: #f5f0ec;
background: #fcfaf8;
+ color: #f5f0ec;
border: 1px solid #f5f0ec;
border-radius: 3px; }
.content blockquote, .content.thin blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
- border-top: 1px solid #e4d8cc;
- border-bottom: 1px solid #e4d8cc;
background: #fcfaf8;
- color: #363330; }
+ display: block;
+ color: #363330;
+ border-top: 1px solid #e4d8cc;
+ border-bottom: 1px solid #e4d8cc; }
.content blockquote p, .content.thin blockquote p {
margin: 0; }
/*=== Notification and actualize notification */
.notification {
+ padding: 1rem 0;
+ background: #e4d8cc;
+ width: 100%;
+ height: 3rem;
+ color: #766556;
+ font-size: 1em;
+ border: none;
position: fixed;
top: auto;
bottom: 0;
left: 0;
right: 0;
- width: 100%;
- height: 3rem;
- padding: 1rem 0;
text-align: center;
- font-size: 1em;
line-height: 3em;
z-index: 10;
- vertical-align: middle;
- background: #e4d8cc;
- color: #766556;
- border: none; }
+ vertical-align: middle; }
.notification .msg {
- font-size: 1rem;
- display: inline-block; }
+ display: inline-block;
+ font-size: 1rem; }
.notification.good {
background: #10f5b2;
color: #fff; }
@@ -948,8 +930,8 @@ form th {
color: #fff; }
.notification a.close {
padding: 0 15px;
- line-height: 3em;
- border-radius: 0 3px 3px 0; }
+ border-radius: 0 3px 3px 0;
+ line-height: 3em; }
.notification.good a.close:hover {
background: #0c7556; }
.notification.bad a.close:hover {
@@ -979,8 +961,8 @@ form th {
.flux:hover:not(.current):hover .item.title {
background: #fcfaf8; }
.flux.current {
- border-left-color: #ca7227;
- background: #fff; }
+ background: #fff;
+ border-left-color: #ca7227; }
.flux.not_read {
background: #f2f6f8; }
.flux.not_read:hover {
@@ -994,22 +976,22 @@ form th {
.flux.not_read .item.date {
color: #161a3899; }
.flux.favorite {
- background: #FFF6DA;
- border-left-color: #FFC300;
+ background: #fff6da;
+ border-left-color: #ffc300;
-webkit-transition: all 0.15s ease-in-out;
-moz-transition: all 0.15s ease-in-out;
-o-transition: all 0.15s ease-in-out;
transition: all 0.15s ease-in-out; }
.flux.favorite:not(.current):hover .item.title {
- background: #FFF6DA; }
+ background: #fff6da; }
.flux .website a {
color: #363330;
opacity: 0.75; }
.flux .website .favicon {
padding: 5px; }
.flux .date {
- font-size: 0.85rem;
color: #363330;
+ font-size: 0.85rem;
opacity: 0.75; }
.flux .bottom {
font-size: 1rem;
@@ -1027,33 +1009,33 @@ form th {
#stream .box.category:not([data-unread="0"]) .box-title .title {
font-weight: bold; }
#stream .box.category .box-title {
- background: none;
- padding: 1.5rem; }
+ padding: 1.5rem;
+ background: none; }
#stream .box.category .box-title a.title {
+ color: #766556;
+ font-size: 1rem;
font-weight: normal;
text-decoration: none;
text-align: left;
- font-size: 1rem;
text-transform: uppercase;
- letter-spacing: 1px;
- color: #766556; }
+ letter-spacing: 1px; }
#stream .box.category .box-title a.title:not([data-unread="0"])::after {
+ margin: -0.5rem 1rem 0 0;
+ padding: 0 0.75rem;
+ background: #f5f0ec;
+ border-radius: 12px;
position: absolute;
top: 1.75rem;
right: 0;
line-height: 1.5rem;
- background: #f5f0ec;
- border-radius: 12px;
- padding: 0 0.75rem;
- margin: -0.5rem 1rem 0 0;
text-align: center; }
#stream .box.category .box-title a.title:hover {
color: #ca7227; }
#stream .box.category .box-content {
padding-bottom: 0.5rem; }
#stream .box.category .box-content .item.feed {
- font-size: 1rem;
- padding: 0.5rem 1.5rem; }
+ padding: 0.5rem 1.5rem;
+ font-size: 1rem; }
#stream .box.category .box-content .item.feed a {
color: #363330;
font-weight: 400; }
@@ -1081,8 +1063,8 @@ form th {
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
- color: #bbaa99; }
+ color: #ba9;
+ font-size: 90%; }
/*=== Configuration pages */
.post {
@@ -1095,42 +1077,40 @@ form th {
.post.content {
max-width: 550px; }
.post h1, .post h2 {
+ color: #363330;
font-size: 3rem;
margin-top: 1.75rem;
font-weight: 300;
- line-height: 1.2em;
- color: #363330; }
+ line-height: 1.2em; }
.post a[href="./"] {
- display: inline-block;
- min-width: 15px;
- line-height: 25px;
margin: 0;
padding: 0.75rem 1.5rem;
- font-size: 1rem;
- vertical-align: middle;
- cursor: pointer;
- overflow: hidden;
background: #fcfaf8;
+ display: inline-block;
+ color: #766556;
+ font-size: 1rem;
border: 1px solid #e4d8cc;
border-radius: 5px;
- color: #766556; }
+ min-width: 15px;
+ line-height: 25px;
+ vertical-align: middle;
+ cursor: pointer;
+ overflow: hidden; }
.post a[href="./"]:hover {
- text-decoration: none;
background: #ca7227;
color: white;
- border: 1px solid #ca7227; }
+ border: 1px solid #ca7227;
+ text-decoration: none; }
#slider {
border-left: none;
- -webkit-box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
- -moz-box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35); }
.slide-container .properties {
- background: rgba(0, 0, 0, 0.75);
- border: 0;
padding: 1rem;
- color: white; }
+ background: rgba(0, 0, 0, 0.75);
+ color: white;
+ border: 0; }
.slide-container .properties .page-number {
right: 1rem;
top: 1rem; }
@@ -1139,15 +1119,15 @@ form th {
/*=========*/
.loglist {
overflow: hidden;
- border: 1px solid #bbaa99; }
+ border: 1px solid #ba9; }
.log {
margin: 10px 0;
padding: 5px 2%;
- overflow: auto;
- font-size: 0.8rem;
background: #fcfaf8;
- color: #766556; }
+ color: #766556;
+ font-size: 0.8rem;
+ overflow: auto; }
.log > .date {
margin: 0 10px 0 0;
@@ -1201,11 +1181,11 @@ form th {
ul.nav .item img {
display: none; }
ul.nav .item a {
- display: inline-block;
padding: 1rem 1rem 1rem 2.5rem;
- color: #363330;
- width: 100%;
background: url("../../themes/icons/logout.svg") no-repeat #efe3d3 3% center;
+ display: inline-block;
+ width: 100%;
+ color: #363330;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
@@ -1227,12 +1207,12 @@ form th {
.aside .toggle_aside,
#panel .close {
+ background: #b7641d;
display: block;
width: 100%;
height: 50px;
line-height: 50px;
- text-align: center;
- background: #b7641d; }
+ text-align: center; }
.header {
padding: 0.5rem; }
@@ -1268,7 +1248,7 @@ form th {
.nav_menu .search .input {
max-width: 97%;
width: 90px; }
- .nav_menu .search .input::focus {
+ .nav_menu .search .input:focus {
width: 400px; }
#stream .flux .flux_header {
@@ -1278,8 +1258,8 @@ form th {
text-align: center;
padding: 1rem 0; }
.day .name {
- display: block;
padding: 0;
+ display: block;
width: 100%;
line-height: 1.5rem;
margin-bottom: 1rem; }
@@ -1293,22 +1273,20 @@ form th {
.notification {
border-radius: 0; }
.notification a.close {
+ background: transparent;
display: block;
- left: 0;
- background: transparent; }
+ left: 0; }
.notification a.close:hover {
opacity: 0.5; }
.notification a.close .icon {
display: none; } }
-html, body {
- font-family: "lato", "Helvetica", "Arial", sans-serif;
- font-size: 0.875rem; }
-
/*=== GENERAL */
/*============*/
html, body {
+ background: #f5f0ec;
height: 100%;
- background: #f5f0ec; }
+ font-family: "lato", "Helvetica", "Arial", sans-serif;
+ font-size: 0.875rem; }
/*=== Links */
a, button.as-link {
diff --git a/p/themes/Ansum/ansum.css.map b/p/themes/Ansum/ansum.css.map
deleted file mode 100644
index 40e796955..000000000
--- a/p/themes/Ansum/ansum.css.map
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-"version": 3,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O;MACd,GAAG,EAAE,QAAQ;MAET,sCAAI;QACP,OAAO,EAAE,QAAQ;;EAQnB,cAAK;IACD,MAAM,EAAE,CAAC;IACT,OAAO,EAAE,eAAe;EAE5B,gBAAO;IACH,MAAM,EAAE,aAAa;IAErB,qBAAI;MACP,MAAM,EAAE,CAAC;MACT,OAAO,EAAE,eAAe;MAExB,8BAAU;QACN,OAAO,EAAE,eAAe;EAI7B,iBAAQ;IACJ,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,GAAG;IAEd,wBAAM;MAET,SAAS,EAAE,GAAG;MACd,KAAK,EAAE,IAAI;MAEX,+BAAQ;QACL,KAAK,EAAE,KAAK;;EAOZ,0BAAY;IACf,OAAO,EAAE,QAAQ;;EAOf,IAAI;IACP,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAM;IACf,UAAM;MAEF,OAAO,EAAE,KAAK;MACd,OAAO,EAAE,CAAC;MACV,KAAK,EAAE,IAAI;MACX,WAAW,EAAE,MAAM;MACnB,aAAa,EAAE,IAAI;;EAKpB,WAAY;IACf,MAAM,EAAE,SAAS;;EAGd,YAAY;IACf,WAAW,EAAE,MAAM;;EAGhB,aAAc;IACjB,aAAa,EAAE,CAAC;IAEhB,qBAAQ;MACJ,OAAO,EAAE,KAAK;MACd,IAAI,EAAE,CAAC;MACP,UAAU,EAAE,WAAW;IAE3B,2BAAc;MACV,OAAO,EAAE,GAAG;IAEhB,2BAAc;MACV,OAAO,EAAE,IAAI;AC9IlB,UAAU;EACN,WAAW,EAAE,wCAAwC;EACrD,SAAS,EAAE,QAAQ;;AAKvB,gBAAgB;AAChB,gBAAgB;AAChB,UAAW;EACV,MAAM,EAAE,IAAI;EACZ,UAAU,EbdE,OAAO;;AaiBpB,cAAc;AACd,iBAAkB;EACd,OAAO,EAAE,IAAI;EACb,KAAK,EbUI,OAAW",
-"sources": ["_fonts.scss","_mixins.scss","_forms.scss","_variables.scss","_tables.scss","_components.scss","_divers.scss","_sidebar.scss","_layout.scss","_list-view.scss","_global-view.scss","_reader-view.scss","_configuration.scss","_logs.scss","_stats.scss","_mobile.scss","ansum.scss"],
-"names": [],
-"file": "ansum.css"
-}
diff --git a/p/themes/Ansum/ansum.scss b/p/themes/Ansum/ansum.scss
index 1a538b50a..337cc5f97 100644
--- a/p/themes/Ansum/ansum.scss
+++ b/p/themes/Ansum/ansum.scss
@@ -1,51 +1,48 @@
@import "fonts";
+
@import "mixins";
+
@import "variables";
@import "forms";
+
@import "tables";
+
@import "components";
@import "divers";
@import "sidebar";
+
@import "layout";
+
@import "list-view";
+
@import "global-view";
+
@import "reader-view";
@import "configuration";
@import "logs";
+
@import "stats";
@import "mobile";
-html, body{
- font-family: "lato", "Helvetica", "Arial", sans-serif;
- font-size: 0.875rem;
-}
-
@charset "UTF-8";
/*=== GENERAL */
/*============*/
html, body {
- height: 100%;
background: $grey-light;
+ height: 100%;
+ font-family: "lato", "Helvetica", "Arial", sans-serif;
+ font-size: 0.875rem;
}
/*=== Links */
a, button.as-link {
- outline: none;
- color: $main-first;
+ outline: none;
+ color: $main-first;
}
-
-
-
-
-
-
-
-
-
diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css
index 93c0ba213..7e9fdf40a 100644
--- a/p/themes/BlueLagoon/BlueLagoon.css
+++ b/p/themes/BlueLagoon/BlueLagoon.css
@@ -3,72 +3,77 @@
/*=== GENERAL */
/*============*/
html, body {
+ background: #fafafa;
height: 100%;
font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
- background: #fafafa;
font-size: 92%;
}
/*=== Links */
a, button.as-link {
- color: #0062BE;
+ color: #0062be;
outline: none;
}
/*=== Forms */
-.form-group{
- width: 100%;
+.form-group {
+ display: inline-block;
float: left;
+ width: 100%;
height: auto;
- display: inline-block;
}
+
legend {
margin: 20px 0 5px;
padding: 5px 0;
- border-bottom: 1px solid #ddd;
font-size: 1.4em;
+ border-bottom: 1px solid #ddd;
}
+
label {
min-height: 25px;
padding: 5px 0;
cursor: pointer;
}
+
textarea {
width: 360px;
height: 100px;
}
+
input, select, textarea {
- min-height: 25px;
padding: 5px;
background: #fff;
+ color: #222;
border: 1px solid #ccc;
border-radius: 3px;
- color: #222;
+ box-shadow: 0 1px 2px #ccc inset, 0 1px #fff;
+ min-height: 25px;
line-height: 25px;
vertical-align: middle;
- box-shadow: 0 1px 2px #ccc inset, 0 1px #fff;
}
+
option {
padding: 0 .5em;
}
+
input:focus, select:focus, textarea:focus {
- color: #0F0F0F;
- box-shadow: 0 0 3px #0062BF;
- border: solid 1px #0062BF;
+ color: #0f0f0f;
+ border: solid 1px #0062bf;
+ box-shadow: 0 0 3px #0062bf;
}
+
input:invalid, select:invalid {
border-color: #f00;
box-shadow: 0 0 2px 2px #fdd inset;
}
+
input:disabled, select:disabled {
background: #eee;
}
+
input.extend {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
/*=== Tables */
@@ -80,9 +85,11 @@ tr, th, td {
padding: 0.5em;
border: 1px solid #ddd;
}
+
th {
background: #f6f6f6;
}
+
form td,
form th {
font-weight: normal;
@@ -97,49 +104,60 @@ form th {
background: #f4f4f4;
border-top: 1px solid #ddd;
}
+
.form-group.form-actions .btn {
margin: 0 10px;
border-radius: 4px;
- box-shadow:0 1px rgba(255,255,255,0.08) inset;
+ box-shadow: 0 1px rgba(255,255,255,0.08) inset;
}
+
.form-group .group-name {
padding: 10px 0;
text-align: right;
}
+
.form-group .group-controls {
min-height: 25px;
padding: 5px 0;
}
+
.form-group table {
margin: 10px 0 0 220px;
}
/*=== Buttons */
button.as-link[disabled] {
- color:#555 !important;
+ color: #555 !important;
}
.dropdown-menu .input select, .dropdown-menu .input input {
- background:#444;
- color:#fff;
- box-shadow:0 2px 2px #222 inset, 0px 1px rgba(255, 255, 255, 0.08);
- border:solid 1px #171717;
+ margin: 0 auto 5px;
+ padding: 2px 5px;
+ background: #444;
+ color: #fff;
+ border: solid 1px #171717;
+ border-radius: 3px;
+ box-shadow: 0 2px 2px #222 inset, 0px 1px rgba(255, 255, 255, 0.08);
}
.stick {
vertical-align: middle;
font-size: 0;
}
+
.stick input,
.stick .btn {
border-radius: 0;
}
+
.stick .btn:first-child,.stick input:first-child {
border-radius: 6px 0 0 6px;
}
+
.stick .btn:last-child, .stick input:last-child {
border-radius: 0 6px 6px 0;
}
+
.stick .btn + .btn,
.stick .btn + input,
.stick .btn + .dropdown > .btn,
@@ -151,103 +169,113 @@ button.as-link[disabled] {
.stick .dropdown + .dropdown > .btn {
border-left: none;
}
+
.stick .btn + .dropdown > .btn {
border-left: none;
border-radius: 0 3px 3px 0;
}
.btn {
- display: inline-block;
- min-height: 37px;
- min-width: 15px;
margin: 0;
padding: 5px 10px;
- color:#222;
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
+ display: inline-block;
+ color: #222;
+ font-size: 0.9rem;
border: solid 1px #ccc;
border-radius: 4px;
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
+ min-height: 37px;
+ min-width: 15px;
text-shadow: 0px -1px rgba(255,255,255,0.08);
- font-size: 0.9rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
}
+
a.btn {
min-height: 25px;
line-height: 25px;
}
+
.btn:hover {
text-shadow: 0 0 2px #fff;
- text-decoration:none;
+ text-decoration: none;
}
+
.btn.active,.btn:active,.dropdown-target:target ~ .btn.dropdown-toggle {
- background: linear-gradient(180deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(top, #EDE7DE 0%, #FFF 100%);
+ background: linear-gradient(180deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(top, #ede7de 0%, #fff 100%);
}
-.nav_menu .btn.active, .nav_menu .btn:active, .nav_menu .dropdown-target:target ~ .btn.dropdown-toggle{
- box-shadow: 0 1px #fff;
- border-radius: 4px;
- background: linear-gradient(180deg, #EDE7DE 0%, #F6F6F6 100%) #EDE7DE;
- background: -webkit-linear-gradient(top, #EDE7DE 0%, #F6F6F6 100%);
+.nav_menu .btn.active, .nav_menu .btn:active, .nav_menu .dropdown-target:target ~ .btn.dropdown-toggle {
+ background: linear-gradient(180deg, #ede7de 0%, #f6f6f6 100%) #ede7de;
+ background: -webkit-linear-gradient(top, #ede7de 0%, #f6f6f6 100%);
border: solid 1px #ccc;
+ border-radius: 4px;
+ box-shadow: 0 1px #fff;
}
+
.nav_menu .btn {
+ background: transparent;
border: 0;
- background:transparent;
}
.read_all {
- color:#222;
+ color: #222;
}
-.btn.dropdown-toggle[href="#dropdown-configure"]{
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
- border-radius: 4px;
+
+.btn.dropdown-toggle[href="#dropdown-configure"] {
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
border: solid 1px #ccc;
+ border-radius: 4px;
box-shadow: 0 1px #fff;
}
+
.btn.dropdown-toggle:active {
- background:transparent;
+ background: transparent;
}
+
.btn-important {
- background: linear-gradient(180deg, #0090FF 0%, #0062BE 100%) #E4992C;
- background: -webkit-linear-gradient(top, #0090FF 0%, #0062BE 100%);
- color: #FFF;
- box-shadow: 0 1px rgba(255,255,255,0.08) inset;
+ background: linear-gradient(180deg, #0090ff 0%, #0062be 100%) #e4992c;
+ background: -webkit-linear-gradient(top, #0090ff 0%, #0062be 100%);
+ color: #fff;
border-radius: 4px;
+ box-shadow: 0 1px rgba(255,255,255,0.08) inset;
text-shadow: 0px -1px rgba(255,255,255,0.08);
font-weight: normal;
}
-.btn-important:hover {
-}
+
.btn-important:active {
- background: linear-gradient(0deg, #E4992C 0%, #D18114 100%) #E4992C;
- background: -webkit-linear-gradient(bottom, #E4992C 0%, #D18114 100%);
+ background: linear-gradient(0deg, #e4992c 0%, #d18114 100%) #e4992c;
+ background: -webkit-linear-gradient(bottom, #e4992c 0%, #d18114 100%);
}
.btn-attention {
- background: #E95B57;
- background: linear-gradient(to bottom, #E95B57, #BD362F);
- background: -webkit-linear-gradient(top, #E95B57 0%, #BD362F 100%);
+ background: #e95b57;
+ background: linear-gradient(to bottom, #e95b57, #bd362f);
+ background: -webkit-linear-gradient(top, #e95b57 0%, #bd362f 100%);
color: #fff;
- border: 1px solid #C44742;
+ border: 1px solid #c44742;
text-shadow: 0px -1px 0px #666;
}
+
.btn-attention:hover {
- background: linear-gradient(to bottom, #D14641, #BD362F);
- background: -webkit-linear-gradient(top, #D14641 0%, #BD362F 100%);
+ background: linear-gradient(to bottom, #d14641, #bd362f);
+ background: -webkit-linear-gradient(top, #d14641 0%, #bd362f 100%);
}
+
.btn-attention:active {
- background: #BD362F;
+ background: #bd362f;
box-shadow: none;
}
-.btn[type="reset"]{
+
+.btn[type="reset"] {
+ background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
+ background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
color: #fff;
- background:linear-gradient(180deg, #222 0%, #171717 100%) #171717;
- background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
- box-shadow:0 -1px rgba(255,255,255,0.08) inset;
+ box-shadow: 0 -1px rgba(255,255,255,0.08) inset;
}
/*=== Navigation */
.nav-list .nav-header,
@@ -256,55 +284,64 @@ a.btn {
line-height: 2.5em;
font-size: 0.9rem;
}
+
.nav-list .item:hover {
text-shadow: 0 0 2px rgba(255,255,255,0.28);
- color:#fff;
+ color: #fff;
}
.nav-list .item.active {
- background: linear-gradient(180deg, #0090FF 0%, #0062BE 100%) #E4992C;
- background: -webkit-linear-gradient(top, #0090FF 0%, #0062BE 100%);
+ margin: 0;
+ background: linear-gradient(180deg, #0090ff 0%, #0062be 100%) #e4992c;
+ background: -webkit-linear-gradient(top, #0090ff 0%, #0062be 100%);
+ box-shadow: -1px 2px 2px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
border-width: medium medium 1px;
border-style: none none solid;
border-color: -moz-use-text-color -moz-use-text-color #171717;
- box-shadow: -1px 2px 2px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
- margin: 0;
}
+
.nav-list .item.active a {
color: #fff;
}
+
.nav-list .disable {
- color: #aaa;
background: #fafafa;
+ color: #aaa;
text-align: center;
}
+
.nav-list .item > a {
padding: 0 10px;
- color:#ccc;
+ color: #ccc;
}
+
.nav-list a:hover {
text-decoration: none;
}
+
.nav-list .item.empty a {
color: #f39c12;
}
+
.nav-list .item.active.empty a {
+ background: linear-gradient(180deg, #e4992c 0%, #d18114 100%) #e4992c;
+ background: -webkit-linear-gradient(180deg, #e4992c 0%, #d18114 100%);
color: #fff;
- background: linear-gradient(180deg, #E4992C 0%, #D18114 100%) #E4992C;
- background: -webkit-linear-gradient(180deg, #E4992C 0%, #D18114 100%);
}
+
.nav-list .item.error a {
- color: #BD362F;
+ color: #bd362f;
}
+
.nav-list .item.active.error a {
+ background: #bd362f;
color: #fff;
- background: #BD362F;
}
.nav-list .nav-header {
padding: 0 10px;
- color: #222;
background: transparent;
+ color: #222;
}
.nav-list .nav-form {
@@ -314,10 +351,11 @@ a.btn {
.nav-head {
margin: 0;
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
text-align: right;
}
+
.nav-head .item {
padding: 5px 10px;
font-size: 0.9rem;
@@ -329,6 +367,7 @@ a.btn {
margin: 0;
padding: 0;
}
+
.horizontal-list .item {
vertical-align: middle;
}
@@ -337,32 +376,32 @@ a.btn {
.dropdown-menu {
margin: 5px 0 0;
padding: 5px 0;
+ background: #222;
+ font-size: 0.8rem;
border: 1px solid #171717;
border-radius: 4px;
box-shadow: 0 0 3px #000;
- font-size: 0.8rem;
text-align: left;
- background: #222;
}
+
.dropdown-menu::after {
- content: "";
- position: absolute;
- top: -6px;
- right: 13px;
+ background: #222;
width: 10px;
height: 10px;
- background: #222;
border-top: 1px solid #171717;
border-left: 1px solid #171717;
+ content: "";
+ position: absolute;
+ top: -6px;
+ right: 13px;
z-index: -10;
transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
}
+
.dropdown-header {
- display:none;
+ display: none;
}
+
.dropdown-menu > .item > a,
.dropdown-menu > .item > span,
.dropdown-menu > .item > .as-link {
@@ -371,28 +410,26 @@ a.btn {
color: #ccc;
font-size: 0.8rem;
}
+
.dropdown-menu > .item > label {
color: #ccc;
}
+
.dropdown-menu > .item:hover {
- background: linear-gradient(180deg, #0090FF 0%, #0062BE 100%) #E4992C;
- background: -webkit-linear-gradient(top, #0090FF 0%, #0062BE 100%);
+ background: linear-gradient(180deg, #0090ff 0%, #0062be 100%) #e4992c;
+ background: -webkit-linear-gradient(top, #0090ff 0%, #0062be 100%);
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;
@@ -405,35 +442,40 @@ a.btn {
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;
- color: #aaa;
text-shadow: 0 0 1px #eee;
- font-size: 0.9em;
}
+
.alert-head {
font-size: 1.15em;
}
+
.alert > a {
color: inherit;
text-decoration: underline;
}
+
.alert-warn {
background: #ffe;
- border: 1px solid #eeb;
color: #c95;
+ border: 1px solid #eeb;
}
+
.alert-success {
background: #dfd;
- border: 1px solid #cec;
color: #484;
+ border: 1px solid #cec;
}
+
.alert-error {
background: #fdd;
- border: 1px solid #ecc;
color: #844;
+ border: 1px solid #ecc;
}
/*=== Pagination */
@@ -443,14 +485,17 @@ a.btn {
color: #333;
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;
@@ -458,12 +503,15 @@ a.btn {
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 #ddd;
}
@@ -471,28 +519,30 @@ a.btn {
.pagination .loading,
.pagination a:hover.loading {
background: url("loader.gif") center center no-repeat #fff;
- font-size: 0;
- height:55px
+ height: 55px;
+ font-size: 0
}
/*=== Boxes */
.box {
- background: #F9F7F4;
+ background: #f9f7f4;
border-radius: 4px;
box-shadow: 0 1px #fff;
}
+
.box .box-title {
margin: 0;
padding: 5px 10px;
- background: linear-gradient(0deg, #EDE7DE 0%, #fff 100%) #171717;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #fff 100%);
- box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
color: #888;
- text-shadow: 0 1px #ccc;
- border-radius: 4px 4px 0 0;
font-size: 1.1rem;
+ border-radius: 4px 4px 0 0;
+ box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
+ text-shadow: 0 1px #ccc;
font-weight: normal;
}
+
.box .box-content {
max-height: 260px;
}
@@ -507,6 +557,7 @@ a.btn {
.box .box-content .item .configure {
visibility: hidden;
}
+
.box .box-title:hover .configure,
.box .box-content .item:hover .configure {
visibility: visible;
@@ -516,54 +567,64 @@ a.btn {
.tree {
margin: 10px 0;
}
+
.tree-folder-title {
position: relative;
padding: 0 10px;
line-height: 2.5rem;
font-size: 0.9rem;
}
+
.tree-folder-title .title {
background: inherit;
color: #fff;
}
+
.tree-folder-title .title:hover {
text-decoration: none;
}
+
.tree-folder.active .tree-folder-title {
background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
+ color: #fff;
box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
text-shadow: 0 0 2px rgba(255,255,255,0.28);
- color: #fff;
}
-.tree-folder.active > .tree-folder-title > a.title{
- color: #0090FF;
+
+.tree-folder.active > .tree-folder-title > a.title {
+ color: #0090ff;
text-shadow: 0 1px rgba(255,255,255,0.08);
}
+
.tree-folder-items {
- background: #171717;
- padding: 8px 0;
+ padding: 8px 0;
+ background: #171717;
box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
}
+
.tree-folder-items > .item {
padding: 0 10px;
line-height: 2.5rem;
font-size: 0.8rem;
}
+
.tree-folder-items > .item.active {
+ margin: 0px 8px;
background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
border-radius: 4px;
- margin: 0px 8px;
box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
}
+
.tree-folder-items > .item > a {
text-decoration: none;
color: #fff;
font-size: 0.92em;
}
+
.tree-folder-items > .item.active > a {
- color: #0090FF
+ color: #0090ff
}
/*=== Scrollbar */
@@ -572,14 +633,17 @@ a.btn {
#sidebar {
scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
}
+
#sidebar:hover {
scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
}
}
+
@supports not (scrollbar-width: thin) {
#sidebar::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
}
+
#sidebar:hover::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
}
@@ -589,54 +653,64 @@ a.btn {
/*===============*/
/*=== Header */
.header {
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
- border-bottom: solid 1px #BDB7AE;
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
+ border-bottom: solid 1px #bdb7ae;
box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
}
+
.header > .item {
padding: 0;
vertical-align: middle;
text-align: center;
}
+
.header > .item.title .logo {
- height: 40px;
width: 40px;
+ height: 40px;
}
-.header > .item.title{
+
+.header > .item.title {
width: 250px;
}
+
.header > .item.title h1 {
margin: 10px 0;
}
+
.header > .item.title h1 a {
- text-decoration: none;
+ color: #222;
font-size: 28px;
- color:#222;
+ text-decoration: none;
text-shadow: 0 1px #fff;
}
+
.header > .item.search input {
width: 230px;
}
+
.header .item.search input:focus {
width: 350px;
}
/*=== Body */
#global {
- background:#F9F7F4;
+ background: #f9f7f4;
/* Header : 60px + 1px border bottom */
height: calc(100% - 61px);
}
+
.aside {
- box-shadow: 0 2px 2px #171717 inset;
background: #222;
width: 235px;
+ box-shadow: 0 2px 2px #171717 inset;
}
+
.aside.aside_feed {
padding: 10px 0;
text-align: center;
}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
@@ -649,6 +723,7 @@ a.btn {
color: #fff;
text-shadow: 0 1px rgba(255,255,255,0.08);
}
+
.aside_feed .btn-important {
border: none;
}
@@ -658,13 +733,16 @@ a.btn {
.feed.item.empty > a {
color: #e67e22;
}
+
.feed.item.error,
.feed.item.error > a {
- color: #BD362F;
+ color: #bd362f;
}
+
.aside_feed .tree-folder-items .dropdown-menu::after {
left: 2px;
}
+
.aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
@@ -676,9 +754,11 @@ a.btn {
padding: 10px 50px;
font-size: 0.9em;
}
+
.post form {
margin: 10px 0;
}
+
.post.content {
max-width: 550px;
}
@@ -689,44 +769,53 @@ a.btn {
padding: 14px 0px;
text-shadow: 0 1px rgba(255,255,255,0.08);
}
+
.prompt label {
text-align: left;
}
+
.prompt form {
margin: 10px auto 20px auto;
width: 180px;
}
+
.prompt input {
margin: 5px auto;
width: 100%;
}
+
.prompt p {
margin: 20px 0;
}
-.prompt input#username,.prompt input#passwordPlain{
- border:solid 1px #ccc;
+
+.prompt input#username,.prompt input#passwordPlain {
+ background: #fff;
+ border: solid 1px #ccc;
box-shadow: 0 4px -4px #ccc inset,0px 1px rgba(255, 255, 255, 0.08);
- background:#fff;
}
-.prompt input#username:focus,.prompt input#passwordPlain:focus{
- border: solid 1px #0062BE;
- box-shadow: 0 0 3px #0062BE;
+
+.prompt input#username:focus,.prompt input#passwordPlain:focus {
+ border: solid 1px #0062be;
+ box-shadow: 0 0 3px #0062be;
}
/*=== New article notification */
#new-article {
- background: #0084CC;
+ background: #0084cc;
text-align: center;
font-size: 0.9em;
}
+
#new-article:hover {
- background: #0066CC;
+ background: #06c;
}
+
#new-article > a {
line-height: 3em;
color: #fff;
font-weight: bold;
}
+
#new-article > a:hover {
text-decoration: none;
}
@@ -734,110 +823,131 @@ a.btn {
/*=== Day indication */
.day {
padding: 0 10px;
- font-style:italic;
- line-height: 3em;
- box-shadow: 0 -1px #ccc, 0 -1px rgba(255,255,255,0.28) inset;
- background: #F9F7F4;
+ background: #f9f7f4;
color: #666;
+ box-shadow: 0 -1px #ccc, 0 -1px rgba(255,255,255,0.28) inset;
+ font-style: italic;
+ line-height: 3em;
text-shadow: 0 1px rgba(255,255,255,0.28);
text-align: center;
}
+
#new-article + .day {
border-top: none;
}
+
.day .name {
display: none;
}
/*=== Index menu */
.nav_menu {
- background: linear-gradient(0deg, #EDE7DE 0%, #C2BCB3 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #C2BCB3 100%);
+ padding: 5px 0;
+ background: linear-gradient(0deg, #ede7de 0%, #c2bcb3 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #c2bcb3 100%);
border-bottom: 1px solid #ccc;
- box-shadow:0 -1px rgba(255, 255, 255, 0.28) inset;
+ box-shadow: 0 -1px rgba(255, 255, 255, 0.28) inset;
text-align: center;
- padding: 5px 0;
}
-#panel >.nav_menu{
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
+
+#panel >.nav_menu {
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
}
-#panel > .nav_menu > #nav_menu_read_all{
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
+
+#panel > .nav_menu > #nav_menu_read_all {
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
+ border: 1px solid #ccc;
border-radius: 4px;
- border: 1px solid #CCC;
- box-shadow: 0px 1px #FFF;
+ box-shadow: 0px 1px #fff;
}
+
#panel > .nav_menu > #nav_menu_read_all .dropdown > .btn.dropdown-toggle {
- border-radius: 0 4px 4px 0;
- border:none;
+ border: none;
border-left: solid 1px #ccc;
+ border-radius: 0 4px 4px 0;
}
/*=== Feed articles */
.flux_content {
- background: #FFF;
+ background: #fff;
}
+
.flux {
- background: #F9F7F4;
+ background: #f9f7f4;
}
+
.flux:hover {
- background: #F9F7F4;
+ background: #f9f7f4;
}
+
.flux:not(.current):hover .item.title {
- background: #F9F7F4;
+ background: #f9f7f4;
}
+
.flux.current .flux .item.title a {
- text-shadow:0 0 2px #ccc;
+ text-shadow: 0 0 2px #ccc;
}
+
.flux.not_read:not(.current):hover .item.title {
- opacity:0.85;
+ opacity: 0.85;
}
+
.flux.favorite {
- background: #FFF6DA;
+ background: #fff6da;
}
-.flux.favorite:not(.current):hover{
- background: #F9F7F4;
+
+.flux.favorite:not(.current):hover {
+ background: #f9f7f4;
}
+
.flux.favorite:not(.current):hover .item.title {
- background: #F9F7F4;
+ background: #f9f7f4;
}
+
.flux.current {
- background: linear-gradient(0deg, #DAD4CB 0%, #FFF 100%) #DAD4CB;
- background: -webkit-linear-gradient(bottom, #DAD4CB 0%, #FFF 100%);
+ background: linear-gradient(0deg, #dad4cb 0%, #fff 100%) #dad4cb;
+ background: -webkit-linear-gradient(bottom, #dad4cb 0%, #fff 100%);
+ border-left: solid 4px #0062bf;
box-shadow: 0 -1px #fff inset, 0 2px #ccc;
- border-left: solid 4px #0062BF;
}
.flux .item.title {
-opacity: 0.35;
+ opacity: 0.35;
}
+
.flux.favorite .item.title {
-opacity: 1;
+ opacity: 1;
}
+
.flux.not_read .item.title {
-opacity: 1;
+ opacity: 1;
}
+
.flux.current .item.title a {
color: #0f0f0f;
}
+
.flux .item.title a {
color: #333;
}
.flux_header {
- border-top: 1px solid #ddd;
font-size: 0.8rem;
- cursor: pointer;
+ border-top: 1px solid #ddd;
box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
+ cursor: pointer;
}
+
.flux_header .title {
font-size: 0.9rem;
}
+
.flux .website .favicon {
padding: 5px;
}
+
.flux .date {
color: #666;
font-size: 0.7rem;
@@ -852,14 +962,15 @@ opacity: 1;
.content {
padding: 20px 10px;
}
+
.content > h1.title > a {
color: #000;
}
.content hr {
margin: 30px 10px;
- height: 1px;
background: #ddd;
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px #ccc;
}
@@ -873,13 +984,15 @@ opacity: 1;
font-size: 0.9rem;
border-radius: 3px;
}
+
.content code {
padding: 2px 5px;
- color: #dd1144;
background: #fafafa;
+ color: #d14;
border: 1px solid #eee;
border-radius: 3px;
}
+
.content pre code {
background: transparent;
color: #fff;
@@ -887,14 +1000,15 @@ opacity: 1;
}
.content blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
- border-top: 1px solid #ddd;
- border-bottom: 1px solid #ddd;
background: #fafafa;
+ display: block;
color: #333;
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
}
+
.content blockquote p {
margin: 0;
}
@@ -902,49 +1016,55 @@ opacity: 1;
/*=== Notification and actualize notification */
.notification {
padding: 0 0 0 5px;
- text-align: center;
- background:#222;
+ background: #222;
+ color: #fff;
+ font-size: 0.9em;
border: none;
border-radius: 0 0 6px 6px;
box-shadow: 0px 0px 4px rgba(0,0,0,0.45), 0 -1px rgba(255,255,255,0.08) inset, 0 2px 2px #171717 inset;
- color:#fff;
+ text-align: center;
font-weight: bold;
- font-size: 0.9em;
line-height: 3em;
- position:absolute;
- top:0;
+ position: absolute;
+ top: 0;
z-index: 10;
vertical-align: middle;
}
+
.notification.good {
color: #fff;
}
+
.notification.bad {
- background: #222222;
- color: #EB2901;
+ background: #222;
+ color: #eb2901;
}
+
.notification a.close {
padding: 0 15px;
line-height: 3em;
}
+
.notification#actualizeProgress {
line-height: 2em;
}
/*=== "Load more" part */
#bigMarkAsRead {
+ background: #f9f7f4;
+ color: #666;
+ box-shadow: 0 1px rgba(255,255,255,0.28)inset;
text-align: center;
text-decoration: none;
text-shadow: 0 -1px 0 #aaa;
- color: #666;
- background: #F9F7F4;
- box-shadow: 0 1px rgba(255,255,255,0.28)inset;
}
+
#bigMarkAsRead:hover {
+ background: #f9f7f4;
+ background: radial-gradient(circle at 50% -25% , #ccc 0%, #f9f7f4 50%);
color: #000;
- background: #F9F7F4;
- background: radial-gradient(circle at 50% -25% , #ccc 0%, #F9F7F4 50%);
}
+
#bigMarkAsRead:hover .bigTick {
text-shadow: 0 0 10px #666;
}
@@ -953,26 +1073,27 @@ opacity: 1;
#nav_entries {
background: linear-gradient(180deg, #222 0%, #171717 100%) #222;
background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
+ width: 235px;
border-top: 1px solid #171717;
+ box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
text-align: center;
line-height: 3em;
table-layout: fixed;
- box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
- width:235px;
}
/*=== READER VIEW */
/*================*/
#stream.reader .flux {
padding: 0 0 50px;
- border: none;
background: #f0f0f0;
color: #333;
+ border: none;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
color: #666;
+ font-size: 90%;
}
/*=== GLOBAL VIEW */
@@ -982,39 +1103,39 @@ opacity: 1;
}
.box.category .box-title {
- background: linear-gradient(0deg, #EDE7DE 0%, #fff 100%) #171717;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #fff 100%);
- box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
+ font-size: 1.2rem;
border-radius: none;
+ box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
line-height: 2em;
- font-size: 1.2rem;
- text-shadow:0 1px #ccc;
+ text-shadow: 0 1px #ccc;
}
+
.box.category .box-title .title {
font-weight: normal;
text-decoration: none;
text-align: left;
color: #888;
}
-.box.category:not([data-unread="0"]) .box-title {
-}
-.box.category:not([data-unread="0"]) .box-title:active {
-}
+
.box.category:not([data-unread="0"]) .box-title .title {
color: #222;
font-weight: bold;
}
+
.box.category .title:not([data-unread="0"])::after {
+ background: none;
+ border: 0;
position: absolute;
top: 5px; right: 10px;
- border: 0;
- background: none;
font-weight: bold;
}
+
.box.category .item.feed {
padding: 2px 10px;
font-size: 0.8rem;
}
+
.box.category .item.feed:not(.empty):not(.error) .item-title {
color: #222;
}
@@ -1022,18 +1143,20 @@ opacity: 1;
/*=== PANEL */
/*===========*/
#panel {
- box-shadow: 0px 0px 4px #000;
+ background: #f9f7f4;
border-radius: 8px;
- background:#F9F7F4;
+ box-shadow: 0px 0px 4px #000;
}
/*=== DIVERS */
/*===========*/
.aside.aside_feed .nav-form input,.aside.aside_feed .nav-form select {
width: 130px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu {
right: -20px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
right: 33px;
}
@@ -1049,21 +1172,24 @@ opacity: 1;
.stat tr {
border: none;
}
+
.stat > table td,
.stat > table th {
- border-bottom: 1px solid #ccc;
background: rgba(255,255,255,0.38);
+ border-bottom: 1px solid #ccc;
box-shadow: 0 1px #fff;
}
.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: 250px;
}
@@ -1075,50 +1201,60 @@ opacity: 1;
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;
}
#slider.active {
- box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
- background: #F8F8F8;
+ background: #f8f8f8;
+ box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
}
+
#close-slider.active {
- background: rgba(15, 15, 15, 0.35);
+ background: rgba(15, 15, 15, 0.35);
}
/*=== MOBILE */
/*===========*/
+
@media screen and (max-width: 840px) {
.header {
display: table;
}
+
.nav-login {
display: none;
}
@@ -1128,27 +1264,26 @@ opacity: 1;
border-top: none;
box-shadow: 3px 0 3px #000;
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
+
.aside:target {
width: 235px;
}
+
.aside .toggle_aside,
#panel .close {
+ background: #171717;
display: block;
width: 100%;
height: 40px;
line-height: 40px;
text-align: center;
- background: #171717;
box-shadow: 0 1px rgba(255,255,255,0.08);
}
+
.aside .btn-important {
- display: inline-block;
margin: 20px 0 0;
+ display: inline-block;
}
.aside.aside_feed {
@@ -1158,20 +1293,24 @@ opacity: 1;
.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%;
+ display: none;
}
+
.nav_menu .search input {
max-width: 97%;
width: 90px;
}
+
.nav_menu .search input:focus {
width: 400px;
}
@@ -1185,19 +1324,18 @@ opacity: 1;
}
.notification a.close {
+ background: transparent;
display: block;
left: 0;
- background: transparent;
}
+
.notification a.close:hover {
opacity: 0.5;
}
+
.notification a.close .icon {
display: none;
}
- .nav_menu .search {
- display: none;
- }
#nav_entries {
width: 100%;
@@ -1205,16 +1343,19 @@ opacity: 1;
}
@media (max-width: 700px) {
- .header{
+ .header {
display: none;
}
+
.nav-login {
display: inline-block;
width: 100%;
}
+
.nav_menu .search {
display: inline-block;
}
+
.aside .btn-important {
display: none;
}
diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css
index c82c36644..8322179f4 100644
--- a/p/themes/Dark/dark.css
+++ b/p/themes/Dark/dark.css
@@ -3,15 +3,15 @@
/*=== GENERAL */
/*============*/
html, body {
- height: 100%;
- font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
background: #1c1c1c;
+ height: 100%;
color: #888;
+ font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
}
/*=== Links */
a, button.as-link {
- color: #6986B2;
+ color: #6986b2;
outline: none;
}
@@ -28,47 +28,51 @@ legend {
font-size: 1.4em;
border-bottom: 1px solid #2f2f2f;
}
+
label {
min-height: 25px;
padding: 5px 0;
cursor: pointer;
}
+
textarea {
width: 360px;
height: 100px;
}
+
input, select, textarea {
- min-height: 25px;
padding: 5px;
- line-height: 25px;
- vertical-align: middle;
background: #333;
+ color: #999;
border: 1px solid #000;
border-radius: 3px;
- color: #999;
box-shadow: 0 2px 2px #1d1d1d inset;
+ min-height: 25px;
+ line-height: 25px;
+ vertical-align: middle;
}
+
option {
padding: 0 .5em;
}
+
input:focus, select:focus, textarea:focus {
color: #6986b2;
border-color: #2f2f2f;
}
+
input:invalid, select:invalid {
border-color: #f00;
box-shadow: 0 0 2px 1px #f00;
}
+
input:disabled, select:disabled {
background: #666;
color: #aaa;
}
+
input.extend {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
/*=== Tables */
@@ -80,9 +84,11 @@ tr, th, td {
padding: 0.5em;
border: 1px solid #333;
}
+
th {
background: #222;
}
+
form td,
form th {
font-weight: normal;
@@ -97,44 +103,54 @@ form th {
background: #1a1a1a;
border-top: 1px solid #2f2f2f;
}
+
.form-group.form-actions .btn {
margin: 0 10px;
}
+
.form-group .group-name {
padding: 10px 0;
text-align: right;
}
+
.form-group .group-controls {
min-height: 25px;
padding: 5px 0;
}
+
.form-group table {
margin: 10px 0 0 220px;
}
/*=== Buttons */
button.as-link[disabled] {
- color:#445 !important;
+ color: #445 !important;
}
+
.stick {
vertical-align: middle;
font-size: 0;
}
+
.stick input,
.stick .btn {
border-radius: 0;
}
+
.stick .btn:first-child,
.stick input:first-child {
border-radius: 3px 0 0 3px;
}
+
.stick .btn-important:first-child {
border-right: 1px solid #000;
}
+
.stick .btn:last-child,
.stick input:last-child {
border-radius: 0 3px 3px 0;
}
+
.stick .btn + .btn,
.stick .btn + input,
.stick .btn + .dropdown > .btn,
@@ -146,80 +162,79 @@ button.as-link[disabled] {
.stick .dropdown + .dropdown > .btn {
border-left: none;
}
+
.stick input:focus+input {
border-left: 1px solid #000;
}
+
.stick input+input:focus {
border-left: 1px solid #333;
}
+
.stick .btn + .dropdown > .btn {
border-left: none;
border-radius: 0 3px 3px 0;
}
.btn {
+ margin: 0;
+ padding: 5px 10px;
+ background: #111;
display: inline-block;
+ color: #888;
+ font-size: 0.9rem;
+ border: 1px solid #000;
+ border-radius: 3px;
min-height: 37px;
min-width: 15px;
line-height: 25px;
- margin: 0;
- padding: 5px 10px;
- font-size: 0.9rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
- background: #111;
- border-radius: 3px;
- border: 1px solid #000;
- color: #888;
}
+
a.btn {
min-height: 25px;
line-height: 25px;
}
+
.btn:hover {
text-decoration: none;
- background: -moz-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
- background: -moz-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
- background: -webkit-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
- background: -o-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
- background: -ms-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+ background: linear-gradient(to top, #4a5d7a 0%, #26303f 100%);
}
+
.btn.active,
.dropdown-target:target ~ .btn.dropdown-toggle {
background: #333;
}
+
.btn:active {
- background: #26303F;
+ background: #26303f;
}
.btn-important {
font-weight: normal;
- background: #26303F;
+ background: #26303f;
}
+
.btn-important:hover {
- background: linear-gradient(top, #4A5D7A 0%, #26303F 100%);
- background: -moz-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
- background: -webkit-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
- background: -o-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
- background: -ms-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
+ background: linear-gradient(to top, #4a5d7a 0%, #26303f 100%);
}
+
.btn-important:active {
- background: #26303F;
+ background: #26303f;
}
.btn-attention {
- background: #880011;
+ background: #801;
}
+
.btn-attention:hover {
- background: linear-gradient(top, #cc0044 0%, #880011 100%);
- background: -moz-linear-gradient(top, #cc0044 0%, #880011 100%);
- background: -webkit-linear-gradient(top, #cc0044 0%, #880011 100%);
- background: -o-linear-gradient(top, #cc0044 0%, #880011 100%);
- background: -ms-linear-gradient(top, #cc0044 0%, #880011 100%);
+ background: linear-gradient(to top, #c04 0%, #801 100%);
}
+
.btn-attention:active {
- background: #880011;
+ background: #801;
}
/*=== Navigation */
@@ -229,42 +244,52 @@ a.btn {
line-height: 2.5em;
font-size: 0.9rem;
}
+
.nav-list .item:hover {
- background: #26303F;
+ background: #26303f;
}
+
.nav-list .item.active {
background: #333;
}
+
.nav-list .item:hover a,
.nav-list .item.active a {
color: #888;
}
+
.nav-list .disable {
- text-align: center;
- color: #aaa;
background: #fafafa;
+ color: #aaa;
+ text-align: center;
}
+
.nav-list .item > a {
padding: 0 10px;
}
+
.nav-list a:hover {
text-decoration: none;
}
+
.nav-list .item.empty a {
color: #c95;
}
+
.nav-list .item:hover.empty a,
.nav-list .item.active.empty a {
- color: #fff;
background: #c95;
+ color: #fff;
}
+
.nav-list .item.error a {
color: #a44;
}
+
.nav-list .item:hover.error a,
.nav-list .item.active.error a {
- color: #fff;
background: #a44;
+ color: #fff;
}
.nav-list .nav-header {
@@ -285,6 +310,7 @@ a.btn {
background: #1c1c1c;
border-bottom: 1px solid #333;
}
+
.nav-head .item {
padding: 5px 10px;
font-size: 0.9rem;
@@ -296,6 +322,7 @@ a.btn {
margin: 0;
padding: 0;
}
+
.horizontal-list .item {
vertical-align: middle;
}
@@ -304,34 +331,34 @@ a.btn {
.dropdown-menu {
margin: 5px 0 0;
padding: 5px 0;
- font-size: 0.8rem;
- text-align: left;
background: #1a1a1a;
+ font-size: 0.8rem;
border: 1px solid #888;
border-radius: 5px;
+ text-align: left;
}
+
.dropdown-menu::after {
+ background: #1a1a1a;
+ width: 10px;
+ height: 10px;
+ border-top: 1px solid #888;
+ border-left: 1px solid #888;
content: "";
position: absolute;
top: -6px;
right: 13px;
- width: 10px;
- height: 10px;
z-index: -10;
transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- background: #1a1a1a;
- border-top: 1px solid #888;
- border-left: 1px solid #888;
}
+
.dropdown-header {
padding: 0 5px 5px;
font-weight: bold;
text-align: left;
color: #888;
}
+
.dropdown-menu > .item > a,
.dropdown-menu > .item > span,
.dropdown-menu > .item > .as-link {
@@ -339,18 +366,22 @@ a.btn {
line-height: 2.5em;
font-size: 0.8rem;
}
+
.dropdown-menu > .item:hover {
- background: #26303F;
+ background: #26303f;
color: #888;
}
+
.dropdown-menu > .item[aria-checked="true"] > a::before {
font-weight: bold;
margin: 0 0 0 -14px;
}
+
.dropdown-menu > .item:hover > a {
text-decoration: none;
color: #888;
}
+
.dropdown-menu .input select,
.dropdown-menu .input input {
margin: 0 auto 5px;
@@ -367,48 +398,56 @@ a.btn {
.alert {
margin: 15px auto;
padding: 10px 15px;
- font-size: 0.9em;
background: #111;
+ color: #aaa;
+ font-size: 0.9em;
border: 1px solid #888;
border-radius: 5px;
- color: #aaa;
}
+
.alert-head {
font-size: 1.15em;
}
+
.alert > a {
text-decoration: underline;
color: inherit;
}
+
.alert-warn {
- border: 1px solid #c95;
color: #c95;
+ border: 1px solid #c95;
}
+
.alert-success {
- border: 1px solid #484;
color: #484;
+ border: 1px solid #484;
}
+
.alert-error {
- border: 1px solid #a44;
color: #a44;
+ border: 1px solid #a44;
}
/*=== Pagination */
.pagination {
- text-align: center;
- font-size: 0.8em;
background: #1c1c1c;
color: #888;
+ font-size: 0.8em;
+ text-align: center;
}
+
.content .pagination {
margin: 0;
padding: 0;
}
+
.pagination .item.pager-current {
- font-weight: bold;
- font-size: 1.5em;
background: #111;
+ font-size: 1.5em;
+ font-weight: bold;
}
+
.pagination .item a {
display: block;
font-style: italic;
@@ -416,14 +455,17 @@ a.btn {
text-decoration: none;
color: #666;
}
+
.pagination .item a:hover {
background-color: #111;
}
+
.pagination:first-child .item {
border-bottom: 1px solid #333;
}
+
.pagination:last-child .item {
- border-top: 1px solid #333;
+ border-top: 1px solid #333;
}
.pagination .loading,
@@ -436,13 +478,15 @@ a.btn {
border: 1px solid #000;
border-radius: 5px;
}
+
.box .box-title {
margin: 0;
padding: 5px 10px;
- background: #26303F;
+ background: #26303f;
border-bottom: 1px solid #000;
border-radius: 5px 5px 0 0;
}
+
.box .box-content {
max-height: 260px;
}
@@ -457,6 +501,7 @@ a.btn {
.box .box-content .item .configure {
visibility: hidden;
}
+
.box .box-title:hover .configure,
.box .box-content .item:hover .configure {
visibility: visible;
@@ -466,57 +511,70 @@ a.btn {
.tree {
margin: 10px 0;
}
+
.tree-folder-title {
- position: relative;
padding: 0 10px;
- line-height: 2.5rem;
- font-size: 1rem;
background: #1c1c1c;
+ font-size: 1rem;
+ position: relative;
+ line-height: 2.5rem;
}
+
.tree-folder-title .title {
background: inherit;
color: #888;
}
+
.tree-folder-title .title:hover {
text-decoration: none;
}
+
.tree-folder.active .tree-folder-title {
background: #2c2c2c;
font-weight: bold;
}
+
.tree-folder-items {
+ background: #161616;
border-top: 1px solid #222;
border-bottom: 1px solid #222;
- background: #161616;
}
+
.tree-folder-items > .item {
padding: 0 10px;
line-height: 2.5rem;
font-size: 0.8rem;
}
+
.tree-folder-items > .item.active {
background: #1c1c1c;
}
+
.tree-folder-items > .item > a {
text-decoration: none;
}
+
.tree-folder-items > .item.active > a {
color: #888;
}
/*=== Scrollbar */
+
@supports (scrollbar-width: thin) {
#sidebar {
scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
}
+
#sidebar:hover {
scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
}
}
+
@supports not (scrollbar-width: thin) {
#sidebar::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
}
+
#sidebar:hover::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
}
@@ -528,24 +586,30 @@ a.btn {
.header {
height: 85px;
}
+
.header > .item {
padding: 10px;
vertical-align: middle;
text-align: center;
border-bottom: 1px solid #333;
}
-.header > .item.title{
+
+.header > .item.title {
width: 230px;
}
+
.header > .item.title h1 {
margin: 0.5em 0;
}
+
.header > .item.title h1 a {
text-decoration: none;
}
+
.header > .item.search input {
width: 230px;
}
+
.header .item.search input:focus {
width: 350px;
}
@@ -554,55 +618,65 @@ a.btn {
#global {
height: calc(100% - 85px);
}
+
.aside {
- border-right: 1px solid #333;
background: #1c1c1c;
+ border-right: 1px solid #333;
}
+
.aside.aside_feed {
padding: 10px 0;
text-align: center;
}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
- position: absolute;
- right: 0;
margin: 10px 0;
padding: 0 10px;
+ background: inherit;
font-size: 0.9rem;
+ position: absolute;
+ right: 0;
line-height: 1.5rem;
- background: inherit;
}
/*=== Aside main page (feeds) */
.feed.item.empty.active {
background: #c95;
}
+
.feed.item.error.active {
background: #a44;
}
+
.feed.item.empty,
.feed.item.empty > a {
color: #c95;
}
+
.feed.item.error,
.feed.item.error > a {
color: #a44;
}
+
.feed.item.empty.active,
.feed.item.empty.active > a {
color: #111;
}
+
.feed.item.error.active,
.feed.item.error.active > a {
color: #fff;
}
+
.aside_feed .tree-folder-items .dropdown-menu::after {
left: 2px;
}
+
.aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
@@ -615,9 +689,11 @@ a.btn {
padding: 10px 50px;
font-size: 0.9em;
}
+
.post form {
margin: 10px 0;
}
+
.post.content {
max-width: 550px;
}
@@ -626,35 +702,42 @@ a.btn {
.prompt {
text-align: center;
}
+
.prompt label {
text-align: left;
}
+
.prompt form {
margin: 10px auto 20px auto;
width: 200px;
}
+
.prompt input {
margin: 5px auto;
width: 100%;
}
+
.prompt p {
margin: 20px 0;
}
/*=== New article notification */
#new-article {
- text-align: center;
+ background: #26303f;
font-size: 0.9em;
- background: #26303F;
+ text-align: center;
}
+
#new-article:hover {
- background: #4A5D7A;
+ background: #4a5d7a;
}
+
#new-article > a {
line-height: 3em;
font-weight: bold;
color: #fff;
}
+
#new-article > a:hover {
text-decoration: none;
}
@@ -667,13 +750,14 @@ a.btn {
border-top: 1px solid #333;
border-bottom: 1px solid #333;
}
+
.day .name {
padding: 0 10px 0 0;
+ color: #aab;
font-size: 1.8em;
opacity: 0.3;
font-style: italic;
text-align: right;
- color: #aab;
text-shadow: 0px -1px 0px #333;
}
@@ -688,18 +772,22 @@ a.btn {
.flux {
border-left: 2px solid #2f2f2f;
}
+
.flux:hover {
background: #111;
}
+
.flux.current {
- border-left: 2px solid #0062BE;
background: #111;
+ border-left: 2px solid #0062be;
}
+
.flux.not_read {
- border-left: 2px solid #FF5300;
+ border-left: 2px solid #ff5300;
}
+
.flux.favorite {
- border-left: 2px solid #FFC300;
+ border-left: 2px solid #ffc300;
}
@@ -707,19 +795,24 @@ a.btn {
font-size: 0.8rem;
cursor: pointer;
}
+
.flux_header .title {
font-size: 0.9rem;
}
+
.flux_header .item.title a {
color: #888;
}
+
.flux .website .favicon {
margin: 5px;
}
+
.flux .date {
- font-size: 0.7rem;
color: #666;
+ font-size: 0.7rem;
}
+
.flux:not(.current):hover .item.title {
background: #111;
}
@@ -733,14 +826,15 @@ a.btn {
.content {
padding: 20px 10px;
}
+
.content > h1.title > a {
color: #888;
}
.content hr {
margin: 30px 10px;
- height: 1px;
background: #666;
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px #666;
}
@@ -748,20 +842,22 @@ a.btn {
.content pre {
margin: 10px auto;
padding: 10px 20px;
- overflow: auto;
background: #222;
color: #fff;
- border: 1px solid #000;
font-size: 0.9rem;
+ border: 1px solid #000;
border-radius: 3px;
+ overflow: auto;
}
+
.content code {
padding: 2px 5px;
- color: #dd1144;
background: #000;
+ color: #d14;
border: 1px solid #333;
border-radius: 3px;
}
+
.content pre code {
background: transparent;
color: #fff;
@@ -769,14 +865,15 @@ a.btn {
}
.content blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
- border-top: 1px solid #444;
- border-bottom: 1px solid #444;
background: #222;
+ display: block;
color: #999;
+ border-top: 1px solid #444;
+ border-bottom: 1px solid #444;
}
+
.content blockquote p {
margin: 0;
}
@@ -784,37 +881,43 @@ a.btn {
/*=== Notification and actualize notification */
.notification {
padding: 0 0 0 5px;
+ background: #111;
+ color: #c95;
+ font-size: 0.9em;
+ border: 1px solid #c95;
+ border-radius: 5px;
+ box-shadow: 0 0 5px #666;
text-align: center;
font-weight: bold;
- font-size: 0.9em;
line-height: 3em;
z-index: 10;
vertical-align: middle;
- border-radius: 5px;
- box-shadow: 0 0 5px #666;
- background: #111;
- color: #c95;
- border: 1px solid #c95;
}
+
.notification.good {
border-color: #484;
color: #484;
}
+
.notification.bad {
border-color: #a44;
color: #a44;
}
+
.notification a.close {
padding: 0 15px;
line-height: 3em;
}
+
.notification a.close:hover {
background: #222;
border-radius: 0 3px 3px 0;
}
+
.notification.good a.close:hover {
background: #484;
}
+
.notification.bad a.close:hover {
background: #a44;
}
@@ -828,6 +931,7 @@ a.btn {
text-align: center;
text-decoration: none;
}
+
#bigMarkAsRead:hover {
background: #111;
color: #aaa;
@@ -847,13 +951,14 @@ a.btn {
/*================*/
#stream.reader .flux {
padding: 0 0 50px;
- border: none;
background: #111;
+ border: none;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
color: #666;
+ font-size: 90%;
}
/*=== GLOBAL VIEW */
@@ -864,25 +969,30 @@ a.btn {
text-align: left;
color: #888;
}
+
.box.category:not([data-unread="0"]) .box-title {
- background: #34495E;
+ background: #34495e;
}
+
.box.category:not([data-unread="0"]) .box-title:active {
- background: #26303F;
+ background: #26303f;
}
+
.box.category:not([data-unread="0"]) .box-title .title {
color: #fff;
font-weight: bold;
}
+
.box.category .title:not([data-unread="0"])::after {
+ background: none;
+ border: 0;
position: absolute;
top: 5px; right: 10px;
- border: 0;
- background: none;
font-weight: bold;
box-shadow: none;
text-shadow: none;
}
+
.box.category .item.feed {
padding: 2px 10px;
font-size: 0.8rem;
@@ -907,9 +1017,11 @@ a.btn {
.aside.aside_feed .nav-form select {
width: 140px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu {
right: -20px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
right: 33px;
}
@@ -925,6 +1037,7 @@ a.btn {
.stat tr {
border: none;
}
+
.stat > table td,
.stat > table th {
border-bottom: 1px solid #333;
@@ -933,11 +1046,13 @@ a.btn {
.stat > .horizontal-list {
margin: 0 0 5px;
}
+
.stat > .horizontal-list .item {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
+
.stat > .horizontal-list .item:first-child {
width: 270px;
}
@@ -948,31 +1063,38 @@ a.btn {
overflow: hidden;
border: 1px solid #333;
}
+
.log {
padding: 5px 10px;
- font-size: 0.8rem;
background: #111;
color: #888;
+ font-size: 0.8rem;
}
+
.log+.log {
border-top: 1px solid #333;
}
+
.log .date {
display: block;
font-weight: bold;
}
+
.log.error {
background: #a44;
color: #fff;
}
+
.log.warning {
background: #c95;
color: #fff;
}
+
.log.notice {
background: #ec9;
color: #000;
}
+
.log.debug {
background: #111;
color: #eee;
@@ -980,23 +1102,21 @@ a.btn {
/*=== MOBILE */
/*===========*/
-@media(max-width: 840px) {
+
+@media (max-width: 840px) {
.aside {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
+
.aside .toggle_aside,
#panel .close {
+ background: #111;
display: block;
width: 100%;
height: 50px;
+ border-bottom: 1px solid #333;
line-height: 50px;
text-align: center;
- background: #111;
- border-bottom: 1px solid #333;
}
.aside.aside_feed {
@@ -1006,20 +1126,25 @@ a.btn {
.nav_menu .btn {
margin: 5px 10px;
}
+
.nav_menu .stick {
margin: 0 10px;
}
+
.nav_menu .stick .btn {
margin: 5px 0;
}
+
.nav_menu .search {
display: inline-block;
max-width: 97%;
}
+
.nav_menu .search input {
max-width: 97%;
width: 90px;
}
+
.nav_menu .search input:focus {
width: 400px;
}
@@ -1038,13 +1163,16 @@ a.btn {
border-left: none;
border-radius: 0;
}
+
.notification a.close {
display: block;
left: 0;
}
+
.notification a.close:hover {
opacity: 0.5;
}
+
.notification a.close .icon {
display: none;
}
diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css
index 9132a013b..f7159b46f 100644
--- a/p/themes/Flat/flat.css
+++ b/p/themes/Flat/flat.css
@@ -3,9 +3,9 @@
/*=== GENERAL */
/*============*/
html, body {
+ background: #fafafa;
height: 100%;
font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
- background: #fafafa;
}
/*=== Links */
@@ -16,58 +16,62 @@ a, button.as-link {
/*=== Forms */
legend {
- display: inline-block;
- width: auto;
margin: 20px 0 5px;
padding: 5px 20px;
- font-size: 1.4em;
- clear: both;
background: #ecf0f1;
+ display: inline-block;
+ width: auto;
+ font-size: 1.4em;
border-radius: 20px;
+ clear: both;
}
+
label {
min-height: 25px;
padding: 5px 0;
cursor: pointer;
color: #444;
}
+
textarea {
width: 360px;
height: 100px;
}
+
input, select, textarea {
- min-height: 25px;
padding: 5px;
- line-height: 25px;
- vertical-align: middle;
background: #fff;
+ color: #666;
border: none;
border-bottom: 3px solid #ddd;
border-left-color: #ddd;
- color: #666;
border-radius: 5px;
+ min-height: 25px;
+ line-height: 25px;
+ vertical-align: middle;
}
+
option {
padding: 0 .5em;
}
+
input:focus, select:focus, textarea:focus {
color: #333;
border-color: #2980b9;
}
+
input:invalid, select:invalid {
color: #f00;
border-color: #f00;
box-shadow: none;
}
+
input:disabled, select:disabled {
background: #eee;
}
+
input.extend {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
/*=== Tables */
@@ -79,9 +83,11 @@ tr, th, td {
padding: 0.5em;
border: 1px solid #ddd;
}
+
th {
background: #f6f6f6;
}
+
form td,
form th {
font-weight: normal;
@@ -96,17 +102,19 @@ form th {
border: 1px solid transparent;
border-radius: 3px;
}
+
.form-group::after {
content: "";
display: block;
clear: both;
}
+
.form-group:hover {
background: #fff;
border: 1px solid #eee;
border-radius: 3px;
- border: 1px solid #eee;
}
+
.form-group.form-actions {
margin: 15px 0 25px;
padding: 5px 0;
@@ -114,20 +122,25 @@ form th {
border-top: 3px solid #bdc3c7;
border-radius: 5px 5px 0 0;
}
+
.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 .group-controls .control {
line-height: 2.0em;
}
+
.form-group table {
margin: 10px 0 0 220px;
}
@@ -137,19 +150,23 @@ form th {
vertical-align: middle;
font-size: 0;
}
+
.stick input,
.stick .btn {
border-radius: 0;
}
+
.stick .btn:first-child,
.stick input:first-child {
border-radius: 5px 0 0 5px;
}
+
.stick .btn:last-child,
.stick input:last-child,
.stick .btn + .dropdown > .btn {
border-radius: 0 5px 5px 0;
}
+
.stick .btn + .btn,
.stick .btn + input,
.stick .btn + .dropdown > .btn,
@@ -164,30 +181,33 @@ form th {
}
.btn {
+ margin: 0;
+ padding: 5px 10px;
+ background: #3498db;
display: inline-block;
+ color: #fff;
+ font-size: 0.9rem;
+ border: none;
+ border-bottom: 3px solid #2980b9;
+ border-left-color: #2980b9;
+ border-radius: 5px;
min-height: 38px;
min-width: 15px;
line-height: 25px;
- margin: 0;
- padding: 5px 10px;
- font-size: 0.9rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
- background: #3498db;
- border-radius: 5px;
- border: none;
- border-bottom: 3px solid #2980b9;
- border-left-color: #2980b9;
- color: #fff;
}
+
a.btn {
min-height: 25px;
line-height: 25px;
}
+
.btn:hover {
text-decoration: none;
}
+
.btn.active,
.btn:active,
.btn:hover,
@@ -202,6 +222,7 @@ a.btn {
border-bottom: 3px solid #d35400;
border-left-color: #d35400;
}
+
.btn-important:hover,
.btn-important:active {
background: #d35400;
@@ -213,6 +234,7 @@ a.btn {
border-bottom: 3px solid #c0392b;
border-left-color: #c0392b;
}
+
.btn-attention:hover,
.btn-attention:active {
background: #c0392b;
@@ -225,41 +247,50 @@ a.btn {
line-height: 2.5em;
font-size: 0.9rem;
}
+
.nav-list .item:hover,
.nav-list .item.active {
background: #2980b9;
color: #fff;
}
+
.nav-list .item:hover a,
.nav-list .item.active a {
color: #fff;
}
+
.nav-list .disable {
text-align: center;
background: #fafafa;
color: #aaa;
}
+
.nav-list .item > a {
padding: 0 10px;
}
+
.nav-list a:hover {
text-decoration: none;
}
+
.nav-list .item.empty a {
color: #f39c12;
}
+
.nav-list .item:hover.empty a,
.nav-list .item.active.empty a {
- color: #fff;
background: #f39c12;
+ color: #fff;
}
+
.nav-list .item.error a {
color: #bd362f;
}
+
.nav-list .item:hover.error a,
.nav-list .item.active.error a {
- color: #fff;
background: #bd362f;
+ color: #fff;
}
.nav-list .nav-header {
@@ -280,9 +311,11 @@ a.btn {
background: #34495e;
color: #fff;
}
+
.nav-head a {
color: #fff;
}
+
.nav-head .item {
padding: 5px 10px;
font-size: 0.9rem;
@@ -294,42 +327,43 @@ a.btn {
margin: 0;
padding: 0;
}
+
.horizontal-list .item {
vertical-align: middle;
}
/*=== Dropdown */
.dropdown-menu {
- background: #fafafa;
margin: 5px 0 0;
padding: 5px 0;
+ background: #fafafa;
font-size: 0.8rem;
- text-align: left;
border: 1px solid #95a5a6;
border-radius: 3px;
+ text-align: left;
}
+
.dropdown-menu::after {
+ background: #fff;
+ width: 10px;
+ height: 10px;
+ border-top: 1px solid #95a5a6;
+ border-left: 1px solid #95a5a6;
content: "";
position: absolute;
top: -6px;
right: 13px;
- width: 10px;
- height: 10px;
z-index: -10;
transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- background: #fff;
- border-top: 1px solid #95a5a6;
- border-left: 1px solid #95a5a6;
}
+
.dropdown-header {
padding: 0 5px 5px;
font-weight: bold;
text-align: left;
color: #34495e;
}
+
.dropdown-menu > .item > a,
.dropdown-menu > .item > span,
.dropdown-menu > .item > .as-link {
@@ -337,18 +371,22 @@ a.btn {
line-height: 2.5em;
font-size: 0.8rem;
}
+
.dropdown-menu > .item:hover {
background: #2980b9;
color: #fff;
}
+
.dropdown-menu > .item[aria-checked="true"] > a::before {
font-weight: bold;
margin: 0 0 0 -14px;
}
+
.dropdown-menu > .item:hover > a {
text-decoration: none;
color: #fff;
}
+
.dropdown-menu .input select,
.dropdown-menu .input input {
margin: 0 auto 5px;
@@ -365,55 +403,63 @@ a.btn {
.alert {
margin: 15px auto;
padding: 10px 15px;
- font-size: 0.9em;
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;
- color: #aaa;
text-shadow: 0 0 1px #eee;
}
+
.alert-head {
font-size: 1.15em;
}
+
.alert > a {
text-decoration: underline;
color: inherit;
}
+
.alert-warn {
background: #ffe;
- border: 1px solid #eeb;
color: #c95;
+ border: 1px solid #eeb;
}
+
.alert-success {
background: #dfd;
- border: 1px solid #cec;
color: #484;
+ border: 1px solid #cec;
}
+
.alert-error {
background: #fdd;
- border: 1px solid #ecc;
color: #844;
+ border: 1px solid #ecc;
}
/*=== Pagination */
.pagination {
- text-align: center;
- font-size: 0.8em;
background: #ecf0f1;
color: #000;
+ font-size: 0.8em;
+ text-align: center;
}
+
.content .pagination {
margin: 0;
padding: 0;
}
+
.pagination .item.pager-current {
- font-weight: bold;
- font-size: 1.5em;
background: #34495e;
color: #ecf0f1;
+ font-size: 1.5em;
+ font-weight: bold;
}
+
.pagination .item a {
display: block;
font-style: italic;
@@ -421,6 +467,7 @@ a.btn {
text-decoration: none;
color: #000;
}
+
.pagination .item a:hover {
background: #34495e;
color: #ecf0f1;
@@ -428,8 +475,8 @@ a.btn {
.pagination .loading,
.pagination a:hover.loading {
- font-size: 0;
background: url("loader.gif") center center no-repeat #34495e;
+ font-size: 0;
}
/*=== Boxes */
@@ -437,6 +484,7 @@ a.btn {
border: 1px solid #ddd;
border-radius: 5px;
}
+
.box .box-title {
margin: 0;
padding: 5px 10px;
@@ -445,6 +493,7 @@ a.btn {
border-bottom: 1px solid #ddd;
border-radius: 5px 5px 0 0;
}
+
.box .box-content {
max-height: 260px;
}
@@ -459,11 +508,13 @@ a.btn {
.box .box-content .item .configure {
visibility: hidden;
}
+
.box .box-content .item .configure .icon {
vertical-align: middle;
background-color: #95a5a6;
border-radius: 3px;
}
+
.box .box-title:hover .configure,
.box .box-content .item:hover .configure {
visibility: visible;
@@ -473,6 +524,7 @@ a.btn {
.tree {
margin: 10px 0;
}
+
.tree-folder-title {
position: relative;
padding: 0 10px;
@@ -480,46 +532,57 @@ a.btn {
line-height: 2.5rem;
font-size: 1rem;
}
+
.tree-folder-title .title {
background: inherit;
color: #fff;
}
+
.tree-folder-title .title:hover {
text-decoration: none;
}
+
.tree-folder.active .tree-folder-title {
background: #2980b9;
font-weight: bold;
}
+
.tree-folder-items {
background: #2c3e50;
}
+
.tree-folder-items > .item {
padding: 0 10px;
line-height: 2.5rem;
font-size: 0.8rem;
}
+
.tree-folder-items > .item.active {
background: #2980b9;
}
+
.tree-folder-items > .item > a {
text-decoration: none;
color: #fff;
}
/*=== Scrollbar */
+
@supports (scrollbar-width: thin) {
#sidebar {
scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
}
+
#sidebar:hover {
scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
}
}
+
@supports not (scrollbar-width: thin) {
#sidebar::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
}
+
#sidebar:hover::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
}
@@ -529,26 +592,32 @@ a.btn {
/*===============*/
/*=== Header */
.header {
- height: 85px;
background: #ecf0f1;
+ height: 85px;
}
+
.header > .item {
padding: 10px;
vertical-align: middle;
text-align: center;
}
-.header > .item.title{
+
+.header > .item.title {
width: 230px;
}
+
.header > .item.title h1 {
margin: 0.5em 0;
}
+
.header > .item.title h1 a {
text-decoration: none;
}
+
.header > .item.search input {
width: 230px;
}
+
.header .item.search input:focus {
width: 350px;
}
@@ -557,54 +626,63 @@ a.btn {
#global {
height: calc(100% - 85px);
}
+
.aside {
background: #ecf0f1;
}
+
.aside.aside_feed {
padding: 10px 0;
text-align: center;
background: #34495e;
border-radius: 0 10px 0 0;
}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
- position: absolute;
- right: 0;
margin: 10px 0;
padding: 0 10px;
+ background: inherit;
font-size: 0.9rem;
+ position: absolute;
+ right: 0;
line-height: 1.5rem;
- background: inherit;
}
/*=== Aside main page (feeds) */
.feed.item.empty.active {
background: #f39c12;
}
+
.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:hover .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
@@ -616,9 +694,11 @@ a.btn {
padding: 10px 50px;
font-size: 0.9em;
}
+
.post form {
margin: 10px 0;
}
+
.post.content {
max-width: 550px;
}
@@ -627,35 +707,42 @@ a.btn {
.prompt {
text-align: center;
}
+
.prompt label {
text-align: left;
}
+
.prompt form {
margin: 10px auto 20px auto;
width: 200px;
}
+
.prompt input {
margin: 5px auto;
width: 100%;
}
+
.prompt p {
margin: 20px 0;
}
/*=== New article notification */
#new-article {
- text-align: center;
- font-size: 0.9em;
background: #3498db;
+ font-size: 0.9em;
+ text-align: center;
}
+
#new-article:hover {
background: #2980b9;
}
+
#new-article > a {
line-height: 3em;
font-weight: bold;
color: #fff;
}
+
#new-article > a:hover {
text-decoration: none;
}
@@ -667,13 +754,14 @@ a.btn {
line-height: 3em;
border-left: 2px solid #ecf0f1;
}
+
.day .name {
padding: 0 10px 0 0;
+ color: #aab;
font-size: 1.8em;
opacity: 0.3;
font-style: italic;
text-align: right;
- color: #aab;
}
/*=== Index menu */
@@ -692,45 +780,54 @@ a.btn {
.flux {
border-left: 2px solid #ecf0f1;
}
+
.flux:hover {
background: #fff;
}
+
.flux.current {
+ background: #fff;
border-left-color: #3498db;
}
+
.flux.not_read {
- background: #FFF3ED;
- border-left-color: #FF5300;
+ border-left-color: #ff5300;
}
+
+.flux.not_read:not(.current) {
+ background: #fff3ed;
+}
+
.flux.not_read:not(.current):hover .item.title {
- background: #FFF3ED;
+ background: inherit;
}
+
.flux.favorite {
- background: #FFF6DA;
- border-left-color: #FFC300;
+ background: #fff6da;
+ border-left-color: #ffc300;
}
+
.flux.favorite:not(.current):hover .item.title {
- background: #FFF6DA;
-}
-.flux.current {
- background: #fff;
+ background: #fff6da;
}
-
.flux_header {
font-size: 0.8rem;
cursor: pointer;
border-top: 1px solid #ecf0f1;
}
+
.flux_header .title {
font-size: 0.9rem;
}
+
.flux .website .favicon {
padding: 5px;
}
+
.flux .date {
- font-size: 0.7rem;
color: #666;
+ font-size: 0.7rem;
}
.flux .bottom {
@@ -742,14 +839,15 @@ a.btn {
.content {
padding: 20px 10px;
}
+
.content > h1.title > a {
color: #000;
}
.content hr {
margin: 30px 10px;
- height: 1px;
background: #ddd;
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px #ccc;
}
@@ -763,13 +861,15 @@ a.btn {
font-size: 0.9rem;
border-radius: 3px;
}
+
.content code {
padding: 2px 5px;
- color: #dd1144;
background: #fafafa;
+ color: #d14;
border: 1px solid #eee;
border-radius: 3px;
}
+
.content pre code {
background: transparent;
color: #fff;
@@ -777,14 +877,15 @@ a.btn {
}
.content blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
- border-top: 1px solid #ddd;
- border-bottom: 1px solid #ddd;
background: #fafafa;
+ display: block;
color: #333;
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
}
+
.content blockquote p {
margin: 0;
}
@@ -792,33 +893,38 @@ a.btn {
/*=== Notification and actualize notification */
.notification {
padding: 0 0 0 5px;
+ background: #ddd;
+ color: #666;
+ font-size: 0.9em;
+ border: none;
+ border-radius: 3px;
text-align: center;
font-weight: bold;
- font-size: 0.9em;
line-height: 3em;
z-index: 10;
vertical-align: middle;
- background: #ddd;
- color: #666;
- border-radius: 3px;
- border: none;
}
+
.notification.good {
background: #1abc9c;
color: #fff;
}
+
.notification.bad {
background: #e74c3c;
color: #fff;
}
+
.notification a.close {
padding: 0 15px;
line-height: 3em;
border-radius: 0 3px 3px 0;
}
+
.notification.good a.close:hover {
background: #16a085;
}
+
.notification.bad a.close:hover {
background: #c0392b;
}
@@ -833,6 +939,7 @@ a.btn {
text-decoration: none;
background: #ecf0f1;
}
+
#bigMarkAsRead:hover {
background: #34495e;
color: #fff;
@@ -855,10 +962,11 @@ a.btn {
color: #34495e;
border: none;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
color: #999;
+ font-size: 90%;
}
/*=== GLOBAL VIEW */
@@ -868,25 +976,30 @@ a.btn {
text-decoration: none;
text-align: left;
}
+
.box.category:not([data-unread="0"]) .box-title {
background: #3498db;
}
+
.box.category:not([data-unread="0"]) .box-title:active {
background: #2980b9;
}
+
.box.category:not([data-unread="0"]) .box-title .title {
font-weight: bold;
color: #fff;
}
+
.box.category .title:not([data-unread="0"])::after {
+ background: none;
+ border: 0;
position: absolute;
top: 5px; right: 10px;
- border: 0;
- background: none;
font-weight: bold;
box-shadow: none;
text-shadow: none;
}
+
.box.category .item.feed {
padding: 2px 10px;
font-size: 0.8rem;
@@ -898,9 +1011,11 @@ a.btn {
.aside.aside_feed .nav-form select {
width: 140px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu {
right: -20px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
right: 33px;
}
@@ -916,6 +1031,7 @@ a.btn {
.stat tr {
border: none;
}
+
.stat > table td,
.stat > table th {
border-bottom: 1px solid #ddd;
@@ -924,11 +1040,13 @@ a.btn {
.stat > .horizontal-list {
margin: 0 0 5px;
}
+
.stat > .horizontal-list .item {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
+
.stat > .horizontal-list .item:first-child {
width: 270px;
}
@@ -939,13 +1057,14 @@ a.btn {
overflow: hidden;
border: 1px solid #aaa;
}
+
.log {
margin: 10px 0;
padding: 5px 2%;
- overflow: auto;
- font-size: 0.8rem;
background: #fafafa;
color: #666;
+ font-size: 0.8rem;
+ overflow: auto;
}
.log > .date {
@@ -953,16 +1072,20 @@ a.btn {
padding: 5px 10px;
border-radius: 20px;
}
+
.log.error > .date {
background: #e74c3c;
color: #fff;
}
+
.log.warning > .date {
background: #f39c12;
}
+
.log.notice > .date {
background: #ecf0f1;
}
+
.log.debug > .date {
background: #111;
color: #eee;
@@ -970,22 +1093,20 @@ a.btn {
/*=== MOBILE */
/*===========*/
-@media(max-width: 840px) {
+
+@media (max-width: 840px) {
.aside {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
+
.aside .toggle_aside,
#panel .close {
+ background: #2c3e50;
display: block;
width: 100%;
height: 50px;
line-height: 50px;
text-align: center;
- background: #2c3e50;
}
.aside.aside_feed {
@@ -995,20 +1116,25 @@ a.btn {
.nav_menu .btn {
margin: 5px 10px;
}
+
.nav_menu .stick {
margin: 0 10px;
}
+
.nav_menu .stick .btn {
margin: 5px 0;
}
+
.nav_menu .search {
display: inline-block;
max-width: 97%;
}
+
.nav_menu .search input {
max-width: 97%;
width: 90px;
}
+
.nav_menu .search input:focus {
width: 400px;
}
@@ -1024,14 +1150,17 @@ a.btn {
.notification {
border-radius: 0;
}
+
.notification a.close {
+ background: transparent;
display: block;
left: 0;
- background: transparent;
}
+
.notification a.close:hover {
opacity: 0.5;
}
+
.notification a.close .icon {
display: none;
}
diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss
index 342a428f5..79b2effa4 100644
--- a/p/themes/Mapco/_components.scss
+++ b/p/themes/Mapco/_components.scss
@@ -5,119 +5,118 @@
/*=== Horizontal-list */
.horizontal-list {
- margin: 0;
- padding: 0.1rem 0;
+ margin: 0;
+ padding: 0.1rem 0;
- .item{
- vertical-align: middle;
+ .item {
+ vertical-align: middle;
- &:first-child{
- padding-left: 0.5rem;
- }
+ &:first-child {
+ padding-left: 0.5rem;
+ }
- }
+ }
}
/*=== Dropdown */
.dropdown-menu {
- background: $grey-lighter;
- margin: 0;
- font-size: 1rem;
- text-align: left;
- padding: 0.5rem 0 1rem 0;
- border: none;
- border-radius: 3px;
-
- -webkit-box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
- -moz-box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
- box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
-
- &::after {
- content: "";
- position: absolute;
- top: -4px;
- right: 13px;
- width: 10px;
- height: 10px;
- z-index: -10;
- transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- background: white;
- // border-top: 1px solid #95a5a6;
- // border-left: 1px solid #95a5a6;
- }
-
- .dropdown-header {
- // padding: 0 5px 5px;
- margin: 1.75rem 0 0.5rem 2rem;
- font-weight: bold;
+ margin: 0;
+ padding: 0.5rem 0 1rem 0;
+ background: $grey-lighter;
+ font-size: 1rem;
+ border: none;
+ border-radius: 3px;
+ box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
text-align: left;
- color: $grey-dark;
- text-transform: uppercase;
- letter-spacing: 1px;
-
-
- }
-
- .item{
- @include transition(all, 0.075s, ease-in-out);
- a, span, .as-link{
- padding: 0 2rem;
- line-height: 2.5em;
- font-size: 1rem;
- color: $main-font-color;
- }
- &:hover{
- background: $main-first;
- color: $white;
- a, button{
- text-decoration: none;
- color: $white;
- }
+ &::after {
+ background: white;
+ width: 10px;
+ height: 10px;
+ content: "";
+ position: absolute;
+ top: -4px;
+ right: 13px;
+ z-index: -10;
+ transform: rotate(45deg);
+ // border-top: 1px solid #95a5a6;
+ // border-left: 1px solid #95a5a6;
}
- &[aria-checked="true"]{
- a::before{
+
+ .dropdown-header {
+ // padding: 0 5px 5px;
+ margin: 1.75rem 0 0.5rem 2rem;
font-weight: bold;
- margin: 0 0 0 -14px;
- }
+ text-align: left;
+ color: $grey-dark;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+
}
- }
- .input{
- select, input{
- margin: 0 auto 5px;
- padding: 2px 5px;
- border-radius: 3px;
+
+ .item {
+
+ @include transition(all, 0.075s, ease-in-out);
+
+ a, span, .as-link {
+ padding: 0 2rem;
+ color: $main-font-color;
+ font-size: 1rem;
+ line-height: 2.5em;
+ }
+
+ &:hover {
+ background: $main-first;
+ color: $white;
+
+ a, button {
+ text-decoration: none;
+ color: $white;
+ }
+ }
+
+ &[aria-checked="true"] {
+ a::before {
+ margin: 0 0 0 -14px;
+ font-weight: bold;
+ }
+ }
}
- }
- .separator {
- margin: 0.75rem 0;
- border-bottom: 1px solid $grey-light;
- // display: none;
- }
-}
-.tree .tree-folder .tree-folder-items .dropdown-menu,
-.tree .tree-folder .tree-folder-items .dropdown-menu{
- // tout รงa sert ร  restaurer l'apparence du dropdown dans un contexte de sidebar sombre
-
- .item{
- padding: 0;
-
- a,
- button{
- color: $main-font-color;
-
- &:hover{
- color: $white;
- }
+ .input {
+ select, input {
+ margin: 0 auto 5px;
+ padding: 2px 5px;
+ border-radius: 3px;
+ }
}
- &:hover{
- background: $main-first;
+
+ .separator {
+ margin: 0.75rem 0;
+ border-bottom: 1px solid $grey-light;
+ // display: none;
+ }
+
+}
+
+.tree .tree-folder .tree-folder-items .dropdown-menu {
+ // tout รงa sert ร  restaurer l'apparence du dropdown dans un contexte de sidebar sombre
+ .item {
+ padding: 0;
+
+ a,
+ button {
+ color: $main-font-color;
+
+ &:hover {
+ color: $white;
+ }
+ }
+
+ &:hover {
+ background: $main-first;
+ }
}
- }
}
@@ -125,255 +124,274 @@
/*=== Alerts */
.alert {
- margin: 1rem 0;
- // width: 100%;
- padding: 1rem;
- font-size: 1rem;
- background: $grey-lighter;
- border: 1px solid $grey-medium;
- border-radius: 3px;
- color: $grey-dark;
- text-shadow: 0 0 1px $grey-light;
+ margin: 1rem 0;
+ // width: 100%;
+ padding: 1rem;
+ background: $grey-lighter;
+ color: $grey-dark;
+ font-size: 1rem;
+ border: 1px solid $grey-medium;
+ border-radius: 3px;
+ text-shadow: 0 0 1px $grey-light;
}
+
.alert-head {
- font-size: 1.15em;
+ font-size: 1.15em;
}
+
.alert > a {
- text-decoration: underline;
- color: inherit;
+ text-decoration: underline;
+ color: inherit;
}
+
.alert-warn {
- background: $warning-light;
- border: 1px solid unquote($warning-text+'33'); // on ajoute l'opacitรฉ ร  la fin
- color: $warning-text;
+ background: $warning-light;
+ color: $warning-text;
+ border: 1px solid unquote($warning-text+'33'); // on ajoute l'opacitรฉ ร  la fin
}
+
.alert-success {
- background: $success-light;
- border: 1px solid unquote($success-text+'33');
- color: $success-text;
+ background: $success-light;
+ color: $success-text;
+ border: 1px solid unquote($success-text+'33');
}
+
.alert-error {
- background: $alert-light;
- border: 1px solid unquote($alert-text+'33');
- color: $alert-text;
+ background: $alert-light;
+ color: $alert-text;
+ border: 1px solid unquote($alert-text+'33');
}
/*=== Pagination */
.pagination {
- text-align: center;
- font-size: 0.8em;
- background: $grey-light;
- color: $main-font-color;
-
- .item{
- &.pager-current {
- font-weight: bold;
- font-size: 1.5em;
- background: $sid-bg;
- color: $grey-light;
- }
- a {
- display: block;
- font-style: italic;
- line-height: 3em;
- text-decoration: none;
- color: $main-font-color;
-
- &:hover{
- background: $main-font-color;
- color: $grey-light;
- }
+ background: $grey-light;
+ color: $main-font-color;
+ font-size: 0.8em;
+ text-align: center;
+
+ .item {
+ &.pager-current {
+ background: $sid-bg;
+ color: $grey-light;
+ font-size: 1.5em;
+ font-weight: bold;
+ }
+
+ a {
+ display: block;
+ color: $main-font-color;
+ font-style: italic;
+ line-height: 3em;
+ text-decoration: none;
+
+ &:hover {
+ background: $main-font-color;
+ color: $grey-light;
+ }
+ }
}
- }
- .loading,
- a:hover.loading {
- font-size: 0;
- background: url("loader.gif") center center no-repeat #34495e;
- }
+ .loading,
+ a:hover.loading {
+ background: url("loader.gif") center center no-repeat #34495e;
+ font-size: 0;
+ }
}
+
.content .pagination {
- margin: 0;
- padding: 0;
+ margin: 0;
+ padding: 0;
}
/*=== Boxes */
.box {
- // border: 1px solid #ddd;
- border: none;
- border-radius: 3px;
- background: $white;
-
- -webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
- -moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
- box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
+ background: $white;
+ // border: 1px solid #ddd;
+ border: none;
+ border-radius: 3px;
+
+ box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
+
+ .box-title {
+ margin: 0;
+ padding: 5px 10px;
+ background: $grey-light;
+ color: $main-font-color;
+ // border-bottom: 1px solid #ddd;
+ border-radius: 2px 2px 0 0;
+
+ img {
+ margin-right: 0.75rem;
+ }
- .box-title {
- margin: 0;
- padding: 5px 10px;
- background: $grey-light;
- color: $main-font-color;
- // border-bottom: 1px solid #ddd;
- border-radius: 2px 2px 0 0;
- img{
- margin-right: 0.75rem;
- }
+ &:hover {
+ .configure {
+ background: url("icons/cog.svg") no-repeat 4px 4px;
+ display: block;
+ float: left;
+ width: 1.75rem;
+ height: 1.75rem;
+ border-radius: 2px;
+ visibility: visible;
+ margin-right: 0.5rem;
+
+ .icon {
+ display: none;
+ border-radius: 3px;
+ vertical-align: middle;
+ }
+
+ &:hover {
+ background: url("icons/cog-white.svg") no-repeat 4px 4px $main-first;
+ }
+ }
+ }
- &:hover{
.configure {
- visibility: visible;
- background: url("icons/cog.svg") no-repeat 4px 4px;
- width: 1.75rem;
- height: 1.75rem;
- display: block;
- border-radius: 2px;
- float: left;
- margin-right: 0.5rem;
- .icon {
- vertical-align: middle;
- border-radius: 3px;
- display: none;
+ visibility: hidden;
+ }
+
+ form {
+ input {
+ width: 85%;
}
- &:hover {
- background: url("icons/cog-white.svg") no-repeat 4px 4px $main-first;
+
+ .dropdown {
+ float: right;
+
+ a.dropdown-toggle {
+ padding: 0;
+ // float: right;
+ border-radius: 0;
+ background-image: url(icons/more.svg);
+ background-repeat: no-repeat;
+ background-position: right 8px;
+
+ img {
+ display: none;
+ }
+ }
}
}
}
- .configure {
- visibility: hidden;
- }
- form{
- input{
- width: 85%;
- }
- .dropdown{
- float: right;
- a.dropdown-toggle{
- padding: 0;
- background-image: url(icons/more.svg);
- background-repeat: no-repeat;
- background-position: right 8px;
- // float: right;
- border-radius: 0;
- img{
- display: none;
- }
- }
- }
- }
- }
- .box-content {
- // max-height: 260px;
+ .box-content {
+ // max-height: 260px;
+ .item {
+ padding: 0.5rem 0.75rem;
+ color: $main-font-color;
+ font-size: 1rem;
+ border-bottom: 1px solid $grey-light;
+ line-height: 1.7em;
+
+ img {
+ margin-right: 0.75rem;
+ }
- .item {
- padding: 0.5rem 0.75rem;
- font-size: 1rem;
- color: $main-font-color;
- line-height: 1.7em;
- border-bottom: 1px solid $grey-light;
-
- img{
- margin-right: 0.75rem;
- }
-
- .configure {
- visibility: hidden;
- width: 1.75rem;
- height: 1.75rem;
- display: block;
- border-radius: 2px;
- float: left;
- margin-right: 0.5rem;
- background: url("icons/cog.svg") no-repeat 4px 4px;
-
- .icon {
- vertical-align: middle;
- border-radius: 3px;
- display: none;
+ .configure {
+ background: url("icons/cog.svg") no-repeat 4px 4px;
+ display: block;
+ float: left;
+ width: 1.75rem;
+ height: 1.75rem;
+ border-radius: 2px;
+ visibility: hidden;
+ margin-right: 0.5rem;
+
+ .icon {
+ display: none;
+ border-radius: 3px;
+ vertical-align: middle;
+ }
+
+ &:hover {
+ // background: $main-first;
+ background: url("icons/cog-white.svg") no-repeat 4px 4px $main-first;
+ }
+ }
+
+ &:hover .configure {
+ visibility: visible;
+ }
}
- &:hover{
- // background: $main-first;
- background: url("icons/cog-white.svg") no-repeat 4px 4px $main-first;
+
+ .item:last-child {
+ border-bottom: none;
}
- }
- &:hover .configure {
- visibility: visible;
- }
}
- .item:last-child{
- border-bottom: none;
- }
- }
}
/*=== "Load more" part */
#bigMarkAsRead {
- text-align: center;
- text-decoration: none;
- background: $main-first-light;
- color: $main-first;
+ text-align: center;
+ text-decoration: none;
+ background: $main-first-light;
+ color: $main-first;
- @include transition(all, 0.15s, ease-in-out);
+ @include transition(all, 0.15s, ease-in-out);
- &:hover {
- background: $main-first;
- color: #fff;
+ &:hover {
+ background: $main-first;
+ color: #fff;
- .bigTick{
- background: url(icons/tick-white.svg) center no-repeat;
+ .bigTick {
+ background: url(icons/tick-white.svg) center no-repeat;
+ }
+ }
+
+ .bigTick {
+ margin: 0.5rem 0;
+ background: url(icons/tick-color.svg) center no-repeat;
+ display: inline-block;
+ width: 64px;
+ height: 64px;
+ text-indent: -9999px;
+ white-space: nowrap;
}
- }
- .bigTick{
- margin: 0.5rem 0;
- display: inline-block;
- text-indent: -9999px;
- background: url(icons/tick-color.svg) center no-repeat;
- height: 64px;
- width: 64px;
- white-space: nowrap;
- }
}
// page de login
-.formLogin{
- background: $sid-bg;
-
- .header{
- .configure{
- padding-right: 1rem;
- img{
- margin-right: 0.5rem;
- }
-
- a.signin{
+.formLogin {
+ background: $sid-bg;
+
+ .header {
+ .configure {
+ padding-right: 1rem;
+
+ img {
+ margin-right: 0.5rem;
+ }
+
+ a.signin {
+ color: $white;
+ }
+ }
+ }
+
+ h1 {
color: $white;
- }
}
- }
-
- h1{
- color: $white;
- }
- form#crypto-form{
- div{
- margin-bottom: 1rem;
-
- label{
- font-size: 1rem;
- color: $grey-medium;
-
-
- }
- input{
- background: $main-first-darker;
-
- &:focus{
- background: $grey-lighter;
- color: $main-font-color;
+
+ form#crypto-form {
+ div {
+ margin-bottom: 1rem;
+
+ label {
+ color: $grey-medium;
+ font-size: 1rem;
+
+
+ }
+
+ input {
+ background: $main-first-darker;
+
+ &:focus {
+ background: $grey-lighter;
+ color: $main-font-color;
+ }
+ }
}
- }
- }
- }
+ }
}
diff --git a/p/themes/Mapco/_configuration.scss b/p/themes/Mapco/_configuration.scss
index c3c6fd417..78e471f19 100644
--- a/p/themes/Mapco/_configuration.scss
+++ b/p/themes/Mapco/_configuration.scss
@@ -1,90 +1,89 @@
/*=== Configuration pages */
.post {
- padding: 1rem 2rem;
- font-size: 1rem;
-
- form {
- margin: 1rem 0;
-
- // Gestion des extensions
- .horizontal-list{
- margin-bottom: 0.5rem;
-
- .item{
- .stick{
- // width: 65%;
- // margin-right: 1rem;
- // display:flex;
-
- }
- .btn{
- // width: 8rem;
- // flex-grow: 1;
+ padding: 1rem 2rem;
+ font-size: 1rem;
+
+ form {
+ margin: 1rem 0;
+
+ // Gestion des extensions
+ .horizontal-list {
+ margin-bottom: 0.5rem;
+
+ .item {
+ .stick {
+ // width: 65%;
+ // margin-right: 1rem;
+ // display:flex;
+
+ }
+
+ .btn {
+ // width: 8rem;
+ // flex-grow: 1;
+ }
+ }
+
}
- }
-
}
- }
- &.content {
- max-width: 550px;
- }
-
- h1, h2{ // pages titles
- font-size: 3rem;
- margin-top: 1.75rem;
- font-weight: 300;
- line-height: 1.2em;
- // font-family: "spectral";
- color: $main-font-color;
- }
-
- a[href="./"]{ // C'est le bouton "Retour ร  vos flux"
- display: inline-block;
- // min-height: 38px;
- min-width: 15px;
- line-height: 25px;
- margin: 0;
- padding: 0.75rem 1.5rem;
- font-size: 1rem;
- vertical-align: middle;
- cursor: pointer;
- overflow: hidden;
- background: $grey-lighter;
- border: 1px solid $grey-medium-light;
- border-radius: 5px;
- // border: none;
- color: $grey-dark;
-
- &:hover{
- text-decoration: none;
- background: $main-first;
- color: white;
- border: 1px solid $main-first;
+
+ &.content {
+ max-width: 550px;
+ }
+
+ h1, h2 { // pages titles
+ // font-family: "spectral";
+ color: $main-font-color;
+ font-size: 3rem;
+ margin-top: 1.75rem;
+ font-weight: 300;
+ line-height: 1.2em;
}
- }
-
+
+ a[href="./"] { // C'est le bouton "Retour ร  vos flux"
+ margin: 0;
+ padding: 0.75rem 1.5rem;
+ background: $grey-lighter;
+ display: inline-block;
+ // border: none;
+ color: $grey-dark;
+ font-size: 1rem;
+ border: 1px solid $grey-medium-light;
+ border-radius: 5px;
+ // min-height: 38px;
+ min-width: 15px;
+ line-height: 25px;
+ vertical-align: middle;
+ cursor: pointer;
+ overflow: hidden;
+
+ &:hover {
+ background: $main-first;
+ color: white;
+ border: 1px solid $main-first;
+ text-decoration: none;
+ }
+ }
+
}
-#slider{
- border-left: none;
-
- -webkit-box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
- -moz-box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
- box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
+#slider {
+ border-left: none;
+ box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.35);
}
-.slide-container{
- .properties{
- background: rgba(0, 0, 0, 0.75);
- border: 0;
- padding: 1rem;
- color: white;
+.slide-container {
+ .properties {
+ padding: 1rem;
+ background: rgba(0, 0, 0, 0.75);
+ color: white;
+ border: 0;
- .page-number{
- right: 1rem;
- top: 1rem;
+ .page-number {
+ right: 1rem;
+ top: 1rem;
+ }
}
- }
}
diff --git a/p/themes/Mapco/_divers.scss b/p/themes/Mapco/_divers.scss
index 7d122f1b4..c6fb1f283 100644
--- a/p/themes/Mapco/_divers.scss
+++ b/p/themes/Mapco/_divers.scss
@@ -4,9 +4,11 @@
.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;
}
diff --git a/p/themes/Mapco/_fonts.scss b/p/themes/Mapco/_fonts.scss
index 5891be834..da1cf4ac7 100644
--- a/p/themes/Mapco/_fonts.scss
+++ b/p/themes/Mapco/_fonts.scss
@@ -1,56 +1,63 @@
@font-face {
- font-family: "lato";
- font-style: normal;
- font-stretch: normal;
- font-weight: 400;
- src: local("Lato"), url("../fonts/LatoLatin-Regular.woff") format("woff");
-}
-@font-face {
- font-family: "lato";
- font-style: italic;
- font-stretch: normal;
- font-weight: 400;
- src: local("Lato"), url("../fonts/LatoLatin-Italic.woff") format("woff");
-}
-@font-face {
- font-family: "lato";
- font-style: normal;
- font-stretch: normal;
- font-weight: 700;
- src: local("Lato"), url("../fonts/LatoLatin-Bold.woff") format("woff");
-}
-@font-face {
- font-family: "lato";
- font-style: italic;
- font-stretch: normal;
- font-weight: 700;
- src: local("Lato"), url("../fonts/LatoLatin-BoldItalic.woff") format("woff");
-}
-@font-face {
- font-family: "spectral";
- font-style: normal;
- font-stretch: normal;
- font-weight: 400;
- src: local("Spectral"), url("../fonts/Spectral-Regular.woff") format("woff");
-}
-@font-face {
- font-family: "spectral";
- font-style: italic;
- font-stretch: normal;
- font-weight: 400;
- src: local("Spectral"), url("../fonts/Spectral-Italic.woff") format("woff");
-}
-@font-face {
- font-family: "spectral";
- font-style: normal;
- font-stretch: normal;
- font-weight: 700;
- src: local("Spectral"), url("../fonts/Spectral-Bold.woff") format("woff");
-}
-@font-face {
- font-family: "spectral";
- font-style: italic;
- font-stretch: normal;
- font-weight: 700;
- src: local("Spectral"), url("../fonts/Spectral-BoldItalic.woff") format("woff");
+ font-family: "lato";
+ font-style: normal;
+ font-stretch: normal;
+ font-weight: 400;
+ src: local("Lato"), url("../fonts/LatoLatin-Regular.woff") format("woff");
+}
+
+@font-face {
+ font-family: "lato";
+ font-style: italic;
+ font-stretch: normal;
+ font-weight: 400;
+ src: local("Lato"), url("../fonts/LatoLatin-Italic.woff") format("woff");
+}
+
+@font-face {
+ font-family: "lato";
+ font-style: normal;
+ font-stretch: normal;
+ font-weight: 700;
+ src: local("Lato"), url("../fonts/LatoLatin-Bold.woff") format("woff");
+}
+
+@font-face {
+ font-family: "lato";
+ font-style: italic;
+ font-stretch: normal;
+ font-weight: 700;
+ src: local("Lato"), url("../fonts/LatoLatin-BoldItalic.woff") format("woff");
+}
+
+@font-face {
+ font-family: "spectral";
+ font-style: normal;
+ font-stretch: normal;
+ font-weight: 400;
+ src: local("Spectral"), url("../fonts/Spectral-Regular.woff") format("woff");
+}
+
+@font-face {
+ font-family: "spectral";
+ font-style: italic;
+ font-stretch: normal;
+ font-weight: 400;
+ src: local("Spectral"), url("../fonts/Spectral-Italic.woff") format("woff");
+}
+
+@font-face {
+ font-family: "spectral";
+ font-style: normal;
+ font-stretch: normal;
+ font-weight: 700;
+ src: local("Spectral"), url("../fonts/Spectral-Bold.woff") format("woff");
+}
+
+@font-face {
+ font-family: "spectral";
+ font-style: italic;
+ font-stretch: normal;
+ font-weight: 700;
+ src: local("Spectral"), url("../fonts/Spectral-BoldItalic.woff") format("woff");
}
diff --git a/p/themes/Mapco/_forms.scss b/p/themes/Mapco/_forms.scss
index 8a388aa8a..ff1691894 100644
--- a/p/themes/Mapco/_forms.scss
+++ b/p/themes/Mapco/_forms.scss
@@ -1,152 +1,160 @@
/* btns */
-
.btn {
- display: inline-block;
- min-height: 38px;
- min-width: 15px;
- line-height: 25px;
- margin: 0;
- padding: 0.5rem 1.5rem;
- font-size: 1rem;
- vertical-align: middle;
- cursor: pointer;
- overflow: hidden;
- background: $grey-lighter;
- border-radius: 5px;
- border: none;
- color: $grey-dark;
-
- @include transition(all, 0.15s, ease-in-out);
-
- &.btn-important {
- background: $main-first;
- color: $white;
-
- // @include transition(all, 0.15s, ease-in-out);
-
- &:hover,
- &:active {
- background: $main-first-alt;
+ margin: 0;
+ padding: 0.5rem 1.5rem;
+ background: $grey-lighter;
+ display: inline-block;
+ color: $grey-dark;
+ font-size: 1rem;
+ border: none;
+ border-radius: 5px;
+ min-height: 38px;
+ min-width: 15px;
+ line-height: 25px;
+ vertical-align: middle;
+ cursor: pointer;
+ overflow: hidden;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ &.btn-important {
+ background: $main-first;
+ color: $white;
+
+ // @include transition(all, 0.15s, ease-in-out);
+ &:hover,
+ &:active {
+ background: $main-first-alt;
+ }
}
- }
- &.btn-attention {
- background: $alert-bg;
- color: #fff;
+ &.btn-attention {
+ background: $alert-bg;
+ color: #fff;
- &:hover,
- &:active {
- background: $alert-text;
+ &:hover,
+ &:active {
+ background: $alert-text;
+ }
}
- }
- &:hover {
- text-decoration: none;
- }
+ &:hover {
+ text-decoration: none;
+ }
}
a.btn {
- min-height: 25px;
- line-height: 25px;
+ min-height: 25px;
+ line-height: 25px;
}
/*=== Forms */
legend {
- display: inline-block;
- width: auto;
- margin: 2rem 0 1rem 0;
- padding: 0;
- font-size: 1rem;
- clear: both;
- text-transform: uppercase;
- letter-spacing: 1px;
- font-weight: 700;
+ margin: 2rem 0 1rem 0;
+ padding: 0;
+ display: inline-block;
+ width: auto;
+ font-size: 1rem;
+ clear: both;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ font-weight: 700;
}
+
label {
- min-height: 25px;
- padding: 5px 0;
- cursor: pointer;
- color: $grey-dark;
+ min-height: 25px;
+ padding: 5px 0;
+ cursor: pointer;
+ color: $grey-dark;
}
+
textarea {
- width: 360px;
- height: 100px;
+ width: 360px;
+ height: 100px;
}
+
input, select, textarea, button {
- font-family: "lato", "Helvetica", "Arial", sans-serif;
- min-height: 25px;
- padding: 5px 10px;
- line-height: 25px;
- vertical-align: middle;
- background: $white;
- border: 1px solid $grey-light;
- font-size: 1rem;
- color: $grey-dark;
- border-radius: 2px;
+ padding: 5px 10px;
+ background: $white;
+ color: $grey-dark;
+ font-family: "lato", "Helvetica", "Arial", sans-serif;
+ font-size: 1rem;
+ border: 1px solid $grey-light;
+ border-radius: 2px;
+ min-height: 25px;
+ line-height: 25px;
+ vertical-align: middle;
}
+
option {
- padding: 0 .5em;
+ padding: 0 .5em;
}
+
input:focus, select:focus, textarea:focus {
- color: $main-font-color;
- border-color: $main-first;
+ color: $main-font-color;
+ border-color: $main-first;
}
+
input:invalid, select:invalid {
- color: $alert-bg;
- border-color: $alert-bg;
- box-shadow: none;
+ color: $alert-bg;
+ border-color: $alert-bg;
+ box-shadow: none;
}
+
input:disabled, select:disabled {
- background: $grey-light;
+ background: $grey-light;
}
+
input.extend {
- transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
+ transition: width 200ms linear;
}
.form-group {
- padding: 5px;
- border-radius: 3px;
+ padding: 5px;
+ border-radius: 3px;
- &::after {
- content: "";
- display: block;
- clear: both;
- }
- &:hover {
- // background: #fff;
- // border: 1px solid #eee;
- // border-radius: 3px;
- // border: 1px solid #eee;
- }
- .group-name {
- padding: 10px 0;
- text-align: right;
- }
- .group-controls {
- min-height: 25px;
- padding: 5px 0;
- }
- .group-controls .control {
- line-height: 2.0em;
- }
- table {
- margin: 10px 0 0 220px;
- }
-
- &.form-actions {
- margin: 15px 0 25px;
- padding: 5px 0;
- // background: #333;
- }
- &.form-actions .btn {
- margin: 0 0.5rem 0 0;
- }
+ &::after {
+ content: "";
+ display: block;
+ clear: both;
+ }
+
+ &:hover {
+ // background: #fff;
+ // border: 1px solid #eee;
+ // border-radius: 3px;
+ // border: 1px solid #eee;
+ }
+
+ .group-name {
+ padding: 10px 0;
+ text-align: right;
+ }
+
+ .group-controls {
+ min-height: 25px;
+ padding: 5px 0;
+ }
+
+ .group-controls .control {
+ line-height: 2.0em;
+ }
+
+ table {
+ margin: 10px 0 0 220px;
+ }
+
+ &.form-actions {
+ margin: 15px 0 25px;
+ padding: 5px 0;
+ // background: #333;
+ }
+
+ &.form-actions .btn {
+ margin: 0 0.5rem 0 0;
+ }
}
diff --git a/p/themes/Mapco/_global-view.scss b/p/themes/Mapco/_global-view.scss
index 30979bd6c..7d24a9109 100644
--- a/p/themes/Mapco/_global-view.scss
+++ b/p/themes/Mapco/_global-view.scss
@@ -1,80 +1,83 @@
/*=== GLOBAL VIEW */
/*================*/
+#stream {
+ .box.category {
+ &:not([data-unread="0"]) .box-title {
+ // background: #3498db;
+ }
-#stream{
- .box.category{
-
- &:not([data-unread="0"]) .box-title {
- // background: #3498db;
- }
- &:not([data-unread="0"]) .box-title:active {
- // background: #2980b9;
- }
- &:not([data-unread="0"]) .box-title .title {
- font-weight: bold;
- // color: #fff;
- }
-
- .box-title{
- background: none;
- padding: 1.5rem;
-
- a.title{
- font-weight: normal;
- text-decoration: none;
- text-align: left;
- font-size: 1rem;
- text-transform: uppercase;
- letter-spacing: 1px;
- color: $grey-dark;
+ &:not([data-unread="0"]) .box-title:active {
+ // background: #2980b9;
+ }
- &:not([data-unread="0"])::after {
- position: absolute;
- top: 1.75rem;
- right: 0;
- line-height: 1.5rem;
- background: $grey-light;
- border-radius: 12px;
- padding: 0 0.75rem;
- margin: -0.5rem 1rem 0 0;
- text-align: center;
+ &:not([data-unread="0"]) .box-title .title {
+ font-weight: bold;
+ // color: #fff;
}
- &:hover{
- color: $main-first;
+
+ .box-title {
+ padding: 1.5rem;
+ background: none;
+
+ a.title {
+ color: $grey-dark;
+ font-size: 1rem;
+ font-weight: normal;
+ text-decoration: none;
+ text-align: left;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+
+ &:not([data-unread="0"])::after {
+ margin: -0.5rem 1rem 0 0;
+ padding: 0 0.75rem;
+ background: $grey-light;
+ border-radius: 12px;
+ position: absolute;
+ top: 1.75rem;
+ right: 0;
+ line-height: 1.5rem;
+ text-align: center;
+ }
+
+ &:hover {
+ color: $main-first;
+ }
+ }
}
- }
- }
- .box-content{
- padding-bottom: 0.5rem;
- .item.feed {
- // padding: 2px 10px;
- font-size: 1rem;
- padding: 0.5rem 1.5rem;
-
- a{
- color: $main-font-color;
- font-weight: 400;
+ .box-content {
+ padding-bottom: 0.5rem;
+
+ .item.feed {
+ padding: 0.5rem 1.5rem;
+ // padding: 2px 10px;
+ font-size: 1rem;
- &:hover{
- color: $main-first;
- text-decoration: none;
- }
+ a {
+ color: $main-font-color;
+ font-weight: 400;
+
+ &:hover {
+ color: $main-first;
+ text-decoration: none;
+ }
+ }
+ }
}
- }
- }
- }
+ }
}
// le panel qui apparait en overlay pour afficher les flux
-#overlay{
- background: rgba(0, 0, 0, 0.65);
+#overlay {
+ background: rgba(0, 0, 0, 0.65);
}
-#panel{
- top: 3rem;
- right: 3rem;
- bottom: 3rem;
- left: 3rem;
- border-radius: 3px;
+
+#panel {
+ top: 3rem;
+ right: 3rem;
+ bottom: 3rem;
+ left: 3rem;
+ border-radius: 3px;
}
diff --git a/p/themes/Mapco/_layout.scss b/p/themes/Mapco/_layout.scss
index b62618d81..c7c0849b4 100644
--- a/p/themes/Mapco/_layout.scss
+++ b/p/themes/Mapco/_layout.scss
@@ -2,118 +2,117 @@
/*===============*/
/*=== Header */
.header {
- background: $sid-bg;
- padding: 0.5rem 1.35rem;
- display: block;
- table-layout: none;
- width: auto;
-
- .item{
- vertical-align: middle;
- // text-align: center;
- // display: flex;
- // justify-content: space-between;
- // flex-direction: row;
-
- &.title{
-
- font-weight: 400;
- width: 280px;
-
- h1{
- a{
- text-decoration: none;
- color: $sid-font-color;
- font-size: 1rem;
- text-transform: uppercase;
- letter-spacing: 1px;
-
- img{
- margin-right: 0.5rem;
-
- }
+ padding: 0.5rem 1.35rem;
+ background: $sid-bg;
+ display: block;
+ width: auto;
+ table-layout: none;
+
+ .item {
+ vertical-align: middle;
+ // text-align: center;
+ // display: flex;
+ // justify-content: space-between;
+ // flex-direction: row;
+ &.title {
+ width: 280px;
+
+ font-weight: 400;
+
+ h1 {
+ a {
+ text-decoration: none;
+ color: $sid-font-color;
+ font-size: 1rem;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+
+ img {
+ margin-right: 0.5rem;
+
+ }
+ }
+ }
}
- }
- }
- &.search{
- // text-align: center;
- // width: 50%;
- input{
- width: 230px;
- border-radius: 2px 0 0 2px;
- background-color: $sid-bg-alt;
- color: $sid-font-color;
- border: none;
+ &.search {
+ // text-align: center;
+ // width: 50%;
+ input {
+ width: 230px;
+ color: $sid-font-color;
+ border: none;
+ border-radius: 2px 0 0 2px;
+ background-color: $sid-bg-alt;
- @include transition(all, 0.15s, ease-in-out);
+ @include transition(all, 0.15s, ease-in-out);
- &:hover{
- background-color: $sid-bg-dark;
- }
-
- &:focus{
- width: 350px;
+ &:hover {
+ background-color: $sid-bg-dark;
+ }
- background-color: $white;
- color: $grey-dark;
- }
- }
- .btn{
- img{display: none;}
- border-radius: 0 2px 2px 0;
+ &:focus {
+ width: 350px;
+ color: $grey-dark;
- background-color: $main-first;
- background-position: center;
- background-repeat: no-repeat;
- background-image: url(icons/magnifier.svg);
-
- border-left-width: 0;
+ background-color: $white;
+ }
+ }
- width: 3rem;
- min-height: 35px;
+ .btn {
+ img {display: none;}
- &:hover{
- background-color: $main-first-alt;
- }
- }
- }
- &.configure{
- width: 2rem;
- position: absolute;
- right: 1rem;
- top: 1.25rem;
- text-align: center;
- // float: right;
-
- .btn{
- img{display: none;}
- // border-radius: 0 2px 2px 0;
-
- background-color: transparent;
- background-position: center;
- background-repeat: no-repeat;
- background-image: url(icons/cog-white.svg);
+ width: 3rem;
+ border-radius: 0 2px 2px 0;
+
+ background-color: $main-first;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-image: url(icons/magnifier.svg);
- padding: 0 0.5rem;
-
- // border-left-width: 0;
+ border-left-width: 0;
+ min-height: 35px;
- // width: 3rem;
+ &:hover {
+ background-color: $main-first-alt;
+ }
+ }
+ }
- &:hover{
- // background-color: $main-first-alt;
+ &.configure {
+ width: 2rem;
+ position: absolute;
+ right: 1rem;
+ top: 1.25rem;
+ text-align: center;
+ // float: right;
+ .btn {
+ img {display: none;}
+
+ padding: 0 0.5rem;
+ // border-radius: 0 2px 2px 0;
+
+ background-color: transparent;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-image: url(icons/cog-white.svg);
+
+ // border-left-width: 0;
+
+ // width: 3rem;
+ &:hover {
+ // background-color: $main-first-alt;
+ }
+ }
}
- }
}
- }
-
+
}
/*=== Body */
#global {
- height: calc(100% - 85px);
+ height: calc(100% - 85px);
}
@@ -121,342 +120,352 @@
/*=== Prompt (centered) */
.prompt {
- text-align: center;
+ text-align: center;
}
+
.prompt label {
- text-align: left;
+ text-align: left;
}
+
.prompt form {
- margin: 10px auto 20px auto;
- width: 200px;
+ margin: 10px auto 20px auto;
+ width: 200px;
}
+
.prompt input {
- margin: 5px auto;
- width: 100%;
+ margin: 5px auto;
+ width: 100%;
}
+
.prompt p {
- margin: 20px 0;
+ margin: 20px 0;
}
/*=== New article notification */
#new-article {
- text-align: center;
- font-size: 1rem;
- background: $main-first;
+ background: $main-first;
+ font-size: 1rem;
+ text-align: center;
}
+
#new-article:hover {
- background: $main-first-alt;
+ background: $main-first-alt;
}
+
#new-article > a {
- line-height: 3em;
- font-weight: bold;
- color: $white;
+ line-height: 3em;
+ font-weight: bold;
+ color: $white;
}
+
#new-article > a:hover {
- text-decoration: none;
+ text-decoration: none;
}
/*=== Day indication */
.day {
- padding: 1rem 0 0 1.25rem;
- font-weight: 700;
- line-height: 3em;
- letter-spacing: 1px;
- text-transform: uppercase;
- font-size: 0.875rem;
- color: $light-font-color;
- // border-left: 2px solid #ecf0f1;
-
- .name{
- padding: 0 1rem 0 1rem;
+ padding: 1rem 0 0 1.25rem;
+ color: $light-font-color;
font-size: 0.875rem;
- // font-weight: 700;
- color: $main-font-color;
- position: relative;
- left: 0;
-
- // letter-spacing: 1px;
+ font-weight: 700;
+ line-height: 3em;
+ letter-spacing: 1px;
text-transform: uppercase;
- }
+ // border-left: 2px solid #ecf0f1;
+ .name {
+ padding: 0 1rem 0 1rem;
+ // font-weight: 700;
+ color: $main-font-color;
+ font-size: 0.875rem;
+ position: relative;
+ left: 0;
+
+ // letter-spacing: 1px;
+ text-transform: uppercase;
+ }
}
/*=== Index menu */
.nav_menu {
- text-align: center;
- padding: 5px 0;
-
- .btn{
- border-left-width: 0;
- padding: 0.5rem 1rem;
- background-color: $grey-lighter;
- background-position: center;
- background-repeat: no-repeat;
-
- &:hover{
- background-color: $grey-light;
- }
- }
-
- .stick{
- background: $grey-lighter;
-
- .btn{
- border-left-width: 0;
- padding: 0.5rem 1rem;
- background-color: $grey-lighter;
- background-position: center;
- background-repeat: no-repeat;
- @include transition(all, 0.15s, ease-in-out);
-
- &:hover{
- background-color: $grey-medium-light;
- }
-
- &.active{
- background-color: $main-first;
- }
-
- img.icon{display: none;} // on efface pour afficher nos icones, mouhahaha !!
-
-
- // actions
- &#toggle-read{
- background-image: url(icons/read.svg);
- }
- &#toggle-read.active{
- background-image: url(icons/read-white.svg);
- }
-
- &#toggle-unread{
- background-image: url(icons/unread.svg);
- }
- &#toggle-unread.active{
- background-image: url(icons/unread-white.svg);
- }
-
- &#toggle-starred{
- background-image: url(icons/starred.svg);
- }
- &#toggle-starred.active{
- background-image: url(icons/starred-white.svg);
- }
-
- &#toggle-non-starred{
- background-image: url(icons/non-starred.svg);
- }
- &#toggle-non-starred.active{
- background-image: url(icons/non-starred-white.svg);
- }
-
- // read all
- &.read_all{
+ text-align: center;
+ padding: 5px 0;
+
+ .btn {
+ border-left-width: 0;
+ padding: 0.5rem 1rem;
background-color: $grey-lighter;
- // min-height: 0;
- color:$main-font-color;
- padding: 5px 16px;
- @include transition(all, 0.15s, ease-in-out);
+ background-position: center;
+ background-repeat: no-repeat;
- &:hover{
- background-color: $grey-medium-light;
+ &:hover {
+ background-color: $grey-light;
}
- }
-
- // views
- &.view-normal{
- background-image: url(icons/view-list.svg);
- }
- &.view-normal.active{
- background-image: url(icons/view-list-white.svg);
- }
-
- &.view-global{
- background-image: url(icons/view-global.svg);
- }
- &.view-global.active{
- background-image: url(icons/view-global-white.svg);
- }
-
- &.view-reader{
- background-image: url(icons/view-reader.svg);
- }
- &.view-reader.active{
- background-image: url(icons/view-reader-white.svg);
- }
-
- &.view-rss{
- background-image: url(icons/rss.svg);
- }
-
- }
- .dropdown {
- a.dropdown-toggle{
- border-left-width: 0;
- background-image: url(icons/more.svg);
- }
- }
-
- &#nav_menu_action{
-
}
- &#nav_menu_read_all{
-
- }
- &#nav_menu_views{
-
+
+ .stick {
+ background: $grey-lighter;
+
+ .btn {
+ border-left-width: 0;
+ padding: 0.5rem 1rem;
+ background-color: $grey-lighter;
+ background-position: center;
+ background-repeat: no-repeat;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ &:hover {
+ background-color: $grey-medium-light;
+ }
+
+ &.active {
+ background-color: $main-first;
+ }
+
+ img.icon {display: none;} // on efface pour afficher nos icones, mouhahaha !!
+
+
+ // actions
+ &#toggle-read {
+ background-image: url(icons/read.svg);
+ }
+
+ &#toggle-read.active {
+ background-image: url(icons/read-white.svg);
+ }
+
+ &#toggle-unread {
+ background-image: url(icons/unread.svg);
+ }
+
+ &#toggle-unread.active {
+ background-image: url(icons/unread-white.svg);
+ }
+
+ &#toggle-starred {
+ background-image: url(icons/starred.svg);
+ }
+
+ &#toggle-starred.active {
+ background-image: url(icons/starred-white.svg);
+ }
+
+ &#toggle-non-starred {
+ background-image: url(icons/non-starred.svg);
+ }
+
+ &#toggle-non-starred.active {
+ background-image: url(icons/non-starred-white.svg);
+ }
+
+ // read all
+ &.read_all {
+ padding: 5px 16px;
+ // min-height: 0;
+ color: $main-font-color;
+ background-color: $grey-lighter;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ &:hover {
+ background-color: $grey-medium-light;
+ }
+ }
+
+ // views
+ &.view-normal {
+ background-image: url(icons/view-list.svg);
+ }
+
+ &.view-normal.active {
+ background-image: url(icons/view-list-white.svg);
+ }
+
+ &.view-global {
+ background-image: url(icons/view-global.svg);
+ }
+
+ &.view-global.active {
+ background-image: url(icons/view-global-white.svg);
+ }
+
+ &.view-reader {
+ background-image: url(icons/view-reader.svg);
+ }
+
+ &.view-reader.active {
+ background-image: url(icons/view-reader-white.svg);
+ }
+
+ &.view-rss {
+ background-image: url(icons/rss.svg);
+ }
+
+ }
+
+ .dropdown {
+ a.dropdown-toggle {
+ border-left-width: 0;
+ background-image: url(icons/more.svg);
+ }
+ }
}
- }
}
#dropdown-query ~ .dropdown-menu .dropdown-header .icon {
- vertical-align: middle;
- background-color: $grey-medium-dark;
- border-radius: 3px;
+ vertical-align: middle;
+ background-color: $grey-medium-dark;
+ border-radius: 3px;
}
/*=== Content of feed articles */
.content, .content.thin {
- padding: 20px 10px;
+ padding: 20px 10px;
- font-size: 1.125rem;
- line-height: 1.8rem;
+ font-size: 1.125rem;
+ line-height: 1.8rem;
- h1.title, h1{
+ h1.title, h1 {
+ a {
+ color: $main-font-color;
+ font-family: "spectral", serif;
+ font-size: 2rem;
- a{
- color: $main-font-color;
- font-family: "spectral";
- font-size: 2rem;
+ &:hover {
+ color: $main-first;
+ text-decoration: none;
+ }
+ }
+ }
- &:hover{
- color: $main-first;
- text-decoration: none;
- }
+ .author {
+ color: $light-font-color;
+ font-size: 1.125rem;
+ }
+
+ p, ul {
+ font-size: 1.125rem;
+ line-height: 1.8rem;
+ }
+
+ .content hr {
+ margin: 30px 10px;
+ background: $grey-medium-light;
+ height: 1px;
+ border: 0;
+ box-shadow: 0 2px 5px #ccc;
+ }
+
+ pre {
+ margin: 10px auto;
+ padding: 10px 20px;
+ overflow: auto;
+ background: $main-first-darker;
+ color: $white;
+ font-size: 0.9rem;
+ border-radius: 3px;
+
+ code {
+ background: transparent;
+ color: $white;
+ border: none;
+ }
}
- }
- .author{
- font-size: 1.125rem;
- color: $light-font-color;
- }
- p, ul{
- font-size: 1.125rem;
- line-height: 1.8rem;
- }
- hr{
- }
- .content hr {
- margin: 30px 10px;
- height: 1px;
- background: $grey-medium-light;
- border: 0;
- box-shadow: 0 2px 5px #ccc;
- }
-
- pre {
- margin: 10px auto;
- padding: 10px 20px;
- overflow: auto;
- background: $main-first-darker;
- color: $white;
- font-size: 0.9rem;
- border-radius: 3px;
code {
- background: transparent;
- color: $white;
- border: none;
+ padding: 2px 5px;
+ background: $grey-lighter;
+ color: $grey-light;
+ border: 1px solid $grey-light;
+ border-radius: 3px;
}
- }
- code {
- padding: 2px 5px;
- color: $grey-light;
- background: $grey-lighter;
- border: 1px solid $grey-light;
- border-radius: 3px;
- }
- blockquote {
- display: block;
- margin: 0;
- padding: 5px 20px;
- border-top: 1px solid $grey-medium-light;
- border-bottom: 1px solid $grey-medium-light;
- background: $grey-lighter;
- color: $main-font-color;
-
- p {
- margin: 0;
+ blockquote {
+ margin: 0;
+ padding: 5px 20px;
+ background: $grey-lighter;
+ display: block;
+ color: $main-font-color;
+ border-top: 1px solid $grey-medium-light;
+ border-bottom: 1px solid $grey-medium-light;
+
+ p {
+ margin: 0;
+ }
}
- }
}
/*=== Notification and actualize notification */
.notification {
- position: fixed;
- top: auto;
- bottom: 0;
- left: 0;
- right: 0;
- width: 100%;
- height: 3rem;
-
- padding: 1rem 0;
- text-align: center;
- // font-weight: bold;
- font-size: 1em;
- line-height: 3em;
- z-index: 10;
- vertical-align: middle;
- background: $grey-medium-light;
- color: $grey-dark;
- // border-radius: 3px;
- border: none;
-
- .msg{
- font-size: 1rem;
- display: inline-block;
- }
-
- &.good {
- background: $success-bg;
- color: $white;
- }
- &.bad {
- background: $alert-bg;
- color: $white;
- }
- a.close {
- padding: 0 15px;
+
+ padding: 1rem 0;
+ background: $grey-medium-light;
+ width: 100%;
+ height: 3rem;
+ color: $grey-dark;
+ // font-weight: bold;
+ font-size: 1em;
+ // border-radius: 3px;
+ border: none;
+ position: fixed;
+ top: auto;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ text-align: center;
line-height: 3em;
- border-radius: 0 3px 3px 0;
- }
-
- &.good a.close:hover {
- background: $success-text;
- }
- &.bad a.close:hover {
- background: $alert-text;
- }
-
- &#actualizeProgress {
- line-height: 2em;
-
- br{
- display: none;
+ z-index: 10;
+ vertical-align: middle;
+
+ .msg {
+ display: inline-block;
+ font-size: 1rem;
+ }
+
+ &.good {
+ background: $success-bg;
+ color: $white;
+ }
+
+ &.bad {
+ background: $alert-bg;
+ color: $white;
+ }
+
+ a.close {
+ padding: 0 15px;
+ border-radius: 0 3px 3px 0;
+ line-height: 3em;
+ }
+
+ &.good a.close:hover {
+ background: $success-text;
+ }
+
+ &.bad a.close:hover {
+ background: $alert-text;
+ }
+
+ &#actualizeProgress {
+ line-height: 2em;
+
+ br {
+ display: none;
+ }
}
- }
}
/*=== Navigation menu (for articles) */
#nav_entries {
- margin: 0;
- text-align: center;
- line-height: 3em;
- table-layout: fixed;
- background: $sid-bg;
+ margin: 0;
+ text-align: center;
+ line-height: 3em;
+ table-layout: fixed;
+ background: $sid-bg;
}
diff --git a/p/themes/Mapco/_list-view.scss b/p/themes/Mapco/_list-view.scss
index 69cd8a81d..ab3001ee4 100644
--- a/p/themes/Mapco/_list-view.scss
+++ b/p/themes/Mapco/_list-view.scss
@@ -1,92 +1,97 @@
/*=== Feed articles */
.flux {
- // border-left: 2px solid #ecf0f1;
- background: $white;
+ // border-left: 2px solid #ecf0f1;
+ background: $white;
- @include transition(all, 0.15s, ease-in-out);
-
- &:hover{
- background: $grey-lighter;
+ @include transition(all, 0.15s, ease-in-out);
- &:not(.current):hover .item.title {
- background: $grey-lighter;
+ &:hover {
+ background: $grey-lighter;
-
- }
- }
- &.current{
- border-left-color: $main-first;
- background: $grey-lighter;
- }
- &.not_read{
- background: $unread-bg; //--------------------
- // border-left-color: #FF5300;
-
- &:hover{
- background: $unread-bg-light; //--------------------
- }
-
- &:not(.current):hover .item.title {
- background: $unread-bg-light;
+ &:not(.current):hover .item.title {
+ background: $grey-lighter;
-
+
+ }
}
- .item.title{
- a{
- color: $unread-font-color; //--------------------
- }
-
+
+ &.current {
+ background: $grey-lighter;
+ border-left-color: $main-first;
}
- .item.website{
- a{
- color: $unread-font-color; //--------------------
- }
+
+ &.not_read {
+ background: $unread-bg; //--------------------
+ // border-left-color: #FF5300;
+ &:hover {
+ background: $unread-bg-light; //--------------------
+ }
+
+ &:not(.current):hover .item.title {
+ background: $unread-bg-light;
+
+
+ }
+
+ .item.title {
+ a {
+ color: $unread-font-color; //--------------------
+ }
+
+ }
+
+ .item.website {
+ a {
+ color: $unread-font-color; //--------------------
+ }
+ }
+
+ .item.date {
+ color: unquote($unread-font-color+"99"); //--------------------
+ }
}
- .item.date{
- color: unquote($unread-font-color+"99"); //--------------------
+
+ &.favorite {
+ background: $fav-light;
+ border-left-color: $fav-bg;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ &:not(.current):hover .item.title {
+ background: $fav-light;
+ }
}
-}
-
- &.favorite {
- background: $fav-light;
- border-left-color: $fav-bg;
- @include transition(all, 0.15s, ease-in-out);
+ .website {
+ a {
+ color: $main-font-color;
+ opacity: 0.75;
+ }
- &:not(.current):hover .item.title {
- background: $fav-light;
+ .favicon {
+ padding: 5px;
+ }
}
- }
- .website{
- a{
- color: $main-font-color;
- opacity: 0.75;
+ .date {
+ color: $main-font-color;
+ font-size: 0.85rem;
+ opacity: 0.75;
}
-
- .favicon {
- padding: 5px;
+
+ .bottom {
+ font-size: 1rem;
+ text-align: center;
}
- }
- .date {
- font-size: 0.85rem;
- color: $main-font-color;
- opacity: 0.75;
- }
-
- .bottom {
- font-size: 1rem;
- text-align: center;
- }
}
.flux_header {
- font-size: 1rem;
- cursor: pointer;
- border-top: 1px solid $grey-light;
-
- .title {
font-size: 1rem;
- }
+ cursor: pointer;
+ border-top: 1px solid $grey-light;
+
+ .title {
+ font-size: 1rem;
+ }
}
diff --git a/p/themes/Mapco/_logs.scss b/p/themes/Mapco/_logs.scss
index ae1e24c6c..82eead3c9 100644
--- a/p/themes/Mapco/_logs.scss
+++ b/p/themes/Mapco/_logs.scss
@@ -4,13 +4,14 @@
overflow: hidden;
border: 1px solid $grey-medium-dark;
}
+
.log {
margin: 10px 0;
padding: 5px 2%;
- overflow: auto;
- font-size: 0.8rem;
background: $grey-lighter;
color: $grey-dark;
+ font-size: 0.8rem;
+ overflow: auto;
}
.log > .date {
@@ -18,16 +19,20 @@
padding: 5px 10px;
border-radius: 20px;
}
+
.log.error > .date {
background: $alert-bg;
color: #fff;
}
+
.log.warning > .date {
background: $warning-bg;
}
+
.log.notice > .date {
background: $grey-light;
}
+
.log.debug > .date {
background: $main-first-darker;
color: $white;
diff --git a/p/themes/Mapco/_mixins.scss b/p/themes/Mapco/_mixins.scss
index 3542ade6b..9dbed6945 100644
--- a/p/themes/Mapco/_mixins.scss
+++ b/p/themes/Mapco/_mixins.scss
@@ -1,59 +1,71 @@
+/* stylelint-disable property-no-vendor-prefix */
+
/* FUNCTIONS */
//animation
+
@mixin transition($target, $duration, $ease) {
- -webkit-transition: $target $duration $ease;
- -moz-transition: $target $duration $ease;
- -o-transition: $target $duration $ease;
- -ms-transition: $target $duration $ease;
- transition: $target $duration $ease;
+ -webkit-transition: $target $duration $ease;
+ -moz-transition: $target $duration $ease;
+ -o-transition: $target $duration $ease;
+ -ms-transition: $target $duration $ease;
+ transition: $target $duration $ease;
}
//animation
+
@mixin animation-delay($delay) {
- -webkit-animation-delay: $delay;
- /* Safari 4.0 - 8.0 */
- animation-delay: $delay;
+ -webkit-animation-delay: $delay;
+ /* Safari 4.0 - 8.0 */
+ animation-delay: $delay;
}
//animation
+
@mixin animation($animate...) {
- $max: length($animate);
- $animations: '';
- @for $i from 1 through $max {
- $animations: #{$animations + nth($animate, $i)};
- @if $i < $max {
- $animations: #{$animations + ", "};
- }
- }
- -webkit-animation: $animations;
- -moz-animation: $animations;
- -o-animation: $animations;
- -ms-transition: $animations;
- animation: $animations;
+ $max: length($animate);
+ $animations: '';
+
+ @for $i from 1 through $max {
+ $animations: #{$animations + nth($animate, $i)};
+
+ @if $i < $max {
+ $animations: #{$animations + ", "};
+ }
+ }
+ -webkit-animation: $animations;
+ -moz-animation: $animations;
+ -o-animation: $animations;
+ -ms-transition: $animations;
+ animation: $animations;
}
//keyframes
+
@mixin keyframes($animationName) {
- @-webkit-keyframes #{$animationName} {
- @content;
- }
- @-moz-keyframes #{$animationName} {
- @content;
- }
- @-o-keyframes #{$animationName} {
- @content;
- }
- @keyframes #{$animationName} {
- @content;
- }
+
+ @-webkit-keyframes #{$animationName} {
+ @content;
+ }
+
+ @-moz-keyframes #{$animationName} {
+ @content;
+ }
+
+ @-o-keyframes #{$animationName} {
+ @content;
+ }
+
+ @keyframes #{$animationName} {
+ @content;
+ }
}
-@mixin border-radius($radius: 4px){
- -moz-border-radius: $radius;
- -webkit-border-radius: $radius;
- -ms-border-radius: $radius;
- -o-border-radius: $radius;
- -khtml-border-radius: $radius;
- border-radius: $radius;
+@mixin border-radius($radius: 4px) {
+ -moz-border-radius: $radius;
+ -webkit-border-radius: $radius;
+ -ms-border-radius: $radius;
+ -o-border-radius: $radius;
+ -khtml-border-radius: $radius;
+ border-radius: $radius;
}
diff --git a/p/themes/Mapco/_mobile.scss b/p/themes/Mapco/_mobile.scss
index dcf4e74f2..d646f3469 100644
--- a/p/themes/Mapco/_mobile.scss
+++ b/p/themes/Mapco/_mobile.scss
@@ -1,169 +1,185 @@
/*=== MOBILE */
/*===========*/
-@media(max-width: 840px) {
- html, body{
- // font-size: 1rem;
- }
- ul.nav{
- .item{
- width: 100%;
-
- img{
- display: none;
- }
- a{
- display: inline-block;
- padding: 1rem 1rem 1rem 2.5rem;
- color: $sid-font-color;
- width: 100%;
-
- background: url("../../themes/icons/logout.svg") no-repeat $sid-bg-dark 3% center;
+
+@media (max-width: 840px) {
+ html, body {
+ // font-size: 1rem;
+ }
+
+ ul.nav {
+ .item {
+ width: 100%;
+
+ img {
+ display: none;
+ }
+
+ a {
+ padding: 1rem 1rem 1rem 2.5rem;
+
+ background: url("../../themes/icons/logout.svg") no-repeat $sid-bg-dark 3% center;
+ display: inline-block;
+ width: 100%;
+ color: $sid-font-color;
+
+ @include transition(all, 0.2s, ease-in-out);
+
+ &:hover,
+ &:active {
+ background: url("../../themes/icons/logout.svg") no-repeat $alert-bg 3% center;
+ text-decoration: none;
+ }
+ }
+
+ }
+
+ }
+
+ .aside {
@include transition(all, 0.2s, ease-in-out);
- &:hover,
- &:active{
- background: url("../../themes/icons/logout.svg") no-repeat $alert-bg 3% center;
- text-decoration: none;
+ &.aside_feed {
+ padding: 0;
}
- }
+ .tree .tree-folder .tree-folder-items .item a {
+ padding: 0.5rem 1rem;
+ }
}
-
- }
- .aside {
- @include transition(all, 0.2s, ease-in-out);
-
- &.aside_feed {
- padding: 0;
+
+ .aside .toggle_aside,
+ #panel .close {
+ background: $main-first-alt;
+ display: block;
+ width: 100%;
+ height: 50px;
+ line-height: 50px;
+ text-align: center;
}
- .tree .tree-folder .tree-folder-items .item a{
- padding: 0.5rem 1rem;
+ .header {
+ padding: 0.5rem;
+
+ .item {
+ &.title {
+ display: none;
+ }
+
+ &.search {
+ input {
+ width: 90%;
+ height: 3.5rem;
+
+ &:focus {
+ width: 100%;
+
+ }
+ }
+
+ .btn {
+ min-height: 49px;
+ padding: 0.5rem 2rem;
+ }
+ }
+
+ &.configure {
+ width: 2.75rem;
+ top: 3.125rem;
+
+ .dropdown {
+ .btn {
+ padding: 1.125rem;
+ }
+ }
+ }
+ }
}
- }
- .aside .toggle_aside,
- #panel .close {
- display: block;
- width: 100%;
- height: 50px;
- line-height: 50px;
- text-align: center;
- background: $main-first-alt;
- }
-
- .header{
- padding: 0.5rem;
- .item{
- &.title{
- display: none;
- }
-
- &.search{
- input{
- width: 90%;
- height: 3.5rem;
-
- &:focus{
- width: 100%;
- }
+ .nav_menu {
+ .btn {
+ margin: 0;
+ padding: 0.85rem 1.25rem;
}
- .btn{
- min-height: 49px;
- padding: 0.5rem 2rem;
+
+ .stick {
+ margin: 0.5rem 0.5rem;
+
+ .btn {
+ margin: 0;
+ padding: 0.85rem 1.25rem;
+
+ &.read_all {
+ padding: 0.85rem 1.25rem;
+ }
+ }
}
- }
- &.configure{
- width: 2.75rem;
- top: 3.125rem;
- .dropdown{
- .btn{
- padding: 1.125rem;
- }
+
+ .search {
+ display: none;
+ max-width: 97%;
+
+ .input {
+
+ max-width: 97%;
+ width: 90px;
+
+ &:focus {
+ width: 400px;
+ }
+ }
}
- }
- }
- }
-
- .nav_menu{
- .btn {
- margin: 0;
- padding: 0.85rem 1.25rem;
}
- .stick {
- margin: 0.5rem 0.5rem;
- .btn{
- margin: 0;
- padding: 0.85rem 1.25rem;
-
- &.read_all{
- padding: 0.85rem 1.25rem;
+ #stream {
+ .flux {
+ .flux_header {
+ padding: 0.5rem 0;
+ }
}
- }
}
- .search {
- display: none;
- max-width: 97%;
- .input{
- max-width: 97%;
- width: 90px;
- &::focus{
- width: 400px;
+ .day {
+ text-align: center;
+ padding: 1rem 0;
+
+ .name {
+ padding: 0;
+ // font-size: 1.1rem;
+ display: block;
+ width: 100%;
+ line-height: 1.5rem;
+ margin-bottom: 1rem;
}
- }
+
}
- }
- #stream{
- .flux{
- .flux_header{
- padding: 0.5rem 0;
- }
+
+ .pagination {
+ margin: 0 0 3.5em;
}
- }
-
-
-
- .day{
- text-align: center;
- padding: 1rem 0;
- .name {
- // font-size: 1.1rem;
- display: block;
- padding: 0;
- width: 100%;
- line-height: 1.5rem;
- margin-bottom: 1rem;
+
+ #nav_entries {
+ line-height: 4.5rem;
}
- }
+ .notification {
+ border-radius: 0;
- .pagination {
- margin: 0 0 3.5em;
- }
+ a.close {
+ background: transparent;
+ display: block;
+ left: 0;
+ }
- #nav_entries{
- line-height: 4.5rem;
- }
+ a.close:hover {
+ opacity: 0.5;
+ }
- .notification {
- border-radius: 0;
+ a.close .icon {
+ display: none;
- a.close {
- display: block;
- left: 0;
- background: transparent;
- }
- a.close:hover {
- opacity: 0.5;
- }
- a.close .icon {
- display: none;
-
+ }
}
- }
}
diff --git a/p/themes/Mapco/_reader-view.scss b/p/themes/Mapco/_reader-view.scss
index 4368908d6..e75e43d00 100644
--- a/p/themes/Mapco/_reader-view.scss
+++ b/p/themes/Mapco/_reader-view.scss
@@ -6,8 +6,9 @@
color: $main-font-color;
border: none;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
color: $grey-medium-dark;
+ font-size: 90%;
}
diff --git a/p/themes/Mapco/_sidebar.scss b/p/themes/Mapco/_sidebar.scss
index 62ec1c1cf..a26ff647c 100644
--- a/p/themes/Mapco/_sidebar.scss
+++ b/p/themes/Mapco/_sidebar.scss
@@ -1,134 +1,139 @@
/*=== Tree */
.tree {
- margin: 10px 0;
-
- &#sidebar{
- scrollbar-color: rgba(255,255, 0, 0.1) rgba(0, 0, 0, 0.05);
- scrollbar-color: unquote($sid-font-color+"33") unquote($sid-font-color+"22");
- }
-
-
- .tree-folder{
- border-bottom: 1px solid $sid-sep;
-
- .tree-folder-title {
- position: relative;
- background: $sid-bg;
- font-size: 0.85rem;
- letter-spacing: 1px;
- padding: 12px 16px;
- font-weight: 700;
- text-transform: uppercase;
-
- .title {
- background: inherit;
- color: $sid-font-color;
- &:hover{
- text-decoration: none;
- }
- }
- }
- &.active {
- .tree-folder-title {
- background: $sid-bg;
- font-weight: bold;
- }
+ margin: 10px 0;
+
+ &#sidebar {
+ scrollbar-color: rgba(255,255, 0, 0.1) rgba(0, 0, 0, 0.05);
+ scrollbar-color: unquote($sid-font-color+"33") unquote($sid-font-color+"22");
}
- .tree-folder-items {
- background: $sid-bg-alt;
- .item{
- padding: 0 1rem;
- line-height: 2.5rem;
- font-size: 1rem;
- font-weight: 400;
- @include transition(all, 0.15s, ease-in-out);
- &.active{
- background: $sid-active;
+ .tree-folder {
+ border-bottom: 1px solid $sid-sep;
- .dropdown li a{
- color: $main-font-color;
+ .tree-folder-title {
+ padding: 12px 16px;
+ background: $sid-bg;
+ position: relative;
+ font-size: 0.85rem;
+ letter-spacing: 1px;
+ font-weight: 700;
+ text-transform: uppercase;
- &:hover{
- color: $sid-font-color;
- }
- }
+ .title {
+ background: inherit;
+ color: $sid-font-color;
- a{
- color: $sid-active-font;
- }
+ &:hover {
+ text-decoration: none;
+ }
+ }
}
- &:hover{
- background: $sid-bg-dark;
+ &.active {
+ .tree-folder-title {
+ background: $sid-bg;
+ font-weight: bold;
+ }
}
- a{
- text-decoration: none;
- color: $sid-font-color;
+ .tree-folder-items {
+ background: $sid-bg-alt;
+
+ .item {
+ padding: 0 1rem;
+ line-height: 2.5rem;
+ font-size: 1rem;
+ font-weight: 400;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ &.active {
+ background: $sid-active;
+
+ .dropdown li a {
+ color: $main-font-color;
+
+ &:hover {
+ color: $sid-font-color;
+ }
+ }
+
+ a {
+ color: $sid-active-font;
+ }
+ }
+
+ &:hover {
+ background: $sid-bg-dark;
+ }
+
+ a {
+ text-decoration: none;
+ color: $sid-font-color;
+ }
+ }
+
+ .feed .item-title:not([data-unread="0"])::before {
+ margin: 11px 6px 0 4px;
+ padding: 3px 4px;
+ background: $sid-pills;
+ display: block;
+ float: left;
+ font-size: 0.75rem;
+ border-radius: 12px;
+ content: attr(data-unread);
+ text-align: center;
+ line-height: 0.75rem;
+ }
}
- }
-
- .feed .item-title:not([data-unread="0"])::before {
- content: attr(data-unread);
- background: $sid-pills;
- font-size: 0.75rem;
- display: block;
- float: left;
- padding: 3px 4px;
- text-align:center;
- border-radius: 12px;
- margin: 11px 6px 0 4px;
- line-height: 0.75rem;
- }
- .feed .item-title:not([data-unread="0"]) {
-
- }
}
- }
}
/*=== Buttons */
.stick {
- vertical-align: middle;
- font-size: 0;
-
- input, .btn {
- border-radius: 0;
- }
- .btn:first-child,
- input:first-child {
- border-radius: 5px 0 0 5px;
- }
- .btn:last-child, input:last-child, .btn + .dropdown > .btn {
- border-radius: 0 5px 5px 0;
- }
- .btn + .btn,
- .btn + input,
- .btn + .dropdown > .btn,
- input + .btn,
- input + input,
- input + .dropdown > .btn,
- .dropdown + .btn,
- .dropdown + input,
- .dropdown + .dropdown > .btn {
- border-left: 1px solid $grey-medium-light;
- }
+ vertical-align: middle;
+ font-size: 0;
+
+ input, .btn {
+ border-radius: 0;
+ }
+
+ .btn:first-child,
+ input:first-child {
+ border-radius: 5px 0 0 5px;
+ }
+
+ .btn:last-child, input:last-child, .btn + .dropdown > .btn {
+ border-radius: 0 5px 5px 0;
+ }
+
+ .btn + .btn,
+ .btn + input,
+ .btn + .dropdown > .btn,
+ input + .btn,
+ input + input,
+ input + .dropdown > .btn,
+ .dropdown + .btn,
+ .dropdown + input,
+ .dropdown + .dropdown > .btn {
+ border-left: 1px solid $grey-medium-light;
+ }
}
.aside {
- background: $sid-bg;
-
- &.aside_feed {
- padding: 10px 0;
- text-align: center;
background: $sid-bg;
- }
- &.aside_feed .tree {
- margin: 10px 0 50px;
- }
+
+ &.aside_feed {
+ padding: 10px 0;
+ text-align: center;
+ background: $sid-bg;
+ }
+
+ &.aside_feed .tree {
+ margin: 10px 0 50px;
+ }
}
@@ -138,154 +143,171 @@
/*=== Navigation */
-
-.nav-list{
- .nav-header,
- .item{
- height: 2.5em;
- line-height: 2.5em;
- font-size: 1rem;
- }
- .item{
- background: $sid-bg;
- @include transition(all, 0.15s, ease-in-out);
- a{
- padding: 0 1rem;
- color: $sid-font-color;
- }
- .error{
- a{
- color: $alert-bg;
- }
+.nav-list {
+ .nav-header,
+ .item {
+ height: 2.5em;
+ line-height: 2.5em;
+ font-size: 1rem;
}
- &:hover{
- background: $sid-bg-dark;
- color: $sid-font-color;
-
- .error{
- a{
- color: $sid-font-color;
- background: $main-first;
+
+ .item {
+ background: $sid-bg;
+
+ @include transition(all, 0.15s, ease-in-out);
+
+ a {
+ padding: 0 1rem;
+ color: $sid-font-color;
}
- }
- .empty{
- a{
- color: $sid-font-color;
- background: $warning-bg;
+
+ .error {
+ a {
+ color: $alert-bg;
+ }
}
- }
-
- a{
- color: $sid-font-color;
- text-decoration: none;
- }
- }
- &.active{
- background: $main-first;
- color: $white;
-
- .error{
- a{
- color: $white;
- background: $main-first;
+
+ &:hover {
+ background: $sid-bg-dark;
+ color: $sid-font-color;
+
+ .error {
+ a {
+ background: $main-first;
+ color: $sid-font-color;
+ }
+ }
+
+ .empty {
+ a {
+ background: $warning-bg;
+ color: $sid-font-color;
+ }
+ }
+
+ a {
+ color: $sid-font-color;
+ text-decoration: none;
+ }
}
- }
- .empty{
- a{
- color: $white;
- background: $warning-bg;
+ &.active {
+ background: $main-first;
+ color: $white;
+
+ .error {
+ a {
+ background: $main-first;
+ color: $white;
+ }
+ }
+
+ .empty {
+ a {
+ background: $warning-bg;
+ color: $white;
+ }
+ }
+
+ a {
+ color: $white;
+ text-decoration: none;
+ }
}
- }
-
- a{
- color: $white;
- text-decoration: none;
- }
+
}
-
- }
- &.empty{
- a{
- color: $warning-bg;
+
+ &.empty {
+ a {
+ color: $warning-bg;
+ }
}
- }
- .disable{
- text-align: center;
- background: $grey-lighter;
- color: $grey-medium-dark;
- }
- .nav-header {
- padding: 0 10px;
- font-weight: bold;
- color: $grey-dark;
- text-transform: uppercase;
- letter-spacing: 1px;
- margin-top: 1rem;
- }
-
- .nav-form {
- padding: 3px;
- text-align: center;
- }
-
- .nav-head {
- margin: 0;
- text-align: right;
- // background: #34495e;
- color: $white;
- a {
- color: $white;
- }
- .item {
- padding: 5px 10px;
- font-size: 0.9rem;
- line-height: 1.5rem;
- }
- }
+ .disable {
+ text-align: center;
+ background: $grey-lighter;
+ color: $grey-medium-dark;
+ }
+
+ .nav-header {
+ padding: 0 10px;
+ font-weight: bold;
+ color: $grey-dark;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ margin-top: 1rem;
+ }
+
+ .nav-form {
+ padding: 3px;
+ text-align: center;
+ }
+
+ .nav-head {
+ margin: 0;
+ text-align: right;
+ // background: #34495e;
+ color: $white;
+
+ a {
+ color: $white;
+ }
+
+ .item {
+ padding: 5px 10px;
+ font-size: 0.9rem;
+ line-height: 1.5rem;
+ }
+ }
}
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
- position: absolute;
- right: 0;
- line-height: 1.5rem;
- background: $sid-pills;
- border-radius: 12px;
- padding: 0 0.75rem;
- margin: -0.5rem 1rem 0 0;
- text-align: center;
+ margin: -0.5rem 1rem 0 0;
+ padding: 0 0.75rem;
+ background: $sid-pills;
+ border-radius: 12px;
+ position: absolute;
+ right: 0;
+ line-height: 1.5rem;
+ text-align: center;
}
.feed.item.empty.active {
- background: $grey-dark;
+ background: $grey-dark;
}
+
.feed.item.error.active {
- background: $grey-dark;
+ background: $grey-dark;
}
+
.feed.item.empty,
.feed.item.empty > a {
- color: $grey-dark;
+ color: $grey-dark;
}
+
.feed.item.error,
.feed.item.error > a {
- color: $grey-dark;
+ color: $grey-dark;
}
+
.feed.item.empty.active,
.feed.item.error.active,
.feed.item.empty.active > a,
.feed.item.error.active > a {
- color: $white;
+ color: $white;
}
+
.aside_feed .tree-folder-items .dropdown-menu::after {
- left: 2px;
+ left: 2px;
}
+
.aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
- border-radius: 3px;
+ border-radius: 3px;
}
-.aside_feed .stick #btn-importExport{
- border-left-color: $sid-bg;
+
+.aside_feed .stick #btn-importExport {
+ border-left-color: $sid-bg;
}
diff --git a/p/themes/Mapco/_stats.scss b/p/themes/Mapco/_stats.scss
index f287efa08..592419166 100644
--- a/p/themes/Mapco/_stats.scss
+++ b/p/themes/Mapco/_stats.scss
@@ -9,6 +9,7 @@
.stat tr {
border: none;
}
+
.stat > table td,
.stat > table th {
border-bottom: 1px solid $grey-medium-light;
@@ -17,11 +18,13 @@
.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;
}
diff --git a/p/themes/Mapco/_tables.scss b/p/themes/Mapco/_tables.scss
index 608e19aca..2d0311608 100644
--- a/p/themes/Mapco/_tables.scss
+++ b/p/themes/Mapco/_tables.scss
@@ -7,9 +7,11 @@ tr, th, td {
padding: 0.5em;
border: 1px solid $grey-medium-light;
}
+
th {
background: $grey-lighter;
}
+
form td,
form th {
font-weight: normal;
diff --git a/p/themes/Mapco/_variables.scss b/p/themes/Mapco/_variables.scss
index b01d9bd67..993d263bf 100644
--- a/p/themes/Mapco/_variables.scss
+++ b/p/themes/Mapco/_variables.scss
@@ -1,6 +1,6 @@
// La couleur principale du thรจme
-$main-first: #3366cc; // couleur principale
-$main-first-alt: #2255cc; // var pour les hovers
+$main-first: #36c; // couleur principale
+$main-first-alt: #25c; // var pour les hovers
$main-first-light: #effcfd; // var light 1
$main-first-lighter: #f7fdfe; // var light 2
$main-first-dark: #35363c; // var pour les hovers
@@ -15,11 +15,11 @@ $white: #fff; // le blanc (des fois qu'on aurait envie de le teinter un peu)
// on essaiera de teinter ces gris suivant la couleur principale
$grey-darker: #3b3f4d;
$grey-dark: #5b6871;
-$grey-medium-dark: #a6a7ae;
+$grey-medium-dark: #a6a7ae;
$grey-medium: #c5ced3;
-$grey-medium-light: #d5d8db;
-$grey-light: #eff0f2;
-$grey-lighter: #f9fafb;
+$grey-medium-light: #d5d8db;
+$grey-light: #eff0f2;
+$grey-lighter: #f9fafb;
$unread-font-color: $main-first;
$unread-bg: #f2f6f8;
@@ -39,15 +39,15 @@ $success-light: #cffde7;
$success-text: #0c7540;
// les favoris
-$fav-bg: #FFC300;
-$fav-light: #FFF6DA;
+$fav-bg: #ffc300;
+$fav-light: #fff6da;
// la couleur de sidebar, utile si on a envie d'un thรจme qui aurait une sidebar foncรฉ, e.g.
-$sid-font-color: #FFFFFF; // la couleur de fond de la barre de gauche et du header
+$sid-font-color: #fff; // la couleur de fond de la barre de gauche et du header
$sid-bg: #303136; // le background gรฉnรฉral de la barre de gauche, et du header
$sid-bg-alt: #26272a; // le background de l'intรฉrieur des groupes
$sid-bg-dark: #17181a; // les hovers
$sid-sep: #3f3f3f; // les sรฉparateurs
$sid-active: $main-first; // la couleur active
-$sid-active-font: #FFFFFF; // la couleur active
+$sid-active-font: #fff; // la couleur active
$sid-pills: rgba(0,0,0, 0.25); // les gรฉlules
diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css
index a69a4f960..b144dca58 100644
--- a/p/themes/Mapco/mapco.css
+++ b/p/themes/Mapco/mapco.css
@@ -46,33 +46,34 @@
font-stretch: normal;
font-weight: 700;
src: local("Spectral"), url("../fonts/Spectral-BoldItalic.woff") format("woff"); }
+/* stylelint-disable property-no-vendor-prefix */
/* FUNCTIONS */
/* btns */
.btn {
+ margin: 0;
+ padding: 0.5rem 1.5rem;
+ background: #f9fafb;
display: inline-block;
+ color: #5b6871;
+ font-size: 1rem;
+ border: none;
+ border-radius: 5px;
min-height: 38px;
min-width: 15px;
line-height: 25px;
- margin: 0;
- padding: 0.5rem 1.5rem;
- font-size: 1rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
- background: #f9fafb;
- border-radius: 5px;
- border: none;
- color: #5b6871;
-webkit-transition: all 0.15s ease-in-out;
-moz-transition: all 0.15s ease-in-out;
-o-transition: all 0.15s ease-in-out;
-ms-transition: all 0.15s ease-in-out;
transition: all 0.15s ease-in-out; }
.btn.btn-important {
- background: #3366cc;
+ background: #36c;
color: #fff; }
.btn.btn-important:hover, .btn.btn-important:active {
- background: #2255cc; }
+ background: #25c; }
.btn.btn-attention {
background: #f5633e;
color: #fff; }
@@ -87,10 +88,10 @@ a.btn {
/*=== Forms */
legend {
- display: inline-block;
- width: auto;
margin: 2rem 0 1rem 0;
padding: 0;
+ display: inline-block;
+ width: auto;
font-size: 1rem;
clear: both;
text-transform: uppercase;
@@ -108,23 +109,23 @@ textarea {
height: 100px; }
input, select, textarea, button {
- font-family: "lato", "Helvetica", "Arial", sans-serif;
- min-height: 25px;
padding: 5px 10px;
- line-height: 25px;
- vertical-align: middle;
background: #fff;
- border: 1px solid #eff0f2;
- font-size: 1rem;
color: #5b6871;
- border-radius: 2px; }
+ font-family: "lato", "Helvetica", "Arial", sans-serif;
+ font-size: 1rem;
+ border: 1px solid #eff0f2;
+ border-radius: 2px;
+ min-height: 25px;
+ line-height: 25px;
+ vertical-align: middle; }
option {
padding: 0 .5em; }
input:focus, select:focus, textarea:focus {
color: #303136;
- border-color: #3366cc; }
+ border-color: #36c; }
input:invalid, select:invalid {
color: #f5633e;
@@ -135,11 +136,7 @@ input:disabled, select:disabled {
background: #eff0f2; }
input.extend {
- transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear; }
+ transition: width 200ms linear; }
.form-group {
padding: 5px;
@@ -194,29 +191,24 @@ form th {
/*=== Dropdown */
.dropdown-menu {
- background: #f9fafb;
margin: 0;
- font-size: 1rem;
- text-align: left;
padding: 0.5rem 0 1rem 0;
+ background: #f9fafb;
+ font-size: 1rem;
border: none;
border-radius: 3px;
- -webkit-box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
- -moz-box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
- box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35); }
+ box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
+ text-align: left; }
.dropdown-menu::after {
+ background: white;
+ width: 10px;
+ height: 10px;
content: "";
position: absolute;
top: -4px;
right: 13px;
- width: 10px;
- height: 10px;
z-index: -10;
- transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- background: white; }
+ transform: rotate(45deg); }
.dropdown-menu .dropdown-header {
margin: 1.75rem 0 0.5rem 2rem;
font-weight: bold;
@@ -232,18 +224,18 @@ form th {
transition: all 0.075s ease-in-out; }
.dropdown-menu .item a, .dropdown-menu .item span, .dropdown-menu .item .as-link {
padding: 0 2rem;
- line-height: 2.5em;
+ color: #303136;
font-size: 1rem;
- color: #303136; }
+ line-height: 2.5em; }
.dropdown-menu .item:hover {
- background: #3366cc;
+ background: #36c;
color: #fff; }
.dropdown-menu .item:hover a, .dropdown-menu .item:hover button {
text-decoration: none;
color: #fff; }
.dropdown-menu .item[aria-checked="true"] a::before {
- font-weight: bold;
- margin: 0 0 0 -14px; }
+ margin: 0 0 0 -14px;
+ font-weight: bold; }
.dropdown-menu .input select, .dropdown-menu .input input {
margin: 0 auto 5px;
padding: 2px 5px;
@@ -252,32 +244,26 @@ form th {
margin: 0.75rem 0;
border-bottom: 1px solid #eff0f2; }
-.tree .tree-folder .tree-folder-items .dropdown-menu .item,
.tree .tree-folder .tree-folder-items .dropdown-menu .item {
padding: 0; }
.tree .tree-folder .tree-folder-items .dropdown-menu .item a,
- .tree .tree-folder .tree-folder-items .dropdown-menu .item button,
- .tree .tree-folder .tree-folder-items .dropdown-menu .item a,
.tree .tree-folder .tree-folder-items .dropdown-menu .item button {
color: #303136; }
.tree .tree-folder .tree-folder-items .dropdown-menu .item a:hover,
- .tree .tree-folder .tree-folder-items .dropdown-menu .item button:hover,
- .tree .tree-folder .tree-folder-items .dropdown-menu .item a:hover,
.tree .tree-folder .tree-folder-items .dropdown-menu .item button:hover {
color: #fff; }
- .tree .tree-folder .tree-folder-items .dropdown-menu .item:hover,
.tree .tree-folder .tree-folder-items .dropdown-menu .item:hover {
- background: #3366cc; }
+ background: #36c; }
/*=== Alerts */
.alert {
margin: 1rem 0;
padding: 1rem;
- font-size: 1rem;
background: #f9fafb;
+ color: #5b6871;
+ font-size: 1rem;
border: 1px solid #c5ced3;
border-radius: 3px;
- color: #5b6871;
text-shadow: 0 0 1px #eff0f2; }
.alert-head {
@@ -289,43 +275,43 @@ form th {
.alert-warn {
background: #fdfde0;
- border: 1px solid #73762f33;
- color: #73762f; }
+ color: #73762f;
+ border: 1px solid #73762f33; }
.alert-success {
background: #cffde7;
- border: 1px solid #0c754033;
- color: #0c7540; }
+ color: #0c7540;
+ border: 1px solid #0c754033; }
.alert-error {
background: #fde0d8;
- border: 1px solid #73341f33;
- color: #73341f; }
+ color: #73341f;
+ border: 1px solid #73341f33; }
/*=== Pagination */
.pagination {
- text-align: center;
- font-size: 0.8em;
background: #eff0f2;
- color: #303136; }
+ color: #303136;
+ font-size: 0.8em;
+ text-align: center; }
.pagination .item.pager-current {
- font-weight: bold;
- font-size: 1.5em;
background: #303136;
- color: #eff0f2; }
+ color: #eff0f2;
+ font-size: 1.5em;
+ font-weight: bold; }
.pagination .item a {
display: block;
+ color: #303136;
font-style: italic;
line-height: 3em;
- text-decoration: none;
- color: #303136; }
+ text-decoration: none; }
.pagination .item a:hover {
background: #303136;
color: #eff0f2; }
.pagination .loading,
.pagination a:hover.loading {
- font-size: 0;
- background: url("loader.gif") center center no-repeat #34495e; }
+ background: url("loader.gif") center center no-repeat #34495e;
+ font-size: 0; }
.content .pagination {
margin: 0;
@@ -333,11 +319,9 @@ form th {
/*=== Boxes */
.box {
+ background: #fff;
border: none;
border-radius: 3px;
- background: #fff;
- -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
- -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25); }
.box .box-title {
margin: 0;
@@ -348,20 +332,20 @@ form th {
.box .box-title img {
margin-right: 0.75rem; }
.box .box-title:hover .configure {
- visibility: visible;
background: url("icons/cog.svg") no-repeat 4px 4px;
+ display: block;
+ float: left;
width: 1.75rem;
height: 1.75rem;
- display: block;
border-radius: 2px;
- float: left;
+ visibility: visible;
margin-right: 0.5rem; }
.box .box-title:hover .configure .icon {
- vertical-align: middle;
+ display: none;
border-radius: 3px;
- display: none; }
+ vertical-align: middle; }
.box .box-title:hover .configure:hover {
- background: url("icons/cog-white.svg") no-repeat 4px 4px #3366cc; }
+ background: url("icons/cog-white.svg") no-repeat 4px 4px #36c; }
.box .box-title .configure {
visibility: hidden; }
.box .box-title form input {
@@ -370,35 +354,35 @@ form th {
float: right; }
.box .box-title form .dropdown a.dropdown-toggle {
padding: 0;
+ border-radius: 0;
background-image: url(icons/more.svg);
background-repeat: no-repeat;
- background-position: right 8px;
- border-radius: 0; }
+ background-position: right 8px; }
.box .box-title form .dropdown a.dropdown-toggle img {
display: none; }
.box .box-content .item {
padding: 0.5rem 0.75rem;
- font-size: 1rem;
color: #303136;
- line-height: 1.7em;
- border-bottom: 1px solid #eff0f2; }
+ font-size: 1rem;
+ border-bottom: 1px solid #eff0f2;
+ line-height: 1.7em; }
.box .box-content .item img {
margin-right: 0.75rem; }
.box .box-content .item .configure {
- visibility: hidden;
+ background: url("icons/cog.svg") no-repeat 4px 4px;
+ display: block;
+ float: left;
width: 1.75rem;
height: 1.75rem;
- display: block;
border-radius: 2px;
- float: left;
- margin-right: 0.5rem;
- background: url("icons/cog.svg") no-repeat 4px 4px; }
+ visibility: hidden;
+ margin-right: 0.5rem; }
.box .box-content .item .configure .icon {
- vertical-align: middle;
+ display: none;
border-radius: 3px;
- display: none; }
+ vertical-align: middle; }
.box .box-content .item .configure:hover {
- background: url("icons/cog-white.svg") no-repeat 4px 4px #3366cc; }
+ background: url("icons/cog-white.svg") no-repeat 4px 4px #36c; }
.box .box-content .item:hover .configure {
visibility: visible; }
.box .box-content .item:last-child {
@@ -409,24 +393,24 @@ form th {
text-align: center;
text-decoration: none;
background: #effcfd;
- color: #3366cc;
+ color: #36c;
-webkit-transition: all 0.15s ease-in-out;
-moz-transition: all 0.15s ease-in-out;
-o-transition: all 0.15s ease-in-out;
-ms-transition: all 0.15s ease-in-out;
transition: all 0.15s ease-in-out; }
#bigMarkAsRead:hover {
- background: #3366cc;
+ background: #36c;
color: #fff; }
#bigMarkAsRead:hover .bigTick {
background: url(icons/tick-white.svg) center no-repeat; }
#bigMarkAsRead .bigTick {
margin: 0.5rem 0;
- display: inline-block;
- text-indent: -9999px;
background: url(icons/tick-color.svg) center no-repeat;
- height: 64px;
+ display: inline-block;
width: 64px;
+ height: 64px;
+ text-indent: -9999px;
white-space: nowrap; }
.formLogin {
@@ -442,8 +426,8 @@ form th {
.formLogin form#crypto-form div {
margin-bottom: 1rem; }
.formLogin form#crypto-form div label {
- font-size: 1rem;
- color: #c5ced3; }
+ color: #c5ced3;
+ font-size: 1rem; }
.formLogin form#crypto-form div input {
background: #1d1e22; }
.formLogin form#crypto-form div input:focus {
@@ -467,20 +451,20 @@ form th {
margin: 10px 0; }
.tree#sidebar {
scrollbar-color: rgba(255, 255, 0, 0.1) rgba(0, 0, 0, 0.05);
- scrollbar-color: #FFFFFF33 #FFFFFF22; }
+ scrollbar-color: #fff33 #fff22; }
.tree .tree-folder {
border-bottom: 1px solid #3f3f3f; }
.tree .tree-folder .tree-folder-title {
- position: relative;
+ padding: 12px 16px;
background: #303136;
+ position: relative;
font-size: 0.85rem;
letter-spacing: 1px;
- padding: 12px 16px;
font-weight: 700;
text-transform: uppercase; }
.tree .tree-folder .tree-folder-title .title {
background: inherit;
- color: #FFFFFF; }
+ color: #fff; }
.tree .tree-folder .tree-folder-title .title:hover {
text-decoration: none; }
.tree .tree-folder.active .tree-folder-title {
@@ -499,28 +483,28 @@ form th {
-ms-transition: all 0.15s ease-in-out;
transition: all 0.15s ease-in-out; }
.tree .tree-folder .tree-folder-items .item.active {
- background: #3366cc; }
+ background: #36c; }
.tree .tree-folder .tree-folder-items .item.active .dropdown li a {
color: #303136; }
.tree .tree-folder .tree-folder-items .item.active .dropdown li a:hover {
- color: #FFFFFF; }
+ color: #fff; }
.tree .tree-folder .tree-folder-items .item.active a {
- color: #FFFFFF; }
+ color: #fff; }
.tree .tree-folder .tree-folder-items .item:hover {
background: #17181a; }
.tree .tree-folder .tree-folder-items .item a {
text-decoration: none;
- color: #FFFFFF; }
+ color: #fff; }
.tree .tree-folder .tree-folder-items .feed .item-title:not([data-unread="0"])::before {
- content: attr(data-unread);
+ margin: 11px 6px 0 4px;
+ padding: 3px 4px;
background: rgba(0, 0, 0, 0.25);
- font-size: 0.75rem;
display: block;
float: left;
- padding: 3px 4px;
- text-align: center;
+ font-size: 0.75rem;
border-radius: 12px;
- margin: 11px 6px 0 4px;
+ content: attr(data-unread);
+ text-align: center;
line-height: 0.75rem; }
/*=== Buttons */
@@ -570,30 +554,30 @@ form th {
transition: all 0.15s ease-in-out; }
.nav-list .item a {
padding: 0 1rem;
- color: #FFFFFF; }
+ color: #fff; }
.nav-list .item .error a {
color: #f5633e; }
.nav-list .item:hover {
background: #17181a;
- color: #FFFFFF; }
+ color: #fff; }
.nav-list .item:hover .error a {
- color: #FFFFFF;
- background: #3366cc; }
+ background: #36c;
+ color: #fff; }
.nav-list .item:hover .empty a {
- color: #FFFFFF;
- background: #f4f762; }
+ background: #f4f762;
+ color: #fff; }
.nav-list .item:hover a {
- color: #FFFFFF;
+ color: #fff;
text-decoration: none; }
.nav-list .item.active {
- background: #3366cc;
+ background: #36c;
color: #fff; }
.nav-list .item.active .error a {
- color: #fff;
- background: #3366cc; }
+ background: #36c;
+ color: #fff; }
.nav-list .item.active .empty a {
- color: #fff;
- background: #f4f762; }
+ background: #f4f762;
+ color: #fff; }
.nav-list .item.active a {
color: #fff;
text-decoration: none; }
@@ -626,13 +610,13 @@ form th {
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
+ margin: -0.5rem 1rem 0 0;
+ padding: 0 0.75rem;
+ background: rgba(0, 0, 0, 0.25);
+ border-radius: 12px;
position: absolute;
right: 0;
line-height: 1.5rem;
- background: rgba(0, 0, 0, 0.25);
- border-radius: 12px;
- padding: 0 0.75rem;
- margin: -0.5rem 1rem 0 0;
text-align: center; }
.feed.item.empty.active {
@@ -670,19 +654,19 @@ form th {
/*===============*/
/*=== Header */
.header {
- background: #303136;
padding: 0.5rem 1.35rem;
+ background: #303136;
display: block;
- table-layout: none;
- width: auto; }
+ width: auto;
+ table-layout: none; }
.header .item {
vertical-align: middle; }
.header .item.title {
- font-weight: 400;
- width: 280px; }
+ width: 280px;
+ font-weight: 400; }
.header .item.title h1 a {
text-decoration: none;
- color: #FFFFFF;
+ color: #fff;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 1px; }
@@ -690,10 +674,10 @@ form th {
margin-right: 0.5rem; }
.header .item.search input {
width: 230px;
+ color: #fff;
+ border: none;
border-radius: 2px 0 0 2px;
background-color: #26272a;
- color: #FFFFFF;
- border: none;
-webkit-transition: all 0.15s ease-in-out;
-moz-transition: all 0.15s ease-in-out;
-o-transition: all 0.15s ease-in-out;
@@ -703,21 +687,21 @@ form th {
background-color: #17181a; }
.header .item.search input:focus {
width: 350px;
- background-color: #fff;
- color: #5b6871; }
+ color: #5b6871;
+ background-color: #fff; }
.header .item.search .btn {
+ width: 3rem;
border-radius: 0 2px 2px 0;
- background-color: #3366cc;
+ background-color: #36c;
background-position: center;
background-repeat: no-repeat;
background-image: url(icons/magnifier.svg);
border-left-width: 0;
- width: 3rem;
min-height: 35px; }
.header .item.search .btn img {
display: none; }
.header .item.search .btn:hover {
- background-color: #2255cc; }
+ background-color: #25c; }
.header .item.configure {
width: 2rem;
position: absolute;
@@ -725,11 +709,11 @@ form th {
top: 1.25rem;
text-align: center; }
.header .item.configure .btn {
+ padding: 0 0.5rem;
background-color: transparent;
background-position: center;
background-repeat: no-repeat;
- background-image: url(icons/cog-white.svg);
- padding: 0 0.5rem; }
+ background-image: url(icons/cog-white.svg); }
.header .item.configure .btn img {
display: none; }
@@ -757,12 +741,12 @@ form th {
/*=== New article notification */
#new-article {
- text-align: center;
+ background: #36c;
font-size: 1rem;
- background: #3366cc; }
+ text-align: center; }
#new-article:hover {
- background: #2255cc; }
+ background: #25c; }
#new-article > a {
line-height: 3em;
@@ -775,16 +759,16 @@ form th {
/*=== Day indication */
.day {
padding: 1rem 0 0 1.25rem;
+ color: #5b6871;
+ font-size: 0.875rem;
font-weight: 700;
line-height: 3em;
letter-spacing: 1px;
- text-transform: uppercase;
- font-size: 0.875rem;
- color: #5b6871; }
+ text-transform: uppercase; }
.day .name {
padding: 0 1rem 0 1rem;
- font-size: 0.875rem;
color: #303136;
+ font-size: 0.875rem;
position: relative;
left: 0;
text-transform: uppercase; }
@@ -817,7 +801,7 @@ form th {
.nav_menu .stick .btn:hover {
background-color: #d5d8db; }
.nav_menu .stick .btn.active {
- background-color: #3366cc; }
+ background-color: #36c; }
.nav_menu .stick .btn img.icon {
display: none; }
.nav_menu .stick .btn#toggle-read {
@@ -837,9 +821,9 @@ form th {
.nav_menu .stick .btn#toggle-non-starred.active {
background-image: url(icons/non-starred-white.svg); }
.nav_menu .stick .btn.read_all {
- background-color: #f9fafb;
- color: #303136;
padding: 5px 16px;
+ color: #303136;
+ background-color: #f9fafb;
-webkit-transition: all 0.15s ease-in-out;
-moz-transition: all 0.15s ease-in-out;
-o-transition: all 0.15s ease-in-out;
@@ -877,21 +861,21 @@ form th {
line-height: 1.8rem; }
.content h1.title a, .content h1 a, .content.thin h1.title a, .content.thin h1 a {
color: #303136;
- font-family: "spectral";
+ font-family: "spectral", serif;
font-size: 2rem; }
.content h1.title a:hover, .content h1 a:hover, .content.thin h1.title a:hover, .content.thin h1 a:hover {
- color: #3366cc;
+ color: #36c;
text-decoration: none; }
.content .author, .content.thin .author {
- font-size: 1.125rem;
- color: #5b6871; }
+ color: #5b6871;
+ font-size: 1.125rem; }
.content p, .content ul, .content.thin p, .content.thin ul {
font-size: 1.125rem;
line-height: 1.8rem; }
.content .content hr, .content.thin .content hr {
margin: 30px 10px;
- height: 1px;
background: #d5d8db;
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px #ccc; }
.content pre, .content.thin pre {
@@ -908,42 +892,42 @@ form th {
border: none; }
.content code, .content.thin code {
padding: 2px 5px;
- color: #eff0f2;
background: #f9fafb;
+ color: #eff0f2;
border: 1px solid #eff0f2;
border-radius: 3px; }
.content blockquote, .content.thin blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
- border-top: 1px solid #d5d8db;
- border-bottom: 1px solid #d5d8db;
background: #f9fafb;
- color: #303136; }
+ display: block;
+ color: #303136;
+ border-top: 1px solid #d5d8db;
+ border-bottom: 1px solid #d5d8db; }
.content blockquote p, .content.thin blockquote p {
margin: 0; }
/*=== Notification and actualize notification */
.notification {
+ padding: 1rem 0;
+ background: #d5d8db;
+ width: 100%;
+ height: 3rem;
+ color: #5b6871;
+ font-size: 1em;
+ border: none;
position: fixed;
top: auto;
bottom: 0;
left: 0;
right: 0;
- width: 100%;
- height: 3rem;
- padding: 1rem 0;
text-align: center;
- font-size: 1em;
line-height: 3em;
z-index: 10;
- vertical-align: middle;
- background: #d5d8db;
- color: #5b6871;
- border: none; }
+ vertical-align: middle; }
.notification .msg {
- font-size: 1rem;
- display: inline-block; }
+ display: inline-block;
+ font-size: 1rem; }
.notification.good {
background: #10f587;
color: #fff; }
@@ -952,8 +936,8 @@ form th {
color: #fff; }
.notification a.close {
padding: 0 15px;
- line-height: 3em;
- border-radius: 0 3px 3px 0; }
+ border-radius: 0 3px 3px 0;
+ line-height: 3em; }
.notification.good a.close:hover {
background: #0c7540; }
.notification.bad a.close:hover {
@@ -984,8 +968,8 @@ form th {
.flux:hover:not(.current):hover .item.title {
background: #f9fafb; }
.flux.current {
- border-left-color: #3366cc;
- background: #f9fafb; }
+ background: #f9fafb;
+ border-left-color: #36c; }
.flux.not_read {
background: #f2f6f8; }
.flux.not_read:hover {
@@ -993,29 +977,29 @@ form th {
.flux.not_read:not(.current):hover .item.title {
background: #fdfdfe; }
.flux.not_read .item.title a {
- color: #3366cc; }
+ color: #36c; }
.flux.not_read .item.website a {
- color: #3366cc; }
+ color: #36c; }
.flux.not_read .item.date {
- color: #3366cc99; }
+ color: #36c99; }
.flux.favorite {
- background: #FFF6DA;
- border-left-color: #FFC300;
+ background: #fff6da;
+ border-left-color: #ffc300;
-webkit-transition: all 0.15s ease-in-out;
-moz-transition: all 0.15s ease-in-out;
-o-transition: all 0.15s ease-in-out;
-ms-transition: all 0.15s ease-in-out;
transition: all 0.15s ease-in-out; }
.flux.favorite:not(.current):hover .item.title {
- background: #FFF6DA; }
+ background: #fff6da; }
.flux .website a {
color: #303136;
opacity: 0.75; }
.flux .website .favicon {
padding: 5px; }
.flux .date {
- font-size: 0.85rem;
color: #303136;
+ font-size: 0.85rem;
opacity: 0.75; }
.flux .bottom {
font-size: 1rem;
@@ -1033,38 +1017,38 @@ form th {
#stream .box.category:not([data-unread="0"]) .box-title .title {
font-weight: bold; }
#stream .box.category .box-title {
- background: none;
- padding: 1.5rem; }
+ padding: 1.5rem;
+ background: none; }
#stream .box.category .box-title a.title {
+ color: #5b6871;
+ font-size: 1rem;
font-weight: normal;
text-decoration: none;
text-align: left;
- font-size: 1rem;
text-transform: uppercase;
- letter-spacing: 1px;
- color: #5b6871; }
+ letter-spacing: 1px; }
#stream .box.category .box-title a.title:not([data-unread="0"])::after {
+ margin: -0.5rem 1rem 0 0;
+ padding: 0 0.75rem;
+ background: #eff0f2;
+ border-radius: 12px;
position: absolute;
top: 1.75rem;
right: 0;
line-height: 1.5rem;
- background: #eff0f2;
- border-radius: 12px;
- padding: 0 0.75rem;
- margin: -0.5rem 1rem 0 0;
text-align: center; }
#stream .box.category .box-title a.title:hover {
- color: #3366cc; }
+ color: #36c; }
#stream .box.category .box-content {
padding-bottom: 0.5rem; }
#stream .box.category .box-content .item.feed {
- font-size: 1rem;
- padding: 0.5rem 1.5rem; }
+ padding: 0.5rem 1.5rem;
+ font-size: 1rem; }
#stream .box.category .box-content .item.feed a {
color: #303136;
font-weight: 400; }
#stream .box.category .box-content .item.feed a:hover {
- color: #3366cc;
+ color: #36c;
text-decoration: none; }
#overlay {
@@ -1087,8 +1071,8 @@ form th {
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
- color: #a6a7ae; }
+ color: #a6a7ae;
+ font-size: 90%; }
/*=== Configuration pages */
.post {
@@ -1101,42 +1085,40 @@ form th {
.post.content {
max-width: 550px; }
.post h1, .post h2 {
+ color: #303136;
font-size: 3rem;
margin-top: 1.75rem;
font-weight: 300;
- line-height: 1.2em;
- color: #303136; }
+ line-height: 1.2em; }
.post a[href="./"] {
- display: inline-block;
- min-width: 15px;
- line-height: 25px;
margin: 0;
padding: 0.75rem 1.5rem;
- font-size: 1rem;
- vertical-align: middle;
- cursor: pointer;
- overflow: hidden;
background: #f9fafb;
+ display: inline-block;
+ color: #5b6871;
+ font-size: 1rem;
border: 1px solid #d5d8db;
border-radius: 5px;
- color: #5b6871; }
+ min-width: 15px;
+ line-height: 25px;
+ vertical-align: middle;
+ cursor: pointer;
+ overflow: hidden; }
.post a[href="./"]:hover {
- text-decoration: none;
- background: #3366cc;
+ background: #36c;
color: white;
- border: 1px solid #3366cc; }
+ border: 1px solid #36c;
+ text-decoration: none; }
#slider {
border-left: none;
- -webkit-box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
- -moz-box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35); }
.slide-container .properties {
- background: rgba(0, 0, 0, 0.75);
- border: 0;
padding: 1rem;
- color: white; }
+ background: rgba(0, 0, 0, 0.75);
+ color: white;
+ border: 0; }
.slide-container .properties .page-number {
right: 1rem;
top: 1rem; }
@@ -1150,10 +1132,10 @@ form th {
.log {
margin: 10px 0;
padding: 5px 2%;
- overflow: auto;
- font-size: 0.8rem;
background: #f9fafb;
- color: #5b6871; }
+ color: #5b6871;
+ font-size: 0.8rem;
+ overflow: auto; }
.log > .date {
margin: 0 10px 0 0;
@@ -1207,11 +1189,11 @@ form th {
ul.nav .item img {
display: none; }
ul.nav .item a {
- display: inline-block;
padding: 1rem 1rem 1rem 2.5rem;
- color: #FFFFFF;
- width: 100%;
background: url("../../themes/icons/logout.svg") no-repeat #17181a 3% center;
+ display: inline-block;
+ width: 100%;
+ color: #fff;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
@@ -1234,12 +1216,12 @@ form th {
.aside .toggle_aside,
#panel .close {
+ background: #25c;
display: block;
width: 100%;
height: 50px;
line-height: 50px;
- text-align: center;
- background: #2255cc; }
+ text-align: center; }
.header {
padding: 0.5rem; }
@@ -1275,7 +1257,7 @@ form th {
.nav_menu .search .input {
max-width: 97%;
width: 90px; }
- .nav_menu .search .input::focus {
+ .nav_menu .search .input:focus {
width: 400px; }
#stream .flux .flux_header {
@@ -1285,8 +1267,8 @@ form th {
text-align: center;
padding: 1rem 0; }
.day .name {
- display: block;
padding: 0;
+ display: block;
width: 100%;
line-height: 1.5rem;
margin-bottom: 1rem; }
@@ -1300,26 +1282,24 @@ form th {
.notification {
border-radius: 0; }
.notification a.close {
+ background: transparent;
display: block;
- left: 0;
- background: transparent; }
+ left: 0; }
.notification a.close:hover {
opacity: 0.5; }
.notification a.close .icon {
display: none; } }
-html, body {
- font-family: "lato", "Helvetica", "Arial", sans-serif;
- font-size: 0.875rem; }
-
/*=== GENERAL */
/*============*/
html, body {
+ background: #eff0f2;
height: 100%;
- background: #eff0f2; }
+ font-family: "lato", "Helvetica", "Arial", sans-serif;
+ font-size: 0.875rem; }
/*=== Links */
a, button.as-link {
outline: none;
- color: #3366cc; }
+ color: #36c; }
/*# sourceMappingURL=mapco.css.map */
diff --git a/p/themes/Mapco/mapco.css.map b/p/themes/Mapco/mapco.css.map
deleted file mode 100644
index b4bb0bebc..000000000
--- a/p/themes/Mapco/mapco.css.map
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-"version": 3,
-"mappings": "AAAA,UAMC;EALG,WAAW,EAAE,MAAM;EACnB,UAAU,EAAE,MAAM;EAClB,YAAY,EAA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OAAW",
-"sources": ["_fonts.scss","_mixins.scss","_forms.scss","_variables.scss","_tables.scss","_components.scss","_divers.scss","_sidebar.scss","_layout.scss","_list-view.scss","_global-view.scss","_reader-view.scss","_configuration.scss","_logs.scss","_stats.scss","_mobile.scss","mapco.scss"],
-"names": [],
-"file": "mapco.css"
-}
diff --git a/p/themes/Mapco/mapco.scss b/p/themes/Mapco/mapco.scss
index 1a538b50a..337cc5f97 100644
--- a/p/themes/Mapco/mapco.scss
+++ b/p/themes/Mapco/mapco.scss
@@ -1,51 +1,48 @@
@import "fonts";
+
@import "mixins";
+
@import "variables";
@import "forms";
+
@import "tables";
+
@import "components";
@import "divers";
@import "sidebar";
+
@import "layout";
+
@import "list-view";
+
@import "global-view";
+
@import "reader-view";
@import "configuration";
@import "logs";
+
@import "stats";
@import "mobile";
-html, body{
- font-family: "lato", "Helvetica", "Arial", sans-serif;
- font-size: 0.875rem;
-}
-
@charset "UTF-8";
/*=== GENERAL */
/*============*/
html, body {
- height: 100%;
background: $grey-light;
+ height: 100%;
+ font-family: "lato", "Helvetica", "Arial", sans-serif;
+ font-size: 0.875rem;
}
/*=== Links */
a, button.as-link {
- outline: none;
- color: $main-first;
+ outline: none;
+ color: $main-first;
}
-
-
-
-
-
-
-
-
-
diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css
index e8046e0b1..af8e66d17 100644
--- a/p/themes/Origine-compact/origine-compact.css
+++ b/p/themes/Origine-compact/origine-compact.css
@@ -3,9 +3,9 @@
/*=== GENERAL */
/*============*/
html, body {
+ background: #fafafa;
height: 100%;
font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
- background: #fafafa;
}
/*=== Links */
@@ -18,50 +18,54 @@ a, button.as-link {
legend {
margin: 20px 0 5px;
padding: 5px 0;
- border-bottom: 1px solid #ddd;
font-size: 1.4em;
+ border-bottom: 1px solid #ddd;
}
+
label {
min-height: 25px;
padding: 5px 0;
cursor: pointer;
}
+
textarea {
width: 360px;
height: 100px;
}
+
input, select, textarea {
- min-height: 25px;
padding: 3px 5px 2px 5px;
background: #fdfdfd;
+ color: #666;
border: 1px solid #bbb;
border-radius: 3px;
- color: #666;
+ box-shadow: 0 2px 2px #eee inset;
+ min-height: 25px;
line-height: 25px;
vertical-align: middle;
- box-shadow: 0 2px 2px #eee inset;
}
+
option {
padding: 0 .5em;
}
+
input:focus, select:focus, textarea:focus {
color: #0062be;
- border-color: #33bbff;
- box-shadow: 0 2px 2px #ddddff inset;
+ border-color: #3bf;
+ box-shadow: 0 2px 2px #ddf inset;
}
+
input:invalid, select:invalid {
border-color: #f00;
box-shadow: 0 0 2px 2px #fdd inset;
}
+
input:disabled, select:disabled {
background: #eee;
}
+
input.extend {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
/*=== Tables */
@@ -73,9 +77,11 @@ tr, th, td {
padding: 0.5em;
border: 1px solid #ddd;
}
+
th {
background: #f6f6f6;
}
+
form td,
form th {
font-weight: normal;
@@ -90,17 +96,21 @@ form th {
background: #f4f4f4;
border-top: 1px solid #ddd;
}
+
.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: 8px 0;
}
+
.form-group table {
margin: 10px 0 0 220px;
}
@@ -110,21 +120,26 @@ form th {
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,
@@ -136,18 +151,17 @@ form th {
.stick .dropdown + .dropdown > .btn {
border-left: none;
}
+
.stick input + .btn {
border-top: 1px solid #bbb;
}
+
.stick .btn + .dropdown > .btn {
border-left: none;
border-radius: 0 3px 3px 0;
}
.btn {
- display: inline-block;
- min-height: 32px;
- min-width: 15px;
margin: 0;
padding: 5px 10px;
background: #fff;
@@ -156,22 +170,27 @@ form th {
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%);
- border-radius: 3px;
+ display: inline-block;
+ color: #666;
+ font-size: 0.9rem;
border: 1px solid #ddd;
- border-bottom: 1px solid #aaa;
border-right: 1px solid #aaa;
- color: #666;
+ border-bottom: 1px solid #aaa;
+ border-radius: 3px;
+ min-height: 32px;
+ min-width: 15px;
text-shadow: 0px -1px 0 #ddd;
- font-size: 0.9rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
}
+
a.btn,
.stick .btn {
min-height: 20px;
line-height: 20px;
}
+
.btn:hover {
background: #f0f0f0;
background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
@@ -181,57 +200,62 @@ a.btn,
background: -ms-linear-gradient(top, #f8f8f8 0%, #f0f0f0 100%);
text-decoration: none;
}
+
.btn.active,
.btn:active,
.dropdown-target:target ~ .btn.dropdown-toggle {
- box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
background: #eee;
+ box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
}
.btn-important {
- background: #0084CC;
- background: linear-gradient(to bottom, #0084CC, #0045CC);
- 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%);
+ background: #0084cc;
+ background: linear-gradient(to bottom, #0084cc, #0045cc);
+ 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%);
color: #fff;
- border: 1px solid #0062B7;
+ border: 1px solid #0062b7;
text-shadow: 0px -1px 0 #aaa;
font-weight: normal;
}
+
.btn-important:hover {
- background: linear-gradient(to bottom, #0066CC, #0045CC);
- 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%);
+ background: linear-gradient(to bottom, #06c, #0045cc);
+ background: -moz-linear-gradient(top, #06c 0%, #0045cc 100%);
+ background: -webkit-linear-gradient(top, #06c 0%, #0045cc 100%);
+ background: -o-linear-gradient(top, #06c 0%, #0045cc 100%);
+ background: -ms-linear-gradient(top, #06c 0%, #0045cc 100%);
}
+
.btn-important:active {
- background: #0044CB;
+ background: #0044cb;
box-shadow: none;
}
.btn-attention {
- background: #E95B57;
- background: linear-gradient(to bottom, #E95B57, #BD362F);
- 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%);
+ background: #e95b57;
+ background: linear-gradient(to bottom, #e95b57, #bd362f);
+ 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%);
color: #fff;
- border: 1px solid #C44742;
+ border: 1px solid #c44742;
text-shadow: 0px -1px 0px #666;
}
+
.btn-attention:hover {
- background: linear-gradient(to bottom, #D14641, #BD362F);
- 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%);
+ background: linear-gradient(to bottom, #d14641, #bd362f);
+ 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%);
}
+
.btn-attention:active {
- background: #BD362F;
+ background: #bd362f;
box-shadow: none;
}
@@ -242,49 +266,60 @@ a.btn,
line-height: 2.5em;
font-size: 0.9rem;
}
+
.nav-list .item:hover {
background: #fafafa;
}
+
.nav-list .item:hover a {
- color: #003388;
+ color: #038;
}
+
.nav-list .item.active {
- background: #0062BE;
+ background: #0062be;
color: #fff;
}
+
.nav-list .item.active a {
color: #fff;
}
+
.nav-list .disable {
- color: #aaa;
background: #fafafa;
+ color: #aaa;
text-align: center;
}
+
.nav-list .item > a {
padding: 0 10px;
}
+
.nav-list a:hover {
text-decoration: none;
}
+
.nav-list .item.empty a {
color: #f39c12;
}
+
.nav-list .item.active.empty a {
- color: #fff;
background: #f39c12;
+ color: #fff;
}
+
.nav-list .item.error a {
- color: #BD362F;
+ color: #bd362f;
}
+
.nav-list .item.active.error a {
+ background: #bd362f;
color: #fff;
- background: #BD362F;
}
.nav-list .nav-header {
padding: 0 10px;
- color: #888;
background: #f4f4f4;
+ color: #888;
border-bottom: 1px solid #ddd;
font-weight: bold;
text-shadow: 0 0 1px #ddd;
@@ -306,6 +341,7 @@ a.btn,
border-bottom: 1px solid #ddd;
text-align: right;
}
+
.nav-head .item {
padding: 5px 10px;
font-size: 0.9rem;
@@ -318,6 +354,7 @@ a.btn,
padding: 0;
font-size: 0.9rem;
}
+
.horizontal-list .item {
vertical-align: middle;
line-height: 30px;
@@ -327,34 +364,34 @@ a.btn,
.dropdown-menu {
margin: 5px 0 0;
padding: 5px 0;
+ font-size: 0.8rem;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 3px 3px 3px #ddd;
- font-size: 0.8rem;
text-align: left;
}
+
.dropdown-menu::after {
- content: "";
- position: absolute;
- top: -6px;
- right: 13px;
+ background: #fff;
width: 10px;
height: 10px;
- background: #fff;
border-top: 1px solid #ddd;
border-left: 1px solid #ddd;
+ content: "";
+ position: absolute;
+ top: -6px;
+ right: 13px;
z-index: -10;
transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-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 {
@@ -362,18 +399,22 @@ a.btn,
line-height: 2.5em;
font-size: 0.8rem;
}
+
.dropdown-menu > .item:hover {
- background: #0062BE;
+ background: #0062be;
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;
@@ -391,35 +432,40 @@ a.btn,
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;
- color: #aaa;
text-shadow: 0 0 1px #eee;
- font-size: 0.9em;
}
+
.alert-head {
font-size: 1.15em;
}
+
.alert > a {
color: inherit;
text-decoration: underline;
}
+
.alert-warn {
background: #ffe;
- border: 1px solid #eeb;
color: #c95;
+ border: 1px solid #eeb;
}
+
.alert-success {
background: #dfd;
- border: 1px solid #cec;
color: #484;
+ border: 1px solid #cec;
}
+
.alert-error {
background: #fdd;
- border: 1px solid #ecc;
color: #844;
+ border: 1px solid #ecc;
}
/*=== Pagination */
@@ -429,14 +475,17 @@ a.btn,
color: #333;
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;
@@ -444,12 +493,15 @@ a.btn,
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 #aaa;
}
@@ -466,6 +518,7 @@ a.btn,
border-radius: 5px;
box-shadow: 0 0 3px #bbb;
}
+
.box .box-title {
margin: 0;
padding: 5px 10px;
@@ -473,6 +526,7 @@ a.btn,
border-bottom: 1px solid #ddd;
border-radius: 5px 5px 0 0;
}
+
.box .box-content {
min-height: 2.5em;
max-height: 260px;
@@ -488,6 +542,7 @@ a.btn,
.box .box-content .item .configure {
visibility: hidden;
}
+
.box .box-title:hover .configure,
.box .box-content .item:hover .configure {
visibility: visible;
@@ -497,6 +552,7 @@ a.btn,
.tree {
margin: 10px 0;
}
+
.tree-folder-title {
position: relative;
padding: 0 5px;
@@ -504,36 +560,45 @@ a.btn,
line-height: 2rem;
font-size: 0.9rem;
}
+
.tree-folder-title .title {
background: inherit;
color: #444;
}
+
.tree-folder-title .title:hover {
text-decoration: none;
}
+
.tree-folder.active .tree-folder-title {
background: #f0f0f0;
font-weight: bold;
}
+
.tree-folder.active .tree-folder-title .title {
- color: #0062BE;
+ color: #0062be;
}
+
.tree-folder-items {
+ background: #f6f6f6;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
- background: #f6f6f6;
}
+
.tree-folder-items > .item {
padding: 0 10px;
line-height: 2.2rem;
font-size: 0.8rem;
}
+
.tree-folder-items > .item.active {
background: #0062be;
}
+
.tree-folder-items > .item > a {
text-decoration: none;
}
+
.tree-folder-items > .item.active > a {
color: #fff;
}
@@ -542,40 +607,47 @@ a.btn,
/*===============*/
/*=== Header */
.header {
- height: 40px;
background: #f4f4f4;
+ height: 40px;
}
+
.header > .item {
padding: 0px;
border-bottom: 1px solid #aaa;
vertical-align: middle;
text-align: center;
}
-.header > .item.title{
+
+.header > .item.title {
width: 230px;
}
+
.header > .item.title h1 {
margin: 0;
font-size: 1em;
}
+
.header > .item.title h1 a {
text-decoration: none;
}
+
.header .item.configure .btn,
.header .item.search .btn {
min-height: 18px;
padding: 4px 10px;
line-height: 18px;
}
+
.header > .item.title .logo {
- height: 25px;
width: 25px;
+ height: 25px;
}
.header > .item.search input {
- width: 230px;
padding: 1px 5px;
+ width: 230px;
}
+
.header .item.search input:focus {
width: 350px;
}
@@ -584,54 +656,63 @@ a.btn,
#global {
height: calc(100% - 85px);
}
+
.aside {
- border-right: 1px solid #aaa;
background: #fff;
+ border-right: 1px solid #aaa;
}
+
.aside.aside_feed {
padding: 10px 0;
text-align: center;
background: #fff;
}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
/*=== Aside main page (categories) */
.aside_feed .category .title:not([data-unread="0"])::after {
- position: absolute;
- right: 0;
margin: 10px 0;
padding: 0 10px;
+ background: inherit;
font-size: 0.8rem;
+ position: absolute;
+ right: 0;
line-height: 0.9rem;
- background: inherit;
}
/*=== 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;
@@ -643,9 +724,11 @@ a.btn,
padding: 10px 50px;
font-size: 0.9em;
}
+
.post form {
margin: 10px 0;
}
+
.post.content {
max-width: 550px;
}
@@ -654,52 +737,61 @@ a.btn,
.prompt {
text-align: center;
}
+
.prompt label {
text-align: left;
}
+
.prompt form {
margin: 10px auto 20px auto;
width: 200px;
}
+
.prompt input {
margin: 5px auto;
width: 100%;
}
+
.prompt p {
margin: 20px 0;
}
/*=== New article notification */
#new-article {
- background: #0084CC;
+ background: #0084cc;
text-align: center;
font-size: 0.9em;
}
+
#new-article:hover {
- background: #0066CC;
+ background: #06c;
}
+
#new-article > a {
line-height: 3em;
color: #fff;
font-weight: bold;
}
+
#new-article > a:hover {
text-decoration: none;
}
/*=== Day indication */
.day {
- font-size: 0.9rem;
padding: 0 10px;
- font-weight: bold;
- line-height: 2em;
background: #fff;
+ font-size: 0.9rem;
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
+ font-weight: bold;
+ line-height: 2em;
}
+
#new-article + .day {
border-top: none;
}
+
.day .name {
padding: 0 10px 0 0;
color: #aab;
@@ -711,53 +803,62 @@ a.btn,
/*=== Index menu */
.nav_menu {
+ padding: 5px 0;
background: #fafafa;
border-bottom: 1px solid #aaa;
text-align: center;
- padding: 5px 0;
}
/*=== Feed articles */
.flux {
- border-left: 2px solid #aaa;
background: #fafafa;
+ border-left: 2px solid #aaa;
}
+
.flux:hover {
background: #fff;
}
+
.flux.current {
- border-left: 2px solid #0062BE;
+ background: #fff;
+ border-left: 2px solid #0062be;
}
+
.flux.not_read {
- border-left: 2px solid #FF5300;
- background: #FFF3ED;
+ border-left-color: #ff5300;
+}
+
+.flux.not_read:not(.current) {
+ background: #fff3ed;
}
+
.flux.not_read:not(.current):hover .item.title {
- background: #FFF3ED;
+ background: inherit;
}
+
.flux.favorite {
- border-left: 2px solid #FFC300;
- background: #FFF6DA;
+ background: #fff6da;
+ border-left: 2px solid #ffc300;
}
+
.flux.favorite:not(.current):hover .item.title {
- background: #FFF6DA;
-}
-.flux.current {
- background: #fff;
+ background: #fff6da;
}
-
.flux_header {
- border-top: 1px solid #ddd;
font-size: 0.8rem;
+ border-top: 1px solid #ddd;
cursor: pointer;
}
+
.flux_header .title {
font-size: 0.8rem;
}
+
.flux .website .favicon {
padding: 5px;
}
+
.flux .date {
color: #666;
font-size: 0.7rem;
@@ -772,17 +873,19 @@ a.btn,
.content {
padding: 10px 10px;
}
+
#stream.normal .content > h1.title {
- display:none;
+ display: none;
}
+
.content > h1.title > a {
color: #000;
}
.content hr {
margin: 30px 10px;
- height: 1px;
background: #ddd;
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px #ccc;
}
@@ -796,13 +899,15 @@ a.btn,
font-size: 0.9rem;
border-radius: 3px;
}
+
.content code {
padding: 2px 5px;
- color: #dd1144;
background: #fafafa;
+ color: #d14;
border: 1px solid #eee;
border-radius: 3px;
}
+
.content pre code {
background: transparent;
color: #fff;
@@ -810,14 +915,15 @@ a.btn,
}
.content blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
- border-top: 1px solid #ddd;
- border-bottom: 1px solid #ddd;
background: #fafafa;
+ display: block;
color: #333;
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
}
+
.content blockquote p {
margin: 0;
}
@@ -825,33 +931,38 @@ a.btn,
/*=== Notification and actualize notification */
.notification {
padding: 0 0 0 5px;
- text-align: center;
+ font-size: 0.9em;
border: 1px solid #eeb;
border-radius: 3px;
box-shadow: 0 0 5px #ddd;
+ text-align: center;
font-weight: bold;
- font-size: 0.9em;
line-height: 3em;
z-index: 10;
vertical-align: middle;
}
+
.notification.good {
background: #ffe;
- border: 1px solid #eeb;
color: #c95;
+ border: 1px solid #eeb;
}
+
.notification.bad {
background: #fdd;
- border: 1px solid #ecc;
color: #844;
+ border: 1px solid #ecc;
}
+
.notification a.close {
padding: 0 15px;
line-height: 3em;
}
+
.notification.good a.close:hover {
background: #eeb;
}
+
.notification.bad a.close:hover {
background: #ecc;
}
@@ -862,20 +973,23 @@ a.btn,
/*=== "Load more" part */
#bigMarkAsRead {
- text-align: center;
- text-decoration: none;
- color: #666;
background: #fafafa;
+ color: #666;
font-size: 1.2em;
+ text-align: center;
+ text-decoration: none;
}
+
#bigMarkAsRead:hover {
- color: #0062be;
background: #fff;
+ color: #0062be;
box-shadow: 0 -5px 10px #eee inset;
}
+
#bigMarkAsRead .bigTick {
font-size: 3em;
}
+
#bigMarkAsRead:hover .bigTick {
text-shadow: 0 0 5px #0062be;
}
@@ -894,14 +1008,15 @@ a.btn,
/*================*/
#stream.reader .flux {
padding: 0 0 50px;
- border: none;
background: #f0f0f0;
color: #333;
+ border: none;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
color: #666;
+ font-size: 90%;
}
/*=== GLOBAL VIEW */
@@ -911,26 +1026,31 @@ a.btn,
text-decoration: none;
text-align: left;
}
+
.box.category:not([data-unread="0"]) .box-title {
- background: #0084CC;
+ background: #0084cc;
}
+
.box.category:not([data-unread="0"]) .box-title:active {
background: #3498db;
}
+
.box.category:not([data-unread="0"]) .box-title .title {
color: #fff;
font-weight: bold;
}
+
.box.category .title:not([data-unread="0"])::after {
- position: absolute;
- top: 5px; right: 10px;
- border: 0;
background: none;
color: #fff;
- font-weight: bold;
+ 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;
@@ -942,9 +1062,11 @@ a.btn,
.aside.aside_feed .nav-form select {
width: 140px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu {
right: -20px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
right: 33px;
}
@@ -960,6 +1082,7 @@ a.btn,
.stat tr {
border: none;
}
+
.stat > table td,
.stat > table th {
border-bottom: 1px solid #ddd;
@@ -968,11 +1091,13 @@ a.btn,
.stat > .horizontal-list {
margin: 0 0 5px;
}
+
.stat > .horizontal-list .item {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
+
.stat > .horizontal-list .item:first-child {
width: 270px;
}
@@ -984,31 +1109,38 @@ a.btn,
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;
@@ -1016,24 +1148,22 @@ a.btn,
/*=== MOBILE */
/*===========*/
-@media(max-width: 840px) {
+
+@media (max-width: 840px) {
.aside {
box-shadow: 3px 0 3px #aaa;
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
+
.aside .toggle_aside,
#panel .close {
+ background: #f6f6f6;
display: block;
width: 100%;
height: 50px;
+ border-bottom: 1px solid #ddd;
line-height: 50px;
text-align: center;
- background: #f6f6f6;
- border-bottom: 1px solid #ddd;
}
.aside.aside_feed {
@@ -1043,20 +1173,25 @@ a.btn,
.nav_menu .btn {
margin: 5px 10px;
}
+
.nav_menu .stick {
margin: 0 10px;
}
+
.nav_menu .stick .btn {
margin: 5px 0;
}
+
.nav_menu .search {
display: inline-block;
max-width: 97%;
}
+
.nav_menu .search input {
max-width: 97%;
width: 90px;
}
+
.nav_menu .search input:focus {
width: 400px;
}
@@ -1071,13 +1206,15 @@ a.btn,
}
.notification a.close {
+ background: transparent;
display: block;
left: 0;
- background: transparent;
}
+
.notification a.close:hover {
opacity: 0.5;
}
+
.notification a.close .icon {
display: none;
}
diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css
index 11dec90ac..7e826dd5f 100644
--- a/p/themes/Origine/origine.css
+++ b/p/themes/Origine/origine.css
@@ -3,9 +3,9 @@
/*=== GENERAL */
/*============*/
html, body {
+ background: #fafafa;
height: 100%;
font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
- background: #fafafa;
}
/*=== Links */
@@ -18,50 +18,54 @@ a, button.as-link {
legend {
margin: 20px 0 5px;
padding: 5px 0;
- border-bottom: 1px solid #ddd;
font-size: 1.4em;
+ border-bottom: 1px solid #ddd;
}
+
label {
min-height: 25px;
padding: 5px 0;
cursor: pointer;
}
+
textarea {
width: 360px;
height: 100px;
}
+
input, select, textarea {
- min-height: 25px;
padding: 5px;
background: #fdfdfd;
+ color: #666;
border: 1px solid #bbb;
border-radius: 3px;
- color: #666;
+ box-shadow: 0 2px 2px #eee inset;
+ min-height: 25px;
line-height: 25px;
vertical-align: middle;
- box-shadow: 0 2px 2px #eee inset;
}
+
option {
padding: 0 .5em;
}
+
input:focus, select:focus, textarea:focus {
color: #0062be;
- border-color: #33bbff;
- box-shadow: 0 2px 2px #ddddff inset;
+ border-color: #3bf;
+ box-shadow: 0 2px 2px #ddf inset;
}
+
input:invalid, select:invalid {
border-color: #f00;
box-shadow: 0 0 2px 2px #fdd inset;
}
+
input:disabled, select:disabled {
background: #eee;
}
+
input.extend {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
/*=== Tables */
@@ -73,9 +77,11 @@ tr, th, td {
padding: 0.5em;
border: 1px solid #ddd;
}
+
th {
background: #f6f6f6;
}
+
form td,
form th {
font-weight: normal;
@@ -90,17 +96,21 @@ form th {
background: #f4f4f4;
border-top: 1px solid #ddd;
}
+
.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;
}
@@ -110,21 +120,26 @@ form th {
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,
@@ -136,102 +151,87 @@ form th {
.stick .dropdown + .dropdown > .btn {
border-left: none;
}
+
.stick input + .btn {
border-top: 1px solid #bbb;
}
+
.stick .btn + .dropdown > .btn {
border-left: none;
border-radius: 0 3px 3px 0;
}
.btn {
- display: inline-block;
- min-height: 37px;
- min-width: 15px;
- line-height: 25px;
margin: 0;
padding: 5px 10px;
background: #fff;
background: linear-gradient(to bottom, #fff 0%, #eee 100%);
- 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%);
- border-radius: 3px;
+ display: inline-block;
+ color: #666;
+ font-size: 0.9rem;
border: 1px solid #ddd;
- border-bottom: 1px solid #aaa;
border-right: 1px solid #aaa;
- color: #666;
+ border-bottom: 1px solid #aaa;
+ border-radius: 3px;
+ min-height: 37px;
+ min-width: 15px;
+ line-height: 25px;
text-shadow: 0px -1px 0 #ddd;
- font-size: 0.9rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
}
+
a.btn {
min-height: 25px;
line-height: 25px;
}
+
.btn:hover {
background: #f0f0f0;
background: linear-gradient(to bottom, #f8f8f8, #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%);
text-decoration: none;
}
+
.btn.active,
.btn:active,
.dropdown-target:target ~ .btn.dropdown-toggle {
- box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
background: #eee;
+ box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
}
.btn-important {
- background: #0084CC;
- background: linear-gradient(to bottom, #0084CC, #0045CC);
- 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%);
+ background: #0084cc;
+ background: linear-gradient(to bottom, #0084cc, #0045cc);
color: #fff;
- border: 1px solid #0062B7;
+ border: 1px solid #0062b7;
text-shadow: 0px -1px 0 #aaa;
font-weight: normal;
}
+
.btn-important:hover {
- background: linear-gradient(to bottom, #0066CC, #0045CC);
- 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%);
+ background: linear-gradient(to bottom, #06c, #0045cc);
}
+
.btn-important:active {
- background: #0044CB;
+ background: #0044cb;
box-shadow: none;
}
.btn-attention {
- background: #E95B57;
- background: linear-gradient(to bottom, #E95B57, #BD362F);
- 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%);
+ background: #e95b57;
+ background: linear-gradient(to bottom, #e95b57, #bd362f);
color: #fff;
- border: 1px solid #C44742;
+ border: 1px solid #c44742;
text-shadow: 0px -1px 0px #666;
}
+
.btn-attention:hover {
- background: linear-gradient(to bottom, #D14641, #BD362F);
- 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%);
+ background: linear-gradient(to bottom, #d14641, #bd362f);
}
+
.btn-attention:active {
- background: #BD362F;
+ background: #bd362f;
box-shadow: none;
}
@@ -242,49 +242,60 @@ a.btn {
line-height: 2.5em;
font-size: 0.9rem;
}
+
.nav-list .item:hover {
background: #fafafa;
}
+
.nav-list .item:hover a {
- color: #003388;
+ color: #038;
}
+
.nav-list .item.active {
- background: #0062BE;
+ background: #0062be;
color: #fff;
}
+
.nav-list .item.active a {
color: #fff;
}
+
.nav-list .disable {
- color: #aaa;
background: #fafafa;
+ color: #aaa;
text-align: center;
}
+
.nav-list .item > a {
padding: 0 10px;
}
+
.nav-list a:hover {
text-decoration: none;
}
+
.nav-list .item.empty a {
color: #f39c12;
}
+
.nav-list .item.active.empty a {
- color: #fff;
background: #f39c12;
+ color: #fff;
}
+
.nav-list .item.error a {
- color: #BD362F;
+ color: #bd362f;
}
+
.nav-list .item.active.error a {
+ background: #bd362f;
color: #fff;
- background: #BD362F;
}
.nav-list .nav-header {
padding: 0 10px;
- color: #888;
background: #f4f4f4;
+ color: #888;
border-bottom: 1px solid #ddd;
font-weight: bold;
text-shadow: 0 0 1px #ddd;
@@ -299,13 +310,10 @@ a.btn {
margin: 0;
background: #fff;
background: linear-gradient(to bottom, #fff, #f0f0f0);
- 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%);
border-bottom: 1px solid #ddd;
text-align: right;
}
+
.nav-head .item {
padding: 5px 10px;
font-size: 0.9rem;
@@ -317,6 +325,7 @@ a.btn {
margin: 0;
padding: 0;
}
+
.horizontal-list .item {
vertical-align: middle;
}
@@ -325,34 +334,34 @@ a.btn {
.dropdown-menu {
margin: 5px 0 0;
padding: 5px 0;
+ font-size: 0.8rem;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 3px 3px 3px #ddd;
- font-size: 0.8rem;
text-align: left;
}
+
.dropdown-menu::after {
- content: "";
- position: absolute;
- top: -6px;
- right: 13px;
+ background: #fff;
width: 10px;
height: 10px;
- background: #fff;
border-top: 1px solid #ddd;
border-left: 1px solid #ddd;
+ content: "";
+ position: absolute;
+ top: -6px;
+ right: 13px;
z-index: -10;
transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-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 {
@@ -360,18 +369,22 @@ a.btn {
line-height: 2.5em;
font-size: 0.8rem;
}
+
.dropdown-menu > .item:hover {
- background: #0062BE;
+ background: #0062be;
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;
@@ -389,35 +402,40 @@ a.btn {
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;
- color: #aaa;
text-shadow: 0 0 1px #eee;
- font-size: 0.9em;
}
+
.alert-head {
font-size: 1.15em;
}
+
.alert > a {
color: inherit;
text-decoration: underline;
}
+
.alert-warn {
background: #ffe;
- border: 1px solid #eeb;
color: #c95;
+ border: 1px solid #eeb;
}
+
.alert-success {
background: #dfd;
- border: 1px solid #cec;
color: #484;
+ border: 1px solid #cec;
}
+
.alert-error {
background: #fdd;
- border: 1px solid #ecc;
color: #844;
+ border: 1px solid #ecc;
}
/*=== Pagination */
@@ -427,14 +445,17 @@ a.btn {
color: #333;
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;
@@ -442,12 +463,15 @@ a.btn {
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 #aaa;
}
@@ -464,6 +488,7 @@ a.btn {
border-radius: 5px;
box-shadow: 0 0 3px #bbb;
}
+
.box .box-title {
margin: 0;
padding: 5px 10px;
@@ -471,6 +496,7 @@ a.btn {
border-bottom: 1px solid #ddd;
border-radius: 5px 5px 0 0;
}
+
.box .box-content {
min-height: 2.5em;
max-height: 260px;
@@ -486,6 +512,7 @@ a.btn {
.box .box-content .item .configure {
visibility: hidden;
}
+
.box .box-title:hover .configure,
.box .box-content .item:hover .configure {
visibility: visible;
@@ -495,6 +522,7 @@ a.btn {
.tree {
margin: 10px 0;
}
+
.tree-folder-title {
position: relative;
padding: 0 10px;
@@ -502,36 +530,45 @@ a.btn {
line-height: 2.5rem;
font-size: 1rem;
}
+
.tree-folder-title .title {
background: inherit;
color: #444;
}
+
.tree-folder-title .title:hover {
text-decoration: none;
}
+
.tree-folder.active .tree-folder-title {
background: #f0f0f0;
font-weight: bold;
}
+
.tree-folder.active .tree-folder-title .title {
- color: #0062BE;
+ color: #0062be;
}
+
.tree-folder-items {
+ background: #f6f6f6;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
- background: #f6f6f6;
}
+
.tree-folder-items > .item {
padding: 0 10px;
line-height: 2.5rem;
font-size: 0.8rem;
}
+
.tree-folder-items > .item.active {
background: #0062be;
}
+
.tree-folder-items > .item > a {
text-decoration: none;
}
+
.tree-folder-items > .item.active > a {
color: #fff;
}
@@ -540,28 +577,34 @@ a.btn {
/*===============*/
/*=== Header */
.header {
- height: 85px;
background: #f4f4f4;
+ height: 85px;
}
+
.header > .item {
padding: 10px;
border-bottom: 1px solid #aaa;
vertical-align: middle;
text-align: center;
}
-.header > .item.title{
+
+.header > .item.title {
width: 230px;
}
+
.header > .item.title h1 {
margin: 0.5em 0;
text-shadow: 1px -1px 0 #ccc;
}
+
.header > .item.title h1 a {
text-decoration: none;
}
+
.header > .item.search input {
width: 230px;
}
+
.header .item.search input:focus {
width: 350px;
}
@@ -570,54 +613,63 @@ a.btn {
#global {
height: calc(100% - 85px);
}
+
.aside {
- border-right: 1px solid #aaa;
background: #fff;
+ border-right: 1px solid #aaa;
}
+
.aside.aside_feed {
padding: 10px 0;
text-align: center;
background: #fff;
}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
/*=== Aside main page (categories) */
.aside_feed .category .title:not([data-unread="0"])::after {
- position: absolute;
- right: 0;
margin: 10px 0;
padding: 0 10px;
+ background: inherit;
font-size: 0.9rem;
+ position: absolute;
+ right: 0;
line-height: 1.5rem;
- background: inherit;
}
/*=== Aside main page (feeds) */
.feed.item.empty.active {
background: #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;
@@ -629,9 +681,11 @@ a.btn {
padding: 10px 50px;
font-size: 0.9em;
}
+
.post form {
margin: 10px 0;
}
+
.post.content {
max-width: 550px;
}
@@ -640,35 +694,42 @@ a.btn {
.prompt {
text-align: center;
}
+
.prompt label {
text-align: left;
}
+
.prompt form {
margin: 10px auto 20px auto;
width: 200px;
}
+
.prompt input {
margin: 5px auto;
width: 100%;
}
+
.prompt p {
margin: 20px 0;
}
/*=== New article notification */
#new-article {
- background: #0084CC;
+ background: #0084cc;
text-align: center;
font-size: 0.9em;
}
+
#new-article:hover {
- background: #0066CC;
+ background: #06c;
}
+
#new-article > a {
line-height: 3em;
color: #fff;
font-weight: bold;
}
+
#new-article > a:hover {
text-decoration: none;
}
@@ -682,9 +743,11 @@ a.btn {
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
}
+
#new-article + .day {
border-top: none;
}
+
.day .name {
padding: 0 10px 0 0;
color: #aab;
@@ -697,53 +760,62 @@ a.btn {
/*=== Index menu */
.nav_menu {
+ padding: 5px 0;
background: #fafafa;
border-bottom: 1px solid #aaa;
text-align: center;
- padding: 5px 0;
}
/*=== Feed articles */
.flux {
- border-left: 2px solid #aaa;
background: #fafafa;
+ border-left: 2px solid #aaa;
}
+
.flux:hover {
background: #fff;
}
+
.flux.current {
- border-left: 2px solid #0062BE;
+ background: #fff;
+ border-left: 2px solid #0062be;
}
+
.flux.not_read {
- border-left: 2px solid #FF5300;
- background: #FFF3ED;
+ border-left: 2px solid #ff5300;
}
+
+.flux.not_read:not(.current) {
+ background: #fff3ed;
+}
+
.flux.not_read:not(.current):hover .item.title {
- background: #FFF3ED;
+ background: inherit;
}
+
.flux.favorite {
- border-left: 2px solid #FFC300;
- background: #FFF6DA;
+ background: #fff6da;
+ border-left: 2px solid #ffc300;
}
+
.flux.favorite:not(.current):hover .item.title {
- background: #FFF6DA;
-}
-.flux.current {
- background: #fff;
+ background: #fff6da;
}
-
.flux_header {
- border-top: 1px solid #ddd;
font-size: 0.8rem;
+ border-top: 1px solid #ddd;
cursor: pointer;
}
+
.flux_header .title {
font-size: 0.9rem;
}
+
.flux .website .favicon {
padding: 5px;
}
+
.flux .date {
color: #666;
font-size: 0.7rem;
@@ -758,14 +830,15 @@ a.btn {
.content {
padding: 20px 10px;
}
+
.content > h1.title > a {
color: #000;
}
.content hr {
margin: 30px 10px;
- height: 1px;
background: #ddd;
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px #ccc;
}
@@ -779,13 +852,15 @@ a.btn {
font-size: 0.9rem;
border-radius: 3px;
}
+
.content code {
padding: 2px 5px;
- color: #dd1144;
background: #fafafa;
+ color: #d14;
border: 1px solid #eee;
border-radius: 3px;
}
+
.content pre code {
background: transparent;
color: #fff;
@@ -793,14 +868,15 @@ a.btn {
}
.content blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
- border-top: 1px solid #ddd;
- border-bottom: 1px solid #ddd;
background: #fafafa;
+ display: block;
color: #333;
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
}
+
.content blockquote p {
margin: 0;
}
@@ -808,33 +884,38 @@ a.btn {
/*=== Notification and actualize notification */
.notification {
padding: 0 0 0 5px;
- text-align: center;
+ font-size: 0.9em;
border: 1px solid #eeb;
border-radius: 3px;
box-shadow: 0 0 5px #ddd;
+ text-align: center;
font-weight: bold;
- font-size: 0.9em;
line-height: 3em;
z-index: 10;
vertical-align: middle;
}
+
.notification.good {
background: #ffe;
- border: 1px solid #eeb;
color: #c95;
+ border: 1px solid #eeb;
}
+
.notification.bad {
background: #fdd;
- border: 1px solid #ecc;
color: #844;
+ border: 1px solid #ecc;
}
+
.notification a.close {
padding: 0 15px;
line-height: 3em;
}
+
.notification.good a.close:hover {
background: #eeb;
}
+
.notification.bad a.close:hover {
background: #ecc;
}
@@ -845,17 +926,19 @@ a.btn {
/*=== "Load more" part */
#bigMarkAsRead {
+ background: #fafafa;
+ color: #666;
text-align: center;
text-decoration: none;
text-shadow: 0 -1px 0 #aaa;
- color: #666;
- background: #fafafa;
}
+
#bigMarkAsRead:hover {
- color: #0062be;
background: #fff;
+ color: #0062be;
box-shadow: 0 -5px 10px #eee inset;
}
+
#bigMarkAsRead:hover .bigTick {
text-shadow: 0 0 5px #0062be;
}
@@ -874,14 +957,15 @@ a.btn {
/*================*/
#stream.reader .flux {
padding: 0 0 50px;
- border: none;
background: #f0f0f0;
color: #333;
+ border: none;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
color: #666;
+ font-size: 90%;
}
/*=== GLOBAL VIEW */
@@ -891,26 +975,31 @@ a.btn {
text-decoration: none;
text-align: left;
}
+
.box.category:not([data-unread="0"]) .box-title {
- background: #0084CC;
+ background: #0084cc;
}
+
.box.category:not([data-unread="0"]) .box-title:active {
background: #3498db;
}
+
.box.category:not([data-unread="0"]) .box-title .title {
color: #fff;
font-weight: bold;
}
+
.box.category .title:not([data-unread="0"])::after {
- position: absolute;
- top: 5px; right: 10px;
- border: 0;
background: none;
color: #fff;
- font-weight: bold;
+ 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;
@@ -922,9 +1011,11 @@ a.btn {
.aside.aside_feed .nav-form select {
width: 140px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu {
right: -20px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
right: 33px;
}
@@ -940,6 +1031,7 @@ a.btn {
.stat tr {
border: none;
}
+
.stat > table td,
.stat > table th {
border-bottom: 1px solid #ddd;
@@ -948,11 +1040,13 @@ a.btn {
.stat > .horizontal-list {
margin: 0 0 5px;
}
+
.stat > .horizontal-list .item {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
+
.stat > .horizontal-list .item:first-child {
width: 270px;
}
@@ -964,31 +1058,38 @@ a.btn {
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;
@@ -996,24 +1097,22 @@ a.btn {
/*=== MOBILE */
/*===========*/
-@media(max-width: 840px) {
+
+@media (max-width: 840px) {
.aside {
box-shadow: 3px 0 3px #aaa;
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
+
.aside .toggle_aside,
#panel .close {
+ background: #f6f6f6;
display: block;
width: 100%;
height: 50px;
+ border-bottom: 1px solid #ddd;
line-height: 50px;
text-align: center;
- background: #f6f6f6;
- border-bottom: 1px solid #ddd;
}
.aside.aside_feed {
@@ -1023,20 +1122,25 @@ a.btn {
.nav_menu .btn {
margin: 5px 10px;
}
+
.nav_menu .stick {
margin: 0 10px;
}
+
.nav_menu .stick .btn {
margin: 5px 0;
}
+
.nav_menu .search {
display: inline-block;
max-width: 97%;
}
+
.nav_menu .search input {
max-width: 97%;
width: 90px;
}
+
.nav_menu .search input:focus {
width: 400px;
}
@@ -1051,13 +1155,15 @@ a.btn {
}
.notification a.close {
+ background: transparent;
display: block;
left: 0;
- background: transparent;
}
+
.notification a.close:hover {
opacity: 0.5;
}
+
.notification a.close .icon {
display: none;
}
diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css
index 46425cd5c..8b6bc5f62 100644
--- a/p/themes/Pafat/pafat.css
+++ b/p/themes/Pafat/pafat.css
@@ -3,10 +3,10 @@
/*=== GENERAL */
/*============*/
html, body {
+ background: #fafafa;
height: 100%;
+ color: #666;
font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
- background: #fafafa;
- color : #666;
}
/*=== Links */
@@ -19,25 +19,28 @@ a {
legend {
margin: 20px 0 5px;
padding: 5px 0;
- border-bottom: 1px solid #ddd;
font-size: 1.4em;
+ border-bottom: 1px solid #ddd;
}
+
label {
min-height: 25px;
padding: 5px 0;
cursor: pointer;
}
+
textarea {
width: 360px;
height: 100px;
}
+
input, select, textarea {
- min-height: 25px;
padding: 1px;
background: #fdfdfd;
+ color: #666;
border: 1px solid #bbb;
border-radius: 3px;
- color: #666;
+ min-height: 25px;
line-height: 21px;
vertical-align: middle;
}
@@ -45,24 +48,23 @@ input, select, textarea {
option {
padding: 0 .5em;
}
+
input:focus, select:focus, textarea:focus {
- outline-color: #aaa;
+ outline-color: #aaa;
}
input:invalid, select:invalid {
border-color: #f00;
box-shadow: 0 0 2px 2px #fdd inset;
- outline-color: #fdd;
+ outline-color: #fdd;
}
+
input:disabled, select:disabled {
background: #eee;
}
+
input.extend {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
/*=== Tables */
@@ -74,9 +76,11 @@ tr, th, td {
padding: 0.5em;
border: 1px solid #ddd;
}
+
th {
background: #f6f6f6;
}
+
form td,
form th {
font-weight: normal;
@@ -91,19 +95,23 @@ form th {
background: #f4f4f4;
border-top: 1px solid #ddd;
}
+
.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;
+ margin: 10px 0 10px 220px;
padding: 5px 0;
- margin : 10px 0 10px 220px;
+ min-height: 25px;
}
+
.form-group table {
margin: 10px 0 0 220px;
}
@@ -114,21 +122,26 @@ form th {
font-size: 0;
min-width: 215px;
}
+
.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 {
- width:176px;
+ width: 176px;
}
+
.stick .btn:last-child,
.stick input:last-child {
border-radius: 0 3px 3px 0;
}
+
.stick .btn + .btn,
.stick .btn + input,
.stick .btn + .dropdown > .btn,
@@ -148,17 +161,17 @@ form th {
}
.btn {
- display: inline-block;
- min-height: 29px;
- min-width: 15px;
- line-height: 25px;
margin: 0;
padding: 1px 5px;
background: #fff;
- border-radius: 3px;
- border: 1px solid #aaa;
+ display: inline-block;
color: #666;
font-size: 0.9rem;
+ border: 1px solid #aaa;
+ border-radius: 3px;
+ min-height: 29px;
+ min-width: 15px;
+ line-height: 25px;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
@@ -170,7 +183,7 @@ a.btn {
}
.read_all.btn {
- height:29px;
+ height: 29px;
}
.btn:hover {
@@ -190,9 +203,10 @@ a.btn {
border-color: #5cb85c;
font-weight: normal;
}
+
.btn-important:hover, .btn-important:active {
- background:#47a447;
- border-color : #47a447;
+ background: #47a447;
+ border-color: #47a447;
box-shadow: none;
}
@@ -200,12 +214,14 @@ a.btn {
background: #d9534f;
color: #fff;
border: 1px solid #d9534f;
- outline-color : #aaa;
+ outline-color: #aaa;
}
+
.btn-attention:hover {
background: #d2322d;
- border-color : #d2322d;
+ border-color: #d2322d;
}
+
.btn-attention:active {
background: #d2322d;
box-shadow: none;
@@ -218,49 +234,60 @@ a.btn {
line-height: 2.5em;
font-size: 0.9rem;
}
+
.nav-list .item:hover {
background: #fafafa;
}
+
.nav-list .item:hover a {
- color: #003388;
+ color: #038;
}
+
.nav-list .item.active {
- background: #3498DB;
+ background: #3498db;
color: #fff;
}
+
.nav-list .item.active a {
color: #fff;
}
+
.nav-list .disable {
- color: #aaa;
background: #fafafa;
+ color: #aaa;
text-align: center;
}
+
.nav-list .item > a {
padding: 0 10px;
}
+
.nav-list a:hover {
text-decoration: none;
}
+
.nav-list .item.empty a {
color: #f39c12;
}
+
.nav-list .item.active.empty a {
- color: #fff;
background: #f39c12;
+ color: #fff;
}
+
.nav-list .item.error a {
- color: #BD362F;
+ color: #bd362f;
}
+
.nav-list .item.active.error a {
+ background: #bd362f;
color: #fff;
- background: #BD362F;
}
.nav-list .nav-header {
padding: 0 10px;
- color: #888;
background: #f4f4f4;
+ color: #888;
border-bottom: 1px solid #ddd;
font-weight: bold;
}
@@ -274,13 +301,9 @@ a.btn {
margin: 0;
background: #fff;
background: linear-gradient(to bottom, #fff, #f0f0f0);
- 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%);
- border-bottom: 1px solid #ddd;
text-align: right;
}
+
.nav-head .item {
padding: 5px 10px;
font-size: 0.9rem;
@@ -292,6 +315,7 @@ a.btn {
margin: 0;
padding: 0;
}
+
.horizontal-list .item {
vertical-align: middle;
}
@@ -300,27 +324,26 @@ a.btn {
.dropdown-menu {
margin: 5px 0 0;
padding: 5px 0;
+ font-size: 0.8rem;
border: 1px solid #aaa;
border-radius: 5px;
- font-size: 0.8rem;
text-align: left;
}
+
.dropdown-menu::after {
- content: "";
- position: absolute;
- top: -6px;
- right: 13px;
+ background: #fff;
width: 10px;
height: 10px;
- background: #fff;
border-top: 1px solid #aaa;
border-left: 1px solid #aaa;
+ content: "";
+ position: absolute;
+ top: -6px;
+ right: 13px;
z-index: -10;
transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
}
+
.dropdown-header {
padding: 0 5px 5px;
color: #888;
@@ -341,14 +364,17 @@ a.btn {
background: #eee;
color: #666;
}
+
.dropdown-menu > .item[aria-checked="true"] > a::before {
font-weight: bold;
margin: 0 0 0 -14px;
}
+
.dropdown-menu > .item:hover > a {
color: #666;
text-decoration: none;
}
+
.dropdown-menu .input select,
.dropdown-menu .input input {
margin: 0 auto 5px;
@@ -366,34 +392,39 @@ a.btn {
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;
- color: #aaa;
- font-size: 0.9em;
}
+
.alert-head {
font-size: 1.15em;
}
+
.alert > a {
color: inherit;
text-decoration: underline;
}
+
.alert-warn {
background: #ffe;
- border: 1px solid #eeb;
color: #c95;
+ border: 1px solid #eeb;
}
+
.alert-success {
background: #dfd;
- border: 1px solid #cec;
color: #484;
+ border: 1px solid #cec;
}
+
.alert-error {
background: #fdd;
- border: 1px solid #ecc;
color: #844;
+ border: 1px solid #ecc;
}
/*=== Pagination */
@@ -403,14 +434,17 @@ a.btn {
color: #41444f;
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: #41444f;
@@ -418,12 +452,15 @@ a.btn {
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 #aaa;
}
@@ -439,6 +476,7 @@ a.btn {
border: 1px solid #aaa;
border-radius: 5px;
}
+
.box .box-title {
margin: 0;
padding: 5px 10px;
@@ -446,6 +484,7 @@ a.btn {
border-bottom: 1px solid #aaa;
border-radius: 5px 5px 0 0;
}
+
.box .box-content {
max-height: 260px;
}
@@ -460,6 +499,7 @@ a.btn {
.box .box-content .item .configure {
visibility: hidden;
}
+
.box .box-title:hover .configure,
.box .box-content .item:hover .configure {
visibility: visible;
@@ -469,25 +509,29 @@ a.btn {
.tree {
margin: 10px 0;
}
+
.tree-folder-title {
- position: relative;
margin: 5px;
padding: 0 10px;
- line-height: 2rem;
- font-size: 0.9rem;
background: #5bc0de;
color: #fff;
+ font-size: 0.9rem;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
border-radius: 5px;
+ position: relative;
+ line-height: 2rem;
}
+
.tree-folder-title .title {
background: inherit;
color: #fff;
}
+
.tree-folder-title .title:hover {
text-decoration: none;
}
+
.tree-folder.active .tree-folder-title {
background: #39b3d7;
font-weight: bold;
@@ -495,17 +539,21 @@ a.btn {
border-top: 1px solid #666;
border-bottom: 1px solid #666;
}
+
.tree-folder-items > .item {
padding: 0 10px;
line-height: 2.5rem;
font-size: 0.8rem;
}
+
.tree-folder-items > .item.active {
background: #5cb85c;
}
+
.tree-folder-items > .item > a {
text-decoration: none;
}
+
.tree-folder-items > .item.active > a {
color: #fff;
}
@@ -514,40 +562,39 @@ a.btn {
/*===============*/
/*=== Header */
.header {
- height: 85px;
background: #41444f;
+ height: 85px;
}
+
.header > .item {
padding: 10px;
border-bottom: 1px solid #aaa;
vertical-align: middle;
text-align: center;
}
-.header > .item.title{
+
+.header > .item.title {
width: 230px;
}
+
.header > .item.title h1 {
margin: 0.5em 0;
}
.header > .item.title h1 a, a.signin {
text-decoration: none;
- color : #C5C6CA;
+ color: #c5c6ca;
}
.header > .item.search input {
width: 230px;
- height : 29px;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
+ height: 29px;
box-sizing: border-box;
}
.header > .item.search button {
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
box-sizing: border-box;
- height : 29px;
+ height: 29px;
}
.header .item.search input:focus {
@@ -558,37 +605,44 @@ a.btn {
#global {
height: calc(100% - 85px);
}
+
.aside {
- border-right: 1px solid #aaa;
background: #fff;
+ border-right: 1px solid #aaa;
}
+
.aside.aside_feed {
padding: 10px 0;
text-align: center;
}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
- position: absolute;
- top: 0.25rem; right: 3px;
padding: 0px 5px;
+ font-size: 0.8rem;
border: 1px solid #fff;
border-radius: 3px;
- font-size: 0.8rem;
+ position: absolute;
+ top: 0.25rem; right: 3px;
line-height: 1.5rem;
}
+
.aside_feed .tree-folder.all .tree-folder-title {
background: #428bca;
}
+
.aside_feed .tree-folder.all.active .tree-folder-title {
background: #3276b1;
}
+
.aside_feed .tree-folder.favorites .tree-folder-title {
background: #f0ad4e;
}
+
.aside_feed .tree-folder.favorites.active .tree-folder-title {
background: #ed9c28;
}
@@ -597,26 +651,32 @@ a.btn {
.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:hover .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
@@ -629,9 +689,11 @@ a.btn {
padding: 10px 50px;
font-size: 0.9em;
}
+
.post form {
margin: 10px 0;
}
+
.post.content {
max-width: 550px;
}
@@ -640,17 +702,21 @@ a.btn {
.prompt {
text-align: center;
}
+
.prompt label {
text-align: left;
}
+
.prompt form {
margin: 10px auto 20px auto;
width: 200px;
}
+
.prompt input {
margin: 5px auto;
width: 100%;
}
+
.prompt p {
margin: 20px 0;
}
@@ -661,14 +727,17 @@ a.btn {
text-align: center;
font-size: 0.9em;
}
+
#new-article:hover {
background: #3276b1;
}
+
#new-article > a {
line-height: 3em;
color: #fff;
font-weight: bold;
}
+
#new-article > a:hover {
text-decoration: none;
}
@@ -676,19 +745,21 @@ a.btn {
/*=== Day indication */
.day {
padding: 0 10px;
- font-weight: bold;
- line-height: 3em;
background: #fff;
+ color: #666;
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
- color : #666;
+ font-weight: bold;
+ line-height: 3em;
}
+
#new-article + .day {
border-top: none;
}
+
.day .name {
padding: 0 10px 0 0;
- color : #666;
+ color: #666;
font-size: 1.8em;
opacity: 0.3;
font-style: italic;
@@ -697,52 +768,58 @@ a.btn {
/*=== Index menu */
.nav_menu {
+ padding: 5px 0;
background: #fafafa;
border-bottom: 1px solid #aaa;
text-align: center;
- padding: 5px 0;
}
/*=== Feed articles */
.flux {
- border-left: 3px solid #5cb85c;
background: #fafafa;
+ border-left: 3px solid #5cb85c;
}
+
.flux:hover {
background: #fff;
}
+
.flux.current {
+ background: #fff;
border-left: 3px solid #39b3d7;
}
+
.flux.not_read {
border-left: 3px solid #d9534f;
}
+
.flux .item.title a, .flux.not_read:not(.current):hover .item.title {
- color : #333;
+ color: #333;
}
+
.flux.favorite {
+ background: #fff6da;
border-left: 2px solid #428bca;
- background: #FFF6DA;
}
+
.flux.favorite:not(.current):hover .item.title {
- background: #FFF6DA;
-}
-.flux.current {
- background: #fff;
+ background: #fff6da;
}
-
.flux_header {
- border-top: 1px solid #ddd;
font-size: 0.8rem;
+ border-top: 1px solid #ddd;
cursor: pointer;
}
+
.flux_header .title {
font-size: 0.9rem;
}
+
.flux .website .favicon {
padding: 5px;
}
+
.flux .date {
color: #666;
font-size: 0.7rem;
@@ -757,14 +834,15 @@ a.btn {
.content {
padding: 20px 10px;
}
+
.content > h1.title > a {
color: #333;
}
.content hr {
margin: 30px 10px;
- height: 1px;
background: #ddd;
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px #ccc;
}
@@ -778,13 +856,15 @@ a.btn {
font-size: 0.9rem;
border-radius: 3px;
}
+
.content code {
padding: 2px 5px;
- color: #dd1144;
background: #fafafa;
+ color: #d14;
border: 1px solid #eee;
border-radius: 3px;
}
+
.content pre code {
background: transparent;
color: #fff;
@@ -792,14 +872,15 @@ a.btn {
}
.content blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
- border-top: 1px solid #ddd;
- border-bottom: 1px solid #ddd;
background: #fafafa;
+ display: block;
color: #41444f;
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
}
+
.content blockquote p {
margin: 0;
}
@@ -807,33 +888,38 @@ a.btn {
/*=== Notification and actualize notification */
.notification {
padding: 0 0 0 5px;
- text-align: center;
+ font-size: 0.9em;
border: 1px solid #eeb;
border-radius: 3px;
box-shadow: 0 0 5px #ddd;
+ text-align: center;
font-weight: bold;
- font-size: 0.9em;
line-height: 3em;
z-index: 10;
vertical-align: middle;
}
+
.notification.good {
background: #ffe;
- border: 1px solid #eeb;
color: #c95;
+ border: 1px solid #eeb;
}
+
.notification.bad {
background: #fdd;
- border: 1px solid #ecc;
color: #844;
+ border: 1px solid #ecc;
}
+
.notification a.close {
padding: 0 15px;
line-height: 3em;
}
+
.notification.good a.close:hover {
background: #eeb;
}
+
.notification.bad a.close:hover {
background: #ecc;
}
@@ -844,18 +930,19 @@ a.btn {
/*=== "Load more" part */
#bigMarkAsRead {
+ background: #fafafa;
+ color: #666;
text-align: center;
text-decoration: none;
- color: #666;
- background: #fafafa;
}
+
#bigMarkAsRead:hover {
- color: #000;
background: #f0f0f0;
+ color: #000;
}
#bigMarkAsRead:hover .bigTick {
-/* text-shadow: 0 0 10px #666;*/
+ /* text-shadow: 0 0 10px #666;*/
}
/*=== Navigation menu (for articles) */
@@ -869,20 +956,21 @@ a.btn {
}
#nav_entries .item:hover {
- background:#eee ;
+ background: #eee ;
}
/*=== READER VIEW */
/*================*/
#stream.reader .flux {
padding: 0 0 50px;
- border: none;
background: #f0f0f0;
color: #41444f;
+ border: none;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
color: #666;
+ font-size: 90%;
}
/*=== GLOBAL VIEW */
@@ -892,24 +980,28 @@ a.btn {
text-decoration: none;
text-align: left;
}
+
.box.category:not([data-unread="0"]) .box-title {
- background: #5BC0DE;
+ background: #5bc0de;
}
+
.box.category:not([data-unread="0"]) .box-title .title {
font-weight: bold;
color: #fff;
}
+
.box.category .title:not([data-unread="0"])::after {
+ background: none;
+ font-size: 0.8rem;
+ border: 0;
+ box-shadow: none;
position: absolute;
top: 5px; right: 10px;
- border: 0;
- background: none;
font-weight: bold;
- box-shadow: none;
text-shadow: none;
- font-size: 0.8rem;
line-height: 1.6rem;
}
+
.box.category .item.feed {
padding: 2px 10px;
font-size: 0.8rem;
@@ -921,9 +1013,11 @@ a.btn {
.aside.aside_feed .nav-form select {
width: 140px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu {
right: -20px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
right: 33px;
}
@@ -939,19 +1033,23 @@ a.btn {
.stat tr {
border: none;
}
+
.stat > table td,
.stat > table th {
border-bottom: 1px solid #ddd;
text-align: center;
}
+
.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: 250px;
}
@@ -963,31 +1061,38 @@ a.btn {
border-radius: 5px;
overflow: hidden;
}
+
.log {
padding: 5px 10px;
background: #fafafa;
color: #41444f;
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: #41444f;
color: #eee;
@@ -995,24 +1100,22 @@ a.btn {
/*=== MOBILE */
/*===========*/
-@media(max-width: 840px) {
+
+@media (max-width: 840px) {
.aside {
box-shadow: 3px 0 3px #aaa;
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
+
.aside .toggle_aside,
#panel .close {
+ background: #f6f6f6;
display: block;
width: 100%;
height: 40px;
+ border-bottom: 1px solid #ddd;
line-height: 40px;
text-align: center;
- background: #f6f6f6;
- border-bottom: 1px solid #ddd;
}
.aside.aside_feed {
@@ -1022,20 +1125,25 @@ a.btn {
.nav_menu .btn {
margin: 5px 10px;
}
+
.nav_menu .stick {
margin: 0 10px;
}
+
.nav_menu .stick .btn {
margin: 5px 0;
}
+
.nav_menu .search {
display: inline-block;
max-width: 97%;
}
+
.nav_menu .search input {
max-width: 97%;
width: 90px;
}
+
.nav_menu .search input:focus {
width: 400px;
}
@@ -1050,13 +1158,15 @@ a.btn {
}
.notification a.close {
+ background: transparent;
display: block;
left: 0;
- background: transparent;
}
+
.notification a.close:hover {
opacity: 0.5;
}
+
.notification a.close .icon {
display: none;
}
diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css
index 3a78bdf50..d397f473d 100644
--- a/p/themes/Screwdriver/screwdriver.css
+++ b/p/themes/Screwdriver/screwdriver.css
@@ -3,72 +3,77 @@
/*=== GENERAL */
/*============*/
html, body {
+ background: #fafafa;
height: 100%;
font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
- background: #fafafa;
font-size: 92%;
}
/*=== Links */
a, button.as-link {
- color: #D18114;
+ color: #d18114;
outline: none;
}
/*=== Forms */
-.form-group{
- width: 100%;
+.form-group {
+ display: inline-block;
float: left;
+ width: 100%;
height: auto;
- display: inline-block;
}
+
legend {
margin: 20px 0 5px;
padding: 5px 0;
- border-bottom: 1px solid #ddd;
font-size: 1.4em;
+ border-bottom: 1px solid #ddd;
}
+
label {
min-height: 25px;
padding: 5px 0;
cursor: pointer;
}
+
textarea {
width: 360px;
height: 100px;
}
+
input, select, textarea {
- min-height: 25px;
padding: 5px;
background: #fff;
+ color: #222;
border: 1px solid #ccc;
border-radius: 3px;
- color: #222;
+ box-shadow: 0 1px 2px #ccc inset, 0 1px #fff;
+ min-height: 25px;
line-height: 25px;
vertical-align: middle;
- box-shadow: 0 1px 2px #ccc inset, 0 1px #fff;
}
+
option {
padding: 0 .5em;
}
+
input:focus, select:focus, textarea:focus {
- color: #0F0F0F;
- box-shadow: 0 0 3px #E7AB34;
- border: solid 1px #E7AB34;
+ color: #0f0f0f;
+ border: solid 1px #e7ab34;
+ box-shadow: 0 0 3px #e7ab34;
}
+
input:invalid, select:invalid {
border-color: #f00;
box-shadow: 0 0 2px 2px #fdd inset;
}
+
input:disabled, select:disabled {
background: #eee;
}
+
input.extend {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
/*=== Tables */
@@ -80,9 +85,11 @@ tr, th, td {
padding: 0.5em;
border: 1px solid #ddd;
}
+
th {
background: #f6f6f6;
}
+
form td,
form th {
font-weight: normal;
@@ -97,51 +104,60 @@ form th {
background: #f4f4f4;
border-top: 1px solid #ddd;
}
+
.form-group.form-actions .btn {
margin: 0 10px;
border-radius: 4px;
- box-shadow:0 1px rgba(255,255,255,0.08) inset;
+ box-shadow: 0 1px rgba(255,255,255,0.08) inset;
}
+
.form-group .group-name {
padding: 10px 0;
text-align: right;
}
+
.form-group .group-controls {
min-height: 25px;
padding: 5px 0;
}
+
.form-group table {
margin: 10px 0 0 220px;
}
/*=== Buttons */
button.as-link[disabled] {
- color:#555 !important;
+ color: #555 !important;
}
.dropdown-menu .input select, .dropdown-menu .input input {
- background:#444;
- color:#fff;
- box-shadow:0 2px 2px #222 inset, 0px 1px rgba(255, 255, 255, 0.08);
- border:solid 1px #171717;
+ margin: 0 auto 5px;
+ padding: 2px 5px;
+ background: #444;
+ color: #fff;
+ border: solid 1px #171717;
+ border-radius: 3px;
+ box-shadow: 0 2px 2px #222 inset, 0px 1px rgba(255, 255, 255, 0.08);
}
.stick {
vertical-align: middle;
font-size: 0;
}
+
.stick input,
.stick .btn {
border-radius: 0;
}
+
.stick .btn:first-child,.stick input:first-child {
border-radius: 6px 0 0 6px;
}
-.stick .btn-important:first-child {
-}
+
.stick .btn:last-child, .stick input:last-child {
border-radius: 0 6px 6px 0;
}
+
.stick .btn + .btn,
.stick .btn + input,
.stick .btn + .dropdown > .btn,
@@ -153,103 +169,113 @@ button.as-link[disabled] {
.stick .dropdown + .dropdown > .btn {
border-left: none;
}
+
.stick .btn + .dropdown > .btn {
border-left: none;
border-radius: 0 3px 3px 0;
}
.btn {
- display: inline-block;
- min-height: 37px;
- min-width: 15px;
margin: 0;
padding: 5px 10px;
- color:#222;
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
+ display: inline-block;
+ color: #222;
+ font-size: 0.9rem;
border: solid 1px #ccc;
border-radius: 4px;
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
+ min-height: 37px;
+ min-width: 15px;
text-shadow: 0px -1px rgba(255,255,255,0.08);
- font-size: 0.9rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
}
+
a.btn {
min-height: 25px;
line-height: 25px;
}
+
.btn:hover {
text-shadow: 0 0 2px #fff;
- text-decoration:none;
+ text-decoration: none;
}
+
.btn.active,.btn:active,.dropdown-target:target ~ .btn.dropdown-toggle {
- background: linear-gradient(180deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(top, #EDE7DE 0%, #FFF 100%);
+ background: linear-gradient(180deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(top, #ede7de 0%, #fff 100%);
}
-.nav_menu .btn.active, .nav_menu .btn:active, .nav_menu .dropdown-target:target ~ .btn.dropdown-toggle{
- box-shadow: 0 1px #fff;
- border-radius: 4px;
- background: linear-gradient(180deg, #EDE7DE 0%, #F6F6F6 100%) #EDE7DE;
- background: -webkit-linear-gradient(top, #EDE7DE 0%, #F6F6F6 100%);
+.nav_menu .btn.active, .nav_menu .btn:active, .nav_menu .dropdown-target:target ~ .btn.dropdown-toggle {
+ background: linear-gradient(180deg, #ede7de 0%, #f6f6f6 100%) #ede7de;
+ background: -webkit-linear-gradient(top, #ede7de 0%, #f6f6f6 100%);
border: solid 1px #ccc;
+ border-radius: 4px;
+ box-shadow: 0 1px #fff;
}
+
.nav_menu .btn {
+ background: transparent;
border: 0;
- background:transparent;
}
.read_all {
- color:#222;
+ color: #222;
}
-.btn.dropdown-toggle[href="#dropdown-configure"]{
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
- border-radius: 4px;
+
+.btn.dropdown-toggle[href="#dropdown-configure"] {
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
border: solid 1px #ccc;
+ border-radius: 4px;
box-shadow: 0 1px #fff;
}
+
.btn.dropdown-toggle:active {
- background:transparent;
+ background: transparent;
}
+
.btn-important {
- background: linear-gradient(180deg, #E4992C 0%, #D18114 100%) #E4992C;
- background: -webkit-linear-gradient(top, #E4992C 0%, #D18114 100%);
- color: #FFF;
- box-shadow: 0 1px rgba(255,255,255,0.08) inset;
+ background: linear-gradient(180deg, #e4992c 0%, #d18114 100%) #e4992c;
+ background: -webkit-linear-gradient(top, #e4992c 0%, #d18114 100%);
+ color: #fff;
border-radius: 4px;
+ box-shadow: 0 1px rgba(255,255,255,0.08) inset;
text-shadow: 0px -1px rgba(255,255,255,0.08);
font-weight: normal;
}
-.btn-important:hover {
-}
+
.btn-important:active {
- background: linear-gradient(0deg, #E4992C 0%, #D18114 100%) #E4992C;
- background: -webkit-linear-gradient(bottom, #E4992C 0%, #D18114 100%);
+ background: linear-gradient(0deg, #e4992c 0%, #d18114 100%) #e4992c;
+ background: -webkit-linear-gradient(bottom, #e4992c 0%, #d18114 100%);
}
.btn-attention {
- background: #E95B57;
- background: linear-gradient(to bottom, #E95B57, #BD362F);
- background: -webkit-linear-gradient(top, #E95B57 0%, #BD362F 100%);
+ background: #e95b57;
+ background: linear-gradient(to bottom, #e95b57, #bd362f);
+ background: -webkit-linear-gradient(top, #e95b57 0%, #bd362f 100%);
color: #fff;
- border: 1px solid #C44742;
+ border: 1px solid #c44742;
text-shadow: 0px -1px 0px #666;
}
+
.btn-attention:hover {
- background: linear-gradient(to bottom, #D14641, #BD362F);
- background: -webkit-linear-gradient(top, #D14641 0%, #BD362F 100%);
+ background: linear-gradient(to bottom, #d14641, #bd362f);
+ background: -webkit-linear-gradient(top, #d14641 0%, #bd362f 100%);
}
+
.btn-attention:active {
- background: #BD362F;
+ background: #bd362f;
box-shadow: none;
}
-.btn[type="reset"]{
+
+.btn[type="reset"] {
+ background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
+ background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
color: #fff;
- background:linear-gradient(180deg, #222 0%, #171717 100%) #171717;
- background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
- box-shadow:0 -1px rgba(255,255,255,0.08) inset;
+ box-shadow: 0 -1px rgba(255,255,255,0.08) inset;
}
/*=== Navigation */
.nav-list .nav-header,
@@ -258,55 +284,64 @@ a.btn {
line-height: 2.5em;
font-size: 0.9rem;
}
+
.nav-list .item:hover {
text-shadow: 0 0 2px rgba(255,255,255,0.28);
- color:#fff;
+ color: #fff;
}
.nav-list .item.active {
+ margin: 0;
background: linear-gradient(180deg, #222 0%, #171717 100%) repeat scroll 0% 0% #171717;
background: -webkit-linear-gradient(180deg, #222 0%, #171717 100%);
+ box-shadow: -1px 2px 2px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
border-width: medium medium 1px;
border-style: none none solid;
border-color: -moz-use-text-color -moz-use-text-color #171717;
- box-shadow: -1px 2px 2px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
- margin: 0;
}
+
.nav-list .item.active a {
- color: #D18114;
+ color: #d18114;
}
+
.nav-list .disable {
- color: #aaa;
background: #fafafa;
+ color: #aaa;
text-align: center;
}
+
.nav-list .item > a {
padding: 0 10px;
- color:#ccc;
+ color: #ccc;
}
+
.nav-list a:hover {
text-decoration: none;
}
+
.nav-list .item.empty a {
color: #f39c12;
}
+
.nav-list .item.active.empty a {
+ background: linear-gradient(180deg, #e4992c 0%, #d18114 100%) #e4992c;
+ background: -webkit-linear-gradient(180deg, #e4992c 0%, #d18114 100%);
color: #fff;
- background: linear-gradient(180deg, #E4992C 0%, #D18114 100%) #E4992C;
- background: -webkit-linear-gradient(180deg, #E4992C 0%, #D18114 100%);
}
+
.nav-list .item.error a {
- color: #BD362F;
+ color: #bd362f;
}
+
.nav-list .item.active.error a {
+ background: #bd362f;
color: #fff;
- background: #BD362F;
}
.nav-list .nav-header {
padding: 0 10px;
- color: #222;
background: transparent;
+ color: #222;
}
.nav-list .nav-form {
@@ -316,10 +351,11 @@ a.btn {
.nav-head {
margin: 0;
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
text-align: right;
}
+
.nav-head .item {
padding: 5px 10px;
font-size: 0.9rem;
@@ -331,6 +367,7 @@ a.btn {
margin: 0;
padding: 0;
}
+
.horizontal-list .item {
vertical-align: middle;
}
@@ -339,32 +376,32 @@ a.btn {
.dropdown-menu {
margin: 5px 0 0;
padding: 5px 0;
+ background: #222;
+ font-size: 0.8rem;
border: 1px solid #171717;
border-radius: 4px;
box-shadow: 0 0 3px #000;
- font-size: 0.8rem;
text-align: left;
- background: #222;
}
+
.dropdown-menu::after {
- content: "";
- position: absolute;
- top: -6px;
- right: 13px;
+ background: #222;
width: 10px;
height: 10px;
- background: #222;
border-top: 1px solid #171717;
border-left: 1px solid #171717;
+ content: "";
+ position: absolute;
+ top: -6px;
+ right: 13px;
z-index: -10;
transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
}
+
.dropdown-header {
- display:none;
+ display: none;
}
+
.dropdown-menu > .item > a,
.dropdown-menu > .item > span,
.dropdown-menu > .item > .as-link {
@@ -373,27 +410,25 @@ a.btn {
color: #ccc;
font-size: 0.8rem;
}
+
.dropdown-menu > .item > label {
color: #ccc;
}
+
.dropdown-menu > .item:hover {
background: #171717;
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;
@@ -406,35 +441,40 @@ a.btn {
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;
- color: #aaa;
text-shadow: 0 0 1px #eee;
- font-size: 0.9em;
}
+
.alert-head {
font-size: 1.15em;
}
+
.alert > a {
color: inherit;
text-decoration: underline;
}
+
.alert-warn {
background: #ffe;
- border: 1px solid #eeb;
color: #c95;
+ border: 1px solid #eeb;
}
+
.alert-success {
background: #dfd;
- border: 1px solid #cec;
color: #484;
+ border: 1px solid #cec;
}
+
.alert-error {
background: #fdd;
- border: 1px solid #ecc;
color: #844;
+ border: 1px solid #ecc;
}
/*=== Pagination */
@@ -444,14 +484,17 @@ a.btn {
color: #333;
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;
@@ -459,12 +502,15 @@ a.btn {
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 #ddd;
}
@@ -477,22 +523,24 @@ a.btn {
/*=== Boxes */
.box {
- background: #EDE7DE;
+ background: #ede7de;
border-radius: 4px;
box-shadow: 0 1px #fff;
}
+
.box .box-title {
margin: 0;
padding: 5px 10px;
- background: linear-gradient(0deg, #EDE7DE 0%, #fff 100%) #171717;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #fff 100%);
- box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
color: #888;
- text-shadow: 0 1px #ccc;
- border-radius: 4px 4px 0 0;
font-size: 1.1rem;
+ border-radius: 4px 4px 0 0;
+ box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
+ text-shadow: 0 1px #ccc;
font-weight: normal;
}
+
.box .box-content {
max-height: 260px;
}
@@ -507,6 +555,7 @@ a.btn {
.box .box-content .item .configure {
visibility: hidden;
}
+
.box .box-title:hover .configure,
.box .box-content .item:hover .configure {
visibility: visible;
@@ -516,64 +565,74 @@ a.btn {
.tree {
margin: 10px 0;
}
+
.tree-folder-title {
position: relative;
padding: 0 10px;
line-height: 2.5rem;
font-size: 0.9rem;
}
+
.tree-folder-title .title {
background: inherit;
color: #fff;
}
+
.tree-folder-title .title:hover {
text-decoration: none;
}
+
.tree-folder.active .tree-folder-title {
background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
+ color: #fff;
box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
text-shadow: 0 0 2px rgba(255,255,255,0.28);
- color: #fff;
}
+
.tree-folder-items {
- background: #171717;
- padding: 8px 0;
+ padding: 8px 0;
+ background: #171717;
box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
}
+
.tree-folder-items > .item {
padding: 0 10px;
line-height: 2.5rem;
font-size: 0.8rem;
}
+
.tree-folder-items > .item.active {
+ margin: 0px 8px;
background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
border-radius: 4px;
- margin: 0px 8px;
box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
}
+
.tree-folder-items > .item > a {
text-decoration: none;
color: #fff;
font-size: 0.92em;
}
-.tree-folder-items > .item.active > a {
-}
/*=== Scrollbar */
+
@supports (scrollbar-width: thin) {
#sidebar {
scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
}
+
#sidebar:hover {
scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
}
}
+
@supports not (scrollbar-width: thin) {
#sidebar::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
}
+
#sidebar:hover::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
}
@@ -583,54 +642,64 @@ a.btn {
/*===============*/
/*=== Header */
.header {
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
height: 55px;
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
}
+
.header > .item {
padding: 0;
vertical-align: middle;
text-align: center;
}
+
.header > .item.title .logo {
- height: 60px;
width: 60px;
+ height: 60px;
}
-.header > .item.title{
+
+.header > .item.title {
width: 250px;
}
+
.header > .item.title h1 {
margin: 0.5em 0;
}
+
.header > .item.title h1 a {
- text-decoration: none;
+ color: #222;
font-size: 28px;
- color:#222;
+ text-decoration: none;
text-shadow: 0 1px #fff;
}
+
.header > .item.search input {
width: 230px;
}
+
.header .item.search input:focus {
width: 350px;
}
/*=== Body */
#global {
- background:#EDE7DE;
+ background: #ede7de;
height: calc(100% - 60px);
}
+
.aside {
- border-radius: 0px 12px 0px 0px;
- box-shadow: 0px -1px #FFF, 0 2px 2px #171717 inset;
- border-top: 1px solid #CCC;
background: #222;
width: 235px;
+ border-top: 1px solid #ccc;
+ border-radius: 0px 12px 0px 0px;
+ box-shadow: 0px -1px #fff, 0 2px 2px #171717 inset;
}
+
.aside.aside_feed {
padding: 10px 0;
text-align: center;
}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
@@ -643,6 +712,7 @@ a.btn {
color: #fff;
text-shadow: 0 1px rgba(255,255,255,0.08);
}
+
.aside_feed .btn-important {
border: none;
}
@@ -652,13 +722,16 @@ a.btn {
.feed.item.empty > a {
color: #e67e22;
}
+
.feed.item.error,
.feed.item.error > a {
- color: #BD362F;
+ color: #bd362f;
}
+
.aside_feed .tree-folder-items .dropdown-menu::after {
left: 2px;
}
+
.aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
@@ -670,9 +743,11 @@ a.btn {
padding: 10px 50px;
font-size: 0.9em;
}
+
.post form {
margin: 10px 0;
}
+
.post.content {
max-width: 550px;
}
@@ -683,44 +758,53 @@ a.btn {
padding: 14px 0px;
text-shadow: 0 1px rgba(255,255,255,0.08);
}
+
.prompt label {
text-align: left;
}
+
.prompt form {
margin: 10px auto 20px auto;
width: 180px;
}
+
.prompt input {
margin: 5px auto;
width: 100%;
}
+
.prompt p {
margin: 20px 0;
}
-.prompt input#username,.prompt input#passwordPlain{
- border:solid 1px #ccc;
+
+.prompt input#username,.prompt input#passwordPlain {
+ background: #fff;
+ border: solid 1px #ccc;
box-shadow: 0 4px -4px #ccc inset,0px 1px rgba(255, 255, 255, 0.08);
- background:#fff;
}
-.prompt input#username:focus,.prompt input#passwordPlain:focus{
- border: solid 1px #E7AB34;
- box-shadow: 0 0 3px #E7AB34;
+
+.prompt input#username:focus,.prompt input#passwordPlain:focus {
+ border: solid 1px #e7ab34;
+ box-shadow: 0 0 3px #e7ab34;
}
/*=== New article notification */
#new-article {
- background: #0084CC;
+ background: #0084cc;
text-align: center;
font-size: 0.9em;
}
+
#new-article:hover {
- background: #0066CC;
+ background: #06c;
}
+
#new-article > a {
line-height: 3em;
color: #fff;
font-weight: bold;
}
+
#new-article > a:hover {
text-decoration: none;
}
@@ -728,112 +812,133 @@ a.btn {
/*=== Day indication */
.day {
padding: 0 10px;
- font-style:italic;
- line-height: 3em;
- box-shadow: 0 1px #BDB7AE inset, 0 -1px rgba(255,255,255,0.28) inset;
- background: linear-gradient(0deg, #EDE7DE 0%, #C2BCB3 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #C2BCB3 0%, #FFF 100%);
+ background: linear-gradient(0deg, #ede7de 0%, #c2bcb3 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #c2bcb3 0%, #fff 100%);
color: #666;
+ box-shadow: 0 1px #bdb7ae inset, 0 -1px rgba(255,255,255,0.28) inset;
+ font-style: italic;
+ line-height: 3em;
text-shadow: 0 1px rgba(255,255,255,0.28);
text-align: center;
}
+
#new-article + .day {
border-top: none;
}
+
.day .name {
display: none;
}
/*=== Index menu */
.nav_menu {
- background: #EDE7DE;
+ padding: 5px 0;
+ background: #ede7de;
border-bottom: 1px solid #ccc;
- box-shadow:0 -1px rgba(255, 255, 255, 0.28) inset;
+ box-shadow: 0 -1px rgba(255, 255, 255, 0.28) inset;
text-align: center;
- padding: 5px 0;
}
-#panel >.nav_menu{
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
+
+#panel >.nav_menu {
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
}
-#panel > .nav_menu > #nav_menu_read_all{
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
+
+#panel > .nav_menu > #nav_menu_read_all {
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
+ border: 1px solid #ccc;
border-radius: 4px;
- border: 1px solid #CCC;
- box-shadow: 0px 1px #FFF;
+ box-shadow: 0px 1px #fff;
}
+
#panel > .nav_menu > #nav_menu_read_all .dropdown > .btn.dropdown-toggle {
- border-radius: 0 4px 4px 0;
- border:none;
+ border: none;
border-left: solid 1px #ccc;
+ border-radius: 0 4px 4px 0;
}
/*=== Feed articles */
.flux_content {
- background: #FFF;
- border-radius: 10px;
+ background: #fff;
+ border-radius: 10px;
}
+
.flux {
- background: #EDE7DE;
+ background: #ede7de;
}
+
.flux:hover {
- background: #F9F7F4;
+ background: #f9f7f4;
}
+
.flux:not(.current):hover .item.title {
- background: #F9F7F4;
+ background: #f9f7f4;
}
+
.flux.current .flux .item.title a {
- text-shadow:0 0 2px #ccc;
+ text-shadow: 0 0 2px #ccc;
}
+
.flux.not_read:not(.current):hover .item.title {
- opacity:0.85;
+ opacity: 0.85;
}
+
.flux.favorite {
- background: #FFF6DA;
+ background: #fff6da;
}
-.flux.favorite:not(.current):hover{
- background: #F9F7F4;
+
+.flux.favorite:not(.current):hover {
+ background: #f9f7f4;
}
+
.flux.favorite:not(.current):hover .item.title {
- background: #F9F7F4;
+ background: #f9f7f4;
}
+
.flux.current {
- background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
- box-shadow: 0 -1px #fff inset, 0 2px #ccc;
- border-radius: 10px;
margin: 3px 6px;
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
+ border-radius: 10px;
+ box-shadow: 0 -1px #fff inset, 0 2px #ccc;
}
.flux .item.title {
-opacity: 0.35;
+ opacity: 0.35;
}
+
.flux.favorite .item.title {
-opacity: 1;
+ opacity: 1;
}
+
.flux.not_read .item.title {
-opacity: 1;
+ opacity: 1;
}
+
.flux.current .item.title a {
color: #0f0f0f;
}
+
.flux .item.title a {
color: #333;
}
.flux_header {
- border-top: 1px solid #ddd;
font-size: 0.8rem;
- cursor: pointer;
+ border-top: 1px solid #ddd;
box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
+ cursor: pointer;
}
+
.flux_header .title {
font-size: 0.9rem;
}
+
.flux .website .favicon {
padding: 5px;
}
+
.flux .date {
color: #666;
font-size: 0.7rem;
@@ -848,14 +953,15 @@ opacity: 1;
.content {
padding: 20px 10px;
}
+
.content > h1.title > a {
color: #000;
}
.content hr {
margin: 30px 10px;
- height: 1px;
background: #ddd;
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px #ccc;
}
@@ -869,13 +975,15 @@ opacity: 1;
font-size: 0.9rem;
border-radius: 3px;
}
+
.content code {
padding: 2px 5px;
- color: #dd1144;
background: #fafafa;
+ color: #d14;
border: 1px solid #eee;
border-radius: 3px;
}
+
.content pre code {
background: transparent;
color: #fff;
@@ -883,14 +991,15 @@ opacity: 1;
}
.content blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
- border-top: 1px solid #ddd;
- border-bottom: 1px solid #ddd;
background: #fafafa;
+ display: block;
color: #333;
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
}
+
.content blockquote p {
margin: 0;
}
@@ -898,49 +1007,55 @@ opacity: 1;
/*=== Notification and actualize notification */
.notification {
padding: 0 0 0 5px;
- text-align: center;
- background:#222;
+ background: #222;
+ color: #fff;
+ font-size: 0.9em;
border: none;
border-radius: 0 0 12px 12px;
box-shadow: 0px 0px 4px rgba(0,0,0,0.45), 0 -1px rgba(255,255,255,0.08) inset, 0 2px 2px #171717 inset;
- color:#fff;
+ text-align: center;
font-weight: bold;
- font-size: 0.9em;
line-height: 3em;
- position:absolute;
- top:0;
+ position: absolute;
+ top: 0;
z-index: 10;
vertical-align: middle;
}
+
.notification.good {
color: #c95;
}
+
.notification.bad {
background: #fdd;
color: #844;
}
+
.notification a.close {
padding: 0 15px;
line-height: 3em;
}
+
.notification#actualizeProgress {
line-height: 2em;
}
/*=== "Load more" part */
#bigMarkAsRead {
+ background: #ede7de;
+ color: #666;
+ box-shadow: 0 1px rgba(255,255,255,0.28)inset;
text-align: center;
text-decoration: none;
text-shadow: 0 -1px 0 #aaa;
- color: #666;
- background: #EDE7DE;
- box-shadow: 0 1px rgba(255,255,255,0.28)inset;
}
+
#bigMarkAsRead:hover {
+ background: #ede7de;
+ background: radial-gradient(circle at 50% -25% , #ccc 0%, #ede7de 50%);
color: #000;
- background: #EDE7DE;
- background: radial-gradient(circle at 50% -25% , #ccc 0%, #EDE7DE 50%);
}
+
#bigMarkAsRead:hover .bigTick {
text-shadow: 0 0 10px #666;
}
@@ -949,69 +1064,71 @@ opacity: 1;
#nav_entries {
background: linear-gradient(180deg, #222 0%, #171717 100%) #222;
background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
+ width: 235px;
border-top: 1px solid #171717;
+ box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
text-align: center;
line-height: 3em;
table-layout: fixed;
- box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
- width:235px;
}
/*=== READER VIEW */
/*================*/
#stream.reader .flux {
padding: 0 0 50px;
- border: none;
background: #f0f0f0;
color: #333;
+ border: none;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
- font-size: 90%;
color: #666;
+ font-size: 90%;
}
/*=== GLOBAL VIEW */
/*================*/
#stream.global {
padding: 24px 0;
- box-shadow: 0px 8px 8px #C2BCB3 inset;
+ box-shadow: 0px 8px 8px #c2bcb3 inset;
}
.box.category .box-title {
- background: linear-gradient(0deg, #EDE7DE 0%, #fff 100%) #171717;
- background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #fff 100%);
- box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
+ background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
+ background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
+ font-size: 1.2rem;
border-radius: none;
+ box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
line-height: 2em;
- font-size: 1.2rem;
- text-shadow:0 1px #ccc;
+ text-shadow: 0 1px #ccc;
}
+
.box.category .box-title .title {
font-weight: normal;
text-decoration: none;
text-align: left;
color: #888;
}
-.box.category:not([data-unread="0"]) .box-title {
-}
-.box.category:not([data-unread="0"]) .box-title:active {
-}
+
.box.category:not([data-unread="0"]) .box-title .title {
color: #222;
font-weight: bold;
}
+
.box.category .title:not([data-unread="0"])::after {
+ background: none;
+ border: 0;
position: absolute;
top: 5px; right: 10px;
- border: 0;
- background: none;
font-weight: bold;
}
+
.box.category .item.feed {
padding: 2px 10px;
font-size: 0.8rem;
}
+
.box.category .item.feed:not(.empty):not(.error) .item-title {
color: #222;
}
@@ -1019,18 +1136,20 @@ opacity: 1;
/*=== PANEL */
/*===========*/
#panel {
- box-shadow: 0px 0px 4px #000;
+ background: #ede7de;
border-radius: 8px;
- background:#EDE7DE;
+ box-shadow: 0px 0px 4px #000;
}
/*=== DIVERS */
/*===========*/
.aside.aside_feed .nav-form input,.aside.aside_feed .nav-form select {
width: 130px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu {
right: -20px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
right: 33px;
}
@@ -1046,21 +1165,24 @@ opacity: 1;
.stat tr {
border: none;
}
+
.stat > table td,
.stat > table th {
- border-bottom: 1px solid #ccc;
background: rgba(255,255,255,0.38);
+ border-bottom: 1px solid #ccc;
box-shadow: 0 1px #fff;
}
.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: 250px;
}
@@ -1072,50 +1194,60 @@ opacity: 1;
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;
}
#slider.active {
- box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
- background: #F8F8F8;
+ background: #f8f8f8;
+ box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
}
+
#close-slider.active {
- background: rgba(15, 15, 15, 0.35);
+ background: rgba(15, 15, 15, 0.35);
}
/*=== MOBILE */
/*===========*/
+
@media screen and (max-width: 840px) {
.header {
display: table;
}
+
.nav-login {
display: none;
}
@@ -1125,28 +1257,27 @@ opacity: 1;
border-top: none;
box-shadow: 3px 0 3px #000;
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
+
.aside:target {
width: 235px;
}
+
.aside .toggle_aside,
#panel .close {
+ background: #171717;
display: block;
width: 100%;
height: 40px;
+ border-radius: 0 8px 0 8px;
+ box-shadow: 0 1px rgba(255,255,255,0.08);
line-height: 40px;
text-align: center;
- background: #171717;
- box-shadow: 0 1px rgba(255,255,255,0.08);
- border-radius: 0 8px 0 8px;
}
+
.aside .btn-important {
- display: inline-block;
margin: 20px 0 0;
+ display: inline-block;
}
.aside.aside_feed {
@@ -1156,20 +1287,24 @@ opacity: 1;
.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%;
+ display: none;
}
+
.nav_menu .search input {
max-width: 97%;
width: 90px;
}
+
.nav_menu .search input:focus {
width: 400px;
}
@@ -1183,19 +1318,18 @@ opacity: 1;
}
.notification a.close {
+ background: transparent;
display: block;
left: 0;
- background: transparent;
}
+
.notification a.close:hover {
opacity: 0.5;
}
+
.notification a.close .icon {
display: none;
}
- .nav_menu .search {
- display: none;
- }
#nav_entries {
width: 100%;
@@ -1203,16 +1337,19 @@ opacity: 1;
}
@media (max-width: 700px) {
- .header{
+ .header {
display: none;
}
+
.nav-login {
display: inline-block;
width: 100%;
}
+
.nav_menu .search {
display: inline-block;
}
+
.aside .btn-important {
display: none;
}
diff --git a/p/themes/Swage/icons/read.svg b/p/themes/Swage/icons/read.svg
index 86f3e60f3..4ab272b39 100644
--- a/p/themes/Swage/icons/read.svg
+++ b/p/themes/Swage/icons/read.svg
@@ -1,5 +1 @@
-<?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>
+<svg viewBox="0 0 16 16" 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.4 0.8 4.6C0.3 4.9 0 5.4 0 6v8c0 0.9 0.7 1.6 1.6 1.6h12.8c0.9 0 1.6-0.7 1.6-1.6L15.9 6zM8 10L1.4 5.9 8 2l6.6 3.9L8 10z"/></svg> \ No newline at end of file
diff --git a/p/themes/Swage/icons/view-reader.svg b/p/themes/Swage/icons/view-reader.svg
index f8f9e7af5..afb82adf7 100644
--- a/p/themes/Swage/icons/view-reader.svg
+++ b/p/themes/Swage/icons/view-reader.svg
@@ -1,6 +1 @@
-<?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>
-
+<svg viewBox="0 0 16 16" 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.3zM8.7 5h5.1v1.4H8.7V5zM8.7 9.6h5.1V11H8.7V9.6zM14.5 0H1.5C0.7 0 0 0.8 0 1.8v11.9c0 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 0zM14.5 13.8H8V1.8h6.5V13.8z"/></svg> \ No newline at end of file
diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css
index a861bca5c..6528d2305 100644
--- a/p/themes/Swage/swage.css
+++ b/p/themes/Swage/swage.css
@@ -1,1129 +1,909 @@
-textarea, input, select {
-min-height: 25px;
-margin-top: 4px;
-line-height: 25px;
-vertical-align: middle;
-background: #FCFCFC;
-border: none;
-padding-left: 5px;
-}
-
-input:invalid, select:invalid {
-color: #B0425B;
-border-color: #B0425B;
-box-shadow: none;
-}
+textarea, input,
+select {
+ min-height: 25px;
+ margin-top: 4px;
+ line-height: 25px;
+ vertical-align: middle;
+ background: #fcfcfc;
+ border: none;
+ padding-left: 5px; }
+
+input:invalid,
+select:invalid {
+ color: #b0425b;
+ border-color: #b0425b;
+ box-shadow: none; }
.nav-list .nav-header, .nav-list .item {
-height: 2.5em;
-line-height: 2.5em;
-font-size: 0.9rem;
-}
-
-.dropdown-menu > .item, .dropdown-menu > .item > a, .dropdown-menu > .item > span, .dropdown-menu > .item > as-link, .dropdown-menu > .item button {
-padding: 0 22px;
-line-height: 2.5em;
-font-size: 0.8rem;
-color: #FCFCFC;
-}
+ height: 2.5em;
+ line-height: 2.5em;
+ font-size: 0.9rem; }
+
+.dropdown-menu > .item, .dropdown-menu > .item > a,
+.dropdown-menu > .item > span,
+.dropdown-menu > .item > .as-link,
+.dropdown-menu > .item button {
+ padding: 0 22px;
+ color: #fcfcfc;
+ font-size: 0.8rem;
+ line-height: 2.5em; }
.form-group::after, .flux::after {
-content: "";
-display: block;
-clear: both;
-}
+ content: "";
+ display: block;
+ clear: both; }
.stick.configure-feeds, .header > .item.title, .aside, #new-article, .notification, #nav_entries {
-width: 231px;
-}
+ width: 231px; }
-html, body {
-height: 100%;
-font-family: Helvetica, Arial, sans-serif;
-}
+html,
+body {
+ height: 100%;
+ font-family: Helvetica, Arial, sans-serif; }
a {
-color: #00488b;
-outline: none;
-}
-a.btn {
-min-height: 25px;
-line-height: 25px;
-text-decoration: none;
-}
-a.btn:hover {
-background: #00488b;
-}
-a#btn-subscription {
-width: 76%;
-}
-a#btn-importExport {
-width: 5%;
-}
+ color: #00488b;
+ outline: none; }
+ a.btn {
+ min-height: 25px;
+ line-height: 25px;
+ text-decoration: none; }
+ a.btn:hover {
+ background: #00488b; }
+ a#btn-subscription {
+ width: 76%; }
+ a#btn-importExport {
+ width: 5%; }
img.icon:hover {
-background: none;
-}
+ background: none; }
div#stream {
-margin-top: 35px;
-}
+ margin-top: 35px; }
sup {
-top: -0.3em;
-}
+ top: -0.3em; }
legend {
-display: inline-block;
-width: auto;
-margin: 20px 0 5px;
-padding: 5px 20px;
-font-size: 1.4em;
-clear: both;
-background: #e3e3e3;
-}
+ margin: 20px 0 5px;
+ padding: 5px 20px;
+ background: #e3e3e3;
+ display: inline-block;
+ width: auto;
+ font-size: 1.4em;
+ clear: both; }
label {
-min-height: 25px;
-}
+ min-height: 25px; }
textarea {
-width: 360px;
-height: 100px;
-background: #e3e3e3;
-}
-textarea:focus {
-border-color: #00488b;
-}
-
-input:focus, select:focus {
-border-color: #00488b;
-}
-input:disabled, select:disabled {
-background: #FCFCFC;
-}
+ background: #e3e3e3;
+ width: 360px;
+ height: 100px; }
+ textarea:focus {
+ border-color: #00488b; }
+
+input:focus,
+select:focus {
+ border-color: #00488b; }
+input:disabled,
+select:disabled {
+ background: #fcfcfc; }
select {
-background: #e3e3e3;
-}
+ background: #e3e3e3; }
input.extend {
-transition: width 200ms linear;
-}
+ transition: width 200ms linear; }
option {
-padding: 0 .5em;
-}
+ padding: 0 .5em; }
table {
-border-collapse: collapse;
-}
+ border-collapse: collapse; }
-tr, td, th {
-padding: 0.5em;
-border: 1px solid #e3e3e3;
-}
+tr,
+td,
+th {
+ padding: 0.5em;
+ border: 1px solid #e3e3e3; }
th {
-background: #FCFCFC;
-}
+ background: #fcfcfc; }
-form td, form th {
-font-weight: normal;
-text-align: center;
-}
+form td,
+form 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);
-}
+ display: inline-block;
+ padding-right: 7px;
+ width: 16px;
+ content: url(../Swage/icons/error.svg); }
.form-group {
-padding: 5px;
-border: 1px solid transparent;
-}
-.form-group:hover {
-background: #FCFCFC;
-border: 1px solid #FCFCFC;
-}
-.form-group.form-actions {
-margin: 15px 0 25px;
-padding: 5px 0;
-background: #e3e3e3;
-border-top: 3px solid #e3e3e3;
-}
-.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 .group-controls .control {
-line-height: 2.0em;
-}
-.form-group table {
-margin: 10px 0 0 220px;
-}
+ padding: 5px;
+ border: 1px solid transparent; }
+ .form-group:hover {
+ background: #fcfcfc;
+ border: 1px solid #fcfcfc; }
+ .form-group.form-actions {
+ margin: 15px 0 25px;
+ padding: 5px 0;
+ background: #e3e3e3;
+ border-top: 3px solid #e3e3e3; }
+ .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 .group-controls .control {
+ line-height: 2.0em; }
+ .form-group table {
+ margin: 10px 0 0 220px; }
.stick {
-vertical-align: middle;
-font-size: 0;
-}
+ 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: #0062be;
-border: none;
-color: #FCFCFC;
-}
-.btn.active, .btn :active, .btn :hover {
-background: #00488b;
-text-decoration: none;
-}
+ margin: 0;
+ padding: 5px 10px;
+ background: #0062be;
+ display: inline-block;
+ color: #fcfcfc;
+ font-size: 0.9rem;
+ border: none;
+ min-height: 35px;
+ min-width: 15px;
+ vertical-align: middle;
+ cursor: pointer;
+ overflow: hidden; }
+ .btn.active,
+ .btn :active,
+ .btn :hover {
+ background: #00488b;
+ text-decoration: none; }
.btn-important, .btn-attention {
-font-weight: normal;
-background: #FA8052;
-color: #FCFCFC;
-}
-.btn-important:hover, .btn-important :active, .btn-attention:hover, .btn-attention :active {
-background: #f95c20 !important;
-}
+ font-weight: normal;
+ background: #fa8052;
+ color: #fcfcfc; }
+ .btn-important:hover,
+ .btn-important :active, .btn-attention:hover,
+ .btn-attention :active {
+ background: #f95c20 !important; }
.nav-list .nav-header {
-padding: 0 10px;
-font-weight: bold;
-background: #22303d;
-color: #FCFCFC;
-cursor: default;
-}
+ padding: 0 10px;
+ font-weight: bold;
+ background: #22303d;
+ color: #fcfcfc;
+ cursor: default; }
.nav-list .item:hover, .nav-list .item.active {
-background: #00488b;
-color: #FCFCFC;
-}
-.nav-list .item:hover a, .nav-list .item.active a {
-color: #FCFCFC;
-}
-.nav-list .item:hover.empty a, .nav-list .item:hover .error a, .nav-list .item.active.empty a, .nav-list .item.active .error a {
-color: #FCFCFC;
-}
-.nav-list .item:hover.empty a, .nav-list .item.active.empty a {
-background: #FA8052;
-}
-.nav-list .item:hover.error a, .nav-list .item.active.error a {
-background: #c46178;
-}
+ background: #00488b;
+ color: #fcfcfc; }
+ .nav-list .item:hover a, .nav-list .item.active a {
+ color: #fcfcfc; }
+ .nav-list .item:hover.empty a,
+ .nav-list .item:hover .error a, .nav-list .item.active.empty a,
+ .nav-list .item.active .error a {
+ color: #fcfcfc; }
+ .nav-list .item:hover.empty a, .nav-list .item.active.empty a {
+ background: #fa8052; }
+ .nav-list .item:hover.error a, .nav-list .item.active.error a {
+ background: #c46178; }
.nav-list .item > a {
-padding: 0 10px;
-}
+ padding: 0 10px; }
.nav-list .item.empty a {
-color: #FA8052;
-}
+ color: #fa8052; }
.nav-list .item.error a {
-color: #c46178;
-}
+ color: #c46178; }
.nav-list .disable {
-text-align: center;
-background: #FCFCFC;
-color: #969696;
-}
+ text-align: center;
+ background: #fcfcfc;
+ color: #969696; }
.nav-list .nav-form {
-padding: 3px;
-text-align: center;
-}
+ padding: 3px;
+ text-align: center; }
.nav-list a:hover {
-text-decoration: none;
-}
+ text-decoration: none; }
.nav-head {
-margin: 0;
-text-align: right;
-background: #22303d;
-color: #FCFCFC;
-}
-.nav-head a {
-color: #FCFCFC;
-}
-.nav-head .item {
-padding: 5px 10px;
-font-size: 0.9rem;
-line-height: 1.5rem;
-}
+ margin: 0;
+ text-align: right;
+ background: #22303d;
+ color: #fcfcfc; }
+ .nav-head a {
+ color: #fcfcfc; }
+ .nav-head .item {
+ padding: 5px 10px;
+ font-size: 0.9rem;
+ line-height: 1.5rem; }
.horizontal-list {
-margin: 0;
-padding: 0;
-}
-.horizontal-list .item {
-vertical-align: middle;
-}
+ margin: 0;
+ padding: 0; }
+ .horizontal-list .item {
+ vertical-align: middle; }
.dropdown-menu {
-padding: 5px 0;
-font-size: 0.8rem;
-text-align: left;
-border: none;
-background-color: #00488b;
-}
-.dropdown-menu .dropdown-header {
-cursor: default;
-}
-.dropdown-menu > .item {
-padding: 0;
-margin-left: 10px;
-}
-.dropdown-menu > .item > a {
-min-width: initial;
-white-space: nowrap;
-}
-.dropdown-menu > .item:hover {
-background: #0062be;
-color: #FCFCFC;
-}
-.dropdown-menu > .item:hover > a {
-text-decoration: none;
-color: #FCFCFC;
-}
-.dropdown-menu > .item[aria-checked="true"] > a::before {
-font-weight: bold;
-margin: 0 0 0 -14px;
-}
-.dropdown-menu .input select, .dropdown-menu .input input {
-margin: 0 auto 5px;
-padding: 2px 5px;
-}
+ padding: 5px 0;
+ font-size: 0.8rem;
+ text-align: left;
+ border: none;
+ background-color: #00488b; }
+ .dropdown-menu .dropdown-header {
+ cursor: default; }
+ .dropdown-menu > .item {
+ padding: 0;
+ margin-left: 10px; }
+ .dropdown-menu > .item > a {
+ min-width: initial;
+ white-space: nowrap; }
+ .dropdown-menu > .item:hover {
+ background: #0062be;
+ color: #fcfcfc; }
+ .dropdown-menu > .item:hover > a {
+ text-decoration: none;
+ color: #fcfcfc; }
+ .dropdown-menu > .item[aria-checked="true"] > a::before {
+ font-weight: bold;
+ margin: 0 0 0 -14px; }
+ .dropdown-menu .input select,
+ .dropdown-menu .input input {
+ margin: 0 auto 5px;
+ padding: 2px 5px; }
.dropdown-header {
-padding: 0 5px 5px;
-font-weight: bold;
-text-align: left;
-color: #FCFCFC;
-}
+ padding: 0 5px 5px;
+ font-weight: bold;
+ text-align: left;
+ color: #fcfcfc; }
.separator {
-margin: 5px 0;
-border-bottom: 1px solid #e3e3e3;
-cursor: default;
-}
+ margin: 5px 0;
+ border-bottom: 1px solid #e3e3e3;
+ cursor: default; }
.alert {
-margin: 5px auto;
-padding: 10px 15px;
-font-size: 0.9em;
-background: #FCFCFC;
-border: none;
-color: #969696;
-text-shadow: 0 0 1px #FCFCFC;
-}
-.alert > a {
-text-decoration: underline;
-color: inherit;
-}
+ margin: 5px auto;
+ padding: 10px 15px;
+ background: #fcfcfc;
+ color: #969696;
+ font-size: 0.9em;
+ border: none;
+ text-shadow: 0 0 1px #fcfcfc; }
+ .alert > a {
+ color: inherit;
+ text-decoration: underline; }
.alert-head {
-font-size: 1.15em;
-}
+ font-size: 1.15em; }
-.alert-warn, .alert-success, .alert-error {
-border: none;
-}
+.alert-warn,
+.alert-success,
+.alert-error {
+ border: none; }
.alert-warn {
-background: #FCFCFC;
-color: #FA8052;
-}
+ background: #fcfcfc;
+ color: #fa8052; }
.alert-success {
-background: #FCFCFC;
-color: #5EAABF;
-}
+ background: #fcfcfc;
+ color: #5eaabf; }
.alert-error {
-background: #FCFCFC;
-color: #B0425B;
-}
+ background: #fcfcfc;
+ color: #b0425b; }
.pagination {
-text-align: center;
-font-size: 0.8em;
-background: #e3e3e3;
-color: #181621;
-}
-.pagination .item.pager-current {
-font-weight: bold;
-font-size: 1.5em;
-background: #22303d;
-color: #e3e3e3;
-}
-.pagination .item a {
-display: block;
-font-style: italic;
-line-height: 3em;
-text-decoration: none;
-color: #181621;
-}
-.pagination .item a:hover {
-background: #22303d;
-color: #e3e3e3;
-}
-.pagination .loading, .pagination a:hover.loading {
-font-size: 0;
-background: url(loader.gif) center center no-repeat #22303d;
-}
+ background: #e3e3e3;
+ color: #181621;
+ font-size: 0.8em;
+ text-align: center; }
+ .pagination .item.pager-current {
+ background: #22303d;
+ color: #e3e3e3;
+ font-size: 1.5em;
+ font-weight: bold; }
+ .pagination .item a {
+ display: block;
+ color: #181621;
+ font-style: italic;
+ line-height: 3em;
+ text-decoration: none; }
+ .pagination .item a:hover {
+ background: #22303d;
+ color: #e3e3e3; }
+ .pagination .loading,
+ .pagination a:hover.loading {
+ background: url(loader.gif) center center no-repeat #22303d;
+ font-size: 0; }
.content {
-padding: 20px 10px;
-}
-.content .pagination {
-margin: 0;
-padding: 0;
-}
-.content hr {
-margin: 30px 10px;
-height: 1px;
-background: #e3e3e3;
-border: 0;
-box-shadow: 0 2px 5px #e3e3e3;
-}
-.content pre {
-margin: 10px auto;
-padding: 10px 20px;
-overflow: auto;
-background: #181621;
-color: #FCFCFC;
-font-size: 0.9rem;
-}
-.content pre code {
-background: transparent;
-color: #FCFCFC;
-border: none;
-}
-.content code {
-padding: 2px 5px;
-color: #B0425B;
-background: #FCFCFC;
-border: 1px solid #FCFCFC;
-}
-.content blockquote {
-display: block;
-margin: 0;
-padding: 5px 20px;
-border-top: 1px solid #e3e3e3;
-border-bottom: 1px solid #e3e3e3;
-background: #FCFCFC;
-color: #969696;
-}
-.content blockquote p {
-margin: 0;
-}
-.content > h1.title > a {
-color: #181621;
-}
+ padding: 20px 10px; }
+ .content .pagination {
+ margin: 0;
+ padding: 0; }
+ .content hr {
+ margin: 30px 10px;
+ background: #e3e3e3;
+ height: 1px;
+ border: 0;
+ box-shadow: 0 2px 5px #e3e3e3; }
+ .content pre {
+ margin: 10px auto;
+ padding: 10px 20px;
+ overflow: auto;
+ background: #181621;
+ color: #fcfcfc;
+ font-size: 0.9rem; }
+ .content pre code {
+ background: transparent;
+ color: #fcfcfc;
+ border: none; }
+ .content code {
+ padding: 2px 5px;
+ background: #fcfcfc;
+ color: #b0425b;
+ border: 1px solid #fcfcfc; }
+ .content blockquote {
+ margin: 0;
+ padding: 5px 20px;
+ background: #fcfcfc;
+ display: block;
+ color: #969696;
+ border-top: 1px solid #e3e3e3;
+ border-bottom: 1px solid #e3e3e3; }
+ .content blockquote p {
+ margin: 0; }
+ .content > h1.title > a {
+ color: #181621; }
.box {
-border: 1px solid #e3e3e3;
-}
-.box .box-title {
-margin: 0;
-padding: 5px 10px;
-background: #e3e3e3;
-color: #969696;
-border-bottom: 1px solid #e3e3e3;
-}
-.box .box-content {
-max-height: 260px;
-}
-.box .box-content .item {
-padding: 0 10px;
-font-size: 0.9rem;
-line-height: 2.5em;
-}
-.box .box-content .item .configure {
-visibility: hidden;
-}
-.box .box-content .item .configure .icon {
-vertical-align: middle;
-background-color: #e3e3e3;
-}
-.box .box-content .item:hover .configure {
-visibility: visible;
-}
-.box.category .box-title .title {
-font-weight: normal;
-text-decoration: none;
-text-align: left;
-}
-.box.category:not([data-unread="0"]) .box-title {
-background: #0062be;
-}
-.box.category:not([data-unread="0"]) .box-title:active {
-background: #00488b;
-}
-.box.category:not([data-unread="0"]) .box-title .title {
-font-weight: bold;
-color: #FCFCFC;
-}
-.box.category .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;
-}
-.box.category .item.feed {
-padding: 2px 10px;
-font-size: 0.8rem;
-}
+ border: 1px solid #e3e3e3; }
+ .box .box-title {
+ margin: 0;
+ padding: 5px 10px;
+ background: #e3e3e3;
+ color: #969696;
+ border-bottom: 1px solid #e3e3e3; }
+ .box .box-content {
+ max-height: 260px; }
+ .box .box-content .item {
+ padding: 0 10px;
+ font-size: 0.9rem;
+ line-height: 2.5em; }
+ .box .box-content .item .configure {
+ visibility: hidden; }
+ .box .box-content .item .configure .icon {
+ vertical-align: middle;
+ background-color: #e3e3e3; }
+ .box .box-content .item:hover .configure {
+ visibility: visible; }
+ .box.category .box-title .title {
+ font-weight: normal;
+ text-decoration: none;
+ text-align: left; }
+ .box.category:not([data-unread="0"]) .box-title {
+ background: #0062be; }
+ .box.category:not([data-unread="0"]) .box-title:active {
+ background: #00488b; }
+ .box.category:not([data-unread="0"]) .box-title .title {
+ font-weight: bold;
+ color: #fcfcfc; }
+ .box.category .title:not([data-unread="0"])::after {
+ background: none;
+ 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; }
.tree {
-margin: 10px 0;
-}
+ margin: 10px 0; }
.tree-folder-title {
-position: relative;
-padding: 0 10px;
-background: #22303d;
-line-height: 2.3rem;
-font-size: 1rem;
-height: 35px;
-}
-.tree-folder-title .title {
-background: inherit;
-color: #FCFCFC;
-}
-.tree-folder-title .title:hover {
-text-decoration: none;
-}
+ padding: 0 10px;
+ background: #22303d;
+ height: 35px;
+ font-size: 1rem;
+ position: relative;
+ line-height: 2.3rem; }
+ .tree-folder-title .title {
+ background: inherit;
+ color: #fcfcfc; }
+ .tree-folder-title .title:hover {
+ text-decoration: none; }
.tree-folder-items {
-background: #22303d;
-}
-.tree-folder-items > .item {
-padding: 0 10px;
-line-height: 2.5rem;
-font-size: 0.8rem;
-}
-.tree-folder-items > .item.active {
-background: #00488b;
-}
-.tree-folder-items > .item > a {
-text-decoration: none;
-color: #FCFCFC;
-}
+ background: #22303d; }
+ .tree-folder-items > .item {
+ padding: 0 10px;
+ line-height: 2.5rem;
+ font-size: 0.8rem; }
+ .tree-folder-items > .item.active {
+ background: #00488b; }
+ .tree-folder-items > .item > a {
+ text-decoration: none;
+ color: #fcfcfc; }
@supports (scrollbar-width: thin) {
- #sidebar {
-scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
-}
-#sidebar:hover {
-scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
-}
-}
+ #sidebar {
+ scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0); }
+ #sidebar:hover {
+ scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0); } }
@supports not (scrollbar-width: thin) {
-#sidebar::-webkit-scrollbar-thumb {
-background: rgba(255, 255, 255, 0.1);
-}
-#sidebar:hover::-webkit-scrollbar-thumb {
-background: rgba(255, 255, 255, 0.3);
-}
-}
+ #sidebar::-webkit-scrollbar-thumb {
+ background: rgba(255, 255, 255, 0.1); }
+ #sidebar:hover::-webkit-scrollbar-thumb {
+ background: rgba(255, 255, 255, 0.3); } }
.header > .item {
-vertical-align: middle;
-}
-.header > .item.title {
-position: absolute;
-}
-.header > .item.title h1 {
-margin: 0;
-display: block;
-}
-.header > .item.title h1 a {
-text-decoration: none;
-color: #FCFCFC;
-}
-.header > .item.title .logo {
-display: inline-block;
-height: 26px;
-vertical-align: top;
-position: relative;
-top: 5px;
-}
-.header > .item.search input {
-width: 230px;
-}
+ vertical-align: middle; }
+ .header > .item.title {
+ position: absolute; }
+ .header > .item.title h1 {
+ margin: 0;
+ display: block; }
+ .header > .item.title h1 a {
+ text-decoration: none;
+ color: #fcfcfc; }
+ .header > .item.title .logo {
+ display: inline-block;
+ height: 26px;
+ vertical-align: top;
+ position: relative;
+ top: 5px; }
+ .header > .item.search input {
+ width: 230px; }
.header .item.search input:focus {
-width: 350px;
-}
+ width: 350px; }
.header .item.search {
-display: none;
-}
+ display: none; }
.header .item.configure {
-position: fixed;
-right: 0px;
-z-index: 1000;
-width: 35px;
-}
+ position: fixed;
+ right: 0px;
+ z-index: 1000;
+ width: 35px; }
.header h1 {
-text-align: center;
-font-size: 1.5em;
-}
+ text-align: center;
+ font-size: 1.5em; }
.aside {
-background: #22303d;
-padding: 35px 0;
-}
-.aside.aside_feed .tree {
-margin: 0 0 50px;
-}
-.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;
-}
+ padding: 35px 0;
+ background: #22303d; }
+ .aside.aside_feed .tree {
+ margin: 0 0 50px; }
+ .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; }
.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;
-}
+ margin: 6px 0;
+ padding: 0 10px;
+ background: inherit;
+ font-size: 0.9rem;
+ position: absolute;
+ right: 0;
+ line-height: 1.5rem; }
.aside_feed .tree-folder-items .dropdown-menu::after {
-left: 2px;
-}
+ left: 2px; }
.post {
-padding: 10px 50px;
-font-size: 0.9em;
-}
-.post input {
-background: #e3e3e3;
-}
-.post input.long {
-height: 33px;
-margin-top: 0px;
-}
-.post form {
-margin: 10px 0;
-}
-.post.content {
-max-width: 550px;
-}
+ padding: 10px 50px;
+ font-size: 0.9em; }
+ .post input {
+ background: #e3e3e3; }
+ .post input.long {
+ height: 33px;
+ margin-top: 0px; }
+ .post form {
+ margin: 10px 0; }
+ .post.content {
+ max-width: 550px; }
.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;
-}
+ 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 {
-text-align: center;
-font-size: 1em;
-background: #0062be;
-position: fixed;
-bottom: 48px;
-z-index: 900;
-left: 0;
-line-height: 1.5em;
-}
-#new-article:hover {
-background: #00488b;
-}
-#new-article > a {
-line-height: 1.5em;
-font-weight: bold;
-color: #FCFCFC;
-}
-#new-article > a:hover {
-text-decoration: none;
-}
+ background: #0062be;
+ font-size: 1em;
+ text-align: center;
+ position: fixed;
+ bottom: 48px;
+ z-index: 900;
+ left: 0;
+ line-height: 1.5em; }
+ #new-article:hover {
+ background: #00488b; }
+ #new-article > a {
+ line-height: 1.5em;
+ font-weight: bold;
+ color: #fcfcfc; }
+ #new-article > a:hover {
+ text-decoration: none; }
.day {
-padding: 0 10px;
-font-weight: bold;
-line-height: 3em;
-text-align: center;
-}
-.day .name {
-display: none;
-}
+ padding: 0 10px;
+ font-weight: bold;
+ line-height: 3em;
+ text-align: center; }
+ .day .name {
+ display: none; }
.nav a {
-color: #FCFCFC;
-}
+ color: #fcfcfc; }
.nav_menu {
-font-size: 0;
-background-color: #0062be;
-position: fixed;
-width: 100%;
-z-index: 900;
-}
-.nav_menu .item.search {
-display: inline-block;
-position: fixed;
-right: 40px;
-}
+ width: 100%;
+ font-size: 0;
+ background-color: #0062be;
+ position: fixed;
+ z-index: 900; }
+ .nav_menu .item.search {
+ display: inline-block;
+ position: fixed;
+ right: 40px; }
.flux {
-padding-right: 10px;
-background: #FCFCFC;
-}
-.flux::after {
-margin: 0 auto;
-width: 90%;
-border-top: 1px solid #e3e3e3;
-}
-.flux:hover, .flux .current {
-background: #FFFFFF;
-}
-.flux:hover:not(.current):hover .item.title, .flux .current:not(.current):hover .item.title {
-background: #FFFFFF;
-}
-.flux.not_read {
-background: #FFF3ED;
-}
-.flux.not_read:not(.current):hover .item.title {
-background: #FFF3ED;
-}
-.flux.favorite {
-background: #FFF6DA;
-}
-.flux.favorite:not(.current):hover .item.title {
-background: #FFF6DA;
-}
-.flux .date {
-font-size: 0.7rem;
-color: #969696;
-}
-.flux .bottom {
-font-size: 0.8rem;
-text-align: center;
-}
-.flux .website .favicon {
-padding: 5px;
-}
-.flux label {
-color: #FCFCFC;
-cursor: pointer;
-}
+ padding-right: 10px;
+ background: #fcfcfc; }
+ .flux::after {
+ margin: 0 auto;
+ width: 90%;
+ border-top: 1px solid #e3e3e3; }
+ .flux:hover,
+ .flux .current {
+ background: #fff; }
+ .flux:hover:not(.current):hover .item.title,
+ .flux .current:not(.current):hover .item.title {
+ background: #fff; }
+ .flux.not_read:not(.current) {
+ background: #fff3ed; }
+ .flux.not_read:not(.current):hover .item.title {
+ background: #fff3ed; }
+ .flux.favorite {
+ background: #fff6da; }
+ .flux.favorite:not(.current):hover .item.title {
+ background: #fff6da; }
+ .flux .date {
+ color: #969696;
+ font-size: 0.7rem; }
+ .flux .bottom {
+ font-size: 0.8rem;
+ text-align: center; }
+ .flux .website .favicon {
+ padding: 5px; }
+ .flux label {
+ color: #fcfcfc;
+ cursor: pointer; }
.flux_header {
-font-size: 0.8rem;
-cursor: pointer;
-}
-.flux_header .title {
-font-size: 0.9rem;
-}
+ font-size: 0.8rem;
+ cursor: pointer; }
+ .flux_header .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: #e3e3e3;
-color: #969696;
-border: none;
-position: fixed;
-bottom: 48px;
-left: 0;
-top: auto;
-height: auto;
-}
-.notification.good, .notification .bad {
-color: #FCFCFC;
-}
-.notification.good {
-background: #5EAABF;
-}
-.notification.good a.close:hover {
-background: #5EAABF;
-}
-.notification.bad {
-background: #c46178;
-}
-.notification.bad a.close:hover {
-background: #c46178;
-}
-.notification#actualizeProgress {
-line-height: 2em;
-}
-.notification a.close {
-display: none;
-}
+ padding: 10px 0;
+ background: #e3e3e3;
+ height: auto;
+ color: #969696;
+ font-size: 1em;
+ border: none;
+ text-align: center;
+ font-weight: bold;
+ z-index: 10;
+ vertical-align: middle;
+ position: fixed;
+ bottom: 48px;
+ left: 0;
+ top: auto; }
+ .notification.good,
+ .notification .bad {
+ color: #fcfcfc; }
+ .notification.good {
+ background: #5eaabf; }
+ .notification.good a.close:hover {
+ background: #5eaabf; }
+ .notification.bad {
+ background: #c46178; }
+ .notification.bad a.close:hover {
+ background: #c46178; }
+ .notification#actualizeProgress {
+ line-height: 2em; }
+ .notification a.close {
+ display: none; }
#bigMarkAsRead {
-text-align: center;
-text-decoration: none;
-background: #e3e3e3;
-}
-#bigMarkAsRead:hover {
-background: #22303d;
-color: #FCFCFC;
-}
+ text-align: center;
+ text-decoration: none;
+ background: #e3e3e3; }
+ #bigMarkAsRead:hover {
+ background: #22303d;
+ color: #fcfcfc; }
#nav_entries {
-margin: 0;
-text-align: center;
-line-height: 3em;
-table-layout: fixed;
-background: #22303d;
-}
+ margin: 0;
+ text-align: center;
+ line-height: 3em;
+ table-layout: fixed;
+ background: #22303d; }
.stat {
-margin: 10px 0 20px;
-}
-.stat th, .stat td, .stat tr {
-border: none;
-}
-.stat > table td, .stat > table th {
-border-bottom: 1px solid #e3e3e3;
-}
-.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;
-}
+ margin: 10px 0 20px; }
+ .stat th,
+ .stat td,
+ .stat tr {
+ border: none; }
+ .stat > table td,
+ .stat > table th {
+ border-bottom: 1px solid #e3e3e3; }
+ .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; }
.formLogin #global {
-height: 0;
-}
-
+ height: 0; }
.formLogin .header {
-height: 55px;
-background: #22303d;
-}
-
-.formLogin .header > .item.configure {
-width: 200px;
-position: unset;
-}
-
+ background: #22303d;
+ height: 55px; }
+ .formLogin .header > .item.configure {
+ width: 200px;
+ position: unset; }
+ .formLogin .header > .item.title h1 {
+ display: unset; }
.formLogin a.signin {
- color: #FCFCFC;
- padding-left: 5px;
-}
-
-.formLogin .header > .item.title h1 {
- display: unset;
-}
-
+ color: #fcfcfc;
+ padding-left: 5px; }
.formLogin input {
- border-left: 5px solid;
- border-right: 1px solid #e3e3e3;
- border-top: 1px solid #e3e3e3;
- border-bottom: 1px solid #e3e3e3;
-}
+ border-top: 1px #e3e3e3;
+ border-right: 1px #e3e3e3;
+ border-bottom: 1px #e3e3e3;
+ border-left: 5px solid; }
.loglist {
-overflow: hidden;
-border: 1px solid #969696;
-}
+ overflow: hidden;
+ border: 1px solid #969696; }
.log {
-padding: 5px 2%;
-overflow: auto;
-font-size: 0.8rem;
-background: #FCFCFC;
-}
-.log > .date {
-margin: 0 10px 0 0;
-padding: 5px 10px;
-}
-.log.error > .date {
-background: #c46178;
-color: #FCFCFC;
-}
-.log.warning > .date {
-background: #FA8052;
-color: #FCFCFC;
-}
-.log.notice > .date {
-background: #e3e3e3;
-color: #FCFCFC;
-}
-.log.debug > .date {
-background: #181621;
-color: #FCFCFC;
-}
+ padding: 5px 2%;
+ background: #fcfcfc;
+ font-size: 0.8rem;
+ overflow: auto; }
+ .log > .date {
+ margin: 0 10px 0 0;
+ padding: 5px 10px; }
+ .log.error > .date {
+ background: #c46178;
+ color: #fcfcfc; }
+ .log.warning > .date {
+ background: #fa8052;
+ color: #fcfcfc; }
+ .log.notice > .date {
+ background: #e3e3e3;
+ color: #fcfcfc; }
+ .log.debug > .date {
+ background: #181621;
+ color: #fcfcfc; }
@media (max-width: 840px) {
-.formLogin .header {
-display: none;
-}
-
-.dropdown-header, .dropdown-menu > .item {
-padding: 12px;
-}
-
-#new-article {
-width: 100%;
-position: sticky;
-top: 0;
-}
-
-.header {
-display: table;
-}
-.header .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;
-}
-.aside .toggle_aside {
-display: block;
-height: 50px;
-line-height: 50px;
-text-align: right;
-padding-right: 10px;
-background: #22303d;
-}
-.aside.aside_feed {
-padding: 0;
-}
-.aside:target {
-width: 78%;
-z-index: 1000;
-}
-
-.nav_menu {
-position: initial;
-height: 71px;
-}
-.nav_menu .btn {
-margin: 5px 10px;
-}
-.nav_menu .stick {
-margin: 0 10px;
-}
-.nav_menu .stick .btn {
-margin: 5px 0;
-}
-.nav_menu .search {
-position: absolute !important;
-top: 35px;
-left: 55px;
-}
-.nav_menu .search 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: #22303d;
-}
-
-.day .name {
-font-size: 1.1rem;
-}
-
-.notification {
-width: 100%;
-}
-.notification a.close {
-display: block;
-left: 0;
-background: transparent;
-}
-.notification a.close:hover {
-opacity: 0.5;
-}
-.notification a.close .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;
-}
-}
+ .formLogin .header {
+ display: none; }
+
+ .dropdown-header, .dropdown-menu > .item {
+ padding: 12px; }
+
+ #new-article {
+ width: 100%;
+ position: sticky;
+ top: 0; }
+
+ .header {
+ display: table; }
+ .header .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; }
+ .aside .toggle_aside {
+ background: #22303d;
+ display: block;
+ height: 50px;
+ line-height: 50px;
+ text-align: right;
+ padding-right: 10px; }
+ .aside.aside_feed {
+ padding: 0; }
+ .aside:target {
+ width: 78%;
+ z-index: 1000; }
+
+ .nav_menu {
+ position: initial;
+ height: 71px; }
+ .nav_menu .btn {
+ margin: 5px 10px; }
+ .nav_menu .stick {
+ margin: 0 10px; }
+ .nav_menu .stick .btn {
+ margin: 5px 0; }
+ .nav_menu .search {
+ position: absolute !important;
+ top: 35px;
+ left: 55px; }
+ .nav_menu .search input {
+ width: 85%; }
+
+ .pagination {
+ margin: 0 0 3.5em; }
+
+ #panel .close {
+ background: #22303d;
+ display: block;
+ height: 50px;
+ line-height: 50px;
+ text-align: right;
+ padding-right: 10px; }
+
+ .day .name {
+ font-size: 1.1rem; }
+
+ .notification {
+ width: 100%; }
+ .notification a.close {
+ background: transparent;
+ display: block;
+ left: 0; }
+ .notification a.close:hover {
+ opacity: 0.5; }
+ .notification a.close .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;
-}
-}
+ .nav_menu .stick {
+ margin: 0; } }
@media (max-width: 374px) {
-#nav_menu_views {
-display: none;
-}
-}
+ #nav_menu_views {
+ display: none; } }
button.as-link {
-color: #FCFCFC;
-outline: none;
-}
+ color: #fcfcfc;
+ outline: none; }
.dropdown-target:target ~ .btn.dropdown-toggle {
-background: #00488b;
-}
+ background: #00488b; }
.tree-folder.active .tree-folder-title {
-background: #00488b;
-font-weight: bold;
-}
+ background: #00488b;
+ font-weight: bold; }
.feed.item.empty {
-color: #FA8052;
-}
-.feed.item.empty.active {
-background: #FA8052;
-color: #FCFCFC;
-}
-.feed.item.empty.active > a {
-color: #FCFCFC;
-}
-.feed.item.empty > a {
-color: #FA8052;
-}
+ color: #fa8052; }
+ .feed.item.empty.active {
+ background: #fa8052;
+ color: #fcfcfc; }
+ .feed.item.empty.active > a {
+ color: #fcfcfc; }
+ .feed.item.empty > a {
+ color: #fa8052; }
.feed.item.error {
-color: #c46178;
-}
-.feed.item.error.active {
-background: #c46178;
-color: #FCFCFC;
-}
-.feed.item.error.active > a {
-color: #FCFCFC;
-}
-.feed.item.error > a {
-color: #c46178;
-}
+ color: #c46178; }
+ .feed.item.error.active {
+ background: #c46178;
+ color: #fcfcfc; }
+ .feed.item.error.active > a {
+ color: #fcfcfc; }
+ .feed.item.error > a {
+ color: #c46178; }
#dropdown-query ~ .dropdown-menu .dropdown-header .icon {
-vertical-align: middle;
-float: right;
-}
+ vertical-align: middle;
+ float: right; }
#stream.reader .flux {
-padding: 0 0 50px;
-background: #FCFCFC;
-color: #22303d;
-border: none;
-}
-#stream.reader .flux .author {
-margin: 0 0 10px;
-font-size: 90%;
-color: #969696;
-}
+ padding: 0 0 50px;
+ background: #fcfcfc;
+ color: #22303d;
+ border: none; }
+ #stream.reader .flux .author {
+ margin: 0 0 10px;
+ color: #969696;
+ font-size: 90%; }
#nav_menu_actions ul.dropdown-menu, #nav_menu_read_all ul.dropdown-menu {
-left: 0px;
-}
+ left: 0px; }
#slider label {
-min-height: initial;
-}
+ min-height: initial; }
#slider .form-group:hover {
-background: inital;
-}
+ background: inital; }
+
+/*# sourceMappingURL=swage.css.map */
diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss
index eb1dbc1ab..9c2702fc0 100644
--- a/p/themes/Swage/swage.scss
+++ b/p/themes/Swage/swage.scss
@@ -2,15 +2,15 @@
//colors
$color_text: #181621;
-$color_light: #FCFCFC;
+$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;
+$color_alert: #fa8052;
+$color_good: #5eaabf;
+$color_bad: #b0425b;
+$color_stared: #fff6da;
+$color_unread: #fff3ed;
+$color_hover: #fff;
// @extend-elements
@@ -38,9 +38,9 @@ $color_hover: #FFFFFF;
%dropdown {
padding: 0 22px;
- line-height: 2.5em;
- font-size: 0.8rem;
color: $color_light;
+ font-size: 0.8rem;
+ line-height: 2.5em;
}
%after {
@@ -63,19 +63,23 @@ body {
a {
color: darken( $color_nav, 10%);
outline: none;
+
&.btn {
min-height: 25px;
line-height: 25px;
text-decoration: none;
+
&:hover {
background: darken( $color_nav, 10%);
}
}
+
&#btn-subscription {
width: 76%;
}
+
&#btn-importExport {
- width: 5%;
+ width: 5%;
}
}
@@ -94,13 +98,13 @@ sup {
}
legend {
- display: inline-block;
- width: auto;
margin: 20px 0 5px;
padding: 5px 20px;
+ background: darken( $color_light, 10%);
+ display: inline-block;
+ width: auto;
font-size: 1.4em;
clear: both;
- background: darken( $color_light, 10%);
}
label {
@@ -108,10 +112,12 @@ label {
}
textarea {
+ background: darken( $color_light, 10% );
width: 360px;
height: 100px;
+
@extend %input;
- background: darken( $color_light, 10% );
+
&:focus {
border-color: darken( $color_nav, 10%);
}
@@ -119,13 +125,18 @@ textarea {
input,
select {
+
@extend %input;
+
&:focus {
border-color: darken( $color_nav, 10%);
}
+
&:invalid {
+
@extend %invalid;
}
+
&:disabled {
background: $color_light;
}
@@ -167,6 +178,7 @@ form {
text-align: center;
}
}
+
.category {
.title.error::before {
display: inline-block;
@@ -180,60 +192,71 @@ form {
.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;
+
&.configure-feeds {
+
@extend %aside-width;
}
}
.btn {
- display: inline-block;
- min-height: 35px;
- min-width: 15px;
margin: 0;
padding: 5px 10px;
+ background: $color_nav;
+ display: inline-block;
+ color: $color_light;
font-size: 0.9rem;
+ border: none;
+ min-height: 35px;
+ min-width: 15px;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
- background: $color_nav;
- border: none;
- color: $color_light;
+
&.active,
:active,
:hover {
@@ -246,6 +269,7 @@ form {
font-weight: normal;
background: $color_alert;
color: $color_light;
+
&:hover,
:active {
background: darken( $color_alert, 10%) !important;
@@ -254,6 +278,7 @@ form {
.nav-list {
.nav-header {
+
@extend %nav-list;
padding: 0 10px;
font-weight: bold;
@@ -261,45 +286,58 @@ form {
color: $color_light;
cursor: default;
}
+
.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;
}
@@ -310,9 +348,11 @@ form {
text-align: right;
background: $color_aside;
color: $color_light;
+
a {
color: $color_light;
}
+
.item {
padding: 5px 10px;
font-size: 0.9rem;
@@ -323,6 +363,7 @@ form {
.horizontal-list {
margin: 0;
padding: 0;
+
.item {
vertical-align: middle;
}
@@ -334,38 +375,48 @@ form {
text-align: left;
border: none;
background-color: darken( $color_nav, 10%);
+
.dropdown-header {
cursor: default;
}
+
> {
.item {
+
@extend %dropdown;
padding: 0;
margin-left: 10px;
+
> a,
> span,
- > as-link,
+ > .as-link,
button {
+
@extend %dropdown;
}
+
> a {
min-width: initial;
white-space: nowrap;
}
+
&: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 {
@@ -391,14 +442,15 @@ form {
.alert {
margin: 5px auto;
padding: 10px 15px;
- font-size: 0.9em;
background: $color_light;
- border: none;
color: darken( $color_light, 40% );
+ font-size: 0.9em;
+ border: none;
text-shadow: 0 0 1px $color_light;
+
> a {
- text-decoration: underline;
color: inherit;
+ text-decoration: underline;
}
}
@@ -428,49 +480,56 @@ form {
}
.pagination {
- text-align: center;
- font-size: 0.8em;
background: darken( $color_light, 10%);
color: $color_text;
+ font-size: 0.8em;
+ text-align: center;
+
.item {
&.pager-current {
- font-weight: bold;
- font-size: 1.5em;
background: $color_aside;
color: darken( $color_light, 10%);
+ font-size: 1.5em;
+ font-weight: bold;
}
+
a {
display: block;
+ color: $color_text;
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;
+ font-size: 0;
}
}
.content {
padding: 20px 10px;
+
.pagination {
margin: 0;
padding: 0;
}
+
hr {
margin: 30px 10px;
- height: 1px;
background: darken( $color_light, 10%);
+ height: 1px;
border: 0;
box-shadow: 0 2px 5px darken( $color_light, 10%);
}
+
pre {
margin: 10px auto;
padding: 10px 20px;
@@ -478,30 +537,35 @@ form {
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;
+ color: $color_bad;
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;
+ display: block;
color: darken( $color_light, 40% );
+ border-top: 1px solid darken( $color_light, 10%);
+ border-bottom: 1px solid darken( $color_light, 10%);
+
p {
margin: 0;
}
}
+
> h1.title > a {
color: $color_text;
}
@@ -509,6 +573,7 @@ form {
.box {
border: 1px solid darken( $color_light, 10%);
+
.box-title {
margin: 0;
padding: 5px 10px;
@@ -516,50 +581,61 @@ form {
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 {
+ background: none;
+ border: 0;
+ box-shadow: none;
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;
@@ -572,15 +648,17 @@ form {
}
.tree-folder-title {
- position: relative;
padding: 0 10px;
background: $color_aside;
- line-height: 2.3rem;
- font-size: 1rem;
height: 35px;
+ font-size: 1rem;
+ position: relative;
+ line-height: 2.3rem;
+
.title {
background: inherit;
color: $color_light;
+
&:hover {
text-decoration: none;
}
@@ -589,13 +667,16 @@ form {
.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;
@@ -607,6 +688,7 @@ form {
#sidebar {
scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
}
+
#sidebar:hover {
scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
}
@@ -616,6 +698,7 @@ form {
#sidebar::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
}
+
#sidebar:hover::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
}
@@ -624,17 +707,22 @@ form {
.header {
> .item {
vertical-align: middle;
+
&.title {
+
@extend %aside-width;
position: absolute;
+
h1 {
margin: 0;
display: block;
+
a {
text-decoration: none;
color: $color_light;
}
}
+
.logo {
display: inline-block;
height: 26px;
@@ -643,22 +731,27 @@ form {
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;
@@ -666,22 +759,27 @@ form {
}
.aside {
- background: $color_aside;
padding: 35px 0;
+ background: $color_aside;
+
@extend %aside-width;
+
&.aside_feed {
.tree {
margin: 0 0 50px;
}
+
.nav-form {
input,
select {
width: 140px;
}
+
.dropdown {
.dropdown-menu {
right: -20px;
}
+
.dropdown-menu::after {
right: 33px;
}
@@ -692,14 +790,15 @@ form {
.aside_feed {
.tree-folder-title > .title:not([data-unread="0"])::after {
- position: absolute;
- right: 0;
margin: 6px 0;
padding: 0 10px;
+ background: inherit;
font-size: 0.9rem;
+ position: absolute;
+ right: 0;
line-height: 1.5rem;
- background: inherit;
}
+
.tree-folder-items .dropdown-menu::after {
left: 2px;
}
@@ -708,16 +807,20 @@ form {
.post {
padding: 10px 50px;
font-size: 0.9em;
+
input {
background: darken( $color_light, 10% );
- &.long{
+
+ &.long {
height: 33px;
- margin-top: 0px;
+ margin-top: 0px;
}
}
+
form {
margin: 10px 0;
}
+
&.content {
max-width: 550px;
}
@@ -725,39 +828,47 @@ form {
.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;
+ font-size: 1em;
+ text-align: center;
position: fixed;
bottom: 48px;
z-index: 900;
left: 0;
- @extend %aside-width;
line-height: 1.5em;
+
+ @extend %aside-width;
+
&:hover {
background: darken( $color_nav, 10%);
}
+
> a {
line-height: 1.5em;
font-weight: bold;
color: $color_light;
+
&:hover {
text-decoration: none;
}
@@ -769,6 +880,7 @@ form {
font-weight: bold;
line-height: 3em;
text-align: center;
+
.name {
display: none;
}
@@ -782,11 +894,12 @@ form {
.nav_menu {
+ width: 100%;
font-size: 0;
background-color: $color_nav;
position: fixed;
- width: 100%;
z-index: 900;
+
.item.search {
display: inline-block;
position: fixed;
@@ -797,42 +910,56 @@ form {
.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) {
+ background: $color_unread;
+ }
+
&:not(.current):hover .item.title {
background: $color_unread;
}
}
- &.favorite,{
+
+ &.favorite, {
background: $color_stared;
+
&:not(.current):hover .item.title {
background: $color_stared;
}
}
+
.date {
- font-size: 0.7rem;
color: darken( $color_light, 40% );
+ font-size: 0.7rem;
}
+
.bottom {
font-size: 0.8rem;
text-align: center;
}
+
.website .favicon {
padding: 5px;
}
+
label {
color: $color_light;
cursor: pointer;
@@ -842,46 +969,55 @@ form {
.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%);
+ height: auto;
color: darken( $color_light, 40% );
+ font-size: 1em;
border: none;
+ text-align: center;
+ font-weight: bold;
+ z-index: 10;
+ vertical-align: middle;
position: fixed;
bottom: 48px;
left: 0;
top: auto;
+
@extend %aside-width;
- 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;
}
@@ -891,6 +1027,7 @@ form {
text-align: center;
text-decoration: none;
background: darken( $color_light, 10%);
+
&:hover {
background: $color_aside;
color: $color_light;
@@ -902,29 +1039,35 @@ form {
text-align: center;
line-height: 3em;
table-layout: fixed;
+
@extend %aside-width;
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;
}
@@ -938,28 +1081,31 @@ form {
}
.header {
- height: 55px;
background: $color_aside;
+ height: 55px;
+
> .item {
&.configure {
width: 200px;
position: unset;
}
+
&.title h1 {
display: unset;
}
}
}
+
a.signin {
color: $color_light;
padding-left: 5px;
}
input {
- border-left: 5px solid;
- border-right: 1px darken( $color_light, 10%);
border-top: 1px darken( $color_light, 10%);
+ border-right: 1px darken( $color_light, 10%);
border-bottom: 1px darken( $color_light, 10%);
+ border-left: 5px solid;
}
}
@@ -970,49 +1116,59 @@ form {
.log {
padding: 5px 2%;
- overflow: auto;
- font-size: 0.8rem;
background: $color_light;
+ font-size: 0.8rem;
+ overflow: auto;
+
> .date {
margin: 0 10px 0 0;
padding: 5px 10px;
}
+
&.error > .date {
background: lighten( $color_bad, 10%);
color: $color_light;
}
+
&.warning > .date {
background: $color_alert;
color: $color_light;
}
+
&.notice > .date {
background: darken( $color_light, 10%);
color: $color_light;
}
+
&.debug > .date {
background: $color_text;
color: $color_light;
}
}
-@media(max-width: 840px) {
+@media (max-width: 840px) {
.formLogin .header {
display: none;
}
+
.dropdown-header, .dropdown-menu > .item {
padding: 12px;
}
+
#new-article {
width: 100%;
position: sticky;
top: 0;
}
+
.header {
display: table;
+
.item.title .logo {
display: none;
}
}
+
.header > .item.title h1 a {
display: block;
position: absolute;
@@ -1020,93 +1176,116 @@ form {
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 {
+ background: $color_aside;
display: block;
height: 50px;
line-height: 50px;
text-align: right;
padding-right: 10px;
- background: $color_aside;
}
+
&.aside_feed {
padding: 0;
}
+
&:target {
width: 78%;
z-index: 1000;
}
}
+
.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 {
+ background: $color_aside;
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 {
+ background: transparent;
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,
@@ -1114,38 +1293,44 @@ form {
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) {
+@media (max-width: 410px) {
.nav_menu .stick {
margin: 0;
}
}
-@media(max-width: 374px) {
+@media (max-width: 374px) {
#nav_menu_views {
display: none;
}
@@ -1168,26 +1353,33 @@ button.as-link {
.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%);
}
@@ -1204,16 +1396,17 @@ button.as-link {
background: $color_light;
color: $color_aside;
border: none;
+
.author {
margin: 0 0 10px;
- font-size: 90%;
color: darken( $color_light, 40% );
+ font-size: 90%;
}
}
#nav_menu_actions, #nav_menu_read_all {
ul.dropdown-menu {
- left: 0px;
+ left: 0px;
}
}
@@ -1221,6 +1414,7 @@ button.as-link {
label {
min-height: initial;
}
+
.form-group {
&:hover {
background: inital;
diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css
index e265cd7ff..72020e8e6 100644
--- a/p/themes/base-theme/base.css
+++ b/p/themes/base-theme/base.css
@@ -1,3 +1,5 @@
+/* stylelint-disable block-no-empty */
+
@charset "UTF-8";
/*=== GENERAL */
@@ -18,36 +20,40 @@ legend {
padding: 5px 0;
font-size: 1.4em;
}
+
label {
min-height: 25px;
padding: 5px 0;
cursor: pointer;
}
+
textarea {
width: 360px;
height: 100px;
}
+
input, select, textarea {
min-height: 25px;
padding: 5px;
line-height: 25px;
vertical-align: middle;
}
+
option {
padding: 0 .5em;
}
+
input:focus, select:focus, textarea:focus {
}
+
input:invalid, select:invalid {
}
+
input:disabled, select:disabled {
}
+
input.extend {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
/*=== Tables */
@@ -58,8 +64,10 @@ table {
tr, th, td {
padding: 0.5em;
}
+
th {
}
+
form td,
form th {
font-weight: normal;
@@ -72,17 +80,21 @@ form th {
.form-group.form-actions {
padding: 5px 0;
}
+
.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;
}
@@ -92,17 +104,22 @@ form th {
vertical-align: middle;
font-size: 0;
}
+
.stick input,
.stick .btn {
}
+
.stick .btn:first-child,
.stick input:first-child {
}
+
.stick .btn-important:first-child {
}
+
.stick .btn:last-child,
.stick input:last-child {
}
+
.stick .btn + .btn,
.stick .btn + input,
.stick .btn + .dropdown > .btn,
@@ -113,29 +130,34 @@ form th {
.stick .dropdown + input,
.stick .dropdown + .dropdown > .btn {
}
+
.stick input + .btn {
}
+
.stick .btn + .dropdown > .btn {
}
.btn {
+ margin: 0;
+ padding: 5px 10px;
display: inline-block;
min-height: 37px;
min-width: 15px;
- margin: 0;
- padding: 5px 10px;
font-size: 0.9rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
}
+
a.btn {
min-height: 25px;
line-height: 25px;
}
+
.btn:hover {
text-decoration: none;
}
+
.btn.active,
.btn:active,
.dropdown-target:target ~ .btn.dropdown-toggle {
@@ -144,15 +166,19 @@ a.btn {
.btn-important {
font-weight: normal;
}
+
.btn-important:hover {
}
+
.btn-important:active {
}
.btn-attention {
}
+
.btn-attention:hover {
}
+
.btn-attention:active {
}
@@ -163,29 +189,40 @@ a.btn {
line-height: 2.5em;
font-size: 0.9rem;
}
+
.nav-list .item:hover {
}
+
.nav-list .item:hover a {
}
+
.nav-list .item.active {
}
+
.nav-list .item.active a {
}
+
.nav-list .disable {
text-align: center;
}
+
.nav-list .item > a {
padding: 0 10px;
}
+
.nav-list a:hover {
text-decoration: none;
}
+
.nav-list .item.empty a {
}
+
.nav-list .item.active.empty a {
}
+
.nav-list .item.error a {
}
+
.nav-list .item.active.error a {
}
@@ -203,6 +240,7 @@ a.btn {
margin: 0;
text-align: right;
}
+
.nav-head .item {
padding: 5px 10px;
font-size: 0.9rem;
@@ -214,6 +252,7 @@ a.btn {
margin: 0;
padding: 0;
}
+
.horizontal-list .item {
vertical-align: middle;
}
@@ -225,6 +264,7 @@ a.btn {
font-size: 0.8rem;
text-align: left;
}
+
.dropdown-menu::after {
content: "";
position: absolute;
@@ -234,32 +274,36 @@ a.btn {
height: 10px;
z-index: -10;
transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
}
+
.dropdown-header {
padding: 0 5px 5px;
font-weight: bold;
text-align: left;
}
+
.dropdown-menu > .item {
}
+
.dropdown-menu > .item > a,
.dropdown-menu > .item > span,
.dropdown-menu > .item > .as-link {
padding: 0 22px;
line-height: 2.5em;
}
+
.dropdown-menu > .item:hover {
}
+
.dropdown-menu > .item[aria-checked="true"] > a::before {
font-weight: bold;
margin: 0 0 0 -14px;
}
+
.dropdown-menu > .item:hover > a {
text-decoration: none;
}
+
.dropdown-menu .input select,
.dropdown-menu .input input {
margin: 0 auto 5px;
@@ -276,16 +320,21 @@ a.btn {
padding: 10px 15px;
font-size: 0.9em;
}
+
.alert-head {
font-size: 1.15em;
}
+
.alert > a {
text-decoration: underline;
}
+
.alert-warn {
}
+
.alert-success {
}
+
.alert-error {
}
@@ -294,24 +343,30 @@ a.btn {
text-align: center;
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;
font-style: italic;
line-height: 3em;
text-decoration: none;
}
+
.pagination .item a:hover {
}
+
.pagination:first-child .item {
}
+
.pagination:last-child .item {
}
@@ -323,10 +378,12 @@ a.btn {
/*=== Boxes */
.box {
}
+
.box .box-title {
margin: 0;
padding: 5px 10px;
}
+
.box .box-content {
max-height: 260px;
}
@@ -340,6 +397,7 @@ a.btn {
.box .box-content .item .configure {
visibility: hidden;
}
+
.box .box-content .item:hover .configure {
visibility: visible;
}
@@ -348,35 +406,45 @@ a.btn {
.tree {
margin: 10px 0;
}
+
.tree-folder-title {
position: relative;
padding: 0 10px;
line-height: 2.5rem;
font-size: 1rem;
}
+
.tree-folder-title .title {
background: inherit;
}
+
.tree-folder-title .title:hover {
text-decoration: none;
}
+
.tree-folder.active .tree-folder-title {
font-weight: bold;
}
+
.tree-folder.active .tree-folder-title .title {
}
+
.tree-folder-items {
}
+
.tree-folder-items > .item {
padding: 0 10px;
line-height: 2.5rem;
font-size: 0.8rem;
}
+
.tree-folder-items > .item.active {
}
+
.tree-folder-items > .item > a {
text-decoration: none;
}
+
.tree-folder-items > .item.active > a {
}
@@ -386,23 +454,29 @@ a.btn {
.header {
height: 85px;
}
+
.header > .item {
padding: 10px;
vertical-align: middle;
text-align: center;
}
-.header > .item.title{
+
+.header > .item.title {
width: 230px;
}
+
.header > .item.title h1 {
margin: 0.5em 0;
}
+
.header > .item.title h1 a {
text-decoration: none;
}
+
.header > .item.search input {
width: 230px;
}
+
.header .item.search input:focus {
width: 350px;
}
@@ -411,12 +485,15 @@ a.btn {
#global {
height: calc(100% - 85px);
}
+
.aside {
}
+
.aside.aside_feed {
padding: 10px 0;
text-align: center;
}
+
.aside.aside_feed .tree {
margin: 10px 0 50px;
}
@@ -434,22 +511,28 @@ a.btn {
/*=== Aside main page (feeds) */
.feed.item.empty.active {
}
+
.feed.item.error.active {
}
+
.feed.item.empty,
.feed.item.empty > a {
}
+
.feed.item.error,
.feed.item.error > a {
}
+
.feed.item.empty.active,
.feed.item.error.active,
.feed.item.empty.active > a,
.feed.item.error.active > a {
}
+
.aside_feed .tree-folder-items .dropdown-menu::after {
left: 2px;
}
+
.aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
.aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
@@ -461,9 +544,11 @@ a.btn {
padding: 10px 50px;
font-size: 0.9em;
}
+
.post form {
margin: 10px 0;
}
+
.post.content {
max-width: 550px;
}
@@ -472,17 +557,21 @@ a.btn {
.prompt {
text-align: center;
}
+
.prompt label {
text-align: left;
}
+
.prompt form {
margin: 10px auto 20px auto;
width: 180px;
}
+
.prompt input {
margin: 5px auto;
width: 100%;
}
+
.prompt p {
margin: 20px 0;
}
@@ -492,12 +581,15 @@ a.btn {
text-align: center;
font-size: 0.9em;
}
+
#new-article:hover {
}
+
#new-article > a {
line-height: 3em;
font-weight: bold;
}
+
#new-article > a:hover {
text-decoration: none;
}
@@ -508,8 +600,10 @@ a.btn {
font-weight: bold;
line-height: 3em;
}
+
#new-article + .day {
}
+
.day .name {
padding: 0 10px 0 0;
font-size: 1.8em;
@@ -527,35 +621,42 @@ a.btn {
/*=== Feed articles */
.flux {
}
+
.flux:hover {
}
+
.flux.current {
}
+
.flux.not_read {
}
+
.flux.not_read:not(.current):hover .item.title {
}
+
.flux.favorite {
}
+
.flux.favorite:not(.current):hover .item.title {
}
-.flux.current {
-}
-
.flux_header {
font-size: 0.8rem;
cursor: pointer;
}
+
.flux_header .title {
font-size: 0.9rem;
}
+
.flux .website .favicon {
padding: 5px;
}
+
.flux .date {
font-size: 0.7rem;
}
+
.flux:not(.current):hover .item.title {
}
@@ -568,6 +669,7 @@ a.btn {
.content {
padding: 20px 10px;
}
+
.content > h1.title > a {
}
@@ -582,17 +684,20 @@ a.btn {
overflow: auto;
font-size: 0.9rem;
}
+
.content code {
padding: 2px 5px;
}
+
.content pre code {
}
.content blockquote {
- display: block;
margin: 0;
padding: 5px 20px;
+ display: block;
}
+
.content blockquote p {
margin: 0;
}
@@ -607,16 +712,21 @@ a.btn {
z-index: 10;
vertical-align: middle;
}
+
.notification.good {
}
+
.notification.bad {
}
+
.notification a.close {
padding: 0 15px;
line-height: 3em;
}
+
.notification.good a.close:hover {
}
+
.notification.bad a.close:hover {
}
@@ -629,8 +739,10 @@ a.btn {
text-align: center;
text-decoration: none;
}
+
#bigMarkAsRead:hover {
}
+
#bigMarkAsRead:hover .bigTick {
}
@@ -647,6 +759,7 @@ a.btn {
#stream.reader .flux {
padding: 0 0 50px;
}
+
#stream.reader .flux .author {
margin: 0 0 10px;
font-size: 90%;
@@ -659,22 +772,27 @@ a.btn {
text-decoration: none;
text-align: left;
}
+
.box.category:not([data-unread="0"]) .box-title {
}
+
.box.category:not([data-unread="0"]) .box-title:active {
}
+
.box.category:not([data-unread="0"]) .box-title .title {
font-weight: bold;
}
+
.box.category .title:not([data-unread="0"])::after {
+ background: none;
+ border: 0;
position: absolute;
top: 5px; right: 10px;
- border: 0;
- background: none;
font-weight: bold;
box-shadow: none;
text-shadow: none;
}
+
.box.category .item.feed {
padding: 2px 10px;
font-size: 0.8rem;
@@ -686,9 +804,11 @@ a.btn {
.aside.aside_feed .nav-form select {
width: 140px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu {
right: -20px;
}
+
.aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
right: 33px;
}
@@ -703,6 +823,7 @@ a.btn {
.stat td,
.stat tr {
}
+
.stat > table td,
.stat > table th {
text-align: center;
@@ -711,11 +832,13 @@ a.btn {
.stat > .horizontal-list {
margin: 0 0 5px;
}
+
.stat > .horizontal-list .item {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
+
.stat > .horizontal-list .item:first-child {
width: 250px;
}
@@ -725,35 +848,40 @@ a.btn {
.loglist {
overflow: hidden;
}
+
.log {
padding: 5px 10px;
font-size: 0.8rem;
}
+
.log+.log {
}
+
.log .date {
display: block;
font-weight: bold;
}
+
.log.error {
}
+
.log.warning {
}
+
.log.notice {
}
+
.log.debug {
}
/*=== MOBILE */
/*===========*/
-@media(max-width: 840px) {
+
+@media (max-width: 840px) {
.aside {
transition: width 200ms linear;
- -moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
- -o-transition: width 200ms linear;
- -ms-transition: width 200ms linear;
}
+
.aside .toggle_aside,
#panel .close {
display: block;
@@ -770,20 +898,25 @@ a.btn {
.nav_menu .btn {
margin: 5px 10px;
}
+
.nav_menu .stick {
margin: 0 10px;
}
+
.nav_menu .stick .btn {
margin: 5px 0;
}
+
.nav_menu .search {
display: inline-block;
max-width: 97%;
}
+
.nav_menu .search input {
max-width: 97%;
width: 90px;
}
+
.nav_menu .search input:focus {
width: 400px;
}
@@ -800,9 +933,11 @@ a.btn {
display: block;
left: 0;
}
+
.notification a.close:hover {
opacity: 0.5;
}
+
.notification a.close .icon {
display: none;
}
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css
index 226d06f59..ebceea526 100644
--- a/p/themes/base-theme/template.css
+++ b/p/themes/base-theme/template.css
@@ -2,6 +2,7 @@
/*=== GENERAL */
/*============*/
+
@font-face {
font-family: 'OpenSans';
font-style: normal;
@@ -22,6 +23,7 @@ html, body {
a {
text-decoration: none;
}
+
a:hover {
text-decoration: underline;
}
@@ -38,11 +40,13 @@ h1 {
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;
@@ -54,6 +58,7 @@ p {
margin: 1em 0 0.5em;
font-size: 1em;
}
+
sup {
line-height: 25px;
position: relative;
@@ -63,14 +68,16 @@ sup {
/*=== Images */
img {
- height: auto;
max-width: 100%;
+ height: auto;
}
+
img.favicon {
- height: 16px;
width: 16px;
+ height: 16px;
vertical-align: middle;
}
+
.feed.mute::before {
content: '๐Ÿ”‡';
}
@@ -86,54 +93,68 @@ legend {
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;
- border: none;
color: inherit;
- cursor: pointer;
font-size: 1.1em;
+ border: none;
+ cursor: pointer;
text-align: left;
}
+
button.as-link[disabled] {
- color:#DDD !important;
+ color: #ddd !important;
}
/*=== Tables */
table {
max-width: 100%;
}
+
th.numeric,
td.numeric {
text-align: center;
@@ -141,7 +162,6 @@ td.numeric {
/*=== COMPONENTS */
/*===============*/
-
[aria-hidden="true"] {
display: none !important;
}
@@ -152,18 +172,22 @@ td.numeric {
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;
}
@@ -180,12 +204,14 @@ td.numeric {
display: inline-block;
white-space: nowrap;
}
+
.btn,
a.btn {
display: inline-block;
cursor: pointer;
overflow: hidden;
}
+
.btn-important {
font-weight: bold;
}
@@ -195,6 +221,7 @@ a.btn {
.nav-list .item {
display: block;
}
+
.nav-list .item,
.nav-list .item > a {
display: block;
@@ -202,9 +229,11 @@ a.btn {
white-space: nowrap;
text-overflow: ellipsis;
}
+
.nav-head {
display: block;
}
+
.nav-head .item {
display: inline-block;
}
@@ -215,6 +244,7 @@ a.btn {
table-layout: fixed;
width: 100%;
}
+
.horizontal-list .item {
display: table-cell;
}
@@ -225,29 +255,35 @@ a.btn {
display: inline-block;
vertical-align: middle;
}
+
.dropdown-target {
display: none;
}
+
.dropdown-menu {
+ margin: 0;
+ background: #fff;
display: none;
+ border: 1px solid #aaa;
min-width: 200px;
- margin: 0;
position: absolute;
right: 0;
- background: #fff;
- border: 1px solid #aaa;
}
+
.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 {
@@ -255,33 +291,40 @@ a.btn {
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;
- display: block;
z-index: -10;
cursor: default;
}
+
.separator {
display: block;
height: 0;
@@ -293,13 +336,16 @@ a.btn {
display: block;
width: 90%;
}
+
.group-controls .alert {
width: 100%
}
+
.alert-head {
margin: 0;
font-weight: bold;
}
+
.alert ul {
margin: 5px 20px;
}
@@ -315,15 +361,17 @@ a.btn {
/*=== Pagination */
.pagination {
- display: table;
- width: 100%;
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,
@@ -333,28 +381,33 @@ a.btn {
/*=== Boxes */
.box {
+ margin: 20px 10px;
display: inline-block;
- width: 20rem;
max-width: 95%;
- margin: 20px 10px;
+ width: 20rem;
border: 1px solid #ccc;
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;
@@ -364,6 +417,7 @@ a.btn {
padding: 30px 5px;
text-align: center;
}
+
.box .box-content-centered .btn {
margin: 20px 0 0;
}
@@ -373,17 +427,20 @@ a.btn {
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);
}
@@ -394,11 +451,13 @@ a.btn {
background: rgba(0, 0, 0, 0.05);
width: 8px;
}
+
#sidebar::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.1);
- border-radius: 5px;
display: unset;
+ border-radius: 5px;
}
+
#sidebar:hover::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.3);
}
@@ -414,26 +473,30 @@ a.btn {
}
.tree-folder-items {
- list-style: none;
- max-height: 200em;
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;
@@ -442,6 +505,7 @@ a.btn {
white-space: nowrap;
text-overflow: ellipsis;
}
+
.tree-bottom {
visibility: hidden;
margin-bottom: 18em;
@@ -455,22 +519,27 @@ a.btn {
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;
- height: 32px;
width: 32px;
+ height: 32px;
vertical-align: middle;
}
+
.header > .item.configure {
width: 100px;
}
@@ -482,6 +551,7 @@ a.btn {
height: 100%;
table-layout: fixed;
}
+
.aside {
display: table-cell;
width: 300px;
@@ -496,26 +566,32 @@ a.btn {
.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) {
- border: none;
margin: 0;
- max-height: 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 {
@@ -526,6 +602,7 @@ a.btn {
#new-article {
display: none;
}
+
#new-article > a {
display: block;
}
@@ -544,39 +621,51 @@ a.btn {
.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 {
- position: absolute;
- max-width: calc(100% - 320px);
background: #fff;
+ max-width: calc(100% - 320px);
+ position: absolute;
}
+
.flux .item.title a {
color: #000;
text-decoration: none;
}
+
+.flux .item.author {
+ color: #555;
+ font-size: .7rem;
+ font-weight: normal;
+ white-space: normal;
+}
+
.flux .item.date {
width: 155px;
text-align: right;
overflow: hidden;
}
-.flux .item > a {
- display: block;
-}
+
.flux .item > a {
display: block;
text-decoration: none;
@@ -584,6 +673,7 @@ a.btn {
text-overflow: ellipsis;
overflow: hidden;
}
+
.flux .item.share > a,
.item.query > a {
display: list-item;
@@ -595,30 +685,37 @@ a.btn {
.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;
}
@@ -635,10 +732,12 @@ br {
visibility: visible;
transition: visibility 0s, opacity .3s linear;
}
+
.notification.closed {
opacity: 0;
visibility: hidden;
}
+
.notification a.close {
position: absolute;
top: 0; bottom: 0;
@@ -649,27 +748,31 @@ br {
#actualizeProgress {
position: fixed;
}
+
#actualizeProgress progress {
max-width: 100%;
vertical-align: middle;
}
+
#actualizeProgress .progress {
vertical-align: middle;
}
/*=== Navigation menu (for articles) */
#nav_entries {
+ background: #fff;
+ display: table;
position: fixed;
bottom: 0; left: 0;
- display: table;
width: 300px;
- background: #fff;
table-layout: fixed;
}
+
#nav_entries .item {
display: table-cell;
width: 30%;
}
+
#nav_entries a {
display: block;
}
@@ -678,19 +781,22 @@ br {
#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;
- padding: 1em 0 50px 0;
- margin: 0 0 100% 0;
- margin: 0 0 100vh 0;
}
+
.bigTick {
font-size: 4em;
}
@@ -699,14 +805,17 @@ br {
.stat {
margin: 15px 0;
}
+
.stat.half {
+ padding: 0 2%;
display: inline-block;
width: 46%;
- padding: 0 2%;
}
+
.stat > table {
width: 100%;
}
+
.statGraph {
height: 300px;
}
@@ -735,12 +844,14 @@ br {
#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;
@@ -755,24 +866,28 @@ br {
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;
- background: #fff;
}
+
#overlay .close {
position: fixed;
top: 0; bottom: 0;
left: 0; right: 0;
display: block;
}
+
#overlay .close img {
display: none;
}
@@ -786,20 +901,19 @@ br {
background: #fff;
border-left: 1px solid #aaa;
transition: left 200ms linear;
- -moz-transition: left 200ms linear;
- -webkit-transition: left 200ms linear;
- -o-transition: left 200ms linear;
- -ms-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;
}
@@ -808,85 +922,98 @@ br {
/*==============*/
.slides {
padding: 0;
- height: 320px;
display: block;
+ max-width: 640px;
+ height: 320px;
+ border: 1px solid #aaa;
position: relative;
min-width: 260px;
- max-width: 640px;
margin-bottom: 30px;
- border: 1px solid #aaa;
}
+
.slides input {
display: none;
}
+
.slide-container {
display: block;
}
+
.slide {
- top: 0;
- opacity: 0;
+ display: block;
width: 100%;
height: 100%;
- display: block;
+ 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%;
- display: none;
+ color: #fff;
+ font-family: "Varela Round", sans-serif;
+ font-size: 1000%;
position: absolute;
opacity: 0;
z-index: 9;
cursor: pointer;
transition: opacity .2s;
- color: #FFF;
- font-size: 1000%;
text-align: center;
line-height: 225%;
- font-family: "Varela Round", sans-serif;
background-color: rgba(255, 255, 255, .3);
text-shadow: 0px 0px 15px rgb(119, 119, 119);
- padding: 0;
}
+
.properties {
- display: none;
- bottom: 0;
- left: 0; right: 0;
- position: absolute;
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;
}
@@ -896,13 +1023,16 @@ input:checked + .slide-container .properties {
.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;
}
@@ -953,7 +1083,8 @@ pre.enclosure-description {
/*=== MOBILE */
/*===========*/
-@media(max-width: 840px) {
+
+@media (max-width: 840px) {
.header,
.aside .btn-important,
.flux_header .item.website span,
@@ -962,19 +1093,23 @@ pre.enclosure-description {
.no-mobile {
display: none;
}
+
.dropdown .dropdown-menu {
+ width: 100%;
border-radius: 0;
bottom: 0;
position: fixed;
- width: 100%;
}
+
.dropdown-menu::after {
display: none;
}
+
.aside .toggle_aside,
.nav-login {
display: block;
}
+
.nav_menu .toggle_aside,
.nav_menu .search,
#panel .close img {
@@ -989,6 +1124,7 @@ pre.enclosure-description {
overflow: hidden;
z-index: 100;
}
+
.aside:target {
width: 90%;
}
@@ -1017,6 +1153,7 @@ pre.enclosure-description {
top: 25px; bottom: 30px;
left: 0; right: 0;
}
+
#panel .close {
top: 0; right: 0;
left: auto; bottom: auto;
@@ -1028,6 +1165,7 @@ pre.enclosure-description {
/*=== PRINTER */
/*============*/
+
@media print {
.header, .aside,
.nav_menu, .day,
@@ -1037,21 +1175,26 @@ pre.enclosure-description {
#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;
diff --git a/p/themes/p.css b/p/themes/p.css
index 171b2078b..34b2ea72f 100644
--- a/p/themes/p.css
+++ b/p/themes/p.css
@@ -4,14 +4,17 @@ body {
font-family: sans-serif;
text-align: center;
}
+
h1 {
font-size: xx-large;
- text-shadow: 1px -1px 0 #CCCCCC;
+ text-shadow: 1px -1px 0 #ccc;
}
+
h1 a {
- color: #0062BE;
+ color: #0062be;
text-decoration: none;
}
+
img {
border: 0;
}