Skip to content

Commit

Permalink
rescructure and fixes... unit testing is up next!
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliumxyz committed May 7, 2017
1 parent 3d315bb commit 73ce74d
Show file tree
Hide file tree
Showing 8 changed files with 437 additions and 95 deletions.
Binary file modified app/style.css
Binary file not shown.
Binary file removed assets/css/style.css
Binary file not shown.
File renamed without changes
73 changes: 0 additions & 73 deletions assets/sass/style.sass

This file was deleted.

70 changes: 70 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
html, body, canvas {
margin: 0;
padding: 0;
overflow: hidden;
font-family: 'Roboto Mono', monospace; }

@keyframes blink {
0% {
background: rgba(255, 105, 180, 0.8); }
50% {
background: transparent; }
100% {
background: rgba(255, 105, 180, 0.8); } }

main {
position: fixed;
width: 540px;
left: calc(50% - 260px); }

h1 {
width: 100%;
top: 80px;
position: fixed;
text-align: center;
user-select: none; }

.center {
position: fixed;
width: 100%; }

.options {
background: black;
color: white;
margin: 0 auto;
padding: 10px;
width: 540px;
user-select: none; }

.option {
padding: 0;
margin: 0; }

.active {
background: white;
color: black; }

.cursor {
padding: 0;
animation: 1s blink step-end infinite; }

code {
position: fixed;
top: 0;
left: 0;
z-index: 2;
background: white;
min-width: 200px;
min-height: 40px; }

.menu {
position: fixed;
list-style: none;
top: 0;
left: 0;
z-index: 2;
background: white;
min-height: 40px; }

ul {
list-style: none; }
11 changes: 5 additions & 6 deletions style.sass → assets/style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ html, body, canvas
font-family: 'Roboto Mono', monospace

@keyframes blink
0% background: rgba(255,105,180,0.8)
50% background: transparent
100% background: rgba(255,105,180,0.8)
0% {background: rgba(255,105,180,0.8)}
50% {background: transparent}
100% {background: rgba(255,105,180,0.8)}

main
position: fixed
width: 540px
left: calc(50% - 260px)


h1
width: 100%
top: 80px
Expand All @@ -23,8 +22,8 @@ h1
user-select: none

.center
top: 280px
position: fixed
top:
position: fixed
width: 100%

.options
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
"author": "kalium",
"license": "MIT",
"dependencies": {
"electron": "^1.6.6"
"electron": "^1.6.6",
"electron-packager": "^8.7.0"
},
"devDependencies": {
"node-sass": "^4.5.2",
"nodemon": "^1.11.0"
},
"scripts": {
"build-css": "node-sass --include-path sass style.sass style.css",
"build-css": "node-sass --include-path sass assets\\sass\\style.sass assets\\css\\style.css",
"watch-css": "nodemon -e sass -x \"npm run build-css\"",
"sass": "node-sass -w -r ./ -o ./",
"start": "electron ."
}
}
Loading

0 comments on commit 73ce74d

Please sign in to comment.