yeshijie 8 éve
szülő
commit
cd5e892932
17 módosított fájl, 2677 hozzáadás és 0 törlés
  1. 6 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/base.css
  2. 1 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/base.js
  3. 46 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/browser.css
  4. 25 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/cover.css
  5. 18 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/cyc-linkage.css
  6. 37 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/cyc-menu.css
  7. 403 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/font-awesome.css
  8. 153 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/function.css
  9. 71 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/list.css
  10. 33 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/media.css
  11. 26 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/reset.css
  12. 29 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/skin.css
  13. 13 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/common/unit.css
  14. 326 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/extra/html5shiv.js
  15. 649 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/extra/modernizr.js
  16. 244 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/extra/respond.js
  17. 597 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/extra/selectivizr.js

+ 6 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/base.css

@ -0,0 +1,6 @@
@import "reset.css";
@import "../lib/bootstrap.css";
@import "font-awesome.css";
@import "cover.css";
@import "function.css";
@import "unit.css";

+ 1 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/base.js

@ -0,0 +1 @@
var JKZL = window.JKZL = (window.JKZL || {});

+ 46 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/browser.css

@ -0,0 +1,46 @@
.f-fs50 { font-size: 50px; }
.f-fs18 { font-size: 18px; }
.s-c0 { color: #FFF; }
.s-c1 { color: #23AFFF; }
.s-c2 { color: #414141; }
.s-c3 { color: #5FBE55; }
.s-c4 { color: #FA8787; }
.s-c5 { color: #FF6400; }
.s-c6 { color: #FFC30F; }
.s-c7 { color: #EE9D34; }
.s-c8 { color: #A073D2; }
.s-c9 { color: #8755BE; }
.s-c10 { color: #69D7DC; }
.s-c11 { color: #23AFB9; }
.s-c12 { color: #F57364; }
.s-c13 { color: #DC4637; }
.s-c14 { color: #5FBE55; }
.s-c15 { color: #37A528; }
.s-c16 { color: #323232; }
.s-c17 { color: #787878; }
.s-c18 { color: #E6E6E6; }
.s-c19 { color: #F5F5F5; }
.s-c20 { color: #D0EAFB; }
.s-bc0 { color: #FFF; }
.s-bc1 { color: #23AFFF; }
.s-bc2 { color: #414141; }
.s-bc3 { color: #5FBE55; }
.s-bc4 { color: #FA8787; }
.s-bc5 { color: #FF6400; }
.s-bc6 { color: #FFC30F; }
.s-bc7 { color: #EE9D34; }
.s-bc8 { color: #A073D2; }
.s-bc9 { color: #8755BE; }
.s-bc10 { color: #69D7DC; }
.s-bc11 { color: #23AFB9; }
.s-bc12 { color: #F57364; }
.s-bc13 { color: #DC4637; }
.s-bc14 { color: #5FBE55; }
.s-bc15 { color: #37A528; }
.s-bc16 { color: #323232; }
.s-bc17 { color: #787878; }
.s-bc18 { color: #E6E6E6; }
.s-bc19 { color: #F5F5F5; }
.s-bc20 { color: #D0EAFB; }

+ 25 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/cover.css

@ -0,0 +1,25 @@
body {
    font:12px/1.14 \5b8b\4f53,Sim sun,"宋体";
    color: #323232;
}
.validation-failed {border: 1px solid #f09784 !important;}
.validation-failed[type="radio"],.validation-failed[type="checkbox"] {border:0px; background: none;}
.validation-failed-span{border:1px solid red; padding: 1px 0px 0px 0px;}
.validation-advice {color: #FF6666; background-color: white; margin: 0px 0;padding: 0px; margin-left: 5px; vertical-align: middle; color: #CC6666; display: inline; line-height: 35px !important; font: 12px/14px Geneva, "����", Tahoma, sans-serif;}
.validation-success-advice {color: #FF6666; background-color: white; margin: 0px 0; padding: 0px; margin-left: 5px; vertical-align: middle; color: #CC6666; display: inline; line-height: 35px; font: 12px/14px Geneva, "����", Tahoma, sans-serif;}
a:hover{color: #000000;text-decoration: none;}
a:focus{color:#ffffff;text-decoration: none;}
/*判断是不是文本域,如果是 关闭按钮缩进10像素*/
.uicyc-tar{ position:relative}
.uicyc-tar >.l-trigger.l-trigger-cancel.l-text-trigger-cancel{ right:10px;position: absolute;top: 50%; height: 14px; margin-top: -7px;}
/*左侧菜单结构修改*/
.l-layout-left{overflow: initial;z-index: 20;}
#span_nav_breadcrumb_content span{ font-weight: normal;}
#span_nav_breadcrumb_content span.on{ color:#3eafe0}
#span_nav_breadcrumb_content span.strong{ font-weight:bold;}
/**/
#div_left #div_typeTree{padding: 0 0 10px 0}

+ 18 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/cyc-linkage.css

@ -0,0 +1,18 @@
@charset "utf-8";
.dr{position:absolute; width:200px; height:30px;left:0;top:0;bottom:0; right:0; margin:auto;}
.linkage{position:absolute;width:240px;z-index:9101;height:235px;border:1px #ccc solid;background: #fff;}
.linkage h3.qhuan{ height:35px; display:block; margin:0 auto; border-bottom:1px #ccc solid;background:#f0f0f0;}
.linkage h3.qhuan a{ height:35px; float:left; display:inline; line-height:34px; padding:0 10px; border-right:1px #ccc solid; font-size:12px; color:#000000;}
.linkage h3.qhuan a.on{height:36px; line-height:34px; background:#fff; color:#f60}
.linkage div.qhuanx{display:block;float: left;width:100%;margin:0 auto;height: 197px;overflow-y:auto;}
.linkage .loading{ width:100%; height:100%; position: absolute;top:0px; background: url(../images/app/loading01.gif) center center no-repeat #fff; opacity: 0.8; display: none;}
.linkage div.qhuanx .addr{display: none;overflow-y: auto;margin:0 auto;height: 100%; font-size:12px; }
.linkage div.qhuanx .addr dl { line-height: 2; clear: both; padding: 3px 0; margin: 0 }
.linkage div.qhuanx .addr dl:after { display: block; clear: both; content: " ";  font-size: 0; height: 0; visibility: hidden }
.linkage div.qhuanx .addr dt {display: inline-block;width: 35px;float: left;line-height: 25px;padding-right: 0px;font-weight: 700;text-align: right;}
.linkage div.qhuanx .addr dd {display: inline;float: left;width: 185px;line-height: 25px;margin-left: 0;}
.linkage div.qhuanx .addr a { display: inline-block; color: #4D4D4D; padding: 0 6px; outline: 0; text-decoration: none; white-space: nowrap; margin-right: 2px }
.linkage div.qhuanx .addr a.on{    background-color: #f60;color: #fff;border-radius: 2px;}
.linkage div.qhuanx .addr textarea{border: 1px #ddd solid;margin: 10px 10px 5px 10px;width: 218px;line-height: 22px;padding: 5px;}
/*
.linkage div.qhuanx .addr a:focus,.m-select-panel a:hover { background-color: #fff8f3; border-radius: 2px; color: #f60 }*/

+ 37 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/cyc-menu.css

@ -0,0 +1,37 @@
@charset "utf-8";
/*总支撑左侧导航*/
.menucyc{ float: left;width: 190px;border:1px #b9c8d2 solid;display: inline; background:#f0f9fd; height:100%;position: relative;padding: 38px 0 0 0;}
.menucyc *{  box-sizing:content-box}
.menucyc li.first-tit{ z-index: 1;top: 89px;position: fixed;height: 38px;line-height: 38px; color: #fff;font-size: 14px;  background:#0082be  url(../images/jl.jpg) repeat-x; width: 190px;}
.menucyc li i{ width: 38px; height: 38px;float:left;background: url(../images/icon_kf.png) no-repeat center center;}
.menucyc li i.a1{background-image:url(../images/icon_Reg.png)}
.menucyc li i.a2{background-image:url(../images/icon_adm.png)}
.menucyc li i.a3{background-image:url(../images/icon_kf.png)}
.menucyc li i.a4{background-image:url(../images/icon_anquan.png)}
.menucyc li i.a5{background-image:url(../images/icon_ziyuan.png)}
.menucyc li i.a6{background-image:url(../images/icon_yunying.png)}
.menucyc li i.a7{background-image:url(../images/icon_fuwu.png)}
.menucyc li i.a8{background-image:url(../images/icon_pz.png)}
.menucyc li i.me{background-image:url(../images/icon_jt.png); margin:0 0 0 25px; width:25px;}
.menucyc li i.me.on{background-image:url(../images/Selected_btn.png);}
.menucyc li>ul>li>ul >li > a >i.me{margin:0 0 0 50px;}
.menucyc li.first-tit i{ background-image:url(../images/icon_Menu.png)}
.menucyc a{ width:100%;display:block;height:38px; color:#323232; font-size:12px}
.menucyc a.on{ background:#3eafe0; color:#fff;}
.menucyc a.menu-tit1{ background:#d4e7f0; color:#323232; font-size:15px; font-weight:bold;}
.menucyc a.menu-tit2{ background:#f0f9fd; color:#323232;}
.menucyc li ul{ display:none; width:100%}
.menucyc li{ position:relative; width:100%; display:block;line-height:38px; background:#f0f9fd; }
.menucyc li .menu-tit1{border-bottom:1px #bac9d3 solid}
/*.menucyc >li>ul>li>ul>li:hover >ul{ display:block;}*/
.menucyc >li >ul> li>a.on { background: none; color:#323232}
/*第四级*/
.menucyc >li>ul>li>ul>li ul{ position:absolute;left:190px; font-size:12px;top:-1px; background:#f0f9fd;border: 1px #b9c8d2 solid;}
.menucyc >li>ul>li>ul>li ul i.me{ margin:0 0 0 25px; background:none;}
.menucyc >li>ul>li>ul>li ul >li ul{ background:#ffffff;}
.l-layout-left .mCSB_inside > .mCSB_container{margin-right:0px}
.l-layout-drophandle-left{ display:none!important;}
/*.menucyc ul{  width:190px;position:absolute; border:1px #ddd solid;left:190px;top:-1px; display:none; }*/

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 403 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/font-awesome.css


+ 153 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/function.css

@ -0,0 +1,153 @@
/* function */
/* 文字排版 */
.f-ff0 { font-family:arial,\5b8b\4f53; }
.f-ff1 { font-family:"Microsoft YaHei",\5fae\8f6f\96c5\9ed1,arial,\5b8b\4f53; }
.f-fs12 { font-size:12px; }
.f-fs13 { font-size:13px; }
.f-fs14 { font-size:14px; }
.f-fs16 { font-size:16px; }
.f-fs20 { font-size:20px; }
.f-fwn { font-weight:normal; }
.f-fwb { font-weight:bold; }
.f-tdu,
.f-tdu:hover { text-decoration:underline; }
.f-tdn,
.f-tdn:link,
.f-tdn:visited,
.f-tdn:hover,
.f-tdn:active { text-decoration:none; }
.f-ti { overflow:hidden; text-indent:-30000px; }
.f-ti2 { text-indent:2em; }
.f-lhn { line-height:normal; }
.f-wsn { word-wrap:normal; white-space:nowrap; }
.f-pre { overflow:hidden; text-align:left; white-space:pre-wrap; word-wrap:break-word; word-break:break-all; }
.f-wwb { white-space:normal; word-wrap:break-word; word-break:break-all; }
.f-toe{overflow:hidden;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis;}
/* 定位 */
.f-tal { text-align:left; }
.f-tac { text-align:center; }
.f-tar { text-align:right; }
.f-taj { text-align:justify; text-justify:inter-ideograph; }
.f-vam,
.f-vama *{ vertical-align:middle; }
.f-cb:after,
.f-cbli li:after { display:block; clear:both; visibility:hidden; height:0; overflow:hidden; content:"."; }
.f-cb,
.f-cbli li { zoom:1; }
.f-ib { display:inline-block; *display:inline; *zoom:1; }
.f-dn { display:none; }
.f-db { display:block; }
.f-fl { float:left; }
.f-fr { float:right; }
.f-pa { position:absolute; }
.f-pr { position:relative; }
.f-prz { position:relative; zoom:1; }
.f-oh { overflow:hidden; }
/* 长度高度*/
.f-w10 { width:10px; }
.f-w20 { width:20px; }
.f-w30 { width:30px; }
.f-w40 { width:40px; }
.f-w50 { width:50px; }
.f-w60 { width:60px; }
.f-w70 { width:70px; }
.f-w80 { width:80px; }
.f-w90 { width:90px; }
.f-w100 { width:100px; }
.f-w200 { width:200px; }
.f-w240 { width:240px; }
.f-w300 { width:300px; }
.f-w400 { width:400px; }
.f-w500 { width:500px; }
.f-w600 { width:600px; }
.f-w700 { width:700px; }
.f-w800 { width:800px; }
.f-ww { width:100% }
.f-h10 { height:10px; }
.f-h20 { height:20px; }
.f-h28 { height:28px; }
.f-h30 { height:30px; }
.f-h40 { height:40px; }
.f-h50 { height:50px; }
.f-h80 { height:80px; }
.f-h100 { height:100px; }
.f-h200 { height:200px; }
.f-hh { height:100% }
.f-lh30 { line-height:30px; }
/* 边距 */
.f-m10 {  margin:10px; }
.f-m15 {  margin:15px; }
.f-m30 {  margin:30px; }
.f-mt5 {  margin-top:5px; }
.f-mt10 { margin-top:10px; }
.f-mt15 { margin-top:15px; }
.f-mt20 { margin-top:20px; }
.f-mt30 { margin-top:30px; }
.f-mt50 { margin-top:50px; }
.f-mt100 { margin-top:100px; }
.f-mb5 { margin-bottom:5px; }
.f-mb10 { margin-bottom:10px; }
.f-mb15 { margin-bottom:15px; }
.f-mb20 { margin-bottom:20px; }
.f-mb30 { margin-bottom:30px; }
.f-mb50 { margin-bottom:50px; }
.f-mb100 { margin-bottom:100px; }
.f-ml5 { margin-left:5px; }
.f-ml10 { margin-left:10px; }
.f-ml15 { margin-left:15px; }
.f-ml20 { margin-left:20px; }
.f-ml30 { margin-left:30px; }
.f-ml50 { margin-left:50px; }
.f-ml100 { margin-left:100px; }
.f-mr5 { margin-right:5px; }
.f-mr10 { margin-right:10px; }
.f-mr15 { margin-right:15px; }
.f-mr20 { margin-right:20px; }
.f-mr30 { margin-right:30px; }
.f-mr50 { margin-right:50px; }
.f-mr100 { margin-right:100px; }
.f-p10 { padding:10px; }
.f-p15 { padding:15px; }
.f-p30 { padding:30px; }
.f-pt5 { padding-top:5px; }
.f-pt10 { padding-top:10px; }
.f-pt15 { padding-top:15px; }
.f-pt20 { padding-top:20px; }
.f-pt30 { padding-top:30px; }
.f-pt50 { padding-top:50px; }
.f-pt100 { padding-top:100px; }
.f-pb5 { padding-bottom:5px; }
.f-pb10 { padding-bottom:10px; }
.f-pb15 { padding-bottom:15px; }
.f-pb20 { padding-bottom:20px; }
.f-pb30 { padding-bottom:30px; }
.f-pb50 { padding-bottom:50px; }
.f-pb100 { padding-bottom:100px; }
.f-pl5 { padding-left:5px; }
.f-pl10 { padding-left:10px; }
.f-pl15 { padding-left:15px; }
.f-pl20 { padding-left:20px; }
.f-pl30 { padding-left:30px; }
.f-pl50 { padding-left:50px; }
.f-pl100 { padding-left:100px; }
.f-pr5 { padding-right:5px; }
.f-pr10 { padding-right:10px; }
.f-pr15 { padding-right:15px; }
.f-pr20 { padding-right:20px; }
.f-pr30 { padding-right:30px; }
.f-pr50 { padding-right:50px; }
.f-pr100 { padding-right:100px; }
/* 其它 */
.f-csp{cursor:pointer;}
.f-csd{cursor:default;}
.f-csh{cursor:help;}
.f-csm{cursor:move;}
.f-usn{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;}

+ 71 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/list.css

@ -0,0 +1,71 @@
/*update by CMS ie7闪动*/
html, body, .frame-list-layout { display:block; /*position:relative;*/ width:100%; height:100%;}
/*章节*/
.list-section { display:block; clear:both; width:100%; height:auto;}
.list-section .list-section-head { height:29px; padding-right:18px; border-bottom:1px solid #ccc;}
.list-section .list-section-head h4 { display:inline-block;*display:inline;*zoom:1;/*update by lqh IE7*/ height:22px; padding:4px 0 3px 10px; line-height:22px; font-size:14px; font-weight:bold;}
.pane-search { padding:5px 18px 5px;}
.pane-search span {}
.pane-search input { width:300px; height:23px; padding:3px 5px 2px; /*border:1px solid #ccc;*/ line-height:18px;}
#pane-list { display:block; width:auto; height:222px; border-top:1px solid #ccc; border-bottom:1px solid #ccc;}
#pane-list-selected { 
    position:relative;/*update by lqh IE7*/
    display:block; 
    overflow:hidden; overflow-y:auto;
    width:auto; height:110px; 
    margin:0 18px 4px; 
    border:1px solid #ccc; border-top-width:0;
}
#pane-list-selected .item { 
    display:inline-block; 
    *display:inline;
    *zoom:1;
    position:relative;
    width:auto;
    /*height:18px;*/
    margin:5px 1px 0 5px; padding:3px 7px 2px; 
    background-color:#016CBA; 
    line-height:18px;
    white-space:nowrap; 
    color:#fff;
}
#pane-list-selected .item .close { 
    display:none; 
    position:absolute; top:0; right:0; 
    width:23px; height:23px;
    cursor:pointer;
    background-color:#005d9d;    
    border-left:1px solid #005d9d;
    line-height:23px;
    text-align:center;
    text-decoration:none;
    color:#fff;
}
#pane-list-selected .item:hover .close { display:block;}
#pane-list-selected .item .close:hover { background-color:#004D83; border-left-color:#00406C;}
.pane-list-toolbar { 
    display:block; 
    position:absolute; bottom:0; left:0; 
    width:100%;
    height:46px;
    padding:6px 0 4px; 
    background-color:#fff;
    border-top:1px solid #ccc; 
    text-align:right;
}
.pane-list-toolbar .btn { margin-right:18px;}
/*#btn-submit{background:url(../image/frame/true.gif) no-repeat; width:60px; height:23px; padding:0px;}*/
/*#btn-cancel{background:url(../image/frame/cancel.gif) no-repeat; width:60px; height:23px;padding:0px;}*/
/*#btn-submit:hover,#btn-cancel:hover{background-position:0px -23px;}*/

+ 33 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/media.css

@ -0,0 +1,33 @@
/* media */
/* 横屏 */
@media screen and (orientation:landscape){
    
}
/* 竖屏 */
@media screen and (orientation:portrait){
    
}
/* 窗口宽度<960,设计宽度=768 */
@media screen and (max-width:959px){
    
}
/* 窗口宽度<768,设计宽度=640 */
@media screen and (max-width:767px){
    
}
/* 窗口宽度<640,设计宽度=480 */
@media screen and (max-width:639px){
    
}
/* 窗口宽度<480,设计宽度=320 */
@media screen and (max-width:479px){
    
}
/* windows UI 贴靠 */
@media screen and (-ms-view-state:snapped){
    
}
/* 打印 */
@media print{
    
}

+ 26 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/reset.css

@ -0,0 +1,26 @@
/* reset */
html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0;}
header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{display:block;}
table, caption, tbody, tfoot, thead, tr, th, td {  font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; }
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;font-weight:normal;}
html,body,fieldset,img,iframe,abbr{border:0;}
i,cite,em,var,address,dfn{font-style:normal;}
[hidefocus],summary{outline:0;}
li{list-style:none;}
h1,h2,h3,h4,h5,h6,small{font-size:100%;}
sup,sub{font-size:83%;}
pre,code,kbd,samp{font-family:inherit;}
q:before,q:after{content:none;}
textarea{overflow:auto;resize:none;}
label,summary{cursor:default;}
a,button{cursor:pointer;}
h1,h2,h3,h4,h5,h6,em,strong,b{font-weight:bold;}
del,ins,u,s,a,a:hover{text-decoration:none;}
body,textarea,input,button,select,keygen,legend{font:12px \5b8b\4f53,Sim sun,"宋体";color:#333;outline:0;}
body{background:#fff;}
a,a:hover{color:#333;}
article,aside,dialog,footer,header,section,footer,nav,figure,menu{ display:block }
/* 在IE10以上版本中,页面上的文本框控件在输入文字时候会被自动加上一个X,下面设置将其去除 */
input[type=text]::-ms-clear { display: none; }

+ 29 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/skin.css

@ -0,0 +1,29 @@
.s-c0 { color: #fff; }
.s-c1 { color: #2d9bd2; }
.s-c2 { color: #0082be; }
.s-c3 { color: #4bb941; }
.s-c4 { color: #ff9600; }
.s-c5 { color: #edf6fa; }
.s-c6 { color: #d4e7f0; }
.s-c7 { color: #b9c8d2; }
.s-c8 { color: #a5b9c8; }
.s-c9 { color: #b9c8d2; }
.s-c10 { color: #323232; }
.s-c11 { color: #787878; }
.s-c12 { color: #32a023; }
.s-c13 { color: #fe0000; }
.s-bc0 { background-color: #fff; }
.s-bc1 { background-color: #2d9bd2; }
.s-bc2 { background-color: #0082be; }
.s-bc3 { background-color: #4bb941; }
.s-bc4 { background-color: #ff9600; }
.s-bc5 { background-color: #edf6fa; }
.s-bc6 { background-color: #d4e7f0; }
.s-bc7 { background-color: #b9c8d2; }
.s-bc8 { background-color: #a5b9c8; }
.s-bc9 { background-color: #b9c8d2; }
.s-bc10 { background-color: #323232; }
.s-bc11 { background-color: #787878; }
.s-bc12 { background-color: #32a023; }
.s-bc13 { background-color: #fe0000; }

+ 13 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/common/unit.css

@ -0,0 +1,13 @@
/* unit */
.f-icon-0 { background: url(../images/icon_Standard.png) center no-repeat; }
.f-icon-1 { background: url(../images/icon_Task.png) center no-repeat; }
.f-icon-2 { background: url(../images/icon_es.png) center no-repeat; }
.f-icon-3 { background: url(../images/icon_configure.png) center no-repeat; }
.f-icon-4 { background: url(../images/icon_Journal.png) center no-repeat; }
.f-icon-5 { background: url(../images/icon_Resources.png) center no-repeat; }
.f-icon-6 { background: url(../images/icon_Safety.png) center no-repeat; }
.f-color-0 { color: #fff;}
.f-bc100 { background-color:  #2d9bd2;}

+ 326 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/extra/html5shiv.js

@ -0,0 +1,326 @@
/**
 * @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
 */
;(function(window, document) {
  /*jshint evil:true */
  /** version */
  var version = '3.7.3';
  /** Preset options */
  var options = window.html5 || {};
  /** Used to skip problem elements */
  var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;
  /** Not all elements can be cloned in IE **/
  var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i;
  /** Detect whether the browser supports default html5 styles */
  var supportsHtml5Styles;
  /** Name of the expando, to work with multiple documents or to re-shiv one document */
  var expando = '_html5shiv';
  /** The id for the the documents expando */
  var expanID = 0;
  /** Cached data for each document */
  var expandoData = {};
  /** Detect whether the browser supports unknown elements */
  var supportsUnknownElements;
  (function() {
    try {
      var a = document.createElement('a');
      a.innerHTML = '<xyz></xyz>';
      //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles
      supportsHtml5Styles = ('hidden' in a);
      supportsUnknownElements = a.childNodes.length == 1 || (function() {
            // assign a false positive if unable to shiv
            (document.createElement)('a');
            var frag = document.createDocumentFragment();
            return (
                typeof frag.cloneNode == 'undefined' ||
                typeof frag.createDocumentFragment == 'undefined' ||
                typeof frag.createElement == 'undefined'
            );
          }());
    } catch(e) {
      // assign a false positive if detection fails => unable to shiv
      supportsHtml5Styles = true;
      supportsUnknownElements = true;
    }
  }());
  /*--------------------------------------------------------------------------*/
  /**
   * Creates a style sheet with the given CSS text and adds it to the document.
   * @private
   * @param {Document} ownerDocument The document.
   * @param {String} cssText The CSS text.
   * @returns {StyleSheet} The style element.
   */
  function addStyleSheet(ownerDocument, cssText) {
    var p = ownerDocument.createElement('p'),
        parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement;
    p.innerHTML = 'x<style>' + cssText + '</style>';
    return parent.insertBefore(p.lastChild, parent.firstChild);
  }
  /**
   * Returns the value of `html5.elements` as an array.
   * @private
   * @returns {Array} An array of shived element node names.
   */
  function getElements() {
    var elements = html5.elements;
    return typeof elements == 'string' ? elements.split(' ') : elements;
  }
  /**
   * Extends the built-in list of html5 elements
   * @memberOf html5
   * @param {String|Array} newElements whitespace separated list or array of new element names to shiv
   * @param {Document} ownerDocument The context document.
   */
  function addElements(newElements, ownerDocument) {
    var elements = html5.elements;
    if(typeof elements != 'string'){
      elements = elements.join(' ');
    }
    if(typeof newElements != 'string'){
      newElements = newElements.join(' ');
    }
    html5.elements = elements +' '+ newElements;
    shivDocument(ownerDocument);
  }
  /**
   * Returns the data associated to the given document
   * @private
   * @param {Document} ownerDocument The document.
   * @returns {Object} An object of data.
   */
  function getExpandoData(ownerDocument) {
    var data = expandoData[ownerDocument[expando]];
    if (!data) {
      data = {};
      expanID++;
      ownerDocument[expando] = expanID;
      expandoData[expanID] = data;
    }
    return data;
  }
  /**
   * returns a shived element for the given nodeName and document
   * @memberOf html5
   * @param {String} nodeName name of the element
   * @param {Document|DocumentFragment} ownerDocument The context document.
   * @returns {Object} The shived element.
   */
  function createElement(nodeName, ownerDocument, data){
    if (!ownerDocument) {
      ownerDocument = document;
    }
    if(supportsUnknownElements){
      return ownerDocument.createElement(nodeName);
    }
    if (!data) {
      data = getExpandoData(ownerDocument);
    }
    var node;
    if (data.cache[nodeName]) {
      node = data.cache[nodeName].cloneNode();
    } else if (saveClones.test(nodeName)) {
      node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode();
    } else {
      node = data.createElem(nodeName);
    }
    // Avoid adding some elements to fragments in IE < 9 because
    // * Attributes like `name` or `type` cannot be set/changed once an element
    //   is inserted into a document/fragment
    // * Link elements with `src` attributes that are inaccessible, as with
    //   a 403 response, will cause the tab/window to crash
    // * Script elements appended to fragments will execute when their `src`
    //   or `text` property is set
    return node.canHaveChildren && !reSkip.test(nodeName) && !node.tagUrn ? data.frag.appendChild(node) : node;
  }
  /**
   * returns a shived DocumentFragment for the given document
   * @memberOf html5
   * @param {Document} ownerDocument The context document.
   * @returns {Object} The shived DocumentFragment.
   */
  function createDocumentFragment(ownerDocument, data){
    if (!ownerDocument) {
      ownerDocument = document;
    }
    if(supportsUnknownElements){
      return ownerDocument.createDocumentFragment();
    }
    data = data || getExpandoData(ownerDocument);
    var clone = data.frag.cloneNode(),
        i = 0,
        elems = getElements(),
        l = elems.length;
    for(;i<l;i++){
      clone.createElement(elems[i]);
    }
    return clone;
  }
  /**
   * Shivs the `createElement` and `createDocumentFragment` methods of the document.
   * @private
   * @param {Document|DocumentFragment} ownerDocument The document.
   * @param {Object} data of the document.
   */
  function shivMethods(ownerDocument, data) {
    if (!data.cache) {
      data.cache = {};
      data.createElem = ownerDocument.createElement;
      data.createFrag = ownerDocument.createDocumentFragment;
      data.frag = data.createFrag();
    }
    ownerDocument.createElement = function(nodeName) {
      //abort shiv
      if (!html5.shivMethods) {
        return data.createElem(nodeName);
      }
      return createElement(nodeName, ownerDocument, data);
    };
    ownerDocument.createDocumentFragment = Function('h,f', 'return function(){' +
        'var n=f.cloneNode(),c=n.createElement;' +
        'h.shivMethods&&(' +
          // unroll the `createElement` calls
        getElements().join().replace(/[\w\-:]+/g, function(nodeName) {
          data.createElem(nodeName);
          data.frag.createElement(nodeName);
          return 'c("' + nodeName + '")';
        }) +
        ');return n}'
    )(html5, data.frag);
  }
  /*--------------------------------------------------------------------------*/
  /**
   * Shivs the given document.
   * @memberOf html5
   * @param {Document} ownerDocument The document to shiv.
   * @returns {Document} The shived document.
   */
  function shivDocument(ownerDocument) {
    if (!ownerDocument) {
      ownerDocument = document;
    }
    var data = getExpandoData(ownerDocument);
    if (html5.shivCSS && !supportsHtml5Styles && !data.hasCSS) {
      data.hasCSS = !!addStyleSheet(ownerDocument,
          // corrects block display not defined in IE6/7/8/9
          'article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}' +
            // adds styling not present in IE6/7/8/9
          'mark{background:#FF0;color:#000}' +
            // hides non-rendered elements
          'template{display:none}'
      );
    }
    if (!supportsUnknownElements) {
      shivMethods(ownerDocument, data);
    }
    return ownerDocument;
  }
  /*--------------------------------------------------------------------------*/
  /**
   * The `html5` object is exposed so that more elements can be shived and
   * existing shiving can be detected on iframes.
   * @type Object
   * @example
   *
   * // options can be changed before the script is included
   * html5 = { 'elements': 'mark section', 'shivCSS': false, 'shivMethods': false };
   */
  var html5 = {
    /**
     * An array or space separated string of node names of the elements to shiv.
     * @memberOf html5
     * @type Array|String
     */
    'elements': options.elements || 'abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video',
    /**
     * current version of html5shiv
     */
    'version': version,
    /**
     * A flag to indicate that the HTML5 style sheet should be inserted.
     * @memberOf html5
     * @type Boolean
     */
    'shivCSS': (options.shivCSS !== false),
    /**
     * Is equal to true if a browser supports creating unknown/HTML5 elements
     * @memberOf html5
     * @type boolean
     */
    'supportsUnknownElements': supportsUnknownElements,
    /**
     * A flag to indicate that the document's `createElement` and `createDocumentFragment`
     * methods should be overwritten.
     * @memberOf html5
     * @type Boolean
     */
    'shivMethods': (options.shivMethods !== false),
    /**
     * A string to describe the type of `html5` object ("default" or "default print").
     * @memberOf html5
     * @type String
     */
    'type': 'default',
    // shivs the document according to the specified `html5` object options
    'shivDocument': shivDocument,
    //creates a shived element
    createElement: createElement,
    //creates a shived documentFragment
    createDocumentFragment: createDocumentFragment,
    //extends list of elements
    addElements: addElements
  };
  /*--------------------------------------------------------------------------*/
  // expose html5
  window.html5 = html5;
  // shiv the document
  shivDocument(document);
  if(typeof module == 'object' && module.exports){
    module.exports = html5;
  }
}(typeof window !== "undefined" ? window : this, document));

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 649 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/extra/modernizr.js


+ 244 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/extra/respond.js

@ -0,0 +1,244 @@
define(function (require, exprots, module) {
  // Respond源代码开始
  /*! Respond.js v1.4.2: min/max-width media query polyfill
   * Copyright 2014 Scott Jehl
   * Licensed under MIT
   * http://j.mp/respondjs */
  /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
  /*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
  (function(w) {
    "use strict";
    w.matchMedia = w.matchMedia || function(doc, undefined) {
          var bool, docElem = doc.documentElement, refNode = docElem.firstElementChild || docElem.firstChild, fakeBody = doc.createElement("body"), div = doc.createElement("div");
          div.id = "mq-test-1";
          div.style.cssText = "position:absolute;top:-100em";
          fakeBody.style.background = "none";
          fakeBody.appendChild(div);
          return function(q) {
            div.innerHTML = '&shy;<style media="' + q + '"> #mq-test-1 { width: 42px; }</style>';
            docElem.insertBefore(fakeBody, refNode);
            bool = div.offsetWidth === 42;
            docElem.removeChild(fakeBody);
            return {
              matches: bool,
              media: q
            };
          };
        }(w.document);
  })(this);
  (function(w) {
    "use strict";
    var respond = {};
    w.respond = respond;
    respond.update = function() {};
    var requestQueue = [], xmlHttp = function() {
      var xmlhttpmethod = false;
      try {
        xmlhttpmethod = new w.XMLHttpRequest();
      } catch (e) {
        xmlhttpmethod = new w.ActiveXObject("Microsoft.XMLHTTP");
      }
      return function() {
        return xmlhttpmethod;
      };
    }(), ajax = function(url, callback) {
      var req = xmlHttp();
      if (!req) {
        return;
      }
      req.open("GET", url, true);
      req.onreadystatechange = function() {
        if (req.readyState !== 4 || req.status !== 200 && req.status !== 304) {
          return;
        }
        callback(req.responseText);
      };
      if (req.readyState === 4) {
        return;
      }
      req.send(null);
    }, isUnsupportedMediaQuery = function(query) {
      return query.replace(respond.regex.minmaxwh, "").match(respond.regex.other);
    };
    respond.ajax = ajax;
    respond.queue = requestQueue;
    respond.unsupportedmq = isUnsupportedMediaQuery;
    respond.regex = {
      media: /@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,
      keyframes: /@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,
      comments: /\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,
      urls: /(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,
      findStyles: /@media *([^\{]+)\{([\S\s]+?)$/,
      only: /(only\s+)?([a-zA-Z]+)\s?/,
      minw: /\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,
      maxw: /\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,
      minmaxwh: /\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,
      other: /\([^\)]*\)/g
    };
    respond.mediaQueriesSupported = w.matchMedia && w.matchMedia("only all") !== null && w.matchMedia("only all").matches;
    if (respond.mediaQueriesSupported) {
      return;
    }
    var doc = w.document, docElem = doc.documentElement, mediastyles = [], rules = [], appendedEls = [], parsedSheets = {}, resizeThrottle = 30, head = doc.getElementsByTagName("head")[0] || docElem, base = doc.getElementsByTagName("base")[0], links = head.getElementsByTagName("link"), lastCall, resizeDefer, eminpx, getEmValue = function() {
      var ret, div = doc.createElement("div"), body = doc.body, originalHTMLFontSize = docElem.style.fontSize, originalBodyFontSize = body && body.style.fontSize, fakeUsed = false;
      div.style.cssText = "position:absolute;font-size:1em;width:1em";
      if (!body) {
        body = fakeUsed = doc.createElement("body");
        body.style.background = "none";
      }
      docElem.style.fontSize = "100%";
      body.style.fontSize = "100%";
      body.appendChild(div);
      if (fakeUsed) {
        docElem.insertBefore(body, docElem.firstChild);
      }
      ret = div.offsetWidth;
      if (fakeUsed) {
        docElem.removeChild(body);
      } else {
        body.removeChild(div);
      }
      docElem.style.fontSize = originalHTMLFontSize;
      if (originalBodyFontSize) {
        body.style.fontSize = originalBodyFontSize;
      }
      ret = eminpx = parseFloat(ret);
      return ret;
    }, applyMedia = function(fromResize) {
      var name = "clientWidth", docElemProp = docElem[name], currWidth = doc.compatMode === "CSS1Compat" && docElemProp || doc.body[name] || docElemProp, styleBlocks = {}, lastLink = links[links.length - 1], now = new Date().getTime();
      if (fromResize && lastCall && now - lastCall < resizeThrottle) {
        w.clearTimeout(resizeDefer);
        resizeDefer = w.setTimeout(applyMedia, resizeThrottle);
        return;
      } else {
        lastCall = now;
      }
      for (var i in mediastyles) {
        if (mediastyles.hasOwnProperty(i)) {
          var thisstyle = mediastyles[i], min = thisstyle.minw, max = thisstyle.maxw, minnull = min === null, maxnull = max === null, em = "em";
          if (!!min) {
            min = parseFloat(min) * (min.indexOf(em) > -1 ? eminpx || getEmValue() : 1);
          }
          if (!!max) {
            max = parseFloat(max) * (max.indexOf(em) > -1 ? eminpx || getEmValue() : 1);
          }
          if (!thisstyle.hasquery || (!minnull || !maxnull) && (minnull || currWidth >= min) && (maxnull || currWidth <= max)) {
            if (!styleBlocks[thisstyle.media]) {
              styleBlocks[thisstyle.media] = [];
            }
            styleBlocks[thisstyle.media].push(rules[thisstyle.rules]);
          }
        }
      }
      for (var j in appendedEls) {
        if (appendedEls.hasOwnProperty(j)) {
          if (appendedEls[j] && appendedEls[j].parentNode === head) {
            head.removeChild(appendedEls[j]);
          }
        }
      }
      appendedEls.length = 0;
      for (var k in styleBlocks) {
        if (styleBlocks.hasOwnProperty(k)) {
          var ss = doc.createElement("style"), css = styleBlocks[k].join("\n");
          ss.type = "text/css";
          ss.media = k;
          head.insertBefore(ss, lastLink.nextSibling);
          if (ss.styleSheet) {
            ss.styleSheet.cssText = css;
          } else {
            ss.appendChild(doc.createTextNode(css));
          }
          appendedEls.push(ss);
        }
      }
    }, translate = function(styles, href, media) {
      var qs = styles.replace(respond.regex.comments, "").replace(respond.regex.keyframes, "").match(respond.regex.media), ql = qs && qs.length || 0;
      href = href.substring(0, href.lastIndexOf("/"));
      var repUrls = function(css) {
        return css.replace(respond.regex.urls, "$1" + href + "$2$3");
      }, useMedia = !ql && media;
      if (href.length) {
        href += "/";
      }
      if (useMedia) {
        ql = 1;
      }
      for (var i = 0; i < ql; i++) {
        var fullq, thisq, eachq, eql;
        if (useMedia) {
          fullq = media;
          rules.push(repUrls(styles));
        } else {
          fullq = qs[i].match(respond.regex.findStyles) && RegExp.$1;
          rules.push(RegExp.$2 && repUrls(RegExp.$2));
        }
        eachq = fullq.split(",");
        eql = eachq.length;
        for (var j = 0; j < eql; j++) {
          thisq = eachq[j];
          if (isUnsupportedMediaQuery(thisq)) {
            continue;
          }
          mediastyles.push({
            media: thisq.split("(")[0].match(respond.regex.only) && RegExp.$2 || "all",
            rules: rules.length - 1,
            hasquery: thisq.indexOf("(") > -1,
            minw: thisq.match(respond.regex.minw) && parseFloat(RegExp.$1) + (RegExp.$2 || ""),
            maxw: thisq.match(respond.regex.maxw) && parseFloat(RegExp.$1) + (RegExp.$2 || "")
          });
        }
      }
      applyMedia();
    }, makeRequests = function() {
      if (requestQueue.length) {
        var thisRequest = requestQueue.shift();
        ajax(thisRequest.href, function(styles) {
          translate(styles, thisRequest.href, thisRequest.media);
          parsedSheets[thisRequest.href] = true;
          w.setTimeout(function() {
            makeRequests();
          }, 0);
        });
      }
    }, ripCSS = function() {
      for (var i = 0; i < links.length; i++) {
        var sheet = links[i], href = sheet.href, media = sheet.media, isCSS = sheet.rel && sheet.rel.toLowerCase() === "stylesheet";
        if (!!href && isCSS && !parsedSheets[href]) {
          if (sheet.styleSheet && sheet.styleSheet.rawCssText) {
            translate(sheet.styleSheet.rawCssText, href, media);
            parsedSheets[href] = true;
          } else {
            if (!/^([a-zA-Z:]*\/\/)/.test(href) && !base || href.replace(RegExp.$1, "").split("/")[0] === w.location.host) {
              if (href.substring(0, 2) === "//") {
                href = w.location.protocol + href;
              }
              requestQueue.push({
                href: href,
                media: media
              });
            }
          }
        }
      }
      makeRequests();
    };
    ripCSS();
    respond.update = ripCSS;
    respond.getEmValue = getEmValue;
    function callMedia() {
      applyMedia(true);
    }
    if (w.addEventListener) {
      w.addEventListener("resize", callMedia, false);
    } else if (w.attachEvent) {
      w.attachEvent("onresize", callMedia);
    }
  })(this);
  // Respond源代码结束
});

+ 597 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/extra/selectivizr.js

@ -0,0 +1,597 @@
define(function(require, exports, module){
	var jQuery = require('jquery');
	/// [注] 有对selectivizr源代码代码进行修改,目的是为了让其识别依赖的jQuery插件
	/// 位置: 代码片段001
	/// 修改说明: ContentLoaded 重新实现
	// selectivizr源代码开始
	/*
	 selectivizr v1.0.2 - (c) Keith Clark, freely distributable under the terms
	 of the MIT license.
	 selectivizr.com
	 */
	/*
	 Notes about this source
	 -----------------------
	 * The #DEBUG_START and #DEBUG_END comments are used to mark blocks of code
	 that will be removed prior to building a final release version (using a
	 pre-compression script)
	 References:
	 -----------
	 * CSS Syntax          : http://www.w3.org/TR/2003/WD-css3-syntax-20030813/#style
	 * Selectors           : http://www.w3.org/TR/css3-selectors/#selectors
	 * IE Compatability    : http://msdn.microsoft.com/en-us/library/cc351024(VS.85).aspx
	 * W3C Selector Tests  : http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/
	 */
	(function(win) {
		// If browser isn't IE, then stop execution! This handles the script
		// being loaded by non IE browsers because the developer didn't use
		// conditional comments.
		if (/*@cc_on!@*/true) return;
		// =========================== Init Objects ============================
		var doc = document;
		var root = doc.documentElement;
		var xhr = getXHRObject();
		var ieVersion = /MSIE (\d+)/.exec(navigator.userAgent)[1];
		// If were not in standards mode, IE is too old / new or we can't create
		// an XMLHttpRequest object then we should get out now.
		if (doc.compatMode != 'CSS1Compat' || ieVersion<6 || ieVersion>8 || !xhr) {
			return;
		}
		// ========================= Common Objects ============================
		// Compatiable selector engines in order of CSS3 support. Note: '*' is
		// a placholder for the object key name. (basically, crude compression)
		var selectorEngines = {
			"NW"								: "*.Dom.select",
			"MooTools"							: "$$",
			"DOMAssistant"						: "*.$",
			"Prototype"							: "$$",
			"YAHOO"								: "*.util.Selector.query",
			"Sizzle"							: "*",
			"jQuery"							: "*",
			"dojo"								: "*.query"
		};
		var selectorMethod;
		var enabledWatchers 					= [];     // array of :enabled/:disabled elements to poll
		var ie6PatchID 							= 0;      // used to solve ie6's multiple class bug
		var patchIE6MultipleClasses				= true;   // if true adds class bloat to ie6
		var namespace 							= "slvzr";
		// Stylesheet parsing regexp's
		var RE_COMMENT							= /(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*/g;
		var RE_IMPORT							= /@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))[^;]*;/g;
		var RE_ASSET_URL 						= /\burl\(\s*(["']?)(?!data:)([^"')]+)\1\s*\)/g;
		var RE_PSEUDO_STRUCTURAL				= /^:(empty|(first|last|only|nth(-last)?)-(child|of-type))$/;
		var RE_PSEUDO_ELEMENTS					= /:(:first-(?:line|letter))/g;
		var RE_SELECTOR_GROUP					= /(^|})\s*([^\{]*?[\[:][^{]+)/g;
		var RE_SELECTOR_PARSE					= /([ +~>])|(:[a-z-]+(?:\(.*?\)+)?)|(\[.*?\])/g;
		var RE_LIBRARY_INCOMPATIBLE_PSEUDOS		= /(:not\()?:(hover|enabled|disabled|focus|checked|target|active|visited|first-line|first-letter)\)?/g;
		var RE_PATCH_CLASS_NAME_REPLACE			= /[^\w-]/g;
		// HTML UI element regexp's
		var RE_INPUT_ELEMENTS					= /^(INPUT|SELECT|TEXTAREA|BUTTON)$/;
		var RE_INPUT_CHECKABLE_TYPES			= /^(checkbox|radio)$/;
		// Broken attribute selector implementations (IE7/8 native [^=""], [$=""] and [*=""])
		var BROKEN_ATTR_IMPLEMENTATIONS			= ieVersion>6 ? /[\$\^*]=(['"])\1/ : null;
		// Whitespace normalization regexp's
		var RE_TIDY_TRAILING_WHITESPACE			= /([(\[+~])\s+/g;
		var RE_TIDY_LEADING_WHITESPACE			= /\s+([)\]+~])/g;
		var RE_TIDY_CONSECUTIVE_WHITESPACE		= /\s+/g;
		var RE_TIDY_TRIM_WHITESPACE				= /^\s*((?:[\S\s]*\S)?)\s*$/;
		// String constants
		var EMPTY_STRING						= "";
		var SPACE_STRING						= " ";
		var PLACEHOLDER_STRING					= "$1";
		// =========================== Patching ================================
		// --[ patchStyleSheet() ]----------------------------------------------
		// Scans the passed cssText for selectors that require emulation and
		// creates one or more patches for each matched selector.
		function patchStyleSheet( cssText ) {
			return cssText.replace(RE_PSEUDO_ELEMENTS, PLACEHOLDER_STRING).
				replace(RE_SELECTOR_GROUP, function(m, prefix, selectorText) {
					var selectorGroups = selectorText.split(",");
					for (var c = 0, cs = selectorGroups.length; c < cs; c++) {
						var selector = normalizeSelectorWhitespace(selectorGroups[c]) + SPACE_STRING;
						var patches = [];
						selectorGroups[c] = selector.replace(RE_SELECTOR_PARSE,
							function(match, combinator, pseudo, attribute, index) {
								if (combinator) {
									if (patches.length>0) {
										applyPatches( selector.substring(0, index), patches );
										patches = [];
									}
									return combinator;
								}
								else {
									var patch = (pseudo) ? patchPseudoClass( pseudo ) : patchAttribute( attribute );
									if (patch) {
										patches.push(patch);
										return "." + patch.className;
									}
									return match;
								}
							}
						);
					}
					return prefix + selectorGroups.join(",");
				});
		};
		// --[ patchAttribute() ]-----------------------------------------------
		// returns a patch for an attribute selector.
		function patchAttribute( attr ) {
			return (!BROKEN_ATTR_IMPLEMENTATIONS || BROKEN_ATTR_IMPLEMENTATIONS.test(attr)) ?
			{ className: createClassName(attr), applyClass: true } : null;
		};
		// --[ patchPseudoClass() ]---------------------------------------------
		// returns a patch for a pseudo-class
		function patchPseudoClass( pseudo ) {
			var applyClass = true;
			var className = createClassName(pseudo.slice(1));
			var isNegated = pseudo.substring(0, 5) == ":not(";
			var activateEventName;
			var deactivateEventName;
			// if negated, remove :not()
			if (isNegated) {
				pseudo = pseudo.slice(5, -1);
			}
			// bracket contents are irrelevant - remove them
			var bracketIndex = pseudo.indexOf("(")
			if (bracketIndex > -1) {
				pseudo = pseudo.substring(0, bracketIndex);
			}
			// check we're still dealing with a pseudo-class
			if (pseudo.charAt(0) == ":") {
				switch (pseudo.slice(1)) {
					case "root":
						applyClass = function(e) {
							return isNegated ? e != root : e == root;
						}
						break;
					case "target":
						// :target is only supported in IE8
						if (ieVersion == 8) {
							applyClass = function(e) {
								var handler = function() {
									var hash = location.hash;
									var hashID = hash.slice(1);
									return isNegated ? (hash == EMPTY_STRING || e.id != hashID) : (hash != EMPTY_STRING && e.id == hashID);
								};
								addEvent( win, "hashchange", function() {
									toggleElementClass(e, className, handler());
								})
								return handler();
							}
							break;
						}
						return false;
					case "checked":
						applyClass = function(e) {
							if (RE_INPUT_CHECKABLE_TYPES.test(e.type)) {
								addEvent( e, "propertychange", function() {
									if (event.propertyName == "checked") {
										toggleElementClass( e, className, e.checked !== isNegated );
									}
								})
							}
							return e.checked !== isNegated;
						}
						break;
					case "disabled":
						isNegated = !isNegated;
					case "enabled":
						applyClass = function(e) {
							if (RE_INPUT_ELEMENTS.test(e.tagName)) {
								addEvent( e, "propertychange", function() {
									if (event.propertyName == "$disabled") {
										toggleElementClass( e, className, e.$disabled === isNegated );
									}
								});
								enabledWatchers.push(e);
								e.$disabled = e.disabled;
								return e.disabled === isNegated;
							}
							return pseudo == ":enabled" ? isNegated : !isNegated;
						}
						break;
					case "focus":
						activateEventName = "focus";
						deactivateEventName = "blur";
					case "hover":
						if (!activateEventName) {
							activateEventName = "mouseenter";
							deactivateEventName = "mouseleave";
						}
						applyClass = function(e) {
							addEvent( e, isNegated ? deactivateEventName : activateEventName, function() {
								toggleElementClass( e, className, true );
							})
							addEvent( e, isNegated ? activateEventName : deactivateEventName, function() {
								toggleElementClass( e, className, false );
							})
							return isNegated;
						}
						break;
					// everything else
					default:
						// If we don't support this pseudo-class don't create
						// a patch for it
						if (!RE_PSEUDO_STRUCTURAL.test(pseudo)) {
							return false;
						}
						break;
				}
			}
			return { className: className, applyClass: applyClass };
		};
		// --[ applyPatches() ]-------------------------------------------------
		// uses the passed selector text to find DOM nodes and patch them
		function applyPatches(selectorText, patches) {
			var elms;
			// Although some selector libraries can find :checked :enabled etc.
			// we need to find all elements that could have that state because
			// it can be changed by the user.
			var domSelectorText = selectorText.replace(RE_LIBRARY_INCOMPATIBLE_PSEUDOS, EMPTY_STRING);
			// If the dom selector equates to an empty string or ends with
			// whitespace then we need to append a universal selector (*) to it.
			if (domSelectorText == EMPTY_STRING || domSelectorText.charAt(domSelectorText.length - 1) == SPACE_STRING) {
				domSelectorText += "*";
			}
			// Ensure we catch errors from the selector library
			try {
				elms = selectorMethod( domSelectorText );
			} catch (ex) {
				// #DEBUG_START
				log( "Selector '" + selectorText + "' threw exception '" + ex + "'" );
				// #DEBUG_END
			}
			if (elms) {
				for (var d = 0, dl = elms.length; d < dl; d++) {
					var elm = elms[d];
					var cssClasses = elm.className;
					for (var f = 0, fl = patches.length; f < fl; f++) {
						var patch = patches[f];
						if (!hasPatch(elm, patch)) {
							if (patch.applyClass && (patch.applyClass === true || patch.applyClass(elm) === true)) {
								cssClasses = toggleClass(cssClasses, patch.className, true );
							}
						}
					}
					elm.className = cssClasses;
				}
			}
		};
		// --[ hasPatch() ]-----------------------------------------------------
		// checks for the exsistence of a patch on an element
		function hasPatch( elm, patch ) {
			return new RegExp("(^|\\s)" + patch.className + "(\\s|$)").test(elm.className);
		};
		// =========================== Utility =================================
		function createClassName( className ) {
			return namespace + "-" + ((ieVersion == 6 && patchIE6MultipleClasses) ?
					ie6PatchID++
					:
					className.replace(RE_PATCH_CLASS_NAME_REPLACE, function(a) { return a.charCodeAt(0) }));
		};
		// --[ log() ]----------------------------------------------------------
		// #DEBUG_START
		function log( message ) {
			if (win.console) {
				win.console.log(message);
			}
		};
		// #DEBUG_END
		// --[ trim() ]---------------------------------------------------------
		// removes leading, trailing whitespace from a string
		function trim( text ) {
			return text.replace(RE_TIDY_TRIM_WHITESPACE, PLACEHOLDER_STRING);
		};
		// --[ normalizeWhitespace() ]------------------------------------------
		// removes leading, trailing and consecutive whitespace from a string
		function normalizeWhitespace( text ) {
			return trim(text).replace(RE_TIDY_CONSECUTIVE_WHITESPACE, SPACE_STRING);
		};
		// --[ normalizeSelectorWhitespace() ]----------------------------------
		// tidies whitespace around selector brackets and combinators
		function normalizeSelectorWhitespace( selectorText ) {
			return normalizeWhitespace(selectorText.
					replace(RE_TIDY_TRAILING_WHITESPACE, PLACEHOLDER_STRING).
					replace(RE_TIDY_LEADING_WHITESPACE, PLACEHOLDER_STRING)
			);
		};
		// --[ toggleElementClass() ]-------------------------------------------
		// toggles a single className on an element
		function toggleElementClass( elm, className, on ) {
			var oldClassName = elm.className;
			var newClassName = toggleClass(oldClassName, className, on);
			if (newClassName != oldClassName) {
				elm.className = newClassName;
				elm.parentNode.className += EMPTY_STRING;
			}
		};
		// --[ toggleClass() ]--------------------------------------------------
		// adds / removes a className from a string of classNames. Used to
		// manage multiple class changes without forcing a DOM redraw
		function toggleClass( classList, className, on ) {
			var re = RegExp("(^|\\s)" + className + "(\\s|$)");
			var classExists = re.test(classList);
			if (on) {
				return classExists ? classList : classList + SPACE_STRING + className;
			} else {
				return classExists ? trim(classList.replace(re, PLACEHOLDER_STRING)) : classList;
			}
		};
		// --[ addEvent() ]-----------------------------------------------------
		function addEvent(elm, eventName, eventHandler) {
			elm.attachEvent("on" + eventName, eventHandler);
		};
		// --[ getXHRObject() ]-------------------------------------------------
		function getXHRObject()
		{
			if (win.XMLHttpRequest) {
				return new XMLHttpRequest;
			}
			try	{
				return new ActiveXObject('Microsoft.XMLHTTP');
			} catch(e) {
				return null;
			}
		};
		// --[ loadStyleSheet() ]-----------------------------------------------
		function loadStyleSheet( url ) {
			xhr.open("GET", url, false);
			xhr.send();
			return (xhr.status==200) ? xhr.responseText : EMPTY_STRING;
		};
		// --[ resolveUrl() ]---------------------------------------------------
		// Converts a URL fragment to a fully qualified URL using the specified
		// context URL. Returns null if same-origin policy is broken
		function resolveUrl( url, contextUrl ) {
			function getProtocolAndHost( url ) {
				return url.substring(0, url.indexOf("/", 8));
			};
			// absolute path
			if (/^https?:\/\//i.test(url)) {
				return getProtocolAndHost(contextUrl) == getProtocolAndHost(url) ? url : null;
			}
			// root-relative path
			if (url.charAt(0)=="/")	{
				return getProtocolAndHost(contextUrl) + url;
			}
			// relative path
			var contextUrlPath = contextUrl.split(/[?#]/)[0]; // ignore query string in the contextUrl
			if (url.charAt(0) != "?" && contextUrlPath.charAt(contextUrlPath.length - 1) != "/") {
				contextUrlPath = contextUrlPath.substring(0, contextUrlPath.lastIndexOf("/") + 1);
			}
			return contextUrlPath + url;
		};
		// --[ parseStyleSheet() ]----------------------------------------------
		// Downloads the stylesheet specified by the URL, removes it's comments
		// and recursivly replaces @import rules with their contents, ultimately
		// returning the full cssText.
		function parseStyleSheet( url ) {
			if (url) {
				return loadStyleSheet(url).replace(RE_COMMENT, EMPTY_STRING).
					replace(RE_IMPORT, function( match, quoteChar, importUrl, quoteChar2, importUrl2 ) {
						return parseStyleSheet(resolveUrl(importUrl || importUrl2, url));
					}).
					replace(RE_ASSET_URL, function( match, quoteChar, assetUrl ) {
						quoteChar = quoteChar || EMPTY_STRING;
						return " url(" + quoteChar + resolveUrl(assetUrl, url) + quoteChar + ") ";
					});
			}
			return EMPTY_STRING;
		};
		// --[ init() ]---------------------------------------------------------
		function init() {
			// honour the <base> tag
			var url, stylesheet;
			var baseTags = doc.getElementsByTagName("BASE");
			var baseUrl = (baseTags.length > 0) ? baseTags[0].href : doc.location.href;
			/* Note: This code prevents IE from freezing / crashing when using
			 @font-face .eot files but it modifies the <head> tag and could
			 trigger the IE stylesheet limit. It will also cause FOUC issues.
			 If you choose to use it, make sure you comment out the for loop
			 directly below this comment.
			 var head = doc.getElementsByTagName("head")[0];
			 for (var c=doc.styleSheets.length-1; c>=0; c--) {
			 stylesheet = doc.styleSheets[c]
			 head.appendChild(doc.createElement("style"))
			 var patchedStylesheet = doc.styleSheets[doc.styleSheets.length-1];
			 if (stylesheet.href != EMPTY_STRING) {
			 url = resolveUrl(stylesheet.href, baseUrl)
			 if (url) {
			 patchedStylesheet.cssText = patchStyleSheet( parseStyleSheet( url ) )
			 stylesheet.disabled = true
			 setTimeout( function () {
			 stylesheet.owningElement.parentNode.removeChild(stylesheet.owningElement)
			 })
			 }
			 }
			 }
			 */
			for (var c = 0; c < doc.styleSheets.length; c++) {
				stylesheet = doc.styleSheets[c]
				if (stylesheet.href != EMPTY_STRING) {
					url = resolveUrl(stylesheet.href, baseUrl);
					if (url) {
						stylesheet.cssText = patchStyleSheet( parseStyleSheet( url ) );
					}
				}
			}
			// :enabled & :disabled polling script (since we can't hook
			// onpropertychange event when an element is disabled)
			if (enabledWatchers.length > 0) {
				setInterval( function() {
					for (var c = 0, cl = enabledWatchers.length; c < cl; c++) {
						var e = enabledWatchers[c];
						if (e.disabled !== e.$disabled) {
							if (e.disabled) {
								e.disabled = false;
								e.$disabled = true;
								e.disabled = true;
							}
							else {
								e.$disabled = e.disabled;
							}
						}
					}
				},250)
			}
		};
		// #代码片段001:ContentLoaded开始
		/*
		 // Bind selectivizr to the ContentLoaded event.
		 ContentLoaded(win, function() {
		 // Determine the "best fit" selector engine
		 for (var engine in selectorEngines) {
		 var members, member, context = win;
		 if (win[engine]) {
		 members = selectorEngines[engine].replace("*", engine).split(".");
		 while ((member = members.shift()) && (context = context[member])) {}
		 if (typeof context == "function") {
		 selectorMethod = context;
		 init();
		 return;
		 }
		 }
		 }
		 });
		 */
		// #代码片段001:ContentLoaded 结束。由下面代码片段重新实现:
		// #代码片段001:ContentLoaded 重新实现代码开始
		// Bind selectivizr to the ContentLoaded event.
		ContentLoaded(win, function() {
			// Determine the "best fit" selector engine
			for (var engine in selectorEngines) {
				var members, member, context = win;
				if (win[engine] || jQuery) {
					members = selectorEngines[engine].replace("*", engine).split(".");
					while ((member = members.shift()) && (context = context[member] || jQuery)) {}
					if (typeof context == "function") {
						selectorMethod = context;
						init();
						return;
					}
				}
			}
		});
		// #代码片段001:ContentLoaded 重新实现代码结束
		/*!
		 * ContentLoaded.js by Diego Perini, modified for IE<9 only (to save space)
		 *
		 * Author: Diego Perini (diego.perini at gmail.com)
		 * Summary: cross-browser wrapper for DOMContentLoaded
		 * Updated: 20101020
		 * License: MIT
		 * Version: 1.2
		 *
		 * URL:
		 * http://javascript.nwbox.com/ContentLoaded/
		 * http://javascript.nwbox.com/ContentLoaded/MIT-LICENSE
		 *
		 */
		// @w window reference
		// @f function reference
		function ContentLoaded(win, fn) {
			var done = false, top = true,
				init = function(e) {
					if (e.type == "readystatechange" && doc.readyState != "complete") return;
					(e.type == "load" ? win : doc).detachEvent("on" + e.type, init, false);
					if (!done && (done = true)) fn.call(win, e.type || e);
				},
				poll = function() {
					try { root.doScroll("left"); } catch(e) { setTimeout(poll, 50); return; }
					init('poll');
				};
			if (doc.readyState == "complete") fn.call(win, EMPTY_STRING);
			else {
				if (doc.createEventObject && root.doScroll) {
					try { top = !win.frameElement; } catch(e) { }
					if (top) poll();
				}
				addEvent(doc,"readystatechange", init);
				addEvent(win,"load", init);
			}
		};
	})(this);
	// selectivizr源代码结束
})