Skip to content

Commit

Permalink
working on new look and feel for site
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbtn committed Oct 16, 2012
1 parent c947014 commit 255b574
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 19 deletions.
25 changes: 22 additions & 3 deletions css/screen.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
html, body{ font-family:font-family: 'Open Sans', sans-serif;}

html, body{ font-family:font-family: 'Open Sans', sans-serif; margin-top:0.61em;}
footer{display:none;}
textarea{border:solid 1px #e4e4e4}
select{border:none; background:#e4e4e4}
h1{font-weight:normal; }

/*-----------HEADER STYLES-------------*/
header{margin-bottom:.61em;}
header p{display:block; line-height:0.61em; }
header h1{display:block; vertical-align: middle; line-height:1em;}
header img{vertical-align: middle; float:left; line-height:0;}

header .title{float:left;}

header .hidden-phone .title{margin-top:1.61em;}
header .visible-phone h1{font-size:1.61em; }
header .visible-phone p{font-size:0.75em; margin-top:0.75em; line-height:0.31em}

/*-----------FORMULA STYLES------------*/
.formula{font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;}
.formula{
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
background-color:#f5fffa;
border:solid 1px #e4e4e4;
padding: 1.428em;
}
.function{
color:#069;
}
Expand Down
Binary file added img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 35 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,62 @@
</head>

<body>

<!-- Main Content -->
<header class="container">
<div class="row">
<h1 class="span12">Excel Formula Beautifier</h1>
<div class="row hidden-phone">
<div class="span12">
<img class="" src="img/logo.png" height="100" width="104" alt="Logo" />
<div class="title">
<p>Online Excel Formula Tools. Beautify and Convert Excel Formulas.</p>
<h1>Excel Formula Beautifier</h1>
</div>
</div>
</div>
<div class="row visible-phone">
<div class="span1">
<img class="" src="img/logo.png" height="50" width="52" alt="Logo" />
<div class="title">
<p>Online Excel Formula Tools. Beautify and Convert Excel Formulas.</p>
<h1>Excel Formula Beautifier</h1>
</div>
</div>

</div>
</header>

<div id="container" class="container">
<div class="row">
<div class="span8">
<div class="span12">
<p class="hide description">This is a JavaScript and html5 based excel formula beautifier. It can also convert an excel formula to JavaScript (or C#). It has been built using <a href="https://github.com/joshatjben/excelFormulaUtilitiesJS" target="_blank">Excel Formula Utilities JS</a></p>
<div id="inputArea" class="row">
<div class="span8">
<div class="row">
<label for="formula_input" class="span8">Enter your formula here. The leading = is optional.</label>
</div>
<div class="row">
<div class="span8">
<input type="text" id="formula_input" class="input-xxlarge" onkeyup="window.excelFormulaBeautifier.examples.beautifier.update()" />
<!-- input type="text" id="formula_input" class="input-xxlarge" onkeyup="window.excelFormulaBeautifier.examples.beautifier.update()" /-->
<textarea rows="1" id="formula_input" class="span8"
onkeyup="window.excelFormulaBeautifier.examples.beautifier.update()"></textarea>
</div>
</div>
</div>
<div class="span4">
<!-- label class="" for="mode">Mode: </label -->
<select id="mode" class="" onchange="window.excelFormulaBeautifier.examples.beautifier.changeMode(this.value)">
<option value="beautify">Beautify</option>
<option value="js">Formula to JavaScript</option>
</select>
</div>
</div>

<div class="formula">
<div id="fomatFormula_2_out" clas=""></div>
</div>
</div>

<div id="sideContent" class="span4 ">
<div class="">
<label class="" for="mode">Mode: </label>
<select id="mode" class="" onchange="window.excelFormulaBeautifier.examples.beautifier.changeMode(this.value)">
<option value="beautify">Beautify</option>
<option value="js">Formula to JavaScript</option>
</select>
</div>
</div>

<div class="row">
<div id="sideContent" class="span12 ">


<hr />
<p>Have some feedback or feature requests? I'd love to hear it.</p>
Expand Down

0 comments on commit 255b574

Please sign in to comment.