Skip to content

Commit

Permalink
Merge pull request #48 from ottemo/revert-46-poddubny-image-croper-re…
Browse files Browse the repository at this point in the history
…sizer-bug-fixing

Revert "bug fixing"
  • Loading branch information
maazghani committed Dec 3, 2014
2 parents 97a6732 + 5866ebd commit cb1e45f
Show file tree
Hide file tree
Showing 13 changed files with 223 additions and 33 deletions.
5 changes: 1 addition & 4 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />



<link rel="stylesheet" href="themes/default/styles/cropper.css" />

<!--end bootstrap styles-->
<link ng-repeat="stylesheet in getCss()" ng-href="{{stylesheet}}" type="text/css" rel="stylesheet"/>

Expand Down Expand Up @@ -53,6 +49,7 @@
<script src="themes/default/scripts/jquery-migrate-1.2.1.min.js"></script>
<!--<script src="themes/default/scripts/bootstrap.min.js"></script>-->
<script src="themes/default/scripts/modernizr.min.js"></script>
<script src="themes/default/scripts/jquery.nicescroll.js"></script>

<!-- jQuery Flot Chart-->
<script src="themes/default/scripts/flot-chart/jquery.flot.js"></script>
Expand Down
Binary file modified app/themes/default/images/login/desktop-logo.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 added app/themes/default/images/login/mobile-logo.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 added app/themes/default/images/login/tablet-logo.png
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 app/themes/default/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
113 changes: 113 additions & 0 deletions app/themes/default/scripts/jquery.nicescroll.js

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion app/themes/default/scripts/scripts.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
(function ($) {
"use strict";


// custom scrollbar

$("html").niceScroll({styler: "fb", cursorcolor: "#65cea7", cursorwidth: '6', cursorborderradius: '0px', background: '#424f63', spacebarenabled: false, cursorborder: '0', zindex: '1000'});

$(".left-side").niceScroll({styler: "fb", cursorcolor: "#65cea7", cursorwidth: '3', cursorborderradius: '0px', background: '#424f63', spacebarenabled: false, cursorborder: '0'});


$(".left-side").getNiceScroll();
if ($('body').hasClass('left-side-collapsed')) {
$(".left-side").getNiceScroll().hide();
}


function mainContentHeightAdjust() {
// Adjust main content height
var docHeight = $(document).height();
Expand Down
83 changes: 82 additions & 1 deletion app/themes/default/styles/font-awesome.css
Original file line number Diff line number Diff line change
Expand Up @@ -1257,4 +1257,85 @@
content: "\f179";
}
.fa-windows:before {
con
content: "\f17a";
}
.fa-android:before {
content: "\f17b";
}
.fa-linux:before {
content: "\f17c";
}
.fa-dribbble:before {
content: "\f17d";
}
.fa-skype:before {
content: "\f17e";
}
.fa-foursquare:before {
content: "\f180";
}
.fa-trello:before {
content: "\f181";
}
.fa-female:before {
content: "\f182";
}
.fa-male:before {
content: "\f183";
}
.fa-gittip:before {
content: "\f184";
}
.fa-sun-o:before {
content: "\f185";
}
.fa-moon-o:before {
content: "\f186";
}
.fa-archive:before {
content: "\f187";
}
.fa-bug:before {
content: "\f188";
}
.fa-vk:before {
content: "\f189";
}
.fa-weibo:before {
content: "\f18a";
}
.fa-renren:before {
content: "\f18b";
}
.fa-pagelines:before {
content: "\f18c";
}
.fa-stack-exchange:before {
content: "\f18d";
}
.fa-arrow-circle-o-right:before {
content: "\f18e";
}
.fa-arrow-circle-o-left:before {
content: "\f190";
}
.fa-toggle-left:before,
.fa-caret-square-o-left:before {
content: "\f191";
}
.fa-dot-circle-o:before {
content: "\f192";
}
.fa-wheelchair:before {
content: "\f193";
}
.fa-vimeo-square:before {
content: "\f194";
}
.fa-turkish-lira:before,
.fa-try:before {
content: "\f195";
}
.fa-plus-square-o:before {
content: "\f196";
}
10 changes: 5 additions & 5 deletions app/themes/default/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,7 @@ ul {
.LoginWrapper .LoginLogo {
width: 540px;
height: 110px;
background: url("../images/login/desktop-logo.jpg") center center no-repeat;
background-size: auto 100%;
background: url("../images/login/desktop-logo.jpg") top left no-repeat;
margin-bottom: 30px; }
.LoginWrapper .LoginContainer {
background: #157ac1;
Expand All @@ -881,7 +880,7 @@ ul {
border: 0px;
margin-bottom: 40px;
font-size: 24px; }
.LoginWrapper .LoginContainer button:not(.close) {
.LoginWrapper .LoginContainer button {
height: 64px;
line-height: 64px;
width: 190px;
Expand All @@ -900,6 +899,7 @@ ul {
.LoginWrapper .LoginLogo {
width: 350px;
height: 70px;
background: url("../images/login/tablet-logo.png") top left no-repeat;
margin: 0 auto;
margin-bottom: 30px; }
.LoginWrapper .LoginLogo input {
Expand All @@ -920,7 +920,7 @@ ul {
height: 45px;
margin: 0 auto;
margin-bottom: 40px;
}
background: url("../images/login/mobile-logo.jpg") top left no-repeat; }
.LoginWrapper .LoginContainer {
padding: 30px;
width: 240px; }
Expand Down Expand Up @@ -1833,7 +1833,7 @@ ul {
}
.modal-dialog {
width: 50%;
min-width: 1200px;
min-width: 800px;
}
.modal-body {
padding: 0;
Expand Down
8 changes: 5 additions & 3 deletions app/themes/default/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ body {
font-family: 'Open Sans', sans-serif;
color: #7a7676;
line-height: 20px;
overflow-x: hidden;
font-size: 14px;
}

Expand Down Expand Up @@ -190,12 +191,12 @@ hr {
.sticky-left-side {
position: fixed;
height: 100%;
overflow-y: auto;
z-index: 100;
overflow-y:auto;
}

.left-side-collapsed .sticky-left-side {

overflow-y: visible;
}

.logo {
Expand All @@ -208,7 +209,7 @@ hr {
color: #fff;
margin: 0 0 0 20px;
text-decoration: none;
display: inline-block;89
display: inline-block;
}

.logo-icon {
Expand Down Expand Up @@ -898,6 +899,7 @@ h5.left-nav-title {
.main-content {
margin-left: 282px;
background: #eff0f4;
min-height: 1000px;
}

.page-heading {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

<div class="row">
<div class="col-md-4"></div>
<div class="col-md-3 ">
<div class="col-md-3">
<a href="" class="thumbnail">
<img ng-src="{{getImage(parent.selectedImage)}}" alt="selected image" class="img-thumbnail">
</a>
</div>
<div class="img-preview"></div>
<div class="col-md-4"></div>
</div>

Expand All @@ -34,5 +33,4 @@
Default
</button>
</div>

</div>
1 change: 0 additions & 1 deletion app/themes/default/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<add-css src="main.css"></add-css>



<!-- main content start-->
<section class="main-content">

Expand Down
17 changes: 2 additions & 15 deletions app/themes/default/views/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="LoginWrapper" ng-controller="loginLoginController">
<div class="LoginLogo"></div>
<div class="LoginContainer">
<gui-message-manager item="message"></gui-message-manager>

<form role="form" name="loginForm">
<label for="username">User Name or Email Address</label>
<input id="username" type="text" ng-model="loginCredentials.email" required auto-fill-sync/>
Expand All @@ -20,17 +20,4 @@

<div class="clear"></div>
</div>
</div>

<style>
.alert-warning {
background: white;
padding: 23px;
border-radius: 0;
margin-bottom: 40px;
}
.alert-warning > div {
font-size: 19px;
color: #767676;
}
</style>
</div>

0 comments on commit cb1e45f

Please sign in to comment.