Skip to content

Commit

Permalink
Modal dialogs have some transparency, less margins and whitespace (ad…
Browse files Browse the repository at this point in the history
…dresses point 2 of issue evewspace#239)
  • Loading branch information
proycon committed Oct 14, 2016
1 parent 9db9387 commit 1d8bd59
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 14 deletions.
1 change: 0 additions & 1 deletion evewspace/Map/templates/edit_system.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ <h4>Occupied: </h4>
<label for="sysTypeRegular"><input type="radio" id="sysTypeRegular" class="editWormholeInput" name="importance" value="0" {% if mapsys.system.importance == 0 %} checked="checked" {% endif %}> Regular System </label>&nbsp;
<label for="sysTypeDangerous"><input type="radio" id="sysTypeDangerous" class="editWormholeInput" name="importance" value="1" {% if mapsys.system.importance == 1 %} checked="checked" {% endif %}> Dangerous System </label>&nbsp;
<label for="sysTypeImportant"><input type="radio" id="sysTypeImportant" class="editWormholeInput" name="importance" value="2" {% if mapsys.system.importance == 2 %} checked="checked" {% endif %}> Important System </label>
<br />
<input type="submit" style="display: none;">
</form>
</div>
Expand Down
12 changes: 6 additions & 6 deletions evewspace/Map/templates/edit_wormhole.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ <h4>Edit Wormhole Status</h4>
<label for="massStatusReduced"><input id="massStatusReduced" type="radio" class="editWormholeInput" name="massStatus" value="1" {% if wormhole.mass_status == 1 %} checked="checked" {% endif %}> First Shrink</label> <br />
<label for="massStatusCritical"><input id="massStatusCritical" type="radio" class="editWormholeInput" name="massStatus" value="2" {% if wormhole.mass_status == 2 %} checked="checked" {% endif %}> Critical</label>
</div>
<div style="padding-top: 30px" class="col-md-6 input-margin">
<h4>Wormhole in: {{wormhole.top.system.name}}</h4>
<div class="col-md-6 input-margin">
Wormhole in {{wormhole.top.system.name}}{% if mapsys.friendlyname %} <span class="friendlyname">({{ mapsys.friendlyname }})</span>{% endif %}:
</div>
<div style="padding-top: 30px" class="col-md-6 input-margin">
<div class="col-md-6 input-margin">
Type: &nbsp;
<input type="text" id="topType" class="editWormholeInput wormholeAuto input-sm form-control" name="topType" value="{{wormhole.top_type.name}}">
<br />
Bubbled: &nbsp; <input type="radio" class="editWormholeInput" name="topBubbled" value="0" {% if not wormhole.top_bubbled %} checked="checked" {% endif %}> No &nbsp;
<input type="radio" class="editWormholeInput" name="topBubbled" value="1" {% if wormhole.top_bubbled %} checked="checked" {% endif %}> Yes
</div>
<div style="padding-top: 30px" class="col-md-6 input-margin">
<h4>Wormhole in: {{wormhole.bottom.system.name}}</h4>
<div class="col-md-6 input-margin">
Wormhole in {{wormhole.bottom.system.name}}{% if mapsys.friendlyname %} <span class="friendlyname">({{ mapsys.friendlyname }})</span>{% endif %}:
</div>
<div style="padding-top: 30px" class="col-md-6 input-margin">
<div class="col-md-6 input-margin">
Type: &nbsp;
<input type="text" id="bottomType" class="editWormholeInput wormholeAuto input-sm form-control" name="bottomType" value="{{wormhole.bottom_type.name}}">
<br />
Expand Down
4 changes: 2 additions & 2 deletions evewspace/core/static/bootstrap/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ th {
}
@font-face {
font-family: 'Glyphicons Halflings';
src: url('.../fonts/glyphicons-halflings-regular.eot');
src: url('.../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
src: url('http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.eot');
src: url('http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.woff') format('woff'), url('http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion evewspace/core/static/bootstrap/css/bootstrap.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ h2,h3{page-break-after:avoid}
}
.img-thumbnail,body{background-color:#222}
.btn,.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active,.btn.active,.btn:active,.form-control,.navbar-toggle,.open>.dropdown-toggle.btn-danger,.open>.dropdown-toggle.btn-default,.open>.dropdown-toggle.btn-info,.open>.dropdown-toggle.btn-primary,.open>.dropdown-toggle.btn-success,.open>.dropdown-toggle.btn-warning{background-image:none}
@font-face{font-family:'Glyphicons Halflings';src:url(.../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}
@font-face{font-family:'Glyphicons Halflings';src:url(http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.eot);src:url(http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.woff) format('woff'),url(http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}
.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.glyphicon-asterisk:before{content:"\2a"}
.glyphicon-plus:before{content:"\2b"}
Expand Down
4 changes: 2 additions & 2 deletions evewspace/core/static/bootstrap/css/template.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
//
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.

//** Loa../fonts from this directory.
@icon-font-path: "../fonts/";
//** Load fonts from this directory.
@icon-font-path: "../fonts/"; //"http://bootstrap-live-customizer.com/bootstrap-3.3.5/fonts/";
//** File name for all font files.
@icon-font-name: "glyphicons-halflings-regular";
//** Element ID within SVG icon file.
Expand Down
19 changes: 17 additions & 2 deletions evewspace/core/static/css/base.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.draggable-response-container {
background-color: #464545;
background-color: rgba(70,69,69,0.9);
border: 1px solid #fff;
border-radius: 5px;
position: absolute;
Expand Down Expand Up @@ -39,4 +39,19 @@
.center_text
{
text-align:center;
}
}


/**
* override some things from bootstrap.css
*/

.modal-header {
padding-top: 1px;
padding-bottom: 1px;
}

.modal-body {
padding-top: 1px;
padding-bottom: 1px;
}

0 comments on commit 1d8bd59

Please sign in to comment.