Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ready for initial re-integration with space

  • Loading branch information...
commit d0fa8ecf19cb2b2446cc9b18818459722ac7b722 1 parent 0dccb0a
Default Username authored root committed
View
23 app.js
@@ -5,6 +5,7 @@
//
//var profiler = require("v8-profiler");
console.log("\n** Starting Node service **");
+var livelog = require("../CHAOS/livelog");
var express = require("express"); //"-unstable");
var util = require("util");
var fs = require('fs');
@@ -13,17 +14,25 @@ var walk = require('walk');
var spawn = require('child_process').spawn;
var exec = require('child_process').exec;
var gzippo = require('gzippo');
-//var stylus = require('stylus');
-var app = express.createServer();
+function authorizeSimple(username, password) {
+ return username === 'chaos' & password === 'bettert0gether';
+}
+var app = express.createServer(express.basicAuth(authorizeSimple));
+
+// setup livelog
+app.get("/livelog", livelog.livelog);
+app.get("/livelogdata", express.basicAuth(livelog.basicauth), livelog.livelogdata);
+
//app.use(express.static(__dirname + '/public'));
-var staticProvider = gzippo.staticGzip(__dirname + '/public'); // use GZIP compression for static files (cache ~1 day)!
+//var staticProvider = gzippo.staticGzip(__dirname + '/public'); // use GZIP compression for static files (cache ~1 day)!
+var staticProvider = express.static(__dirname + '/public');
app.use(staticProvider);
app.get('/',function(req,res,next){
// res.send("unauthenticated");
//});
//app.get('/6fG8h72OeP1FcZ',function(req,res,next){
- console.log(staticProvider);
+ //console.log(staticProvider);
req.url = "index.html";
staticProvider(req, res, next);
});
@@ -53,7 +62,7 @@ nowjs.on('connect', function () {
}
console.log(" >> PROJECT="+this.user.teamID);
this.user.grouplist = []; // file groups starts out empty.
- this.user.about = [];
+ this.user.about = {};
this.user.about.name = "Default Username";
this.user.about.email = "default@chaos.org";
addUserToFileGroup(this.user, ""); // the blank file group is the the team group.
@@ -175,7 +184,7 @@ everyone.now.s_getAllProjectsFiles = function(callback){
// use this to remove/sort files before doing the more expensive "stat" operation.
//console.log(root + " / " + nodeNamesArray);
for(var i=nodeNamesArray.length-1; i>=0; i--){
- if(nodeNamesArray[i] == ".git" || nodeNamesArray[i] == "node_modules"){
+ if(nodeNamesArray[i] == ".git" || nodeNamesArray[i] == "node_modules" || nodeNamesArray[i] == "_db"){
nodeNamesArray.splice(i, 1);
}
}
@@ -385,7 +394,7 @@ function localRepoFetchGitLog(userObj, gitRepoPath, fname, fetcherCallback) {
}
}
}
- console.log(out);
+ //console.log(out);
fetcherCallback(out);
}
});
View
7 app_pre.js
@@ -7,6 +7,8 @@
console.log("PreLaunch..........");
var util = require("util");
var fs = require('fs');
+
+/*
var stylus = require('stylus');
function renderStylusToCSSFile(fnameRoot){
var fileBase = __dirname+"/public/"+fnameRoot;
@@ -14,13 +16,12 @@ function renderStylusToCSSFile(fnameRoot){
if (err) {
console.log("ERR: Stylus parse error >> " + fileBase+ " >> " + err);
}else{
- fs.writeFileSync(fileBase+".css", "/*\n// NOTE: Do not edit this CSS file directly. It is generated automatically on LAUNCH.\n// Edit the Stylus file ("+fnameRoot+".styl) instead... :) \n*/\n\n"+css, "utf8");
+ fs.writeFileSync(fileBase+".css", "/*\n// NOTE: Do not edit this CSS file directly. It is generated automatically on LAUNCH.\n// Edit the Stylus file ("+fnameRoot+".styl) instead... :) \n*\/\n\n"+css, "utf8");
console.log("Stylus Rendered >> " + fileBase+".styl to .css");
}
});
}
-
// call out each stylus file to render pre-launch here...
renderStylusToCSSFile("index");
-
+*/
console.log("PreLaunch complete.");
View
62 public/index.css
@@ -11,6 +11,7 @@ body {
overflow: hidden;
margin: 0;
font-family: Arial, sans-serif;
+ background: #000;
}
::-webkit-scrollbar-thumb {
border: 2px solid #000;
@@ -43,11 +44,12 @@ body {
left: 0px;
right: 0px;
top: 0px;
- height: 34px;
- background: #eee;
+ height: 14px;
+ background: #222;
border-bottom: 1px solid #282a2e;
}
#notifications {
+ display: none;
position: absolute;
right: 15px;
top: 45px;
@@ -67,6 +69,7 @@ body {
color: rgba(255,255,255,0.50);
}
#topMenu {
+ display: none;
position: absolute;
right: 42px;
top: 0px;
@@ -94,18 +97,26 @@ body {
}
#topStatus {
position: absolute;
- top: 8px;
-/*left: 10px; */
- bottom: 35px;
+ top: 0px;
+ left: 0px;
}
-#topProjName {
+#topProjName, #topFileName {
display: inline-block;
z-index: 0;
- left: 190px;
- top: 12px;
font-size: 10px;
- font-weight: 400;
+ font-weight: 300;
text-align: left;
+ line-height: 16px;
+ vertical-align: top;
+ padding-left: 60px;
+ color: #888;
+}
+#topFileName{
+ color: #FFF;
+ font-weight: 400;
+ padding-left: 1px;
+ line-height: 14px;
+ font-family: monospace;
}
#topSpaceLink {
display: inline-block;
@@ -193,7 +204,7 @@ body {
#editor {
margin: 0px;
position: absolute;
- top: 35px;
+ top: 15px;
bottom: 36px;
left: 0px;
right: 0px;
@@ -204,6 +215,7 @@ body {
/*-webkit-font-smoothing: antialiased;*/
}
#whoAreThey {
+ display: none;
font-family: Arial, sans-serif;
position: absolute;
top: 8px;
@@ -358,7 +370,7 @@ body {
z-index: 999;
background: #000;
opacity: 0.95;
- height: 300px;
+ height: 500px;
border: 1px solid #333;
width: 500px;
overflow: hidden;
@@ -375,7 +387,7 @@ body {
top: 0px;
bottom: 0px;
width: 520px;
- height: 300px;
+ height: 500px;
}
/*
.fileBrowserMenuItem input:focus {
@@ -486,6 +498,7 @@ body {
color: #555;
font-size: 9px;
}
+
.otherCursor {
height: 14px;
visibility: visible;
@@ -495,34 +508,13 @@ body {
padding-right: 8px;
background: rgba(0,0,0,0.20);
}
-.collab_cursor_old {
- position: absolute;
- z-index: 5;
- border-left: 2px solid #ff0;
- margin-left: -1px;
- right: 5px;
- text-align: right;
- color: #ff0;
- border-bottom: 1px dashed #333;
-}
-.collab_cursor_nametag_old {
- position: absolute;
- top: -16px;
- left: -2px;
- text-align: right;
- color: #000;
- background: #ff0;
- padding: 1px;
- padding-left: 3px;
- padding-right: 3px;
- opacity: 0.4;
-}
+
.collab_cursor {
position: absolute;
z-index: 5;
border-left: 2px solid #0ff;
margin-left: -1px;
- right: 210px;
+ right: 5px;
text-align: right;
color: #ff0;
border-bottom: 1px dotted rgba(0,255,255,0.30);
View
3  public/index.html
@@ -54,9 +54,8 @@
<div id="top">
<div id="topStatus">
- <a href='http://space.chaoscollective.org'><div id='topSpaceLink'>BACK TO SPACE</div></a>
- <div id="whoIAm"></div>
<div id='topProjName'></div>
+ <div id='topFileName'></div>
</div>
<div id="whoAreThey" title="No one else is collaborating">0</div>
<div id='notifications'></div>
View
20 public/index.js
@@ -505,7 +505,8 @@ now.c_processMessage = function(scope, type, message, fromUserId, fromUse
now.c_confirmProject = function(teamID){
now.teamID = teamID;
console.log("PROJECT: " + now.teamID);
- $("#topProjName").html("You're editing <b><a href='http://"+teamID+".chaoscollective.org/' target='_APP_"+teamID+"' style='text-decoration: none; color: #000;'>"+teamID+"</a></b>.");
+ // <a href='http://"+teamID+".chaoscollective.org/'
+ $("#topProjName").html(teamID+" &raquo;");
}
// ---------------------------------------------------------
// Main functions...
@@ -575,6 +576,9 @@ function openFileFromServer(fname, forceOpen){
return;
}
infile = fname;
+ // ----
+ $("#topFileName").html(infile);
+ // ----
if($("#recentFile_2").html() == infile){
$("#recentFile_2").html($("#recentFile_1").html()).attr("fname", $("#recentFile_1").attr('fname'));
$("#recentFile_1").html($("#recentFile_0").html()).attr("fname", $("#recentFile_0").attr('fname'));
@@ -917,7 +921,7 @@ function deleteFile(fname){
// Code Folding, Cleaning, and other auto tools...
// ---------------------------------------------------------
function autoFoldCode(levelToFold){
- if(levelToFold == undefined){
+ if(levelToFold === undefined){
levelToFold = 0;
}
console.log("folding code at level: " + levelToFold);
@@ -1286,7 +1290,7 @@ function launchProject(){
return;
}else{
console.log("Launch successful! >> URL="+launchURL);
- window.open(launchURL,'CHAOS_APP_LAUNCH_'+pageLoadID);
+ //window.open(launchURL,'CHAOS_APP_LAUNCH_'+pageLoadID);
}
});
}
@@ -1365,7 +1369,7 @@ var alreadyConnected = false;
now.ready(function(){
if(alreadyConnected){
// seeing ready after already being connected.. assume server was reset!
- alert("server was reset.");
+ alert("editor server was reset... \nreloading page...");
window.location.reload();
}
nowIsOnline = true;
@@ -1395,7 +1399,7 @@ now.ready(function(){
console.log(now);
setName(now.name);
setTimeout(function(){
- $("#logOutputIFrame").attr("src", "http://logs.chaoscollective.org/live?log="+now.teamID);
+ $("#logOutputIFrame").attr("src", "http://"+now.teamID+".chaoscollective.org/livelog"); //+now.teamID);
document.title = now.teamID;
}, 1000);
console.log("fetching git commits...");
@@ -1405,6 +1409,12 @@ now.ready(function(){
var cHTML = "";
for(var i=commits.length-1; i>=0; i--){
var c = commits[i];
+ if(!c.linesAdded){
+ c.linesAdded = 0;
+ }
+ if(!c.linesDeleted){
+ c.linesDeleted = 0;
+ }
cHTML += "<br/><div style='opacity: 0.8; padding-lefT: 20px; font-style: italic;'>"+c.time_relative+"</div><div style='padding-left: 20px; color: #090; width: 40px; display: inline-block; text-align: right;'>+"+c.linesAdded+"</div> <div style='color: #900; width: 40px; display: inline-block;'>-"+c.linesDeleted+"</div><div class='itemType_projectAction'>"+c.comment+"</div><div style='clear: both;'></div>";
}
notifyAndAddMessageToLog("#CCCCCC", "CHAOS", "Most recent commits "+cHTML);
View
798 public/index.styl
@@ -1,798 +0,0 @@
-
-
-_colorBG = rgb(40, 42, 46)
-
-
-@font-face {
- font-family: "Inconsolata";
- src: url("./fonts/Inconsolata.otf");
-}
-
-body {
- overflow: hidden;
- margin: 0;
- font-family: Arial, sans-serif;
-}
-
-::-webkit-scrollbar-thumb {
- border: 2px solid #000;
- background: _colorBG;
- border-radius: 0px;
-}
-::-webkit-scrollbar {
- height: 12px;
- width: 12px;
- background: #000;
-}
-::-webkit-full-screen {
- width: 100%;
- height: 100%;
-}
-
-.ace_scroller {
- overflow-x: hidden !important;
-}
-#bottom {
- position: absolute;
- left: 0px;
- bottom: 0px;
- right: 0px;
- height: 34px;
- background: #000;
- z-index: 1001;
-}
-#top {
- position: absolute;
- left: 0px;
- right: 0px;
- top: 0px;
- height: 34px;
- background: #eee;
- border-bottom: 1px solid _colorBG;
-}
-#notifications {
- position: absolute;
- right: 15px;
- top: 45px;
- width: 200px;
- overflow: visible;
- z-index: 9;
-}
-.notificationItem {
- background: rgba(0,0,0,0.85);
- color: #FFF;
- font-size: 11px;
- padding: 10px;
- border-top: 1px solid #FFF;
- margin-bottom: 4px;
-}
-.notificationItem span {
- color: rgba(255, 255, 255, 0.5);
-}
-#topMenu {
- position: absolute;
- right: 42px;
- top: 0px;
- width: 300px;
- text-align: right;
-}
-.topMenuItem {
- display: inline-block;
- padding: 3px;
- padding-right: 6px;
- padding-left: 6px;
- font-size: 11px;
- color: #1A1A1A;
- cursor: pointer;
- margin: 9px;
- margin-left: 2px;
- margin-right: 2px;
-}
-.topMenuItem span {
- text-decoration: underline;
-}
-.topMenuItemOpen {
- background: #1A1A1A;
- color: rgba(255, 255, 255, 0.98);
-}
-#topStatus {
- position: absolute;
- top: 8px;
- /*left: 10px; */
- bottom: 35px;
-}
-#topProjName {
- display: inline-block;
- z-index: 0;
- left: 190px;
- top: 12px;
- font-size: 10px;
- font-weight: 400;
- text-align: left;
-}
-#topSpaceLink {
- display: inline-block;
- padding: 4px;
- padding-left: 14px;
- font-size: 10px;
- z-index: 1000;
- cursor: pointer;
- color: black;
- letter-spacing: 1px;
-}
-#topSpaceLink:hover {
- background: #F10;
- color: #FFF;
-}
-#whoIAm {
- font-family: Arial, sans-serif;
- font-size: 10px;
- color: #191919;
- display: inline-block;
- top: 12px;
-}
-#logWindow {
- position: absolute;
- right: 15px;
- top: 35px;
- width: 200px;
- background: rgba(0, 0, 0, 1);
- z-index: 10;
- display: none;
- bottom: 350px;
-}
-#logWindowCaret {
- position: absolute;
- top: -12px;
- right: 86px;
- border: 6px solid transparent;
- border-bottom: 6px solid black;
-}
-#logWindowContent {
- position: absolute;
- left: 10px;
- right: 0px;
- top: 10px;
- bottom: 2px;
- overflow-y: scroll;
-}
-.logItem {
- position: relative;
- background: rgba(0, 0, 0, 0.85);
- color: rgba(255, 255, 255, 0.8);
- font-size: 10px;
- padding: 0;
- margin-bottom: 4px;
- padding-top: 4px;
- padding-bottom: 6px;
- line-height: 13px;
-}
-.logItemTop {
- position: absolute;
- top: 0px;
- left: 0px;
- width: 50px;
- height: 0px;
- border-top: 1px solid white;
-}
-.logItem span {
- color: rgba(255, 255, 255, 0.5);
-}
-/* special types for notifications and log */
-.itemType_fileAction {
- display: block;
- color: rgba(255, 255, 0, 0.8);
- font-family: monospace;
- font-size: 11px;
- text-align: right;
-}
-.itemType_projectAction {
- display: block;
- color: rgba(255, 0, 255, 0.8);
- font-family: Arial, sans-serif;
- font-size: 11px;
- text-align: right;
-}
-
-#editor {
- margin: 0px;
- position: absolute;
- top: 35px;
- bottom: 36px;
- left: 0px;
- right: 0px;
- font-size: 11px;
- line-height: 12px;
- /*font-family: 'Courier New', 'Courier', monospaced;*/
- font-family: "Inconsolata", "Courier New", monospace;
- /*-webkit-font-smoothing: antialiased;*/
-}
-
-#whoAreThey {
- font-family: Arial, sans-serif;
- position: absolute;
- top: 8px;
- right: 8px;
- width: 20px;
- height: 15px;
- background: #222;
- font-size: 11px;
- text-align: center;
- padding-top: 4px;
- color: white;
- cursor: pointer;
-}
-#dataStatBlock {
- position: absolute;
- left: 3px;
- top: 16px;
- width: 4px;
- height: 4px;
- border-radius: 10px;
- background: #444;
-}
-#preflightButton {
- position: absolute;
- font-family: Arial, sans-serif;
- right: 115px;
- top: 0px;
- height: 23px;
- width: 85px;
- letter-spacing: 3px;
- color: white;
- font-size: 11px;
- padding-top: 11px;
- cursor: pointer;
- background: url("./png/preflight.png") center right no-repeat;
- opacity: 0.5;
-}
-#preflightButton:hover {
- opacity: 1.0;
-}
-#launchButton {
- position: absolute;
- font-family: Arial, sans-serif;
- right: 10px;
- top: 0px;
- height: 23px;
- width: 83px;
- letter-spacing: 3px;
- color: white;
- font-size: 11px;
- padding-top: 11px;
- cursor: pointer;
- background: url("./png/launch.png") center right no-repeat;
- opacity: 0.5;
-}
-#launchButton:hover {
- opacity: 1.0;
-}
-#filebrowserButton {
- position:absolute;
- top: 0px;
- left: 10px;
- width: 34px;
- height: 34px;
- background: url("./png/filebrowse_open.png") center center no-repeat;
- cursor: pointer;
- z-index: 2;
-}
-#fileHistory {
- position: absolute;
- left: 51px;
- top: 0px;
- width: 600px;
- height: 34px;
-}
-.openFileHeader {
- position: relative;
- display: inline-block;
- font-size: 11px;
- color: #FFF;
- padding: 11px;
- margin-right: 2px;
- opacity: 0.98;
- cursor: pointer;
- padding-right: 7px;
-}
-#fileBrowser {
- position: absolute;
- bottom: -315px;
- height: 350px;
- left: 0px;
- right: 0px;
- background: rgba(0, 0, 0, 0.90);
- z-index: 1000;
- border-top: 1px solid rgb(102, 102, 102);
-}
-#fileBrowserMenu {
- position: absolute;
- left: 0px;
- right: 0px;
- bottom: 0px;
- height: 30px;
- background: rgb(255,202,29); /* Old browsers */
- background: -moz-linear-gradient(left, rgba(255,202,29,1) 0%, rgba(255,243,0,1) 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,202,29,1)), color-stop(100%,rgba(255,243,0,1))); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(left, rgba(255,202,29,1) 0%,rgba(255,243,0,1) 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(left, rgba(255,202,29,1) 0%,rgba(255,243,0,1) 100%); /* Opera11.10+ */
- background: -ms-linear-gradient(left, rgba(255,202,29,1) 0%,rgba(255,243,0,1) 100%); /* IE10+ */
- background: linear-gradient(left, rgba(255,202,29,1) 0%,rgba(255,243,0,1) 100%); /* W3C */
-}
-.fileBrowserMenuItem {
- display: inline-block;
- font-size: 11px;
- color: #000;
- margin-left: 9px;
- margin-top: 5px;
- padding: 6px;
- padding-top: 4px;
- padding-bottom: 4px;
- cursor: pointer;
-}
-.fileBrowserMenuItem:hover {
- border: 1px solid rgba(0,0,0,0.8);
- padding: 5px;
- padding-top: 3px;
- padding-bottom: 3px;
- background: rgba(0,0,0,0.10);
-}
-.fileBrowserMenuItem input {
- position: absolute;
- top: 3px;
- font-size: 11px;
- padding: 2px;
- border: 1px solid #1A1A1A;
- left: 7px;
- background: rgba(255, 255, 255, .8);
- color: black;
- padding-top: 3px;
- width: 125px;
-}
-#logOutput {
- position: absolute;
- right: 220px;
- bottom: 36px;
- z-index: 999;
- background: black;
- opacity: 0.95;
- height: 300px;
- border: 1px solid #333;
- width: 500px;
- overflow: hidden;
- border-bottom: 0;
- display: none;
-}
-#logOutputIFrame {
- border: 0;
- margin: 0;
- padding: 0;
- position: absolute;
- left: 0px;
- right: -20px;
- top: 0px;
- bottom: 0px;
- width: 520px;
- height: 300px;
-}
-/*
-.fileBrowserMenuItem input:focus {
- outline: 3px solid rgba(255, 255, 255, 0.75);
-}
-*/
-.fileBrowserMenuItem select {
- position: absolute;
- left: 143px;
- top: 5px;
- width: 45px;
- border: 1px solid rgba(0, 0, 0, 0.5);
- border-radius: 0px !important;
- height: 20px;
- background: none;
- border-image: none;
- -webkit-appearance: none;
- padding-left: 5px;
- cursor: pointer;
-}
-.fileBrowserMenuItem input[type=submit] {
- position: absolute;
- left: 191px;
- top: 3px;
- padding-left: 5px;
- padding-right: 5px;
- width: auto;
- cursor: pointer;
- background: #1A1A1A;
- color: rgba(255, 255, 0, 0.6);
-}
-.fileBrowserMenuItem input[type=submit]:hover {
- color: #FF0;
-}
-.fileBrowserSection {
- position: relative;
- display: inline-block;
- width: 215px;
- width: 22%;
- margin-left: 15px;
- margin-top: 20px;
-}
-.fileBrowserSectTitle {
- position: absolute;
- left: 0px;
- right: 0px;
- top: 0px;
- font-size: 9px;
- color: #B3B3B3;
- height: 14px;
- border-bottom: 1px solid #B3B3B3;
-}
-.fileBrowserSectFiles {
- position: absolute;
- left: 0px;
- right: 0px;
- top: 15px;
- color: rgba(255, 255, 255, 0.5);
- overflow-y: auto;
- height: 270px;
- padding-bottom: 15px;
-}
-.fileBrowserSectFiles:hover {
- background: rgba(0, 0, 0, 0.75);
- color: rgba(255, 255, 255, 0.75);
-}
-.fileEntry {
- display: block;
- font-size: 11px;
- padding: 0px;
- padding-top: 3px;
- padding-bottom: 2px;
- padding-left: 15px;
- cursor: pointer;
- position: relative;
- min-height: 24px;
- margin-right: 2px;
- border-bottom: 1px solid #111;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-.fileEntry:hover {
- color: #FFF;
- border-left: 1px solid #FFF;
- padding-left: 14px;
- background: #080808;
-}
-.fileEntryDir {
- display: block;
- opacity: 0.4;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- margin-right: 30px;
-}
-.fileEntryUsers {
- position: absolute;
- left: 2px;
- top: 2px;
- color: #CC0;
- font-size: 9px;
-}
-.fileEntrySize {
- position: absolute;
- right: 2px;
- top: 2px;
- color: #555;
- font-size: 9px;
-}
-.otherCursor {
- height: 14px;
- visibility: visible;
- border-left: 2px solid #3FF !important;
- opacity: 0.8;
- cursor: pointer;
- padding-right: 8px;
- background: rgba(0, 0, 0, 0.2);
-}
-.collab_cursor_old {
- position: absolute;
- z-index: 5;
- border-left: 2px solid #FF0;
- margin-left: -1px;
- right: 5px;
- text-align: right;
- color: #FF0;
- border-bottom: 1px dashed #333;
-}
-.collab_cursor_nametag_old {
- position: absolute;
- top: -16px;
- left: -2px;
- text-align: right;
- color: black;
- background: yellow;
- padding: 1px;
- padding-left: 3px;
- padding-right: 3px;
- opacity: 0.4;
-}
-.collab_cursor {
- position: absolute;
- z-index: 5;
- border-left: 2px solid #0FF;
- margin-left: -1px;
- right: 210px;
- text-align: right;
- color: #FF0;
- border-bottom: 1px dotted rgba(0, 255, 255, 0.3);
-}
-.collab_cursor_nametag {
- position: absolute;
- bottom: -1px;
- right: 0px;
- text-align: right;
- color: black;
- background: #00FFFF;
- padding: 0px;
- padding-left: 3px;
- padding-right: 3px;
- opacity: 1;
- font-family: Arial, sans-serif;
- font-weight: 600;
- pointer-events: auto;
- cursor: help;
-}
-.collab_cursor_nametagFlag {
- position: absolute;
- top: 6px;
- left: -6px;
- width: 0px;
- height: 0px;
- border: 3px solid rgba(0, 255, 255, 0.0);
- border-right: 3px solid rgba(0, 255, 255, 1);
- border-bottom: 3px solid rgba(0, 255, 255, 1);
-}
-.collab_selection {
- position: absolute;
- z-index: 5;
- background: rgba(128, 128, 255, 0.1);
-}
-#shiftshift {
- position: absolute;
- left: 50%;
- top: 40%;
- margin-left: -200px;
- width: 400px;
- margin-top: -45px;
- height: 90px;
- z-index: 9999999;
- background: rgba(0,0,0,0.90);
- border: 1px solid #00ACED;
- display: none;
-}
-#shiftshiftTitle {
- position: absolute;
- left: 10px;
- top: 15px;
- font-size: 11px;
- color: #FFF;
- letter-spacing: 1px;
-}
-#shiftshiftFilename {
- position: absolute;
- left: 10px;
- top: 40px;
- font-size: 28px;
- color: #FFF;
-}
-#shiftshiftFilename span{
- font-size: 12px;
- color: rgba(255, 255, 255, 1);
- padding-left: 2px;
- letter-spacing: 1px;
-}
-#shiftshiftInputDiv {
- position: absolute;
- left: 10px;
- bottom: 10px;
- right: 10px;
- height: 33px;
- background: #1A1A1A;
-}
-#shiftshiftInputDiv input {
- position: absolute;
- left: 5px;
- top: 0px;
- right: 10px;
- bottom: 0px;
- font-size: 13px;
- color: #FFF;
- background: none;
- border: none;
-}
-#shiftshiftInputDiv input:focus {
- outline: none;
-}
-.shiftshiftBtn {
- position: absolute;
- bottom: 10px;
- border: 1px solid white;
- cursor: pointer;
- font-size: 13px;
- height: 23px;
- width: 183px;
- color: white;
- text-align: center;
- padding-top: 8px;
-}
-#shiftshiftBtn_Cancel {
- left: 10px;
-}
-#shiftshiftBtn_Cancel:hover {
- color: #000;
- background: #FFF;
-}
-#shiftshiftBtn_Delete {
- right: 10px;
- background-image: none;
- background-position: 0px 0px;
-}
-#shiftshiftBtn_Delete:hover {
- border-color: #FF3600;
- background-image: url("./png/delete_ptrn.png");
- background-position: 2000px 0px;
- background-repeat: repeat;
- -webkit-transition: background-position 100s linear;
-}
-#shiftshiftBtn_Delete:hover:before {
- content: "\00D7\00D7\00D7\0020";
-}
-#shiftshiftBtn_Delete:hover:after {
- content: "\0020\00D7\00D7\00D7";
-}
-
-#hud {
- position: absolute;
- right: 15px;
- bottom: 40px;
- width: 200px;
- height: 200px;
- background: rgba(0,0,0,0.85);
- z-index: 10;
- display: none;
-}
-#hudTitle {
- position: absolute;
- top: 5px;
- left: 5px;
- font-size: 11px;
- color: #555;
- z-index: 1000;
-}
-#hudClose {
- position: absolute;
- top: 3px;
- right: 6px;
- font-size: 16px;
- color: #555;
- cursor: pointer;
- z-index: 1000;
-}
-#hudData {
- position: absolute;
- left: 0px;
- top: 0px;
- right: 0px;
- bottom: 0px;
- z-index: 1;
-}
-#hudData_UserCount {
- position: absolute;
- left: 5px;
- top: 25px;
- font-size: 14px;
- font-weight: 600;
- color: #F0F;
- opacity: 0.3;
-}
-#hudData_ByteCount {
- position: absolute;
- right: 5px;
- top: 25px;
- font-size: 14px;
- font-weight: 600;
- color: #F0F;
- opacity: 0.3;
-}
-#hudData_TreeMap {
- position: absolute;
- left: 2px;
- top: 52px;
- right: 2px;
- bottom: 2px;
- overflow: hidden;
-}
-.treemapBlock {
- position: absolute;
- background: #3B5663;
- opacity: 0.6;
- cursor: pointer;
- text-align: center;
- font-size: 8px;
- color: #000;
- overflow: hidden;
- z-index: 1;
-}
-.treemapBlock:hover {
- opacity: 0.9;
- z-index: 2;
- box-shadow: 0px 0px 4px #000;
-}
-.treemapBlock_1 {
- background: #C0A050;
-}
-.treemapBlock_2 {
- background: #D09050;
-}
-.treemapBlock_3 {
- background: #E08050;
-}
-.treemapBlock_4 {
- background: #FF7050;
-}
-.treemapBlock_5 {
- background: #FF3030;
-}
-
-/*
- * Right click menu...
- */
-.rightClickContainer {
- z-index: 999999;
- cursor: default;
- background: #FFF;
- padding: 5px;
- font-size: 12px;
-}
-.rightClickMarker {
- z-index: 999998;
- cursor: default;
- border: 2px solid rgba(255, 255, 0, 0.5);
- width: 8px;
- height: 8px;
- margin-left: -3px;
- margin-top: -3px;
- border-radius: 10px;
-}
-.rightClickCornerCut {
- position: absolute;
- right: 0px;
- top: 0px;
- width: 0px;
- height: 0px;
- border: 7px solid #000;
- border-bottom: 7px solid rgba(0,0,0,0);
- border-left: 7px solid rgba(0,0,0,0);
- z-index: 100;
-}
-.rightClickItem {
- color: #000;
-}
-.rightClickItemSpacer {
- margin-left: 5px;
- border-bottom: 1px dotted black;
- padding-top: 0px;
- margin-bottom: 4px;
- padding-bottom: 4px;
- margin-right: 4px;
-}
-.rightClickItemEl {
- position: relative;
- cursor: pointer;
- padding: 5px;
- padding-top: 2px;
- padding-bottom: 2px;
- padding-right: 35px;
-}
-.rightClickItemEl:hover {
- text-decoration: underline;
-}
View
2  public/js/theme-chaos.js
@@ -1 +1 @@
-define("ace/theme/chaos",["require","exports","module"],function(a,b,c){b.cssText=".ace-chaos .ace_editor { border: 2px solid rgb(159, 159, 159); font: 'Courier', monospaced;}.ace-chaos .ace_editor.ace_focus { border: 2px solid #327fbd;}.ace-chaos .ace_gutter { width: 60px; background: #141414; color: #595959; overflow : hidden; border-right: 1px solid #282828;}.ace-chaos .ace_gutter-layer { width: 100%; text-align: right;}.ace-chaos .ace_gutter-layer .ace_gutter-cell { padding-right: 12px;} .ace-chaos .ace_gutter-cell.ace_warning { background-image: none; color: FC0; border-left: solid 10px #FC0;} .ace-chaos .ace_gutter-cell.ace_error { background-position: -6px center; background-image: none; color: #F10; border-left: solid 10px #F10;} .ace-chaos .ace_print_margin { width: 1px; background: #e8e8e8;}.ace-chaos .ace_scroller { background-color: #161616;}.ace-chaos .ace_text-layer { cursor: text; color: #E6E1DC;}.ace-chaos .ace_cursor { border-left: 2px solid #FFFFFF;}.ace-chaos .ace_cursor.ace_overwrite { border-left: 0px; border-bottom: 1px solid #FFFFFF;} .ace-chaos .ace_marker-layer .ace_selection { background: rgba(90, 90, 90, 0.3);}.ace-chaos .ace_marker-layer .ace_step { background: rgb(198, 219, 174);}.ace-chaos .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid #FCE94F;}.ace-chaos .ace_marker-layer .ace_active_line { background: #333435;} .ace-chaos .ace_invisible { color: #404040;}.ace-chaos .ace_keyword { color:#00698F;}.ace-chaos .ace_keyword.ace_operator { color:#FF308F; }.ace-chaos .ace_constant { color:#1EDAFB;}.ace-chaos .ace_constant.ace_language { color:#FDC251;}.ace-chaos .ace_constant.ace_library { color:#8DFF0A;}.ace-chaos .ace_constant.ace_numeric { color:#58C554;}.ace-chaos .ace_invalid { color:#FFFFFF;background-color:#990000;}.ace-chaos .ace_invalid.ace_illegal { }.ace-chaos .ace_invalid.ace_deprecated { color:#FFFFFF; background-color:#990000;}.ace-chaos .ace_support { color: #999; }.ace-chaos .ace_support.ace_function { color:#00AEEF;} .ace-chaos .ace_function {color:#00AEEF; } .ace-chaos .ace_function.ace_buildin { }.ace-chaos .ace_string { color:#58C554;}.ace-chaos .ace_string.ace_regexp { }.ace-chaos .ace_comment { color:#555; font-style:italic; padding-bottom: 0px;}.ace-chaos .ace_comment.ace_doc { }.ace-chaos .ace_comment.ace_doc.ace_tag { }.ace-chaos .ace_variable { color:#997744; }.ace-chaos .ace_variable.ace_language { }.ace-chaos .ace_xml_pe { }.ace-chaos .ace_meta { }.ace-chaos .ace_meta.ace_tag { color:#BE53E6;}.ace-chaos .ace_meta.ace_tag.ace_input { }.ace-chaos .ace_entity.ace_other.ace_attribute-name { color:#FFFF89;}.ace-chaos .ace_markup.ace_underline { text-decoration:underline;}.ace-chaos .ace_markup.ace_heading { }.ace-chaos .ace_markup.ace_heading.ace_1 { }.ace-chaos .ace_markup.ace_heading.ace_2 { }.ace-chaos .ace_markup.ace_heading.ace_3 { }.ace-chaos .ace_markup.ace_heading.ace_4 { }.ace-chaos .ace_markup.ace_heading.ace_5 { }.ace-chaos .ace_markup.ace_heading.ace_6 { }.ace-chaos .ace_markup.ace_list { }.ace-chaos .ace_collab.ace_user1 { }.ace-chaos .ace_fold { background: #222; border-radius: 3px; color: #7AF; border: none; }.ace-chaos .ace_fold:hover {background: #CCC !important; color: #000 !important;} .ace_fold-widget{height: 10px; background-position: 3px 3px;}",b.cssClass="ace-chaos"});
+define("ace/theme/chaos",["require","exports","module"],function(a,b,c){b.cssText=".ace-chaos .ace_editor { border: 2px solid rgb(159, 159, 159); font: 'Courier', monospaced;}.ace-chaos .ace_editor.ace_focus { border: 2px solid #327fbd;}.ace-chaos .ace_gutter { width: 50px; background: #141414; color: #595959; overflow : hidden; border-right: 1px solid #282828;}.ace-chaos .ace_gutter-layer { width: 100%; text-align: right; min-width: 50px;}.ace-chaos .ace_gutter-layer .ace_gutter-cell { padding-right: 12px; font-size: 10px;} .ace-chaos .ace_gutter-cell.ace_warning { background-image: none; background: #FC0; border-left: none; padding-left: 0; color: #000;} .ace-chaos .ace_gutter-cell.ace_error { background-position: -6px center; background-image: none; background: #F10; border-left: none; padding-left: 0; color: #000;} .ace-chaos .ace_print_margin { width: 1px; background: #e8e8e8;}.ace-chaos .ace_scroller { background-color: #161616;}.ace-chaos .ace_text-layer { cursor: text; color: #E6E1DC;}.ace-chaos .ace_cursor { border-left: 2px solid #FFFFFF;}.ace-chaos .ace_cursor.ace_overwrite { border-left: 0px; border-bottom: 1px solid #FFFFFF;} .ace-chaos .ace_marker-layer .ace_selection { background: rgba(90, 90, 90, 0.3);}.ace-chaos .ace_marker-layer .ace_step { background: rgb(198, 219, 174);}.ace-chaos .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid #FCE94F;}.ace-chaos .ace_marker-layer .ace_active_line { background: #333435;} .ace-chaos .ace_invisible { color: #404040;}.ace-chaos .ace_keyword { color:#00698F;}.ace-chaos .ace_keyword.ace_operator { color:#FF308F; }.ace-chaos .ace_constant { color:#1EDAFB;}.ace-chaos .ace_constant.ace_language { color:#FDC251;}.ace-chaos .ace_constant.ace_library { color:#8DFF0A;}.ace-chaos .ace_constant.ace_numeric { color:#58C554;}.ace-chaos .ace_invalid { color:#FFFFFF;background-color:#990000;}.ace-chaos .ace_invalid.ace_illegal { }.ace-chaos .ace_invalid.ace_deprecated { color:#FFFFFF; background-color:#990000;}.ace-chaos .ace_support { color: #999; }.ace-chaos .ace_support.ace_function { color:#00AEEF;} .ace-chaos .ace_function {color:#00AEEF; } .ace-chaos .ace_function.ace_buildin { }.ace-chaos .ace_string { color:#58C554;}.ace-chaos .ace_string.ace_regexp { }.ace-chaos .ace_comment { color:#555; font-style:italic; padding-bottom: 0px;}.ace-chaos .ace_comment.ace_doc { }.ace-chaos .ace_comment.ace_doc.ace_tag { }.ace-chaos .ace_variable { color:#997744; }.ace-chaos .ace_variable.ace_language { }.ace-chaos .ace_xml_pe { }.ace-chaos .ace_meta { }.ace-chaos .ace_meta.ace_tag { color:#BE53E6;}.ace-chaos .ace_meta.ace_tag.ace_input { }.ace-chaos .ace_entity.ace_other.ace_attribute-name { color:#FFFF89;}.ace-chaos .ace_markup.ace_underline { text-decoration:underline;}.ace-chaos .ace_markup.ace_heading { }.ace-chaos .ace_markup.ace_heading.ace_1 { }.ace-chaos .ace_markup.ace_heading.ace_2 { }.ace-chaos .ace_markup.ace_heading.ace_3 { }.ace-chaos .ace_markup.ace_heading.ace_4 { }.ace-chaos .ace_markup.ace_heading.ace_5 { }.ace-chaos .ace_markup.ace_heading.ace_6 { }.ace-chaos .ace_markup.ace_list { }.ace-chaos .ace_collab.ace_user1 { }.ace-chaos .ace_fold { background: #222; border-radius: 3px; color: #7AF; border: none; }.ace-chaos .ace_fold:hover {background: #CCC !important; color: #000 !important;} .ace_fold-widget{height: 10px; background-position: 3px 3px;}",b.cssClass="ace-chaos"});
Please sign in to comment.
Something went wrong with that request. Please try again.