基建视频
|
After Width: | Height: | Size: 902 B |
|
After Width: | Height: | Size: 739 B |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 957 B |
|
After Width: | Height: | Size: 815 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 649 B |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M896 128v288c0 19.2-12.8 32-32 32s-32-12.8-32-32V236.8L633.6 441.6c-6.4 6.4-19.2 6.4-25.6 6.4s-19.2 0-25.6-6.4c-6.4-12.8-6.4-38.4 0-51.2L787.2 192H608c-19.2 0-32-12.8-32-32s12.8-32 32-32H896zM441.6 582.4c-12.8-6.4-38.4-12.8-51.2 0L192 787.2V608c0-19.2-12.8-32-32-32s-32 12.8-32 32V896h288c19.2 0 32-12.8 32-32s-12.8-32-32-32H236.8l204.8-198.4c6.4-12.8 6.4-38.4 0-51.2zM448 160c0-19.2-12.8-32-32-32H128v288c0 19.2 12.8 32 32 32s32-12.8 32-32V236.8l198.4 198.4c6.4 12.8 19.2 12.8 25.6 12.8s19.2 0 25.6-6.4c6.4-12.8 6.4-38.4 0-51.2L236.8 192h179.2c19.2 0 32-12.8 32-32zM864 576c-19.2 0-32 12.8-32 32v179.2L633.6 588.8c-12.8-12.8-38.4-12.8-51.2 0-6.4 12.8-6.4 32 0 44.8l198.4 198.4H608c-19.2 0-32 12.8-32 32s12.8 32 32 32H896V608c0-19.2-12.8-32-32-32z" /></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 574 B |
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M627.479 283.894H451.324V137.536l-385.13 196.73 385.13 196.68V384.639H641.56c150.323 0 225.485 64.75 225.485 194.3 0 134.36-77.542 199.111-234.856 199.111H190.636v103.174h448.592c211.356 0 319.389-98.365 319.389-292.666 0-203.919-110.362-304.664-331.138-304.664z" /></svg>
|
||||
|
After Width: | Height: | Size: 554 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M234.24 489.813333a42.666667 42.666667 0 0 1-42.666667-42.666666V221.866667a42.666667 42.666667 0 0 1 42.666667-42.666667h224.853333a42.666667 42.666667 0 0 1 0 85.333333H276.906667v182.613334a42.666667 42.666667 0 0 1-42.666667 42.666666zM459.093333 883.626667H234.24a42.666667 42.666667 0 0 1-42.666667-42.666667v-225.28a42.666667 42.666667 0 0 1 85.333334 0v182.613333h182.186666a42.666667 42.666667 0 0 1 0 85.333334zM853.333333 883.626667h-225.28a42.666667 42.666667 0 1 1 0-85.333334H810.666667v-182.613333a42.666667 42.666667 0 0 1 85.333333 0v225.28a42.666667 42.666667 0 0 1-42.666667 42.666667zM853.333333 489.813333a42.666667 42.666667 0 0 1-42.666666-42.666666V264.533333h-182.613334a42.666667 42.666667 0 0 1 0-85.333333H853.333333a42.666667 42.666667 0 0 1 42.666667 42.666667v225.28a42.666667 42.666667 0 0 1-42.666667 42.666666zM388.693333 492.8m38.826667 0l232.106667 0q38.826667 0 38.826666 38.826667l0-0.426667q0 38.826667-38.826666 38.826667l-232.106667 0q-38.826667 0-38.826667-38.826667l0 0.426667q0-38.826667 38.826667-38.826667ZM505.173333 686.506667m0-38.826667l0-232.106667q0-38.826667 38.826667-38.826666l-0.426667 0q38.826667 0 38.826667 38.826666l0 232.106667q0 38.826667-38.826667 38.826667l0.426667 0q-38.826667 0-38.826667-38.826667Z" /></svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M919.920093 725.414549q3.014188 26.122962 7.033105 58.776664t7.53547 66.814498 7.53547 67.819227 7.033105 60.786122q6.028376 47.222277-41.193901 44.208089-25.118232-2.009459-56.767205-5.526011t-64.805039-7.53547-65.809769-8.037834-59.781393-7.033105q-29.137149-3.014188-37.174984-16.578033t9.042564-30.644243q11.052022-10.047293 27.127691-27.630056t27.127691-28.634785q11.052022-12.056752 7.033105-22.104044t-16.075669-23.108774q-28.13242-27.127691-51.241194-49.231735t-51.241194-51.241194q-6.028376-6.028376-12.056752-13.061481t-9.042564-15.573304-1.004729-18.085127 13.061481-20.59695q6.028376-6.028376 10.047293-10.549658t8.037834-8.037834 8.540199-8.037834 11.554387-12.559116q20.094586-20.094586 37.174984-17.080398t37.174984 23.108774 41.193901 40.691536 47.222277 46.719912q19.089857 18.085127 32.653702 25.118232t26.625326-6.028376q9.042564-9.042564 22.606409-21.60168t23.611138-22.606409q17.080398-17.080398 30.644243-13.061481t16.578033 30.141879zM43.79615 383.80659q-3.014188-26.122962-7.033105-58.776664t-7.53547-66.814498-7.53547-67.819227-7.033105-60.786122q-3.014188-26.122962 6.53074-36.170255t33.658431-8.037834q25.118232 2.009459 56.767205 5.526011t64.805039 7.53547 65.809769 8.037834 59.781393 7.033105q30.141879 3.014188 37.677348 16.578033t-9.544928 30.644243q-10.047293 10.047293-24.615868 26.122962t-25.620597 27.127691q-12.056752 12.056752-8.037834 22.104044t17.080398 23.108774q13.061481 14.06621 24.615868 24.615868t22.606409 21.099315 23.108774 22.606409l25.118232 25.118232q6.028376 6.028376 11.554387 14.06621t8.037834 17.080398-0.502365 19.089857-13.061481 20.094586l-11.052022 11.052022q-4.018917 4.018917-7.53547 8.037834t-8.540199 8.037834l-11.052022 12.056752q-20.094586 20.094586-34.663161 15.070939t-34.663161-25.118232-38.179713-37.677348-44.208089-43.705724q-18.085127-18.085127-32.151337-25.118232t-27.127691 6.028376q-9.042564 10.047293-25.118232 24.615868t-26.122962 24.615868q-17.080398 17.080398-30.141879 13.061481t-16.075669-30.141879zM905.853883 84.397261q26.122962-3.014188 36.170255 6.53074t8.037834 34.663161-5.526011 56.767205-7.53547 64.805039-8.037834 65.809769-7.033105 59.781393q-3.014188 29.137149-16.578033 37.174984t-30.644243-10.047293q-10.047293-10.047293-26.122962-24.615868t-27.127691-25.620597q-12.056752-11.052022-22.104044-7.53547t-23.108774 16.578033q-27.127691 27.127691-47.724641 49.231735t-48.729371 50.236465q-6.028376 6.028376-14.06621 11.554387t-17.080398 8.037834-19.089857-0.502365-20.094586-14.06621q-6.028376-6.028376-10.549658-10.047293t-8.540199-8.037834-8.540199-8.037834-11.554387-12.056752q-20.094586-20.094586-16.075669-35.165525t25.118232-35.165525l38.179713-40.189172q19.089857-20.094586 45.212818-46.217547 19.089857-18.085127 26.122962-32.151337t-7.033105-26.122962q-9.042564-9.042564-23.108774-24.615868t-24.113503-25.620597q-17.080398-17.080398-13.061481-30.141879t30.141879-16.075669 58.776664-7.033105 67.316863-7.53547 67.819227-7.53547 60.283758-7.033105zM350.238584 640.012559q6.028376 6.028376 10.549658 10.047293t8.540199 8.037834l8.037834 9.042564 12.056752 11.052022q20.094586 20.094586 17.582763 36.672619t-23.611138 37.677348q-19.089857 19.089857-40.189172 40.691536t-47.222277 47.724641q-18.085127 18.085127-22.606409 29.639514t8.540199 24.615868q10.047293 9.042564 22.606409 22.606409t22.606409 23.611138q17.080398 17.080398 12.559116 30.141879t-30.644243 16.075669-58.274299 7.033105-66.814498 8.037834-68.321592 8.037834-60.786122 7.033105q-25.118232 2.009459-35.66789-7.53547t-8.540199-33.658431q2.009459-25.118232 5.526011-56.767205t7.53547-64.805039 8.037834-65.809769 7.033105-59.781393q3.014188-30.141879 16.578033-37.677348t30.644243 9.544928q10.047293 10.047293 27.630056 26.122962t28.634785 27.127691q12.056752 12.056752 20.094586 10.549658t20.094586-14.568575q13.061481-13.061481 25.118232-25.620597t24.113503-24.615868 24.615868-25.118232 26.625326-27.127691q6.028376-6.028376 13.061481-12.056752t15.573304-9.042564 18.085127-0.502365 20.59695 13.563845z" /></svg>
|
||||
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M899.6 765.3c-20 0-198.6-43.6-382.8-43.6-184.1 0-374.4 39.4-387.5 43.6-49 15.4-79.6-45.4-58.7-69.9 16.8-19.6 358-379.9 387-413.5 33-48.9 98-12.7 98-12.8 21.2 24.2 370.8 402.5 394.5 431.1 17.4 21 18.1 65.1-50.5 65.1z" /></svg>
|
||||
|
After Width: | Height: | Size: 508 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M448 614.4v249.6c0 19.2-12.8 32-32 32s-32-12.8-32-32v-179.2l-198.4 198.4c-6.4 12.8-19.2 12.8-25.6 12.8s-19.2 0-25.6-6.4c-12.8-12.8-12.8-32 0-44.8L339.2 640H160c-19.2 0-32-12.8-32-32s12.8-32 32-32H448V614.4zM864 448c19.2 0 32-12.8 32-32s-12.8-32-32-32h-179.2l198.4-198.4c12.8-12.8 12.8-32 0-44.8s-32-12.8-44.8 0L640 339.2V160c0-19.2-12.8-32-32-32s-32 12.8-32 32V448h288z m32 160c0-19.2-12.8-32-32-32H576v288c0 19.2 12.8 32 32 32s32-12.8 32-32v-179.2l198.4 198.4c6.4 6.4 12.8 6.4 25.6 6.4s19.2 0 25.6-6.4c12.8-12.8 12.8-32 0-44.8L684.8 640h179.2c19.2 0 32-12.8 32-32zM416 128c-19.2 0-32 12.8-32 32v179.2L185.6 134.4c-12.8-6.4-38.4-6.4-51.2 0s-6.4 38.4 0 51.2L339.2 384H160c-19.2 0-32 12.8-32 32s12.8 32 32 32H448V160c0-19.2-12.8-32-32-32z" /></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M124.4 258.7c20 0 198.6 43.6 382.8 43.6 184.1 0 374.4-39.4 387.5-43.6 49-15.4 79.6 45.4 58.7 69.9-16.8 19.6-358 379.9-387 413.5-33 48.9-98 12.7-98 12.8-21.3-24.2-370.9-402.5-394.6-431.1-17.3-21-18-65.1 50.6-65.1z" /></svg>
|
||||
|
After Width: | Height: | Size: 505 B |
|
After Width: | Height: | Size: 4.7 KiB |
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M258.7 899.6c0-20 43.6-198.6 43.6-382.8 0-184.1-39.4-374.4-43.6-387.5-15.4-49 45.4-79.6 69.9-58.7 19.6 16.8 379.9 358 413.5 387 48.9 33 12.7 98 12.8 98-24.2 21.2-402.5 370.8-431.1 394.5-21 17.4-65.1 18.1-65.1-50.5z" /></svg>
|
||||
|
After Width: | Height: | Size: 507 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M191.573333 489.813333a42.666667 42.666667 0 0 1-42.666666-42.666666V221.866667a42.666667 42.666667 0 0 1 42.666666-42.666667h224.853334a42.666667 42.666667 0 0 1 0 85.333333H234.24v182.613334a42.666667 42.666667 0 0 1-42.666667 42.666666zM416.426667 883.626667H191.573333a42.666667 42.666667 0 0 1-42.666666-42.666667v-225.28a42.666667 42.666667 0 0 1 85.333333 0v182.613333h182.186667a42.666667 42.666667 0 0 1 0 85.333334zM810.666667 883.626667h-225.28a42.666667 42.666667 0 1 1 0-85.333334H768v-182.613333a42.666667 42.666667 0 0 1 85.333333 0v225.28a42.666667 42.666667 0 0 1-42.666666 42.666667zM810.666667 489.813333a42.666667 42.666667 0 0 1-42.666667-42.666666V264.533333h-182.613333a42.666667 42.666667 0 0 1 0-85.333333H810.666667a42.666667 42.666667 0 0 1 42.666666 42.666667v225.28a42.666667 42.666667 0 0 1-42.666666 42.666666zM346.026667 492.8m33.28 0l243.2 0q33.28 0 33.28 33.28l0 10.666667q0 33.28-33.28 33.28l-243.2 0q-33.28 0-33.28-33.28l0-10.666667q0-33.28 33.28-33.28Z" /></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#1296db" d="M765.3 124.4c0 20-43.6 198.6-43.6 382.8 0 184.1 39.4 374.4 43.6 387.5 15.4 49-45.4 79.6-69.9 58.7-19.6-16.8-379.9-358-413.5-387-48.9-33-12.7-98-12.8-98 24.2-21.2 402.5-370.8 431.1-394.5 21-17.4 65.1-18.1 65.1 50.5z" /></svg>
|
||||
|
After Width: | Height: | Size: 507 B |
|
|
@ -0,0 +1,77 @@
|
|||
(function (a, b) {
|
||||
if ("function" == typeof define && define.amd) define([], b); else if ("undefined" != typeof exports) b(); else {
|
||||
b(), a.FileSaver = {exports: {}}.exports
|
||||
}
|
||||
})(this, function () {
|
||||
"use strict";
|
||||
|
||||
function b(a, b) {
|
||||
return "undefined" == typeof b ? b = {autoBom: !1} : "object" != typeof b && (console.warn("Deprecated: Expected third argument to be a object"), b = {autoBom: !b}), b.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type) ? new Blob(["\uFEFF", a], {type: a.type}) : a
|
||||
}
|
||||
|
||||
function c(a, b, c) {
|
||||
var d = new XMLHttpRequest;
|
||||
d.open("GET", a), d.responseType = "blob", d.onload = function () {
|
||||
g(d.response, b, c)
|
||||
}, d.onerror = function () {
|
||||
console.error("could not download file")
|
||||
}, d.send()
|
||||
}
|
||||
|
||||
function d(a) {
|
||||
var b = new XMLHttpRequest;
|
||||
b.open("HEAD", a, !1);
|
||||
try {
|
||||
b.send()
|
||||
} catch (a) {
|
||||
}
|
||||
return 200 <= b.status && 299 >= b.status
|
||||
}
|
||||
|
||||
function e(a) {
|
||||
try {
|
||||
a.dispatchEvent(new MouseEvent("click"))
|
||||
} catch (c) {
|
||||
var b = document.createEvent("MouseEvents");
|
||||
b.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), a.dispatchEvent(b)
|
||||
}
|
||||
}
|
||||
|
||||
var f = "object" == typeof window && window.window === window ? window : "object" == typeof self && self.self === self ? self : "object" == typeof global && global.global === global ? global : void 0,
|
||||
a = f.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent),
|
||||
g = f.saveAs || ("object" != typeof window || window !== f ? function () {
|
||||
} : "download" in HTMLAnchorElement.prototype && !a ? function (b, g, h) {
|
||||
var i = f.URL || f.webkitURL, j = document.createElement("a");
|
||||
g = g || b.name || "download", j.download = g, j.rel = "noopener", "string" == typeof b ? (j.href = b, j.origin === location.origin ? e(j) : d(j.href) ? c(b, g, h) : e(j, j.target = "_blank")) : (j.href = i.createObjectURL(b), setTimeout(function () {
|
||||
i.revokeObjectURL(j.href)
|
||||
}, 4E4), setTimeout(function () {
|
||||
e(j)
|
||||
}, 0))
|
||||
} : "msSaveOrOpenBlob" in navigator ? function (f, g, h) {
|
||||
if (g = g || f.name || "download", "string" != typeof f) navigator.msSaveOrOpenBlob(b(f, h), g); else if (d(f)) c(f, g, h); else {
|
||||
var i = document.createElement("a");
|
||||
i.href = f, i.target = "_blank", setTimeout(function () {
|
||||
e(i)
|
||||
})
|
||||
}
|
||||
} : function (b, d, e, g) {
|
||||
if (g = g || open("", "_blank"), g && (g.document.title = g.document.body.innerText = "downloading..."), "string" == typeof b) return c(b, d, e);
|
||||
var h = "application/octet-stream" === b.type, i = /constructor/i.test(f.HTMLElement) || f.safari,
|
||||
j = /CriOS\/[\d]+/.test(navigator.userAgent);
|
||||
if ((j || h && i || a) && "undefined" != typeof FileReader) {
|
||||
var k = new FileReader;
|
||||
k.onloadend = function () {
|
||||
var a = k.result;
|
||||
a = j ? a : a.replace(/^data:[^;]*;/, "data:attachment/file;"), g ? g.location.href = a : location = a, g = null
|
||||
}, k.readAsDataURL(b)
|
||||
} else {
|
||||
var l = f.URL || f.webkitURL, m = l.createObjectURL(b);
|
||||
g ? g.location = m : location.href = m, g = null, setTimeout(function () {
|
||||
l.revokeObjectURL(m)
|
||||
}, 4E4)
|
||||
}
|
||||
});
|
||||
f.saveAs = g.saveAs = g, "undefined" != typeof module && (module.exports = g)
|
||||
});
|
||||
|
||||
//# sourceMappingURL=FileSaver.min.js.map
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
!function(t,n){"object"==typeof exports?module.exports=exports=n():"function"==typeof define&&define.amd?define([],n):t.CryptoJS=n()}(this,function(){var t=t||function(t,n){var i=Object.create||function(){function t(){}return function(n){var i;return t.prototype=n,i=new t,t.prototype=null,i}}(),e={},r=e.lib={},o=r.Base=function(){return{extend:function(t){var n=i(this);return t&&n.mixIn(t),n.hasOwnProperty("init")&&this.init!==n.init||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=r.WordArray=o.extend({init:function(t,i){t=this.words=t||[],i!=n?this.sigBytes=i:this.sigBytes=4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var n=this.words,i=t.words,e=this.sigBytes,r=t.sigBytes;if(this.clamp(),e%4)for(var o=0;o<r;o++){var s=i[o>>>2]>>>24-o%4*8&255;n[e+o>>>2]|=s<<24-(e+o)%4*8}else for(var o=0;o<r;o+=4)n[e+o>>>2]=i[o>>>2];return this.sigBytes+=r,this},clamp:function(){var n=this.words,i=this.sigBytes;n[i>>>2]&=4294967295<<32-i%4*8,n.length=t.ceil(i/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(n){for(var i,e=[],r=function(n){var n=n,i=987654321,e=4294967295;return function(){i=36969*(65535&i)+(i>>16)&e,n=18e3*(65535&n)+(n>>16)&e;var r=(i<<16)+n&e;return r/=4294967296,r+=.5,r*(t.random()>.5?1:-1)}},o=0;o<n;o+=4){var a=r(4294967296*(i||t.random()));i=987654071*a(),e.push(4294967296*a()|0)}return new s.init(e,n)}}),a=e.enc={},c=a.Hex={stringify:function(t){for(var n=t.words,i=t.sigBytes,e=[],r=0;r<i;r++){var o=n[r>>>2]>>>24-r%4*8&255;e.push((o>>>4).toString(16)),e.push((15&o).toString(16))}return e.join("")},parse:function(t){for(var n=t.length,i=[],e=0;e<n;e+=2)i[e>>>3]|=parseInt(t.substr(e,2),16)<<24-e%8*4;return new s.init(i,n/2)}},u=a.Latin1={stringify:function(t){for(var n=t.words,i=t.sigBytes,e=[],r=0;r<i;r++){var o=n[r>>>2]>>>24-r%4*8&255;e.push(String.fromCharCode(o))}return e.join("")},parse:function(t){for(var n=t.length,i=[],e=0;e<n;e++)i[e>>>2]|=(255&t.charCodeAt(e))<<24-e%4*8;return new s.init(i,n)}},f=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(u.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return u.parse(unescape(encodeURIComponent(t)))}},h=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=f.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(n){var i=this._data,e=i.words,r=i.sigBytes,o=this.blockSize,a=4*o,c=r/a;c=n?t.ceil(c):t.max((0|c)-this._minBufferSize,0);var u=c*o,f=t.min(4*u,r);if(u){for(var h=0;h<u;h+=o)this._doProcessBlock(e,h);var p=e.splice(0,u);i.sigBytes-=f}return new s.init(p,f)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),p=(r.Hasher=h.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var n=this._doFinalize();return n},blockSize:16,_createHelper:function(t){return function(n,i){return new t.init(i).finalize(n)}},_createHmacHelper:function(t){return function(n,i){return new p.HMAC.init(t,i).finalize(n)}}}),e.algo={});return e}(Math);return t});
|
||||
//# sourceMappingURL=core.min.js.map
|
||||
!function(e,t,i){"object"==typeof exports?module.exports=exports=t(require("./core.min"),require("./sha1.min"),require("./hmac.min")):"function"==typeof define&&define.amd?define(["./core.min","./sha1.min","./hmac.min"],t):t(e.CryptoJS)}(this,function(e){return function(){var t=e,i=t.lib,r=i.Base,n=i.WordArray,o=t.algo,a=o.MD5,c=o.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var i=this.cfg,r=i.hasher.create(),o=n.create(),a=o.words,c=i.keySize,f=i.iterations;a.length<c;){s&&r.update(s);var s=r.update(e).finalize(t);r.reset();for(var u=1;u<f;u++)s=r.finalize(s),r.reset();o.concat(s)}return o.sigBytes=4*c,o}});t.EvpKDF=function(e,t,i){return c.create(i).compute(e,t)}}(),e.EvpKDF});
|
||||
//# sourceMappingURL=evpkdf.min.js.map
|
||||
!function(r,e){"object"==typeof exports?module.exports=exports=e(require("./core.min")):"function"==typeof define&&define.amd?define(["./core.min"],e):e(r.CryptoJS)}(this,function(r){return function(){function e(r,e,t){for(var n=[],i=0,o=0;o<e;o++)if(o%4){var f=t[r.charCodeAt(o-1)]<<o%4*2,c=t[r.charCodeAt(o)]>>>6-o%4*2;n[i>>>2]|=(f|c)<<24-i%4*8,i++}return a.create(n,i)}var t=r,n=t.lib,a=n.WordArray,i=t.enc;i.Base64={stringify:function(r){var e=r.words,t=r.sigBytes,n=this._map;r.clamp();for(var a=[],i=0;i<t;i+=3)for(var o=e[i>>>2]>>>24-i%4*8&255,f=e[i+1>>>2]>>>24-(i+1)%4*8&255,c=e[i+2>>>2]>>>24-(i+2)%4*8&255,s=o<<16|f<<8|c,h=0;h<4&&i+.75*h<t;h++)a.push(n.charAt(s>>>6*(3-h)&63));var p=n.charAt(64);if(p)for(;a.length%4;)a.push(p);return a.join("")},parse:function(r){var t=r.length,n=this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var i=0;i<n.length;i++)a[n.charCodeAt(i)]=i}var o=n.charAt(64);if(o){var f=r.indexOf(o);f!==-1&&(t=f)}return e(r,t,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64});
|
||||
//# sourceMappingURL=enc-base64.min.js.map
|
||||
!function(e,t,r){"object"==typeof exports?module.exports=exports=t(require("./core.min"),require("./evpkdf.min")):"function"==typeof define&&define.amd?define(["./core.min","./evpkdf.min"],t):t(e.CryptoJS)}(this,function(e){e.lib.Cipher||function(t){var r=e,i=r.lib,n=i.Base,c=i.WordArray,o=i.BufferedBlockAlgorithm,s=r.enc,a=(s.Utf8,s.Base64),f=r.algo,p=f.EvpKDF,d=i.Cipher=o.extend({cfg:n.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?B:x}return function(t){return{encrypt:function(r,i,n){return e(i).encrypt(t,r,i,n)},decrypt:function(r,i,n){return e(i).decrypt(t,r,i,n)}}}}()}),h=(i.StreamCipher=d.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),r.mode={}),u=i.BlockCipherMode=n.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),l=h.CBC=function(){function e(e,r,i){var n=this._iv;if(n){var c=n;this._iv=t}else var c=this._prevBlock;for(var o=0;o<i;o++)e[r+o]^=c[o]}var r=u.extend();return r.Encryptor=r.extend({processBlock:function(t,r){var i=this._cipher,n=i.blockSize;e.call(this,t,r,n),i.encryptBlock(t,r),this._prevBlock=t.slice(r,r+n)}}),r.Decryptor=r.extend({processBlock:function(t,r){var i=this._cipher,n=i.blockSize,c=t.slice(r,r+n);i.decryptBlock(t,r),e.call(this,t,r,n),this._prevBlock=c}}),r}(),_=r.pad={},v=_.Pkcs7={pad:function(e,t){for(var r=4*t,i=r-e.sigBytes%r,n=i<<24|i<<16|i<<8|i,o=[],s=0;s<i;s+=4)o.push(n);var a=c.create(o,i);e.concat(a)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},y=(i.BlockCipher=d.extend({cfg:d.cfg.extend({mode:l,padding:v}),reset:function(){d.reset.call(this);var e=this.cfg,t=e.iv,r=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=r.createEncryptor;else{var i=r.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==i?this._mode.init(this,t&&t.words):(this._mode=i.call(r,this,t&&t.words),this._mode.__creator=i)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else{var t=this._process(!0);e.unpad(t)}return t},blockSize:4}),i.CipherParams=n.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),m=r.format={},k=m.OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;if(r)var i=c.create([1398893684,1701076831]).concat(r).concat(t);else var i=t;return i.toString(a)},parse:function(e){var t=a.parse(e),r=t.words;if(1398893684==r[0]&&1701076831==r[1]){var i=c.create(r.slice(2,4));r.splice(0,4),t.sigBytes-=16}return y.create({ciphertext:t,salt:i})}},x=i.SerializableCipher=n.extend({cfg:n.extend({format:k}),encrypt:function(e,t,r,i){i=this.cfg.extend(i);var n=e.createEncryptor(r,i),c=n.finalize(t),o=n.cfg;return y.create({ciphertext:c,key:r,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,r,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var n=e.createDecryptor(r,i).finalize(t.ciphertext);return n},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),g=r.kdf={},S=g.OpenSSL={execute:function(e,t,r,i){i||(i=c.random(8));var n=p.create({keySize:t+r}).compute(e,i),o=c.create(n.words.slice(t),4*r);return n.sigBytes=4*t,y.create({key:n,iv:o,salt:i})}},B=i.PasswordBasedCipher=x.extend({cfg:x.cfg.extend({kdf:S}),encrypt:function(e,t,r,i){i=this.cfg.extend(i);var n=i.kdf.execute(r,e.keySize,e.ivSize);i.iv=n.iv;var c=x.encrypt.call(this,e,t,n.key,i);return c.mixIn(n),c},decrypt:function(e,t,r,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var n=i.kdf.execute(r,e.keySize,e.ivSize,t.salt);i.iv=n.iv;var c=x.decrypt.call(this,e,t,n.key,i);return c}})}()});
|
||||
//# sourceMappingURL=cipher-core.min.js.map
|
||||
!function(e,i){"object"==typeof exports?module.exports=exports=i(require("./core.min")):"function"==typeof define&&define.amd?define(["./core.min"],i):i(e.CryptoJS)}(this,function(e){!function(){var i=e,t=i.lib,n=t.Base,s=i.enc,r=s.Utf8,o=i.algo;o.HMAC=n.extend({init:function(e,i){e=this._hasher=new e.init,"string"==typeof i&&(i=r.parse(i));var t=e.blockSize,n=4*t;i.sigBytes>n&&(i=e.finalize(i)),i.clamp();for(var s=this._oKey=i.clone(),o=this._iKey=i.clone(),a=s.words,f=o.words,c=0;c<t;c++)a[c]^=1549556828,f[c]^=909522486;s.sigBytes=o.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var i=this._hasher,t=i.finalize(e);i.reset();var n=i.finalize(this._oKey.clone().concat(t));return n}})}()});
|
||||
//# sourceMappingURL=hmac.min.js.map
|
||||
!function(e,o,r){"object"==typeof exports?module.exports=exports=o(require("./core.min"),require("./cipher-core.min")):"function"==typeof define&&define.amd?define(["./core.min","./cipher-core.min"],o):o(e.CryptoJS)}(this,function(e){return e.mode.ECB=function(){var o=e.lib.BlockCipherMode.extend();return o.Encryptor=o.extend({processBlock:function(e,o){this._cipher.encryptBlock(e,o)}}),o.Decryptor=o.extend({processBlock:function(e,o){this._cipher.decryptBlock(e,o)}}),o}(),e.mode.ECB});
|
||||
//# sourceMappingURL=mode-ecb.min.js.map
|
||||
!function(e,r,i){"object"==typeof exports?module.exports=exports=r(require("./core.min"),require("./cipher-core.min")):"function"==typeof define&&define.amd?define(["./core.min","./cipher-core.min"],r):r(e.CryptoJS)}(this,function(e){return e.pad.Pkcs7});
|
||||
//# sourceMappingURL=pad-pkcs7.min.js.map
|
||||
!function(e,r,i){"object"==typeof exports?module.exports=exports=r(require("./core.min"),require("./enc-base64.min"),require("./md5.min"),require("./evpkdf.min"),require("./cipher-core.min")):"function"==typeof define&&define.amd?define(["./core.min","./enc-base64.min","./md5.min","./evpkdf.min","./cipher-core.min"],r):r(e.CryptoJS)}(this,function(e){return function(){var r=e,i=r.lib,n=i.BlockCipher,o=r.algo,t=[],c=[],s=[],f=[],a=[],d=[],u=[],v=[],h=[],y=[];!function(){for(var e=[],r=0;r<256;r++)r<128?e[r]=r<<1:e[r]=r<<1^283;for(var i=0,n=0,r=0;r<256;r++){var o=n^n<<1^n<<2^n<<3^n<<4;o=o>>>8^255&o^99,t[i]=o,c[o]=i;var p=e[i],l=e[p],_=e[l],k=257*e[o]^16843008*o;s[i]=k<<24|k>>>8,f[i]=k<<16|k>>>16,a[i]=k<<8|k>>>24,d[i]=k;var k=16843009*_^65537*l^257*p^16843008*i;u[o]=k<<24|k>>>8,v[o]=k<<16|k>>>16,h[o]=k<<8|k>>>24,y[o]=k,i?(i=p^e[e[e[_^p]]],n^=e[e[n]]):i=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],l=o.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,r=e.words,i=e.sigBytes/4,n=this._nRounds=i+6,o=4*(n+1),c=this._keySchedule=[],s=0;s<o;s++)if(s<i)c[s]=r[s];else{var f=c[s-1];s%i?i>6&&s%i==4&&(f=t[f>>>24]<<24|t[f>>>16&255]<<16|t[f>>>8&255]<<8|t[255&f]):(f=f<<8|f>>>24,f=t[f>>>24]<<24|t[f>>>16&255]<<16|t[f>>>8&255]<<8|t[255&f],f^=p[s/i|0]<<24),c[s]=c[s-i]^f}for(var a=this._invKeySchedule=[],d=0;d<o;d++){var s=o-d;if(d%4)var f=c[s];else var f=c[s-4];d<4||s<=4?a[d]=f:a[d]=u[t[f>>>24]]^v[t[f>>>16&255]]^h[t[f>>>8&255]]^y[t[255&f]]}}},encryptBlock:function(e,r){this._doCryptBlock(e,r,this._keySchedule,s,f,a,d,t)},decryptBlock:function(e,r){var i=e[r+1];e[r+1]=e[r+3],e[r+3]=i,this._doCryptBlock(e,r,this._invKeySchedule,u,v,h,y,c);var i=e[r+1];e[r+1]=e[r+3],e[r+3]=i},_doCryptBlock:function(e,r,i,n,o,t,c,s){for(var f=this._nRounds,a=e[r]^i[0],d=e[r+1]^i[1],u=e[r+2]^i[2],v=e[r+3]^i[3],h=4,y=1;y<f;y++){var p=n[a>>>24]^o[d>>>16&255]^t[u>>>8&255]^c[255&v]^i[h++],l=n[d>>>24]^o[u>>>16&255]^t[v>>>8&255]^c[255&a]^i[h++],_=n[u>>>24]^o[v>>>16&255]^t[a>>>8&255]^c[255&d]^i[h++],k=n[v>>>24]^o[a>>>16&255]^t[d>>>8&255]^c[255&u]^i[h++];a=p,d=l,u=_,v=k}var p=(s[a>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&v])^i[h++],l=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[v>>>8&255]<<8|s[255&a])^i[h++],_=(s[u>>>24]<<24|s[v>>>16&255]<<16|s[a>>>8&255]<<8|s[255&d])^i[h++],k=(s[v>>>24]<<24|s[a>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^i[h++];e[r]=p,e[r+1]=l,e[r+2]=_,e[r+3]=k},keySize:8});r.AES=n._createHelper(l)}(),e.AES});
|
||||
//# sourceMappingURL=aes.min.js.map
|
||||
!function(e,n){"object"==typeof exports?module.exports=exports=n(require("./core.min")):"function"==typeof define&&define.amd?define(["./core.min"],n):n(e.CryptoJS)}(this,function(e){return e.enc.Utf8});
|
||||
//# sourceMappingURL=enc-utf8.min.js.map
|
||||
/**
|
||||
* 加密(需要先加载lib/aes/aes.min.js文件)
|
||||
* @param word
|
||||
* @returns {*}
|
||||
*/
|
||||
function encrypt(word){
|
||||
var key = CryptoJS.enc.Utf8.parse("jjbns@jysoft1088");
|
||||
var srcs = CryptoJS.enc.Utf8.parse(word);
|
||||
var encrypted = CryptoJS.AES.encrypt(srcs, key, {mode:CryptoJS.mode.ECB,padding: CryptoJS.pad.Pkcs7});
|
||||
return encrypted.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* 解密
|
||||
* @param word
|
||||
* @returns {*}
|
||||
*/
|
||||
function decrypt(word){
|
||||
var key = CryptoJS.enc.Utf8.parse("jjbns@jysoft1088");
|
||||
var decrypt = CryptoJS.AES.decrypt(word, key, {mode:CryptoJS.mode.ECB,padding: CryptoJS.pad.Pkcs7});
|
||||
return CryptoJS.enc.Utf8.stringify(decrypt).toString();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 默认时间加密
|
||||
*/
|
||||
function getDefatData(){
|
||||
var date = dateFtt('yyyy-MM-dd hh:mm:ss',new Date());
|
||||
var key = CryptoJS.enc.Utf8.parse("jjbns@jysoft1088");
|
||||
var srcs = CryptoJS.enc.Utf8.parse(date);
|
||||
var encrypted = CryptoJS.AES.encrypt(srcs, key, {mode:CryptoJS.mode.ECB,padding: CryptoJS.pad.Pkcs7});
|
||||
return encrypted.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Object} word是视频加解密
|
||||
*/
|
||||
function videoEncrypt(word){
|
||||
var key = CryptoJS.enc.Utf8.parse("297796CCB81D2553");
|
||||
var srcs = CryptoJS.enc.Utf8.parse(word);
|
||||
var encrypted = CryptoJS.AES.encrypt(srcs, key, {mode:CryptoJS.mode.ECB,padding: CryptoJS.pad.Pkcs7});
|
||||
return encrypted.toString();
|
||||
}
|
||||
|
||||
function videoDecrypt(word){
|
||||
var key = CryptoJS.enc.Utf8.parse("297796CCB81D2553");
|
||||
var decrypt = CryptoJS.AES.decrypt(word, key, {mode:CryptoJS.mode.ECB,padding: CryptoJS.pad.Pkcs7});
|
||||
return CryptoJS.enc.Utf8.stringify(decrypt).toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Object} fmt
|
||||
* @param {Object} date时间格式化工具类
|
||||
*/
|
||||
function dateFtt(fmt, date) { //author: meizz
|
||||
var o = {
|
||||
"M+": date.getMonth() + 1, //月份
|
||||
"d+": date.getDate(), //日
|
||||
"h+": date.getHours(), //小时
|
||||
"m+": date.getMinutes(), //分
|
||||
"s+": date.getSeconds(), //秒
|
||||
"q+": Math.floor((date.getMonth() + 3) / 3), //季度
|
||||
"S": date.getMilliseconds() //毫秒
|
||||
};
|
||||
if(/(y+)/.test(fmt))
|
||||
fmt = fmt.replace(RegExp.$1, (date.getFullYear() + "").substr(4 - RegExp.$1.length));
|
||||
for(var k in o)
|
||||
if(new RegExp("(" + k + ")").test(fmt))
|
||||
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
||||
return fmt;
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
var i=b;function b(c,d){var e=a();return b=function(f,g){f=f-0x1ee;var h=e[f];return h;},b(c,d);}function a(){var j=['7279554YkkNmN','1054641ZNfZaf','12SUTxRG','4914XmixCq','29988','2114340sAOrvR','18725PIblmf','http://220.248.250.31:29605/icvs2/','39350520poNWLW','debug','3448PZcKMw','10.138.219.3','Bns@2023**','4273205sZgDKI','ws://220.248.250.31:29605/wss'];a=function(){return j;};return a();}(function(c,d){var h=b,e=c();while(!![]){try{var f=parseInt(h(0x1f2))/0x1+-parseInt(h(0x1f4))/0x2+parseInt(h(0x1f0))/0x3*(-parseInt(h(0x1f1))/0x4)+parseInt(h(0x1fc))/0x5+-parseInt(h(0x1ef))/0x6+parseInt(h(0x1f5))/0x7*(-parseInt(h(0x1f9))/0x8)+parseInt(h(0x1f7))/0x9;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0xb80b0));var _cf={'ver':i(0x1f8),'q2http_url':i(0x1f6),'websocket_url':i(0x1ee),'connParams':{'address':i(0x1fa),'port':i(0x1f3),'user':'bns4','password':i(0x1fb),'epid':'system','bfix':0x1}};
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
/**
|
||||
* This file includes the required ext-all js and css files based upon "theme" and "rtl"
|
||||
* url parameters. It first searches for these parameters on the page url, and if they
|
||||
* are not found there, it looks for them on the script tag src query string.
|
||||
* For example, to include the neptune flavor of ext from an index page in a subdirectory
|
||||
* of extjs/examples/:
|
||||
* <script type="text/javascript" src="../../examples/shared/include-ext.js?theme=neptune"></script>
|
||||
*/
|
||||
(function() {
|
||||
// load css
|
||||
var theme = 'metro';
|
||||
var css_array = new Array();
|
||||
var t= new Date().getTime();
|
||||
|
||||
// load cu js
|
||||
var js_array = new Array();
|
||||
|
||||
var scriptObjects = document.getElementsByTagName("script");
|
||||
|
||||
for(var i = 0;i < scriptObjects.length;i++)
|
||||
{
|
||||
var s = scriptObjects[i];
|
||||
|
||||
if(s.src && s.src.match(/include\.js(\?.*)?$/)){
|
||||
|
||||
var path = s.src.replace(/js\/include\.js(\?.*)?$/,'');
|
||||
var type = s.src.match(/\?type=([a-z,]*)/);
|
||||
{
|
||||
js_array =[
|
||||
'js/utility/json2.js',
|
||||
'js/utility/easyui/jquery.min.js',
|
||||
'js/utility/easyui/jquery.easyui.min.js',
|
||||
'js/utility/easyui/jquery.xml2json.js',
|
||||
'js/utility/easyui/locale/easyui-lang-zh_CN.js',
|
||||
'js/utility/jquery.fullscreen-min.js',
|
||||
];
|
||||
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
css_array = css_array.concat([
|
||||
"js/utility/easyui/themes/"+theme+"/easyui.css",
|
||||
"js/utility/easyui/themes/icon.css",
|
||||
"js/utility/easyui/themes/color.css"
|
||||
// "demo.css"
|
||||
]);
|
||||
|
||||
for(var j = 0;j < css_array.length;j++)
|
||||
{
|
||||
document.write('<link rel="stylesheet" type="text/css" href="'+css_array[j]+'?t='+t+'" />');
|
||||
};
|
||||
|
||||
for(var j = 0;j < js_array.length;j++)
|
||||
{
|
||||
if(js_array[j].indexOf("?") > 0){
|
||||
document.write('<script type="text/javascript" src="'+js_array[j]+'&t='+t+'"></script>');
|
||||
}else{
|
||||
document.write('<script type="text/javascript" src="'+js_array[j]+'?t='+t+'"></script>');
|
||||
}
|
||||
};
|
||||
|
||||
})();
|
||||
|
|
@ -0,0 +1,515 @@
|
|||
/*! layer-v3.1.0 Web弹层组件 MIT License http://layer.layui.com/ By 贤心 */
|
||||
;!function (e, t) {
|
||||
"use strict";
|
||||
var i, n, a = e.layui && layui.define, o = {
|
||||
getPath: function () {
|
||||
var e = document.scripts, t = e[e.length - 1], i = t.src;
|
||||
if (!t.getAttribute("merge")) return i.substring(0, i.lastIndexOf("/") + 1)
|
||||
}(),
|
||||
config: {},
|
||||
end: {},
|
||||
minIndex: 0,
|
||||
minLeft: [],
|
||||
btn: ["确定", "取消"],
|
||||
type: ["dialog", "page", "iframe", "loading", "tips"],
|
||||
getStyle: function (t, i) {
|
||||
var n = t.currentStyle ? t.currentStyle : e.getComputedStyle(t, null);
|
||||
return n[n.getPropertyValue ? "getPropertyValue" : "getAttribute"](i)
|
||||
},
|
||||
link: function (t, i, n) {
|
||||
if (r.path) {
|
||||
var a = document.getElementsByTagName("head")[0], s = document.createElement("link");
|
||||
"string" == typeof i && (n = i);
|
||||
var l = (n || t).replace(/\.|\//g, ""), f = "layuicss-" + l, c = 0;
|
||||
s.rel = "stylesheet", s.href = r.path + t, s.id = f, document.getElementById(f) || a.appendChild(s), "function" == typeof i && !function u() {
|
||||
return ++c > 80 ? e.console && console.error("layer.css: Invalid") : void (1989 === parseInt(o.getStyle(document.getElementById(f), "width")) ? i() : setTimeout(u, 100))
|
||||
}()
|
||||
}
|
||||
}
|
||||
}, r = {
|
||||
v: "3.1.0", ie: function () {
|
||||
var t = navigator.userAgent.toLowerCase();
|
||||
return !!(e.ActiveXObject || "ActiveXObject" in e) && ((t.match(/msie\s(\d+)/) || [])[1] || "11")
|
||||
}(), index: e.layer && e.layer.v ? 1e5 : 0, path: o.getPath, config: function (e, t) {
|
||||
return e = e || {}, r.cache = o.config = i.extend({}, o.config, e), r.path = o.config.path || r.path, "string" == typeof e.extend && (e.extend = [e.extend]), o.config.path && r.ready(), e.extend ? (a ? layui.addcss("modules/layer/" + e.extend) : o.link("theme/" + e.extend), this) : this
|
||||
}, ready: function (e) {
|
||||
var t = "layer", i = "", n = (a ? "modules/layer/" : "theme/") + "default/layer.css?v=" + r.v + i;
|
||||
return a ? layui.addcss(n, e, t) : o.link(n, e, t), this
|
||||
}, alert: function (e, t, n) {
|
||||
var a = "function" == typeof t;
|
||||
return a && (n = t), r.open(i.extend({content: e, yes: n}, a ? {} : t))
|
||||
}, confirm: function (e, t, n, a) {
|
||||
var s = "function" == typeof t;
|
||||
return s && (a = n, n = t), r.open(i.extend({content: e, btn: o.btn, yes: n, btn2: a}, s ? {} : t))
|
||||
}, msg: function (e, n, a) {
|
||||
var s = "function" == typeof n, f = o.config.skin, c = (f ? f + " " + f + "-msg" : "") || "layui-layer-msg",
|
||||
u = l.anim.length - 1;
|
||||
return s && (a = n), r.open(i.extend({
|
||||
content: e,
|
||||
time: 3e3,
|
||||
shade: !1,
|
||||
skin: c,
|
||||
title: !1,
|
||||
closeBtn: !1,
|
||||
btn: !1,
|
||||
resize: !1,
|
||||
end: a
|
||||
}, s && !o.config.skin ? {skin: c + " layui-layer-hui", anim: u} : function () {
|
||||
return n = n || {}, (n.icon === -1 || n.icon === t && !o.config.skin) && (n.skin = c + " " + (n.skin || "layui-layer-hui")), n
|
||||
}()))
|
||||
}, load: function (e, t) {
|
||||
return r.open(i.extend({type: 3, icon: e || 0, resize: !1, shade: .01}, t))
|
||||
}, tips: function (e, t, n) {
|
||||
return r.open(i.extend({
|
||||
type: 4,
|
||||
content: [e, t],
|
||||
closeBtn: !1,
|
||||
time: 3e3,
|
||||
shade: !1,
|
||||
resize: !1,
|
||||
fixed: !1,
|
||||
maxWidth: 210
|
||||
}, n))
|
||||
}
|
||||
}, s = function (e) {
|
||||
var t = this;
|
||||
t.index = ++r.index, t.config = i.extend({}, t.config, o.config, e), document.body ? t.creat() : setTimeout(function () {
|
||||
t.creat()
|
||||
}, 30)
|
||||
};
|
||||
s.pt = s.prototype;
|
||||
var l = ["layui-layer", ".layui-layer-title", ".layui-layer-main", ".layui-layer-dialog", "layui-layer-iframe", "layui-layer-content", "layui-layer-btn", "layui-layer-close"];
|
||||
l.anim = ["layer-anim-00", "layer-anim-01", "layer-anim-02", "layer-anim-03", "layer-anim-04", "layer-anim-05", "layer-anim-06"], s.pt.config = {
|
||||
type: 0,
|
||||
shade: .3,
|
||||
fixed: !0,
|
||||
move: l[1],
|
||||
title: "信息",
|
||||
offset: "auto",
|
||||
area: "auto",
|
||||
closeBtn: 1,
|
||||
time: 0,
|
||||
zIndex: 19891014,
|
||||
maxWidth: 360,
|
||||
anim: 0,
|
||||
isOutAnim: !0,
|
||||
icon: -1,
|
||||
moveType: 1,
|
||||
resize: !0,
|
||||
scrollbar: !0,
|
||||
tips: 2
|
||||
}, s.pt.vessel = function (e, t) {
|
||||
var n = this, a = n.index, r = n.config, s = r.zIndex + a, f = "object" == typeof r.title,
|
||||
c = r.maxmin && (1 === r.type || 2 === r.type),
|
||||
u = r.title ? '<div class="layui-layer-title" style="' + (f ? r.title[1] : "") + '">' + (f ? r.title[0] : r.title) + "</div>" : "";
|
||||
return r.zIndex = s, t([r.shade ? '<div class="layui-layer-shade" id="layui-layer-shade' + a + '" times="' + a + '" style="' + ("z-index:" + (s - 1) + "; ") + '"></div>' : "", '<div class="' + l[0] + (" layui-layer-" + o.type[r.type]) + (0 != r.type && 2 != r.type || r.shade ? "" : " layui-layer-border") + " " + (r.skin || "") + '" id="' + l[0] + a + '" type="' + o.type[r.type] + '" times="' + a + '" showtime="' + r.time + '" conType="' + (e ? "object" : "string") + '" style="z-index: ' + s + "; width:" + r.area[0] + ";height:" + r.area[1] + (r.fixed ? "" : ";position:absolute;") + '">' + (e && 2 != r.type ? "" : u) + '<div id="' + (r.id || "") + '" class="layui-layer-content' + (0 == r.type && r.icon !== -1 ? " layui-layer-padding" : "") + (3 == r.type ? " layui-layer-loading" + r.icon : "") + '">' + (0 == r.type && r.icon !== -1 ? '<i class="layui-layer-ico layui-layer-ico' + r.icon + '"></i>' : "") + (1 == r.type && e ? "" : r.content || "") + '</div><span class="layui-layer-setwin">' + function () {
|
||||
var e = c ? '<a class="layui-layer-min" href="javascript:;"><cite></cite></a><a class="layui-layer-ico layui-layer-max" href="javascript:;"></a>' : "";
|
||||
return r.closeBtn && (e += '<a class="layui-layer-ico ' + l[7] + " " + l[7] + (r.title ? r.closeBtn : 4 == r.type ? "1" : "2") + '" href="javascript:;"></a>'), e
|
||||
}() + "</span>" + (r.btn ? function () {
|
||||
var e = "";
|
||||
"string" == typeof r.btn && (r.btn = [r.btn]);
|
||||
for (var t = 0, i = r.btn.length; t < i; t++) e += '<a class="' + l[6] + t + '">' + r.btn[t] + "</a>";
|
||||
return '<div class="' + l[6] + " layui-layer-btn-" + (r.btnAlign || "") + '">' + e + "</div>"
|
||||
}() : "") + (r.resize ? '<span class="layui-layer-resize"></span>' : "") + "</div>"], u, i('<div class="layui-layer-move"></div>')), n
|
||||
}, s.pt.creat = function () {
|
||||
var e = this, t = e.config, a = e.index, s = t.content, f = "object" == typeof s, c = i("body");
|
||||
if (!t.id || !i("#" + t.id)[0]) {
|
||||
switch ("string" == typeof t.area && (t.area = "auto" === t.area ? ["", ""] : [t.area, ""]), t.shift && (t.anim = t.shift), 6 == r.ie && (t.fixed = !1), t.type) {
|
||||
case 0:
|
||||
t.btn = "btn" in t ? t.btn : o.btn[0], r.closeAll("dialog");
|
||||
break;
|
||||
case 2:
|
||||
var s = t.content = f ? t.content : [t.content || "http://layer.layui.com", "auto"];
|
||||
t.content = '<iframe scrolling="' + (t.content[1] || "auto") + '" allowtransparency="true" id="' + l[4] + a + '" name="' + l[4] + a + '" onload="this.className=\'\';" class="layui-layer-load" frameborder="0" src="' + t.content[0] + '"></iframe>';
|
||||
break;
|
||||
case 3:
|
||||
delete t.title, delete t.closeBtn, t.icon === -1 && 0 === t.icon, r.closeAll("loading");
|
||||
break;
|
||||
case 4:
|
||||
f || (t.content = [t.content, "body"]), t.follow = t.content[1], t.content = t.content[0] + '<i class="layui-layer-TipsG"></i>', delete t.title, t.tips = "object" == typeof t.tips ? t.tips : [t.tips, !0], t.tipsMore || r.closeAll("tips")
|
||||
}
|
||||
if (e.vessel(f, function (n, r, u) {
|
||||
c.append(n[0]), f ? function () {
|
||||
2 == t.type || 4 == t.type ? function () {
|
||||
i("body").append(n[1])
|
||||
}() : function () {
|
||||
s.parents("." + l[0])[0] || (s.data("display", s.css("display")).show().addClass("layui-layer-wrap").wrap(n[1]), i("#" + l[0] + a).find("." + l[5]).before(r))
|
||||
}()
|
||||
}() : c.append(n[1]), i(".layui-layer-move")[0] || c.append(o.moveElem = u), e.layero = i("#" + l[0] + a), t.scrollbar || l.html.css("overflow", "hidden").attr("layer-full", a)
|
||||
}).auto(a), i("#layui-layer-shade" + e.index).css({
|
||||
"background-color": t.shade[1] || "#000",
|
||||
opacity: t.shade[0] || t.shade
|
||||
}), 2 == t.type && 6 == r.ie && e.layero.find("iframe").attr("src", s[0]), 4 == t.type ? e.tips() : e.offset(), t.fixed && n.on("resize", function () {
|
||||
e.offset(), (/^\d+%$/.test(t.area[0]) || /^\d+%$/.test(t.area[1])) && e.auto(a), 4 == t.type && e.tips()
|
||||
}), t.time <= 0 || setTimeout(function () {
|
||||
r.close(e.index)
|
||||
}, t.time), e.move().callback(), l.anim[t.anim]) {
|
||||
var u = "layer-anim " + l.anim[t.anim];
|
||||
e.layero.addClass(u).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function () {
|
||||
i(this).removeClass(u)
|
||||
})
|
||||
}
|
||||
t.isOutAnim && e.layero.data("isOutAnim", !0)
|
||||
}
|
||||
}, s.pt.auto = function (e) {
|
||||
var t = this, a = t.config, o = i("#" + l[0] + e);
|
||||
"" === a.area[0] && a.maxWidth > 0 && (r.ie && r.ie < 8 && a.btn && o.width(o.innerWidth()), o.outerWidth() > a.maxWidth && o.width(a.maxWidth));
|
||||
var s = [o.innerWidth(), o.innerHeight()], f = o.find(l[1]).outerHeight() || 0,
|
||||
c = o.find("." + l[6]).outerHeight() || 0, u = function (e) {
|
||||
e = o.find(e), e.height(s[1] - f - c - 2 * (0 | parseFloat(e.css("padding-top"))))
|
||||
};
|
||||
switch (a.type) {
|
||||
case 2:
|
||||
u("iframe");
|
||||
break;
|
||||
default:
|
||||
"" === a.area[1] ? a.maxHeight > 0 && o.outerHeight() > a.maxHeight ? (s[1] = a.maxHeight, u("." + l[5])) : a.fixed && s[1] >= n.height() && (s[1] = n.height(), u("." + l[5])) : u("." + l[5])
|
||||
}
|
||||
return t
|
||||
}, s.pt.offset = function () {
|
||||
var e = this, t = e.config, i = e.layero, a = [i.outerWidth(), i.outerHeight()],
|
||||
o = "object" == typeof t.offset;
|
||||
e.offsetTop = (n.height() - a[1]) / 2, e.offsetLeft = (n.width() - a[0]) / 2, o ? (e.offsetTop = t.offset[0], e.offsetLeft = t.offset[1] || e.offsetLeft) : "auto" !== t.offset && ("t" === t.offset ? e.offsetTop = 0 : "r" === t.offset ? e.offsetLeft = n.width() - a[0] : "b" === t.offset ? e.offsetTop = n.height() - a[1] : "l" === t.offset ? e.offsetLeft = 0 : "lt" === t.offset ? (e.offsetTop = 0, e.offsetLeft = 0) : "lb" === t.offset ? (e.offsetTop = n.height() - a[1], e.offsetLeft = 0) : "rt" === t.offset ? (e.offsetTop = 0, e.offsetLeft = n.width() - a[0]) : "rb" === t.offset ? (e.offsetTop = n.height() - a[1], e.offsetLeft = n.width() - a[0]) : e.offsetTop = t.offset), t.fixed || (e.offsetTop = /%$/.test(e.offsetTop) ? n.height() * parseFloat(e.offsetTop) / 100 : parseFloat(e.offsetTop), e.offsetLeft = /%$/.test(e.offsetLeft) ? n.width() * parseFloat(e.offsetLeft) / 100 : parseFloat(e.offsetLeft), e.offsetTop += n.scrollTop(), e.offsetLeft += n.scrollLeft()), i.attr("minLeft") && (e.offsetTop = n.height() - (i.find(l[1]).outerHeight() || 0), e.offsetLeft = i.css("left")), i.css({
|
||||
top: e.offsetTop,
|
||||
left: e.offsetLeft
|
||||
})
|
||||
}, s.pt.tips = function () {
|
||||
var e = this, t = e.config, a = e.layero, o = [a.outerWidth(), a.outerHeight()], r = i(t.follow);
|
||||
r[0] || (r = i("body"));
|
||||
var s = {width: r.outerWidth(), height: r.outerHeight(), top: r.offset().top, left: r.offset().left},
|
||||
f = a.find(".layui-layer-TipsG"), c = t.tips[0];
|
||||
t.tips[1] || f.remove(), s.autoLeft = function () {
|
||||
s.left + o[0] - n.width() > 0 ? (s.tipLeft = s.left + s.width - o[0], f.css({
|
||||
right: 12,
|
||||
left: "auto"
|
||||
})) : s.tipLeft = s.left
|
||||
}, s.where = [function () {
|
||||
s.autoLeft(), s.tipTop = s.top - o[1] - 10, f.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color", t.tips[1])
|
||||
}, function () {
|
||||
s.tipLeft = s.left + s.width + 10, s.tipTop = s.top, f.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color", t.tips[1])
|
||||
}, function () {
|
||||
s.autoLeft(), s.tipTop = s.top + s.height + 10, f.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color", t.tips[1])
|
||||
}, function () {
|
||||
s.tipLeft = s.left - o[0] - 10, s.tipTop = s.top, f.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color", t.tips[1])
|
||||
}], s.where[c - 1](), 1 === c ? s.top - (n.scrollTop() + o[1] + 16) < 0 && s.where[2]() : 2 === c ? n.width() - (s.left + s.width + o[0] + 16) > 0 || s.where[3]() : 3 === c ? s.top - n.scrollTop() + s.height + o[1] + 16 - n.height() > 0 && s.where[0]() : 4 === c && o[0] + 16 - s.left > 0 && s.where[1](), a.find("." + l[5]).css({
|
||||
"background-color": t.tips[1],
|
||||
"padding-right": t.closeBtn ? "30px" : ""
|
||||
}), a.css({left: s.tipLeft - (t.fixed ? n.scrollLeft() : 0), top: s.tipTop - (t.fixed ? n.scrollTop() : 0)})
|
||||
}, s.pt.move = function () {
|
||||
var e = this, t = e.config, a = i(document), s = e.layero, l = s.find(t.move),
|
||||
f = s.find(".layui-layer-resize"), c = {};
|
||||
return t.move && l.css("cursor", "move"), l.on("mousedown", function (e) {
|
||||
e.preventDefault(), t.move && (c.moveStart = !0, c.offset = [e.clientX - parseFloat(s.css("left")), e.clientY - parseFloat(s.css("top"))], o.moveElem.css("cursor", "move").show())
|
||||
}), f.on("mousedown", function (e) {
|
||||
e.preventDefault(), c.resizeStart = !0, c.offset = [e.clientX, e.clientY], c.area = [s.outerWidth(), s.outerHeight()], o.moveElem.css("cursor", "se-resize").show()
|
||||
}), a.on("mousemove", function (i) {
|
||||
if (c.moveStart) {
|
||||
var a = i.clientX - c.offset[0], o = i.clientY - c.offset[1], l = "fixed" === s.css("position");
|
||||
if (i.preventDefault(), c.stX = l ? 0 : n.scrollLeft(), c.stY = l ? 0 : n.scrollTop(), !t.moveOut) {
|
||||
var f = n.width() - s.outerWidth() + c.stX, u = n.height() - s.outerHeight() + c.stY;
|
||||
a < c.stX && (a = c.stX), a > f && (a = f), o < c.stY && (o = c.stY), o > u && (o = u)
|
||||
}
|
||||
s.css({left: a, top: o})
|
||||
}
|
||||
if (t.resize && c.resizeStart) {
|
||||
var a = i.clientX - c.offset[0], o = i.clientY - c.offset[1];
|
||||
i.preventDefault(), r.style(e.index, {
|
||||
width: c.area[0] + a,
|
||||
height: c.area[1] + o
|
||||
}), c.isResize = !0, t.resizing && t.resizing(s)
|
||||
}
|
||||
}).on("mouseup", function (e) {
|
||||
c.moveStart && (delete c.moveStart, o.moveElem.hide(), t.moveEnd && t.moveEnd(s)), c.resizeStart && (delete c.resizeStart, o.moveElem.hide())
|
||||
}), e
|
||||
}, s.pt.callback = function () {
|
||||
function e() {
|
||||
var e = a.cancel && a.cancel(t.index, n);
|
||||
e === !1 || r.close(t.index)
|
||||
}
|
||||
|
||||
var t = this, n = t.layero, a = t.config;
|
||||
t.openLayer(), a.success && (2 == a.type ? n.find("iframe").on("load", function () {
|
||||
a.success(n, t.index)
|
||||
}) : a.success(n, t.index)), 6 == r.ie && t.IE6(n), n.find("." + l[6]).children("a").on("click", function () {
|
||||
var e = i(this).index();
|
||||
if (0 === e) a.yes ? a.yes(t.index, n) : a.btn1 ? a.btn1(t.index, n) : r.close(t.index); else {
|
||||
var o = a["btn" + (e + 1)] && a["btn" + (e + 1)](t.index, n);
|
||||
o === !1 || r.close(t.index)
|
||||
}
|
||||
}), n.find("." + l[7]).on("click", e), a.shadeClose && i("#layui-layer-shade" + t.index).on("click", function () {
|
||||
r.close(t.index)
|
||||
}), n.find(".layui-layer-min").on("click", function () {
|
||||
var e = a.min && a.min(n);
|
||||
e === !1 || r.min(t.index, a)
|
||||
}), n.find(".layui-layer-max").on("click", function () {
|
||||
i(this).hasClass("layui-layer-maxmin") ? (r.restore(t.index), a.restore && a.restore(n)) : (r.full(t.index, a), setTimeout(function () {
|
||||
a.full && a.full(n)
|
||||
}, 100))
|
||||
}), a.end && (o.end[t.index] = a.end)
|
||||
}, o.reselect = function () {
|
||||
i.each(i("select"), function (e, t) {
|
||||
var n = i(this);
|
||||
n.parents("." + l[0])[0] || 1 == n.attr("layer") && i("." + l[0]).length < 1 && n.removeAttr("layer").show(), n = null
|
||||
})
|
||||
}, s.pt.IE6 = function (e) {
|
||||
i("select").each(function (e, t) {
|
||||
var n = i(this);
|
||||
n.parents("." + l[0])[0] || "none" === n.css("display") || n.attr({layer: "1"}).hide(), n = null
|
||||
})
|
||||
}, s.pt.openLayer = function () {
|
||||
var e = this;
|
||||
r.zIndex = e.config.zIndex, r.setTop = function (e) {
|
||||
var t = function () {
|
||||
r.zIndex++, e.css("z-index", r.zIndex + 1)
|
||||
};
|
||||
return r.zIndex = parseInt(e[0].style.zIndex), e.on("mousedown", t), r.zIndex
|
||||
}
|
||||
}, o.record = function (e) {
|
||||
var t = [e.width(), e.height(), e.position().top, e.position().left + parseFloat(e.css("margin-left"))];
|
||||
e.find(".layui-layer-max").addClass("layui-layer-maxmin"), e.attr({area: t})
|
||||
}, o.rescollbar = function (e) {
|
||||
l.html.attr("layer-full") == e && (l.html[0].style.removeProperty ? l.html[0].style.removeProperty("overflow") : l.html[0].style.removeAttribute("overflow"), l.html.removeAttr("layer-full"))
|
||||
}, e.layer = r, r.getChildFrame = function (e, t) {
|
||||
return t = t || i("." + l[4]).attr("times"), i("#" + l[0] + t).find("iframe").contents().find(e)
|
||||
}, r.getFrameIndex = function (e) {
|
||||
return i("#" + e).parents("." + l[4]).attr("times")
|
||||
}, r.iframeAuto = function (e) {
|
||||
if (e) {
|
||||
var t = r.getChildFrame("html", e).outerHeight(), n = i("#" + l[0] + e),
|
||||
a = n.find(l[1]).outerHeight() || 0, o = n.find("." + l[6]).outerHeight() || 0;
|
||||
n.css({height: t + a + o}), n.find("iframe").css({height: t})
|
||||
}
|
||||
}, r.iframeSrc = function (e, t) {
|
||||
i("#" + l[0] + e).find("iframe").attr("src", t)
|
||||
}, r.style = function (e, t, n) {
|
||||
var a = i("#" + l[0] + e), r = a.find(".layui-layer-content"), s = a.attr("type"),
|
||||
f = a.find(l[1]).outerHeight() || 0, c = a.find("." + l[6]).outerHeight() || 0;
|
||||
a.attr("minLeft");
|
||||
s !== o.type[3] && s !== o.type[4] && (n || (parseFloat(t.width) <= 260 && (t.width = 260), parseFloat(t.height) - f - c <= 64 && (t.height = 64 + f + c)), a.css(t), c = a.find("." + l[6]).outerHeight(), s === o.type[2] ? a.find("iframe").css({height: parseFloat(t.height) - f - c}) : r.css({height: parseFloat(t.height) - f - c - parseFloat(r.css("padding-top")) - parseFloat(r.css("padding-bottom"))}))
|
||||
}, r.min = function (e, t) {
|
||||
var a = i("#" + l[0] + e), s = a.find(l[1]).outerHeight() || 0,
|
||||
f = a.attr("minLeft") || 181 * o.minIndex + "px", c = a.css("position");
|
||||
o.record(a), o.minLeft[0] && (f = o.minLeft[0], o.minLeft.shift()), a.attr("position", c), r.style(e, {
|
||||
width: 180,
|
||||
height: s,
|
||||
left: f,
|
||||
top: n.height() - s,
|
||||
position: "fixed",
|
||||
overflow: "hidden"
|
||||
}, !0), a.find(".layui-layer-min").hide(), "page" === a.attr("type") && a.find(l[4]).hide(), o.rescollbar(e), a.attr("minLeft") || o.minIndex++, a.attr("minLeft", f)
|
||||
}, r.restore = function (e) {
|
||||
var t = i("#" + l[0] + e), n = t.attr("area").split(",");
|
||||
t.attr("type");
|
||||
r.style(e, {
|
||||
width: parseFloat(n[0]),
|
||||
height: parseFloat(n[1]),
|
||||
top: parseFloat(n[2]),
|
||||
left: parseFloat(n[3]),
|
||||
position: t.attr("position"),
|
||||
overflow: "visible"
|
||||
}, !0), t.find(".layui-layer-max").removeClass("layui-layer-maxmin"), t.find(".layui-layer-min").show(), "page" === t.attr("type") && t.find(l[4]).show(), o.rescollbar(e)
|
||||
}, r.full = function (e) {
|
||||
var t, a = i("#" + l[0] + e);
|
||||
o.record(a), l.html.attr("layer-full") || l.html.css("overflow", "hidden").attr("layer-full", e), clearTimeout(t), t = setTimeout(function () {
|
||||
var t = "fixed" === a.css("position");
|
||||
r.style(e, {
|
||||
top: t ? 0 : n.scrollTop(),
|
||||
left: t ? 0 : n.scrollLeft(),
|
||||
width: n.width(),
|
||||
height: n.height()
|
||||
}, !0), a.find(".layui-layer-min").hide()
|
||||
}, 100)
|
||||
}, r.title = function (e, t) {
|
||||
var n = i("#" + l[0] + (t || r.index)).find(l[1]);
|
||||
n.html(e)
|
||||
}, r.close = function (e) {
|
||||
var t = i("#" + l[0] + e), n = t.attr("type"), a = "layer-anim-close";
|
||||
if (t[0]) {
|
||||
var s = "layui-layer-wrap", f = function () {
|
||||
if (n === o.type[1] && "object" === t.attr("conType")) {
|
||||
t.children(":not(." + l[5] + ")").remove();
|
||||
for (var a = t.find("." + s), r = 0; r < 2; r++) a.unwrap();
|
||||
a.css("display", a.data("display")).removeClass(s)
|
||||
} else {
|
||||
if (n === o.type[2]) try {
|
||||
var f = i("#" + l[4] + e)[0];
|
||||
f.contentWindow.document.write(""), f.contentWindow.close(), t.find("." + l[5])[0].removeChild(f)
|
||||
} catch (c) {
|
||||
}
|
||||
t[0].innerHTML = "", t.remove()
|
||||
}
|
||||
"function" == typeof o.end[e] && o.end[e](), delete o.end[e]
|
||||
};
|
||||
t.data("isOutAnim") && t.addClass("layer-anim " + a), i("#layui-layer-moves, #layui-layer-shade" + e).remove(), 6 == r.ie && o.reselect(), o.rescollbar(e), t.attr("minLeft") && (o.minIndex--, o.minLeft.push(t.attr("minLeft"))), r.ie && r.ie < 10 || !t.data("isOutAnim") ? f() : setTimeout(function () {
|
||||
f()
|
||||
}, 200)
|
||||
}
|
||||
}, r.closeAll = function (e) {
|
||||
i.each(i("." + l[0]), function () {
|
||||
var t = i(this), n = e ? t.attr("type") === e : 1;
|
||||
n && r.close(t.attr("times")), n = null
|
||||
})
|
||||
};
|
||||
var f = r.cache || {}, c = function (e) {
|
||||
return f.skin ? " " + f.skin + " " + f.skin + "-" + e : ""
|
||||
};
|
||||
r.prompt = function (e, t) {
|
||||
var a = "";
|
||||
if (e = e || {}, "function" == typeof e && (t = e), e.area) {
|
||||
var o = e.area;
|
||||
a = 'style="width: ' + o[0] + "; height: " + o[1] + ';"', delete e.area
|
||||
}
|
||||
var s,
|
||||
l = 2 == e.formType ? '<textarea class="layui-layer-input"' + a + ">" + (e.value || "") + "</textarea>" : function () {
|
||||
return '<input type="' + (1 == e.formType ? "password" : "text") + '" class="layui-layer-input" value="' + (e.value || "") + '">'
|
||||
}(), f = e.success;
|
||||
return delete e.success, r.open(i.extend({
|
||||
type: 1,
|
||||
btn: ["确定", "取消"],
|
||||
content: l,
|
||||
skin: "layui-layer-prompt" + c("prompt"),
|
||||
maxWidth: n.width(),
|
||||
success: function (e) {
|
||||
s = e.find(".layui-layer-input"), s.focus(), "function" == typeof f && f(e)
|
||||
},
|
||||
resize: !1,
|
||||
yes: function (i) {
|
||||
var n = s.val();
|
||||
"" === n ? s.focus() : n.length > (e.maxlength || 500) ? r.tips("最多输入" + (e.maxlength || 500) + "个字数", s, {tips: 1}) : t && t(n, i, s)
|
||||
}
|
||||
}, e))
|
||||
}, r.tab = function (e) {
|
||||
e = e || {};
|
||||
var t = e.tab || {}, n = "layui-this", a = e.success;
|
||||
return delete e.success, r.open(i.extend({
|
||||
type: 1,
|
||||
skin: "layui-layer-tab" + c("tab"),
|
||||
resize: !1,
|
||||
title: function () {
|
||||
var e = t.length, i = 1, a = "";
|
||||
if (e > 0) for (a = '<span class="' + n + '">' + t[0].title + "</span>"; i < e; i++) a += "<span>" + t[i].title + "</span>";
|
||||
return a
|
||||
}(),
|
||||
content: '<ul class="layui-layer-tabmain">' + function () {
|
||||
var e = t.length, i = 1, a = "";
|
||||
if (e > 0) for (a = '<li class="layui-layer-tabli ' + n + '">' + (t[0].content || "no content") + "</li>"; i < e; i++) a += '<li class="layui-layer-tabli">' + (t[i].content || "no content") + "</li>";
|
||||
return a
|
||||
}() + "</ul>",
|
||||
success: function (t) {
|
||||
var o = t.find(".layui-layer-title").children(), r = t.find(".layui-layer-tabmain").children();
|
||||
o.on("mousedown", function (t) {
|
||||
t.stopPropagation ? t.stopPropagation() : t.cancelBubble = !0;
|
||||
var a = i(this), o = a.index();
|
||||
a.addClass(n).siblings().removeClass(n), r.eq(o).show().siblings().hide(), "function" == typeof e.change && e.change(o)
|
||||
}), "function" == typeof a && a(t)
|
||||
}
|
||||
}, e))
|
||||
}, r.photos = function (t, n, a) {
|
||||
function o(e, t, i) {
|
||||
var n = new Image;
|
||||
return n.src = e, n.complete ? t(n) : (n.onload = function () {
|
||||
n.onload = null, t(n)
|
||||
}, void (n.onerror = function (e) {
|
||||
n.onerror = null, i(e)
|
||||
}))
|
||||
}
|
||||
|
||||
var s = {};
|
||||
if (t = t || {}, t.photos) {
|
||||
var l = t.photos.constructor === Object, f = l ? t.photos : {}, u = f.data || [], d = f.start || 0;
|
||||
s.imgIndex = (0 | d) + 1, t.img = t.img || "img";
|
||||
var y = t.success;
|
||||
if (delete t.success, l) {
|
||||
if (0 === u.length) return r.msg("没有图片")
|
||||
} else {
|
||||
var p = i(t.photos), h = function () {
|
||||
u = [], p.find(t.img).each(function (e) {
|
||||
var t = i(this);
|
||||
t.attr("layer-index", e), u.push({
|
||||
alt: t.attr("alt"),
|
||||
pid: t.attr("layer-pid"),
|
||||
src: t.attr("layer-src") || t.attr("src"),
|
||||
thumb: t.attr("src")
|
||||
})
|
||||
})
|
||||
};
|
||||
if (h(), 0 === u.length) return;
|
||||
if (n || p.on("click", t.img, function () {
|
||||
var e = i(this), n = e.attr("layer-index");
|
||||
r.photos(i.extend(t, {photos: {start: n, data: u, tab: t.tab}, full: t.full}), !0), h()
|
||||
}), !n) return
|
||||
}
|
||||
s.imgprev = function (e) {
|
||||
s.imgIndex--, s.imgIndex < 1 && (s.imgIndex = u.length), s.tabimg(e)
|
||||
}, s.imgnext = function (e, t) {
|
||||
s.imgIndex++, s.imgIndex > u.length && (s.imgIndex = 1, t) || s.tabimg(e)
|
||||
}, s.keyup = function (e) {
|
||||
if (!s.end) {
|
||||
var t = e.keyCode;
|
||||
e.preventDefault(), 37 === t ? s.imgprev(!0) : 39 === t ? s.imgnext(!0) : 27 === t && r.close(s.index)
|
||||
}
|
||||
}, s.tabimg = function (e) {
|
||||
if (!(u.length <= 1)) return f.start = s.imgIndex - 1, r.close(s.index), r.photos(t, !0, e)
|
||||
}, s.event = function () {
|
||||
s.bigimg.hover(function () {
|
||||
s.imgsee.show()
|
||||
}, function () {
|
||||
s.imgsee.hide()
|
||||
}), s.bigimg.find(".layui-layer-imgprev").on("click", function (e) {
|
||||
e.preventDefault(), s.imgprev()
|
||||
}), s.bigimg.find(".layui-layer-imgnext").on("click", function (e) {
|
||||
e.preventDefault(), s.imgnext()
|
||||
}), i(document).on("keyup", s.keyup)
|
||||
}, s.loadi = r.load(1, {shade: !("shade" in t) && .9, scrollbar: !1}), o(u[d].src, function (n) {
|
||||
r.close(s.loadi), s.index = r.open(i.extend({
|
||||
type: 1,
|
||||
id: "layui-layer-photos",
|
||||
area: function () {
|
||||
var a = [n.width, n.height], o = [i(e).width() - 100, i(e).height() - 100];
|
||||
if (!t.full && (a[0] > o[0] || a[1] > o[1])) {
|
||||
var r = [a[0] / o[0], a[1] / o[1]];
|
||||
r[0] > r[1] ? (a[0] = a[0] / r[0], a[1] = a[1] / r[0]) : r[0] < r[1] && (a[0] = a[0] / r[1], a[1] = a[1] / r[1])
|
||||
}
|
||||
return [a[0] + "px", a[1] + "px"]
|
||||
}(),
|
||||
title: !1,
|
||||
shade: .9,
|
||||
shadeClose: !0,
|
||||
closeBtn: !1,
|
||||
move: ".layui-layer-phimg img",
|
||||
moveType: 1,
|
||||
scrollbar: !1,
|
||||
moveOut: !0,
|
||||
isOutAnim: !1,
|
||||
skin: "layui-layer-photos" + c("photos"),
|
||||
content: '<div class="layui-layer-phimg"><img src="' + u[d].src + '" alt="' + (u[d].alt || "") + '" layer-pid="' + u[d].pid + '"><div class="layui-layer-imgsee">' + (u.length > 1 ? '<span class="layui-layer-imguide"><a href="javascript:;" class="layui-layer-iconext layui-layer-imgprev"></a><a href="javascript:;" class="layui-layer-iconext layui-layer-imgnext"></a></span>' : "") + '<div class="layui-layer-imgbar" style="display:' + (a ? "block" : "") + '"><span class="layui-layer-imgtit"><a href="javascript:;">' + (u[d].alt || "") + "</a><em>" + s.imgIndex + "/" + u.length + "</em></span></div></div></div>",
|
||||
success: function (e, i) {
|
||||
s.bigimg = e.find(".layui-layer-phimg"), s.imgsee = e.find(".layui-layer-imguide,.layui-layer-imgbar"), s.event(e), t.tab && t.tab(u[d], e), "function" == typeof y && y(e)
|
||||
},
|
||||
end: function () {
|
||||
s.end = !0, i(document).off("keyup", s.keyup)
|
||||
}
|
||||
}, t))
|
||||
}, function () {
|
||||
r.close(s.loadi), r.msg("当前图片地址异常<br>是否继续查看下一张?", {
|
||||
time: 3e4,
|
||||
btn: ["下一张", "不看了"],
|
||||
yes: function () {
|
||||
u.length > 1 && s.imgnext(!0, !0)
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
}, o.run = function (t) {
|
||||
i = t, n = i(e), l.html = i("html"), r.open = function (e) {
|
||||
var t = new s(e);
|
||||
return t.index
|
||||
}
|
||||
}, e.layui && layui.define ? (r.ready(), layui.define("jquery", function (t) {
|
||||
r.path = layui.cache.dir, o.run(layui.$), e.layer = r, t("layer", r)
|
||||
})) : "function" == typeof define && define.amd ? define(["jquery"], function () {
|
||||
return o.run(e.jQuery), r
|
||||
}) : function () {
|
||||
o.run(e.jQuery), r.ready()
|
||||
}()
|
||||
}(window);
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
/*! layer mobile-v2.0.0 Web弹层组件 MIT License http://layer.layui.com/mobile By 贤心 */
|
||||
;!function(e){"use strict";var t=document,n="querySelectorAll",i="getElementsByClassName",a=function(e){return t[n](e)},s={type:0,shade:!0,shadeClose:!0,fixed:!0,anim:"scale"},l={extend:function(e){var t=JSON.parse(JSON.stringify(s));for(var n in e)t[n]=e[n];return t},timer:{},end:{}};l.touch=function(e,t){e.addEventListener("click",function(e){t.call(this,e)},!1)};var r=0,o=["layui-m-layer"],c=function(e){var t=this;t.config=l.extend(e),t.view()};c.prototype.view=function(){var e=this,n=e.config,s=t.createElement("div");e.id=s.id=o[0]+r,s.setAttribute("class",o[0]+" "+o[0]+(n.type||0)),s.setAttribute("index",r);var l=function(){var e="object"==typeof n.title;return n.title?'<h3 style="'+(e?n.title[1]:"")+'">'+(e?n.title[0]:n.title)+"</h3>":""}(),c=function(){"string"==typeof n.btn&&(n.btn=[n.btn]);var e,t=(n.btn||[]).length;return 0!==t&&n.btn?(e='<span yes type="1">'+n.btn[0]+"</span>",2===t&&(e='<span no type="0">'+n.btn[1]+"</span>"+e),'<div class="layui-m-layerbtn">'+e+"</div>"):""}();if(n.fixed||(n.top=n.hasOwnProperty("top")?n.top:100,n.style=n.style||"",n.style+=" top:"+(t.body.scrollTop+n.top)+"px"),2===n.type&&(n.content='<i></i><i class="layui-m-layerload"></i><i></i><p>'+(n.content||"")+"</p>"),n.skin&&(n.anim="up"),"msg"===n.skin&&(n.shade=!1),s.innerHTML=(n.shade?"<div "+("string"==typeof n.shade?'style="'+n.shade+'"':"")+' class="layui-m-layershade"></div>':"")+'<div class="layui-m-layermain" '+(n.fixed?"":'style="position:static;"')+'><div class="layui-m-layersection"><div class="layui-m-layerchild '+(n.skin?"layui-m-layer-"+n.skin+" ":"")+(n.className?n.className:"")+" "+(n.anim?"layui-m-anim-"+n.anim:"")+'" '+(n.style?'style="'+n.style+'"':"")+">"+l+'<div class="layui-m-layercont">'+n.content+"</div>"+c+"</div></div></div>",!n.type||2===n.type){var d=t[i](o[0]+n.type),y=d.length;y>=1&&layer.close(d[0].getAttribute("index"))}document.body.appendChild(s);var u=e.elem=a("#"+e.id)[0];n.success&&n.success(u),e.index=r++,e.action(n,u)},c.prototype.action=function(e,t){var n=this;e.time&&(l.timer[n.index]=setTimeout(function(){layer.close(n.index)},1e3*e.time));var a=function(){var t=this.getAttribute("type");0==t?(e.no&&e.no(),layer.close(n.index)):e.yes?e.yes(n.index):layer.close(n.index)};if(e.btn)for(var s=t[i]("layui-m-layerbtn")[0].children,r=s.length,o=0;o<r;o++)l.touch(s[o],a);if(e.shade&&e.shadeClose){var c=t[i]("layui-m-layershade")[0];l.touch(c,function(){layer.close(n.index,e.end)})}e.end&&(l.end[n.index]=e.end)},e.layer={v:"2.0",index:r,open:function(e){var t=new c(e||{});return t.index},close:function(e){var n=a("#"+o[0]+e)[0];n&&(n.innerHTML="",t.body.removeChild(n),clearTimeout(l.timer[e]),delete l.timer[e],"function"==typeof l.end[e]&&l.end[e](),delete l.end[e])},closeAll:function(){for(var e=t[i](o[0]),n=0,a=e.length;n<a;n++)layer.close(0|e[0].getAttribute("index"))}},"function"==typeof define?define(function(){return layer}):function(){var e=document.scripts,n=e[e.length-1],i=n.src,a=i.substring(0,i.lastIndexOf("/")+1);n.getAttribute("merge")||document.head.appendChild(function(){var e=t.createElement("link");return e.href=a+"need/layer.css?2.0",e.type="text/css",e.rel="styleSheet",e.id="layermcss",e}())}()}(window);
|
||||
|
|
@ -0,0 +1,363 @@
|
|||
.layui-m-layer {
|
||||
position: relative;
|
||||
z-index: 19891014
|
||||
}
|
||||
|
||||
.layui-m-layer * {
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box
|
||||
}
|
||||
|
||||
.layui-m-layermain,
|
||||
.layui-m-layershade {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%
|
||||
}
|
||||
|
||||
.layui-m-layershade {
|
||||
background-color: rgba(0, 0, 0, .7);
|
||||
pointer-events: auto
|
||||
}
|
||||
|
||||
.layui-m-layermain {
|
||||
display: table;
|
||||
font-family: Helvetica, arial, sans-serif;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.layui-m-layermain .layui-m-layersection {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.layui-m-layerchild {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
font-size: 14px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, .1);
|
||||
pointer-events: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both;
|
||||
-webkit-animation-duration: .2s;
|
||||
animation-duration: .2s
|
||||
}
|
||||
|
||||
@-webkit-keyframes layui-m-anim-scale {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.5);
|
||||
transform: scale(.5)
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes layui-m-anim-scale {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.5);
|
||||
transform: scale(.5)
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
.layui-m-anim-scale {
|
||||
animation-name: layui-m-anim-scale;
|
||||
-webkit-animation-name: layui-m-anim-scale
|
||||
}
|
||||
|
||||
@-webkit-keyframes layui-m-anim-up {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateY(800px);
|
||||
transform: translateY(800px)
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateY(0);
|
||||
transform: translateY(0)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes layui-m-anim-up {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateY(800px);
|
||||
transform: translateY(800px)
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateY(0);
|
||||
transform: translateY(0)
|
||||
}
|
||||
}
|
||||
|
||||
.layui-m-anim-up {
|
||||
-webkit-animation-name: layui-m-anim-up;
|
||||
animation-name: layui-m-anim-up
|
||||
}
|
||||
|
||||
.layui-m-layer0 .layui-m-layerchild {
|
||||
width: 90%;
|
||||
max-width: 640px
|
||||
}
|
||||
|
||||
.layui-m-layer1 .layui-m-layerchild {
|
||||
border: none;
|
||||
border-radius: 0
|
||||
}
|
||||
|
||||
.layui-m-layer2 .layui-m-layerchild {
|
||||
width: auto;
|
||||
max-width: 260px;
|
||||
min-width: 40px;
|
||||
border: none;
|
||||
background: 0 0;
|
||||
box-shadow: none;
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.layui-m-layerchild h3 {
|
||||
padding: 0 10px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
border-radius: 5px 5px 0 0;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.layui-m-layerbtn span,
|
||||
.layui-m-layerchild h3 {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap
|
||||
}
|
||||
|
||||
.layui-m-layercont {
|
||||
padding: 50px 30px;
|
||||
line-height: 22px;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.layui-m-layer1 .layui-m-layercont {
|
||||
padding: 0;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
.layui-m-layer2 .layui-m-layercont {
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
line-height: 0
|
||||
}
|
||||
|
||||
.layui-m-layer2 .layui-m-layercont i {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
margin-left: 8px;
|
||||
display: inline-block;
|
||||
background-color: #fff;
|
||||
border-radius: 100%;
|
||||
-webkit-animation: layui-m-anim-loading 1.4s infinite ease-in-out;
|
||||
animation: layui-m-anim-loading 1.4s infinite ease-in-out;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both
|
||||
}
|
||||
|
||||
.layui-m-layerbtn,
|
||||
.layui-m-layerbtn span {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
border-radius: 0 0 5px 5px
|
||||
}
|
||||
|
||||
.layui-m-layer2 .layui-m-layercont p {
|
||||
margin-top: 20px
|
||||
}
|
||||
|
||||
@-webkit-keyframes layui-m-anim-loading {
|
||||
|
||||
0%,
|
||||
100%,
|
||||
80% {
|
||||
transform: scale(0);
|
||||
-webkit-transform: scale(0)
|
||||
}
|
||||
|
||||
40% {
|
||||
transform: scale(1);
|
||||
-webkit-transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes layui-m-anim-loading {
|
||||
|
||||
0%,
|
||||
100%,
|
||||
80% {
|
||||
transform: scale(0);
|
||||
-webkit-transform: scale(0)
|
||||
}
|
||||
|
||||
40% {
|
||||
transform: scale(1);
|
||||
-webkit-transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
.layui-m-layer2 .layui-m-layercont i:first-child {
|
||||
margin-left: 0;
|
||||
-webkit-animation-delay: -.32s;
|
||||
animation-delay: -.32s
|
||||
}
|
||||
|
||||
.layui-m-layer2 .layui-m-layercont i.layui-m-layerload {
|
||||
-webkit-animation-delay: -.16s;
|
||||
animation-delay: -.16s
|
||||
}
|
||||
|
||||
.layui-m-layer2 .layui-m-layercont>div {
|
||||
line-height: 22px;
|
||||
padding-top: 7px;
|
||||
margin-bottom: 20px;
|
||||
font-size: 14px
|
||||
}
|
||||
|
||||
.layui-m-layerbtn {
|
||||
display: box;
|
||||
display: -moz-box;
|
||||
display: -webkit-box;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
font-size: 0;
|
||||
border-top: 1px solid #D0D0D0;
|
||||
background-color: #F2F2F2
|
||||
}
|
||||
|
||||
.layui-m-layerbtn span {
|
||||
display: block;
|
||||
-moz-box-flex: 1;
|
||||
box-flex: 1;
|
||||
-webkit-box-flex: 1;
|
||||
font-size: 14px;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.layui-m-layerbtn span[yes] {
|
||||
color: #40AFFE
|
||||
}
|
||||
|
||||
.layui-m-layerbtn span[no] {
|
||||
border-right: 1px solid #D0D0D0;
|
||||
border-radius: 0 0 0 5px
|
||||
}
|
||||
|
||||
.layui-m-layerbtn span:active {
|
||||
background-color: #F6F6F6
|
||||
}
|
||||
|
||||
.layui-m-layerend {
|
||||
position: absolute;
|
||||
right: 7px;
|
||||
top: 10px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 0;
|
||||
font-weight: 400;
|
||||
background: 0 0;
|
||||
cursor: pointer;
|
||||
-webkit-appearance: none;
|
||||
font-size: 30px
|
||||
}
|
||||
|
||||
.layui-m-layerend::after,
|
||||
.layui-m-layerend::before {
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: 15px;
|
||||
content: '';
|
||||
width: 18px;
|
||||
height: 1px;
|
||||
background-color: #999;
|
||||
transform: rotate(45deg);
|
||||
-webkit-transform: rotate(45deg);
|
||||
border-radius: 3px
|
||||
}
|
||||
|
||||
.layui-m-layerend::after {
|
||||
transform: rotate(-45deg);
|
||||
-webkit-transform: rotate(-45deg)
|
||||
}
|
||||
|
||||
body .layui-m-layer .layui-m-layer-footer {
|
||||
position: fixed;
|
||||
width: 95%;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 10px;
|
||||
background: 0 0
|
||||
}
|
||||
|
||||
.layui-m-layer-footer .layui-m-layercont {
|
||||
padding: 20px;
|
||||
border-radius: 5px 5px 0 0;
|
||||
background-color: rgba(255, 255, 255, .8)
|
||||
}
|
||||
|
||||
.layui-m-layer-footer .layui-m-layerbtn {
|
||||
display: block;
|
||||
height: auto;
|
||||
background: 0 0;
|
||||
border-top: none
|
||||
}
|
||||
|
||||
.layui-m-layer-footer .layui-m-layerbtn span {
|
||||
background-color: rgba(255, 255, 255, .8)
|
||||
}
|
||||
|
||||
.layui-m-layer-footer .layui-m-layerbtn span[no] {
|
||||
color: #FD482C;
|
||||
border-top: 1px solid #c2c2c2;
|
||||
border-radius: 0 0 5px 5px
|
||||
}
|
||||
|
||||
.layui-m-layer-footer .layui-m-layerbtn span[yes] {
|
||||
margin-top: 10px;
|
||||
border-radius: 5px
|
||||
}
|
||||
|
||||
body .layui-m-layer .layui-m-layer-msg {
|
||||
width: auto;
|
||||
max-width: 90%;
|
||||
margin: 0 auto;
|
||||
bottom: -150px;
|
||||
background-color: rgba(0, 0, 0, .7);
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.layui-m-layer-msg .layui-m-layercont {
|
||||
padding: 10px 20px
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
|
@ -0,0 +1,971 @@
|
|||
.layui-layer-imgbar,
|
||||
.layui-layer-imgtit a,
|
||||
.layui-layer-tab .layui-layer-title span,
|
||||
.layui-layer-title {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap
|
||||
}
|
||||
|
||||
html #layuicss-layer {
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 1989px
|
||||
}
|
||||
|
||||
.layui-layer,
|
||||
.layui-layer-shade {
|
||||
position: fixed;
|
||||
_position: absolute;
|
||||
pointer-events: auto
|
||||
}
|
||||
|
||||
.layui-layer-shade {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
_height: expression(document.body.offsetHeight+"px")
|
||||
}
|
||||
|
||||
.layui-layer {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
top: 150px;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #fff;
|
||||
-webkit-background-clip: content;
|
||||
border-radius: 2px;
|
||||
box-shadow: 1px 1px 50px rgba(0, 0, 0, .3)
|
||||
}
|
||||
|
||||
.layui-layer-close {
|
||||
position: absolute;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.layui-layer-content {
|
||||
position: relative;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.layui-layer-border {
|
||||
border: 1px solid #B2B2B2;
|
||||
border: 1px solid rgba(0, 0, 0, .1);
|
||||
box-shadow: 1px 1px 5px rgba(0, 0, 0, .2)
|
||||
}
|
||||
|
||||
.layui-layer-load {
|
||||
background: url(loading-1.gif) center center no-repeat #eee
|
||||
}
|
||||
|
||||
.layui-layer-ico {
|
||||
background: url(icon.png) no-repeat
|
||||
}
|
||||
|
||||
.layui-layer-btn a,
|
||||
.layui-layer-dialog .layui-layer-ico,
|
||||
.layui-layer-setwin a {
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
*zoom: 1;
|
||||
vertical-align: top
|
||||
}
|
||||
|
||||
.layui-layer-move {
|
||||
display: none;
|
||||
position: fixed;
|
||||
*position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: move;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
background-color: #fff;
|
||||
z-index: 2147483647
|
||||
}
|
||||
|
||||
.layui-layer-resize {
|
||||
position: absolute;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
cursor: se-resize
|
||||
}
|
||||
|
||||
.layer-anim {
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both;
|
||||
-webkit-animation-duration: .3s;
|
||||
animation-duration: .3s
|
||||
}
|
||||
|
||||
@-webkit-keyframes layer-bounceIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.5);
|
||||
transform: scale(.5)
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes layer-bounceIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.5);
|
||||
-ms-transform: scale(.5);
|
||||
transform: scale(.5)
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
.layer-anim-00 {
|
||||
-webkit-animation-name: layer-bounceIn;
|
||||
animation-name: layer-bounceIn
|
||||
}
|
||||
|
||||
@-webkit-keyframes layer-zoomInDown {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateY(-2000px);
|
||||
transform: scale(.1) translateY(-2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateY(60px);
|
||||
transform: scale(.475) translateY(60px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes layer-zoomInDown {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateY(-2000px);
|
||||
-ms-transform: scale(.1) translateY(-2000px);
|
||||
transform: scale(.1) translateY(-2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateY(60px);
|
||||
-ms-transform: scale(.475) translateY(60px);
|
||||
transform: scale(.475) translateY(60px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out
|
||||
}
|
||||
}
|
||||
|
||||
.layer-anim-01 {
|
||||
-webkit-animation-name: layer-zoomInDown;
|
||||
animation-name: layer-zoomInDown
|
||||
}
|
||||
|
||||
@-webkit-keyframes layer-fadeInUpBig {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateY(2000px);
|
||||
transform: translateY(2000px)
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateY(0);
|
||||
transform: translateY(0)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes layer-fadeInUpBig {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateY(2000px);
|
||||
-ms-transform: translateY(2000px);
|
||||
transform: translateY(2000px)
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateY(0);
|
||||
-ms-transform: translateY(0);
|
||||
transform: translateY(0)
|
||||
}
|
||||
}
|
||||
|
||||
.layer-anim-02 {
|
||||
-webkit-animation-name: layer-fadeInUpBig;
|
||||
animation-name: layer-fadeInUpBig
|
||||
}
|
||||
|
||||
@-webkit-keyframes layer-zoomInLeft {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateX(-2000px);
|
||||
transform: scale(.1) translateX(-2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateX(48px);
|
||||
transform: scale(.475) translateX(48px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes layer-zoomInLeft {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateX(-2000px);
|
||||
-ms-transform: scale(.1) translateX(-2000px);
|
||||
transform: scale(.1) translateX(-2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateX(48px);
|
||||
-ms-transform: scale(.475) translateX(48px);
|
||||
transform: scale(.475) translateX(48px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out
|
||||
}
|
||||
}
|
||||
|
||||
.layer-anim-03 {
|
||||
-webkit-animation-name: layer-zoomInLeft;
|
||||
animation-name: layer-zoomInLeft
|
||||
}
|
||||
|
||||
@-webkit-keyframes layer-rollIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(-100%) rotate(-120deg);
|
||||
transform: translateX(-100%) rotate(-120deg)
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(0) rotate(0);
|
||||
transform: translateX(0) rotate(0)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes layer-rollIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(-100%) rotate(-120deg);
|
||||
-ms-transform: translateX(-100%) rotate(-120deg);
|
||||
transform: translateX(-100%) rotate(-120deg)
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(0) rotate(0);
|
||||
-ms-transform: translateX(0) rotate(0);
|
||||
transform: translateX(0) rotate(0)
|
||||
}
|
||||
}
|
||||
|
||||
.layer-anim-04 {
|
||||
-webkit-animation-name: layer-rollIn;
|
||||
animation-name: layer-rollIn
|
||||
}
|
||||
|
||||
@keyframes layer-fadeIn {
|
||||
0% {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
|
||||
.layer-anim-05 {
|
||||
-webkit-animation-name: layer-fadeIn;
|
||||
animation-name: layer-fadeIn
|
||||
}
|
||||
|
||||
@-webkit-keyframes layer-shake {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
-webkit-transform: translateX(0);
|
||||
transform: translateX(0)
|
||||
}
|
||||
|
||||
10%,
|
||||
30%,
|
||||
50%,
|
||||
70%,
|
||||
90% {
|
||||
-webkit-transform: translateX(-10px);
|
||||
transform: translateX(-10px)
|
||||
}
|
||||
|
||||
20%,
|
||||
40%,
|
||||
60%,
|
||||
80% {
|
||||
-webkit-transform: translateX(10px);
|
||||
transform: translateX(10px)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes layer-shake {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
-webkit-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0)
|
||||
}
|
||||
|
||||
10%,
|
||||
30%,
|
||||
50%,
|
||||
70%,
|
||||
90% {
|
||||
-webkit-transform: translateX(-10px);
|
||||
-ms-transform: translateX(-10px);
|
||||
transform: translateX(-10px)
|
||||
}
|
||||
|
||||
20%,
|
||||
40%,
|
||||
60%,
|
||||
80% {
|
||||
-webkit-transform: translateX(10px);
|
||||
-ms-transform: translateX(10px);
|
||||
transform: translateX(10px)
|
||||
}
|
||||
}
|
||||
|
||||
.layer-anim-06 {
|
||||
-webkit-animation-name: layer-shake;
|
||||
animation-name: layer-shake
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
|
||||
.layui-layer-title {
|
||||
padding: 0 80px 0 20px;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
border-bottom: 1px solid #eee;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
overflow: hidden;
|
||||
background-color: #F8F8F8;
|
||||
border-radius: 2px 2px 0 0
|
||||
}
|
||||
|
||||
.layui-layer-setwin {
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
*right: 0;
|
||||
top: 15px;
|
||||
font-size: 0;
|
||||
line-height: initial
|
||||
}
|
||||
|
||||
.layui-layer-setwin a {
|
||||
position: relative;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-left: 10px;
|
||||
font-size: 12px;
|
||||
_overflow: hidden
|
||||
}
|
||||
|
||||
.layui-layer-setwin .layui-layer-min cite {
|
||||
position: absolute;
|
||||
width: 14px;
|
||||
height: 2px;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
margin-top: -1px;
|
||||
background-color: #2E2D3C;
|
||||
cursor: pointer;
|
||||
_overflow: hidden
|
||||
}
|
||||
|
||||
.layui-layer-setwin .layui-layer-min:hover cite {
|
||||
background-color: #2D93CA
|
||||
}
|
||||
|
||||
.layui-layer-setwin .layui-layer-max {
|
||||
background-position: -32px -40px
|
||||
}
|
||||
|
||||
.layui-layer-setwin .layui-layer-max:hover {
|
||||
background-position: -16px -40px
|
||||
}
|
||||
|
||||
.layui-layer-setwin .layui-layer-maxmin {
|
||||
background-position: -65px -40px
|
||||
}
|
||||
|
||||
.layui-layer-setwin .layui-layer-maxmin:hover {
|
||||
background-position: -49px -40px
|
||||
}
|
||||
|
||||
.layui-layer-setwin .layui-layer-close1 {
|
||||
background-position: 1px -40px;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.layui-layer-setwin .layui-layer-close1:hover {
|
||||
opacity: .7
|
||||
}
|
||||
|
||||
.layui-layer-setwin .layui-layer-close2 {
|
||||
position: absolute;
|
||||
right: -28px;
|
||||
top: -28px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin-left: 0;
|
||||
background-position: -149px -31px;
|
||||
*right: -18px;
|
||||
_display: none
|
||||
}
|
||||
|
||||
.layui-layer-setwin .layui-layer-close2:hover {
|
||||
background-position: -180px -31px
|
||||
}
|
||||
|
||||
.layui-layer-btn {
|
||||
text-align: right;
|
||||
padding: 0 15px 12px;
|
||||
pointer-events: auto;
|
||||
user-select: none;
|
||||
-webkit-user-select: none
|
||||
}
|
||||
|
||||
.layui-layer-btn a {
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
margin: 5px 5px 0;
|
||||
padding: 0 15px;
|
||||
border: 1px solid #dedede;
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
border-radius: 2px;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
.layui-layer-btn a:hover {
|
||||
opacity: .9;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
.layui-layer-btn a:active {
|
||||
opacity: .8
|
||||
}
|
||||
|
||||
.layui-layer-btn .layui-layer-btn0 {
|
||||
border-color: #1E9FFF;
|
||||
background-color: #1E9FFF;
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.layui-layer-btn-l {
|
||||
text-align: left
|
||||
}
|
||||
|
||||
.layui-layer-btn-c {
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.layui-layer-dialog {
|
||||
min-width: 260px
|
||||
}
|
||||
|
||||
.layui-layer-dialog .layui-layer-content {
|
||||
position: relative;
|
||||
padding: 20px;
|
||||
line-height: 24px;
|
||||
word-break: break-all;
|
||||
overflow: hidden;
|
||||
font-size: 14px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto
|
||||
}
|
||||
|
||||
.layui-layer-dialog .layui-layer-content .layui-layer-ico {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 15px;
|
||||
_left: -40px;
|
||||
width: 30px;
|
||||
height: 30px
|
||||
}
|
||||
|
||||
.layui-layer-ico1 {
|
||||
color: #000;
|
||||
background-position: -30px 0
|
||||
}
|
||||
|
||||
.layui-layer-ico2 {
|
||||
background-position: -60px 0
|
||||
}
|
||||
|
||||
.layui-layer-ico3 {
|
||||
background-position: -90px 0
|
||||
}
|
||||
|
||||
.layui-layer-ico4 {
|
||||
background-position: -120px 0
|
||||
}
|
||||
|
||||
.layui-layer-ico5 {
|
||||
background-position: -150px 0
|
||||
}
|
||||
|
||||
.layui-layer-ico6 {
|
||||
background-position: -180px 0
|
||||
}
|
||||
|
||||
.layui-layer-rim {
|
||||
border: 6px solid #8D8D8D;
|
||||
border: 6px solid rgba(0, 0, 0, .3);
|
||||
border-radius: 5px;
|
||||
box-shadow: none
|
||||
}
|
||||
|
||||
.layui-layer-msg {
|
||||
min-width: 180px;
|
||||
border: 1px solid #D3D4D3;
|
||||
box-shadow: none
|
||||
}
|
||||
|
||||
.layui-layer-hui {
|
||||
min-width: 100px;
|
||||
background-color: #000;
|
||||
filter: alpha(opacity=60);
|
||||
background-color: rgba(0, 0, 0, .6);
|
||||
color: #000;
|
||||
border: none
|
||||
}
|
||||
|
||||
.layui-layer-hui .layui-layer-content {
|
||||
padding: 12px 25px;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.layui-layer-dialog .layui-layer-padding {
|
||||
padding: 20px 20px 20px 55px;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
.layui-layer-page .layui-layer-content {
|
||||
position: relative;
|
||||
overflow: auto
|
||||
}
|
||||
|
||||
.layui-layer-iframe .layui-layer-btn,
|
||||
.layui-layer-page .layui-layer-btn {
|
||||
padding-top: 10px
|
||||
}
|
||||
|
||||
.layui-layer-nobg {
|
||||
background: 0 0
|
||||
}
|
||||
|
||||
.layui-layer-iframe iframe {
|
||||
display: block;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.layui-layer-loading {
|
||||
border-radius: 100%;
|
||||
background: 0 0;
|
||||
box-shadow: none;
|
||||
border: none
|
||||
}
|
||||
|
||||
.layui-layer-loading .layui-layer-content {
|
||||
width: 60px;
|
||||
height: 24px;
|
||||
background: url(loading-0.gif) no-repeat
|
||||
}
|
||||
|
||||
.layui-layer-loading .layui-layer-loading1 {
|
||||
width: 37px;
|
||||
height: 37px;
|
||||
background: url(loading-1.gif) no-repeat
|
||||
}
|
||||
|
||||
.layui-layer-ico16,
|
||||
.layui-layer-loading .layui-layer-loading2 {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: url(loading-2.gif) no-repeat
|
||||
}
|
||||
|
||||
.layui-layer-tips {
|
||||
background: 0 0;
|
||||
box-shadow: none;
|
||||
border: none
|
||||
}
|
||||
|
||||
.layui-layer-tips .layui-layer-content {
|
||||
position: relative;
|
||||
line-height: 22px;
|
||||
min-width: 12px;
|
||||
padding: 8px 15px;
|
||||
font-size: 12px;
|
||||
_float: left;
|
||||
border-radius: 2px;
|
||||
box-shadow: 1px 1px 3px rgba(0, 0, 0, .2);
|
||||
background-color: #000;
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.layui-layer-tips .layui-layer-close {
|
||||
right: -2px;
|
||||
top: -1px
|
||||
}
|
||||
|
||||
.layui-layer-tips i.layui-layer-TipsG {
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-width: 8px;
|
||||
border-color: transparent;
|
||||
border-style: dashed;
|
||||
*overflow: hidden
|
||||
}
|
||||
|
||||
.layui-layer-tips i.layui-layer-TipsB,
|
||||
.layui-layer-tips i.layui-layer-TipsT {
|
||||
left: 5px;
|
||||
border-right-style: solid;
|
||||
border-right-color: #000
|
||||
}
|
||||
|
||||
.layui-layer-tips i.layui-layer-TipsT {
|
||||
bottom: -8px
|
||||
}
|
||||
|
||||
.layui-layer-tips i.layui-layer-TipsB {
|
||||
top: -8px
|
||||
}
|
||||
|
||||
.layui-layer-tips i.layui-layer-TipsL,
|
||||
.layui-layer-tips i.layui-layer-TipsR {
|
||||
top: 5px;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-color: #000
|
||||
}
|
||||
|
||||
.layui-layer-tips i.layui-layer-TipsR {
|
||||
left: -8px
|
||||
}
|
||||
|
||||
.layui-layer-tips i.layui-layer-TipsL {
|
||||
right: -8px
|
||||
}
|
||||
|
||||
.layui-layer-lan[type=dialog] {
|
||||
min-width: 280px
|
||||
}
|
||||
|
||||
.layui-layer-lan .layui-layer-title {
|
||||
background: #4476A7;
|
||||
color: #fff;
|
||||
border: none
|
||||
}
|
||||
|
||||
.layui-layer-lan .layui-layer-btn {
|
||||
padding: 5px 10px 10px;
|
||||
text-align: right;
|
||||
border-top: 1px solid #E9E7E7
|
||||
}
|
||||
|
||||
.layui-layer-lan .layui-layer-btn a {
|
||||
background: #fff;
|
||||
border-color: #E9E7E7;
|
||||
color: #333
|
||||
}
|
||||
|
||||
.layui-layer-lan .layui-layer-btn .layui-layer-btn1 {
|
||||
background: #C9C5C5
|
||||
}
|
||||
|
||||
.layui-layer-molv .layui-layer-title {
|
||||
background: #009f95;
|
||||
color: #fff;
|
||||
border: none
|
||||
}
|
||||
|
||||
.layui-layer-molv .layui-layer-btn a {
|
||||
background: #009f95;
|
||||
border-color: #009f95
|
||||
}
|
||||
|
||||
.layui-layer-molv .layui-layer-btn .layui-layer-btn1 {
|
||||
background: #92B8B1
|
||||
}
|
||||
|
||||
.layui-layer-iconext {
|
||||
background: url(icon-ext.png) no-repeat
|
||||
}
|
||||
|
||||
.layui-layer-prompt .layui-layer-input {
|
||||
display: block;
|
||||
width: 230px;
|
||||
height: 36px;
|
||||
margin: 0 auto;
|
||||
line-height: 30px;
|
||||
padding-left: 10px;
|
||||
border: 1px solid #e6e6e6;
|
||||
color: #333
|
||||
}
|
||||
|
||||
.layui-layer-prompt textarea.layui-layer-input {
|
||||
width: 300px;
|
||||
height: 100px;
|
||||
line-height: 20px;
|
||||
padding: 6px 10px
|
||||
}
|
||||
|
||||
.layui-layer-prompt .layui-layer-content {
|
||||
padding: 20px
|
||||
}
|
||||
|
||||
.layui-layer-prompt .layui-layer-btn {
|
||||
padding-top: 0
|
||||
}
|
||||
|
||||
.layui-layer-tab {
|
||||
box-shadow: 1px 1px 50px rgba(0, 0, 0, .4)
|
||||
}
|
||||
|
||||
.layui-layer-tab .layui-layer-title {
|
||||
padding-left: 0;
|
||||
overflow: visible
|
||||
}
|
||||
|
||||
.layui-layer-tab .layui-layer-title span {
|
||||
position: relative;
|
||||
float: left;
|
||||
min-width: 80px;
|
||||
max-width: 260px;
|
||||
padding: 0 20px;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.layui-layer-tab .layui-layer-title span.layui-this {
|
||||
height: 43px;
|
||||
border-left: 1px solid #eee;
|
||||
border-right: 1px solid #eee;
|
||||
background-color: #fff;
|
||||
z-index: 10
|
||||
}
|
||||
|
||||
.layui-layer-tab .layui-layer-title span:first-child {
|
||||
border-left: none
|
||||
}
|
||||
|
||||
.layui-layer-tabmain {
|
||||
line-height: 24px;
|
||||
clear: both
|
||||
}
|
||||
|
||||
.layui-layer-tabmain .layui-layer-tabli {
|
||||
display: none
|
||||
}
|
||||
|
||||
.layui-layer-tabmain .layui-layer-tabli.layui-this {
|
||||
display: block
|
||||
}
|
||||
|
||||
.layui-layer-photos {
|
||||
-webkit-animation-duration: .8s;
|
||||
animation-duration: .8s
|
||||
}
|
||||
|
||||
.layui-layer-photos .layui-layer-content {
|
||||
overflow: hidden;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.layui-layer-photos .layui-layer-phimg img {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
*zoom: 1;
|
||||
vertical-align: top
|
||||
}
|
||||
|
||||
.layui-layer-imgbar,
|
||||
.layui-layer-imguide {
|
||||
display: none
|
||||
}
|
||||
|
||||
.layui-layer-imgnext,
|
||||
.layui-layer-imgprev {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 27px;
|
||||
_width: 44px;
|
||||
height: 44px;
|
||||
margin-top: -22px;
|
||||
outline: 0;
|
||||
blr: expression(this.onFocus=this.blur())
|
||||
}
|
||||
|
||||
.layui-layer-imgprev {
|
||||
left: 10px;
|
||||
background-position: -5px -5px;
|
||||
_background-position: -70px -5px
|
||||
}
|
||||
|
||||
.layui-layer-imgprev:hover {
|
||||
background-position: -33px -5px;
|
||||
_background-position: -120px -5px
|
||||
}
|
||||
|
||||
.layui-layer-imgnext {
|
||||
right: 10px;
|
||||
_right: 8px;
|
||||
background-position: -5px -50px;
|
||||
_background-position: -70px -50px
|
||||
}
|
||||
|
||||
.layui-layer-imgnext:hover {
|
||||
background-position: -33px -50px;
|
||||
_background-position: -120px -50px
|
||||
}
|
||||
|
||||
.layui-layer-imgbar {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
background-color: rgba(0, 0, 0, .8);
|
||||
background-color: #000\9;
|
||||
filter: Alpha(opacity=80);
|
||||
color: #fff;
|
||||
overflow: hidden;
|
||||
font-size: 0
|
||||
}
|
||||
|
||||
.layui-layer-imgtit * {
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
*zoom: 1;
|
||||
vertical-align: top;
|
||||
font-size: 12px
|
||||
}
|
||||
|
||||
.layui-layer-imgtit a {
|
||||
max-width: 65%;
|
||||
overflow: hidden;
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.layui-layer-imgtit a:hover {
|
||||
color: #fff;
|
||||
text-decoration: underline
|
||||
}
|
||||
|
||||
.layui-layer-imgtit em {
|
||||
padding-left: 10px;
|
||||
font-style: normal
|
||||
}
|
||||
|
||||
@-webkit-keyframes layer-bounceOut {
|
||||
100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.7);
|
||||
transform: scale(.7)
|
||||
}
|
||||
|
||||
30% {
|
||||
-webkit-transform: scale(1.05);
|
||||
transform: scale(1.05)
|
||||
}
|
||||
|
||||
0% {
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes layer-bounceOut {
|
||||
100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.7);
|
||||
-ms-transform: scale(.7);
|
||||
transform: scale(.7)
|
||||
}
|
||||
|
||||
30% {
|
||||
-webkit-transform: scale(1.05);
|
||||
-ms-transform: scale(1.05);
|
||||
transform: scale(1.05)
|
||||
}
|
||||
|
||||
0% {
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
.layer-anim-close {
|
||||
-webkit-animation-name: layer-bounceOut;
|
||||
animation-name: layer-bounceOut;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both;
|
||||
-webkit-animation-duration: .2s;
|
||||
animation-duration: .2s
|
||||
}
|
||||
|
||||
@media screen and (max-width:1100px) {
|
||||
.layui-layer-iframe {
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 701 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
|
@ -0,0 +1,346 @@
|
|||
(function(window) {
|
||||
//兼容
|
||||
window.URL = window.URL || window.webkitURL;
|
||||
//请求麦克风
|
||||
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
|
||||
|
||||
var recorder = {};
|
||||
var dtcWs = {};
|
||||
var cb = {};
|
||||
|
||||
var Recorder = function(stream, config, name) {
|
||||
|
||||
config = config || {};
|
||||
config.sampleBits = config.sampleBits || 16; //输出采样数位 8, 16
|
||||
config.sampleRate = config.sampleRate || (8000); //输出采样率(1/6 48000)
|
||||
|
||||
// 音频上下文对象,可创建不同的AudioNode
|
||||
var context = new AudioContext();
|
||||
|
||||
//将声音输入这个对像
|
||||
var audioInput = context.createMediaStreamSource(stream);
|
||||
|
||||
//设置音量节点
|
||||
// var volume = context.createGain();
|
||||
// audioInput.connect(volume);
|
||||
|
||||
var recorder = context.createScriptProcessor(4096, 1, 1);
|
||||
|
||||
var audioData = {
|
||||
size: 0 //录音文件长度
|
||||
,
|
||||
buffer: [] //录音缓存
|
||||
,
|
||||
inputSampleRate: context.sampleRate //输入采样率
|
||||
,
|
||||
inputSampleBits: 16 //输入采样数位 8, 16
|
||||
,
|
||||
outputSampleRate: config.sampleRate,
|
||||
oututSampleBits: config.sampleBits,
|
||||
clear: function() {
|
||||
this.buffer = [];
|
||||
this.size = 0;
|
||||
}
|
||||
/**
|
||||
* @param {!Float32Array} data
|
||||
*/
|
||||
,
|
||||
input: function(data) {
|
||||
this.buffer.push(new Float32Array(data));
|
||||
this.size += data.length;
|
||||
},
|
||||
compress: function() { //合并压缩
|
||||
//合并
|
||||
var data = new Float32Array(this.size);
|
||||
var offset = 0;
|
||||
for (var i = 0; i < this.buffer.length; i++) {
|
||||
data.set(this.buffer[i], offset);
|
||||
offset += this.buffer[i].length;
|
||||
}
|
||||
//压缩
|
||||
var compression = parseInt(this.inputSampleRate / this.outputSampleRate);
|
||||
var length = data.length / compression;
|
||||
var result = new Float32Array(length);
|
||||
var index = 0,
|
||||
j = 0;
|
||||
while (index < length) {
|
||||
result[index] = data[j];
|
||||
j += compression;
|
||||
index++;
|
||||
}
|
||||
return result;
|
||||
},
|
||||
floatTo16BitPCM: function(input, output) {
|
||||
for (var i = 0; i < input.length; i++) {
|
||||
var s = Math.max(-1, Math.min(1, input[i]));
|
||||
output[i] = (s < 0 ? s * 0x8000 : s * 0x7FFF);
|
||||
}
|
||||
},
|
||||
convertBuffer: function() {
|
||||
var bytes = this.compress();
|
||||
//console.log(bytes);
|
||||
var data = new Float32Array(bytes);
|
||||
var out = new Int16Array(bytes.length);
|
||||
this.floatTo16BitPCM(data, out);
|
||||
return out;
|
||||
},
|
||||
encodePCM: function() {
|
||||
// PCM
|
||||
var bytes = this.convertBuffer();
|
||||
var data = new DataView(bytes.buffer);
|
||||
return data;
|
||||
},
|
||||
encodeG711A: function() { //转G711A
|
||||
// G711A
|
||||
var smaples = this.convertBuffer();
|
||||
var g7111aBuf = alawmulaw.alaw.encode(smaples);
|
||||
return g7111aBuf;
|
||||
},
|
||||
encodeG711aBuffer: function() {
|
||||
// DataView
|
||||
var smaples = this.convertBuffer();
|
||||
var g7111aBuf = alawmulaw.alaw.encode(smaples);
|
||||
var data = new DataView(g7111aBuf.buffer);
|
||||
return data;
|
||||
}
|
||||
};
|
||||
|
||||
//开始录音
|
||||
this.start = function() {
|
||||
audioInput.connect(recorder);
|
||||
recorder.connect(context.destination);
|
||||
};
|
||||
|
||||
//停止
|
||||
this.stop = function() {
|
||||
audioInput.disconnect();
|
||||
recorder.disconnect();
|
||||
};
|
||||
|
||||
this.getData = function() {
|
||||
return audioData.encodeG711A();
|
||||
};
|
||||
|
||||
//回放
|
||||
this.play = function(audio) {
|
||||
audio.src = window.URL.createObjectURL(this.getBlob());
|
||||
};
|
||||
|
||||
//获取音频文件
|
||||
this.getBuffer = function() {
|
||||
//return audioData.encodePCM();
|
||||
return audioData.encodeG711aBuffer();
|
||||
};
|
||||
//清空缓存
|
||||
this.clear = function() {
|
||||
audioData.clear();
|
||||
};
|
||||
|
||||
//音频采集
|
||||
var that = this;
|
||||
recorder.onaudioprocess = function(e) {
|
||||
audioData.input(e.inputBuffer.getChannelData(0));
|
||||
var data = that.getData();
|
||||
// getG711A(data);
|
||||
if (dtcWs[name]) {
|
||||
dtcWs[name].send(data);
|
||||
};
|
||||
that.clear();
|
||||
};
|
||||
};
|
||||
//抛出异常
|
||||
Recorder.throwError = function(message) {
|
||||
throw new function() { this.toString = function() { console.log(message) }; };
|
||||
};
|
||||
//是否支持录音
|
||||
Recorder.canRecording = (navigator.getUserMedia != null);
|
||||
//获取录音机
|
||||
Recorder.get = function(callback, config, name) {
|
||||
if (callback) {
|
||||
if (navigator.getUserMedia) {
|
||||
navigator.getUserMedia({ audio: true } //只启用音频
|
||||
,
|
||||
function(stream) {
|
||||
var rec = new Recorder(stream, config, name);
|
||||
callback(rec);
|
||||
},
|
||||
function(error) {
|
||||
switch (error.code || error.name) {
|
||||
case 'PERMISSION_DENIED':
|
||||
case 'PermissionDeniedError':
|
||||
STRecorder.throwErr('用户拒绝提供信息。');
|
||||
break;
|
||||
case 'NOT_SUPPORTED_ERROR':
|
||||
case 'NotSupportedError':
|
||||
STRecorder.throwErr('浏览器不支持硬件设备。');
|
||||
break;
|
||||
case 'MANDATORY_UNSATISFIED_ERROR':
|
||||
case 'MandatoryUnsatisfiedError':
|
||||
STRecorder.throwErr('无法发现指定的硬件设备。');
|
||||
break;
|
||||
default:
|
||||
console.log('无法打开麦克风。异常信息:', error);
|
||||
STRecorder.throwErr('无法打开麦克风。异常信息:' + (error.code || error.name));
|
||||
break;
|
||||
}
|
||||
}
|
||||
);
|
||||
return;
|
||||
} else if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
|
||||
navigator.mediaDevices.getUserMedia({
|
||||
audio: true
|
||||
})
|
||||
.then(function(stream) {
|
||||
var rec = new Recorder(stream, config, name);
|
||||
callback(rec);
|
||||
}).catch(function(error) {
|
||||
switch (error.code || error.name) {
|
||||
case 'PERMISSION_DENIED':
|
||||
case 'PermissionDeniedError':
|
||||
Recorder.throwError('用户拒绝提供信息。');
|
||||
break;
|
||||
case 'NOT_SUPPORTED_ERROR':
|
||||
case 'NotSupportedError':
|
||||
Recorder.throwError('浏览器不支持硬件设备。');
|
||||
break;
|
||||
case 'MANDATORY_UNSATISFIED_ERROR':
|
||||
case 'MandatoryUnsatisfiedError':
|
||||
Recorder.throwError('无法发现指定的硬件设备。');
|
||||
break;
|
||||
default:
|
||||
Recorder.throwError('无法打开麦克风。异常信息:' + (error.code || error.name));
|
||||
break;
|
||||
}
|
||||
});
|
||||
return;
|
||||
} else {
|
||||
Recorder.throwError('当前浏览器不支持录音功能。');
|
||||
return;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function dtcWebsocket(websocket_url, IP, Port, Token, queryToken, name) { // 连接websocket
|
||||
|
||||
var ws = new WebSocket(websocket_url + '?token=' + queryToken + '&IP=' + IP + '&Port=' + Port + '&Token=' + Token + '&dtc=true');
|
||||
console.log(ws)
|
||||
ws.onopen = function(evt) {
|
||||
var message = {
|
||||
type: "websocket_success",
|
||||
msg: "dtc websocket连接成功"
|
||||
};
|
||||
if (cb[name]) {
|
||||
cb[name](message)
|
||||
};
|
||||
Recorder.get(function(rec) {
|
||||
recorder[name] = rec;
|
||||
recorder[name].start();
|
||||
}, {}, name);
|
||||
};
|
||||
ws.onmessage = function(data) {};
|
||||
|
||||
ws.onclose = function(evt) {
|
||||
var message = {
|
||||
type: "websocket_close",
|
||||
msg: "dtc websocket连接断开"
|
||||
};
|
||||
if (cb[name]) {
|
||||
cb[name](message)
|
||||
};
|
||||
recorder[name].stop(); //关闭采集数据
|
||||
recorder[name].clear(); //清空采集数据缓存
|
||||
recorder[name] = null;
|
||||
dtcWs[name] = null; //清空websocket
|
||||
cb[name] = null;
|
||||
};
|
||||
|
||||
ws.onerror = function(evt) {
|
||||
var message = {
|
||||
type: "websocket_error",
|
||||
msg: evt
|
||||
};
|
||||
if (cb[name]) {
|
||||
cb[name](message)
|
||||
};
|
||||
recorder[name].stop();
|
||||
recorder[name].clear();
|
||||
recorder[name] = null;
|
||||
dtcWs[name] = null; //清空websocket
|
||||
cb[name] = null;
|
||||
};
|
||||
return ws;
|
||||
}
|
||||
window.Recorder = Recorder;
|
||||
|
||||
window.startCall = function(q2http_url, websocket_url, token, puid, idx, name, callback) { //开启对讲,每开启一个对讲就开启一个websocket,关闭对讲就要关闭websocket
|
||||
if (callback) {
|
||||
cb[name] = callback;
|
||||
}
|
||||
|
||||
var params = {
|
||||
puid: puid,
|
||||
idx: idx
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: q2http_url + "audio/startCall?token=" + token,
|
||||
data: params,
|
||||
traditional: true,
|
||||
dataType: 'json',
|
||||
async: false,
|
||||
complete: function(rv) {
|
||||
console.log(rv)
|
||||
var res = rv.responseJSON;
|
||||
console.log(res)
|
||||
if (res.hasOwnProperty('errcode')) {
|
||||
var message = {
|
||||
type: "startTalk_error",
|
||||
msg: res.data.message
|
||||
};
|
||||
if (cb[name]) {
|
||||
cb[name](message)
|
||||
};
|
||||
return;
|
||||
} else {
|
||||
console.log(name)
|
||||
dtcWs[name] = dtcWebsocket(websocket_url, res.IP, res.Port, res.Token, token, name);
|
||||
var message = {
|
||||
type: "startTalk_success",
|
||||
msg: "打开喊话成功"
|
||||
};
|
||||
if (cb[name]) {
|
||||
cb[name](message)
|
||||
};
|
||||
return;
|
||||
};
|
||||
},
|
||||
error: function(err) {
|
||||
console.log(err);
|
||||
}
|
||||
})
|
||||
};
|
||||
|
||||
window.stopCall = function(name) {
|
||||
if (recorder[name]) {
|
||||
dtcWs[name].close(); //关闭websocket
|
||||
var message = {
|
||||
type: "stopTalk_success",
|
||||
msg: "关闭喊话成功"
|
||||
};
|
||||
if (cb[name]) {
|
||||
cb[name](message)
|
||||
};
|
||||
return;
|
||||
} else {
|
||||
var message = {
|
||||
type: "stopTalk_error",
|
||||
msg: "未找到喊话无法停止喊话"
|
||||
};
|
||||
if (cb[name]) {
|
||||
cb[name](message)
|
||||
};
|
||||
return;
|
||||
};
|
||||
};
|
||||
})(window);
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
var q = function (d) {
|
||||
function e(a) {
|
||||
a = -32768 == a ? -32767 : a;
|
||||
var c = ~a >> 8 & 128;
|
||||
c || (a *= -1);
|
||||
32635 < a && (a = 32635);
|
||||
if (256 <= a) {
|
||||
var b = k[a >> 8 & 127];
|
||||
a = b << 4 | a >> b + 3 & 15
|
||||
} else a >>= 4;
|
||||
return a ^ c ^ 85
|
||||
}
|
||||
|
||||
function f(a) {
|
||||
var c = 0;
|
||||
a ^= 85;
|
||||
a & 128 && (a &= -129, c = -1);
|
||||
var b = ((a & 240) >> 4) + 4;
|
||||
a = 4 != b ? 1 << b | (a & 15) << b - 4 | 1 << b - 5 : a << 1 | 1;
|
||||
return -8 * (0 === c ? a : -a)
|
||||
}
|
||||
|
||||
function g(a) {
|
||||
var c = a >> 8 & 128;
|
||||
0 != c && (a = -a);
|
||||
32635 < a && (a = 32635);
|
||||
a += 132;
|
||||
var b = l[a >> 7 & 255];
|
||||
return ~(c | b << 4 | a >> b + 3 & 15)
|
||||
}
|
||||
|
||||
function h(a) {
|
||||
a = ~a;
|
||||
var c = a >> 4 & 7;
|
||||
c = m[c] + ((a & 15) << c + 3);
|
||||
0 != (a & 128) && (c = -c);
|
||||
return c
|
||||
}
|
||||
|
||||
var k = [1,
|
||||
1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7],
|
||||
n = Object.freeze({
|
||||
encodeSample: e, decodeSample: f, encode: function (a) {
|
||||
for (var c = new Uint8Array(a.length), b = 0; b < a.length; b++) c[b] = e(a[b]);
|
||||
return c
|
||||
}, decode: function (a) {
|
||||
for (var c = new Int16Array(a.length), b = 0; b < a.length; b++) c[b] = f(a[b]);
|
||||
return c
|
||||
}
|
||||
}), l = [0,
|
||||
0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
|
||||
7, 7, 7, 7], m = [0, 132, 396, 924, 1980, 4092, 8316, 16764], p = Object.freeze({
|
||||
encodeSample: g, decodeSample: h, encode: function (a) {
|
||||
for (var c = new Uint8Array(a.length), b = 0; b < a.length; b++) c[b] = g(a[b]);
|
||||
return c
|
||||
}, decode: function (a) {
|
||||
for (var c = new Int16Array(a.length), b = 0; b < a.length; b++) c[b] = h(a[b]);
|
||||
return c
|
||||
}
|
||||
});
|
||||
d.alaw = n;
|
||||
d.mulaw = p;
|
||||
return d
|
||||
}({});
|
||||
window.alawmulaw = q;
|
||||
|
|
@ -0,0 +1,199 @@
|
|||
/*
|
||||
### jQuery XML to JSON Plugin v1.3 - 2013-02-18 ###
|
||||
* http://www.fyneworks.com/ - diego@fyneworks.com
|
||||
* Licensed under http://en.wikipedia.org/wiki/MIT_License
|
||||
###
|
||||
Website: http://www.fyneworks.com/jquery/xml-to-json/
|
||||
*/
|
||||
/*
|
||||
# INSPIRED BY: http://www.terracoder.com/
|
||||
AND: http://www.thomasfrank.se/xml_to_json.html
|
||||
AND: http://www.kawa.net/works/js/xml/objtree-e.html
|
||||
*/
|
||||
/*
|
||||
This simple script converts XML (document of code) into a JSON object. It is the combination of 2
|
||||
'xml to json' great parsers (see below) which allows for both 'simple' and 'extended' parsing modes.
|
||||
*/
|
||||
// Avoid collisions
|
||||
; if (window.jQuery) (function ($) {
|
||||
|
||||
// Add function to jQuery namespace
|
||||
$.extend({
|
||||
|
||||
// converts xml documents and xml text to json object
|
||||
xml2json: function (xml, extended) {
|
||||
if (!xml) return {}; // quick fail
|
||||
|
||||
//### PARSER LIBRARY
|
||||
// Core function
|
||||
function parseXML(node, simple) {
|
||||
if (!node) return null;
|
||||
var txt = '', obj = null, att = null;
|
||||
var nt = node.nodeType, nn = jsVar(node.localName || node.nodeName);
|
||||
var nv = node.text || node.nodeValue || '';
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,nt,nv.length+' bytes']);
|
||||
if (node.childNodes) {
|
||||
if (node.childNodes.length > 0) {
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'CHILDREN',node.childNodes]);
|
||||
$.each(node.childNodes, function (n, cn) {
|
||||
var cnt = cn.nodeType, cnn = jsVar(cn.localName || cn.nodeName);
|
||||
var cnv = cn.text || cn.nodeValue || '';
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>a',cnn,cnt,cnv]);
|
||||
if (cnt == 8) {
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>b',cnn,'COMMENT (ignore)']);
|
||||
return; // ignore comment node
|
||||
}
|
||||
else if (cnt == 3 || cnt == 4 || !cnn) {
|
||||
// ignore white-space in between tags
|
||||
if (cnv.match(/^\s+$/)) {
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>c',cnn,'WHITE-SPACE (ignore)']);
|
||||
return;
|
||||
};
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>d',cnn,'TEXT']);
|
||||
txt += cnv.replace(/^\s+/, '').replace(/\s+$/, '');
|
||||
// make sure we ditch trailing spaces from markup
|
||||
}
|
||||
else {
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>e',cnn,'OBJECT']);
|
||||
obj = obj || {};
|
||||
if (obj[cnn]) {
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>f',cnn,'ARRAY']);
|
||||
|
||||
// http://forum.jquery.com/topic/jquery-jquery-xml2json-problems-when-siblings-of-the-same-tagname-only-have-a-textnode-as-a-child
|
||||
if (!obj[cnn].length) obj[cnn] = myArr(obj[cnn]);
|
||||
obj[cnn] = myArr(obj[cnn]);
|
||||
|
||||
obj[cnn][obj[cnn].length] = parseXML(cn, true/* simple */);
|
||||
obj[cnn].length = obj[cnn].length;
|
||||
}
|
||||
else {
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>g',cnn,'dig deeper...']);
|
||||
obj[cnn] = parseXML(cn);
|
||||
};
|
||||
};
|
||||
});
|
||||
}; //node.childNodes.length>0
|
||||
}; //node.childNodes
|
||||
if (node.attributes) {
|
||||
if (node.attributes.length > 0) {
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'ATTRIBUTES',node.attributes])
|
||||
att = {}; obj = obj || {};
|
||||
$.each(node.attributes, function (a, at) {
|
||||
//var atn = jsVar('@' + at.name), atv = at.value;
|
||||
// by lingsen 解决属性里有 @字符问题
|
||||
var atn = jsVar(at.name), atv = at.value;
|
||||
|
||||
att[atn] = atv;
|
||||
if (obj[atn]) {
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'attr>',atn,'ARRAY']);
|
||||
|
||||
// http://forum.jquery.com/topic/jquery-jquery-xml2json-problems-when-siblings-of-the-same-tagname-only-have-a-textnode-as-a-child
|
||||
//if(!obj[atn].length) obj[atn] = myArr(obj[atn]);//[ obj[ atn ] ];
|
||||
obj[cnn] = myArr(obj[cnn]);
|
||||
|
||||
obj[atn][obj[atn].length] = atv;
|
||||
obj[atn].length = obj[atn].length;
|
||||
}
|
||||
else {
|
||||
/*DBG*/ //if(window.console) console.log(['x2j',nn,'attr>',atn,'TEXT']);
|
||||
obj[atn] = atv;
|
||||
};
|
||||
});
|
||||
//obj['attributes'] = att;
|
||||
}; //node.attributes.length>0
|
||||
}; //node.attributes
|
||||
if (obj) {
|
||||
obj = $.extend((txt != '' ? new String(txt) : {}), /* {text:txt},*/obj || {}/*, att || {}*/);
|
||||
//txt = (obj.text) ? (typeof(obj.text)=='object' ? obj.text : [obj.text || '']).concat([txt]) : txt;
|
||||
txt = (obj.text) ? ([obj.text || '']).concat([txt]) : txt;
|
||||
if (txt) obj.text = txt;
|
||||
txt = '';
|
||||
};
|
||||
var out = obj || txt;
|
||||
//console.log([extended, simple, out]);
|
||||
if (extended) {
|
||||
if (txt) out = {}; //new String(out);
|
||||
txt = out.text || txt || '';
|
||||
if (txt) out.text = txt;
|
||||
if (!simple) out = myArr(out);
|
||||
};
|
||||
return out;
|
||||
}; // parseXML
|
||||
// Core Function End
|
||||
// Utility functions
|
||||
var jsVar = function (s) { return String(s || '').replace(/-/g, "_"); };
|
||||
|
||||
// NEW isNum function: 01/09/2010
|
||||
// Thanks to Emile Grau, GigaTecnologies S.L., www.gigatransfer.com, www.mygigamail.com
|
||||
function isNum(s) {
|
||||
// based on utility function isNum from xml2json plugin (http://www.fyneworks.com/ - diego@fyneworks.com)
|
||||
// few bugs corrected from original function :
|
||||
// - syntax error : regexp.test(string) instead of string.test(reg)
|
||||
// - regexp modified to accept comma as decimal mark (latin syntax : 25,24 )
|
||||
// - regexp modified to reject if no number before decimal mark : ".7" is not accepted
|
||||
// - string is "trimmed", allowing to accept space at the beginning and end of string
|
||||
var regexp = /^((-)?([0-9]+)(([\.\,]{0,1})([0-9]+))?$)/
|
||||
return (typeof s == "number") || regexp.test(String((s && typeof s == "string") ? jQuery.trim(s) : ''));
|
||||
};
|
||||
// OLD isNum function: (for reference only)
|
||||
//var isNum = function(s){ return (typeof s == "number") || String((s && typeof s == "string") ? s : '').test(/^((-)?([0-9]*)((\.{0,1})([0-9]+))?$)/); };
|
||||
|
||||
var myArr = function (o) {
|
||||
|
||||
// http://forum.jquery.com/topic/jquery-jquery-xml2json-problems-when-siblings-of-the-same-tagname-only-have-a-textnode-as-a-child
|
||||
//if(!o.length) o = [ o ]; o.length=o.length;
|
||||
if (!$.isArray(o)) o = [o]; o.length = o.length;
|
||||
|
||||
// here is where you can attach additional functionality, such as searching and sorting...
|
||||
return o;
|
||||
};
|
||||
// Utility functions End
|
||||
//### PARSER LIBRARY END
|
||||
|
||||
// Convert plain text to xml
|
||||
if (typeof xml == 'string') xml = $.text2xml(xml);
|
||||
|
||||
// Quick fail if not xml (or if this is a node)
|
||||
if (!xml.nodeType) return;
|
||||
if (xml.nodeType == 3 || xml.nodeType == 4) return xml.nodeValue;
|
||||
|
||||
// Find xml root node
|
||||
var root = (xml.nodeType == 9) ? xml.documentElement : xml;
|
||||
|
||||
// Convert xml to json
|
||||
var out = parseXML(root, true /* simple */);
|
||||
|
||||
|
||||
// Clean-up memory
|
||||
xml = null; root = null;
|
||||
|
||||
// Send output
|
||||
return out;
|
||||
},
|
||||
|
||||
// Convert text to XML DOM
|
||||
text2xml: function (str) {
|
||||
// NOTE: I'd like to use jQuery for this, but jQuery makes all tags uppercase
|
||||
//return $(xml)[0];
|
||||
|
||||
/* prior to jquery 1.9 */
|
||||
/*
|
||||
var out;
|
||||
try{
|
||||
var xml = ((!$.support.opacity && !$.support.style))?new ActiveXObject("Microsoft.XMLDOM"):new DOMParser();
|
||||
xml.async = false;
|
||||
}catch(e){ throw new Error("XML Parser could not be instantiated") };
|
||||
try{
|
||||
if((!$.support.opacity && !$.support.style)) out = (xml.loadXML(str))?xml:false;
|
||||
else out = xml.parseFromString(str, "text/xml");
|
||||
}catch(e){ throw new Error("Error parsing XML string") };
|
||||
return out;
|
||||
*/
|
||||
|
||||
/* jquery 1.9+ */
|
||||
return $.parseXML(str);
|
||||
}
|
||||
|
||||
}); // extend $
|
||||
|
||||
})(jQuery);
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
if ($.fn.pagination){
|
||||
$.fn.pagination.defaults.beforePageText = 'Page';
|
||||
$.fn.pagination.defaults.afterPageText = 'of {pages}';
|
||||
$.fn.pagination.defaults.displayMsg = 'Displaying {from} to {to} of {total} items';
|
||||
}
|
||||
if ($.fn.datagrid){
|
||||
$.fn.datagrid.defaults.loadMsg = 'Processing, please wait ...';
|
||||
}
|
||||
if ($.fn.treegrid && $.fn.datagrid){
|
||||
$.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg;
|
||||
}
|
||||
if ($.messager){
|
||||
$.messager.defaults.ok = 'Ok';
|
||||
$.messager.defaults.cancel = 'Cancel';
|
||||
}
|
||||
if ($.fn.validatebox){
|
||||
$.fn.validatebox.defaults.missingMessage = 'This field is required.';
|
||||
$.fn.validatebox.defaults.rules.email.message = 'Please enter a valid email address.';
|
||||
$.fn.validatebox.defaults.rules.url.message = 'Please enter a valid URL.';
|
||||
$.fn.validatebox.defaults.rules.length.message = 'Please enter a value between {0} and {1}.';
|
||||
$.fn.validatebox.defaults.rules.remote.message = 'Please fix this field.';
|
||||
}
|
||||
if ($.fn.numberbox){
|
||||
$.fn.numberbox.defaults.missingMessage = 'This field is required.';
|
||||
}
|
||||
if ($.fn.combobox){
|
||||
$.fn.combobox.defaults.missingMessage = 'This field is required.';
|
||||
}
|
||||
if ($.fn.combotree){
|
||||
$.fn.combotree.defaults.missingMessage = 'This field is required.';
|
||||
}
|
||||
if ($.fn.combogrid){
|
||||
$.fn.combogrid.defaults.missingMessage = 'This field is required.';
|
||||
}
|
||||
if ($.fn.calendar){
|
||||
$.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S'];
|
||||
$.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
||||
}
|
||||
if ($.fn.datebox){
|
||||
$.fn.datebox.defaults.currentText = 'Today';
|
||||
$.fn.datebox.defaults.closeText = 'Close';
|
||||
$.fn.datebox.defaults.okText = 'Ok';
|
||||
$.fn.datebox.defaults.missingMessage = 'This field is required.';
|
||||
}
|
||||
if ($.fn.datetimebox && $.fn.datebox){
|
||||
$.extend($.fn.datetimebox.defaults,{
|
||||
currentText: $.fn.datebox.defaults.currentText,
|
||||
closeText: $.fn.datebox.defaults.closeText,
|
||||
okText: $.fn.datebox.defaults.okText,
|
||||
missingMessage: $.fn.datebox.defaults.missingMessage
|
||||
});
|
||||
}
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
if ($.fn.pagination){
|
||||
$.fn.pagination.defaults.beforePageText = '第';
|
||||
$.fn.pagination.defaults.afterPageText = '共{pages}页';
|
||||
$.fn.pagination.defaults.displayMsg = '显示{from}到{to},共{total}记录';
|
||||
}
|
||||
if ($.fn.datagrid){
|
||||
$.fn.datagrid.defaults.loadMsg = '正在处理,请稍待。。。';
|
||||
}
|
||||
if ($.fn.treegrid && $.fn.datagrid){
|
||||
$.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg;
|
||||
}
|
||||
if ($.messager){
|
||||
$.messager.defaults.ok = '确定';
|
||||
$.messager.defaults.cancel = '取消';
|
||||
}
|
||||
if ($.fn.validatebox){
|
||||
$.fn.validatebox.defaults.missingMessage = '该输入项为必输项';
|
||||
$.fn.validatebox.defaults.rules.email.message = '请输入有效的电子邮件地址';
|
||||
$.fn.validatebox.defaults.rules.url.message = '请输入有效的URL地址';
|
||||
$.fn.validatebox.defaults.rules.length.message = '输入内容长度必须介于{0}和{1}之间';
|
||||
$.fn.validatebox.defaults.rules.remote.message = '请修正该字段';
|
||||
}
|
||||
if ($.fn.numberbox){
|
||||
$.fn.numberbox.defaults.missingMessage = '该输入项为必输项';
|
||||
}
|
||||
if ($.fn.combobox){
|
||||
$.fn.combobox.defaults.missingMessage = '该输入项为必输项';
|
||||
}
|
||||
if ($.fn.combotree){
|
||||
$.fn.combotree.defaults.missingMessage = '该输入项为必输项';
|
||||
}
|
||||
if ($.fn.combogrid){
|
||||
$.fn.combogrid.defaults.missingMessage = '该输入项为必输项';
|
||||
}
|
||||
if ($.fn.calendar){
|
||||
$.fn.calendar.defaults.weeks = ['日','一','二','三','四','五','六'];
|
||||
$.fn.calendar.defaults.months = ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'];
|
||||
}
|
||||
if ($.fn.datebox){
|
||||
$.fn.datebox.defaults.currentText = '今天';
|
||||
$.fn.datebox.defaults.closeText = '关闭';
|
||||
$.fn.datebox.defaults.okText = '确定';
|
||||
$.fn.datebox.defaults.missingMessage = '该输入项为必输项';
|
||||
$.fn.datebox.defaults.formatter = function(date){
|
||||
var y = date.getFullYear();
|
||||
var m = date.getMonth()+1;
|
||||
var d = date.getDate();
|
||||
return y+'-'+(m<10?('0'+m):m)+'-'+(d<10?('0'+d):d);
|
||||
};
|
||||
$.fn.datebox.defaults.parser = function(s){
|
||||
if (!s) return new Date();
|
||||
var ss = s.split('-');
|
||||
var y = parseInt(ss[0],10);
|
||||
var m = parseInt(ss[1],10);
|
||||
var d = parseInt(ss[2],10);
|
||||
if (!isNaN(y) && !isNaN(m) && !isNaN(d)){
|
||||
return new Date(y,m-1,d);
|
||||
} else {
|
||||
return new Date();
|
||||
}
|
||||
};
|
||||
}
|
||||
if ($.fn.datetimebox && $.fn.datebox){
|
||||
$.extend($.fn.datetimebox.defaults,{
|
||||
currentText: $.fn.datebox.defaults.currentText,
|
||||
closeText: $.fn.datebox.defaults.closeText,
|
||||
okText: $.fn.datebox.defaults.okText,
|
||||
missingMessage: $.fn.datebox.defaults.missingMessage
|
||||
});
|
||||
}
|
||||
if ($.fn.datetimespinner){
|
||||
$.fn.datetimespinner.defaults.selections = [[0,4],[5,7],[8,10],[11,13],[14,16],[17,19]]
|
||||
}
|
||||
|
|
@ -0,0 +1,638 @@
|
|||
*{
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.f-block{
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
.f-row{
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
position: relative;
|
||||
}
|
||||
.f-column{
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-direction: normal;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-flex-direction: column;
|
||||
-moz-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.f-inline-row{
|
||||
white-space: nowrap;
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-box;
|
||||
display: inline-flex;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
align-items: stretch;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.f-content-center{
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
-webkit-justify-content: center;
|
||||
-moz-justify-content: center;
|
||||
justify-content: center;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
align-items: center;
|
||||
}
|
||||
.f-full{
|
||||
-webkit-box-flex: 1 1 auto;
|
||||
-ms-flex: 1 1 auto;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.f-hide{
|
||||
display: none;
|
||||
}
|
||||
.f-order0{
|
||||
order: 0;
|
||||
}
|
||||
.f-order1{
|
||||
order: 1;
|
||||
}
|
||||
.f-order2{
|
||||
order: 2;
|
||||
}
|
||||
.f-order3{
|
||||
order: 3;
|
||||
}
|
||||
.f-order4{
|
||||
order: 4;
|
||||
}
|
||||
.f-order5{
|
||||
order: 5;
|
||||
}
|
||||
.f-order6{
|
||||
order: 6;
|
||||
}
|
||||
.f-order7{
|
||||
order: 7;
|
||||
}
|
||||
.f-order8{
|
||||
order: 8;
|
||||
}
|
||||
.f-noshrink{
|
||||
-webkit-flex-shrink: 0;
|
||||
-moz-flex-shrink: 0;
|
||||
-ms-flex-negative: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.f-animate{
|
||||
transition: all .3s;
|
||||
}
|
||||
|
||||
.scroll-body{
|
||||
overflow: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.textbox-text{
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.textbox-addon{
|
||||
align-items: center;
|
||||
}
|
||||
.textbox-disabled>.textbox-addon .textbox-icon,
|
||||
.textbox-readonly>.textbox-addon .textbox-icon{
|
||||
cursor: default;
|
||||
}
|
||||
.textbox-disabled>.textbox-addon .textbox-icon:hover,
|
||||
.textbox-readonly>.textbox-addon .textbox-icon:hover{
|
||||
opacity: 0.6;
|
||||
cursor: default;
|
||||
}
|
||||
.textbox-addon .textbox-icon{
|
||||
width: 26px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.spinner .textbox-text{
|
||||
height: auto;
|
||||
}
|
||||
.spinner-button-left,.spinner-button-right{
|
||||
width: 26px;
|
||||
}
|
||||
.spinner-button-updown{
|
||||
width: 26px;
|
||||
}
|
||||
.spinner-button-top,.spinner-button-bottom{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 26px;
|
||||
}
|
||||
.spinner-button-top{
|
||||
top: 0;
|
||||
}
|
||||
.spinner-button-bottom{
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
}
|
||||
.spinner-button{
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
.spinner-arrow{
|
||||
cursor: pointer;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.textbox-disabled .spinner-arrow:hover,
|
||||
.textbox-readonly .spinner-arrow:hover
|
||||
{
|
||||
opacity: 0.6;
|
||||
cursor: default;
|
||||
}
|
||||
.textbox-readonly .spinner-arrow .spinner-arrow-up:hover,
|
||||
.textbox-disabled .spinner-arrow .spinner-arrow-up:hover,
|
||||
.textbox-readonly .spinner-arrow .spinner-arrow-down:hover,
|
||||
.textbox-disabled .spinner-arrow .spinner-arrow-down:hover
|
||||
{
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.l-btn{
|
||||
width: 100%;
|
||||
}
|
||||
.l-btn-empty{
|
||||
height: 28px;
|
||||
}
|
||||
.l-btn-large .l-btn-empty{
|
||||
height: 44px;
|
||||
}
|
||||
.l-btn-left{
|
||||
overflow: visible;
|
||||
}
|
||||
.m-btn .l-btn-left .m-btn-line{
|
||||
top: -100px;
|
||||
width: 36px;
|
||||
right: -20px;
|
||||
}
|
||||
eui-button-group eui-linkbutton.f-inline-row{
|
||||
margin-left: -1px;
|
||||
}
|
||||
eui-button-group .l-btn:hover{
|
||||
z-index: 99;
|
||||
}
|
||||
eui-button-group eui-linkbutton:not(:first-child):not(:last-child) .l-btn{
|
||||
border-radius: 0;
|
||||
}
|
||||
eui-button-group eui-linkbutton:first-child .l-btn{
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
eui-button-group eui-linkbutton:last-child .l-btn{
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
.switchbutton-on,.switchbutton-off{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: calc(100% - 15px);
|
||||
height: 100%;
|
||||
}
|
||||
.switchbutton-on span,.switchbutton-off span,.switchbutton-handle span{
|
||||
height: 100%;
|
||||
}
|
||||
.switchbutton-on span{
|
||||
text-indent: -15px;
|
||||
}
|
||||
.switchbutton-off span{
|
||||
text-indent: 15px;
|
||||
}
|
||||
.switchbutton-off{
|
||||
left: calc(100% - 15px);
|
||||
}
|
||||
.switchbutton-handle{
|
||||
width: 30px;
|
||||
left: auto;
|
||||
right: 0;
|
||||
z-index: 9;
|
||||
}
|
||||
.switchbutton-inner{
|
||||
transition: all 200ms ease-out;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
top: -1px;
|
||||
bottom: -1px;
|
||||
left: calc(-100% + 30px);
|
||||
right: auto;
|
||||
}
|
||||
.switchbutton-checked .switchbutton-inner{
|
||||
left: 0;
|
||||
}
|
||||
.draggable-reverting{
|
||||
transition: all 200ms ease-out;
|
||||
}
|
||||
.slider-h .slider-tip{
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.slider-h .slider-rulelabel span{
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.slider-v .slider-tip{
|
||||
margin-top: 0;
|
||||
transform: translate(-100%,-50%);
|
||||
}
|
||||
.slider-v .slider-rulelabel span{
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
.slider-v .slider-inner{
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
||||
.panel{
|
||||
position:relative;
|
||||
}
|
||||
.panel-title{
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.panel-footer-fixed{
|
||||
position:absolute;
|
||||
width:100%;
|
||||
bottom:0;
|
||||
}
|
||||
.window{
|
||||
position: absolute;
|
||||
}
|
||||
.window-mask{
|
||||
position: fixed;
|
||||
}
|
||||
.window .window-footer{
|
||||
top: 0;
|
||||
}
|
||||
.dialog-toolbar{
|
||||
border-width: 0 0 1px 0;
|
||||
}
|
||||
.dialog-button{
|
||||
border-width: 1px 0 0 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.tabs{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.tabs-scrollable{
|
||||
transition: left 400ms, right 400ms;
|
||||
position: absolute;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.tabs li{
|
||||
display: inherit;
|
||||
}
|
||||
.tabs li a.tabs-inner{
|
||||
height: auto;
|
||||
line-height: normal;
|
||||
display: inherit;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tabs-title{
|
||||
display: inherit;
|
||||
align-items: center;
|
||||
line-height: normal;
|
||||
}
|
||||
.tabs-close{
|
||||
outline: none;
|
||||
}
|
||||
.tabs-scroller-left,.tabs-scroller-right{
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 21px;
|
||||
height: 100%;
|
||||
}
|
||||
.tabs-header-left .tabs li{
|
||||
right: -1px;
|
||||
}
|
||||
.tabs-header-left .tabs li,.tabs-header-right .tabs li,
|
||||
.tabs-header-left .tabs li a.tabs-inner,
|
||||
.tabs-header-right .tabs li a.tabs-inner{
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.combo-panel{
|
||||
position: absolute;
|
||||
height: 200px;
|
||||
z-index: 9999;
|
||||
}
|
||||
.combo-panel eui-virtual-scroll,
|
||||
.combo-panel eui-datagrid,
|
||||
.combo-panel eui-treegrid{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.combobox-item{
|
||||
padding: 6px 4px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.tagbox-labels{
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
.tagbox-label{
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.tagbox .textbox-text{
|
||||
width: 50px;
|
||||
max-width: 100%;
|
||||
margin-top: 4px;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.datagrid,eui-datagrid,
|
||||
eui-datagrid-view,eui-datagrid-body,
|
||||
eui-treegrid-view,eui-treegrid-body{
|
||||
overflow: hidden;
|
||||
}
|
||||
.datagrid-view,.datagrid-view1,.datagrid-view2{
|
||||
position: relative;
|
||||
}
|
||||
.datagrid-vbody{
|
||||
overflow: hidden;
|
||||
}
|
||||
.datagrid-view3{
|
||||
margin-left: -1px;
|
||||
}
|
||||
.datagrid-view3 .datagrid-body{
|
||||
overflow: hidden;
|
||||
}
|
||||
.datagrid-view3 .datagrid-body-inner{
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.datagrid-view3 .datagrid-header td,
|
||||
.datagrid-view3 .datagrid-body td,
|
||||
.datagrid-view3 .datagrid-footer td {
|
||||
border-width: 0 0 1px 1px;
|
||||
}
|
||||
.datagrid-htable,.datagrid-btable,.datagrid-ftable{
|
||||
table-layout: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
.datagrid-htable{
|
||||
height: 100%;
|
||||
}
|
||||
.datagrid-header .datagrid-header,
|
||||
.datagrid-footer .datagrid-header{
|
||||
border-width: 0 0 0 1px;
|
||||
}
|
||||
.datagrid-header-inner,.datagrid-footer-inner{
|
||||
overflow: hidden;
|
||||
}
|
||||
.datagrid-header-row, .datagrid-row{
|
||||
height: 32px;
|
||||
}
|
||||
.datagrid-cell{
|
||||
text-align: left;
|
||||
height: auto;
|
||||
font-size: inherit;
|
||||
}
|
||||
.datagrid-cell-group{
|
||||
text-align: center;
|
||||
}
|
||||
.datagrid .datagrid-pager{
|
||||
padding: 2px 4px;
|
||||
display: inherit;
|
||||
}
|
||||
.datagrid-loading{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.datagrid-mask{
|
||||
display: block;
|
||||
}
|
||||
.datagrid-mask-msg{
|
||||
display: block;
|
||||
position: static;
|
||||
line-height: 36px;
|
||||
height: 40px;
|
||||
margin: 0;
|
||||
padding: 0 5px 0 30px;
|
||||
z-index: 9;
|
||||
}
|
||||
.datagrid-body .datagrid-td-group{
|
||||
border-left-color: transparent;
|
||||
border-right-color: transparent;
|
||||
}
|
||||
.datagrid-group-expander{
|
||||
cursor: pointer;
|
||||
}
|
||||
.datagrid-row-expander{
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 18px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.datagrid-group-title{
|
||||
align-self: center;
|
||||
padding: 0 4px;
|
||||
white-space: nowrap;
|
||||
word-break: normal;
|
||||
position: relative;
|
||||
}
|
||||
.datagrid-editable> .f-field,
|
||||
.datagrid-editable> *{
|
||||
width: 100%;
|
||||
height: 31px;
|
||||
}
|
||||
.datagrid-editable .textbox, .datagrid-editable .textbox-text{
|
||||
border-radius: 0;
|
||||
}
|
||||
.datagrid-filter-row .textbox{
|
||||
border-radius: 0;
|
||||
}
|
||||
.datagrid-filter-c{
|
||||
padding: 4px;
|
||||
height: 38px;
|
||||
}
|
||||
.datagrid-filter-c> .f-field,
|
||||
.datagrid-filter-c> *{
|
||||
height: 30px;
|
||||
}
|
||||
.datagrid-filter-c .datagrid-editable-input{
|
||||
width: 100%;
|
||||
}
|
||||
.datagrid-filter-btn{
|
||||
width: 30px;
|
||||
}
|
||||
.datagrid-filter-btn .textbox-icon{
|
||||
width: 28px;
|
||||
}
|
||||
.datagrid-filter-btn .textbox{
|
||||
background-color: transparent;
|
||||
}
|
||||
.datagrid-filter-btn-left{
|
||||
margin-right: 4px;
|
||||
}
|
||||
.datagrid-filter-btn-right{
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
eui-menu.menu-inline{
|
||||
position: relative;
|
||||
display: inline;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
eui-menu> .menu-container{
|
||||
position: relative;
|
||||
}
|
||||
.menu-container{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
min-width: 200px;
|
||||
}
|
||||
.menu{
|
||||
overflow: visible;
|
||||
}
|
||||
.menu-shadow{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.menu-item{
|
||||
overflow: visible;
|
||||
}
|
||||
.menu-text{
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
float: none;
|
||||
}
|
||||
.menu-line{
|
||||
z-index: 9999999;
|
||||
height: 100%;
|
||||
}
|
||||
.menu-active{
|
||||
z-index: 99999999;
|
||||
}
|
||||
|
||||
.progressbar-value{
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.searchbox .textbox-button,
|
||||
.searchbox .textbox-button:hover{
|
||||
position: inherit;
|
||||
}
|
||||
|
||||
.calendar-content{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.calendar-menu{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.calendar-menu-month-inner{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.f-field{
|
||||
width: 12em;
|
||||
height: 30px;
|
||||
}
|
||||
eui-tagbox{
|
||||
width: 12em;
|
||||
height: auto;
|
||||
min-height: 30px;
|
||||
}
|
||||
eui-switchbutton{
|
||||
width: 70px;
|
||||
height: 30px;
|
||||
}
|
||||
eui-radiobutton{
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
eui-checkbox{
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
eui-progressbar{
|
||||
height: 24px;
|
||||
}
|
||||
eui-pagination{
|
||||
height: 34px;
|
||||
padding: 2px;
|
||||
}
|
||||
eui-layout{
|
||||
display: block;
|
||||
}
|
||||
.layout{
|
||||
height: 100%;
|
||||
}
|
||||
.layout-animate{
|
||||
transition: transform 400ms;
|
||||
}
|
||||
.layout-panel-north,.layout-panel-south{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.layout-panel-south{
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
}
|
||||
.layout-panel-west,.layout-panel-east{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.layout-panel-east{
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
.layout-panel-west.layout-collapsed{
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
}
|
||||
.layout-panel-east.layout-collapsed{
|
||||
transform: translate3d(100%, 0, 0)
|
||||
}
|
||||
.layout-panel-north.layout-collapsed{
|
||||
transform: translate3d(0, -100%, 0)
|
||||
}
|
||||
.layout-panel-south.layout-collapsed{
|
||||
transform: translate3d(0, 100%, 0)
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,89 @@
|
|||
.accordion {
|
||||
overflow: hidden;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
.accordion .accordion-header {
|
||||
border-width: 0 0 1px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.accordion .accordion-body {
|
||||
border-width: 0 0 1px;
|
||||
}
|
||||
.accordion-noborder {
|
||||
border-width: 0;
|
||||
}
|
||||
.accordion-noborder .accordion-header {
|
||||
border-width: 0 0 1px;
|
||||
}
|
||||
.accordion-noborder .accordion-body {
|
||||
border-width: 0 0 1px;
|
||||
}
|
||||
.accordion-collapse {
|
||||
background: url('images/accordion_arrows.png') no-repeat 0 0;
|
||||
}
|
||||
.accordion-expand {
|
||||
background: url('images/accordion_arrows.png') no-repeat -16px 0;
|
||||
}
|
||||
.accordion {
|
||||
background: #666;
|
||||
border-color: #000;
|
||||
}
|
||||
.accordion .accordion-header {
|
||||
background: #3d3d3d;
|
||||
filter: none;
|
||||
}
|
||||
.accordion .accordion-header-selected {
|
||||
background: #0052A3;
|
||||
}
|
||||
.accordion .accordion-header-selected .panel-title {
|
||||
color: #fff;
|
||||
}
|
||||
.accordion .panel-last > .accordion-header {
|
||||
border-bottom-color: #3d3d3d;
|
||||
}
|
||||
.accordion .panel-last > .accordion-body {
|
||||
border-bottom-color: #666;
|
||||
}
|
||||
.accordion .panel-last > .accordion-header-selected,
|
||||
.accordion .panel-last > .accordion-header-border {
|
||||
border-bottom-color: #000;
|
||||
}
|
||||
.accordion> .panel-hleft {
|
||||
float: left;
|
||||
}
|
||||
.accordion> .panel-hleft>.panel-header {
|
||||
border-width: 0 1px 0 0;
|
||||
}
|
||||
.accordion> .panel-hleft> .panel-body {
|
||||
border-width: 0 1px 0 0;
|
||||
}
|
||||
.accordion> .panel-hleft.panel-last > .accordion-header {
|
||||
border-right-color: #3d3d3d;
|
||||
}
|
||||
.accordion> .panel-hleft.panel-last > .accordion-body {
|
||||
border-right-color: #666;
|
||||
}
|
||||
.accordion> .panel-hleft.panel-last > .accordion-header-selected,
|
||||
.accordion> .panel-hleft.panel-last > .accordion-header-border {
|
||||
border-right-color: #000;
|
||||
}
|
||||
.accordion> .panel-hright {
|
||||
float: right;
|
||||
}
|
||||
.accordion> .panel-hright>.panel-header {
|
||||
border-width: 0 0 0 1px;
|
||||
}
|
||||
.accordion> .panel-hright> .panel-body {
|
||||
border-width: 0 0 0 1px;
|
||||
}
|
||||
.accordion> .panel-hright.panel-last > .accordion-header {
|
||||
border-left-color: #3d3d3d;
|
||||
}
|
||||
.accordion> .panel-hright.panel-last > .accordion-body {
|
||||
border-left-color: #666;
|
||||
}
|
||||
.accordion> .panel-hright.panel-last > .accordion-header-selected,
|
||||
.accordion> .panel-hright.panel-last > .accordion-header-border {
|
||||
border-left-color: #000;
|
||||
}
|
||||
|
|
@ -0,0 +1,203 @@
|
|||
.calendar {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
padding: 1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.calendar table {
|
||||
table-layout: fixed;
|
||||
border-collapse: separate;
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.calendar table td,
|
||||
.calendar table th {
|
||||
font-size: 14px;
|
||||
}
|
||||
.calendar-noborder {
|
||||
border: 0;
|
||||
}
|
||||
.calendar-header {
|
||||
position: relative;
|
||||
height: 28px;
|
||||
}
|
||||
.calendar-title {
|
||||
text-align: center;
|
||||
height: 28px;
|
||||
}
|
||||
.calendar-title span {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
top: 0px;
|
||||
padding: 0 3px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.calendar-prevmonth,
|
||||
.calendar-nextmonth,
|
||||
.calendar-prevyear,
|
||||
.calendar-nextyear {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
cursor: pointer;
|
||||
font-size: 1px;
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.calendar-prevmonth {
|
||||
left: 20px;
|
||||
background: url('images/calendar_arrows.png') no-repeat -16px 0;
|
||||
}
|
||||
.calendar-nextmonth {
|
||||
right: 20px;
|
||||
background: url('images/calendar_arrows.png') no-repeat -32px 0;
|
||||
}
|
||||
.calendar-prevyear {
|
||||
left: 3px;
|
||||
background: url('images/calendar_arrows.png') no-repeat 0px 0;
|
||||
}
|
||||
.calendar-nextyear {
|
||||
right: 3px;
|
||||
background: url('images/calendar_arrows.png') no-repeat -48px 0;
|
||||
}
|
||||
.calendar-body {
|
||||
position: relative;
|
||||
}
|
||||
.calendar-body th,
|
||||
.calendar-body td {
|
||||
text-align: center;
|
||||
}
|
||||
.calendar-day {
|
||||
border: 0;
|
||||
padding: 1px;
|
||||
cursor: pointer;
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.calendar-other-month {
|
||||
opacity: 0.3;
|
||||
filter: alpha(opacity=30);
|
||||
}
|
||||
.calendar-disabled {
|
||||
opacity: 0.6;
|
||||
filter: alpha(opacity=60);
|
||||
cursor: default;
|
||||
}
|
||||
.calendar-menu {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 180px;
|
||||
height: 150px;
|
||||
padding: 5px;
|
||||
font-size: 14px;
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
.calendar-menu-year-inner {
|
||||
text-align: center;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
.calendar-menu-year {
|
||||
width: 80px;
|
||||
line-height: 26px;
|
||||
text-align: center;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
outline-style: none;
|
||||
resize: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.calendar-menu-prev,
|
||||
.calendar-menu-next {
|
||||
display: inline-block;
|
||||
width: 25px;
|
||||
height: 28px;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.calendar-menu-prev {
|
||||
margin-right: 10px;
|
||||
background: url('images/calendar_arrows.png') no-repeat 5px center;
|
||||
}
|
||||
.calendar-menu-next {
|
||||
margin-left: 10px;
|
||||
background: url('images/calendar_arrows.png') no-repeat -44px center;
|
||||
}
|
||||
.calendar-menu-month {
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.calendar-body th,
|
||||
.calendar-menu-month {
|
||||
color: #ffffff;
|
||||
}
|
||||
.calendar-day {
|
||||
color: #fff;
|
||||
}
|
||||
.calendar-sunday {
|
||||
color: #CC2222;
|
||||
}
|
||||
.calendar-saturday {
|
||||
color: #00ee00;
|
||||
}
|
||||
.calendar-today {
|
||||
color: #0000ff;
|
||||
}
|
||||
.calendar-menu-year {
|
||||
border-color: #000;
|
||||
}
|
||||
.calendar {
|
||||
border-color: #000;
|
||||
}
|
||||
.calendar-header {
|
||||
background: #3d3d3d;
|
||||
}
|
||||
.calendar-body,
|
||||
.calendar-menu {
|
||||
background: #666;
|
||||
}
|
||||
.calendar-body th {
|
||||
background: #555;
|
||||
padding: 4px 0;
|
||||
}
|
||||
.calendar-hover,
|
||||
.calendar-nav-hover,
|
||||
.calendar-menu-hover {
|
||||
background-color: #777;
|
||||
color: #fff;
|
||||
}
|
||||
.calendar-hover {
|
||||
border: 1px solid #555;
|
||||
padding: 0;
|
||||
}
|
||||
.calendar-selected {
|
||||
background-color: #0052A3;
|
||||
color: #fff;
|
||||
border: 1px solid #00458a;
|
||||
padding: 0;
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
.checkbox {
|
||||
position: relative;
|
||||
border: 2px solid #00458a;
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.checkbox-checked {
|
||||
border: 0;
|
||||
background: #00458a;
|
||||
}
|
||||
.checkbox-inner {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.checkbox path {
|
||||
stroke-width: 2px;
|
||||
}
|
||||
.checkbox-disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.checkbox-value {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
left: -999px;
|
||||
}
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
.combo-arrow {
|
||||
width: 18px;
|
||||
height: 20px;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
opacity: 0.6;
|
||||
filter: alpha(opacity=60);
|
||||
}
|
||||
.combo-arrow-hover {
|
||||
opacity: 1.0;
|
||||
filter: alpha(opacity=100);
|
||||
}
|
||||
.combo-panel {
|
||||
overflow: auto;
|
||||
}
|
||||
.combo-arrow {
|
||||
background: url('images/combo_arrow.png') no-repeat center center;
|
||||
}
|
||||
.combo-panel {
|
||||
background-color: #666;
|
||||
}
|
||||
.combo-arrow {
|
||||
background-color: #3d3d3d;
|
||||
}
|
||||
.combo-arrow-hover {
|
||||
background-color: #777;
|
||||
}
|
||||
.combo-arrow:hover {
|
||||
background-color: #777;
|
||||
}
|
||||
.combo .textbox-icon-disabled:hover {
|
||||
cursor: default;
|
||||
}
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
.combobox-item,
|
||||
.combobox-group,
|
||||
.combobox-stick {
|
||||
font-size: 14px;
|
||||
padding: 6px 4px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.combobox-item-disabled {
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
.combobox-gitem {
|
||||
padding-left: 10px;
|
||||
}
|
||||
.combobox-group,
|
||||
.combobox-stick {
|
||||
font-weight: bold;
|
||||
}
|
||||
.combobox-stick {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
right: 1px;
|
||||
background: inherit;
|
||||
}
|
||||
.combobox-item-hover {
|
||||
background-color: #777;
|
||||
color: #fff;
|
||||
}
|
||||
.combobox-item-selected {
|
||||
background-color: #0052A3;
|
||||
color: #fff;
|
||||
}
|
||||
.combobox-icon {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
vertical-align: middle;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
|
@ -0,0 +1,291 @@
|
|||
.datagrid .panel-body {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.datagrid-view {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.datagrid-view1,
|
||||
.datagrid-view2 {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
top: 0;
|
||||
}
|
||||
.datagrid-view1 {
|
||||
left: 0;
|
||||
}
|
||||
.datagrid-view2 {
|
||||
right: 0;
|
||||
}
|
||||
.datagrid-mask {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0.3;
|
||||
filter: alpha(opacity=30);
|
||||
display: none;
|
||||
}
|
||||
.datagrid-mask-msg {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -20px;
|
||||
padding: 10px 5px 10px 30px;
|
||||
width: auto;
|
||||
height: 16px;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
display: none;
|
||||
}
|
||||
.datagrid-empty {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
text-align: center;
|
||||
}
|
||||
.datagrid-sort-icon {
|
||||
padding: 0;
|
||||
display: none;
|
||||
}
|
||||
.datagrid-toolbar {
|
||||
height: auto;
|
||||
padding: 1px 2px;
|
||||
border-width: 0 0 1px 0;
|
||||
border-style: solid;
|
||||
}
|
||||
.datagrid-btn-separator {
|
||||
float: left;
|
||||
height: 24px;
|
||||
border-left: 1px solid #444;
|
||||
border-right: 1px solid #777;
|
||||
margin: 2px 1px;
|
||||
}
|
||||
.datagrid .datagrid-pager {
|
||||
display: block;
|
||||
margin: 0;
|
||||
border-width: 1px 0 0 0;
|
||||
border-style: solid;
|
||||
}
|
||||
.datagrid .datagrid-pager-top {
|
||||
border-width: 0 0 1px 0;
|
||||
}
|
||||
.datagrid-header {
|
||||
overflow: hidden;
|
||||
cursor: default;
|
||||
border-width: 0 0 1px 0;
|
||||
border-style: solid;
|
||||
}
|
||||
.datagrid-header-inner {
|
||||
float: left;
|
||||
width: 10000px;
|
||||
}
|
||||
.datagrid-header-row,
|
||||
.datagrid-row {
|
||||
height: 32px;
|
||||
}
|
||||
.datagrid-header td,
|
||||
.datagrid-body td,
|
||||
.datagrid-footer td {
|
||||
border-width: 0 1px 1px 0;
|
||||
border-style: dotted;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.datagrid-cell,
|
||||
.datagrid-cell-group,
|
||||
.datagrid-header-rownumber,
|
||||
.datagrid-cell-rownumber {
|
||||
margin: 0;
|
||||
padding: 0 4px;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
overflow: hidden;
|
||||
height: 18px;
|
||||
line-height: 18px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.datagrid-header .datagrid-cell {
|
||||
height: auto;
|
||||
}
|
||||
.datagrid-header .datagrid-cell span {
|
||||
font-size: 14px;
|
||||
}
|
||||
.datagrid-cell-group {
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.datagrid-header-rownumber,
|
||||
.datagrid-cell-rownumber {
|
||||
width: 30px;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.datagrid-body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: auto;
|
||||
zoom: 1;
|
||||
}
|
||||
.datagrid-view1 .datagrid-body-inner {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.datagrid-view1 .datagrid-body {
|
||||
overflow: hidden;
|
||||
}
|
||||
.datagrid-footer {
|
||||
overflow: hidden;
|
||||
}
|
||||
.datagrid-footer-inner {
|
||||
border-width: 1px 0 0 0;
|
||||
border-style: solid;
|
||||
width: 10000px;
|
||||
float: left;
|
||||
}
|
||||
.datagrid-row-editing .datagrid-cell {
|
||||
height: auto;
|
||||
}
|
||||
.datagrid-header-check,
|
||||
.datagrid-cell-check {
|
||||
padding: 0;
|
||||
width: 27px;
|
||||
height: 18px;
|
||||
font-size: 1px;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
.datagrid-header-check input,
|
||||
.datagrid-cell-check input {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 15px;
|
||||
height: 18px;
|
||||
}
|
||||
.datagrid-resize-proxy {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 10000px;
|
||||
top: 0;
|
||||
cursor: e-resize;
|
||||
display: none;
|
||||
}
|
||||
.datagrid-body .datagrid-editable {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.datagrid-body .datagrid-editable table {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.datagrid-body .datagrid-editable td {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.datagrid-view .datagrid-editable-input {
|
||||
margin: 0;
|
||||
padding: 2px 4px;
|
||||
border: 1px solid #000;
|
||||
font-size: 14px;
|
||||
outline-style: none;
|
||||
-moz-border-radius: 0 0 0 0;
|
||||
-webkit-border-radius: 0 0 0 0;
|
||||
border-radius: 0 0 0 0;
|
||||
}
|
||||
.datagrid-view .validatebox-invalid {
|
||||
border-color: #ffa8a8;
|
||||
}
|
||||
.datagrid-sort .datagrid-sort-icon {
|
||||
display: inline;
|
||||
padding: 0 13px 0 0;
|
||||
background: url('images/datagrid_icons.png') no-repeat -64px center;
|
||||
}
|
||||
.datagrid-sort-desc .datagrid-sort-icon {
|
||||
display: inline;
|
||||
padding: 0 13px 0 0;
|
||||
background: url('images/datagrid_icons.png') no-repeat -16px center;
|
||||
}
|
||||
.datagrid-sort-asc .datagrid-sort-icon {
|
||||
display: inline;
|
||||
padding: 0 13px 0 0;
|
||||
background: url('images/datagrid_icons.png') no-repeat 0px center;
|
||||
}
|
||||
.datagrid-row-collapse {
|
||||
background: url('images/datagrid_icons.png') no-repeat -48px center;
|
||||
}
|
||||
.datagrid-row-expand {
|
||||
background: url('images/datagrid_icons.png') no-repeat -32px center;
|
||||
}
|
||||
.datagrid-mask-msg {
|
||||
background: #666 url('images/loading.gif') no-repeat scroll 5px center;
|
||||
}
|
||||
.datagrid-header,
|
||||
.datagrid-td-rownumber {
|
||||
background-color: #444;
|
||||
background: -webkit-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%);
|
||||
background: -moz-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%);
|
||||
background: -o-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%);
|
||||
background: linear-gradient(to bottom,#4c4c4c 0,#3f3f3f 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c4c4c,endColorstr=#3f3f3f,GradientType=0);
|
||||
}
|
||||
.datagrid-cell-rownumber {
|
||||
color: #fff;
|
||||
}
|
||||
.datagrid-resize-proxy {
|
||||
background: #cccccc;
|
||||
}
|
||||
.datagrid-mask {
|
||||
background: #000;
|
||||
}
|
||||
.datagrid-mask-msg {
|
||||
border-color: #000;
|
||||
}
|
||||
.datagrid-toolbar,
|
||||
.datagrid-pager {
|
||||
background: #555;
|
||||
}
|
||||
.datagrid-header,
|
||||
.datagrid-toolbar,
|
||||
.datagrid-pager,
|
||||
.datagrid-footer-inner {
|
||||
border-color: #222;
|
||||
}
|
||||
.datagrid-header td,
|
||||
.datagrid-body td,
|
||||
.datagrid-footer td {
|
||||
border-color: #222;
|
||||
}
|
||||
.datagrid-htable,
|
||||
.datagrid-btable,
|
||||
.datagrid-ftable {
|
||||
color: #fff;
|
||||
border-collapse: separate;
|
||||
}
|
||||
.datagrid-row-alt {
|
||||
background: #555;
|
||||
}
|
||||
.datagrid-row-over,
|
||||
.datagrid-header td.datagrid-header-over {
|
||||
background: #777;
|
||||
color: #fff;
|
||||
cursor: default;
|
||||
}
|
||||
.datagrid-row-selected {
|
||||
background: #0052A3;
|
||||
color: #fff;
|
||||
}
|
||||
.datagrid-row-editing .textbox,
|
||||
.datagrid-row-editing .textbox-text {
|
||||
-moz-border-radius: 0 0 0 0;
|
||||
-webkit-border-radius: 0 0 0 0;
|
||||
border-radius: 0 0 0 0;
|
||||
}
|
||||
.datagrid-header .datagrid-filter-row td.datagrid-header-over {
|
||||
background: inherit;
|
||||
}
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
.datalist .datagrid-header {
|
||||
border-width: 0;
|
||||
}
|
||||
.datalist .datagrid-group,
|
||||
.m-list .m-list-group {
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
font-weight: bold;
|
||||
overflow: hidden;
|
||||
background-color: #444;
|
||||
border-style: solid;
|
||||
border-width: 0 0 1px 0;
|
||||
border-color: #222;
|
||||
}
|
||||
.datalist .datagrid-group-expander {
|
||||
display: none;
|
||||
}
|
||||
.datalist .datagrid-group-title {
|
||||
padding: 0 4px;
|
||||
}
|
||||
.datalist .datagrid-btable {
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
}
|
||||
.datalist .datagrid-row td {
|
||||
border-style: solid;
|
||||
border-left-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
.datalist-lines .datagrid-row td {
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
.datalist .datagrid-cell,
|
||||
.m-list li {
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 2px 4px;
|
||||
line-height: 18px;
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
.datalist-link,
|
||||
.m-list li>a {
|
||||
display: block;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
margin: -2px -4px;
|
||||
padding: 2px 4px;
|
||||
padding-right: 16px;
|
||||
line-height: 18px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
.datalist-link::after,
|
||||
.m-list li>a::after {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
content: '';
|
||||
right: 6px;
|
||||
top: 50%;
|
||||
margin-top: -4px;
|
||||
border-style: solid;
|
||||
border-width: 1px 1px 0 0;
|
||||
-ms-transform: rotate(45deg);
|
||||
-moz-transform: rotate(45deg);
|
||||
-webkit-transform: rotate(45deg);
|
||||
-o-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
.m-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.m-list li {
|
||||
border-style: solid;
|
||||
border-width: 0 0 1px 0;
|
||||
border-color: #222;
|
||||
}
|
||||
.m-list li>a:hover {
|
||||
background: #777;
|
||||
color: #fff;
|
||||
}
|
||||
.m-list .m-list-group {
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
.datebox-calendar-inner {
|
||||
height: 250px;
|
||||
}
|
||||
.datebox-button {
|
||||
padding: 4px 0;
|
||||
text-align: center;
|
||||
}
|
||||
.datebox-button a {
|
||||
line-height: 22px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
opacity: 0.6;
|
||||
filter: alpha(opacity=60);
|
||||
}
|
||||
.datebox-button a:hover {
|
||||
opacity: 1.0;
|
||||
filter: alpha(opacity=100);
|
||||
}
|
||||
.datebox-current,
|
||||
.datebox-close {
|
||||
float: left;
|
||||
}
|
||||
.datebox-close {
|
||||
float: right;
|
||||
}
|
||||
.datebox .combo-arrow {
|
||||
background-image: url('images/datebox_arrow.png');
|
||||
background-position: center center;
|
||||
}
|
||||
.datebox-button {
|
||||
background-color: #555;
|
||||
}
|
||||
.datebox-button a {
|
||||
color: #fff;
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
.dialog-content {
|
||||
overflow: auto;
|
||||
}
|
||||
.dialog-toolbar {
|
||||
position: relative;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
.dialog-tool-separator {
|
||||
float: left;
|
||||
height: 24px;
|
||||
border-left: 1px solid #444;
|
||||
border-right: 1px solid #777;
|
||||
margin: 2px 1px;
|
||||
}
|
||||
.dialog-button {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
padding: 5px;
|
||||
text-align: right;
|
||||
}
|
||||
.dialog-button .l-btn {
|
||||
margin-left: 5px;
|
||||
}
|
||||
.dialog-toolbar,
|
||||
.dialog-button {
|
||||
background: #555;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
.dialog-toolbar {
|
||||
border-color: #000 #000 #222 #000;
|
||||
}
|
||||
.dialog-button {
|
||||
border-color: #222 #000 #000 #000;
|
||||
}
|
||||
.window-thinborder .dialog-toolbar {
|
||||
border-left: transparent;
|
||||
border-right: transparent;
|
||||
border-top-color: #555;
|
||||
}
|
||||
.window-thinborder .dialog-button {
|
||||
top: 0px;
|
||||
padding: 5px 8px 8px 8px;
|
||||
border-left: transparent;
|
||||
border-right: transparent;
|
||||
border-bottom: transparent;
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
.filebox .textbox-value {
|
||||
vertical-align: top;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -5000px;
|
||||
}
|
||||
.filebox-label {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
background: url('images/blank.gif') no-repeat;
|
||||
}
|
||||
.l-btn-disabled .filebox-label {
|
||||
cursor: default;
|
||||
}
|
||||
|
After Width: | Height: | Size: 122 B |
|
After Width: | Height: | Size: 43 B |
|
After Width: | Height: | Size: 173 B |
|
After Width: | Height: | Size: 100 B |
|
After Width: | Height: | Size: 300 B |
|
After Width: | Height: | Size: 626 B |
|
After Width: | Height: | Size: 179 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 134 B |
|
After Width: | Height: | Size: 6.0 KiB |
|
After Width: | Height: | Size: 339 B |
|
After Width: | Height: | Size: 184 B |
|
After Width: | Height: | Size: 149 B |
|
After Width: | Height: | Size: 160 B |
|
After Width: | Height: | Size: 813 B |
|
After Width: | Height: | Size: 863 B |
|
After Width: | Height: | Size: 140 B |
|
After Width: | Height: | Size: 144 B |
|
After Width: | Height: | Size: 133 B |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 921 B |
|
|
@ -0,0 +1,150 @@
|
|||
.layout {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
z-index: 0;
|
||||
}
|
||||
.layout-panel {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
}
|
||||
.layout-body {
|
||||
min-width: 1px;
|
||||
min-height: 1px;
|
||||
}
|
||||
.layout-panel-east,
|
||||
.layout-panel-west {
|
||||
z-index: 2;
|
||||
}
|
||||
.layout-panel-north,
|
||||
.layout-panel-south {
|
||||
z-index: 3;
|
||||
}
|
||||
.layout-expand {
|
||||
position: absolute;
|
||||
padding: 0px;
|
||||
font-size: 1px;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
}
|
||||
.layout-expand .panel-header,
|
||||
.layout-expand .panel-body {
|
||||
background: transparent;
|
||||
filter: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
.layout-expand .panel-header {
|
||||
border-bottom-width: 0px;
|
||||
}
|
||||
.layout-expand .panel-body {
|
||||
position: relative;
|
||||
}
|
||||
.layout-expand .panel-body .panel-icon {
|
||||
margin-top: 0;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
}
|
||||
.layout-expand-west .panel-header .panel-icon,
|
||||
.layout-expand-east .panel-header .panel-icon {
|
||||
display: none;
|
||||
}
|
||||
.layout-expand-title {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 21px;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
-webkit-transform: rotate(90deg);
|
||||
-webkit-transform-origin: 0 0;
|
||||
-moz-transform: rotate(90deg);
|
||||
-moz-transform-origin: 0 0;
|
||||
-o-transform: rotate(90deg);
|
||||
-o-transform-origin: 0 0;
|
||||
transform: rotate(90deg);
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
.layout-expand-title-up {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
text-align: right;
|
||||
padding-left: 5px;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
-webkit-transform: rotate(-90deg);
|
||||
-webkit-transform-origin: 0 0;
|
||||
-moz-transform: rotate(-90deg);
|
||||
-moz-transform-origin: 0 0;
|
||||
-o-transform: rotate(-90deg);
|
||||
-o-transform-origin: 0 0;
|
||||
transform: rotate(-90deg);
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
.layout-expand-with-icon {
|
||||
top: 18px;
|
||||
}
|
||||
.layout-expand .panel-body-noheader .layout-expand-title,
|
||||
.layout-expand .panel-body-noheader .panel-icon {
|
||||
top: 5px;
|
||||
}
|
||||
.layout-expand .panel-body-noheader .layout-expand-with-icon {
|
||||
top: 23px;
|
||||
}
|
||||
.layout-split-proxy-h,
|
||||
.layout-split-proxy-v {
|
||||
position: absolute;
|
||||
font-size: 1px;
|
||||
display: none;
|
||||
z-index: 5;
|
||||
}
|
||||
.layout-split-proxy-h {
|
||||
width: 5px;
|
||||
cursor: e-resize;
|
||||
}
|
||||
.layout-split-proxy-v {
|
||||
height: 5px;
|
||||
cursor: n-resize;
|
||||
}
|
||||
.layout-mask {
|
||||
position: absolute;
|
||||
background: #fafafa;
|
||||
filter: alpha(opacity=10);
|
||||
opacity: 0.10;
|
||||
z-index: 4;
|
||||
}
|
||||
.layout-button-up {
|
||||
background: url('images/layout_arrows.png') no-repeat -16px -16px;
|
||||
}
|
||||
.layout-button-down {
|
||||
background: url('images/layout_arrows.png') no-repeat -16px 0;
|
||||
}
|
||||
.layout-button-left {
|
||||
background: url('images/layout_arrows.png') no-repeat 0 0;
|
||||
}
|
||||
.layout-button-right {
|
||||
background: url('images/layout_arrows.png') no-repeat 0 -16px;
|
||||
}
|
||||
.layout-split-proxy-h,
|
||||
.layout-split-proxy-v {
|
||||
background-color: #cccccc;
|
||||
}
|
||||
.layout-split-north {
|
||||
border-bottom: 5px solid #444;
|
||||
}
|
||||
.layout-split-south {
|
||||
border-top: 5px solid #444;
|
||||
}
|
||||
.layout-split-east {
|
||||
border-left: 5px solid #444;
|
||||
}
|
||||
.layout-split-west {
|
||||
border-right: 5px solid #444;
|
||||
}
|
||||
.layout-expand {
|
||||
background-color: #3d3d3d;
|
||||
}
|
||||
.layout-expand-over {
|
||||
background-color: #3d3d3d;
|
||||
}
|
||||
|
|
@ -0,0 +1,203 @@
|
|||
.l-btn {
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
line-height: normal;
|
||||
}
|
||||
.l-btn-plain {
|
||||
border-width: 0;
|
||||
padding: 1px;
|
||||
}
|
||||
.l-btn-left {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
.l-btn-text {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width: auto;
|
||||
line-height: 28px;
|
||||
font-size: 14px;
|
||||
padding: 0;
|
||||
margin: 0 6px;
|
||||
}
|
||||
.l-btn-icon {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
font-size: 1px;
|
||||
}
|
||||
.l-btn span span .l-btn-empty {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
width: 16px;
|
||||
height: 24px;
|
||||
font-size: 1px;
|
||||
vertical-align: top;
|
||||
}
|
||||
.l-btn span .l-btn-icon-left {
|
||||
padding: 0 0 0 20px;
|
||||
background-position: left center;
|
||||
}
|
||||
.l-btn span .l-btn-icon-right {
|
||||
padding: 0 20px 0 0;
|
||||
background-position: right center;
|
||||
}
|
||||
.l-btn-icon-left .l-btn-text {
|
||||
margin: 0 6px 0 26px;
|
||||
}
|
||||
.l-btn-icon-left .l-btn-icon {
|
||||
left: 6px;
|
||||
}
|
||||
.l-btn-icon-right .l-btn-text {
|
||||
margin: 0 26px 0 6px;
|
||||
}
|
||||
.l-btn-icon-right .l-btn-icon {
|
||||
right: 6px;
|
||||
}
|
||||
.l-btn-icon-top .l-btn-text {
|
||||
margin: 20px 4px 0 4px;
|
||||
}
|
||||
.l-btn-icon-top .l-btn-icon {
|
||||
top: 4px;
|
||||
left: 50%;
|
||||
margin: 0 0 0 -8px;
|
||||
}
|
||||
.l-btn-icon-bottom .l-btn-text {
|
||||
margin: 0 4px 20px 4px;
|
||||
}
|
||||
.l-btn-icon-bottom .l-btn-icon {
|
||||
top: auto;
|
||||
bottom: 4px;
|
||||
left: 50%;
|
||||
margin: 0 0 0 -8px;
|
||||
}
|
||||
.l-btn-left .l-btn-empty {
|
||||
margin: 0 6px;
|
||||
width: 16px;
|
||||
}
|
||||
.l-btn-plain:hover {
|
||||
padding: 0;
|
||||
}
|
||||
.l-btn-focus {
|
||||
outline: #0000FF dotted thin;
|
||||
}
|
||||
.l-btn-large .l-btn-text {
|
||||
line-height: 44px;
|
||||
}
|
||||
.l-btn-large .l-btn-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
margin-top: -16px;
|
||||
}
|
||||
.l-btn-large .l-btn-icon-left .l-btn-text {
|
||||
margin-left: 40px;
|
||||
}
|
||||
.l-btn-large .l-btn-icon-right .l-btn-text {
|
||||
margin-right: 40px;
|
||||
}
|
||||
.l-btn-large .l-btn-icon-top .l-btn-text {
|
||||
margin-top: 36px;
|
||||
line-height: 24px;
|
||||
min-width: 32px;
|
||||
}
|
||||
.l-btn-large .l-btn-icon-top .l-btn-icon {
|
||||
margin: 0 0 0 -16px;
|
||||
}
|
||||
.l-btn-large .l-btn-icon-bottom .l-btn-text {
|
||||
margin-bottom: 36px;
|
||||
line-height: 24px;
|
||||
min-width: 32px;
|
||||
}
|
||||
.l-btn-large .l-btn-icon-bottom .l-btn-icon {
|
||||
margin: 0 0 0 -16px;
|
||||
}
|
||||
.l-btn-large .l-btn-left .l-btn-empty {
|
||||
margin: 0 6px;
|
||||
width: 32px;
|
||||
}
|
||||
.l-btn {
|
||||
color: #fff;
|
||||
background: #777;
|
||||
background-repeat: repeat-x;
|
||||
border: 1px solid #555;
|
||||
background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%);
|
||||
background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%);
|
||||
background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%);
|
||||
background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0);
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.l-btn:hover {
|
||||
background: #777;
|
||||
color: #fff;
|
||||
border: 1px solid #555;
|
||||
filter: none;
|
||||
}
|
||||
.l-btn-plain {
|
||||
background: transparent;
|
||||
border-width: 0;
|
||||
filter: none;
|
||||
}
|
||||
.l-btn-outline {
|
||||
border-width: 1px;
|
||||
border-color: #555;
|
||||
padding: 0;
|
||||
}
|
||||
.l-btn-plain:hover {
|
||||
background: #777;
|
||||
color: #fff;
|
||||
border: 1px solid #555;
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.l-btn-disabled,
|
||||
.l-btn-disabled:hover {
|
||||
opacity: 0.5;
|
||||
cursor: default;
|
||||
background: #777;
|
||||
color: #fff;
|
||||
background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%);
|
||||
background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%);
|
||||
background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%);
|
||||
background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0);
|
||||
}
|
||||
.l-btn-disabled .l-btn-text,
|
||||
.l-btn-disabled .l-btn-icon {
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
.l-btn-plain-disabled,
|
||||
.l-btn-plain-disabled:hover {
|
||||
background: transparent;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
.l-btn-selected,
|
||||
.l-btn-selected:hover {
|
||||
background: #000;
|
||||
filter: none;
|
||||
}
|
||||
.l-btn-plain-selected,
|
||||
.l-btn-plain-selected:hover {
|
||||
background: #000;
|
||||
}
|
||||
|
|
@ -0,0 +1,119 @@
|
|||
.menu {
|
||||
position: absolute;
|
||||
margin: 0;
|
||||
padding: 2px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
overflow: hidden;
|
||||
}
|
||||
.menu-inline {
|
||||
position: relative;
|
||||
}
|
||||
.menu-item {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
.menu-text {
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
float: left;
|
||||
padding-left: 28px;
|
||||
}
|
||||
.menu-icon {
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
left: 2px;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
.menu-rightarrow {
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
.menu-line {
|
||||
position: absolute;
|
||||
left: 26px;
|
||||
top: 0;
|
||||
height: 2000px;
|
||||
font-size: 1px;
|
||||
}
|
||||
.menu-sep {
|
||||
margin: 3px 0px 3px 25px;
|
||||
font-size: 1px;
|
||||
}
|
||||
.menu-noline .menu-line {
|
||||
display: none;
|
||||
}
|
||||
.menu-noline .menu-sep {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
.menu-active {
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.menu-item-disabled {
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
cursor: default;
|
||||
}
|
||||
.menu-text,
|
||||
.menu-text span {
|
||||
font-size: 14px;
|
||||
}
|
||||
.menu-shadow {
|
||||
position: absolute;
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
background: #777;
|
||||
-moz-box-shadow: 2px 2px 3px #787878;
|
||||
-webkit-box-shadow: 2px 2px 3px #787878;
|
||||
box-shadow: 2px 2px 3px #787878;
|
||||
filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2);
|
||||
}
|
||||
.menu-rightarrow {
|
||||
background: url('images/menu_arrows.png') no-repeat -32px center;
|
||||
}
|
||||
.menu-line {
|
||||
border-left: 1px solid #444;
|
||||
border-right: 1px solid #777;
|
||||
}
|
||||
.menu-sep {
|
||||
border-top: 1px solid #444;
|
||||
border-bottom: 1px solid #777;
|
||||
}
|
||||
.menu {
|
||||
background-color: #666;
|
||||
border-color: #444;
|
||||
color: #fff;
|
||||
}
|
||||
.menu-content {
|
||||
background: #666;
|
||||
}
|
||||
.menu-item {
|
||||
border-color: transparent;
|
||||
_border-color: #666;
|
||||
}
|
||||
.menu-active {
|
||||
border-color: #555;
|
||||
color: #fff;
|
||||
background: #777;
|
||||
}
|
||||
.menu-active-disabled {
|
||||
border-color: transparent;
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
}
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
.m-btn-downarrow,
|
||||
.s-btn-downarrow {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
font-size: 1px;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
.m-btn-active,
|
||||
.s-btn-active {
|
||||
background: #777;
|
||||
color: #fff;
|
||||
border: 1px solid #555;
|
||||
filter: none;
|
||||
}
|
||||
.m-btn-plain-active,
|
||||
.s-btn-plain-active {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
-moz-border-radius: 5px 5px 5px 5px;
|
||||
-webkit-border-radius: 5px 5px 5px 5px;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
}
|
||||
.m-btn .l-btn-left .l-btn-text {
|
||||
margin-right: 20px;
|
||||
}
|
||||
.m-btn .l-btn-icon-right .l-btn-text {
|
||||
margin-right: 40px;
|
||||
}
|
||||
.m-btn .l-btn-icon-right .l-btn-icon {
|
||||
right: 20px;
|
||||
}
|
||||
.m-btn .l-btn-icon-top .l-btn-text {
|
||||
margin-right: 4px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.m-btn .l-btn-icon-bottom .l-btn-text {
|
||||
margin-right: 4px;
|
||||
margin-bottom: 34px;
|
||||
}
|
||||
.m-btn .l-btn-icon-bottom .l-btn-icon {
|
||||
top: auto;
|
||||
bottom: 20px;
|
||||
}
|
||||
.m-btn .l-btn-icon-top .m-btn-downarrow,
|
||||
.m-btn .l-btn-icon-bottom .m-btn-downarrow {
|
||||
top: auto;
|
||||
bottom: 0px;
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
}
|
||||
.m-btn-line {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
font-size: 1px;
|
||||
display: none;
|
||||
}
|
||||
.m-btn .l-btn-left .m-btn-line {
|
||||
right: 0;
|
||||
width: 16px;
|
||||
height: 500px;
|
||||
border-style: solid;
|
||||
border-color: #cccccc;
|
||||
border-width: 0 0 0 1px;
|
||||
}
|
||||
.m-btn .l-btn-icon-top .m-btn-line,
|
||||
.m-btn .l-btn-icon-bottom .m-btn-line {
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 500px;
|
||||
height: 16px;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
.m-btn-large .l-btn-icon-right .l-btn-text {
|
||||
margin-right: 56px;
|
||||
}
|
||||
.m-btn-large .l-btn-icon-bottom .l-btn-text {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.m-btn-downarrow,
|
||||
.s-btn-downarrow {
|
||||
background: url('images/menu_arrows.png') no-repeat 0 center;
|
||||
}
|
||||
.m-btn-plain-active,
|
||||
.s-btn-plain-active {
|
||||
border-color: #555;
|
||||
background-color: #777;
|
||||
color: #fff;
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
.messager-body {
|
||||
padding: 10px 10px 30px 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
.messager-button {
|
||||
text-align: center;
|
||||
padding: 5px;
|
||||
}
|
||||
.messager-button .l-btn {
|
||||
width: 70px;
|
||||
}
|
||||
.messager-icon {
|
||||
float: left;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin: 0 10px 10px 0;
|
||||
}
|
||||
.messager-error {
|
||||
background: url('images/messager_icons.png') no-repeat scroll -64px 0;
|
||||
}
|
||||
.messager-info {
|
||||
background: url('images/messager_icons.png') no-repeat scroll 0 0;
|
||||
}
|
||||
.messager-question {
|
||||
background: url('images/messager_icons.png') no-repeat scroll -32px 0;
|
||||
}
|
||||
.messager-warning {
|
||||
background: url('images/messager_icons.png') no-repeat scroll -96px 0;
|
||||
}
|
||||
.messager-progress {
|
||||
padding: 10px;
|
||||
}
|
||||
.messager-p-msg {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.messager-body .messager-input {
|
||||
width: 100%;
|
||||
padding: 4px 0;
|
||||
outline-style: none;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
.window-thinborder .messager-button {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
|
@ -0,0 +1,77 @@
|
|||
.pagination {
|
||||
zoom: 1;
|
||||
padding: 2px;
|
||||
}
|
||||
.pagination table {
|
||||
float: left;
|
||||
height: 30px;
|
||||
}
|
||||
.pagination td {
|
||||
border: 0;
|
||||
}
|
||||
.pagination-btn-separator {
|
||||
float: left;
|
||||
height: 24px;
|
||||
border-left: 1px solid #444;
|
||||
border-right: 1px solid #777;
|
||||
margin: 3px 1px;
|
||||
}
|
||||
.pagination .pagination-num {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
margin: 0 2px;
|
||||
padding: 2px;
|
||||
width: 3em;
|
||||
height: auto;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
.pagination-page-list {
|
||||
margin: 0px 6px;
|
||||
padding: 1px 2px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
.pagination-info {
|
||||
float: right;
|
||||
margin: 0 6px;
|
||||
padding: 0;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.pagination span {
|
||||
font-size: 14px;
|
||||
}
|
||||
.pagination-link .l-btn-text {
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0 .5em;
|
||||
width: auto;
|
||||
min-width: 28px;
|
||||
}
|
||||
.pagination-first {
|
||||
background: url('images/pagination_icons.png') no-repeat 0 center;
|
||||
}
|
||||
.pagination-prev {
|
||||
background: url('images/pagination_icons.png') no-repeat -16px center;
|
||||
}
|
||||
.pagination-next {
|
||||
background: url('images/pagination_icons.png') no-repeat -32px center;
|
||||
}
|
||||
.pagination-last {
|
||||
background: url('images/pagination_icons.png') no-repeat -48px center;
|
||||
}
|
||||
.pagination-load {
|
||||
background: url('images/pagination_icons.png') no-repeat -64px center;
|
||||
}
|
||||
.pagination-loading {
|
||||
background: url('images/loading.gif') no-repeat center center;
|
||||
}
|
||||
.pagination-page-list,
|
||||
.pagination .pagination-num {
|
||||
border-color: #000;
|
||||
}
|
||||
|
|
@ -0,0 +1,267 @@
|
|||
.panel {
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
-moz-border-radius: 0 0 0 0;
|
||||
-webkit-border-radius: 0 0 0 0;
|
||||
border-radius: 0 0 0 0;
|
||||
}
|
||||
.panel-header,
|
||||
.panel-body {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
.panel-header {
|
||||
padding: 5px;
|
||||
position: relative;
|
||||
}
|
||||
.panel-title {
|
||||
background: url('images/blank.gif') no-repeat;
|
||||
}
|
||||
.panel-header-noborder {
|
||||
border-width: 0 0 1px 0;
|
||||
}
|
||||
.panel-body {
|
||||
overflow: auto;
|
||||
border-top-width: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.panel-body-noheader {
|
||||
border-top-width: 1px;
|
||||
}
|
||||
.panel-body-noborder {
|
||||
border-width: 0px;
|
||||
}
|
||||
.panel-body-nobottom {
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
.panel-with-icon {
|
||||
padding-left: 18px;
|
||||
}
|
||||
.panel-icon,
|
||||
.panel-tool {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
height: 16px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.panel-icon {
|
||||
left: 5px;
|
||||
width: 16px;
|
||||
}
|
||||
.panel-tool {
|
||||
right: 5px;
|
||||
width: auto;
|
||||
}
|
||||
.panel-tool a {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
opacity: 0.6;
|
||||
filter: alpha(opacity=60);
|
||||
margin: 0 0 0 2px;
|
||||
vertical-align: top;
|
||||
}
|
||||
.panel-tool a:hover {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=100);
|
||||
background-color: #777;
|
||||
-moz-border-radius: 3px 3px 3px 3px;
|
||||
-webkit-border-radius: 3px 3px 3px 3px;
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
}
|
||||
.panel-loading {
|
||||
padding: 11px 0px 10px 30px;
|
||||
}
|
||||
.panel-noscroll {
|
||||
overflow: hidden;
|
||||
}
|
||||
.panel-fit,
|
||||
.panel-fit body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.panel-loading {
|
||||
background: url('images/loading.gif') no-repeat 10px 10px;
|
||||
}
|
||||
.panel-tool-close {
|
||||
background: url('images/panel_tools.png') no-repeat -16px 0px;
|
||||
}
|
||||
.panel-tool-min {
|
||||
background: url('images/panel_tools.png') no-repeat 0px 0px;
|
||||
}
|
||||
.panel-tool-max {
|
||||
background: url('images/panel_tools.png') no-repeat 0px -16px;
|
||||
}
|
||||
.panel-tool-restore {
|
||||
background: url('images/panel_tools.png') no-repeat -16px -16px;
|
||||
}
|
||||
.panel-tool-collapse {
|
||||
background: url('images/panel_tools.png') no-repeat -32px 0;
|
||||
}
|
||||
.panel-tool-expand {
|
||||
background: url('images/panel_tools.png') no-repeat -32px -16px;
|
||||
}
|
||||
.panel-header,
|
||||
.panel-body {
|
||||
border-color: #000;
|
||||
}
|
||||
.panel-header {
|
||||
background-color: #3d3d3d;
|
||||
background: -webkit-linear-gradient(top,#454545 0,#383838 100%);
|
||||
background: -moz-linear-gradient(top,#454545 0,#383838 100%);
|
||||
background: -o-linear-gradient(top,#454545 0,#383838 100%);
|
||||
background: linear-gradient(to bottom,#454545 0,#383838 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0);
|
||||
}
|
||||
.panel-body {
|
||||
background-color: #666;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
}
|
||||
.panel-title {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.panel-footer {
|
||||
border: 1px solid #000;
|
||||
overflow: hidden;
|
||||
background: #555;
|
||||
}
|
||||
.panel-footer-noborder {
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
.panel-hleft,
|
||||
.panel-hright {
|
||||
position: relative;
|
||||
}
|
||||
.panel-hleft>.panel-body,
|
||||
.panel-hright>.panel-body {
|
||||
position: absolute;
|
||||
}
|
||||
.panel-hleft>.panel-header {
|
||||
float: left;
|
||||
}
|
||||
.panel-hright>.panel-header {
|
||||
float: right;
|
||||
}
|
||||
.panel-hleft>.panel-body {
|
||||
border-top-width: 1px;
|
||||
border-left-width: 0;
|
||||
}
|
||||
.panel-hright>.panel-body {
|
||||
border-top-width: 1px;
|
||||
border-right-width: 0;
|
||||
}
|
||||
.panel-hleft>.panel-body-nobottom {
|
||||
border-bottom-width: 1px;
|
||||
border-right-width: 0;
|
||||
}
|
||||
.panel-hright>.panel-body-nobottom {
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 0;
|
||||
}
|
||||
.panel-hleft>.panel-footer {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
.panel-hright>.panel-footer {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.panel-hleft>.panel-header-noborder {
|
||||
border-width: 0 1px 0 0;
|
||||
}
|
||||
.panel-hright>.panel-header-noborder {
|
||||
border-width: 0 0 0 1px;
|
||||
}
|
||||
.panel-hleft>.panel-body-noborder {
|
||||
border-width: 0;
|
||||
}
|
||||
.panel-hright>.panel-body-noborder {
|
||||
border-width: 0;
|
||||
}
|
||||
.panel-hleft>.panel-body-noheader {
|
||||
border-left-width: 1px;
|
||||
}
|
||||
.panel-hright>.panel-body-noheader {
|
||||
border-right-width: 1px;
|
||||
}
|
||||
.panel-hleft>.panel-footer-noborder {
|
||||
border-width: 0 0 0 1px;
|
||||
}
|
||||
.panel-hright>.panel-footer-noborder {
|
||||
border-width: 0 1px 0 0;
|
||||
}
|
||||
.panel-hleft>.panel-header .panel-icon,
|
||||
.panel-hright>.panel-header .panel-icon {
|
||||
margin-top: 0;
|
||||
top: 5px;
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
}
|
||||
.panel-hleft>.panel-header .panel-title,
|
||||
.panel-hright>.panel-header .panel-title {
|
||||
position: absolute;
|
||||
min-width: 16px;
|
||||
left: 25px;
|
||||
top: 5px;
|
||||
bottom: auto;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
-webkit-transform: rotate(90deg);
|
||||
-webkit-transform-origin: 0 0;
|
||||
-moz-transform: rotate(90deg);
|
||||
-moz-transform-origin: 0 0;
|
||||
-o-transform: rotate(90deg);
|
||||
-o-transform-origin: 0 0;
|
||||
transform: rotate(90deg);
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
.panel-hleft>.panel-header .panel-title-up,
|
||||
.panel-hright>.panel-header .panel-title-up {
|
||||
position: absolute;
|
||||
min-width: 16px;
|
||||
left: 21px;
|
||||
top: auto;
|
||||
bottom: 0px;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
-webkit-transform: rotate(-90deg);
|
||||
-webkit-transform-origin: 0 0;
|
||||
-moz-transform: rotate(-90deg);
|
||||
-moz-transform-origin: 0 0;
|
||||
-o-transform: rotate(-90deg);
|
||||
-o-transform-origin: 0 0;
|
||||
transform: rotate(-90deg);
|
||||
transform-origin: 0 16px;
|
||||
}
|
||||
.panel-hleft>.panel-header .panel-with-icon.panel-title-up,
|
||||
.panel-hright>.panel-header .panel-with-icon.panel-title-up {
|
||||
padding-left: 0;
|
||||
padding-right: 18px;
|
||||
}
|
||||
.panel-hleft>.panel-header .panel-tool,
|
||||
.panel-hright>.panel-header .panel-tool {
|
||||
top: auto;
|
||||
bottom: 5px;
|
||||
width: 16px;
|
||||
height: auto;
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
margin-top: 0;
|
||||
}
|
||||
.panel-hleft>.panel-header .panel-tool a,
|
||||
.panel-hright>.panel-header .panel-tool a {
|
||||
margin: 2px 0 0 0;
|
||||
}
|
||||