Skip to content

Commit

Permalink
Fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
Fede91 committed Mar 10, 2015
1 parent 4ef9480 commit b7e2a9e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 29 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Preferences setup UI",
"description": "Form for editing preferences.",
"homepage": "https://github.com/Fede91/brackets-preferences-ui",
"version": "0.2.2",
"version": "0.2.3",
"author": "Fede91 (http://federicobagato.it/)",
"license": {
"type": "MIT"
Expand Down
26 changes: 4 additions & 22 deletions panel.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,9 @@
.prefUI-dialog{
top: 50%;
left: 50%;
margin-top: -250px;
margin-left: -200px;
}

#prefUI-header{
width:100%;
border-bottom:1px solid #e0e0e0;
}

#prefUI-dialog-title {
margin-left:10px;
}

/*
.prefUI-body{
width:600px;
}
/*
.ccext-warning{
width:100%;
background-color:#d0d0d0;
}*/

.prefUI-body div {
Expand All @@ -29,9 +12,8 @@
}

.prefUI-body form {
margin-top:20px;
width:100%;
height:300px;
min-height:300px;
}

.prefUI-body form input{
Expand All @@ -40,10 +22,10 @@
}

.prefUI-body form label{
width: 30%;
width: 25%;
text-align: right;
float: left;
margin-left: 50px;
margin-left: 20px;
}

.no-magin{
Expand Down
12 changes: 6 additions & 6 deletions panel.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="modal prefUI-dialog">
<div id="prefUI-header">
<h1 id="prefUI-dialog-title" class="dialog-title">{{TITLE_PREFERENCES}}</h1>
<div class="about-dialog modal">
<div class="modal-header">
<h1 id="prefUI-header" class="dialog-title">{{TITLE_PREFERENCES}}</h1>
</div>
<div class="modal-body no-padding zebra-striped prefUI-body">
<div class="modal-body prefUI-body">
<form>
<!--
jslint.options: (default undefined) An object with the default options for JSLint (see the JSLint reference for a list of these options). Options specified directly within a JS file will override this preference on a per-option basis (not automically).
Expand Down Expand Up @@ -89,8 +89,8 @@ <h1 id="prefUI-dialog-title" class="dialog-title">{{TITLE_PREFERENCES}}</h1>
</div>
</form>
</div>
<div class="modal-footer">
<button id="prefUISubmit" class="btn dialog-button primary">{{BTT_SAVE}}</button>
<div class="modal-footer">
<button id="prefUISubmit" class="btn dialog-button primary">{{BTT_SAVE}}</button>
<button class="dialog-button btn left" data-button-id="close">{{BTT_CANC}}</button>
</div>
</div>

0 comments on commit b7e2a9e

Please sign in to comment.