Put back form submit buttons (#328)

Add custom style for jquery autocomplete widgets (#116)
This commit is contained in:
jekkos
2016-03-14 23:00:04 +01:00
parent 5e97358e90
commit 64c7eb28b3
7 changed files with 60 additions and 12 deletions

View File

@@ -19,6 +19,7 @@
<!-- endbower -->
<!-- start css template tags -->
<link rel="stylesheet" type="text/css" href="css/barcode_font.css"/>
<link rel="stylesheet" type="text/css" href="css/bootstrap.autocomplete.css"/>
<link rel="stylesheet" type="text/css" href="css/general.css"/>
<link rel="stylesheet" type="text/css" href="css/invoice.css"/>
<link rel="stylesheet" type="text/css" href="css/ospos.css"/>
@@ -64,11 +65,11 @@
<!-- start mincss template tags -->
<link rel="stylesheet" type="text/css" href="dist/bootstrap.min.css?rel=9ed20b1ee8"/>
<link rel="stylesheet" type="text/css" href="dist/jquery-ui.css"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=97b1bb8280"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=bb5544348c"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos_bower.css"/>
<!-- end mincss template tags -->
<!-- start minjs template tags -->
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=bea183fdb7" language="javascript"></script>
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=2758e714d6" language="javascript"></script>
<!-- end minjs template tags -->
<?php endif; ?>

47
css/bootstrap.autocomplete.css vendored Normal file
View File

@@ -0,0 +1,47 @@
.ui-autocomplete {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
float: left;
display: none;
min-width: 160px;
_width: 160px;
padding: 4px 0;
margin: 2px 0 0 0;
list-style: none;
background-color: #ffffff;
border-color: #ccc;
border-color: rgba(0, 0, 0, 0.2);
border-style: solid;
border-width: 1px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
*border-right-width: 2px;
*border-bottom-width: 2px;
}
.ui-autocomplete .ui-menu-item > a.ui-corner-all {
display: block;
padding: 3px 15px;
clear: both;
font-weight: normal;
line-height: 18px;
color: #555555;
white-space: nowrap;
}
.ui-autocomplete .ui-menu-item > a.ui-corner-all.ui-state-hover, .ui-autocomplete .ui-menu-item > a.ui-corner-all.ui-state-active {
color: #ffffff;
text-decoration: none;
background-color: #0088cc;
border-radius: 0px;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
background-image: none;
}

View File

@@ -51429,14 +51429,14 @@ dialog_support = (function() {
BootstrapDialog.show({
cssClass: dialog_class,
title: $link.attr('title'),
buttons: buttons,
message: (function() {
var node = $('<div></div>');
$.get($link.attr('href'), function(data) {
node.html(data);
});
return node;
}),
button: buttons
})
});
event.preventDefault();

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

View File

@@ -469,14 +469,14 @@ dialog_support = (function() {
BootstrapDialog.show({
cssClass: dialog_class,
title: $link.attr('title'),
buttons: buttons,
message: (function() {
var node = $('<div></div>');
$.get($link.attr('href'), function(data) {
node.html(data);
});
return node;
}),
button: buttons
})
});
event.preventDefault();

View File

@@ -65,11 +65,11 @@
<![endif]-->
<link rel="stylesheet" type="text/css" href="templates/spacelab/css/bootstrap.min.css?rel=9ed20b1ee8"/>
<!-- start mincss template tags -->
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=97b1bb8280"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=bb5544348c"/>
<!-- end mincss template tags -->
<link rel="stylesheet" type="text/css" href="templates/spacelab/css/style.css"/>
<!-- start minjs template tags -->
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=bea183fdb7" language="javascript"></script>
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=2758e714d6" language="javascript"></script>
<!-- end minjs template tags -->
<?php endif; ?>