Add project files.
@@ -0,0 +1,141 @@
|
||||
/*
|
||||
Sarand Core Projects
|
||||
Base css styling
|
||||
From a www.sarand.com original.
|
||||
*/
|
||||
body{margin:0;padding:0;font-family:Verdana,Arial;font-size:9pt;background-color:#F8F8F8;overflow:auto;}
|
||||
div, button, input, select, textarea, table, tr, td {font-family:inherit;font-size:1em;}
|
||||
|
||||
/* --- Common styles --- */
|
||||
h1,h2,h3{color:#0000B0;}
|
||||
h1{font-size:14px;font-weight:bold;margin:6px 0 6px 0;padding:0;}
|
||||
h2{font-size:12px;font-weight:bold;margin:3px 0 6px 0;padding:0;}
|
||||
h3{font-size:11px;font-weight:bold;margin:3px 0 6px 0;padding:0;}
|
||||
div,form{margin:0;padding:0;}
|
||||
p{margin:3px 0 6px 0;}
|
||||
hr{height:4px;width:90%;text-align:center;color:#000;margin:4px auto;}
|
||||
a{font-size:1em;}
|
||||
img{border-style:none;}
|
||||
ul{margin:3px 0 6px 0;}
|
||||
table{margin:0;border-collapse:separate;border-spacing:2px;border-width:0;empty-cells:inherit;}
|
||||
th,td{vertical-align:top;padding:0;}
|
||||
label{margin:0;}
|
||||
input{margin:0;padding:0 2px 1px 2px;}
|
||||
textarea{resize:none;}
|
||||
.bold,b{font-weight:bold !important;}
|
||||
.ul,u{text-decoration:underline !important;}
|
||||
.italic,i{font-style:italic !important;}
|
||||
.upper{text-transform:uppercase !important;}
|
||||
.lower{text-transform:lowercase !important;}
|
||||
.center{text-align:center !important;}
|
||||
.right{text-align:right !important;}
|
||||
.middle{vertical-align:middle !important;}
|
||||
.bottom{vertical-align:bottom !important;}
|
||||
.pointer{cursor:pointer;}
|
||||
.action{cursor:pointer;}
|
||||
.action:hover {text-decoration:underline}
|
||||
td.action{text-align:center;}
|
||||
.fullwidth{width:100%;}
|
||||
.floatl,.floatleft{float:left;}
|
||||
.floatr,.floatright{float:right;}
|
||||
.clearl,.clearleft{clear:left;}
|
||||
.clearr,.clearright{clear:right;}
|
||||
.clearb,.clearboth{clear:both;margin:0;padding:0;width:0;height:0;line-height:0.0em;font-size:0;}
|
||||
.clear-after:after
|
||||
{
|
||||
visibility:hidden;
|
||||
display:block;
|
||||
font-size:0;
|
||||
content:" ";
|
||||
clear:both;
|
||||
height:0;
|
||||
}
|
||||
.nowrap{white-space:nowrap !important;}
|
||||
.spacer{height:4px;font-size:2px;}
|
||||
.spacer2{height:8px;font-size:2px;}
|
||||
.spacer4{height:16px;font-size:2px;}
|
||||
.pt2{padding-top:2px !important;}.pt4{padding-top:4px !important;}.pt8{padding-top:8px !important;}
|
||||
.pb2{padding-bottom:2px !important;}.pb4{padding-bottom:4px !important;}.pb8{padding-bottom:8px !important;}
|
||||
.pl2{padding-left:2px !important;}.pl4{padding-left:4px !important;}.pl8{padding-left:8px !important;}
|
||||
.pr2{padding-right:2px !important;}.pr4{padding-right:4px !important;}.pr8{padding-right:8px !important;}
|
||||
.lastTabSeq{z-index:99;}
|
||||
.hidden{visibility:hidden;}
|
||||
.shadow
|
||||
{
|
||||
-moz-box-shadow:2px 2px 3px #ccc;
|
||||
-webkit-box-shadow:2px 2px 3px #ccc;
|
||||
box-shadow:2px 2px 3px #ccc; /* For IE 8 */
|
||||
-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Strength=3,Direction=135,Color='#cccccc')"; /* For IE 5.5 - 7 */
|
||||
filter:progid:DXImageTransform.Microsoft.Shadow(Strength=3,Direction=135,Color='#cccccc');
|
||||
}
|
||||
.slm-data-template{display:none;}
|
||||
|
||||
/* --- Message panel --- */
|
||||
div.msg{margin-bottom:4px;padding:4px;border:1px solid #C0C0C0;border-radius:4px;}
|
||||
div.msg.inf{color:darkgreen;}
|
||||
div.msg.wrn{color:darkorange;}
|
||||
div.msg.err{color:darkred;}
|
||||
|
||||
/* --- Data tables --- */
|
||||
.label {
|
||||
color: #606060;
|
||||
font-weight: bold;
|
||||
}
|
||||
td.label{padding-left:4px;padding-right:8px;text-align:right;}
|
||||
.value{}
|
||||
td.value{padding-right:8px;}
|
||||
|
||||
/* --- JQUI Dialog --- */
|
||||
.dialog { display:none; }
|
||||
.ui-widget-overlay {opacity:0.25;}
|
||||
.ui-widget, .ui-widget input, .ui-widget textarea { font-family:inherit; }
|
||||
div.ui-dialog .ui-dialog-title { margin:0; }
|
||||
.dialog input[type="text"] { width:80%; }
|
||||
.dialog input[type="file"] { width:96%; }
|
||||
div.ui-dialog.no-close .ui-dialog-titlebar-close { display: none; }
|
||||
div.ui-dialog.ui-widget.ui-widget-content
|
||||
{
|
||||
border-width:1px;
|
||||
border-color:#808080;
|
||||
-moz-box-shadow:4px 4px 6px #888;
|
||||
-webkit-box-shadow:4px 4px 6px #888;
|
||||
box-shadow:4px 4px 6px #888;
|
||||
-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Strength=6,Direction=165,Color='#888888')";
|
||||
filter:progid:DXImageTransform.Microsoft.Shadow(Strength=6,Direction=165,Color='#888888');
|
||||
}
|
||||
div.ui-dialog .ui-widget-header
|
||||
{
|
||||
color:#404040;
|
||||
background-color:rgba(247, 217, 0, 0.7);
|
||||
background-image:none;
|
||||
border:1px solid #C0C0C0;
|
||||
}
|
||||
div.ui-dialog.center-buttons .ui-dialog-buttonpane .ui-dialog-buttonset
|
||||
{
|
||||
float:none;
|
||||
margin:0 auto;
|
||||
display:table;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane { padding:4px; }
|
||||
.ui-dialog .ui-dialog-buttonpane button
|
||||
{
|
||||
min-width:80px;
|
||||
margin:2px;
|
||||
padding-top:2px;
|
||||
padding-bottom:4px;
|
||||
}
|
||||
.ui-widget-content a { color:#337ab7;}
|
||||
.ui-dialog .ui-dialog-content input[type="text"],
|
||||
.ui-dialog .ui-dialog-content input[type="password"],
|
||||
.ui-dialog .ui-dialog-content textarea,
|
||||
.ui-dialog .ui-dialog-content select
|
||||
{
|
||||
width:96%;
|
||||
border:1px solid #808080;
|
||||
}
|
||||
.ui-dialog .ui-dialog-content .ui-selectmenu-button
|
||||
{
|
||||
border:1px solid #808080;
|
||||
}
|
||||
|
||||
/* --- The End --- */
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
Sarand LogisticsMgr
|
||||
Base Javascript
|
||||
From a www.sarand.com original.
|
||||
*/
|
||||
if (typeof sacs == 'undefined') sacs = {};
|
||||
|
||||
//-------------------------------------------------------------
|
||||
sacs.checkTextAreaMaxLength = function (ctrl, len)
|
||||
{
|
||||
if (ctrl == null || ctrl.value == null) return;
|
||||
if (ctrl.value.length > len) ctrl.value = ctrl.value.substring(0, len);
|
||||
}
|
||||
sacs.isDef = function (obj)
|
||||
{
|
||||
return (obj === null || typeof (obj) == "undefined") ? false : true;
|
||||
}
|
||||
sacs.isFn = function (fn)
|
||||
{
|
||||
return (fn != null && typeof (fn) == typeof (Function));
|
||||
}
|
||||
sacs.isNumeric = function (n)
|
||||
{
|
||||
return (!isNaN(parseFloat(n)) && isFinite(n));
|
||||
}
|
||||
sacs.zeroPad = function (num, count)
|
||||
{
|
||||
var val = num + '';
|
||||
while (val.length < count) val = "0" + val;
|
||||
return val;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 953 B |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 536 B |
|
After Width: | Height: | Size: 906 B |
|
After Width: | Height: | Size: 598 B |
|
After Width: | Height: | Size: 415 B |
|
After Width: | Height: | Size: 610 B |
|
After Width: | Height: | Size: 570 B |
|
After Width: | Height: | Size: 909 B |
|
After Width: | Height: | Size: 420 B |
|
After Width: | Height: | Size: 613 B |
|
After Width: | Height: | Size: 573 B |
|
After Width: | Height: | Size: 919 B |
|
After Width: | Height: | Size: 857 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 285 B |
|
After Width: | Height: | Size: 359 B |
|
After Width: | Height: | Size: 438 B |
|
After Width: | Height: | Size: 627 B |