Skip to content

Commit

Permalink
demo: design
Browse files Browse the repository at this point in the history
  • Loading branch information
dherault committed Jul 29, 2017
1 parent d8d73c6 commit a3071e7
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
}
h1 {
margin: 40px 0 35px 0;
color: DarkGoldenRod;
color: GoldenRod;
}
a {
color: DarkGoldenRod;
color: GoldenRod;
text-decoration: none;
}
a:hover {
Expand Down Expand Up @@ -53,7 +53,7 @@
font-weight: bold;
font-family: monospace;
text-align: center;
color: DarkGoldenRod;
color: GoldenRod;
}
input {
min-width: 180px;
Expand Down Expand Up @@ -105,8 +105,8 @@
}
.button-active {
font-weight: bold;
color: DarkGoldenRod;
border-color: DarkGoldenRod;
color: GoldenRod;
border-color: GoldenRod;
}
.lock {
border: none;
Expand All @@ -122,7 +122,8 @@
.container {
margin-top: 3px;
padding: 1px;
border: 2px solid DarkGoldenRod;
background-color: rgba(238, 238, 238, 0.25);
border: 2px solid rgba(238, 238, 238, 0.30);
}
.y-locked {
height: 174px;
Expand Down Expand Up @@ -289,10 +290,10 @@ <h1>Flexpad</h1>
activateButton(br, d === 'r')
activateButtonLock(xLocked, true)
activateButtonLock(yLocked, false)
divWrap.style.borderTopColor = d[0] === 't' ? 'DarkGoldenRod' : 'SlateGray';
divWrap.style.borderRightColor = d[1] === 'r' ? 'DarkGoldenRod' : 'SlateGray';
divWrap.style.borderBottomColor = d[0] === 'b' ? 'DarkGoldenRod' : 'SlateGray';
divWrap.style.borderLeftColor = d[1] === 'l' ? 'DarkGoldenRod' : 'SlateGray';
divWrap.style.borderTopColor = d[0] === 't' ? 'GoldenRod' : 'SlateGray';
divWrap.style.borderRightColor = d[1] === 'r' ? 'GoldenRod' : 'SlateGray';
divWrap.style.borderBottomColor = d[0] === 'b' ? 'GoldenRod' : 'SlateGray';
divWrap.style.borderLeftColor = d[1] === 'l' ? 'GoldenRod' : 'SlateGray';
}

const onclick = ((el, fn) => el.onclick = () => fn() + '' && render())
Expand Down

0 comments on commit a3071e7

Please sign in to comment.