forked from nyaruka/floweditor
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from nyaruka/master
Up merge with base repository
- Loading branch information
Showing
130 changed files
with
6,171 additions
and
4,097 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,172 +1,172 @@ | ||
body { | ||
padding: 0; | ||
margin: 0; | ||
font-family: sans-serif; | ||
font-size: 1em; | ||
line-height: 1.5; | ||
color: #555; | ||
background: #fff; | ||
padding: 0; | ||
margin: 0; | ||
font-family: sans-serif; | ||
font-size: 1em; | ||
line-height: 1.5; | ||
color: #555; | ||
background: #fff; | ||
} | ||
h1 { | ||
font-size: 1.5em; | ||
font-weight: normal; | ||
font-size: 1.5em; | ||
font-weight: normal; | ||
} | ||
small { | ||
font-size: 0.66666667em; | ||
font-size: 0.66666667em; | ||
} | ||
a { | ||
color: #e74c3c; | ||
text-decoration: none; | ||
color: #e74c3c; | ||
text-decoration: none; | ||
} | ||
a:hover, | ||
a:focus { | ||
box-shadow: 0 1px #e74c3c; | ||
box-shadow: 0 1px #e74c3c; | ||
} | ||
.bshadow0, | ||
input { | ||
box-shadow: inset 0 -2px #e7e7e7; | ||
box-shadow: inset 0 -2px #e7e7e7; | ||
} | ||
input:hover { | ||
box-shadow: inset 0 -2px #ccc; | ||
box-shadow: inset 0 -2px #ccc; | ||
} | ||
input, | ||
fieldset { | ||
font-family: sans-serif; | ||
font-size: 1em; | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-family: sans-serif; | ||
font-size: 1em; | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
} | ||
input { | ||
color: inherit; | ||
line-height: 1.5; | ||
height: 1.5em; | ||
padding: 0.25em 0; | ||
color: inherit; | ||
line-height: 1.5; | ||
height: 1.5em; | ||
padding: 0.25em 0; | ||
} | ||
input:focus { | ||
outline: none; | ||
box-shadow: inset 0 -2px #449fdb; | ||
outline: none; | ||
box-shadow: inset 0 -2px #449fdb; | ||
} | ||
.glyph { | ||
font-size: 16px; | ||
width: 15em; | ||
padding-bottom: 1em; | ||
margin-right: 4em; | ||
margin-bottom: 1em; | ||
float: left; | ||
overflow: hidden; | ||
font-size: 16px; | ||
width: 15em; | ||
padding-bottom: 1em; | ||
margin-right: 4em; | ||
margin-bottom: 1em; | ||
float: left; | ||
overflow: hidden; | ||
} | ||
.liga { | ||
width: 80%; | ||
width: calc(100% - 2.5em); | ||
width: 80%; | ||
width: calc(100% - 2.5em); | ||
} | ||
.talign-right { | ||
text-align: right; | ||
text-align: right; | ||
} | ||
.talign-center { | ||
text-align: center; | ||
text-align: center; | ||
} | ||
.bgc1 { | ||
background: #f1f1f1; | ||
background: #f1f1f1; | ||
} | ||
.fgc1 { | ||
color: #999; | ||
color: #999; | ||
} | ||
.fgc0 { | ||
color: #000; | ||
color: #000; | ||
} | ||
p { | ||
margin-top: 1em; | ||
margin-bottom: 1em; | ||
margin-top: 1em; | ||
margin-bottom: 1em; | ||
} | ||
.mvm { | ||
margin-top: 0.75em; | ||
margin-bottom: 0.75em; | ||
margin-top: 0.75em; | ||
margin-bottom: 0.75em; | ||
} | ||
.mtn { | ||
margin-top: 0; | ||
margin-top: 0; | ||
} | ||
.mtl, | ||
.mal { | ||
margin-top: 1.5em; | ||
margin-top: 1.5em; | ||
} | ||
.mbl, | ||
.mal { | ||
margin-bottom: 1.5em; | ||
margin-bottom: 1.5em; | ||
} | ||
.mal, | ||
.mhl { | ||
margin-left: 1.5em; | ||
margin-right: 1.5em; | ||
margin-left: 1.5em; | ||
margin-right: 1.5em; | ||
} | ||
.mhmm { | ||
margin-left: 1em; | ||
margin-right: 1em; | ||
margin-left: 1em; | ||
margin-right: 1em; | ||
} | ||
.mls { | ||
margin-left: 0.25em; | ||
margin-left: 0.25em; | ||
} | ||
.ptl { | ||
padding-top: 1.5em; | ||
padding-top: 1.5em; | ||
} | ||
.pbs, | ||
.pvs { | ||
padding-bottom: 0.25em; | ||
padding-bottom: 0.25em; | ||
} | ||
.pvs, | ||
.pts { | ||
padding-top: 0.25em; | ||
padding-top: 0.25em; | ||
} | ||
.unit { | ||
float: left; | ||
float: left; | ||
} | ||
.unitRight { | ||
float: right; | ||
float: right; | ||
} | ||
.size1of2 { | ||
width: 50%; | ||
width: 50%; | ||
} | ||
.size1of1 { | ||
width: 100%; | ||
width: 100%; | ||
} | ||
.clearfix:before, | ||
.clearfix:after { | ||
content: ' '; | ||
display: table; | ||
content: ' '; | ||
display: table; | ||
} | ||
.clearfix:after { | ||
clear: both; | ||
clear: both; | ||
} | ||
.hidden-true { | ||
display: none; | ||
display: none; | ||
} | ||
.textbox0 { | ||
width: 3em; | ||
background: #f1f1f1; | ||
padding: 0.25em 0.5em; | ||
line-height: 1.5; | ||
height: 1.5em; | ||
width: 3em; | ||
background: #f1f1f1; | ||
padding: 0.25em 0.5em; | ||
line-height: 1.5; | ||
height: 1.5em; | ||
} | ||
#testDrive { | ||
display: block; | ||
padding-top: 24px; | ||
line-height: 1.5; | ||
display: block; | ||
padding-top: 24px; | ||
line-height: 1.5; | ||
} | ||
.fs0 { | ||
font-size: 16px; | ||
font-size: 16px; | ||
} | ||
.fs1 { | ||
font-size: 24px; | ||
font-size: 16px; | ||
} | ||
.fs2 { | ||
font-size: 32px; | ||
font-size: 24px; | ||
} | ||
.fs3 { | ||
font-size: 28px; | ||
font-size: 32px; | ||
} | ||
.fs4 { | ||
font-size: 16px; | ||
font-size: 28px; | ||
} | ||
.fs5 { | ||
font-size: 20px; | ||
font-size: 20px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
if (!('boxShadow' in document.body.style)) { | ||
document.body.setAttribute('class', 'noBoxShadow'); | ||
document.body.setAttribute('class', 'noBoxShadow'); | ||
} | ||
|
||
document.body.addEventListener('click', function(e) { | ||
var target = e.target; | ||
if (target.tagName === 'INPUT' && target.getAttribute('class').indexOf('liga') === -1) { | ||
target.select(); | ||
} | ||
var target = e.target; | ||
if (target.tagName === 'INPUT' && target.getAttribute('class').indexOf('liga') === -1) { | ||
target.select(); | ||
} | ||
}); | ||
|
||
(function() { | ||
var fontSize = document.getElementById('fontSize'), | ||
testDrive = document.getElementById('testDrive'), | ||
testText = document.getElementById('testText'); | ||
function updateTest() { | ||
testDrive.innerHTML = testText.value || String.fromCharCode(160); | ||
if (window.icomoonLiga) { | ||
window.icomoonLiga(testDrive); | ||
} | ||
} | ||
function updateSize() { | ||
testDrive.style.fontSize = fontSize.value + 'px'; | ||
var fontSize = document.getElementById('fontSize'), | ||
testDrive = document.getElementById('testDrive'), | ||
testText = document.getElementById('testText'); | ||
function updateTest() { | ||
testDrive.innerHTML = testText.value || String.fromCharCode(160); | ||
if (window.icomoonLiga) { | ||
window.icomoonLiga(testDrive); | ||
} | ||
fontSize.addEventListener('change', updateSize, false); | ||
testText.addEventListener('input', updateTest, false); | ||
testText.addEventListener('change', updateTest, false); | ||
updateSize(); | ||
} | ||
function updateSize() { | ||
testDrive.style.fontSize = fontSize.value + 'px'; | ||
} | ||
fontSize.addEventListener('change', updateSize, false); | ||
testText.addEventListener('input', updateTest, false); | ||
testText.addEventListener('change', updateTest, false); | ||
updateSize(); | ||
})(); |
Oops, something went wrong.