Skip to content

Commit

Permalink
Merge branch 'gh-pages' of github.com:purescript/trypurescript into g…
Browse files Browse the repository at this point in the history
…h-pages
  • Loading branch information
paf31 committed Sep 14, 2017
2 parents 4a23501 + 6459c0e commit 7b27d48
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 58 deletions.
76 changes: 45 additions & 31 deletions css/flare.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,17 @@ code {
padding-right: 3px;
}

.flarecheck-test pre,
.flarecheck-test code,
.flarecheck-test input,
.flarecheck-test label,
.flarecheck-test legend {
font-family: 'Source Code Pro', courier;
.sparkle-test pre,
.sparkle-test code,
.sparkle-test input,
.sparkle-test label,
.sparkle-test legend,
.sparkle-test select,
.sparkle-test textarea {
font-family: 'Source Code Pro', monospace;
}

fieldset.flarecheck-test {
fieldset.sparkle-test {
margin-top: 15px;
margin-bottom: 40px;
max-width: 800px;
Expand All @@ -84,15 +86,15 @@ fieldset.flarecheck-test {
padding: .35em .625em .75em;
}

fieldset.flarecheck-test > legend {
fieldset.sparkle-test > legend {
background-color: #f0f0f0;
border: 1px solid #666;
border-radius: 3px;
float: initial;
width: initial;
}

.flarecheck-test pre {
.sparkle-test pre {
background-color: #f0f0f0;
padding: 10px;
max-width: 780px;
Expand All @@ -105,89 +107,101 @@ fieldset.flarecheck-test > legend {
word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.flarecheck-test .flare-input {
.sparkle-test .flare-input {
margin-bottom: 5px;
}

.flarecheck-test input {
.sparkle-test input:not([type="range"]) {
padding: 3px;
border-radius: 3px;
border: 1px solid #888;
}

.flarecheck-test input:invalid {
.sparkle-test input:invalid {
background-color: #DEAFB4;
}

.flarecheck-test .flare-input-number,
.flarecheck-test .flare-input-int-number {
.sparkle-test .flare-input-number,
.sparkle-test .flare-input-int-number {
width: 80px;
}

.flarecheck-test fieldset {
.sparkle-test fieldset {
border-radius: 3px;
margin-top: 5px;
margin-bottom: 20px;
}

.flarecheck-test label {
width: 150px;
.sparkle-test label {
width: 160px;
display: inline-block;
}

.flarecheck-test legend {
.sparkle-test legend {
padding: 2px 6px;
font-weight: 700;
}

.flarecheck-test .flarecheck-okay {
.sparkle-test .flare-input-list button {
margin-left: 5px;
margin-right: 5px;
}

.sparkle-test .sparkle-okay {
background-color: #B4DEAF;
}

.flarecheck-test .flarecheck-warn {
.sparkle-test .sparkle-warn {
background-color: #DEAFB4;
}

.flarecheck-string {
.sparkle-string {
color: #E91E63;
}

.flarecheck-number {
.sparkle-number {
color: #1339E8;
}

.flarecheck-boolean {
.sparkle-boolean {
font-weight: bold;
}

.flarecheck-constructor {
.sparkle-constructor {
font-weight: bold;
}

.flarecheck-record-field {
.sparkle-record-field {
font-style: italic;
}

.flarecheck-tooltip {
.sparkle-color {
width: 1em;
height: 1em;
margin-right: 0.5em;
display: inline-block;
}

.sparkle-tooltip {
cursor: default;
}

.flarecheck-tooltip:hover {
.sparkle-tooltip:hover {
background-color: #f2e7a6;
}

.flarecheck-tooltip > .flarecheck-tooltip:hover {
.sparkle-tooltip > .sparkle-tooltip:hover {
background-color: #e9d563;
}

.flarecheck-tooltip > .flarecheck-tooltip > .flarecheck-tooltip:hover {
.sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip:hover {
background-color: #dfc220;
}

.flarecheck-tooltip > .flarecheck-tooltip > .flarecheck-tooltip > .flarecheck-tooltip:hover {
.sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip:hover {
background-color: #938015;
}

.flarecheck-tooltip > .flarecheck-tooltip > .flarecheck-tooltip > .flarecheck-tooltip > .flarecheck-tooltip:hover {
.sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip:hover {
background-color: #62560e;
}
29 changes: 4 additions & 25 deletions js/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Try/API.purs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ getBackendConfig Slides = BackendConfig
}
getBackendConfig Mathbox = BackendConfig
{ backend: "mathbox"
, mainGist: "aeecffd458fa8a365b4af3b3cd9d7759"
, mainGist: "81f8bb3261b9c819d677de2ea54a4d2e"
, extra_styling: fold
[ """<script src="js/mathbox-bundle.js"></script>"""
, """<link rel="stylesheet" href="css/mathbox.css">"""
Expand Down
2 changes: 1 addition & 1 deletion src/Try/QueryString.purs
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ setQueryString k v = setQueryStrings (StrMap.singleton k v)
setQueryStrings :: forall eff. StrMap.StrMap String -> Eff (dom :: DOM | eff) Unit
setQueryStrings ss = do
params <- getQueryParams
runEffFn1 setQueryParameters (StrMap.union params ss)
runEffFn1 setQueryParameters (StrMap.union ss params)

0 comments on commit 7b27d48

Please sign in to comment.