Skip to content

Commit

Permalink
フレーム消す
Browse files Browse the repository at this point in the history
  • Loading branch information
maktak1995 committed Dec 13, 2016
1 parent 4e0f0ed commit 32a2d90
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 16 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ npm install
npm start
```

If you want to change character, please replace images in /src/img/character.
Or if you use from releaced package, replace images in /character.
---

* Version:0.3.0
* Update:2016/12/9
- Change UI
* Version:0.3.1
* Update:2016/12/13
- Remove flame
* Auther:MakTak
* This app follow MIT licence.
8 changes: 5 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ let mainWindow
let tray
function createWindow () {
mainWindow = new BrowserWindow({
width: 380,
height: 280,
resizable: false
width: 350,
height: 250,
resizable: false,
transparent: true,
frame: false
})

mainWindow.loadURL(url.format({
Expand Down
Binary file modified src/img/back.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/fukidashi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/scripts/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ UPDATE:2016/12/6
var i = 0;
var img = new Array();
img[0] = new Image();
img[0].src = "../img/character/main.png";
img[0].src = "../img/character/main.png"; //mac -> 6up, win -> 4up
for(i=1;i<=10;i++){
img[i] = new Image();
img[i].src = "../img/character/sub" + String(i) + ".png";
Expand Down
26 changes: 17 additions & 9 deletions src/scripts/piclock.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,25 @@ body {
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
-webkit-app-region: drag;
-webkit-user-select: none;
}


#character {
width: auto;
height: 240px;
position: fixed;
right: 1px;
top: 10%;
width: 48%;
height: auto;
position: relative;
float: right;
-webkit-app-region: drag;
}

#textbox {
position: absolute;
position: relative;
text-align: left;
width: 50%;
float: left;
-webkit-app-region: drag;
}

#digital_clock {
Expand All @@ -35,15 +38,20 @@ body {
margin-left: 9px;
text-align: center;
color: #fff;
padding: 0;
border: 3px solid rgb(42, 42, 42);
background-color: rgba(24, 24, 24, .7);
box-shadow: 0 0 2px 2px #000 inset;
text-shadow: 1px 1px 3px #000;
}

#fukidashi{
width: 185px;
height: 150px;
margin-left: 7px;
width: 175px;
height: 145px;
margin-left: 5px;
margin-top: 20px;
position: absolute;
-webkit-app-region: drag;
}

#yukarin_serif {
Expand Down

0 comments on commit 32a2d90

Please sign in to comment.