Skip to content

Commit

Permalink
UI fixes:
Browse files Browse the repository at this point in the history
related with issue:
#36 #58 #52 #53 #54 #55 #56
  • Loading branch information
lucernae committed May 16, 2016
1 parent bfb90e1 commit 1731387
Show file tree
Hide file tree
Showing 24 changed files with 3,896 additions and 100 deletions.
62 changes: 62 additions & 0 deletions geonode/static/geosafe/css/jquery.dynatable.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/*
* jQuery Dynatable plugin 0.3.1
*
* Copyright (c) 2014 Steve Schwartz (JangoSteve)
*
* Dual licensed under the AGPL and Proprietary licenses:
* http://www.dynatable.com/license/
*
* Date: Tue Jan 02 2014
*/

.dynatable-search {
float: right;
margin-bottom: 10px;
}

.dynatable-pagination-links {
float: right;
}

.dynatable-record-count {
display: block;
padding: 5px 0;
}

.dynatable-pagination-links span,
.dynatable-pagination-links li {
display: inline-block;
}

.dynatable-page-link,
.dynatable-page-break {
display: block;
padding: 5px 7px;
}

.dynatable-page-link {
cursor: pointer;
}

.dynatable-active-page,
.dynatable-disabled-page {
cursor: text;
}
.dynatable-active-page:hover,
.dynatable-disabled-page:hover {
text-decoration: none;
}

.dynatable-active-page {
background: #71AF5A;
border-radius: 5px;
color: #fff;
}
.dynatable-active-page:hover {
color: #fff;
}
.dynatable-disabled-page,
.dynatable-disabled-page:hover {
background: none;
color: #999;
}
49 changes: 49 additions & 0 deletions geonode/static/geosafe/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*
On Off Switch
*/
.onoffswitch {
position: relative; width: 90px;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
display: none;
}
.onoffswitch-label {
display: block; overflow: hidden; cursor: pointer;
border: 2px solid #999999; border-radius: 20px;
margin-right: 0px;
}
.onoffswitch-inner {
display: block; width: 200%; margin-left: -100%;
transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
box-sizing: border-box;
}
.onoffswitch-inner:before {
content: "ON";
padding-left: 10px;
background-color: #50cf5c; color: #FFFFFF;
}
.onoffswitch-inner:after {
content: "OFF";
padding-right: 10px;
background-color: #EEEEEE; color: #999999;
text-align: right;
}
.onoffswitch-switch {
display: block; width: 18px; margin: 8px; height: 18px;
background: #FFFFFF;
position: absolute; top: 0; bottom: 0;
right: 56px;
border: 2px solid #999999; border-radius: 20px;
transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
right: 0px;
}
8 changes: 3 additions & 5 deletions geonode/static/geosafe/img/impact.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions geonode/static/geosafe/img/impact_function.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added geonode/static/geosafe/img/inasafe-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1731387

Please sign in to comment.