Permalink
Browse files

changed fonts

  • Loading branch information...
1 parent 80ab8c4 commit 44a66f2a208dafe6ad8e258cd4f6c9bb654d1a33 @sarfraznawaz2005 committed Feb 26, 2012
Showing with 17 additions and 19 deletions.
  1. +6 −7 css/style.css
  2. +1 −1 index.php
  3. +10 −11 js/pe.js
View
@@ -10,7 +10,7 @@ body {
padding: 0 !important;
background:#fff !important;
font-size:13px !important;
- font-family:Consolas, Tahoma !important;
+ font-family:Consolas, verdana !important;
}
.left {float:left;}
@@ -60,21 +60,20 @@ h1 {
}
#sidebar{
- width:15%;
+ width:14%;
background-color: #f6f6f6;
-moz-box-shadow: 0 5px 10px #AAAAAA;
-webkit-box-shadow: 0 5px 10px #AAAAAA;
box-shadow: 0 5px 10px #AAAAAA;
- font-family:verdana;
}
#sidebar ul, #sidebar li{ margin: 0; padding: 0; }
#sidebar a.navhead {font-weight:bold; display:block;border-bottom:1px solid #66A3D2;font-size:13px; background:#437fad;letter-spacing:1px; color:white; padding:5px 10px; text-align: center;}
#sidebar a.navhead:hover {color:#333;}
#sidebar .navlinks li {list-style:none;}
-#sidebar .navlinks a {padding: 5px;display:block;border-bottom:1px solid #25577C;background:#66A3D2;padding:5px 10px;color:#fff;}
-#sidebar .navlinks a:hover {color:#000; }
+#sidebar .navlinks a {font-size:13px;padding: 5px;display:block;border-bottom:1px solid #5994c1;background:#84b8e0;padding:5px 10px;color:#fff;}
+#sidebar .navlinks a:hover {color:#000; background:#66A3D2; }
#actions{
padding: 5px;
@@ -86,7 +85,7 @@ h1 {
}
#code{
- width:84%;
+ width:85%;
height:450px;
-moz-box-shadow: 0 5px 10px #AAAAAA;
-webkit-box-shadow: 0 5px 10px #AAAAAA;
@@ -111,7 +110,7 @@ h1 {
overflow: auto;
-moz-box-shadow: 0 5px 10px #AAAAAA;
-webkit-box-shadow: 0 5px 10px #AAAAAA;
- box-shadow: 0 5px 10px #AAAAAA;
+ box-shadow: 0 5px 10px #AAAAAA;
}
#buttons{
View
@@ -8,7 +8,7 @@
<body>
<div id="container" class="clear">
- <h1 align="left"><img class="left" src="img/terminal.png" align="absmiddle" width="30" height="30" alt="">&nbsp;PHPExecute - Simple PHP Code Runner</h1>
+ <h1 align="left"><img class="left" src="img/terminal.png" align="absmiddle" width="30" height="30" alt="">&nbsp;PHPExecute - PHP Code Runner</h1>
<div id="sidebar" class="left">
<div id="actions">Actions</div>
View
@@ -1,11 +1,10 @@
- var gEditor = null;
-
- gEditor = ace.edit("code");
- gEditor.setTheme("ace/theme/clouds");
+ editor = ace.edit("code");
+ editor.setShowPrintMargin(false);
+ editor.setTheme("ace/theme/clouds");
var PHPMode = require("ace/mode/php").Mode;
- gEditor.getSession().setMode(new PHPMode());
+ editor.getSession().setMode(new PHPMode());
(function($) {
@@ -14,7 +13,7 @@
$('#btnRun').click(function(){
- var data = encodeURIComponent(gEditor.getSession().getValue());
+ var data = encodeURIComponent(editor.getSession().getValue());
if (! data) return false;
@@ -114,7 +113,7 @@
code = '';
}
- gEditor.getSession().setValue(code);
+ editor.getSession().setValue(code);
$('#btnRun').trigger('click');
return false;
@@ -125,7 +124,7 @@
// Save snippets
$('#btnSave').click(function(){
- var snippet = gEditor.getSession().getValue();
+ var snippet = editor.getSession().getValue();
if (! snippet) return false;
var name = prompt('Please enter snippet name');
@@ -147,7 +146,7 @@
{
var key = localStorage.key(i);
var value = localStorage[key];
- $('#snippets').append('<li rel="' + key + '"><a class="left" title="Delete" href="#">[X]</a><a href="#">' + key.replace('pe_snippet', '') + '</a></li>');
+ $('#snippets').append('<li rel="' + key + '"><a class="left" title="Delete" href="#">[X]</a><div class="left">&nbsp;</div><a href="#">' + key.replace('pe_snippet', '') + '</a></li>');
}
}
@@ -170,7 +169,7 @@
}
}
- gEditor.getSession().setValue(localStorage.getItem(key));
+ editor.getSession().setValue(localStorage.getItem(key));
return false;
});
@@ -181,7 +180,7 @@
{
var key = localStorage.key(i);
var value = localStorage[key];
- $('#snippets').append('<li rel="' + key + '"><a class="left" title="Delete" href="#">[X]</a><a href="#">' + key.replace('pe_snippet', '') + '</a></li>');
+ $('#snippets').append('<li rel="' + key + '"><a class="left" title="Delete" href="#">[X]</a><div class="left">&nbsp;</div><a href="#">' + key.replace('pe_snippet', '') + '</a></li>');
}
}

0 comments on commit 44a66f2

Please sign in to comment.