Skip to content

Commit

Permalink
外観完成
Browse files Browse the repository at this point in the history
  • Loading branch information
nash committed Aug 11, 2012
1 parent bc4b565 commit 230e119
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 3 deletions.
28 changes: 27 additions & 1 deletion bin/css/popup.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
h2 {
margin: 0;
margin: 3px;
letter-spacing: -0.05em;
}
#container {
float: right;
}
#container:after {
content: "";
clear: both;
display: block;
margin-bottom: 10px;
}
.btn {
display: inline-block;
border: solid 1px #CCC;
border-radius: 2px;
background-color: #EEE;
cursor: pointer;
width: 100px;
padding: 5px;
margin-top: 10px;
font-weight: bold;
text-align: center;
}
.btn.disable {
color: #CCC;
background-color: #f5f5f5;
}
7 changes: 6 additions & 1 deletion bin/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,16 @@ var procs = [
description: 'プラグインのプロセスを停止します。タブのプロセスはそのままです。',
value: 'plugin',
selected: false
}, {
}, {
text: 'タブプロセスを停止',
description: 'タブのプロセスを停止します。プラグインのあるタブは停止しません。',
value: 'tab',
selected: false
}, {
text: '停止したプロセスを修復',
description: '停止したプロセスをもう一度起動させます。',
value: 'recover',
selected: false
}
];

Expand Down
3 changes: 3 additions & 0 deletions bin/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
<body>
<h2>Process Killer</h2>
<div id="proc"></div>
<div id="container">
<div class="btn disable">実行</div>
</div>
</body>
</html>
7 changes: 6 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ var procs = [
description: 'プラグインのプロセスを停止します。タブのプロセスはそのままです。',
value: 'plugin',
selected: false
}, {
}, {
text: 'タブプロセスを停止',
description: 'タブのプロセスを停止します。プラグインのあるタブは停止しません。',
value: 'tab',
selected: false
}, {
text: '停止したプロセスを修復',
description: '停止したプロセスをもう一度起動させます。',
value: 'recover',
selected: false
}
];

Expand Down
25 changes: 25 additions & 0 deletions src/popup.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
h2 {
margin: 3px;
letter-spacing: -0.05em;
}
#container {
float: right;
}
#container:after {
content: "";
clear: both;
display: block;
margin-bottom: 10px;
}
.btn {
display: inline-block;
border: solid 1px #CCC;
border-radius: 2px;
background-color: #EEE;
cursor: pointer;
width: 100px;
padding: 5px;
margin-top: 10px;
font-weight: bold;
text-align: center;
}
.btn.disable {
color: #CCC;
background-color: #F5F5F5;
}
3 changes: 3 additions & 0 deletions src/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
<body>
<h2>Process Killer</h2>
<div id="proc"></div>
<div id="container">
<div class="btn disable">実行</div>
</div>
</body>
</html>

0 comments on commit 230e119

Please sign in to comment.