Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelGauthier committed Jul 18, 2019
1 parent 49b9449 commit 868148a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
29 changes: 29 additions & 0 deletions builder/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,9 @@ button.btn-save.saving span.saving{
line-height: 22px;
display: none;
}
.method.missingParameters{
animation: pulse 1.5s forwards;
}
.missingParameters .requiredParameters{
display: block !important;
}
Expand Down Expand Up @@ -1152,6 +1155,32 @@ ul.list-unstyled > li.active .edit-method:after{
0% {color: #222D32;}
100% {color: #646464;}
}
@keyframes pulse {
0% {
-moz-box-shadow: 0 0 0 0 rgba(199, 218, 252, .9);
box-shadow: 0 0 0 0 rgba(199, 218, 252, .9);
}
70% {
-moz-box-shadow: 0 0 4px 6px rgba(199, 218, 252, 0);
box-shadow: 0 0 4px 6px rgba(199, 218, 252, 0);
}
100% {
-moz-box-shadow: 0 0 0 0 rgba(199, 218, 252, 0);
box-shadow: 0 0 0 0 rgba(199, 218, 252, 0);
}
}
@-webkit-keyframes pulse {
0% {
-webkit-box-shadow: 0 0 0 0 rgba(199, 218, 252, .9);
}
70% {
-webkit-box-shadow: 0 0 4px 6px rgba(199, 218, 252, 0);
}
100% {
-webkit-box-shadow: 0 0 0 0 rgba(199, 218, 252, 0);
}
}

.no-padding-right {
padding-right: 0px;
}
Expand Down
7 changes: 6 additions & 1 deletion builder/js/ncf.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,11 @@ $scope.onImportFileChange = function (fileEl) {
if ($scope.selectedTechnique) {
var call = toMethodCall(bundle);
$scope.selectedTechnique.method_calls.push(call);
$(function() {
var gmList = $('form.editForm');
var height = gmList[0].scrollHeight;
gmList.stop().animate( {scrollTop:height} , 400);
});
}
};

Expand Down Expand Up @@ -1424,4 +1429,4 @@ app.config(function($httpProvider,$locationProvider) {
$httpProvider.defaults.headers.get['Expires'] = 'Thu, 01 Jan 1970 12:00:00 GMT';
//Allows the browser to indicate to the cache to retrieve the GET request content from the original server rather than sending one he must keep.
$httpProvider.defaults.headers.get['Pragma'] = 'no-cache';
});
});

0 comments on commit 868148a

Please sign in to comment.