From 6ea093b12d23a892456473dff2c5968781f72ae8 Mon Sep 17 00:00:00 2001 From: Michael Mead Date: Sat, 27 May 2017 21:52:17 -0500 Subject: [PATCH] more cleanup --- old/colors.js | 6 - old/dashboard.html | 202 --- old/dashboard.js | 618 ------- old/dashboard/changelog.txt | 7 - .../documentation/css/documentation.css | 260 --- .../documentation/documentation.html | 1556 ----------------- old/default.css | 355 ---- old/index.html | 12 - src/api/static/css/demo.css | 70 - src/api/static/js/dashboard.js | 2 +- .../templates/assets/sass/paper/_alerts.scss | 63 - src/api/templates/dashboard.html | 28 +- src/api/templates/icons.html | 1350 -------------- src/api/templates/maps.html | 225 --- src/api/templates/notifications.html | 296 ---- src/api/templates/table.html | 348 ---- src/api/templates/template.html | 166 -- src/api/templates/typography.html | 294 ---- src/api/templates/upgrade.html | 284 --- src/api/templates/user.html | 406 ----- src/sass/paper-dashboard.scss | 45 - src/sass/paper/_alerts.scss | 64 - src/sass/paper/_buttons.scss | 114 -- src/sass/paper/_cards.scss | 243 --- src/sass/paper/_chartist.scss | 230 --- src/sass/paper/_checkbox-radio.scss | 132 -- src/sass/paper/_dropdown.scss | 115 -- src/sass/paper/_footers.scss | 42 - src/sass/paper/_inputs.scss | 171 -- src/sass/paper/_misc.scss | 69 - src/sass/paper/_mixins.scss | 17 - src/sass/paper/_navbars.scss | 293 ---- src/sass/paper/_responsive.scss | 447 ----- src/sass/paper/_sidebar-and-main-panel.scss | 194 -- src/sass/paper/_tables.scss | 77 - src/sass/paper/_typography.scss | 117 -- src/sass/paper/_variables.scss | 262 --- src/sass/paper/mixins/_buttons.scss | 85 - src/sass/paper/mixins/_cards.scss | 8 - src/sass/paper/mixins/_chartist.scss | 104 -- src/sass/paper/mixins/_icons.scss | 13 - src/sass/paper/mixins/_inputs.scss | 17 - src/sass/paper/mixins/_labels.scss | 21 - src/sass/paper/mixins/_navbars.scss | 11 - src/sass/paper/mixins/_sidebar.scss | 42 - src/sass/paper/mixins/_tabs.scss | 4 - src/sass/paper/mixins/_transparency.scss | 20 - src/sass/paper/mixins/_vendor-prefixes.scss | 197 --- 48 files changed, 2 insertions(+), 9700 deletions(-) delete mode 100644 old/colors.js delete mode 100644 old/dashboard.html delete mode 100644 old/dashboard.js delete mode 100644 old/dashboard/changelog.txt delete mode 100644 old/dashboard/documentation/css/documentation.css delete mode 100644 old/dashboard/documentation/documentation.html delete mode 100644 old/default.css delete mode 100644 old/index.html delete mode 100644 src/api/static/css/demo.css delete mode 100644 src/api/templates/assets/sass/paper/_alerts.scss delete mode 100644 src/api/templates/icons.html delete mode 100644 src/api/templates/maps.html delete mode 100644 src/api/templates/notifications.html delete mode 100644 src/api/templates/table.html delete mode 100644 src/api/templates/template.html delete mode 100644 src/api/templates/typography.html delete mode 100644 src/api/templates/upgrade.html delete mode 100644 src/api/templates/user.html delete mode 100755 src/sass/paper-dashboard.scss delete mode 100644 src/sass/paper/_alerts.scss delete mode 100755 src/sass/paper/_buttons.scss delete mode 100644 src/sass/paper/_cards.scss delete mode 100644 src/sass/paper/_chartist.scss delete mode 100644 src/sass/paper/_checkbox-radio.scss delete mode 100644 src/sass/paper/_dropdown.scss delete mode 100644 src/sass/paper/_footers.scss delete mode 100755 src/sass/paper/_inputs.scss delete mode 100755 src/sass/paper/_misc.scss delete mode 100644 src/sass/paper/_mixins.scss delete mode 100644 src/sass/paper/_navbars.scss delete mode 100644 src/sass/paper/_responsive.scss delete mode 100755 src/sass/paper/_sidebar-and-main-panel.scss delete mode 100644 src/sass/paper/_tables.scss delete mode 100644 src/sass/paper/_typography.scss delete mode 100644 src/sass/paper/_variables.scss delete mode 100644 src/sass/paper/mixins/_buttons.scss delete mode 100644 src/sass/paper/mixins/_cards.scss delete mode 100644 src/sass/paper/mixins/_chartist.scss delete mode 100644 src/sass/paper/mixins/_icons.scss delete mode 100644 src/sass/paper/mixins/_inputs.scss delete mode 100644 src/sass/paper/mixins/_labels.scss delete mode 100644 src/sass/paper/mixins/_navbars.scss delete mode 100644 src/sass/paper/mixins/_sidebar.scss delete mode 100644 src/sass/paper/mixins/_tabs.scss delete mode 100644 src/sass/paper/mixins/_transparency.scss delete mode 100644 src/sass/paper/mixins/_vendor-prefixes.scss diff --git a/old/colors.js b/old/colors.js deleted file mode 100644 index c12bc65..0000000 --- a/old/colors.js +++ /dev/null @@ -1,6 +0,0 @@ -var COLORS = ["#5d8aa8","#00308f","#a32638","#e32636","#c46210","#efdecd","#e52b50","#ffbf00","#ff7e00","#ff033e","#96c","#a4c639","#f2f3f4","#cd9575","#915c83","#841b2d","#faebd7","#008000","#8db600","#fbceb1","#0ff","#7fffd4","#4b5320","#3b444b","#e9d66b","#b2beb5","#87a96b","#f96","#a52a2a","#fdee00","#6e7f80","#568203","#007fff","#f0ffff","#89cff0","#a1caf1","#f4c2c2","#21abcd","#fae7b5","#ffe135","#7c0a02","#848482","#98777b","#bcd4e6","#9f8170","#f5f5dc","#9c2542","#ffe4c4","#3d2b1f","#fe6f5e","#bf4f51","#000","#3d0c02","#253529","#3b3c36","#ffebcd","#a57164","#318ce7","#ace5ee","#faf0be","#00f","#a2a2d0","#1f75fe","#69c","#0d98ba","#0093af","#0087bd","#339","#0247fe","#126180","#8a2be2","#de5d83","#79443b","#0095b6","#e3dac9","#c00","#006a4e","#873260","#0070ff","#b5a642","#cb4154","#1dacd6","#6f0","#bf94e4","#c32148","#ff007f","#08e8de","#d19fe8","#f4bbff","#ff55a3","#fb607f","#004225","#cd7f32","#964b00","#a52a2a","#ffc1cc","#e7feff","#f0dc82","#480607","#800020","#deb887","#c50","#e97451","#8a3324","#bd33a4","#702963","#536872","#5f9ea0","#91a3b0","#006b3c","#ed872d","#e30022","#fff600","#a67b5b","#4b3621","#1e4d2b","#a3c1ad","#c19a6b","#efbbcc","#78866b","#ffef00","#ff0800","#e4717a","#00bfff","#592720","#c41e3a","#0c9","#960018","#d70040","#eb4c42","#ff0038","#ffa6c9","#b31b1b","#99badd","#ed9121","#062a78","#92a1cf","#ace1af","#007ba7","#2f847c","#b2ffff","#4997d0","#de3163","#ec3b83","#007ba7","#2a52be","#6d9bc3","#007aa5","#e03c31","#a0785a","#fad6a5","#36454f","#e68fac","#dfff00","#7fff00","#de3163","#ffb7c5","#cd5c5c","#de6fa1","#a8516e","#aa381e","#7b3f00","#d2691e","#ffa700","#98817b","#e34234","#d2691e","#e4d00a","#fbcce7","#0047ab","#d2691e","#6f4e37","#9bddff","#f88379","#002e63","#8c92ac","#b87333","#da8a67","#ad6f69","#cb6d51","#966","#ff3800","#ff7f50","#f88379","#ff4040","#893f45","#fbec5d","#b31b1b","#6495ed","#fff8dc","#fff8e7","#ffbcd9","#fffdd0","#dc143c","#be0032","#0ff","#00b7eb","#ffff31","#f0e130","#00008b","#654321","#5d3954","#a40000","#08457e","#986960","#cd5b45","#008b8b","#536878","#b8860b","#a9a9a9","#013220","#00416a","#1a2421","#bdb76b","#483c32","#734f96","#8b008b","#036","#556b2f","#ff8c00","#9932cc","#779ecb","#03c03c","#966fd6","#c23b22","#e75480","#039","#872657","#8b0000","#e9967a","#560319","#8fbc8f","#3c1414","#483d8b","#2f4f4f","#177245","#918151","#ffa812","#483c32","#cc4e5c","#00ced1","#9400d3","#9b870c","#00703c","#555","#d70a53","#a9203e","#ef3038","#e9692c","#da3287","#fad6a5","#b94e48","#704241","#c154c1","#004b49","#95b","#c0c","#ffcba4","#ff1493","#843f5b","#f93","#00bfff","#66424d","#1560bd","#c19a6b","#edc9af","#696969","#1e90ff","#d71868","#85bb65","#967117","#00009c","#e1a95f","#555d50","#c2b280","#614051","#f0ead6","#1034a6","#7df9ff","#ff003f","#0ff","#0f0","#6f00ff","#f4bbff","#cf0","#bf00ff","#3f00ff","#8f00ff","#ff0","#50c878","#b48395","#96c8a2","#c19a6b","#801818","#b53389","#f400a1","#e5aa70","#4d5d53","#4f7942","#ff2800","#6c541e","#ce2029","#b22222","#e25822","#fc8eac","#f7e98e","#eedc82","#fffaf0","#ffbf00","#ff1493","#cf0","#ff004f","#014421","#228b22","#a67b5b","#0072bb","#86608e","#cf0","#c72c48","#f64a8a","#f0f","#c154c1","#f7f","#c74375","#e48400","#c66","#dcdcdc","#e49b0f","#f8f8ff","#b06500","#6082b6","#e6e8fa","#d4af37","#ffd700","#996515","#fcc200","#ffdf00","#daa520","#a8e4a0","#808080","#465945","#808080","#bebebe","#0f0","#1cac78","#008000","#00a877","#009f6b","#00a550","#66b032","#adff2f","#a99a86","#00ff7f","#663854","#446ccf","#5218fa","#e9d66b","#3fff00","#c90016","#da9100","#808000","#df73ff","#f400a1","#f0fff0","#007fbf","#49796b","#ff1dce","#ff69b4","#355e3b","#71a6d2","#fcf75e","#002395","#b2ec5d","#138808","#cd5c5c","#e3a857","#6f00ff","#00416a","#4b0082","#002fa7","#ff4f00","#ba160c","#c0362c","#5a4fcf","#f4f0ec","#009000","#fffff0","#00a86b","#f8de7e","#d73b3e","#a50b5e","#343434","#fada5e","#bdda57","#29ab87","#4cbb17","#7c1c05","#c3b091","#f0e68c","#e8000d","#087830","#d6cadd","#26619c","#fefe22","#a9ba9d","#cf1020","#ccf","#fff0f5","#b57edc","#c4c3d0","#9457eb","#ee82ee","#e6e6fa","#fbaed2","#967bb6","#fba0e3","#e6e6fa","#7cfc00","#fff700","#fffacd","#e3ff00","#1a1110","#fdd5b1","#add8e6","#b5651d","#e66771","#f08080","#93ccea","#f56991","#e0ffff","#f984ef","#fafad2","#d3d3d3","#90ee90","#f0e68c","#b19cd9","#ffb6c1","#e97451","#ffa07a","#f99","#20b2aa","#87cefa","#789","#b38b6d","#e68fac","#ffffe0","#c8a2c8","#bfff00","#32cd32","#0f0","#9dc209","#195905","#faf0e6","#c19a6b","#6ca0dc","#534b4f","#e62020","#f0f","#ca1f7b","#ff0090","#aaf0d1","#f8f4ff","#c04000","#fbec5d","#6050dc","#0bda51","#979aaa","#ff8243","#74c365","#880085","#c32148","#800000","#b03060","#e0b0ff","#915f6d","#ef98aa","#73c2fb","#e5b73b","#6da","#0000cd","#e2062c","#af4035","#f3e5ab","#035096","#1c352d","#dda0dd","#ba55d3","#0067a5","#9370db","#bb3385","#aa4069","#3cb371","#7b68ee","#c9dc87","#00fa9a","#674c47","#48d1cc","#79443b","#d9603b","#c71585","#f8b878","#f8de7e","#fdbcb4","#191970","#004953","#ffc40c","#3eb489","#f5fffa","#98ff98","#ffe4e1","#faebd7","#967117","#73a9c2","#ae0c00","#addfad","#30ba8f","#997a8d","#18453b","#c54b8c","#ffdb58","#21421e","#f6adc6","#2a8000","#fada5e","#ffdead","#000080","#ffa343","#fe4164","#39ff14","#d7837f","#a4dded","#059033","#0077be","#c72","#008000","#cfb53b","#fdf5e6","#796878","#673147","#c08081","#808000","#7","#3c341f","#3","#6b8e23","#9ab973","#353839","#b784a7","#ff7f00","#ff9f00","#ff4500","#fb9902","#ffa500","#da70d6","#654321","#900","#414a4c","#ff6e4a","#002147","#060","#273be2","#682860","#bcd4e6","#afeeee","#987654","#af4035","#9bc4e2","#ddadaf","#da8a67","#abcdef","#e6be8a","#eee8aa","#98fb98","#dcd0ff","#f984e5","#fadadd","#dda0dd","#db7093","#96ded1","#c9c0bb","#ecebbd","#bc987e","#db7093","#78184a","#ffefd5","#50c878","#aec6cf","#836953","#cfcfc4","#7d7","#f49ac2","#ffb347","#dea5a4","#b39eb5","#ff6961","#cb99c9","#fdfd96","#800080","#536878","#ffe5b4","#ffcba4","#fc9","#ffdab9","#fadfad","#d1e231","#eae0c8","#88d8c0","#b768a2","#e6e200","#ccf","#1c39bb","#00a693","#32127a","#d99058","#f77fbe","#701c1c","#c33","#fe28a2","#ec5800","#cd853f","#df00ff","#000f89","#123524","#fddde6","#01796f","#ffc0cb","#ffddf4","#f96","#e7accf","#f78fa7","#93c572","#e5e4e2","#8e4585","#dda0dd","#ff5a36","#b0e0e6","#ff8f00","#701c1c","#003153","#df00ff","#c89","#ff7518","#69359c","#800080","#9678b6","#9f00c5","#fe4eda","#50404d","#a020f0","#51484f","#5d8aa8","#ff355e","#fbab60","#e30b5d","#915f6d","#e25098","#b3446c","#826644","#f3c","#e3256b","#f00","#a52a2a","#860111","#f2003c","#c40233","#ff5349","#ed1c24","#fe2712","#c71585","#ab4e52","#522d80","#002387","#004040","#f1a7fe","#d70040","#0892d0","#a76bcf","#b666d2","#b03060","#414833","#0cc","#ff007f","#f9429e","#674846","#b76e79","#e32636","#f6c","#aa98a9","#905d5d","#ab4e52","#65000b","#d40000","#bc8f8f","#0038a8","#002366","#4169e1","#ca2c92","#7851a9","#fada5e","#d10056","#e0115f","#9b111e","#ff0028","#bb6528","#e18e96","#a81c07","#80461b","#b7410e","#da2c43","#00563f","#8b4513","#ff6700","#f4c430","#ff8c69","#ff91a4","#c2b280","#967117","#ecd540","#f4a460","#967117","#92000a","#507d2a","#0f52ba","#0067a5","#cba135","#ff2400","#fd0e35","#ffd800","#76ff7a","#006994","#2e8b57","#321414","#fff5ee","#ffba00","#704214","#8a795d","#009e60","#fc0fc0","#ff6fff","#882d17","#c0c0c0","#cb410b","#007474","#87ceeb","#cf71af","#6a5acd","#708090","#039","#933d41","#100c08","#fffafa","#0fc0fc","#a7fc00","#00ff7f","#23297a","#4682b4","#fada5e","#900","#4f666a","#e4d96f","#fc3","#fad6a5","#d2b48c","#f94d00","#f28500","#fc0","#e4717a","#483c32","#8b8589","#d0f0c0","#f88379","#f4c2c2","#008080","#367588","#00827f","#cf3476","#cd5700","#e2725b","#d8bfd8","#de6fa1","#fc89ac","#0abab5","#e08d3c","#dbd7d2","#eee600","#ff6347","#746cc0","#ffc87c","#fd0e35","#808080","#00755e","#0073cf","#417dc1","#deaa88","#b57281","#30d5c8","#00ffef","#a0d6b4","#7c4848","#8a496b","#66023c","#03a","#d9004c","#8878c3","#536895","#ffb300","#3cd070","#ff6fff","#120a8f","#4166f5","#635147","#ffddca","#5b92e5","#b78727","#ff6","#014421","#7b1113","#ae2029","#e1ad21","#004f98","#900","#fc0","#d3003f","#f3e5ab","#c5b358","#c80815","#43b3ae","#e34234","#d9603b","#a020f0","#8f00ff","#324ab2","#7f00ff","#8601af","#ee82ee","#40826d","#922724","#9f1d35","#da1d81","#ffa089","#9f00ff","#004242","#a4f4f9","#645452","#f5deb3","#fff","#f5f5f5","#a2add0","#ff43a4","#fc6c85","#722f37","#673147","#c9a0dc","#c19a6b","#738678","#0f4d92","#ff0","#9acd32","#efcc00","#ffd300","#ffae42","#ffef00","#fefe33","#0014a8","#2c1608"] - -for (i = 0; i < COLORS; i++) { - console.log(i + "....." + COLORS[i]); - -} diff --git a/old/dashboard.html b/old/dashboard.html deleted file mode 100644 index 29f8fd9..0000000 --- a/old/dashboard.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - -
-
-
- -
Python Virtual Environment Analysis
- -
Last Lookup
-
- -
-
-
-
-
-
-
- -
-
-
-
- -
Folder Analysis/Monitoring
-
Powered By Machine Learning
-
-
-
- - - -
-
-
-
-
-
-
-
-
-
- -
- -
-
-
- - - - - - - - --> diff --git a/old/dashboard.js b/old/dashboard.js deleted file mode 100644 index 9dff311..0000000 --- a/old/dashboard.js +++ /dev/null @@ -1,618 +0,0 @@ -var MONTHS = { 1: 'Jan', 2: 'Feb', 3: 'Mar', 4: 'Apr', 5: 'May', 6: 'Jun', 7: 'Jul', 8: 'Aug', 9: 'Sep', 10: 'Oct', 11: 'Nov', 12: 'Dec' } -var monitor = {} -monitor.utils = {} -monitor.utils.get = {} -monitor.utils.get.time = function (item) { - // date = ([item.day + '-' + MONTHS[item.month] + '-' + item.year, hour + ':' + item.minute]).join(' ') - var hour = item.hour > 9 ? item.hour : ('0' + item.hour) - if (hour > 12) { - var units = 'PM' - } else { - var units = 'AM' - } - return ([hour+':'+item.minute,units]).join(' ') -} -monitor.utils.get.dateTime = function (item) { - var time = monitor.utils.get.time(item) - return ([item.day+'-'+MONTHS[item.month]+'-'+item.year,time]).join(' ') -} -monitor.processes = {} -monitor.processes.fetch = function(){ - var httpclient = HttpClient.instance() - httpclient.get(HTTP_CONTEXT+'/get/processes',monitor.processes.init); - -} - -monitor.processes.init = function (x) { - - var r = JSON.parse(x.responseText) - monitor.processes.summary.init(r) - var keys = jx.utils.keys(r) - jx.dom.set.value('menu','') - jx.utils.patterns.visitor(keys,function(label){ - var div = jx.dom.get.instance('DIV') - var frame= jx.dom.get.instance('DIV') - var i = jx.dom.get.instance('I') - i.className = 'fa fa-chevron-right left' - - div.innerHTML = label - frame.data = r[label] - frame.label = label - frame.appendChild(i) - frame.appendChild(div) - frame.className = 'menu-item' - frame.onclick = function () { - monitor.processes.render(this.label, this.data); - jx.dom.set.value('trends_chart','') - //monitor.processes.trend.init(this.label) - } - jx.dom.append('menu',frame) - }) - // - // Auto start the first item in the menu - // This is designed not to let the user wander or wonder what is going on - // - var nodes = jx.dom.get.children('menu') - if (nodes.length > 0) { - nodes[0].click() - } else { - // - // We should hide the panes for this - // - jx.dom.hide('apps') - } - monitor.sandbox.init() - // setTimeout(monitor.sandbox.init,1000) -} - -/** -* This function renders the grid of processes being monitored, -* @param label label the list of processes belongs to -* @param data dataset of a selected set of processes (works a bit like top) -*/ -monitor.processes.render = function(label,data) { - - data = jx.utils.patterns.visitor(data,function(row){ - var status = {"idle":'',"running":'',"crash":''} - - if (!row.status.match(/class/)) { - row.status_id = row.status - row.status = status[row.status] - - } - return row - }) - jx.dom.set.value('latest_processes','') ; - jx.dom.set.value('latest_processes_label', label) - - var options = { - width: "90%", height:'auto', autoload:true - } - options.paging = true - options.pageSize = 4 - options.pageIndex = 1 - options.pageButtonCount = 4 - options.pagerContainer = '#latest_process_pager' - options.pagerFormat= "{prev} Page {pageIndex} of {pageCount} {next}" - options.pagePrevText= '' - options.pageNextText= " " - - options.data = data - options.rowClass = function (item, index,evt) { - - return 'small' - } - options.rowClick = function(args){ - var item = args.item - var id = jx.dom.get.value('latest_processes_label') - var app = item.label - monitor.processes.trend.init(id, app) - - if (item.anomaly == true) { - jx.dom.show('has_anomaly') - } else { - jx.dom.hide('has_anomaly') - } - // var hour = item.hour < 10? ('0'+item.hour): item.hour - // date = ([item.day + '-' + MONTHS[item.month] + '-' + item.year, hour + ':' + item.minute]).join(' ') - - jx.dom.set.value('node_last_lookup',monitor.utils.get.dateTime(item)) - - } - - options.autoload = true - options.fields = [ - { name: 'label', type: 'text', title: "Process", headercss: "small bold", css: "small"}, - { name: "cpu_usage", type: "number", title: "CPU", headercss: "small bold" , width:'64px'}, - { name: "memory_usage", type: "text", title: "Mem. Used", type: "number", headercss: "small bold" }, - { name: "proc_count", type: "number", title: "Proc Count", headercss: "small bold" }, - {name:"status",type:"text",title:"Status",headercss:"small bold",align:"center", width:'64px'} - ] - var grid = $('#latest_processes').jsGrid(options) ; - // - // We need to auto click the first row - $('#latest_processes').find('.jsgrid-row')[0].click() - -} - -monitor.processes.trend = {} -monitor.processes.trend.init = function (label,app) { - var httpclient = HttpClient.instance() - var uri = HTTP_CONTEXT+'/trends?id='+label+'&app='+encodeURIComponent(app) - httpclient.get(uri, function (x) { - var logs = JSON.parse(x.responseText) - var dom = jx.dom.get.instance('trend_info'); - dom.logs = logs - jx.dom.set.value('trend_info',app.trim()) - // jx.dom.set.attribute(label,'logs',logs) - monitor.processes.trend.render(logs,null,app) - }) -} -monitor.processes.trend.render = function (logs, key,label) { - // if (key == null) { - // key = 'memory_usage' - // } - // if (logs == null || label == null){ - - // logs = jx.dom.get.instance('trend_info').logs - // label= jx.dom.get.value('trend_info') ; - // } - var frame = $('#trends_chart') - jx.dom.set.value('trends_chart','') - var context = jx.dom.get.instance('CANVAS') - context.width = $(frame).width() - context.height= $(frame).height() - - var conf = { type: 'line',responsive:true } - conf.data = {} - conf.options = { legend: { position: 'bottom' } } - conf.options.scales = {} - conf.options.scales.yAxes = [ - {id:'0',scaleLabel:{display:true,labelString:'CPU & MEMORY %'},ticks:{min:0,max:100,beginAtZero:true},gridLines: {display:false}} - // {id:'1',position:'right',scaleLabel:{display:true,labelString:'PROCESS COUNT'},ticks:{min:0,stepSize:1,beginAtZero:true},gridLines: {display:false}} - ] - conf.options.scales.xAxes = [ - { - - gridLines: {display:false}, - - time: { - format:'HH:mm' - } - - } - - ] - conf.data.datasets = [ ] - var x_axis = [] - var _x = {} - // var _y = {} - var cpu = {label: 'CPU Usage (%)', data: [] ,backgroundColor:'transparent',borderColor:COLORS[187],fill:false,borderWidth:1} - var mem = {label : 'Memory Usage(%)',data:[],backgroundColor:'transparent',borderColor:COLORS[32],fill:false,borderWidth:1} - // var proc= {yAxisID:'1',label : 'Proc Count',data:[],backgroundColor:'transparent',borderColor:COLORS[542],fill:false,borderWidth:1} - // var months={1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"} - jx.utils.patterns.visitor(logs,function(item){ - //x = new Date(item.year,item.month-1,item.day,item.hour,item.minute) - // day = item.day.length > 1? (['0',item.day]).join(''): item.day - // month = months[item.month] - // x = ([month, day, item.hour + ':' + item.minute]).join(' ') - x = monitor.utils.get.time(item).replace(/AM|PM/g,'') - y = item[key] - if (_x[x] == null ){//||(_x[x] == null && _y[y] == null)) { - _x[x] = 1 - // _y[y] = 1 - x_axis.push(x) - cpu.data.push({ x: x, y: item.cpu_usage }) - mem.data.push({x:x,y:item.memory_usage}) - console.log(item.cpu_usage) - console.log(item.memory_usage) - // proc.data.push({x:x,y:item.proc_count}) - // return {x:x,y:y} - - } - - }) - - var item = logs[logs.length - 1] - jx.dom.set.value('trend_last_lookup',monitor.utils.get.dateTime(item)) - - conf.data.datasets = [cpu,mem] - x_axis = jx.utils.unique(x_axis) - conf.data.labels = x_axis - // console.log(conf) - jx.dom.append('trends_chart',context) - var chart = new Chart(context,conf) - -} - -monitor.processes.summary = {} -monitor.processes.summary.init = function(logs){ - var xr = 0, xc = 0, xi = 0 - var series = {} - //var colors = [COLORS[11], COLORS[1], COLORS[2]] - COLORS = ["#00BFFF", "#b2beb5", "#ffa812"] - colors = [COLORS[0], COLORS[2], COLORS[1]] - RUNNING_COLOR = COLORS[0] - // RUNNING_COLOR = #0072BB - IDLE_COLOR = COLORS[1] - CRASH_COLOR=COLORS[2] - - var i = 0; - var date = null; - for( label in logs ){ - var rows = logs[label] - series[label] = {data:[0,0,0],label:label} - - jx.utils.patterns.visitor(rows,function(item){ - if (date == null) { - - // date = new Date(item.year,item.month-1,item.day,item.hour,item.minute) - // date = ([item.day + '-' + MONTHS[item.month] + '-' + item.year, item.hour + ':' + item.minute]).join(' ') - date = monitor.utils.get.dateTime(item) - } - if (item.status == 'running'){ - xr += 1 - }else if(item.status == 'idle'){ - xi += 1 - }else{ - xc += 1 - } - }) - - } - var data = {labels:['Running','Crash','Idle'],datasets:[{data:[xr,xc,xi],backgroundColor:[RUNNING_COLOR,CRASH_COLOR,IDLE_COLOR/**COLORS[11],COLORS[2],COLORS[100]*/]}]} - var context = jx.dom.get.instance('CANVAS') - context.id = 'doughnut' - jx.dom.set.value('total-running', xr) - jx.dom.set.value('total-crash', xc) - jx.dom.set.value('total-idle', xi) - // jx.dom.set.value('total-apps', xr + xi + xc) - - - jx.dom.set.value('app-summary-date', date) - jx.dom.set.value('summary_chart','') - jx.dom.append('summary_chart', context) - $("#doughnut").attr('width', 50) - $("#doughnut").attr('height', 50) - - var conf = {}//width:100,height:100}//width:'auto',height:$('#process_summary').height} - - conf.type = 'doughnut' - conf.responsive = true - conf.data = data - conf.options = { legend: { position: 'right' }, repsonsive: true } - var _chart = new Chart(context,conf) - - $('#summary_chart').click(function (evt) { - console.log(_chart) - console.log($(_chart)) - var activePoints = $(_chart).getSegmentsAtEvent(evt); - console.log(activePoints) - }) - jx.dom.set.value('summary_ranking','') - context = jx.dom.get.instance('CANVAS') - jx.dom.append('summary_ranking',context) - - conf = { type: 'bar', responsive: true } - - conf.options={scales:{xAxes:[{gridLines: {display:false}}],yAxes:[{gridLines: {display:false},scaleLabel:{display:true,labelString:'PROCESS COUNTS'} }] }} - conf.options.legend ={position:'right'} - /* - conf.data = {labels:['Running','Idle','Crash']} - var labels = jx.utils.keys(series) - - var i = 0 - conf.data.datasets = jx.utils.patterns.visitor(labels,function(id){ - series[id].backgroundColor = COLORS[i++] - return series[id]}) - chart = new Chart(context,conf); - */ - var labels = jx.utils.keys(logs) - conf.data = { labels: labels, backgroundColor:colors } - var xr = [], xi = [], xc = [],xr_bg = [],xc_bg = [],xi_bg = [] - jx.utils.patterns.visitor(labels, function (id) { - - var rows = logs[id] - var index = xr.length - xr_bg[index] = RUNNING_COLOR - xi_bg[index] = IDLE_COLOR - xc_bg[index] = CRASH_COLOR - if (xr[index] == null) { - xr[index] = 0 - xc[index] = 0 - xi[index] = 0 - } - - jx.utils.patterns.visitor(logs[id], function (row) { - - if (row.status.match(/running/i)) { - xr[index] += 1 - - } else if (row.status.match(/idle/i)) { - xi[index] += 1 - - } else { - xc[index] += 1 - - } - }) - }) - - conf.data.datasets = [{ label: 'Running', data:xr,backgroundColor:xr_bg},{label:'Crash',data:xc,backgroundColor:xc_bg},{label:'Idle',data:xi,backgroundColor:xi_bg} ] - chart = new Chart(context, conf) - -} - -monitor.sandbox = {} -monitor.sandbox.init = function () { - jx.dom.hide('inspect_sandbox') - var httpclient = HttpClient.instance() - httpclient.get(HTTP_CONTEXT+'/sandbox', function (x) { - - var r = JSON.parse(x.responseText) - - if (r.length > 0) { - jx.dom.show('sandbox') - monitor.sandbox.render(r); - } else { - jx.dom.hide('sandbox') - } - }) -} -monitor.sandbox.render = function (logs) { - // months = { 1: 'Jan', 2: 'Feb', 3: 'Mar', 4: 'Apr', 5: 'May', 6: 'Jun', 7: 'Jul', 8: 'Aug', 9: 'Sep', 10: 'Oct', 11: 'Nov', 12: 'Dec' } - - // var d = ([logs[0].day, '-', MONTHS[logs[0].month], '-', logs[0].year, ' ', logs[0].hour, ':', logs[0].minute]).join('') - var item = logs[logs.length -1] - jx.dom.set.value('sandbox_date', monitor.utils.get.dateTime(item)) - - var options = { width: $('#sandbox_status').width()-8, height: 'auto' } - options.data = jx.utils.patterns.visitor(logs, function (item) { - if (item.value == 100) { - item.status = '' - } else { - item.status = '' - } - return item - }) - options.paging = true - options.pageSize = 4 - options.pageIndex = 1 - options.pageButtonCount = 4 - options.pagerContainer = '#folders_pager' - options.pagerFormat = "{prev} Page {pageIndex} of {pageCount} {next}" - options.pagePrevText = '' - options.pageNextText = " "; - options.rowClass = function (item) { - - if (item.value < 70) { - return 'bad' - } else if (item.value < 100) { - return 'warning' - } else { - return 'good' - } - } - options.rowClick = function (args) { - var item = args.item; - if (item.missing.length > 0) { - var form = jx.dom.get.instance('FORM') - var dom = jx.dom.get.instance('INPUT') - dom.type = 'hidden' - dom.name = 'missing' - dom.value = JSON.stringify(item.missing) - - form.action = HTTP_CONTEXT+'/download' - form.method = 'POST' - form.appendChild(dom) - form.submit() - - } - } - options.fields = [ - {name:"status",title:"",width:20}, - { name: 'label',title:'Virtual Environment Label',type:'text',css:'small',headercss:'small bold' }, - { name: 'value', title:'Completeness %',type: 'number', css: 'small', headercss: 'small bold' } - - ] - var grid = $('#sandbox_status').jsGrid(options) - jx.dom.show('inspect_sandbox') - -} - - - -monitor.folders = {} -monitor.folders.init = function () { - var httpclient = HttpClient.instance() - httpclient.get(HTTP_CONTEXT+'/folders', function (x) { - var r = JSON.parse(x.responseText) - var data = [] - for (var id in r) { - var item = r[id] - // item.id = id - data = data.concat(item) - } - - monitor.folders.render.init(data) - }) -} -monitor.folders.search = {} -monitor.folders.search.reset = function () { - jx.dom.set.value('folder_search', '') - var data = jx.dom.get.attribute('folder_search', 'data') - monitor.folders.render.summary(data) - -} -monitor.folders.search.init = function(){ - var term = jx.dom.get.value('folder_search') - var data = jx.dom.get.attribute('folder_search', 'data') - - term = term.replace(/ /g,'') - if (term.length == 0) { - monitor.folders.render.summary(data) - } else if (term.length > 0) { - - data = jx.utils.patterns.visitor(data, function (row) { - pattern = "(.*" + term + ".*)" - - if (row.id.match(pattern)) { - return row - } - }) - monitor.folders.render.summary(data) - } -} -monitor.folders.render = {} -monitor.folders.render.init = function (data) { - jx.dom.set.attribute('folder_search','data',data) - monitor.folders.render.summary(data) -} -monitor.folders.show = {} -monitor.folders.show.plan = function () { - $('#folder_summary').slideUp(function () { - $('#folder_plan').slideDown() - }) - -} -monitor.folders.show.grid = function () { - $('#folder_plan').slideUp(function () { - $('#folder_summary').slideDown() - }) - -} -/*** - * This function is designed to establish a folder clean up strategy i.e : - * - We will look for anomalies given age,file size - * - We will also look for where most of the data is distributed (mode) - */ -monitor.folders.render.details = function (folder,data) { - // - // We need to normalize the data at this point so as to be able to show it all in the same chart - // jx.math.scale x: counts, y: measure ment - // - var r = [data.age, data.size] - var plans = [] - for (var i in r) { - var xy = r[i] - var mode = jx.math.mode(jx.utils.vector('x', xy)) - var yvalues = jx.utils.patterns.visitor(xy, function (row) { - if (row.x == mode) { - return row.y - } - }) - var sd = jx.math.sd(yvalues) - if (i == 0) { - prefix = 'age' - var mean = jx.math.mean(yvalues) - var max = (mean + (1.5 * sd)) - if (mean > 30 && mean < 365) { - divide_by = 30 - units = 'MONTHS' - } else if (mean > 365) { - divide_by=365 - units = 'YEARS' - } else { - divide_by = 1 - units = 'DAYS' - } - } else { - prefix = 'size' - var mean = jx.math.sum(yvalues) - var max = 0// (mean + (1.5 * sd)) - if (mean > 1000) { - divide_by = 1000 - units = 'GB' - } else { - divide_by = 1 - units = 'MB' - } - - } - if (isNaN(mean)) { - mean = 0 - } - // - // We need to assess the outliars i.e too old, too large - // - y = jx.utils.vector('y', xy) - var _mean = jx.math.mean(y) - var _sd = jx.math.sd(y) - var outlier = _mean < mean || max > (_mean + (1.5 * _sd)) - - plans.push({ 'label': prefix, 'max': max, 'sd': sd, 'mean': mean, 'count': yvalues.length, 'outlier': outlier }) - jx.dom.set.value(prefix + '_count', yvalues.length) - jx.dom.set.value(prefix + '_value', (mean/divide_by).toFixed(2)) - jx.dom.set.value(prefix+'_units',units) - monitor.folders.show.plan() - - } - - jx.dom.set.value('folder_name', folder) - - - - -} -monitor.folders.render.summary = function (data) { - - jx.dom.set.value('gridfolders', '') - var options = { - width: $('#gfolderframe').width()-8, height:'auto' - } - options.paging = true - options.pageSize = 4 - options.pageIndex = 1 - options.pageButtonCount = 4 - options.pagerContainer = '#folderspager' - options.pagerFormat= "{prev} Page {pageIndex} of {pageCount} {next}" - options.pagePrevText= '' - options.pageNextText= " " - - options.data = data - options.rowClass = function (item, index,evt) { - - return 'small' - } - options.rowClick = function(args){ - // var item = args.item - - // age = jx.utils.patterns.visitor(item.details.age, function (row) { - // return {y:row[0],x:row[1]} - // }) - // size = jx.utils.patterns.visitor(item.details.size, function (row) { - // return {y:row[0],x:row[1]} - // }) - - // monitor.folders.render.details(item.name,{age:age,size:size}) - } - // - // @TODO Add the units in days just in case - options.autoload = true - options.fields = [ - { name: 'id', type: 'text', title: "Host", headercss: "small bold", css: "small"}, - { name: 'name', type: 'text', title: "Folder Name", headercss: "small bold", css: "small"}, - - { name: "size", type: "number", title: "Folder Size", type: "number", headercss: "small bold" }, - { name: "count", type: "number", title: "File Count", type: "number", headercss: "small bold" } - ] - var grid = $('#gridfolders').jsGrid(options) ; - -} -monitor.menu = {} -monitor.menu.event = {} -monitor.menu.event.toggle = function () { - var dom = jx.dom.get.instance('menuframe') - var value = dom.style.marginLeft.trim() - - if (value==0 || value == "0px" || value == "") { - var width = -$(dom).width() - 20 - $('#menuframe').animate({marginLeft:"-20%"}) - } else { - $('#menuframe').animate({marginLeft:"0"}) - } - -} -/** - * Socket handler, check for learning status - */ diff --git a/old/dashboard/changelog.txt b/old/dashboard/changelog.txt deleted file mode 100644 index 72e4412..0000000 --- a/old/dashboard/changelog.txt +++ /dev/null @@ -1,7 +0,0 @@ -V1.0, 29.03.2016 Original Release - -V1.1.0, 30 Sept 2016 - New Page -- added Upgrade to PRO page for those who want to upsell inside the dashboard - -V1.1.1, 8 Feb 2017 -- switched to MIT license \ No newline at end of file diff --git a/old/dashboard/documentation/css/documentation.css b/old/dashboard/documentation/css/documentation.css deleted file mode 100644 index b0c8321..0000000 --- a/old/dashboard/documentation/css/documentation.css +++ /dev/null @@ -1,260 +0,0 @@ -.nav-mobile-menu{ - position: relative; - z-index: 2; -} -.nav-mobile-menu li a p{ - font-size: 12px; -} - -.nav-mobile-menu .btn-simple, -.nav-mobile-menu .btn-simple:hover, -.nav-mobile-menu .btn-simple:focus{ - color: #66615B; -} -.nav-mobile-menu .navbar-title{ - display: none; -} -.navbar .navbar-nav > li > a.btn{ - margin: 17px 3px; - padding: 7px 18px; -} -.tim-row{ - margin-bottom: 40px; -} -pre.prettyprint{ - background-color: #eee; - border: 0px; - margin-bottom: 0; - margin-top: 20px; - padding: 20px; - text-align: left; -} -.navbar-title{ - height: 100%; - padding-top: 5px; -} -.atv, .str{ - color: #05AE0E; -} -.tag, .pln, .kwd{ - color: #3472F7; -} -.atn{ - color: #2C93FF; -} -.pln{ - color: #333; -} -.com{ - color: #999; -} -.navbar-title .image-container{ - height: 40px; - width: 40px; - display: inline-block; - top: -3px; - position: relative; -} -.navbar-title img { - width: 100%; -} -.space-top{ - margin-top: 50px; -} -.btn-primary .caret{ - border-top-color: #3472F7; - color: #3472F7; -} -.area-line{ - border: 1px solid #999; - border-left: 0; - border-right: 0; - color: #666; - display: block; - margin-top: 20px; - padding: 8px 0; - text-align: center; -} -.area-line a{ - color: #666; -} -.container-fluid{ - padding-right: 15px; - padding-left: 15px; -} -.logo-container .logo{ - overflow: hidden; - border-radius: 50%; - border: 1px solid #333333; - width: 50px; - float: left; -} -.header-wrapper { - position: relative; - height: 500px; -} - -.header-wrapper .navbar { - border-radius: 0; - /*position: absolute;*/ - width: 100%; - z-index: 1031; -} -.header-wrapper .header { - background-color: #ff8f5e; - background-position: center center; - background-size: cover; - height: 450px; - overflow: hidden; - position: absolute; - width: 100%; - z-index: 1; -} -.header-wrapper .header .filter::after { -/* background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #9368e9 0%, #943bea 100%) repeat scroll 0 0 / 150% 150%; */ - content: ""; - display: block; - height: 450px; - left: 0; - opacity: 0.77; - position: absolute; - top: 0; - width: 100%; - z-index: 2; -} -.header-wrapper .title-container{ - color: #fff; - position: relative; - top: 120px; - z-index: 3; - -} -.logo-container .brand{ - font-size: 18px; - color: #FFFFFF; - line-height: 20px; - float: left; - margin-left: 10px; - margin-top: 5px; - width: 50px; - height: 50px; -} -.logo-container{ - margin-top: 10px; - margin-left: 15px; -} -.logo-container .logo img{ - width: 100%; -} -.title-container img{ - width: 100px; - height: 100px; -} -.navbar-small .logo-container .brand{ - color: #333333; -} -.navbar-default.navbar-transparent .navbar-nav>li>a{ - color: #FFFFFF; -} -.navbar-default .logo-container .brand{ - color: #444; -} -.navbar-default.navbar-transparent .logo-container .brand{ - color: #FFFFFF !important; -} -.navbar-center{ - float: none; - display: inline-block; - margin-top: -16px; -} -.navbar.navbar-transparent{ - background-color: transparent; - box-shadow: none; - color: #fff; - border: 0; - padding-top: 0px; -} -.fixed-section{ - max-height: 80vh; - overflow: scroll; - top: 110px; -} -.fixed-section ul li{ - list-style: none; -} -.fixed-section li a{ - font-size: 14px; - padding: 2px; - display: block; - color: #666666; -} -.fixed-section li a.active{ - color: #00bbff; -} -.fixed-section.float{ - position: fixed; - top: 100px; - width: 200px; - margin-top: 0; -} -.copyright { - color: #777777; - padding: 10px 15px; - font-size: 14px; - margin: 15px 3px; - line-height: 20px; - text-align: center; -} - -.table-bigboy .img-container{ - width: 130px; - height: 85px; -} - -.table-bigboy .td-name{ - min-width: 170px; -} -#buttons-row .btn{ - margin-bottom: 15px; -} -@media (max-width: 991px) { - .fixed-section.affix { - position: relative; - margin-bottom: 100px; - } - - .tim-row .nav.nav-pills{ - margin-bottom: 25px; - } - - .nav-mobile-menu .navbar-title{ - display: none; - } - -} - -@media (max-width: 1199px) { - - .navbar .navbar-brand { - height: 50px; - padding: 10px 15px; - } - -} - -@media (max-width: 768px) { - .footer .copyright { - display: inline-block; - text-align: center; - padding: 10px 0; - float: none !important; - width: 100%; - } -} - -@media (max-width: 830px){ - .main-raised{ - margin-left: 10px; - margin-right: 10px; - } -} diff --git a/old/dashboard/documentation/documentation.html b/old/dashboard/documentation/documentation.html deleted file mode 100644 index 9510fcd..0000000 --- a/old/dashboard/documentation/documentation.html +++ /dev/null @@ -1,1556 +0,0 @@ - - - - - - - - - - Tutorial - Paper Dashboard Free by Creative Tim - - - - - - - - - - - - - - - - - - - - -
- - -
-
-
-

Paper Dashboard Free

-

Elements description

-
-
-
- - -
- -
-
-
-
- -
-
-
-
-

Short Description and Usage

- -

- Paper Dashboard is a beautiful resource built over Bootstrap to allow you to create powerful and beautiful dashboards. We have redesigned all the usual components in Bootstrap to make it look flat, minimalist and easy to use. -

- Using the dashboard is very simple, but it does require you to understand basic JavaScript functions. To get the desired effect you will need to integrate JS plugins that take a little bit more effort. Down below we list all the files you need to include inside the application to get going. -

-
- -
-

Getting Started

- -

- The Paper Dashboard is built on top of Bootstrap 3, so you can safely use it on your existing or new Bootstrap project. No line of code from Bootstrap 3 was changed, so you don't have to worry about undesired effects in your work. -

-

- We provide all the necessary CSS resources. So, to immediately change or get started with our design, include the "css/paper-dashboard.css" in your HTML template. Your project will get the new look. -

-

- To jump start your project, you can use our start-up template where all the files are already included and ready to use. If you do however, want to start from scratch, you can see the file structure below. The core JavaScript is contained in "js/paper-dashboard.js". Some functions are called from "js/demo.js" because they are presented only for demo purpose, you can check there how they are working and duplicate their effect on your projct. For the other files, you should add them if you use the specific element inside your page. -

-
- -
-

File Structure

- -

- Once you have downloaded the archive and opened it, you will find the following structure: -

-

- Let's take it one by one: -

-
-		paper-dashboard/
-		├── assets/
-		|   ├── css/
-		|   |   ├── animate.min.css
-		|   |   ├── bootstrap.min.css
-		|   |   ├── demo.css
-		│   |   ├── paper-dashboard.css
-		│   |   └── themify-icons.css
-		|   ├── js/
-		|   |   ├── bootstrap-checkbox-radio.js
-		|   |   ├── bootstrap-notify.js
-		|   |   ├── bootstrap.min.js
-		│   |   ├── chartist.min.js
-		│   |   ├── demo.js
-		│   |   ├── jquery-1.10.2.js
-		│   |   └── paper-dashboard.js
-		|   ├── fonts/
-		|   ├── sass/
-		|   └── img/
-		|
-		├── dashboard.html
-		├── documentation/
-		|   ├── css
-		|   └── documentation.html
-		├── icons.html
-		├── maps.html
-		├── notifications.html
-		├── table.html
-		├── template.html
-		├── typography.html
-		├── upgrade.html
-		└── user.html
-
-
-
- -
-

Restyled Components

- -

- Here is the list of Bootstrap 3 components that we restyled for the Paper Dashboard: -

    -
  • Buttons
  • -
  • Dropdown
  • -
  • Images
  • -
  • Inputs
  • -
  • Navigation Menu
  • -
  • Notifications
  • -
  • Tables
  • -
  • Textarea
  • -
  • Typography
  • -
-

-
- -
-

New Components

- -

- Besides giving the existing Bootstrap elements a new look, we added new ones, so that the interface and consistent and homogenous. We also imported more plugins to use depending on your needs. -

-

- Going through them, we added: -

    -
  • Charts
  • -
  • Google Maps
  • -
  • Panels
  • -
-

-
- -
- -

Buttons

- -

Colors

-

- We worked over the original Bootstrap classes, choosing a different, slightly intenser colour palette: -

-

- - - - - - - - -

-
-
-<button class="btn btn-default">Default</button>
-
-<button class="btn btn-primary">Primary</button>
-
-<button class="btn btn-info">Info</button>
-
-<button class="btn btn-success">Success</button>
-
-<button class="btn btn-warning">Warning</button>
-
-<button class="btn btn-danger">Danger</button>
-
-
-

Sizes

-

- Buttons come in all needed sizes: -

-

- - - - -

-
-<button class="btn btn-primary btn-lg">Large</button>
-
-<button class="btn btn-primary">Normal</button>
-
-<button class="btn btn-primary btn-sm">Small</button>
-
-<button class="btn btn-primary btn-xs">Extra Small</button>
-
-

Styles

-

- We added extra classes that help you better customise the look. You can use regular buttons, filled buttons or plain link buttons. Let's see some examples: -

-

- - - -

- -
-<button class="btn btn-primary">Default</button>
-
-<button class="btn btn-primary btn-fill">Filled</button>
-
-<button class="btn btn-primary btn-simple">Simple</button>
-
- -

- Button groups, toolbars, and disabled states all work like they are supposed to. -

- -
- - - - - - - -
-

Inputs

- - -

- We restyled the Bootstrap input to give it a flat, minimal look. You can use the classic look, different colours and states or input groups. -

-
-
-
- -
-
-
-
- -
-
-
-
-
-
- -
-
-
-
- - -
-
-
- -
-<div class="form-group">
-
-    <input type="text" value="" placeholder="Input" class="form-control" />
-
-</div>
-
-
-
-<div class="form-group has-success">
-
-    <input type="text" value="Success" class="form-control" />
-
-</div>
-
-
-
-<div class="form-group has-error has-feedback">
-
-    <input type="text" value="Error" class="form-control" />
-
-</div>
-
-
-
-<div class="input-group">
-
-    <input type="text" value="Group Addon" class="form-control">
-
-    <span class="input-group-addon"><i class="fa fa-group"></i></span>
-
-</div>
-
- -
- - - -
-

Textarea

- -

We added custom style for the textarea, so it looks similar to all other inputs.

- - - -
-<textarea class="form-control" placeholder="Here can be your nice text" rows="3"></textarea>
-
-
- - - - -
-
-
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/old/default.css b/old/default.css deleted file mode 100644 index 051a5bf..0000000 --- a/old/default.css +++ /dev/null @@ -1,355 +0,0 @@ -/*body, .default { - font-size:14px; - font-family:sans-serif; - font-weight:lighter; - padding:10px; - -} -.jsgrid-grid-header{ - background: #f9f9f9; - background-color: rgb(249, 249, 249); - background-image: none; - background-repeat: repeat; - background-attachment: scroll; - background-clip: border-box; - background-origin: padding-box; - background-position-x: 0%; - background-position-y: 0%; - background-size: auto auto; - max-height: 48px; -} -.jsgrid-grid-body { - overflow-x:hidden; - overflow-y:scroll; - -webkit-overflow-scrolling:touch -} - - -.small { - font-family:sans-serif; - font-size:12px; - font-weight:lighter; -} -.bold {font-weight:bold} -.left {float:left} -.right{float:right} -.caption { - font-size:22px; - margin:2px; - padding:2px; - height:30px; - font-family:sans-serif; - font-weight:lighter; - -} -.button { - padding:8px; - margin:2px; - border-radius:4px; - -moz-border-radius:4px; - -webkit-border-radius:4px; - cursor:pointer; -} -.button:hover{ - background-color:#4682B4 ; - color:#ffffff; - -} -.no-border{ border:1px solid transparent} -.border { border:1px solid #CAD5E0} -.border-bottom{ border-bottom:1px solid #CAD5E0;} -.border-right { border-right:1px solid #CAD5E0;} -.border-left { border-left:1px solid #CAD5E0;} -.border-top { border-top:1px solid #CAD5E0;} -.grid { - font-family:sans-serif; - font-weight:lighter; - - margin:4px; - padding:4px; -} -.grid-half { - height:195px; - margin:4px; - width:98%; - padding:4px; -} -.grid .fa-check {color:green} -.grid .fa-times {color:maroon; } - -.menu { - margin:5px; - padding:4px; -} -.menu .fa-chevron-right {color:transparent; margin:4px; } -.menu .menu-item { border:1px solid transparent; cursor:pointer; padding-bottom:4px; margin:2px;} -.menu .menu-item:hover { - border-bottom-color:#4682B4; -} -.menu .menu-item:hover .fa-chevron-right { color:#4582b4} -input[type=text]{ - padding:4px; - margin:4px; - outline:0px; - border:1px solid transparent; - background-color:#f3f3f3; - font-size:14px; - font-weight:lighter; - font-family:sans-serif; -} -input[type=text]:focus{ - border-left-color:#4682B4; -} - -.padding-2x{padding:4px;} -.margin-2x {margin:4px;} -.info { - - margin:4px; - width:43%; - - -} -.height-quarter{height:24%;} -.height-half{height:47%} -.width-quarter {width:24%} -.width-half {width:47%; } -.width-75 {width:72%} - -.bad { color:maroon} -.good{ color:green} -.fa-warning, .warning{color:orange} -.number {font-size:42px; font-weight:lighter; padding:2px; margin:2px;} - -.action {cursor:pointer; padding:1px; margin:1px; border:1px solid transparent} -.action:hover { border-bottom-color:#4682B4} -.shadow{box-shadow: 7px 7px 5px #888888;} -.gradient { - background-image: - linear-gradient( - #4682b4, #ffffff,#ffffff - ); -} -.simple-gradient { -background-image: -ms-linear-gradient(top, #CAD5E0 0%, #F3F3F3 40%); - -background-image: -moz-linear-gradient(top, #CAD5E0 0%, #F3F3F3 40%); - -background-image: -o-linear-gradient(top, #CAD5E0 0%, #F3F3F3 40%); - -background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #CAD5E0), color-stop(40, #F3F3F3)); - -background-image: -webkit-linear-gradient(top, #CAD5E0 0%, #F3F3F3 40%); - -background-image: linear-gradient(to bottom, #CAD5E0 0%, #F3F3F3 40%); - -} - -/* ----------- Non-Retina Screens ----------- */ -@media screen - and (min-device-width: 1200px) - and (max-device-width: 1600px) - and (-webkit-min-device-pixel-ratio: 1) { -} - -/* ----------- Retina Screens ----------- */ -@media screen - and (min-device-width: 1200px) - and (max-device-width: 1600px) - and (-webkit-min-device-pixel-ratio: 2) - and (min-resolution: 192dpi) { -} - -/* ----------- iPad mini ----------- */ - -/* Portrait and Landscape */ -@media only screen - and (min-device-width: 768px) - and (max-device-width: 1024px) - and (-webkit-min-device-pixel-ratio: 1) { - } - -} - -/* Portrait */ -@media only screen - and (min-device-width: 768px) - and (max-device-width: 1024px) - and (orientation: portrait) - and (-webkit-min-device-pixel-ratio: 1) { - -} - -/* Landscape */ -@media only screen - and (min-device-width: 768px) - and (max-device-width: 1024px) - and (orientation: landscape) - and (-webkit-min-device-pixel-ratio: 1) { - -} - -/* ----------- iPad 1 and 2 ----------- */ -/* Portrait and Landscape */ -@media only screen - and (min-device-width: 768px) - and (max-device-width: 1024px) - and (-webkit-min-device-pixel-ratio: 1) { - .block {display: inline-block;} - -} - -/* Portrait */ -@media only screen - and (min-device-width: 768px) - and (max-device-width: 1024px) - and (orientation: portrait) - and (-webkit-min-device-pixel-ratio: 1) { - -} - -/* Landscape */ -@media only screen - and (min-device-width: 768px) - and (max-device-width: 1024px) - and (orientation: landscape) - and (-webkit-min-device-pixel-ratio: 1) { - -} - -/* ----------- iPad 3 and 4 ----------- */ -/* Portrait and Landscape */ -@media only screen - and (min-device-width: 768px) - and (max-device-width: 1024px) - and (-webkit-min-device-pixel-ratio: 2) { - -} - -/* Portrait */ -@media only screen - and (min-device-width: 768px) - and (max-device-width: 1024px) - and (orientation: portrait) - and (-webkit-min-device-pixel-ratio: 2) { - -} - -/* Landscape ////////////////////////////////////////////////////////////////////////////////////////////////////// */ -@media only screen - and (min-device-width: 768px) - and (max-device-width: 1024px) - and (orientation: landscape) - and (-webkit-min-device-pixel-ratio: 2) { - -} - -/* ----------- iPhone 4 and 4S ----------- */ - -/* Portrait and Landscape */ -@media only screen - and (min-device-width: 320px) - and (max-device-width: 480px) - and (-webkit-min-device-pixel-ratio: 2) { - -} - -/* Portrait */ -@media only screen - and (min-device-width: 320px) - and (max-device-width: 480px) - and (-webkit-min-device-pixel-ratio: 2) - and (orientation: portrait) { -} - -/* Landscape */ -@media only screen - and (min-device-width: 320px) - and (max-device-width: 480px) - and (-webkit-min-device-pixel-ratio: 2) - and (orientation: landscape) { - -} - -/* ----------- iPhone 5 and 5S ----------- */ - -/* Portrait and Landscape */ -@media only screen - and (min-device-width: 320px) - and (max-device-width: 568px) - and (-webkit-min-device-pixel-ratio: 2) { - -} - -/* Portrait */ -@media only screen - and (min-device-width: 320px) - and (max-device-width: 568px) - and (-webkit-min-device-pixel-ratio: 2) - and (orientation: portrait) { -} - -/* Landscape */ -@media only screen - and (min-device-width: 320px) - and (max-device-width: 568px) - and (-webkit-min-device-pixel-ratio: 2) - and (orientation: landscape) { - -} - -/* ----------- iPhone 6 ----------- */ - -/* Portrait and Landscape */ -@media only screen - and (min-device-width: 375px) - and (max-device-width: 667px) - and (-webkit-min-device-pixel-ratio: 2) { - -} - -/* Portrait */ -@media only screen - and (min-device-width: 375px) - and (max-device-width: 667px) - and (-webkit-min-device-pixel-ratio: 2) - and (orientation: portrait) { - -} - -/* Landscape */ -@media only screen - and (min-device-width: 375px) - and (max-device-width: 667px) - and (-webkit-min-device-pixel-ratio: 2) - and (orientation: landscape) { - -} - -/* ----------- iPhone 6+ ----------- */ - -/* Portrait and Landscape */ -@media only screen - and (min-device-width: 414px) - and (max-device-width: 736px) - and (-webkit-min-device-pixel-ratio: 3) { - -} - -/* Portrait */ -@media only screen - and (min-device-width: 414px) - and (max-device-width: 736px) - and (-webkit-min-device-pixel-ratio: 3) - and (orientation: portrait) { - -} - -/* Landscape */ -@media only screen - and (min-device-width: 414px) - and (max-device-width: 736px) - and (-webkit-min-device-pixel-ratio: 3) - and (orientation: landscape) { - -}*/ diff --git a/old/index.html b/old/index.html deleted file mode 100644 index 978bd1d..0000000 --- a/old/index.html +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/src/api/static/css/demo.css b/src/api/static/css/demo.css deleted file mode 100644 index 3241e0b..0000000 --- a/src/api/static/css/demo.css +++ /dev/null @@ -1,70 +0,0 @@ -@media (min-width: 992px){ - .typo-line{ - padding-left: 140px; - margin-bottom: 40px; - position: relative; - } - - .typo-line .category{ - transform: translateY(-50%); - top: 50%; - left: 0px; - position: absolute; - } -} - -.icon-section { - margin: 0 0 3em; - clear: both; - overflow: hidden; -} -.icon-container { - width: 240px; - padding: .7em 0; - float: left; - position: relative; - text-align: left; -} -.icon-container [class^="ti-"], -.icon-container [class*=" ti-"] { - color: #000; - position: absolute; - margin-top: 3px; - transition: .3s; -} -.icon-container:hover [class^="ti-"], -.icon-container:hover [class*=" ti-"] { - font-size: 2.2em; - margin-top: -5px; -} -.icon-container:hover .icon-name { - color: #000; -} -.icon-name { - color: #aaa; - margin-left: 35px; - font-size: .8em; - transition: .3s; -} -.icon-container:hover .icon-name { - margin-left: 45px; -} - -.places-buttons .btn{ - margin-bottom: 30px -} -.sidebar .nav > li.active-pro{ - position: absolute; - width: 100%; - bottom: 10px; -} -.sidebar .nav > li.active-pro a{ - background: rgba(255, 255, 255, 0.14); - opacity: 1; - color: #FFFFFF; -} - -.table-upgrade td:nth-child(2), -.table-upgrade td:nth-child(3){ - text-align: center; -} diff --git a/src/api/static/js/dashboard.js b/src/api/static/js/dashboard.js index 2feae31..640100c 100755 --- a/src/api/static/js/dashboard.js +++ b/src/api/static/js/dashboard.js @@ -20,7 +20,7 @@ dashboard = { var getData = $.get('/get/1'); getData.done(function(results) { var data = JSON.parse(results) - var app = data['apps@osx']; + var app = data['apps@linode']; function getCpuUsage (app){ cpu_usage = [] diff --git a/src/api/templates/assets/sass/paper/_alerts.scss b/src/api/templates/assets/sass/paper/_alerts.scss deleted file mode 100644 index 35db8c0..0000000 --- a/src/api/templates/assets/sass/paper/_alerts.scss +++ /dev/null @@ -1,63 +0,0 @@ -.alert{ - border: 0; - border-radius: 0; - color: #FFFFFF; - padding: 10px 15px; - font-size: 14px; - - .container &{ - border-radius: 4px; - - } - .navbar &{ - border-radius: 0; - left: 0; - position: absolute; - right: 0; - top: 85px; - width: 100%; - z-index: 3; - } - .navbar:not(.navbar-transparent) &{ - top: 70px; - } - - span[data-notify="icon"]{ - font-size: 30px; - display: block; - left: 15px; - position: absolute; - top: 50%; - margin-top: -20px; - } - - .close ~ span{ - display: block; - max-width: 89%; - } - - &[data-notify="container"]{ - padding: 10px 10px 10px 20px; - border-radius: $border-radius-base; - } - - &.alert-with-icon{ - padding-left: 65px; - } -} -.alert-info{ - background-color: $bg-info; - color: $info-states-color; -} -.alert-success { - background-color: $bg-success; - color: $success-states-color; -} -.alert-warning { - background-color: $bg-warning; - color: $warning-states-color; -} -.alert-danger { - background-color: $bg-danger; - color: $danger-states-color; -} diff --git a/src/api/templates/dashboard.html b/src/api/templates/dashboard.html index b6197b0..1e61365 100644 --- a/src/api/templates/dashboard.html +++ b/src/api/templates/dashboard.html @@ -16,14 +16,9 @@ - + - - - - - @@ -59,24 +54,6 @@

User Profile

- -
  • - - -

    Table List

    -
    -
  • -
  • - - -

    Maps

    -
    -
  • -
  • - - -

    Notifications

    -
  • @@ -317,7 +294,6 @@
  • -
    - - diff --git a/src/api/templates/icons.html b/src/api/templates/icons.html deleted file mode 100644 index 6502dd5..0000000 --- a/src/api/templates/icons.html +++ /dev/null @@ -1,1350 +0,0 @@ - - - - - - - - - Paper Dashboard by Creative Tim - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - - - -
    -
    -
    -
    -
    -
    -

    320+ Themify Icons

    -

    Handcrafted by our friends from Themify.

    -
    -
    - -
    -

    Arrows & Direction Icons

    - -
    - ti-arrow-up -
    -
    - ti-arrow-right -
    -
    - ti-arrow-left -
    -
    - ti-arrow-down -
    -
    - ti-arrows-vertical -
    -
    - ti-arrows-horizontal -
    -
    - ti-angle-up -
    -
    - ti-angle-right -
    -
    - ti-angle-left -
    -
    - ti-angle-down -
    -
    - ti-angle-double-up -
    -
    - ti-angle-double-right -
    -
    - ti-angle-double-left -
    -
    - ti-angle-double-down -
    -
    - ti-move -
    -
    - ti-fullscreen -
    -
    - ti-arrow-top-right -
    -
    - ti-arrow-top-left -
    -
    - ti-arrow-circle-up -
    -
    - ti-arrow-circle-right -
    -
    - ti-arrow-circle-left -
    -
    - ti-arrow-circle-down -
    -
    - ti-arrows-corner -
    -
    - ti-split-v -
    - -
    - ti-split-v-alt -
    -
    - ti-split-h -
    -
    - ti-hand-point-up -
    -
    - ti-hand-point-right -
    -
    - ti-hand-point-left -
    -
    - ti-hand-point-down -
    -
    - ti-back-right -
    -
    - ti-back-left -
    -
    - ti-exchange-vertical -
    - -
    - - - -

    Web App Icons

    - -
    - -
    - ti-wand -
    -
    - ti-save -
    -
    - ti-save-alt -
    - -
    - ti-direction -
    -
    - ti-direction-alt -
    -
    - ti-user -
    -
    - ti-link -
    -
    - ti-unlink -
    -
    - ti-trash -
    -
    - ti-target -
    -
    - ti-tag -
    -
    - ti-desktop -
    -
    - ti-tablet -
    -
    - ti-mobile -
    -
    - ti-email -
    -
    - ti-star -
    -
    - ti-spray -
    -
    - ti-signal -
    -
    - ti-shopping-cart -
    -
    - ti-shopping-cart-full -
    -
    - ti-settings -
    -
    - ti-search -
    -
    - ti-zoom-in -
    -
    - ti-zoom-out -
    -
    - ti-cut -
    -
    - ti-ruler -
    -
    - ti-ruler-alt-2 -
    -
    - ti-ruler-pencil -
    -
    - ti-ruler-alt -
    -
    - ti-bookmark -
    -
    - ti-bookmark-alt -
    -
    - ti-reload -
    -
    - ti-plus -
    -
    - ti-minus -
    -
    - ti-close -
    -
    - ti-pin -
    -
    - ti-pencil -
    - -
    - ti-pencil-alt -
    -
    - ti-paint-roller -
    -
    - ti-paint-bucket -
    -
    - ti-na -
    -
    - ti-medall -
    -
    - ti-medall-alt -
    -
    - ti-marker -
    -
    - ti-marker-alt -
    - -
    - ti-lock -
    -
    - ti-unlock -
    -
    - ti-location-arrow -
    -
    - ti-layout -
    -
    - ti-layers -
    -
    - ti-layers-alt -
    -
    - ti-key -
    -
    - ti-image -
    -
    - ti-heart -
    -
    - ti-heart-broken -
    -
    - ti-hand-stop -
    -
    - ti-hand-open -
    -
    - ti-hand-drag -
    -
    - ti-flag -
    -
    - ti-flag-alt -
    -
    - ti-flag-alt-2 -
    -
    - ti-eye -
    -
    - ti-import -
    -
    - ti-export -
    -
    - ti-cup -
    -
    - ti-crown -
    -
    - ti-comments -
    -
    - ti-comment -
    -
    - ti-comment-alt -
    -
    - ti-thought -
    -
    - ti-clip -
    - -
    - ti-check -
    -
    - ti-check-box -
    -
    - ti-camera -
    -
    - ti-announcement -
    -
    - ti-brush -
    -
    - ti-brush-alt -
    -
    - ti-palette -
    -
    - ti-briefcase -
    -
    - ti-bolt -
    -
    - ti-bolt-alt -
    -
    - ti-blackboard -
    -
    - ti-bag -
    -
    - ti-world -
    -
    - ti-wheelchair -
    -
    - ti-car -
    -
    - ti-truck -
    -
    - ti-timer -
    -
    - ti-ticket -
    -
    - ti-thumb-up -
    -
    - ti-thumb-down -
    - -
    - ti-stats-up -
    -
    - ti-stats-down -
    -
    - ti-shine -
    -
    - ti-shift-right -
    -
    - ti-shift-left -
    - -
    - ti-shift-right-alt -
    -
    - ti-shift-left-alt -
    -
    - ti-shield -
    -
    - ti-notepad -
    -
    - ti-server -
    - -
    - ti-pulse -
    -
    - ti-printer -
    -
    - ti-power-off -
    -
    - ti-plug -
    -
    - ti-pie-chart -
    - -
    - ti-panel -
    -
    - ti-package -
    -
    - ti-music -
    -
    - ti-music-alt -
    -
    - ti-mouse -
    -
    - ti-mouse-alt -
    -
    - ti-money -
    -
    - ti-microphone -
    -
    - ti-menu -
    -
    - ti-menu-alt -
    -
    - ti-map -
    -
    - ti-map-alt -
    - -
    - ti-location-pin -
    - -
    - ti-light-bulb -
    -
    - ti-info -
    -
    - ti-infinite -
    -
    - ti-id-badge -
    -
    - ti-hummer -
    -
    - ti-home -
    -
    - ti-help -
    -
    - ti-headphone -
    -
    - ti-harddrives -
    -
    - ti-harddrive -
    -
    - ti-gift -
    -
    - ti-game -
    -
    - ti-filter -
    -
    - ti-files -
    -
    - ti-file -
    -
    - ti-zip -
    -
    - ti-folder -
    -
    - ti-envelope -
    - - -
    - ti-dashboard -
    -
    - ti-cloud -
    -
    - ti-cloud-up -
    -
    - ti-cloud-down -
    -
    - ti-clipboard -
    -
    - ti-calendar -
    -
    - ti-book -
    -
    - ti-bell -
    -
    - ti-basketball -
    -
    - ti-bar-chart -
    -
    - ti-bar-chart-alt -
    - - -
    - ti-archive -
    -
    - ti-anchor -
    - -
    - ti-alert -
    -
    - ti-alarm-clock -
    -
    - ti-agenda -
    -
    - ti-write -
    - -
    - ti-wallet -
    -
    - ti-video-clapper -
    -
    - ti-video-camera -
    -
    - ti-vector -
    - -
    - ti-support -
    -
    - ti-stamp -
    -
    - ti-slice -
    -
    - ti-shortcode -
    -
    - ti-receipt -
    -
    - ti-pin2 -
    -
    - ti-pin-alt -
    -
    - ti-pencil-alt2 -
    -
    - ti-eraser -
    -
    - ti-more -
    -
    - ti-more-alt -
    -
    - ti-microphone-alt -
    -
    - ti-magnet -
    -
    - ti-line-double -
    -
    - ti-line-dotted -
    -
    - ti-line-dashed -
    - -
    - ti-ink-pen -
    -
    - ti-info-alt -
    -
    - ti-help-alt -
    -
    - ti-headphone-alt -
    - -
    - ti-gallery -
    -
    - ti-face-smile -
    -
    - ti-face-sad -
    -
    - ti-credit-card -
    -
    - ti-comments-smiley -
    -
    - ti-time -
    -
    - ti-share -
    -
    - ti-share-alt -
    -
    - ti-rocket -
    - -
    - ti-new-window -
    - -
    - ti-rss -
    - -
    - ti-rss-alt -
    - -
    - - -
    -

    Control Icons

    -
    - ti-control-stop -
    -
    - ti-control-shuffle -
    -
    - ti-control-play -
    -
    - ti-control-pause -
    -
    - ti-control-forward -
    -
    - ti-control-backward -
    -
    - ti-volume -
    -
    - ti-control-skip-forward -
    -
    - ti-control-skip-backward -
    -
    - ti-control-record -
    -
    - ti-control-eject -
    -
    - - -
    -

    Text Editor

    - -
    - ti-paragraph -
    -
    - ti-uppercase -
    - -
    - ti-underline -
    -
    - ti-text -
    -
    - ti-Italic -
    -
    - ti-smallcap -
    -
    - ti-list -
    -
    - ti-list-ol -
    -
    - ti-align-right -
    -
    - ti-align-left -
    -
    - ti-align-justify -
    -
    - ti-align-center -
    -
    - ti-quote-right -
    -
    - ti-quote-left -
    - -
    - - - -
    -

    Layout Icons

    -
    - ti-layout-width-full -
    -
    - ti-layout-width-default -
    -
    - ti-layout-width-default-alt -
    -
    - ti-layout-tab -
    -
    - ti-layout-tab-window -
    -
    - ti-layout-tab-v -
    -
    - ti-layout-tab-min -
    -
    - ti-layout-slider -
    -
    - ti-layout-slider-alt -
    -
    - ti-layout-sidebar-right -
    -
    - ti-layout-sidebar-none -
    -
    - ti-layout-sidebar-left -
    -
    - ti-layout-placeholder -
    -
    - ti-layout-menu -
    -
    - ti-layout-menu-v -
    -
    - ti-layout-menu-separated -
    -
    - ti-layout-menu-full -
    -
    - ti-layout-media-right -
    -
    - ti-layout-media-right-alt -
    -
    - ti-layout-media-overlay -
    -
    - ti-layout-media-overlay-alt -
    -
    - ti-layout-media-overlay-alt-2 -
    -
    - ti-layout-media-left -
    -
    - ti-layout-media-left-alt -
    -
    - ti-layout-media-center -
    -
    - ti-layout-media-center-alt -
    -
    - ti-layout-list-thumb -
    -
    - ti-layout-list-thumb-alt -
    -
    - ti-layout-list-post -
    -
    - ti-layout-list-large-image -
    -
    - ti-layout-line-solid -
    -
    - ti-layout-grid4 -
    -
    - ti-layout-grid3 -
    -
    - ti-layout-grid2 -
    -
    - ti-layout-grid2-thumb -
    -
    - ti-layout-cta-right -
    -
    - ti-layout-cta-left -
    -
    - ti-layout-cta-center -
    -
    - ti-layout-cta-btn-right -
    -
    - ti-layout-cta-btn-left -
    -
    - ti-layout-column4 -
    -
    - ti-layout-column3 -
    -
    - ti-layout-column2 -
    -
    - ti-layout-accordion-separated -
    -
    - ti-layout-accordion-merged -
    -
    - ti-layout-accordion-list -
    -
    - ti-widgetized -
    -
    - ti-widget -
    -
    - ti-widget-alt -
    -
    - ti-view-list -
    -
    - ti-view-list-alt -
    -
    - ti-view-grid -
    -
    - ti-upload -
    -
    - ti-download -
    -
    - ti-loop -
    -
    - ti-layout-sidebar-2 -
    -
    - ti-layout-grid4-alt -
    -
    - ti-layout-grid3-alt -
    -
    - ti-layout-grid2-alt -
    -
    - ti-layout-column4-alt -
    -
    - ti-layout-column3-alt -
    -
    - ti-layout-column2-alt -
    - - -
    - - -
    -

    Brand Icons

    - -
    - ti-flickr -
    -
    - ti-flickr-alt -
    -
    - ti-instagram -
    -
    - ti-google -
    -
    - ti-github -
    - -
    - ti-facebook -
    -
    - ti-dropbox -
    -
    - ti-dropbox-alt -
    -
    - ti-dribbble -
    -
    - ti-apple -
    -
    - ti-android -
    -
    - ti-yahoo -
    -
    - ti-trello -
    -
    - ti-stack-overflow -
    -
    - ti-soundcloud -
    -
    - ti-sharethis -
    -
    - ti-sharethis-alt -
    -
    - ti-reddit -
    - -
    - ti-microsoft -
    -
    - ti-microsoft-alt -
    -
    - ti-linux -
    -
    - ti-jsfiddle -
    -
    - ti-joomla -
    -
    - ti-html5 -
    -
    - ti-css3 -
    -
    - ti-drupal -
    -
    - ti-wordpress -
    -
    - ti-tumblr -
    -
    - ti-tumblr-alt -
    -
    - ti-skype -
    -
    - ti-youtube -
    -
    - ti-vimeo -
    -
    - ti-vimeo-alt -
    -
    - ti-twitter -
    -
    - ti-twitter-alt -
    -
    - ti-linkedin -
    -
    - ti-pinterest -
    - -
    - ti-pinterest-alt -
    -
    - ti-themify-logo -
    -
    - ti-themify-favicon -
    -
    - ti-themify-favicon-alt -
    - -
    - -
    -
    -
    - -
    -
    -
    - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/api/templates/maps.html b/src/api/templates/maps.html deleted file mode 100644 index 91e024b..0000000 --- a/src/api/templates/maps.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - Paper Dashboard by Creative Tim - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - - -
    -
    -
    -
    -

    Google Maps

    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/api/templates/notifications.html b/src/api/templates/notifications.html deleted file mode 100644 index f4906d8..0000000 --- a/src/api/templates/notifications.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - - - - - - Paper Dashboard by Creative Tim - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - - - -
    -
    -
    -
    -

    Notifications

    -

    Handcrafted by our friend Robert McIntosh. Please checkout the full documentation.

    - -
    -
    -
    -
    -
    Notifications Style
    -
    - This is a plain notification -
    -
    - - This is a notification with close button. -
    -
    - - - This is a notification with close button and icon. -
    -
    - - - This is a notification with close button and icon and have many lines. You can see that the icon and the close button are always vertically aligned. This is a beautiful notification. So you don't have to worry about the style. -
    -
    -
    -
    Notification states
    -
    - - Info - This is a regular notification made with ".alert-info" -
    -
    - - Success - This is a regular notification made with ".alert-success" -
    -
    - - Warning - This is a regular notification made with ".alert-warning" -
    -
    - - Danger - This is a regular notification made with ".alert-danger" -
    -
    -
    -
    -
    -
    -
    -
    -
    Notifications Places -

    Click to view notifications

    -
    -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    -
    -
    -
    -
    - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/api/templates/table.html b/src/api/templates/table.html deleted file mode 100644 index 9e673ea..0000000 --- a/src/api/templates/table.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - - - - - - Paper Dashboard by Creative Tim - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - - - -
    -
    -
    -
    -
    -
    -

    Striped Table

    -

    Here is a subtitle for this table

    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    IDNameSalaryCountryCity
    1Dakota Rice$36,738NigerOud-Turnhout
    2Minerva Hooper$23,789CuraçaoSinaai-Waas
    3Sage Rodriguez$56,142NetherlandsBaileux
    4Philip Chaney$38,735Korea, SouthOverland Park
    5Doris Greene$63,542MalawiFeldkirchen in Kärnten
    6Mason Porter$78,615ChileGloucester
    - -
    -
    -
    - - -
    -
    -
    -

    Table on Plain Background

    -

    Here is a subtitle for this table

    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    IDNameSalaryCountryCity
    1Dakota Rice$36,738NigerOud-Turnhout
    2Minerva Hooper$23,789CuraçaoSinaai-Waas
    3Sage Rodriguez$56,142NetherlandsBaileux
    4Philip Chaney$38,735Korea, SouthOverland Park
    5Doris Greene$63,542MalawiFeldkirchen in Kärnten
    6Mason Porter$78,615ChileGloucester
    - -
    -
    -
    - - -
    -
    -
    - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/api/templates/template.html b/src/api/templates/template.html deleted file mode 100644 index 65cdb1c..0000000 --- a/src/api/templates/template.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - Paper Dashboard by Creative Tim - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - - - -
    -
    -
    - -
    -
    -
    - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/api/templates/typography.html b/src/api/templates/typography.html deleted file mode 100644 index c04a00b..0000000 --- a/src/api/templates/typography.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - Paper Dashboard by Creative Tim - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - - - -
    -
    -
    -
    -
    -
    -

    Paper Dashboard Headings

    -

    Created using Muli Font Family

    -
    -
    - -
    -

    Header 1

    Paper Dashboard Heading

    -
    - -
    -

    Header 2

    Paper Dashboard Heading

    -
    -
    -

    Header 3

    Paper Dashboard Heading

    -
    -
    -

    Header 4

    Paper Dashboard Heading

    -
    -
    -

    Header 5

    Paper Dashboard Heading
    -
    -
    -

    Header 6

    Paper Dashboard Heading
    -
    -
    -

    ParagraphLorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam.

    -
    -
    -

    Quote

    -
    -

    - Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam. -

    - - Steve Jobs, CEO Apple - -
    -
    - -
    -

    Muted Text

    -

    - Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet. -

    -
    -
    - -

    Coloured Text

    -

    - Text Primary - Light Bootstrap Table Heading and complex bootstrap dashboard you've ever seen on the internet. -

    -

    - Text Info - Light Bootstrap Table Heading and complex bootstrap dashboard you've ever seen on the internet. -

    -

    - Text Success - Light Bootstrap Table Heading and complex bootstrap dashboard you've ever seen on the internet. -

    -

    - Text Warning - Light Bootstrap Table Heading and complex bootstrap dashboard you've ever seen on the internet. -

    -

    - Text Danger - Light Bootstrap Table Heading and complex bootstrap dashboard you've ever seen on the internet. -

    -
    - -
    -

    Small Tag

    Header with small subtitle
    ".small" is a tag for the headers

    -
    - - -
    -
    -
    - -
    -
    -
    - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/api/templates/upgrade.html b/src/api/templates/upgrade.html deleted file mode 100644 index 1969517..0000000 --- a/src/api/templates/upgrade.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - - - Paper Dashboard by Creative Tim - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - - -
    -
    -
    -
    -
    -
    -

    Paper Dashboard

    -

    Are you looking for more components? Please check our Premium Version of Paper Dashboard Pro.

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FreePRO
    Components16160
    Plugins415
    Example Pages425
    Documentation
    SASS Files
    Login/Register/Lock Pages
    Premium Support
    FreeJust $39
    - Current Version - - Upgrade to PRO -
    -
    -
    -
    -
    -
    -
    - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/api/templates/user.html b/src/api/templates/user.html deleted file mode 100644 index f799fe0..0000000 --- a/src/api/templates/user.html +++ /dev/null @@ -1,406 +0,0 @@ - - - - - - - - - Paper Dashboard by Creative Tim - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - - - -
    -
    -
    -
    -
    -
    - ... -
    -
    -
    - ... -

    Chet Faker
    - @chetfaker -

    -
    -

    - "I like the way you work it
    - No diggity
    - I wanna bag it up" -

    -
    -
    -
    -
    -
    -
    12
    Files
    -
    -
    -
    2GB
    Used
    -
    -
    -
    24,6$
    Spent
    -
    -
    -
    -
    -
    -
    -

    Team Members

    -
    -
    -
      -
    • -
      -
      -
      - Circle Image -
      -
      -
      - DJ Khaled -
      - Offline -
      - -
      - -
      -
      -
    • -
    • -
      -
      -
      - Circle Image -
      -
      -
      - Creative Tim -
      - Available -
      - -
      - -
      -
      -
    • -
    • -
      -
      -
      - Circle Image -
      -
      -
      - Flume -
      - Busy -
      - -
      - -
      -
      -
    • -
    -
    -
    -
    -
    -
    -
    -

    Edit Profile

    -
    -
    -
    -
    -
    -
    - - -
    -
    -
    -
    - - -
    -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    - - -
    -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    - - -
    -
    -
    -
    - - -
    -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    - - -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - - -
    -
    -
    - - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/sass/paper-dashboard.scss b/src/sass/paper-dashboard.scss deleted file mode 100755 index ad7cfe4..0000000 --- a/src/sass/paper-dashboard.scss +++ /dev/null @@ -1,45 +0,0 @@ -/*! - - ========================================================= - * Paper Dashboard - v1.1.2 - ========================================================= - - * Product Page: http://www.creative-tim.com/product/paper-dashboard - * Copyright 2017 Creative Tim (http://www.creative-tim.com) - * Licensed under MIT (https://github.com/creativetimofficial/paper-dashboard/blob/master/LICENSE.md) - - ========================================================= - - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - - */ - - -@import "paper/variables"; -@import "paper/mixins"; - -@import "paper/typography"; - -// Core CSS -@import "paper/misc"; -@import "paper/sidebar-and-main-panel"; -@import "paper/buttons"; -@import "paper/inputs"; - -@import "paper/alerts"; -@import "paper/tables"; - -@import "paper/checkbox-radio"; -@import "paper/navbars"; -@import "paper/footers"; - -// Fancy Stuff - -@import "paper/dropdown"; -@import "paper/cards"; -@import "paper/chartist"; -@import "paper/responsive"; - - - - diff --git a/src/sass/paper/_alerts.scss b/src/sass/paper/_alerts.scss deleted file mode 100644 index b583509..0000000 --- a/src/sass/paper/_alerts.scss +++ /dev/null @@ -1,64 +0,0 @@ -.alert{ - border: 0; - border-radius: 0; - color: #FFFFFF; - padding: 10px 15px; - font-size: 14px; - - .container &{ - border-radius: 4px; - - } - .navbar &{ - border-radius: 0; - left: 0; - position: absolute; - right: 0; - top: 85px; - width: 100%; - z-index: 3; - } - .navbar:not(.navbar-transparent) &{ - top: 70px; - } - - span[data-notify="icon"]{ - font-size: 30px; - display: block; - left: 15px; - position: absolute; - top: 50%; - margin-top: -20px; - } - - .close ~ span{ - display: block; - max-width: 89%; - } - - &[data-notify="container"]{ - padding: 10px 10px 10px 20px; - border-radius: $border-radius-base; - } - - &.alert-with-icon{ - padding-left: 65px; - } -} -.alert-info{ - background-color: $bg-info; - color: $info-states-color; -} -.alert-success { - background-color: $bg-success; - color: $success-states-color; -} -.alert-warning { - background-color: $bg-warning; - color: $warning-states-color; -} -.alert-danger { - background-color: $bg-danger; - color: $danger-states-color; -} - diff --git a/src/sass/paper/_buttons.scss b/src/sass/paper/_buttons.scss deleted file mode 100755 index e6fa8f6..0000000 --- a/src/sass/paper/_buttons.scss +++ /dev/null @@ -1,114 +0,0 @@ -.btn, -.navbar .navbar-nav > li > a.btn{ - border-radius: $border-radius-btn-base; - box-sizing: border-box; - border-width: $border-thick; - background-color: $transparent-bg; - font-size: $font-size-base; - font-weight: $font-weight-semi; - - padding: $padding-base-vertical $padding-base-horizontal; - - @include btn-styles($default-color, $default-states-color); - @include transition($fast-transition-time, linear); - - &:hover, - &:focus{ - outline: 0 !important; - } - &:active, - &.active, - .open > &.dropdown-toggle { - @include box-shadow(none); - outline: 0 !important; - } - - &.btn-icon{ - padding: $padding-base-vertical; - } -} - -.btn-group .btn + .btn, -.btn-group .btn + .btn-group, -.btn-group .btn-group + .btn, -.btn-group .btn-group + .btn-group{ - margin-left: -2px; -} - -// Apply the mixin to the buttons -//.btn-default { @include btn-styles($default-color, $default-states-color); } -.navbar .navbar-nav > li > a.btn-primary, .btn-primary { @include btn-styles($primary-color, $primary-states-color); } -.navbar .navbar-nav > li > a.btn-success, .btn-success { @include btn-styles($success-color, $success-states-color); } -.navbar .navbar-nav > li > a.btn-info, .btn-info { @include btn-styles($info-color, $info-states-color); } -.navbar .navbar-nav > li > a.btn-warning, .btn-warning { @include btn-styles($warning-color, $warning-states-color); } -.navbar .navbar-nav > li > a.btn-danger, .btn-danger { @include btn-styles($danger-color, $danger-states-color); } -.btn-neutral { - @include btn-styles($white-color, $white-color); - - &:hover, - &:focus{ - color: $default-color; - } - - &:active, - &.active, - .open > &.dropdown-toggle{ - background-color: $white-color; - color: $default-color; - } - - &.btn-fill{ - color: $default-color; - } - &.btn-fill:hover, - &.btn-fill:focus{ - color: $default-states-color; - } - - &.btn-simple:active, - &.btn-simple.active{ - background-color: transparent; - } -} - -.btn{ - &:disabled, - &[disabled], - &.disabled{ - @include opacity(.5); - } -} -.btn-simple{ - border: $none; - padding: $padding-base-vertical $padding-base-horizontal; - - &.btn-icon{ - padding: $padding-base-vertical; - } -} -.btn-lg{ - @include btn-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $border-radius-btn-large, $line-height-small); - font-weight: $font-weight-normal; -} -.btn-sm{ - @include btn-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $border-radius-btn-small, $line-height-small); -} -.btn-xs { - @include btn-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-xs, $border-radius-btn-small, $line-height-small); -} -.btn-wd { - min-width: 140px; -} - -.btn-group.select{ - width: 100%; -} -.btn-group.select .btn{ - text-align: left; -} -.btn-group.select .caret{ - position: absolute; - top: 50%; - margin-top: -1px; - right: 8px; -} diff --git a/src/sass/paper/_cards.scss b/src/sass/paper/_cards.scss deleted file mode 100644 index 6828b10..0000000 --- a/src/sass/paper/_cards.scss +++ /dev/null @@ -1,243 +0,0 @@ -.card{ - border-radius: $border-radius-extreme; - box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5); - background-color: #FFFFFF; - color: $card-black-color; - margin-bottom: 20px; - position: relative; - z-index: 1; - - .image{ - width: 100%; - overflow: hidden; - height: 260px; - border-radius: $border-radius-extreme $border-radius-extreme 0 0; - position: relative; - -webkit-transform-style: preserve-3d; - -moz-transform-style: preserve-3d; - transform-style: preserve-3d; - - img { - width: 100%; - } - } - .content{ - padding: 15px 15px 10px 15px; - } - .header{ - padding: 20px 20px 0; - } - .description{ - font-size: $font-paragraph; - color: $font-color; - } - - h6{ - font-size: $font-size-small; - margin: 0; - } - .category, - label{ - font-size: $font-size-base; - font-weight: $font-weight-normal; - color: $dark-gray; - margin-bottom: 0px; - i{ - font-size: $font-paragraph; - } - } - - label{ - font-size: 15px; - margin-bottom: 5px; - } - - .title{ - margin: $none; - color: $card-black-color; - font-weight: $font-weight-light; - } - .avatar{ - width: 50px; - height: 50px; - overflow: hidden; - border-radius: 50%; - margin-right: 5px; - } - .footer{ - padding: 0; - line-height: 30px; - - .legend{ - padding: 5px 0; - } - - hr{ - margin-top: 5px; - margin-bottom: 5px; - } - } - .stats{ - color: #a9a9a9; - font-weight: 300; - i{ - margin-right: 2px; - min-width: 15px; - display: inline-block; - } - } - .footer div{ - display: inline-block; - } - - .author{ - font-size: $font-size-small; - font-weight: $font-weight-bold; - text-transform: uppercase; - } - .author i{ - font-size: $font-size-base; - } - - &.card-separator:after{ - height: 100%; - right: -15px; - top: 0; - width: 1px; - background-color: $medium-gray; - content: ""; - position: absolute; - } - - .ct-chart{ - margin: 30px 0 30px; - height: 245px; - } - - .table{ - tbody td:first-child, - thead th:first-child{ - padding-left: 15px; - } - - tbody td:last-child, - thead th:last-child{ - padding-right: 15px; - } - } - - .alert{ - border-radius: $border-radius-base; - position: relative; - - &.alert-with-icon{ - padding-left: 65px; - } - } - .icon-big{ - font-size: 3em; - min-height: 64px; - } - .numbers{ - font-size: 2em; - text-align: right; - p{ - margin: 0; - } - } - ul.team-members{ - li{ - padding: 10px 0px; - &:not(:last-child){ - border-bottom: 1px solid $medium-pale-bg; - } - } - } -} -.card-user{ - .image{ - border-radius: 8px 8px 0 0; - height: 150px; - position: relative; - overflow: hidden; - - img{ - width: 100%; - } - } - .image-plain{ - height: 0; - margin-top: 110px; - } - .author{ - text-align: center; - text-transform: none; - margin-top: -65px; - .title{ - color: $default-states-color; - small{ - color: $card-muted-color; - } - } - } - .avatar{ - width: 100px; - height: 100px; - border-radius: 50%; - position: relative; - margin-bottom: 15px; - - &.border-white{ - border: 5px solid $white-color; - } - &.border-gray{ - border: 5px solid $card-muted-color; - } - } - .title{ - font-weight: 600; - line-height: 24px; - } - .description{ - margin-top: 10px; - } - .content{ - min-height: 200px; - } - - &.card-plain{ - .avatar{ - height: 190px; - width: 190px; - } - } -} - -.card-map{ - .map{ - height: 500px; - padding-top: 20px; - - > div{ - height: 100%; - } - } -} -.card-user, -.card-price{ - .footer{ - padding: 5px 15px 10px; - } - hr{ - margin: 5px 15px; - } -} -.card-plain{ - background-color: transparent; - box-shadow: none; - border-radius: 0; - - .image{ - border-radius: 4px; - } -} diff --git a/src/sass/paper/_chartist.scss b/src/sass/paper/_chartist.scss deleted file mode 100644 index 021f0a3..0000000 --- a/src/sass/paper/_chartist.scss +++ /dev/null @@ -1,230 +0,0 @@ -@mixin ct-responsive-svg-container($width: 100%, $ratio: $ct-container-ratio) { - display: block; - position: relative; - width: $width; - - &:before { - display: block; - float: left; - content: ""; - width: 0; - height: 0; - padding-bottom: $ratio * 100%; - } - - &:after { - content: ""; - display: table; - clear: both; - } - - > svg { - display: block; - position: absolute; - top: 0; - left: 0; - } -} - -@mixin ct-align-justify($ct-text-align: $ct-text-align, $ct-text-justify: $ct-text-justify) { - -webkit-box-align: $ct-text-align; - -webkit-align-items: $ct-text-align; - -ms-flex-align: $ct-text-align; - align-items: $ct-text-align; - -webkit-box-pack: $ct-text-justify; - -webkit-justify-content: $ct-text-justify; - -ms-flex-pack: $ct-text-justify; - justify-content: $ct-text-justify; - // Fallback to text-align for non-flex browsers - @if($ct-text-justify == 'flex-start') { - text-align: left; - } @else if ($ct-text-justify == 'flex-end') { - text-align: right; - } @else { - text-align: center; - } -} - -@mixin ct-flex() { - // Fallback to block - display: block; - display: -webkit-box; - display: -moz-box; - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} - -@mixin ct-chart-label($ct-text-color: $ct-text-color, $ct-text-size: $ct-text-size, $ct-text-line-height: $ct-text-line-height) { - fill: $ct-text-color; - color: $ct-text-color; - font-size: $ct-text-size; - line-height: $ct-text-line-height; -} - -@mixin ct-chart-grid($ct-grid-color: $ct-grid-color, $ct-grid-width: $ct-grid-width, $ct-grid-dasharray: $ct-grid-dasharray) { - stroke: $ct-grid-color; - stroke-width: $ct-grid-width; - - @if ($ct-grid-dasharray) { - stroke-dasharray: $ct-grid-dasharray; - } -} - -@mixin ct-chart-point($ct-point-size: $ct-point-size, $ct-point-shape: $ct-point-shape) { - stroke-width: $ct-point-size; - stroke-linecap: $ct-point-shape; -} - -@mixin ct-chart-line($ct-line-width: $ct-line-width, $ct-line-dasharray: $ct-line-dasharray) { - fill: none; - stroke-width: $ct-line-width; - - @if ($ct-line-dasharray) { - stroke-dasharray: $ct-line-dasharray; - } -} - -@mixin ct-chart-area($ct-area-opacity: $ct-area-opacity) { - stroke: none; - fill-opacity: $ct-area-opacity; -} - -@mixin ct-chart-bar($ct-bar-width: $ct-bar-width) { - fill: none; - stroke-width: $ct-bar-width; -} - -@mixin ct-chart-donut($ct-donut-width: $ct-donut-width) { - fill: none; - stroke-width: $ct-donut-width; -} - -@mixin ct-chart-series-color($color) { - .#{$ct-class-point}, .#{$ct-class-line}, .#{$ct-class-bar}, .#{$ct-class-slice-donut} { - stroke: $color; - } - - .#{$ct-class-slice-pie}, .#{$ct-class-area} { - fill: $color; - } -} - -@mixin ct-chart($ct-container-ratio: $ct-container-ratio, $ct-text-color: $ct-text-color, $ct-text-size: $ct-text-size, $ct-grid-color: $ct-grid-color, $ct-grid-width: $ct-grid-width, $ct-grid-dasharray: $ct-grid-dasharray, $ct-point-size: $ct-point-size, $ct-point-shape: $ct-point-shape, $ct-line-width: $ct-line-width, $ct-bar-width: $ct-bar-width, $ct-donut-width: $ct-donut-width, $ct-series-names: $ct-series-names, $ct-series-colors: $ct-series-colors) { - - .#{$ct-class-label} { - @include ct-chart-label($ct-text-color, $ct-text-size); - } - - .#{$ct-class-chart-line} .#{$ct-class-label}, - .#{$ct-class-chart-bar} .#{$ct-class-label} { - @include ct-flex(); - } - - .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} { - @include ct-align-justify(flex-end, flex-start); - // Fallback for browsers that don't support foreignObjects - text-anchor: start; - } - - .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} { - @include ct-align-justify(flex-start, flex-start); - // Fallback for browsers that don't support foreignObjects - text-anchor: start; - } - - .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} { - @include ct-align-justify(flex-end, flex-end); - // Fallback for browsers that don't support foreignObjects - text-anchor: end; - } - - .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} { - @include ct-align-justify(flex-end, flex-start); - // Fallback for browsers that don't support foreignObjects - text-anchor: start; - } - - .#{$ct-class-chart-bar} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} { - @include ct-align-justify(flex-end, center); - // Fallback for browsers that don't support foreignObjects - text-anchor: start; - } - - .#{$ct-class-chart-bar} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} { - @include ct-align-justify(flex-start, center); - // Fallback for browsers that don't support foreignObjects - text-anchor: start; - } - - .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} { - @include ct-align-justify(flex-end, flex-start); - // Fallback for browsers that don't support foreignObjects - text-anchor: start; - } - - .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} { - @include ct-align-justify(flex-start, flex-start); - // Fallback for browsers that don't support foreignObjects - text-anchor: start; - } - - .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} { - //@include ct-chart-label($ct-text-color, $ct-text-size, center, $ct-vertical-text-justify); - @include ct-align-justify(center, flex-end); - // Fallback for browsers that don't support foreignObjects - text-anchor: end; - } - - .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} { - @include ct-align-justify(center, flex-start); - // Fallback for browsers that don't support foreignObjects - text-anchor: end; - } - - .#{$ct-class-grid} { - @include ct-chart-grid($ct-grid-color, $ct-grid-width, $ct-grid-dasharray); - } - - .#{$ct-class-point} { - @include ct-chart-point($ct-point-size, $ct-point-shape); - } - - .#{$ct-class-line} { - @include ct-chart-line($ct-line-width); - } - - .#{$ct-class-area} { - @include ct-chart-area(); - } - - .#{$ct-class-bar} { - @include ct-chart-bar($ct-bar-width); - } - - .#{$ct-class-slice-donut} { - @include ct-chart-donut($ct-donut-width); - } - - @if $ct-include-colored-series { - @for $i from 0 to length($ct-series-names) { - .#{$ct-class-series}-#{nth($ct-series-names, $i + 1)} { - $color: nth($ct-series-colors, $i + 1); - - @include ct-chart-series-color($color); - } - } - } -} - -@if $ct-include-classes { - @include ct-chart(); - - @if $ct-include-alternative-responsive-containers { - @for $i from 0 to length($ct-scales-names) { - .#{nth($ct-scales-names, $i + 1)} { - @include ct-responsive-svg-container($ratio: nth($ct-scales, $i + 1)); - } - } - } -} \ No newline at end of file diff --git a/src/sass/paper/_checkbox-radio.scss b/src/sass/paper/_checkbox-radio.scss deleted file mode 100644 index 185d8d5..0000000 --- a/src/sass/paper/_checkbox-radio.scss +++ /dev/null @@ -1,132 +0,0 @@ -/* Checkbox and radio */ -.checkbox, -.radio { - margin-bottom: 12px; - padding-left: 30px; - position: relative; - -webkit-transition: color,opacity 0.25s linear; - transition: color,opacity 0.25s linear; - font-size: $font-size-base; - font-weight: normal; - line-height: 1.5; - color: $font-color; - cursor: pointer; - - .icons { - color: $font-color; - display: block; - height: 20px; - left: 0; - position: absolute; - top: 0; - width: 20px; - text-align: center; - line-height: 21px; - font-size: 20px; - cursor: pointer; - -webkit-transition: color,opacity 0.15s linear; - transition: color,opacity 0.15s linear; - - opacity: .50; - } - - - &.checked{ - .icons{ - opacity: 1; - } - } - - input{ - outline: none !important; - display: none; - } -} - -.checkbox, -.radio{ - label{ - padding-left: 10px; - } -} - -.checkbox .icons .first-icon, -.radio .icons .first-icon, -.checkbox .icons .second-icon, -.radio .icons .second-icon { - display: inline-table; - position: absolute; - left: 0; - top: 0; - background-color: transparent; - margin: 0; - @include opacity(1); -} -.checkbox .icons .second-icon, -.radio .icons .second-icon { - @include opacity(0); -} -.checkbox:hover, -.radio:hover { - -webkit-transition: color 0.2s linear; - transition: color 0.2s linear; -} -.checkbox:hover .first-icon, -.radio:hover .first-icon { - @include opacity(0); -} -.checkbox:hover .second-icon, -.radio:hover .second-icon { - @include opacity (1); -} -.checkbox.checked, -.radio.checked { -// color: $info-color; -} -.checkbox.checked .first-icon, -.radio.checked .first-icon { - opacity: 0; - filter: alpha(opacity=0); -} -.checkbox.checked .second-icon, -.radio.checked .second-icon { - opacity: 1; - filter: alpha(opacity=100); -// color: $info-color; - -webkit-transition: color 0.2s linear; - transition: color 0.2s linear; -} -.checkbox.disabled, -.radio.disabled { - cursor: default; - color: $medium-gray; -} -.checkbox.disabled .icons, -.radio.disabled .icons { - color: $medium-gray; -} -.checkbox.disabled .first-icon, -.radio.disabled .first-icon { - opacity: 1; - filter: alpha(opacity=100); -} -.checkbox.disabled .second-icon, -.radio.disabled .second-icon { - opacity: 0; - filter: alpha(opacity=0); -} -.checkbox.disabled.checked .icons, -.radio.disabled.checked .icons { - color: $medium-gray; -} -.checkbox.disabled.checked .first-icon, -.radio.disabled.checked .first-icon { - opacity: 0; - filter: alpha(opacity=0); -} -.checkbox.disabled.checked .second-icon, -.radio.disabled.checked .second-icon { - opacity: 1; - color: $medium-gray; - filter: alpha(opacity=100); -} diff --git a/src/sass/paper/_dropdown.scss b/src/sass/paper/_dropdown.scss deleted file mode 100644 index 1d24b0e..0000000 --- a/src/sass/paper/_dropdown.scss +++ /dev/null @@ -1,115 +0,0 @@ -.dropdown-menu{ - background-color: $pale-bg; - border: 0 none; - border-radius: $border-radius-extreme; - display: block; - margin-top: 10px; - padding: 0px; - position: absolute; - visibility: hidden; - z-index: 9000; - - @include opacity(0); - @include box-shadow($dropdown-shadow); - -// the style for opening dropdowns on mobile devices; for the desktop version check the _responsive.scss file - .open &{ - @include opacity(1); - visibility: visible; - } - - .divider{ - background-color: $medium-pale-bg; - margin: 0px; - } - - .dropdown-header{ - color: $dark-gray; - font-size: $font-size-small; - padding: $padding-dropdown-vertical $padding-dropdown-horizontal; - } - -// the style for the dropdown menu that appears under select, it is different from the default one - .select &{ - border-radius: $border-radius-bottom; - @include box-shadow(none); - @include transform-origin($select-coordinates); - @include transform-scale(1); - @include transition($fast-transition-time, $transition-linear); - margin-top: -20px; - } - .select.open &{ - margin-top: -1px; - } - - > li > a { - color: $font-color; - font-size: $font-size-base; - padding: $padding-dropdown-vertical $padding-dropdown-horizontal; - @include transition-none(); - - img{ - margin-top: -3px; - } - } - > li > a:focus{ - outline: 0 !important; - } - - .btn-group.select &{ - min-width: 100%; - } - - > li:first-child > a{ - border-top-left-radius: $border-radius-extreme; - border-top-right-radius: $border-radius-extreme; - } - - > li:last-child > a{ - border-bottom-left-radius: $border-radius-extreme; - border-bottom-right-radius: $border-radius-extreme; - } - - .select & > li:first-child > a{ - border-radius: 0; - border-bottom: 0 none; - } - - > li > a:hover, - > li > a:focus { - background-color: $default-color; - color: $fill-font-color; - opacity: 1; - text-decoration: none; - } - - &.dropdown-primary > li > a:hover, - &.dropdown-primary > li > a:focus{ - background-color: $primary-color; - } - &.dropdown-info > li > a:hover, - &.dropdown-info > li > a:focus{ - background-color: $info-color; - } - &.dropdown-success > li > a:hover, - &.dropdown-success > li > a:focus{ - background-color: $success-color; - } - &.dropdown-warning > li > a:hover, - &.dropdown-warning > li > a:focus{ - background-color: $warning-color; - } - &.dropdown-danger > li > a:hover, - &.dropdown-danger > li > a:focus{ - background-color: $danger-color; - } - -} - -//fix bug for the select items in btn-group -.btn-group.select{ - overflow: hidden; -} -.btn-group.select.open{ - overflow: visible; -} diff --git a/src/sass/paper/_footers.scss b/src/sass/paper/_footers.scss deleted file mode 100644 index 6d5030b..0000000 --- a/src/sass/paper/_footers.scss +++ /dev/null @@ -1,42 +0,0 @@ -.footer{ - background-attachment: fixed; - position: relative; - line-height: 20px; - nav { - ul { - list-style: none; - margin: 0; - padding: 0; - font-weight: normal; - li{ - display: inline-block; - padding: 10px 15px; - margin: 15px 3px; - line-height: 20px; - text-align: center; - } - a:not(.btn){ - color: $font-color; - display: block; - margin-bottom: 3px; - - &:focus, - &:hover{ - color: $default-states-color; - } - } - } - } - .copyright{ - color: $font-color; - padding: 10px 15px; - font-size: 14px; - white-space: nowrap; - margin: 15px 3px; - line-height: 20px; - text-align: center; - } - .heart{ - color: $danger-color; - } -} diff --git a/src/sass/paper/_inputs.scss b/src/sass/paper/_inputs.scss deleted file mode 100755 index 9350295..0000000 --- a/src/sass/paper/_inputs.scss +++ /dev/null @@ -1,171 +0,0 @@ -.form-control::-moz-placeholder{ - @include placeholder($medium-gray,1); -} -.form-control:-moz-placeholder{ - @include placeholder($medium-gray,1); -} -.form-control::-webkit-input-placeholder{ - @include placeholder($medium-gray,1); -} -.form-control:-ms-input-placeholder{ - @include placeholder($medium-gray,1); -} - -.form-control { - background-color: $gray-input-bg; - border: medium none; - border-radius: $border-radius-base; - color: $font-color; - font-size: $font-size-base; - transition: background-color 0.3s ease 0s; - @include input-size($padding-base-vertical, $padding-base-horizontal, $height-base); - @include box-shadow(none); - - &:focus{ - background-color: $white-bg; - @include box-shadow(none); - outline: 0 !important; - } - - .has-success &, - .has-error &, - .has-success &:focus, - .has-error &:focus{ - @include box-shadow(none); - } - - .has-success &{ - background-color: $success-input-bg; - color: $success-color; - &.border-input{ - border: 1px solid $success-color; - } - } - .has-success &:focus{ - background-color: $white-bg; - } - .has-error &{ - background-color: $danger-input-bg; - color: $danger-color; - &.border-input{ - border: 1px solid $danger-color; - } - } - .has-error &:focus{ - background-color: $white-bg; - } - - & + .form-control-feedback{ - border-radius: $border-radius-large; - font-size: $font-size-base; - margin-top: -7px; - position: absolute; - right: 10px; - top: 50%; - vertical-align: middle; - } - &.border-input{ - border: 1px solid $table-line-color; - } - .open &{ - border-bottom-color: transparent; - } -} - -.input-lg{ - height: 55px; - padding: $padding-large-vertical $padding-large-horizontal; -} - -.has-error{ - .form-control-feedback, .control-label{ - color: $danger-color; - } -} -.has-success{ - .form-control-feedback, .control-label{ - color: $success-color; - } -} - - -.input-group-addon { - background-color: $gray-input-bg; - border: medium none; - border-radius: $border-radius-base; - - - .has-success &, - .has-error &{ - background-color: $white-color; - } - .has-error .form-control:focus + &{ - color: $danger-color; - } - .has-success .form-control:focus + &{ - color: $success-color; - } - .form-control:focus + &, - .form-control:focus ~ &{ - background-color: $white-color; - } -} -.border-input{ - .input-group-addon{ - border: solid 1px $table-line-color; - } -} -.input-group{ - margin-bottom: 15px; -} -.input-group[disabled]{ - .input-group-addon{ - background-color: $light-gray; - } -} -.input-group .form-control:first-child, -.input-group-addon:first-child, -.input-group-btn:first-child > .dropdown-toggle, -.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { - border-right: 0 none; -} -.input-group .form-control:last-child, -.input-group-addon:last-child, -.input-group-btn:last-child > .dropdown-toggle, -.input-group-btn:first-child > .btn:not(:first-child) { - border-left: 0 none; -} -.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { - background-color: $light-gray; - cursor: not-allowed; - @include placeholder($dark-gray,1); -} -.form-control[disabled]::-moz-placeholder{ - @include placeholder($dark-gray,1); -} -.form-control[disabled]:-moz-placeholder{ - @include placeholder($medium-gray,1); -} -.form-control[disabled]::-webkit-input-placeholder{ - @include placeholder($medium-gray,1); -} -.form-control[disabled]:-ms-input-placeholder{ - @include placeholder($medium-gray,1); -} -.input-group-btn .btn{ - border-width: $border-thin; - padding: $padding-round-vertical $padding-base-horizontal; -} -.input-group-btn .btn-default:not(.btn-fill){ - border-color: $medium-gray; -} - -.input-group-btn:last-child > .btn{ - margin-left: 0; -} -textarea.form-control{ - max-width: 100%; - padding: 10px 18px; - resize: none; -} - diff --git a/src/sass/paper/_misc.scss b/src/sass/paper/_misc.scss deleted file mode 100755 index 3482539..0000000 --- a/src/sass/paper/_misc.scss +++ /dev/null @@ -1,69 +0,0 @@ -/* General overwrite */ -body{ - color: $font-color; - font-size: $font-size-base; - font-family: 'Muli', Arial, sans-serif; - .wrapper{ - min-height: 100vh; - position: relative; - } -} -a{ - color: $info-color; - - &:hover, &:focus{ - color: $info-states-color; - text-decoration: none; - } -} - -a:focus, a:active, -button::-moz-focus-inner, -input::-moz-focus-inner, -select::-moz-focus-inner, -input[type="file"] > input[type="button"]::-moz-focus-inner{ - outline:0 !important; -} -.ui-slider-handle:focus, -.navbar-toggle, -input:focus, -button:focus { - outline : 0 !important; -} - -/* Animations */ -.form-control, -.input-group-addon, -.tagsinput, -.navbar, -.navbar .alert{ - @include transition($general-transition-time, $transition-linear); -} - -.sidebar .nav a, -.table > tbody > tr .td-actions .btn{ - @include transition($fast-transition-time, $transition-ease-in); -} - -.btn{ - @include transition($ultra-fast-transition-time, $transition-ease-in); -} -.fa{ - width: 21px; - text-align: center; -} -.fa-base{ - font-size: 1.25em !important; -} - -.margin-top{ - margin-top: 50px; -} -hr{ - border-color: $medium-pale-bg; -} -.wrapper{ - position: relative; - top: 0; - height: 100vh; -} diff --git a/src/sass/paper/_mixins.scss b/src/sass/paper/_mixins.scss deleted file mode 100644 index f0c7a4e..0000000 --- a/src/sass/paper/_mixins.scss +++ /dev/null @@ -1,17 +0,0 @@ -//Utilities - -@import "mixins/transparency"; -@import "mixins/vendor-prefixes"; - - -//Components - -@import "mixins/buttons"; -@import "mixins/inputs"; -@import "mixins/labels"; -@import "mixins/tabs"; -@import "mixins/navbars"; -@import "mixins/icons"; -@import "mixins/cards"; -@import "mixins/chartist"; -@import "mixins/sidebar"; \ No newline at end of file diff --git a/src/sass/paper/_navbars.scss b/src/sass/paper/_navbars.scss deleted file mode 100644 index 26d5946..0000000 --- a/src/sass/paper/_navbars.scss +++ /dev/null @@ -1,293 +0,0 @@ -.nav { - > li{ - > a:hover, - > a:focus{ - background-color: transparent; - } - } -} -.navbar{ - border: $none; - border-radius: 0; - font-size: $font-size-navbar; - z-index: 3; - - .navbar-brand{ - font-weight: $font-weight-bold; - margin: $navbar-margin-brand; - padding: $navbar-padding-brand; - font-size: $font-size-large-navbar; - } - .navbar-nav{ - > li > a { - line-height: 1.42857; - margin: $navbar-margin-a; - padding: $navbar-padding-a; - - i, - p{ - display: inline-block; - margin: 0; - } - i{ - position: relative; - top: 1px; - } - } - > li > a.btn{ - margin: $navbar-margin-a-btn; - padding: $padding-base-vertical $padding-base-horizontal; - } - } - .btn{ - margin: $navbar-margin-btn; - font-size: $font-size-base; - } - .btn-simple{ - font-size: $font-size-medium; - } -} - -.navbar-nav > li > .dropdown-menu{ - border-radius: $border-radius-extreme; - margin-top: -5px; -} - -.navbar-default { - background-color: $bg-nude; - border-bottom: 1px solid $medium-gray; - - .brand{ - color: $font-color !important; - } - .navbar-nav{ - > li > a:not(.btn){ - color: $dark-gray; - } - - > .active > a, - > .active > a:not(.btn):hover, - > .active > a:not(.btn):focus, - > li > a:not(.btn):hover, - > li > a:not(.btn):focus { - background-color: transparent; - border-radius: 3px; - color: $info-color; - @include opacity(1); - } - - > .dropdown > a:hover .caret, - > .dropdown > a:focus .caret { - border-bottom-color: $info-color; - border-top-color: $info-color; - - } - - > .open > a, - > .open > a:hover, - > .open > a:focus{ - background-color: transparent; - color: $info-color; - } - - .navbar-toggle:hover,.navbar-toggle:focus { - background-color: transparent; - } - - } - - &:not(.navbar-transparent) .btn-default:hover{ - color: $info-color; - border-color: $info-color; - } - &:not(.navbar-transparent) .btn-neutral, - &:not(.navbar-transparent) .btn-neutral:hover, - &:not(.navbar-transparent) .btn-neutral:active{ - color: $dark-gray; - } -} - -.navbar-form{ - @include box-shadow(none); - .form-control{ - @include light-form(); - height: 22px; - font-size: $font-size-navbar; - line-height: $line-height-general; - color: $light-gray; - } - .navbar-transparent & .form-control, - [class*="navbar-ct"] & .form-control{ - color: $white-color; - border: $none; - border-bottom: 1px solid rgba($white-color,.6); - } - -} - -.navbar-ct-primary{ - @include navbar-color($bg-primary); -} -.navbar-ct-info{ - @include navbar-color($bg-info); -} -.navbar-ct-success{ - @include navbar-color($bg-success); -} -.navbar-ct-warning{ - @include navbar-color($bg-warning); -} -.navbar-ct-danger{ - @include navbar-color($bg-danger); -} - -.navbar-transparent{ - padding-top: 15px; - background-color: transparent; - border-bottom: 1px solid transparent; -} - -.navbar-toggle{ - margin-top: 19px; - margin-bottom: 19px; - border: $none; - - .icon-bar { - background-color: $white-color; - } - .navbar-collapse, - .navbar-form { - border-color: transparent; - } - - &.navbar-default .navbar-toggle:hover, - &.navbar-default .navbar-toggle:focus { - background-color: transparent; - } -} - -.navbar-transparent, [class*="navbar-ct"]{ - - .navbar-brand{ - - @include opacity(.9); - - &:focus, - - &:hover{ - - background-color: transparent; - - @include opacity(1); - - } - - } - - .navbar-brand:not([class*="text"]){ - - color: $white-color; - - } - - .navbar-nav{ - - > li > a:not(.btn){ - - color: $white-color; - - border-color: $white-color; - - @include opacity(0.8); - - } - - > .active > a:not(.btn), - - > .active > a:hover:not(.btn), - - > .active > a:focus:not(.btn), - - > li > a:hover:not(.btn), - - > li > a:focus:not(.btn){ - - background-color: transparent; - - border-radius: 3px; - - color: $white-color; - - @include opacity(1); - - } - - .nav > li > a.btn:hover{ - - background-color: transparent; - - } - - > .dropdown > a .caret, - - > .dropdown > a:hover .caret, - - > .dropdown > a:focus .caret{ - - border-bottom-color: $white-color; - - border-top-color: $white-color; - - } - - > .open > a, - - > .open > a:hover, - - > .open > a:focus { - - background-color: transparent; - - color: $white-color; - - @include opacity(1); - - } - - } - - .btn-default{ - - color: $white-color; - - border-color: $white-color; - - } - - .btn-default.btn-fill{ - - color: $dark-gray; - - background-color: $white-color; - - @include opacity(.9); - - } - - .btn-default.btn-fill:hover, - - .btn-default.btn-fill:focus, - - .btn-default.btn-fill:active, - - .btn-default.btn-fill.active, - - .open .dropdown-toggle.btn-fill.btn-default{ - - border-color: $white-color; - - @include opacity(1); - - } - -} diff --git a/src/sass/paper/_responsive.scss b/src/sass/paper/_responsive.scss deleted file mode 100644 index a22fc23..0000000 --- a/src/sass/paper/_responsive.scss +++ /dev/null @@ -1,447 +0,0 @@ -@media (min-width: 992px){ - .navbar{ - min-height: 75px; - } - .navbar-form { - margin-top: 21px; - margin-bottom: 21px; - padding-left: 5px; - padding-right: 5px; - } - .navbar-search-form{ - display: none; - } - .navbar-nav > li > .dropdown-menu, - .dropdown .dropdown-menu{ - transform: translate3d(0px, -40px, 0px); - transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s; - } - .navbar-nav > li.open > .dropdown-menu, .dropdown.open .dropdown-menu{ - transform: translate3d(0px, 0px, 0px); - } - - .navbar-nav > li > .dropdown-menu:before{ - border-bottom: 11px solid $medium-pale-bg; - border-left: 11px solid rgba(0, 0, 0, 0); - border-right: 11px solid rgba(0, 0, 0, 0); - content: ""; - display: inline-block; - position: absolute; - right: 12px; - top: -11px; - } - .navbar-nav > li > .dropdown-menu:after { - border-bottom: 11px solid $pale-bg; - border-left: 11px solid rgba(0, 0, 0, 0); - border-right: 11px solid rgba(0, 0, 0, 0); - content: ""; - display: inline-block; - position: absolute; - right: 12px; - top: -10px; - } - - .navbar-nav.navbar-left > li > .dropdown-menu:before{ - right: auto; - left: 12px; - } - - .navbar-nav.navbar-left > li > .dropdown-menu:after{ - right: auto; - left: 12px; - } - - .navbar{ - .navbar-header{ - margin-left: 10px; - } - } - - .footer:not(.footer-big){ - nav > ul{ - li:first-child{ - margin-left: 0; - } - } - } - - body > .navbar-collapse.collapse{ - display: none !important; - } - - .card{ - form{ - [class*="col-"]{ - padding: 6px; - } - [class*="col-"]:first-child{ - padding-left: 15px; - } - [class*="col-"]:last-child{ - padding-right: 15px; - } - } - } -} - -/* Changes for small display */ - -@media (max-width: 991px){ - .sidebar{ - display: none; - } - - .main-panel{ - width: 100%; - } - .navbar-transparent{ - padding-top: 15px; - background-color: rgba(0, 0, 0, 0.45); - } - body { - position: relative; - } - h6{ - font-size: 1em; - } - .wrapper{ - @include transform-translate-x(0px); - @include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1)); - left: 0; - background-color: white; - } - .navbar .container{ - left: 0; - width: 100%; - @include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1)); - position: relative; - } - .navbar .navbar-collapse.collapse, - .navbar .navbar-collapse.collapse.in, - .navbar .navbar-collapse.collapsing{ - display: none !important; - } - - .navbar-nav > li{ - float: none; - position: relative; - display: block; - } - - .off-canvas-sidebar { - position: fixed; - display: block; - top: 0; - height: 100%; - width: 230px; - right: 0; - z-index: 1032; - visibility: visible; - background-color: #999; - overflow-y: visible; - border-top: none; - text-align: left; - padding-right: 0px; - padding-left: 0; - - @include transform-translate-x(230px); - @include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1)); - - .sidebar-wrapper { - position: relative; - z-index: 3; - overflow-y: scroll; - height: 100%; - box-shadow: inset 1px 0px 0px 0px $medium-gray; - } - - .nav{ - margin-top: 0; - padding: 10px $margin-base-vertical 0; - - > li{ - - > a{ - margin: 0px 0px; - color: $default-color; - text-transform: uppercase; - font-weight: 600; - font-size: $font-size-small; - line-height: $line-height-general; - padding: 10px 0; - - &:hover, - &.active{ - color: $default-states-color; - } - - p, - .notification, - .caret, - { - display: inline-block; - } - - .caret{ - float: right; - position: relative; - top: 12px; - } - - i{ - font-size: 18px; - margin-right: 10px; - line-height: 26px; - } - } - - &.active > a{ - - &:before{ - border-right: none; - border-left: 12px solid $medium-gray; - border-top: 12px solid transparent; - border-bottom: 12px solid transparent; - right: auto; - margin-left: -$margin-base-vertical; - left: 0px; - top: 10px; - } - - &:after{ - border-right: none; - border-left: 12px solid $bg-nude; - border-top: 12px solid transparent; - border-bottom: 12px solid transparent; - right: auto; - margin-left: -$margin-base-vertical; - left: -1px; - top: 10px; - } - } - - } - - - - } - - &::after{ - top: 0; - left: 0; - height: 100%; - width: 100%; - position: absolute; - background-color: $bg-nude; - background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(112, 112, 112, 0) 60%, rgba(186, 186, 186, 0.15) 100%); - display: block; - content: ""; - z-index: 1; - } - &.has-image::after{ - @include black-filter(.8); - } - - .logo{ - position: relative; - z-index: 4; - padding-top: 11px; - padding-bottom: 11px; - } - - .divider{ - height: 1px; - margin: 10px 0; - } - } - .nav-open .navbar-collapse{ - @include transform-translate-x(0px); - } - .nav-open .navbar .container{ - left: -230px; - } - .nav-open .wrapper{ - left: 0; - @include transform-translate-x(-230px); - } - .navbar-toggle .icon-bar { - display: block; - position: relative; - background: #fff; - width: 24px; - height: 2px; - border-radius: 1px; - margin: 0 auto; - } - - .navbar-header .navbar-toggle { - margin: 10px 15px 10px 0; - width: 40px; - height: 40px; - } - .bar1, - .bar2, - .bar3 { - outline: 1px solid transparent; - } - .bar1 { - top: 0px; - @include bar-animation($topbar-back); - } - .bar2 { - opacity: 1; - } - .bar3 { - bottom: 0px; - @include bar-animation($bottombar-back); - } - .toggled .bar1 { - top: 6px; - @include bar-animation($topbar-x); - } - .toggled .bar2 { - opacity: 0; - } - .toggled .bar3 { - bottom: 6px; - @include bar-animation($bottombar-x); - } - - @include topbar-x-rotation(); - @include topbar-back-rotation(); - @include bottombar-x-rotation(); - @include bottombar-back-rotation(); - - @-webkit-keyframes fadeIn { - 0% {opacity: 0;} - 100% {opacity: 1;} - } - @-moz-keyframes fadeIn { - 0% {opacity: 0;} - 100% {opacity: 1;} - } - @keyframes fadeIn { - 0% {opacity: 0;} - 100% {opacity: 1;} - } - - .dropdown-menu .divider{ - background-color: rgba(229, 229, 229, 0.15); - } - - .navbar-nav { - margin: 1px 0; - } - - .dropdown-menu { - display: none; - - & > li > a{ - &:hover, - &:focus{ - background-color: transparent; - } - } - } - - .navbar-fixed-top { - -webkit-backface-visibility: hidden; - } - #bodyClick { - height: 100%; - width: 100%; - position: fixed; - opacity: 0; - top: 0; - left: auto; - right: 230px; - content: ""; - z-index: 9999; - overflow-x: hidden; - } - .form-control + .form-control-feedback{ - margin-top: -8px; - } - .navbar-toggle:hover,.navbar-toggle:focus { - background-color: transparent !important; - } - .btn.dropdown-toggle{ - margin-bottom: 0; - } - .media-post .author{ - width: 20%; - float: none !important; - display: block; - margin: 0 auto 10px; - } - .media-post .media-body{ - width: 100%; - } - - .navbar-collapse.collapse{ - height: 100% !important; - } - .navbar-collapse.collapse.in { - display: block; - } - .navbar-header .collapse, .navbar-toggle { - display:block !important; - } - .navbar-header { - float:none; - } - .navbar-nav .open .dropdown-menu { - position: static; - float: none; - width: auto; - margin-top: 0; - background-color: transparent; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - } - - .main-panel > .content{ - padding-left: 0; - padding-right: 0; - } - .nav .open > a{ - &, - &:focus, - &:hover{ - background-color: transparent; - } - - } - - .footer .copyright{ - padding: 0px 15px; - width: 100%; - } -} - -//overwrite table responsive for 768px screens - -@media (min-width: 992px){ - .table-full-width{ - margin-left: -15px; - margin-right: -15px; - } - .table-responsive{ - overflow: visible; - } - -} - -@media (max-width: 991px){ - .table-responsive { - width: 100%; - margin-bottom: 15px; - border: 1px solid #dddddd; - overflow-x: scroll; - overflow-y: hidden; - -ms-overflow-style: -ms-autohiding-scrollbar; - -webkit-overflow-scrolling: touch; - } - -} diff --git a/src/sass/paper/_sidebar-and-main-panel.scss b/src/sass/paper/_sidebar-and-main-panel.scss deleted file mode 100755 index cfd6419..0000000 --- a/src/sass/paper/_sidebar-and-main-panel.scss +++ /dev/null @@ -1,194 +0,0 @@ -.sidebar{ - position: absolute; - top: 0; - bottom: 0; - left: 0; - z-index: 1; - background-size: cover; - background-position: center center; - .sidebar-wrapper{ - position: relative; - max-height: none; - min-height: 100%; - overflow: hidden; - width: 260px; - z-index: 4; - box-shadow: inset -1px 0px 0px 0px $medium-gray; - } - .sidebar-background{ - position: absolute; - z-index: 1; - height: 100%; - width: 100%; - display: block; - top: 0; - left: 0; - background-size: cover; - background-position: center center; - } - -} -.sidebar, -.off-canvas-sidebar{ - width: 260px; - display: block; - font-weight: 200; - - .logo{ - padding: 18px 0px; - margin: 0 20px; - - p{ - float: left; - font-size: 20px; - margin: 10px 10px; - line-height: 20px; - } - - .simple-text{ - text-transform: uppercase; - padding: $padding-small-vertical $padding-zero; - display: block; - font-size: $font-size-large; - text-align: center; - font-weight: $font-weight-normal; - line-height: 30px; - } - } - - .nav{ - margin-top: 20px; - - li{ - > a{ - margin: 10px 0px; - padding-left: 25px; - padding-right: 25px; - - opacity: .7; - } - - &:hover > a{ - opacity: 1; - } - - &.active > a{ - color: $primary-color; - opacity: 1; - - &:before{ - border-right: 17px solid $medium-gray; - border-top: 17px solid transparent; - border-bottom: 17px solid transparent; - content: ""; - display: inline-block; - position: absolute; - right: 0; - top: 8px; - } - - &:after{ - border-right: 17px solid $bg-nude; - border-top: 17px solid transparent; - border-bottom: 17px solid transparent; - content: ""; - display: inline-block; - position: absolute; - right: -1px; - top: 8px; - } - } - } - - p{ - margin: 0; - line-height: 30px; - font-size: 12px; - font-weight: 600; - text-transform: uppercase; - } - - i{ - font-size: 24px; - float: left; - margin-right: 15px; - line-height: 30px; - width: 30px; - text-align: center; - } - } - - &:after, - &:before{ - display: block; - content: ""; - position: absolute; - width: 100%; - height: 100%; - top: 0; - left: 0; - z-index: 2; - background: $white-background-color; - } - - &, - &[data-background-color="white"]{ - @include sidebar-background-color($white-background-color, $default-color); - } - &[data-background-color="black"]{ - @include sidebar-background-color($black-background-color, $white-color); - } - - &[data-active-color="primary"]{ - @include sidebar-active-color($primary-color); - } - &[data-active-color="info"]{ - @include sidebar-active-color($info-color); - } - &[data-active-color="success"]{ - @include sidebar-active-color($success-color); - } - &[data-active-color="warning"]{ - @include sidebar-active-color($warning-color); - } - &[data-active-color="danger"]{ - @include sidebar-active-color($danger-color); - } - -} - -.main-panel{ - background-color: $bg-nude; - position: relative; - z-index: 2; - float: right; - width: $sidebar-width; - min-height: 100%; - - > .content{ - padding: 30px 15px; - min-height: calc(100% - 123px); - } - - > .footer{ - border-top: 1px solid rgba(0, 0, 0, 0.1); - } - - .navbar{ - margin-bottom: 0; - } -} - -.sidebar, -.main-panel{ - overflow: auto; - max-height: 100%; - height: 100%; - -webkit-transition-property: top,bottom; - transition-property: top,bottom; - -webkit-transition-duration: .2s,.2s; - transition-duration: .2s,.2s; - -webkit-transition-timing-function: linear,linear; - transition-timing-function: linear,linear; - -webkit-overflow-scrolling: touch; -} diff --git a/src/sass/paper/_tables.scss b/src/sass/paper/_tables.scss deleted file mode 100644 index 2f60f51..0000000 --- a/src/sass/paper/_tables.scss +++ /dev/null @@ -1,77 +0,0 @@ -.table{ - thead, - tbody, - tfoot{ - tr > th, - tr > td{ - border-top: 1px solid $table-line-color; - } - } - > thead > tr > th{ - border-bottom-width: 0; - font-size: $font-size-h5; - font-weight: $font-weight-light; - } - - .radio, - .checkbox{ - margin-top: 0; - margin-bottom: 22px; - padding: 0; - width: 15px; - } - > thead > tr > th, - > tbody > tr > th, - > tfoot > tr > th, - > thead > tr > td, - > tbody > tr > td, - > tfoot > tr > td{ - padding: 12px; - vertical-align: middle; - } - - .th-description{ - max-width: 150px; - } - .td-price{ - font-size: 26px; - font-weight: $font-weight-light; - margin-top: 5px; - text-align: right; - } - .td-total{ - font-weight: $font-weight-bold; - font-size: $font-size-h5; - padding-top: 20px; - text-align: right; - } - - .td-actions .btn{ - - &.btn-sm, - &.btn-xs{ - padding-left: 3px; - padding-right: 3px; - } - } - - > tbody > tr{ - position: relative; - } -} -.table-striped{ - tbody > tr:nth-of-type(2n+1) { - background-color: #fff; - } - tbody > tr:nth-of-type(2n) { - background-color: $pale-bg; - } - > thead > tr > th, - > tbody > tr > th, - > tfoot > tr > th, - > thead > tr > td, - > tbody > tr > td, - > tfoot > tr > td{ - padding: 15px 8px; - } -} \ No newline at end of file diff --git a/src/sass/paper/_typography.scss b/src/sass/paper/_typography.scss deleted file mode 100644 index 8f733bc..0000000 --- a/src/sass/paper/_typography.scss +++ /dev/null @@ -1,117 +0,0 @@ -h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, a, .td-name, td{ - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-family: 'Muli', "Helvetica", Arial, sans-serif; -} - -h1, .h1, h2, .h2, h3, .h3, h4, .h4{ - font-weight: $font-weight-normal; - margin: $margin-large-vertical 0 $margin-base-vertical; -} - -h1, .h1 { - font-size: $font-size-h1; -} -h2, .h2{ - font-size: $font-size-h2; -} -h3, .h3{ - font-size: $font-size-h3; - line-height: 1.4; - margin: 20px 0 10px; -} -h4, .h4{ - font-size: $font-size-h4; - font-weight: $font-weight-bold; - line-height: 1.2em; -} -h5, .h5 { - font-size: $font-size-h5; - font-weight: $font-weight-normal; - line-height: 1.4em; - margin-bottom: 15px; -} -h6, .h6{ - font-size: $font-size-h6; - font-weight: $font-weight-bold; - text-transform: uppercase; -} -p{ - font-size: $font-paragraph; - line-height: $line-height-general; -} - -h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small { - color: $dark-gray; - font-weight: $font-weight-light; - line-height: $line-height-general; -} - -h1 small, h2 small, h3 small, h1 .small, h2 .small, h3 .small { - font-size: 60%; -} -.title-uppercase{ - text-transform: uppercase; -} -blockquote{ - font-style: italic; -} -blockquote small{ - font-style: normal; -} -.text-muted{ - color: $medium-gray; -} -.text-primary, .text-primary:hover{ - color: $primary-states-color; -} -.text-info, .text-info:hover{ - color: $info-states-color; -} -.text-success, .text-success:hover{ - color: $success-states-color; -} -.text-warning, .text-warning:hover{ - color: $warning-states-color; -} -.text-danger, .text-danger:hover{ - color: $danger-states-color; -} -.glyphicon{ - line-height: 1; -} -strong{ - color: $default-states-color; -} -.icon-primary{ - color: $primary-color; -} -.icon-info{ - color: $info-color; -} -.icon-success{ - color: $success-color; -} -.icon-warning{ - color: $warning-color; -} -.icon-danger{ - color: $danger-color; -} -.chart-legend{ - .text-primary, .text-primary:hover{ - color: $primary-color; - } - .text-info, .text-info:hover{ - color: $info-color; - } - .text-success, .text-success:hover{ - color: $success-color; - } - .text-warning, .text-warning:hover{ - color: $warning-color; - } - .text-danger, .text-danger:hover{ - color: $danger-color; - } -} diff --git a/src/sass/paper/_variables.scss b/src/sass/paper/_variables.scss deleted file mode 100644 index dba7b10..0000000 --- a/src/sass/paper/_variables.scss +++ /dev/null @@ -1,262 +0,0 @@ -$font-color: #66615b !default; -$fill-font-color: rgba(255, 255, 255, 0.7); - -$none: 0 !default; -$border-thin: 1px !default; -$border-thick: 2px !default; - -$white-color: #FFFFFF !default; -$white-bg: #FFFFFF !default; - -$smoke-bg: #F5F5F5 !default; -$pale-bg: #FFFCF5 !default; -$medium-pale-bg: #F1EAE0 !default; - -$table-line-color: #CCC5B9 !default; -$muted-color: #a49e93 !default; - -$black-bg: rgba(30,30,30,.97) !default; - -$black-color: #333333 !default; -$black-hr: #444444 !default; - -$white-background-color: #FFFFFF !default; -$black-background-color: #212120 !default; - -$light-gray: #E3E3E3 !default; -$medium-gray: #DDDDDD !default; -$dark-gray: #9A9A9A !default; - -$gray-input-bg: #fffcf5 !default; -$danger-input-bg: #FFC0A4 !default; -$success-input-bg: #ABF3CB !default; -$other-medium-gray: #A49E93 !default; -$transparent-bg: transparent !default; - -$default-color: #66615B !default; -$default-bg: #66615B !default; -$default-states-color: #403D39 !default; - -$primary-color: #7A9E9F !default; -$primary-bg: #7A9E9F !default; -$primary-states-color: #427C89 !default; - -$success-color: #7AC29A !default; -$success-bg: #7AC29A !default; -$success-states-color: #42A084 !default; - -$info-color: #68B3C8 !default; -$info-bg: #68B3C8 !default; -$info-states-color: #3091B2 !default; - -$warning-color: #F3BB45 !default; -$warning-bg: #F3BB45 !default; -$warning-states-color: #BB992F !default; - - -$danger-color: #EB5E28 !default; -$danger-bg: #EB5E28 !default; -$danger-states-color: #B33C12 !default; - - -$link-disabled-color: #666666 !default; - - -/* light colors - used for select dropdown */ - -$light-blue: rgba($primary-color, .2); -$light-azure: rgba($info-color, .2); -$light-green: rgba($success-color, .2); -$light-orange: rgba($warning-color, .2); -$light-red: rgba($danger-color, .2); - - -//== Components -// -$padding-base-vertical: 7px !default; -$padding-base-horizontal: 18px !default; - -$padding-round-vertical: 9px !default; -$padding-round-horizontal: 18px !default; - -$padding-simple-vertical: 10px !default; -$padding-simple-horizontal: 18px !default; - -$padding-large-vertical: 11px !default; -$padding-large-horizontal: 30px !default; - -$padding-small-vertical: 4px !default; -$padding-small-horizontal: 10px !default; - -$padding-xs-vertical: 2px !default; -$padding-xs-horizontal: 5px !default; - -$padding-label-vertical: 2px !default; -$padding-label-horizontal: 12px !default; - -// padding for links inside dropdown menu -$padding-dropdown-vertical: 10px !default; -$padding-dropdown-horizontal: 15px !default; - -$margin-large-vertical: 30px !default; -$margin-base-vertical: 15px !default; - -// border radius for buttons -$border-radius-btn-small: 26px !default; -$border-radius-btn-base: 20px !default; -$border-radius-btn-large: 50px !default; - - -// Cristina: am schimbat aici si s-au modificat inputurile -$margin-bottom: 0 0 10px 0 !default; -$border-radius-small: 3px !default; -$border-radius-base: 4px !default; -$border-radius-large: 6px !default; -$border-radius-extreme: 6px !default; - -$border-radius-large-top: $border-radius-large $border-radius-large 0 0 !default; -$border-radius-large-bottom: 0 0 $border-radius-large $border-radius-large !default; - -$btn-round-radius: 30px !default; - -$height-base: 40px !default; - -$font-size-base: 14px !default; -$font-size-xs: 12px !default; -$font-size-small: 12px !default; -$font-size-medium: 16px !default; -$font-size-large: 18px !default; -$font-size-large-navbar: 20px !default; - -$font-size-h1: 3.2em !default; -$font-size-h2: 2.6em !default; -$font-size-h3: 1.825em !default; -$font-size-h4: 1.5em !default; -$font-size-h5: 1.25em !default; -$font-size-h6: 0.9em !default; -$font-paragraph: 16px !default; -$font-size-navbar: 16px !default; -$font-size-small: 12px !default; - -$font-weight-light: 300 !default; -$font-weight-normal: 400 !default; -$font-weight-semi: 500 !default; -$font-weight-bold: 600 !default; - -$line-height-small: 20px !default; -$line-height-general: 1.4em !default; -$line-height: 36px !default; -$line-height-lg: 54px !default; - - -$border-radius-top: 10px 10px 0 0 !default; -$border-radius-bottom: 0 0 10px 10px !default; - -$dropdown-shadow: 0 2px rgba(17, 16, 15, 0.1), 0 2px 10px rgba(17, 16, 15, 0.1); - -$general-transition-time: 300ms !default; - -$slow-transition-time: 300ms !default; -$dropdown-coordinates: 29px -50px !default; - -$fast-transition-time: 150ms !default; -$select-coordinates: 50% -40px !default; - -$transition-linear: linear !default; -$transition-bezier: cubic-bezier(0.34, 1.61, 0.7, 1) !default; -$transition-ease: ease 0s; - -$navbar-padding-a: 10px 15px; -$navbar-margin-a: 15px 0px; - -$padding-social-a: 10px 5px; - -$navbar-margin-a-btn: 15px 3px; -$navbar-margin-a-btn-round: 16px 3px; - - -$navbar-padding-brand: 20px 15px; -$navbar-margin-brand: 5px 0px; - -$navbar-margin-brand-icons: 12px auto; - -$navbar-margin-btn: 15px 3px; - -$height-icon: 64px !default; -$width-icon: 64px !default; -$padding-icon: 12px !default; -$border-radius-icon: 15px !default; - - -$white-navbar: rgba(#FFFFFF, .96); -$blue-navbar: rgba(#34ACDC, .98); -$azure-navbar: rgba(#5BCAFF, .98); -$green-navbar: rgba(#4CD964, .98); -$orange-navbar: rgba(#FF9500, .98); -$red-navbar: rgba(#FF4C40, .98); - -$bg-nude: #f4f3ef !default; -$bg-primary: #8ECFD5 !default; -$bg-info: #7CE4FE !default; -$bg-success: #8EF3C5 !default; -$bg-warning: #FFE28C !default; -$bg-danger: #FF8F5E !default; - -$topbar-x: topbar-x !default; -$topbar-back: topbar-back !default; -$bottombar-x: bottombar-x !default; -$bottombar-back: bottombar-back !default; - -$transition-linear: linear !default; -$transition-bezier: cubic-bezier(0.34, 1.61, 0.7, 1) !default; -$transition-ease: ease 0s; -$transition-ease-in: ease-in !default; -$transition-ease-out: ease-out !default; - -$general-transition-time: 300ms !default; - -$slow-transition-time: 370ms !default; -$dropdown-coordinates: 29px -50px !default; - -$fast-transition-time: 150ms !default; - -$ultra-fast-transition-time: 100ms !default; - -$select-coordinates: 50% -40px !default; - -$padding-zero: 0px !default; - -$sidebar-width: calc(100% - 260px) !default; -$medium-dark-gray: #AAAAAA !default; - -//variables used in cards -$card-black-color: #252422 !default; -$card-muted-color: #ccc5b9 !default; - - -//variables used for sidebar -$sidebar-background-dark-blue: #506367; - -$sidebar-background-blue: #b8d8d8 !default; -$sidebar-font-blue: #506568 !default; -$sidebar-subtitle-blue: #7a9e9f !default; - -$sidebar-background-green: #d5e5a3 !default; -$sidebar-font-green: #60773d !default; -$sidebar-subtitle-green: #92ac56 !default; - -$sidebar-background-yellow: #ffe28c !default; -$sidebar-font-yellow: #b25825 !default; -$sidebar-subtitle-yellow: #d88715 !default; - -$sidebar-background-brown: #d6c1ab !default; -$sidebar-font-brown: #75442e !default; -$sidebar-subtitle-brown: #a47e65 !default; - -$sidebar-background-purple: #baa9ba !default; -$sidebar-font-purple: #3a283d !default; -$sidebar-subtitle-purple: #5a283d !default; - -$sidebar-background-orange: #ff8f5e !default; -$sidebar-font-orange: #772510 !default; -$sidebar-subtitle-orange: #e95e37 !default; diff --git a/src/sass/paper/mixins/_buttons.scss b/src/sass/paper/mixins/_buttons.scss deleted file mode 100644 index ff6fcef..0000000 --- a/src/sass/paper/mixins/_buttons.scss +++ /dev/null @@ -1,85 +0,0 @@ -// Mixin for generating new styles -@mixin btn-styles($btn-color, $btn-states-color) { - border-color: $btn-color; - color: $btn-color; - - &:hover, - &:focus, - &:active, - &.active, - .open > &.dropdown-toggle { - background-color: $btn-color; - color: $fill-font-color; - border-color: $btn-color; - .caret{ - border-top-color: $fill-font-color; - } - } - - &.disabled, - &:disabled, - &[disabled], - fieldset[disabled] & { - &, - &:hover, - &:focus, - &.focus, - &:active, - &.active { - background-color: $transparent-bg; - border-color: $btn-color; - } - } - - - &.btn-fill { - color: $white-color; - background-color: $btn-color; - @include opacity(1); - - &:hover, - &:focus, - &:active, - &.active, - .open > &.dropdown-toggle{ - background-color: $btn-states-color; - color: $white-color; - border-color: $btn-states-color; - } - - .caret{ - border-top-color: $white-color; - } - } - - &.btn-simple { - &:hover, - &:focus, - &:active, - &.active, - .open > &.dropdown-toggle{ - background-color: $transparent-bg; - color: $btn-states-color; - } - - .caret{ - border-top-color: $white-color; - } - } - - .caret{ - border-top-color: $btn-color; - } -} - - -@mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $border, $line-height){ - font-size: $font-size; - border-radius: $border; - padding: $padding-vertical $padding-horizontal; - - &.btn-simple{ - padding: $padding-vertical + 2 $padding-horizontal; - } - -} \ No newline at end of file diff --git a/src/sass/paper/mixins/_cards.scss b/src/sass/paper/mixins/_cards.scss deleted file mode 100644 index af1f955..0000000 --- a/src/sass/paper/mixins/_cards.scss +++ /dev/null @@ -1,8 +0,0 @@ -@mixin filter($color){ - @if $color == #FFFFFF{ - background-color: rgba($color,.91); - } @else { - background-color: rgba($color,.69); - } -} - diff --git a/src/sass/paper/mixins/_chartist.scss b/src/sass/paper/mixins/_chartist.scss deleted file mode 100644 index c1c80ec..0000000 --- a/src/sass/paper/mixins/_chartist.scss +++ /dev/null @@ -1,104 +0,0 @@ -// Scales for responsive SVG containers -$ct-scales: ((1), (15/16), (8/9), (5/6), (4/5), (3/4), (2/3), (5/8), (1/1.618), (3/5), (9/16), (8/15), (1/2), (2/5), (3/8), (1/3), (1/4)) !default; -$ct-scales-names: (ct-square, ct-minor-second, ct-major-second, ct-minor-third, ct-major-third, ct-perfect-fourth, ct-perfect-fifth, ct-minor-sixth, ct-golden-section, ct-major-sixth, ct-minor-seventh, ct-major-seventh, ct-octave, ct-major-tenth, ct-major-eleventh, ct-major-twelfth, ct-double-octave) !default; - -// Class names to be used when generating CSS -$ct-class-chart: ct-chart !default; -$ct-class-chart-line: ct-chart-line !default; -$ct-class-chart-bar: ct-chart-bar !default; -$ct-class-horizontal-bars: ct-horizontal-bars !default; -$ct-class-chart-pie: ct-chart-pie !default; -$ct-class-chart-donut: ct-chart-donut !default; -$ct-class-label: ct-label !default; -$ct-class-series: ct-series !default; -$ct-class-line: ct-line !default; -$ct-class-point: ct-point !default; -$ct-class-area: ct-area !default; -$ct-class-bar: ct-bar !default; -$ct-class-slice-pie: ct-slice-pie !default; -$ct-class-slice-donut: ct-slice-donut !default; -$ct-class-grid: ct-grid !default; -$ct-class-vertical: ct-vertical !default; -$ct-class-horizontal: ct-horizontal !default; -$ct-class-start: ct-start !default; -$ct-class-end: ct-end !default; - -// Container ratio -$ct-container-ratio: (1/1.618) !default; - -// Text styles for labels -$ct-text-color: rgba(0, 0, 0, 0.4) !default; -$ct-text-size: 0.9em !default; -$ct-text-align: flex-start !default; -$ct-text-justify: flex-start !default; -$ct-text-line-height: 1; - -// Grid styles -$ct-grid-color: rgba(0, 0, 0, 0.2) !default; -$ct-grid-dasharray: 2px !default; -$ct-grid-width: 1px !default; - -// Line chart properties -$ct-line-width: 4px !default; -$ct-line-dasharray: false !default; -$ct-point-size: 10px !default; -// Line chart point, can be either round or square -$ct-point-shape: round !default; -// Area fill transparency between 0 and 1 -$ct-area-opacity: 0.7 !default; - -// Bar chart bar width -$ct-bar-width: 10px !default; - -// Donut width (If donut width is to big it can cause issues where the shape gets distorted) -$ct-donut-width: 60px !default; - -// If set to true it will include the default classes and generate CSS output. If you're planning to use the mixins you -// should set this property to false -$ct-include-classes: true !default; - -// If this is set to true the CSS will contain colored series. You can extend or change the color with the -// properties below -$ct-include-colored-series: $ct-include-classes !default; - -// If set to true this will include all responsive container variations using the scales defined at the top of the script -$ct-include-alternative-responsive-containers: $ct-include-classes !default; - -// Series names and colors. This can be extended or customized as desired. Just add more series and colors. -$ct-series-names: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !default; -$ct-series-colors: ( - $info-color, - $warning-color, - $danger-color, - $success-color, - $primary-color, - rgba($info-color,.8), - rgba($success-color,.8), - rgba($warning-color,.8), - rgba($danger-color,.8), - rgba($primary-color,.8), - rgba($info-color,.6), - rgba($success-color,.6), - rgba($warning-color,.6), - rgba($danger-color,.6), - rgba($primary-color,.6) - -) !default; - -// Paper Kit Colors - -.ct-blue{ - stroke: $primary-color !important; -} -.ct-azure{ - stroke: $info-color !important; -} -.ct-green{ - stroke: $success-color !important; -} -.ct-orange{ - stroke: $warning-color !important; -} -.ct-red{ - stroke: $danger-color !important; -} \ No newline at end of file diff --git a/src/sass/paper/mixins/_icons.scss b/src/sass/paper/mixins/_icons.scss deleted file mode 100644 index 80df4df..0000000 --- a/src/sass/paper/mixins/_icons.scss +++ /dev/null @@ -1,13 +0,0 @@ -@mixin icon-background ($icon-url){ - background-image : url($icon-url); - -} - -@mixin icon-shape ($size, $padding, $border-radius) { - height: $size; - width: $size; - padding: $padding; - border-radius: $border-radius; - display: inline-table; - -} \ No newline at end of file diff --git a/src/sass/paper/mixins/_inputs.scss b/src/sass/paper/mixins/_inputs.scss deleted file mode 100644 index 870c918..0000000 --- a/src/sass/paper/mixins/_inputs.scss +++ /dev/null @@ -1,17 +0,0 @@ -@mixin input-size($padding-vertical, $padding-horizontal, $height){ - padding: $padding-vertical $padding-horizontal; - height: $height; -} - -@mixin placeholder($color, $opacity){ - color: $color; - @include opacity(1); -} - -@mixin light-form(){ - border-radius: 0; - border:0; - padding: 0; - background-color: transparent; - -} \ No newline at end of file diff --git a/src/sass/paper/mixins/_labels.scss b/src/sass/paper/mixins/_labels.scss deleted file mode 100644 index 8a2bdd5..0000000 --- a/src/sass/paper/mixins/_labels.scss +++ /dev/null @@ -1,21 +0,0 @@ -@mixin label-style(){ - padding: $padding-label-vertical $padding-label-horizontal; - border: 1px solid $default-color; - border-radius: $border-radius-small; - color: $default-color; - font-weight: $font-weight-semi; - font-size: $font-size-small; - text-transform: uppercase; - display: inline-block; - vertical-align: middle; -} - -@mixin label-color($color){ - border-color: $color; - color: $color; -} -@mixin label-color-fill($color){ - border-color: $color; - color: $white-color; - background-color: $color; -} \ No newline at end of file diff --git a/src/sass/paper/mixins/_navbars.scss b/src/sass/paper/mixins/_navbars.scss deleted file mode 100644 index 6f50046..0000000 --- a/src/sass/paper/mixins/_navbars.scss +++ /dev/null @@ -1,11 +0,0 @@ -@mixin navbar-color($color){ - background-color: $color; -} - -@mixin center-item(){ - left: 0; - right: 0; - margin-right: auto; - margin-left: auto; - position: absolute; -} \ No newline at end of file diff --git a/src/sass/paper/mixins/_sidebar.scss b/src/sass/paper/mixins/_sidebar.scss deleted file mode 100644 index db97c01..0000000 --- a/src/sass/paper/mixins/_sidebar.scss +++ /dev/null @@ -1,42 +0,0 @@ -@mixin sidebar-background-color($background-color, $font-color){ - &:after, - &:before{ - background-color: $background-color; - } - - .logo{ - border-bottom: 1px solid rgba($font-color,.3); - - p{ - color: $font-color; - } - - .simple-text{ - color: $font-color; - } - } - - .nav{ - li:not(.active){ - > a{ - color: $font-color; - } - } - .divider{ - background-color: rgba($font-color,.2); - } - - } - -} - -@mixin sidebar-active-color($font-color){ - .nav{ - li{ - &.active > a{ - color: $font-color; - opacity: 1; - } - } - } -} diff --git a/src/sass/paper/mixins/_tabs.scss b/src/sass/paper/mixins/_tabs.scss deleted file mode 100644 index edf6f58..0000000 --- a/src/sass/paper/mixins/_tabs.scss +++ /dev/null @@ -1,4 +0,0 @@ -@mixin pill-style($color){ - border: 1px solid $color; - color: $color; -} \ No newline at end of file diff --git a/src/sass/paper/mixins/_transparency.scss b/src/sass/paper/mixins/_transparency.scss deleted file mode 100644 index da32b74..0000000 --- a/src/sass/paper/mixins/_transparency.scss +++ /dev/null @@ -1,20 +0,0 @@ -// Opacity - -@mixin opacity($opacity) { - opacity: $opacity; - // IE8 filter - $opacity-ie: ($opacity * 100); - filter: #{alpha(opacity=$opacity-ie)}; -} - -@mixin black-filter($opacity){ - top: 0; - left: 0; - height: 100%; - width: 100%; - position: absolute; - background-color: rgba(17,17,17,$opacity); - display: block; - content: ""; - z-index: 1; -} \ No newline at end of file diff --git a/src/sass/paper/mixins/_vendor-prefixes.scss b/src/sass/paper/mixins/_vendor-prefixes.scss deleted file mode 100644 index 1c8e813..0000000 --- a/src/sass/paper/mixins/_vendor-prefixes.scss +++ /dev/null @@ -1,197 +0,0 @@ -// User select -// For selecting text on the page - -@mixin user-select($select) { - -webkit-user-select: $select; - -moz-user-select: $select; - -ms-user-select: $select; // IE10+ - user-select: $select; -} - -@mixin box-shadow($shadow...) { - -webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1 - box-shadow: $shadow; -} - -// Box sizing -@mixin box-sizing($boxmodel) { - -webkit-box-sizing: $boxmodel; - -moz-box-sizing: $boxmodel; - box-sizing: $boxmodel; -} - - -@mixin transition($time, $type){ - -webkit-transition: all $time $type; - -moz-transition: all $time $type; - -o-transition: all $time $type; - -ms-transition: all $time $type; - transition: all $time $type; -} - -@mixin transition-none(){ - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - -ms-transition: none; - transition: none; -} - -@mixin transform-scale($value){ - -webkit-transform: scale($value); - -moz-transform: scale($value); - -o-transform: scale($value); - -ms-transform: scale($value); - transform: scale($value); -} - -@mixin transform-translate-x($value){ - -webkit-transform: translate3d($value, 0, 0); - -moz-transform: translate3d($value, 0, 0); - -o-transform: translate3d($value, 0, 0); - -ms-transform: translate3d($value, 0, 0); - transform: translate3d($value, 0, 0); -} - -@mixin transform-origin($coordinates){ - -webkit-transform-origin: $coordinates; - -moz-transform-origin: $coordinates; - -o-transform-origin: $coordinates; - -ms-transform-origin: $coordinates; - transform-origin: $coordinates; -} - -@mixin icon-gradient ($top-color, $bottom-color){ - background: $top-color; - background: -moz-linear-gradient(top, $top-color 0%, $bottom-color 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$top-color), color-stop(100%,$bottom-color)); - background: -webkit-linear-gradient(top, $top-color 0%,$bottom-color 100%); - background: -o-linear-gradient(top, $top-color 0%,$bottom-color 100%); - background: -ms-linear-gradient(top, $top-color 0%,$bottom-color 100%); - background: linear-gradient(to bottom, $top-color 0%,$bottom-color 100%); - background-size: 150% 150%; -} - -@mixin radial-gradient($extern-color, $center-color){ - background: $extern-color; - background: -moz-radial-gradient(center, ellipse cover, $center-color 0%, $extern-color 100%); /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,$center-color), color-stop(100%,$extern-color)); /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* IE10+ */ - background: radial-gradient(ellipse at center, $center-color 0%,$extern-color 100%); /* W3C */ - background-size: 550% 450%; -} - -@mixin vertical-align { - position: relative; - top: 50%; - -webkit-transform: translateY(-50%); - -ms-transform: translateY(-50%); - transform: translateY(-50%); -} - -@mixin rotate-180(){ - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); -} - -@mixin bar-animation($type){ - -webkit-animation: $type 500ms linear 0s; - -moz-animation: $type 500ms linear 0s; - animation: $type 500ms 0s; - -webkit-animation-fill-mode: forwards; - -moz-animation-fill-mode: forwards; - animation-fill-mode: forwards; -} - -@mixin topbar-x-rotation(){ - @keyframes topbar-x { - 0% {top: 0px; transform: rotate(0deg); } - 45% {top: 6px; transform: rotate(145deg); } - 75% {transform: rotate(130deg); } - 100% {transform: rotate(135deg); } - } - @-webkit-keyframes topbar-x { - 0% {top: 0px; -webkit-transform: rotate(0deg); } - 45% {top: 6px; -webkit-transform: rotate(145deg); } - 75% {-webkit-transform: rotate(130deg); } - 100% { -webkit-transform: rotate(135deg); } - } - @-moz-keyframes topbar-x { - 0% {top: 0px; -moz-transform: rotate(0deg); } - 45% {top: 6px; -moz-transform: rotate(145deg); } - 75% {-moz-transform: rotate(130deg); } - 100% { -moz-transform: rotate(135deg); } - } -} - -@mixin topbar-back-rotation(){ - @keyframes topbar-back { - 0% { top: 6px; transform: rotate(135deg); } - 45% { transform: rotate(-10deg); } - 75% { transform: rotate(5deg); } - 100% { top: 0px; transform: rotate(0); } - } - - @-webkit-keyframes topbar-back { - 0% { top: 6px; -webkit-transform: rotate(135deg); } - 45% { -webkit-transform: rotate(-10deg); } - 75% { -webkit-transform: rotate(5deg); } - 100% { top: 0px; -webkit-transform: rotate(0); } - } - - @-moz-keyframes topbar-back { - 0% { top: 6px; -moz-transform: rotate(135deg); } - 45% { -moz-transform: rotate(-10deg); } - 75% { -moz-transform: rotate(5deg); } - 100% { top: 0px; -moz-transform: rotate(0); } - } -} - -@mixin bottombar-x-rotation(){ - @keyframes bottombar-x { - 0% {bottom: 0px; transform: rotate(0deg);} - 45% {bottom: 6px; transform: rotate(-145deg);} - 75% {transform: rotate(-130deg);} - 100% {transform: rotate(-135deg);} - } - @-webkit-keyframes bottombar-x { - 0% {bottom: 0px; -webkit-transform: rotate(0deg);} - 45% {bottom: 6px; -webkit-transform: rotate(-145deg);} - 75% {-webkit-transform: rotate(-130deg);} - 100% {-webkit-transform: rotate(-135deg);} - } - @-moz-keyframes bottombar-x { - 0% {bottom: 0px; -moz-transform: rotate(0deg);} - 45% {bottom: 6px; -moz-transform: rotate(-145deg);} - 75% {-moz-transform: rotate(-130deg);} - 100% {-moz-transform: rotate(-135deg);} - } -} - -@mixin bottombar-back-rotation{ - @keyframes bottombar-back { - 0% { bottom: 6px;transform: rotate(-135deg);} - 45% { transform: rotate(10deg);} - 75% { transform: rotate(-5deg);} - 100% { bottom: 0px;transform: rotate(0);} - } - @-webkit-keyframes bottombar-back { - 0% {bottom: 6px;-webkit-transform: rotate(-135deg);} - 45% {-webkit-transform: rotate(10deg);} - 75% {-webkit-transform: rotate(-5deg);} - 100% {bottom: 0px;-webkit-transform: rotate(0);} - } - @-moz-keyframes bottombar-back { - 0% {bottom: 6px;-moz-transform: rotate(-135deg);} - 45% {-moz-transform: rotate(10deg);} - 75% {-moz-transform: rotate(-5deg);} - 100% {bottom: 0px;-moz-transform: rotate(0);} - } - -} - -