You are here

image.css in UEditor - 百度编辑器 8

@charset "utf-8";
/* dialog样式 */
.wrapper {
    zoom: 1;
    width: 630px;
    *width: 626px;
    height: 380px;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    font-family: sans-serif;
}

/*tab样式框大小*/
.tabhead {
    float:left;
}
.tabbody {
    width: 100%;
    height: 346px;
    position: relative;
    clear: both;
}

.tabbody .panel {
    position: absolute;
    width: 0;
    height: 0;
    background: #fff;
    overflow: hidden;
    display: none;
}

.tabbody .panel.focus {
    width: 100%;
    height: 346px;
    display: block;
}

/* 图片对齐方式 */
.alignBar{
    float:right;
    margin-top: 5px;
    position: relative;
}

.alignBar .algnLabel{
    float:left;
    height: 20px;
    line-height: 20px;
}

.alignBar #alignIcon{
    zoom:1;
    _display: inline;
    display: inline-block;
    position: relative;
}
.alignBar #alignIcon span{
    float: left;
    cursor: pointer;
    display: block;
    width: 19px;
    height: 17px;
    margin-right: 3px;
    margin-left: 3px;
    background-image: url(./images/alignicon.jpg);
}
.alignBar #alignIcon .none-align{
    background-position: 0 -18px;
}
.alignBar #alignIcon .left-align{
    background-position: -20px -18px;
}
.alignBar #alignIcon .right-align{
    background-position: -40px -18px;
}
.alignBar #alignIcon .center-align{
    background-position: -60px -18px;
}
.alignBar #alignIcon .none-align.focus{
    background-position: 0 0;
}
.alignBar #alignIcon .left-align.focus{
    background-position: -20px 0;
}
.alignBar #alignIcon .right-align.focus{
    background-position: -40px 0;
}
.alignBar #alignIcon .center-align.focus{
    background-position: -60px 0;
}




/* 远程图片样式 */
#remote {
    z-index: 200;
}

#remote .top{
    width: 100%;
    margin-top: 25px;
}
#remote .left{
    display: block;
    float: left;
    width: 300px;
    height:10px;
}
#remote .right{
    display: block;
    float: right;
    width: 300px;
    height:10px;
}
#remote .row{
    margin-left: 20px;
    clear: both;
    height: 40px;
}

#remote .row label{
    text-align: center;
    width: 50px;
    zoom:1;
    _display: inline;
    display:inline-block;
    vertical-align: middle;
}
#remote .row label.algnLabel{
    float: left;

}

#remote input.text{
    width: 150px;
    padding: 3px 6px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
#remote input.text:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}
#remote #url{
    width: 500px;
    margin-bottom: 2px;
}
#remote #width,
#remote #height{
    width: 20px;
    margin-left: 2px;
    margin-right: 2px;
}
#remote #border,
#remote #vhSpace,
#remote #title{
    width: 180px;
    margin-right: 5px;
}
#remote #lock{
}
#remote #lockicon{
    zoom: 1;
    _display:inline;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../../themes/default/images/lock.gif") -13px -13px no-repeat;
    vertical-align: middle;
}
#remote #preview{
    clear: both;
    width: 260px;
    height: 240px;
    z-index: 9999;
    margin-top: 10px;
    background-color: #eee;
    overflow: hidden;
}

/* 上传图片 */
.tabbody #upload.panel {
    width: 0;
    height: 0;
    overflow: hidden;
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    background: #fff;
    display: block;
}

.tabbody #upload.panel.focus {
    width: 100%;
    height: 346px;
    display: block;
    clip: auto;
}

#upload .queueList {
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}

#upload p {
    margin: 0;
}

.element-invisible {
    width: 0 !important;
    height: 0 !important;
    border: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
}

#upload .placeholder {
    margin: 10px;
    border: 2px dashed #e6e6e6;
    *border: 0px dashed #e6e6e6;
    height: 172px;
    padding-top: 150px;
    text-align: center;
    background: url(./images/image.png) center 70px no-repeat;
    color: #cccccc;
    font-size: 18px;
    position: relative;
    top:0;
    *top: 10px;
}

#upload .placeholder .webuploader-pick {
    font-size: 18px;
    background: #00b7ee;
    border-radius: 3px;
    line-height: 44px;
    padding: 0 30px;
    *width: 120px;
    color: #fff;
    display: inline-block;
    margin: 0 auto 20px auto;
    cursor: pointer;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

#upload .placeholder .webuploader-pick-hover {
    background: #00a2d4;
}


#filePickerContainer {
    text-align: center;
}

#upload .placeholder .flashTip {
    color: #666666;
    font-size: 12px;
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 20px;
}

#upload .placeholder .flashTip a {
    color: #0785d1;
    text-decoration: none;
}

#upload .placeholder .flashTip a:hover {
    text-decoration: underline;
}

#upload .placeholder.webuploader-dnd-over {
    border-color: #999999;
}

#upload .filelist {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    height: 300px;
}

#upload .filelist:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
    clear: both;
    position: relative;
}

#upload .filelist li {
    width: 113px;
    height: 113px;
    background: url(./images/bg.png);
    text-align: center;
    margin: 9px 0 0 9px;
    *margin: 6px 0 0 6px;
    position: relative;
    display: block;
    float: left;
    overflow: hidden;
    font-size: 12px;
}

#upload .filelist li p.log {
    position: relative;
    top: -45px;
}

#upload .filelist li p.title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    top: 5px;
    text-indent: 5px;
    text-align: left;
}

#upload .filelist li p.progress {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 8px;
    overflow: hidden;
    z-index: 50;
    margin: 0;
    border-radius: 0;
    background: none;
    -webkit-box-shadow: 0 0 0;
}

#upload .filelist li p.progress span {
    display: none;
    overflow: hidden;
    width: 0;
    height: 100%;
    background: #1483d8 url(./images/progress.png) repeat-x;

    -webit-transition: width 200ms linear;
    -moz-transition: width 200ms linear;
    -o-transition: width 200ms linear;
    -ms-transition: width 200ms linear;
    transition: width 200ms linear;

    -webkit-animation: progressmove 2s linear infinite;
    -moz-animation: progressmove 2s linear infinite;
    -o-animation: progressmove 2s linear infinite;
    -ms-animation: progressmove 2s linear infinite;
    animation: progressmove 2s linear infinite;

    -webkit-transform: translateZ(0);
}

@-webkit-keyframes progressmove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 17px 0;
    }
}

@-moz-keyframes progressmove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 17px 0;
    }
}

@keyframes progressmove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 17px 0;
    }
}

#upload .filelist li p.imgWrap {
    position: relative;
    z-index: 2;
    line-height: 113px;
    vertical-align: middle;
    overflow: hidden;
    width: 113px;
    height: 113px;

    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;

    -webit-transition: 200ms ease-out;
    -moz-transition: 200ms ease-out;
    -o-transition: 200ms ease-out;
    -ms-transition: 200ms ease-out;
    transition: 200ms ease-out;
}

#upload .filelist li img {
    width: 100%;
}

#upload .filelist li p.error {
    background: #f43838;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 28px;
    line-height: 28px;
    width: 100%;
    z-index: 100;
    display:none;
}

#upload .filelist li .success {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 40px;
    width: 100%;
    z-index: 200;
    background: url(./images/success.png) no-repeat right bottom;
    background: url(./images/success.gif) no-repeat right bottom \9;
}

#upload .filelist li.filePickerBlock {
    width: 113px;
    height: 113px;
    background: url(./images/image.png) no-repeat center 12px;
    border: 1px solid #eeeeee;
    border-radius: 0;
}
#upload .filelist li.filePickerBlock div.webuploader-pick  {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    background: none;
    font-size: 0;
}

#upload .filelist div.file-panel {
    position: absolute;
    height: 0;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 300;
}

#upload .filelist div.file-panel span {
    width: 24px;
    height: 24px;
    display: inline;
    float: right;
    text-indent: -9999px;
    overflow: hidden;
    background: url(./images/icons.png) no-repeat;
    background: url(./images/icons.gif) no-repeat \9;
    margin: 5px 1px 1px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#upload .filelist div.file-panel span.rotateLeft {
    display:none;
    background-position: 0 -24px;
}

#upload .filelist div.file-panel span.rotateLeft:hover {
    background-position: 0 0;
}

#upload .filelist div.file-panel span.rotateRight {
    display:none;
    background-position: -24px -24px;
}

#upload .filelist div.file-panel span.rotateRight:hover {
    background-position: -24px 0;
}

#upload .filelist div.file-panel span.cancel {
    background-position: -48px -24px;
}

#upload .filelist div.file-panel span.cancel:hover {
    background-position: -48px 0;
}

#upload .statusBar {
    height: 45px;
    border-bottom: 1px solid #dadada;
    margin: 0 10px;
    padding: 0;
    line-height: 45px;
    vertical-align: middle;
    position: relative;
}

#upload .statusBar .progress {
    border: 1px solid #1483d8;
    width: 198px;
    background: #fff;
    height: 18px;
    position: absolute;
    top: 12px;
    display: none;
    text-align: center;
    line-height: 18px;
    color: #6dbfff;
    margin: 0 10px 0 0;
}
#upload .statusBar .progress span.percentage {
    width: 0;
    height: 100%;
    left: 0;
    top: 0;
    background: #1483d8;
    position: absolute;
}
#upload .statusBar .progress span.text {
    position: relative;
    z-index: 10;
}

#upload .statusBar .info {
    display: inline-block;
    font-size: 14px;
    color: #666666;
}

#upload .statusBar .btns {
    position: absolute;
    top: 7px;
    right: 0;
    line-height: 30px;
}

#filePickerBtn {
    display: inline-block;
    float: left;
}
#upload .statusBar .btns .webuploader-pick,
#upload .statusBar .btns .uploadBtn,
#upload .statusBar .btns .uploadBtn.state-uploading,
#upload .statusBar .btns .uploadBtn.state-paused {
    background: #ffffff;
    border: 1px solid #cfcfcf;
    color: #565656;
    padding: 0 18px;
    display: inline-block;
    border-radius: 3px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    float: left;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#upload .statusBar .btns .webuploader-pick-hover,
#upload .statusBar .btns .uploadBtn:hover,
#upload .statusBar .btns .uploadBtn.state-uploading:hover,
#upload .statusBar .btns .uploadBtn.state-paused:hover {
    background: #f0f0f0;
}

#upload .statusBar .btns .uploadBtn,
#upload .statusBar .btns .uploadBtn.state-paused{
    background: #00b7ee;
    color: #fff;
    border-color: transparent;
}
#upload .statusBar .btns .uploadBtn:hover,
#upload .statusBar .btns .uploadBtn.state-paused:hover{
    background: #00a2d4;
}

#upload .statusBar .btns .uploadBtn.disabled {
    pointer-events: none;
    filter:alpha(opacity=60);
    -moz-opacity:0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
}



/* 图片管理样式 */
#online {
    width: 100%;
    height: 336px;
    padding: 10px 0 0 0;
}
#online #imageList{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}
#online ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}
#online li {
    float: left;
    display: block;
    list-style: none;
    padding: 0;
    width: 113px;
    height: 113px;
    margin: 0 0 9px 9px;
    *margin: 0 0 6px 6px;
    background-color: #eee;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
#online li.clearFloat {
    float: none;
    clear: both;
    display: block;
    width:0;
    height:0;
    margin: 0;
    padding: 0;
}
#online li img {
    cursor: pointer;
}
#online li .icon {
    cursor: pointer;
    width: 113px;
    height: 113px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    border: 0;
    background-repeat: no-repeat;
}
#online li .icon:hover {
    width: 107px;
    height: 107px;
    border: 3px solid #1094fa;
}
#online li.selected .icon {
    background-image: url(images/success.png);
    background-image: url(images/success.gif)\9;
    background-position: 75px 75px;
}
#online li.selected .icon:hover {
    width: 107px;
    height: 107px;
    border: 3px solid #1094fa;
    background-position: 72px 72px;
}


/* 图片搜索样式 */
#search .searchBar {
    width: 100%;
    height: 30px;
    margin: 10px 0 5px 0;
    padding: 0;
}

#search input.text{
    width: 150px;
    padding: 3px 6px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
#search input.text:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}
#search input.searchTxt {
    margin-left:5px;
    padding-left: 5px;
    background: #FFF;
    width: 300px;
    *width: 260px;
    height: 21px;
    line-height: 21px;
    float: left;
    dislay: block;
}

#search .searchType {
    width: 65px;
    height: 28px;
    padding:0;
    line-height: 28px;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    vertical-align: top;
    margin-left: 5px;
    float: left;
    dislay: block;
}

#search #searchBtn,
#search #searchReset {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 5px;
    padding: 4px 10px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    font-size: 14px;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: top;
    float: right;
}

#search #searchBtn {
    color: white;
    border-color: #285e8e;
    background-color: #3b97d7;
}
#search #searchReset {
    color: #333;
    border-color: #ccc;
    background-color: #fff;
}
#search #searchBtn:hover {
    background-color: #3276b1;
}
#search #searchReset:hover {
    background-color: #eee;
}

#search .msg {
    margin-left: 5px;
}

#search .searchList{
    width: 100%;
    height: 300px;
    overflow: hidden;
    clear: both;
}
#search .searchList ul{
    margin:0;
    padding:0;
    list-style:none;
    clear: both;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    zoom: 1;
    position: relative;
}

#search .searchList li {
    list-style:none;
    float: left;
    display: block;
    width: 115px;
    margin: 5px 10px 5px 20px;
    *margin: 5px 10px 5px 15px;
    padding:0;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    position: relative;
    vertical-align: top;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    filter: alpha(Opacity=100);
    -moz-opacity: 1;
    opacity: 1;
    border: 2px solid #eee;
}

#search .searchList li.selected {
    filter: alpha(Opacity=40);
    -moz-opacity: 0.4;
    opacity: 0.4;
    border: 2px solid #00a0e9;
}

#search .searchList li p {
    background-color: #eee;
    margin: 0;
    padding: 0;
    position: relative;
    width:100%;
    height:115px;
    overflow: hidden;
}

#search .searchList li p img {
    cursor: pointer;
    border: 0;
}

#search .searchList li a {
    color: #999;
    border-top: 1px solid #F2F2F2;
    background: #FAFAFA;
    text-align: center;
    display: block;
    padding: 0 5px;
    width: 105px;
    height:32px;
    line-height:32px;
    white-space:nowrap;
    text-overflow:ellipsis;
    text-decoration: none;
    overflow: hidden;
    word-break: break-all;
}

#search .searchList a:hover {
    text-decoration: underline;
    color: #333;
}
#search .searchList .clearFloat{
    clear: both;
}

File

lib/dialogs/image/image.css
View source
  1. @charset "utf-8";
  2. /* dialog样式 */
  3. .wrapper {
  4. zoom: 1;
  5. width: 630px;
  6. *width: 626px;
  7. height: 380px;
  8. margin: 0 auto;
  9. padding: 10px;
  10. position: relative;
  11. font-family: sans-serif;
  12. }
  13. /*tab样式框大小*/
  14. .tabhead {
  15. float:left;
  16. }
  17. .tabbody {
  18. width: 100%;
  19. height: 346px;
  20. position: relative;
  21. clear: both;
  22. }
  23. .tabbody .panel {
  24. position: absolute;
  25. width: 0;
  26. height: 0;
  27. background: #fff;
  28. overflow: hidden;
  29. display: none;
  30. }
  31. .tabbody .panel.focus {
  32. width: 100%;
  33. height: 346px;
  34. display: block;
  35. }
  36. /* 图片对齐方式 */
  37. .alignBar{
  38. float:right;
  39. margin-top: 5px;
  40. position: relative;
  41. }
  42. .alignBar .algnLabel{
  43. float:left;
  44. height: 20px;
  45. line-height: 20px;
  46. }
  47. .alignBar #alignIcon{
  48. zoom:1;
  49. _display: inline;
  50. display: inline-block;
  51. position: relative;
  52. }
  53. .alignBar #alignIcon span{
  54. float: left;
  55. cursor: pointer;
  56. display: block;
  57. width: 19px;
  58. height: 17px;
  59. margin-right: 3px;
  60. margin-left: 3px;
  61. background-image: url(./images/alignicon.jpg);
  62. }
  63. .alignBar #alignIcon .none-align{
  64. background-position: 0 -18px;
  65. }
  66. .alignBar #alignIcon .left-align{
  67. background-position: -20px -18px;
  68. }
  69. .alignBar #alignIcon .right-align{
  70. background-position: -40px -18px;
  71. }
  72. .alignBar #alignIcon .center-align{
  73. background-position: -60px -18px;
  74. }
  75. .alignBar #alignIcon .none-align.focus{
  76. background-position: 0 0;
  77. }
  78. .alignBar #alignIcon .left-align.focus{
  79. background-position: -20px 0;
  80. }
  81. .alignBar #alignIcon .right-align.focus{
  82. background-position: -40px 0;
  83. }
  84. .alignBar #alignIcon .center-align.focus{
  85. background-position: -60px 0;
  86. }
  87. /* 远程图片样式 */
  88. #remote {
  89. z-index: 200;
  90. }
  91. #remote .top{
  92. width: 100%;
  93. margin-top: 25px;
  94. }
  95. #remote .left{
  96. display: block;
  97. float: left;
  98. width: 300px;
  99. height:10px;
  100. }
  101. #remote .right{
  102. display: block;
  103. float: right;
  104. width: 300px;
  105. height:10px;
  106. }
  107. #remote .row{
  108. margin-left: 20px;
  109. clear: both;
  110. height: 40px;
  111. }
  112. #remote .row label{
  113. text-align: center;
  114. width: 50px;
  115. zoom:1;
  116. _display: inline;
  117. display:inline-block;
  118. vertical-align: middle;
  119. }
  120. #remote .row label.algnLabel{
  121. float: left;
  122. }
  123. #remote input.text{
  124. width: 150px;
  125. padding: 3px 6px;
  126. font-size: 14px;
  127. line-height: 1.42857143;
  128. color: #555;
  129. background-color: #fff;
  130. background-image: none;
  131. border: 1px solid #ccc;
  132. border-radius: 4px;
  133. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  134. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  135. -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  136. transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  137. }
  138. #remote input.text:focus {
  139. border-color: #66afe9;
  140. outline: 0;
  141. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  142. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  143. }
  144. #remote #url{
  145. width: 500px;
  146. margin-bottom: 2px;
  147. }
  148. #remote #width,
  149. #remote #height{
  150. width: 20px;
  151. margin-left: 2px;
  152. margin-right: 2px;
  153. }
  154. #remote #border,
  155. #remote #vhSpace,
  156. #remote #title{
  157. width: 180px;
  158. margin-right: 5px;
  159. }
  160. #remote #lock{
  161. }
  162. #remote #lockicon{
  163. zoom: 1;
  164. _display:inline;
  165. display: inline-block;
  166. width: 20px;
  167. height: 20px;
  168. background: url("../../themes/default/images/lock.gif") -13px -13px no-repeat;
  169. vertical-align: middle;
  170. }
  171. #remote #preview{
  172. clear: both;
  173. width: 260px;
  174. height: 240px;
  175. z-index: 9999;
  176. margin-top: 10px;
  177. background-color: #eee;
  178. overflow: hidden;
  179. }
  180. /* 上传图片 */
  181. .tabbody #upload.panel {
  182. width: 0;
  183. height: 0;
  184. overflow: hidden;
  185. position: absolute !important;
  186. clip: rect(1px, 1px, 1px, 1px);
  187. background: #fff;
  188. display: block;
  189. }
  190. .tabbody #upload.panel.focus {
  191. width: 100%;
  192. height: 346px;
  193. display: block;
  194. clip: auto;
  195. }
  196. #upload .queueList {
  197. margin: 0;
  198. width: 100%;
  199. height: 100%;
  200. position: absolute;
  201. overflow: hidden;
  202. }
  203. #upload p {
  204. margin: 0;
  205. }
  206. .element-invisible {
  207. width: 0 !important;
  208. height: 0 !important;
  209. border: 0;
  210. padding: 0;
  211. margin: 0;
  212. overflow: hidden;
  213. position: absolute !important;
  214. clip: rect(1px, 1px, 1px, 1px);
  215. }
  216. #upload .placeholder {
  217. margin: 10px;
  218. border: 2px dashed #e6e6e6;
  219. *border: 0px dashed #e6e6e6;
  220. height: 172px;
  221. padding-top: 150px;
  222. text-align: center;
  223. background: url(./images/image.png) center 70px no-repeat;
  224. color: #cccccc;
  225. font-size: 18px;
  226. position: relative;
  227. top:0;
  228. *top: 10px;
  229. }
  230. #upload .placeholder .webuploader-pick {
  231. font-size: 18px;
  232. background: #00b7ee;
  233. border-radius: 3px;
  234. line-height: 44px;
  235. padding: 0 30px;
  236. *width: 120px;
  237. color: #fff;
  238. display: inline-block;
  239. margin: 0 auto 20px auto;
  240. cursor: pointer;
  241. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  242. }
  243. #upload .placeholder .webuploader-pick-hover {
  244. background: #00a2d4;
  245. }
  246. #filePickerContainer {
  247. text-align: center;
  248. }
  249. #upload .placeholder .flashTip {
  250. color: #666666;
  251. font-size: 12px;
  252. position: absolute;
  253. width: 100%;
  254. text-align: center;
  255. bottom: 20px;
  256. }
  257. #upload .placeholder .flashTip a {
  258. color: #0785d1;
  259. text-decoration: none;
  260. }
  261. #upload .placeholder .flashTip a:hover {
  262. text-decoration: underline;
  263. }
  264. #upload .placeholder.webuploader-dnd-over {
  265. border-color: #999999;
  266. }
  267. #upload .filelist {
  268. list-style: none;
  269. margin: 0;
  270. padding: 0;
  271. overflow-x: hidden;
  272. overflow-y: auto;
  273. position: relative;
  274. height: 300px;
  275. }
  276. #upload .filelist:after {
  277. content: '';
  278. display: block;
  279. width: 0;
  280. height: 0;
  281. overflow: hidden;
  282. clear: both;
  283. position: relative;
  284. }
  285. #upload .filelist li {
  286. width: 113px;
  287. height: 113px;
  288. background: url(./images/bg.png);
  289. text-align: center;
  290. margin: 9px 0 0 9px;
  291. *margin: 6px 0 0 6px;
  292. position: relative;
  293. display: block;
  294. float: left;
  295. overflow: hidden;
  296. font-size: 12px;
  297. }
  298. #upload .filelist li p.log {
  299. position: relative;
  300. top: -45px;
  301. }
  302. #upload .filelist li p.title {
  303. position: absolute;
  304. top: 0;
  305. left: 0;
  306. width: 100%;
  307. overflow: hidden;
  308. white-space: nowrap;
  309. text-overflow: ellipsis;
  310. top: 5px;
  311. text-indent: 5px;
  312. text-align: left;
  313. }
  314. #upload .filelist li p.progress {
  315. position: absolute;
  316. width: 100%;
  317. bottom: 0;
  318. left: 0;
  319. height: 8px;
  320. overflow: hidden;
  321. z-index: 50;
  322. margin: 0;
  323. border-radius: 0;
  324. background: none;
  325. -webkit-box-shadow: 0 0 0;
  326. }
  327. #upload .filelist li p.progress span {
  328. display: none;
  329. overflow: hidden;
  330. width: 0;
  331. height: 100%;
  332. background: #1483d8 url(./images/progress.png) repeat-x;
  333. -webit-transition: width 200ms linear;
  334. -moz-transition: width 200ms linear;
  335. -o-transition: width 200ms linear;
  336. -ms-transition: width 200ms linear;
  337. transition: width 200ms linear;
  338. -webkit-animation: progressmove 2s linear infinite;
  339. -moz-animation: progressmove 2s linear infinite;
  340. -o-animation: progressmove 2s linear infinite;
  341. -ms-animation: progressmove 2s linear infinite;
  342. animation: progressmove 2s linear infinite;
  343. -webkit-transform: translateZ(0);
  344. }
  345. @-webkit-keyframes progressmove {
  346. 0% {
  347. background-position: 0 0;
  348. }
  349. 100% {
  350. background-position: 17px 0;
  351. }
  352. }
  353. @-moz-keyframes progressmove {
  354. 0% {
  355. background-position: 0 0;
  356. }
  357. 100% {
  358. background-position: 17px 0;
  359. }
  360. }
  361. @keyframes progressmove {
  362. 0% {
  363. background-position: 0 0;
  364. }
  365. 100% {
  366. background-position: 17px 0;
  367. }
  368. }
  369. #upload .filelist li p.imgWrap {
  370. position: relative;
  371. z-index: 2;
  372. line-height: 113px;
  373. vertical-align: middle;
  374. overflow: hidden;
  375. width: 113px;
  376. height: 113px;
  377. -webkit-transform-origin: 50% 50%;
  378. -moz-transform-origin: 50% 50%;
  379. -o-transform-origin: 50% 50%;
  380. -ms-transform-origin: 50% 50%;
  381. transform-origin: 50% 50%;
  382. -webit-transition: 200ms ease-out;
  383. -moz-transition: 200ms ease-out;
  384. -o-transition: 200ms ease-out;
  385. -ms-transition: 200ms ease-out;
  386. transition: 200ms ease-out;
  387. }
  388. #upload .filelist li img {
  389. width: 100%;
  390. }
  391. #upload .filelist li p.error {
  392. background: #f43838;
  393. color: #fff;
  394. position: absolute;
  395. bottom: 0;
  396. left: 0;
  397. height: 28px;
  398. line-height: 28px;
  399. width: 100%;
  400. z-index: 100;
  401. display:none;
  402. }
  403. #upload .filelist li .success {
  404. display: block;
  405. position: absolute;
  406. left: 0;
  407. bottom: 0;
  408. height: 40px;
  409. width: 100%;
  410. z-index: 200;
  411. background: url(./images/success.png) no-repeat right bottom;
  412. background: url(./images/success.gif) no-repeat right bottom \9;
  413. }
  414. #upload .filelist li.filePickerBlock {
  415. width: 113px;
  416. height: 113px;
  417. background: url(./images/image.png) no-repeat center 12px;
  418. border: 1px solid #eeeeee;
  419. border-radius: 0;
  420. }
  421. #upload .filelist li.filePickerBlock div.webuploader-pick {
  422. width: 100%;
  423. height: 100%;
  424. margin: 0;
  425. padding: 0;
  426. opacity: 0;
  427. background: none;
  428. font-size: 0;
  429. }
  430. #upload .filelist div.file-panel {
  431. position: absolute;
  432. height: 0;
  433. filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
  434. background: rgba(0, 0, 0, 0.5);
  435. width: 100%;
  436. top: 0;
  437. left: 0;
  438. overflow: hidden;
  439. z-index: 300;
  440. }
  441. #upload .filelist div.file-panel span {
  442. width: 24px;
  443. height: 24px;
  444. display: inline;
  445. float: right;
  446. text-indent: -9999px;
  447. overflow: hidden;
  448. background: url(./images/icons.png) no-repeat;
  449. background: url(./images/icons.gif) no-repeat \9;
  450. margin: 5px 1px 1px;
  451. cursor: pointer;
  452. -webkit-tap-highlight-color: rgba(0,0,0,0);
  453. -webkit-user-select: none;
  454. -moz-user-select: none;
  455. -ms-user-select: none;
  456. user-select: none;
  457. }
  458. #upload .filelist div.file-panel span.rotateLeft {
  459. display:none;
  460. background-position: 0 -24px;
  461. }
  462. #upload .filelist div.file-panel span.rotateLeft:hover {
  463. background-position: 0 0;
  464. }
  465. #upload .filelist div.file-panel span.rotateRight {
  466. display:none;
  467. background-position: -24px -24px;
  468. }
  469. #upload .filelist div.file-panel span.rotateRight:hover {
  470. background-position: -24px 0;
  471. }
  472. #upload .filelist div.file-panel span.cancel {
  473. background-position: -48px -24px;
  474. }
  475. #upload .filelist div.file-panel span.cancel:hover {
  476. background-position: -48px 0;
  477. }
  478. #upload .statusBar {
  479. height: 45px;
  480. border-bottom: 1px solid #dadada;
  481. margin: 0 10px;
  482. padding: 0;
  483. line-height: 45px;
  484. vertical-align: middle;
  485. position: relative;
  486. }
  487. #upload .statusBar .progress {
  488. border: 1px solid #1483d8;
  489. width: 198px;
  490. background: #fff;
  491. height: 18px;
  492. position: absolute;
  493. top: 12px;
  494. display: none;
  495. text-align: center;
  496. line-height: 18px;
  497. color: #6dbfff;
  498. margin: 0 10px 0 0;
  499. }
  500. #upload .statusBar .progress span.percentage {
  501. width: 0;
  502. height: 100%;
  503. left: 0;
  504. top: 0;
  505. background: #1483d8;
  506. position: absolute;
  507. }
  508. #upload .statusBar .progress span.text {
  509. position: relative;
  510. z-index: 10;
  511. }
  512. #upload .statusBar .info {
  513. display: inline-block;
  514. font-size: 14px;
  515. color: #666666;
  516. }
  517. #upload .statusBar .btns {
  518. position: absolute;
  519. top: 7px;
  520. right: 0;
  521. line-height: 30px;
  522. }
  523. #filePickerBtn {
  524. display: inline-block;
  525. float: left;
  526. }
  527. #upload .statusBar .btns .webuploader-pick,
  528. #upload .statusBar .btns .uploadBtn,
  529. #upload .statusBar .btns .uploadBtn.state-uploading,
  530. #upload .statusBar .btns .uploadBtn.state-paused {
  531. background: #ffffff;
  532. border: 1px solid #cfcfcf;
  533. color: #565656;
  534. padding: 0 18px;
  535. display: inline-block;
  536. border-radius: 3px;
  537. margin-left: 10px;
  538. cursor: pointer;
  539. font-size: 14px;
  540. float: left;
  541. -webkit-user-select: none;
  542. -moz-user-select: none;
  543. -ms-user-select: none;
  544. user-select: none;
  545. }
  546. #upload .statusBar .btns .webuploader-pick-hover,
  547. #upload .statusBar .btns .uploadBtn:hover,
  548. #upload .statusBar .btns .uploadBtn.state-uploading:hover,
  549. #upload .statusBar .btns .uploadBtn.state-paused:hover {
  550. background: #f0f0f0;
  551. }
  552. #upload .statusBar .btns .uploadBtn,
  553. #upload .statusBar .btns .uploadBtn.state-paused{
  554. background: #00b7ee;
  555. color: #fff;
  556. border-color: transparent;
  557. }
  558. #upload .statusBar .btns .uploadBtn:hover,
  559. #upload .statusBar .btns .uploadBtn.state-paused:hover{
  560. background: #00a2d4;
  561. }
  562. #upload .statusBar .btns .uploadBtn.disabled {
  563. pointer-events: none;
  564. filter:alpha(opacity=60);
  565. -moz-opacity:0.6;
  566. -khtml-opacity: 0.6;
  567. opacity: 0.6;
  568. }
  569. /* 图片管理样式 */
  570. #online {
  571. width: 100%;
  572. height: 336px;
  573. padding: 10px 0 0 0;
  574. }
  575. #online #imageList{
  576. width: 100%;
  577. height: 100%;
  578. overflow-x: hidden;
  579. overflow-y: auto;
  580. position: relative;
  581. }
  582. #online ul {
  583. display: block;
  584. list-style: none;
  585. margin: 0;
  586. padding: 0;
  587. }
  588. #online li {
  589. float: left;
  590. display: block;
  591. list-style: none;
  592. padding: 0;
  593. width: 113px;
  594. height: 113px;
  595. margin: 0 0 9px 9px;
  596. *margin: 0 0 6px 6px;
  597. background-color: #eee;
  598. overflow: hidden;
  599. cursor: pointer;
  600. position: relative;
  601. }
  602. #online li.clearFloat {
  603. float: none;
  604. clear: both;
  605. display: block;
  606. width:0;
  607. height:0;
  608. margin: 0;
  609. padding: 0;
  610. }
  611. #online li img {
  612. cursor: pointer;
  613. }
  614. #online li .icon {
  615. cursor: pointer;
  616. width: 113px;
  617. height: 113px;
  618. position: absolute;
  619. top: 0;
  620. left: 0;
  621. z-index: 2;
  622. border: 0;
  623. background-repeat: no-repeat;
  624. }
  625. #online li .icon:hover {
  626. width: 107px;
  627. height: 107px;
  628. border: 3px solid #1094fa;
  629. }
  630. #online li.selected .icon {
  631. background-image: url(images/success.png);
  632. background-image: url(images/success.gif)\9;
  633. background-position: 75px 75px;
  634. }
  635. #online li.selected .icon:hover {
  636. width: 107px;
  637. height: 107px;
  638. border: 3px solid #1094fa;
  639. background-position: 72px 72px;
  640. }
  641. /* 图片搜索样式 */
  642. #search .searchBar {
  643. width: 100%;
  644. height: 30px;
  645. margin: 10px 0 5px 0;
  646. padding: 0;
  647. }
  648. #search input.text{
  649. width: 150px;
  650. padding: 3px 6px;
  651. font-size: 14px;
  652. line-height: 1.42857143;
  653. color: #555;
  654. background-color: #fff;
  655. background-image: none;
  656. border: 1px solid #ccc;
  657. border-radius: 4px;
  658. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  659. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  660. -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  661. transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  662. }
  663. #search input.text:focus {
  664. border-color: #66afe9;
  665. outline: 0;
  666. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  667. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  668. }
  669. #search input.searchTxt {
  670. margin-left:5px;
  671. padding-left: 5px;
  672. background: #FFF;
  673. width: 300px;
  674. *width: 260px;
  675. height: 21px;
  676. line-height: 21px;
  677. float: left;
  678. dislay: block;
  679. }
  680. #search .searchType {
  681. width: 65px;
  682. height: 28px;
  683. padding:0;
  684. line-height: 28px;
  685. border: 1px solid #d7d7d7;
  686. border-radius: 0;
  687. vertical-align: top;
  688. margin-left: 5px;
  689. float: left;
  690. dislay: block;
  691. }
  692. #search #searchBtn,
  693. #search #searchReset {
  694. display: inline-block;
  695. margin-bottom: 0;
  696. margin-right: 5px;
  697. padding: 4px 10px;
  698. font-weight: 400;
  699. text-align: center;
  700. vertical-align: middle;
  701. cursor: pointer;
  702. background-image: none;
  703. border: 1px solid transparent;
  704. white-space: nowrap;
  705. font-size: 14px;
  706. border-radius: 4px;
  707. -webkit-user-select: none;
  708. -moz-user-select: none;
  709. -ms-user-select: none;
  710. user-select: none;
  711. vertical-align: top;
  712. float: right;
  713. }
  714. #search #searchBtn {
  715. color: white;
  716. border-color: #285e8e;
  717. background-color: #3b97d7;
  718. }
  719. #search #searchReset {
  720. color: #333;
  721. border-color: #ccc;
  722. background-color: #fff;
  723. }
  724. #search #searchBtn:hover {
  725. background-color: #3276b1;
  726. }
  727. #search #searchReset:hover {
  728. background-color: #eee;
  729. }
  730. #search .msg {
  731. margin-left: 5px;
  732. }
  733. #search .searchList{
  734. width: 100%;
  735. height: 300px;
  736. overflow: hidden;
  737. clear: both;
  738. }
  739. #search .searchList ul{
  740. margin:0;
  741. padding:0;
  742. list-style:none;
  743. clear: both;
  744. width: 100%;
  745. height: 100%;
  746. overflow-x: hidden;
  747. overflow-y: auto;
  748. zoom: 1;
  749. position: relative;
  750. }
  751. #search .searchList li {
  752. list-style:none;
  753. float: left;
  754. display: block;
  755. width: 115px;
  756. margin: 5px 10px 5px 20px;
  757. *margin: 5px 10px 5px 15px;
  758. padding:0;
  759. font-size: 12px;
  760. box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  761. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  762. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  763. position: relative;
  764. vertical-align: top;
  765. text-align: center;
  766. overflow: hidden;
  767. cursor: pointer;
  768. filter: alpha(Opacity=100);
  769. -moz-opacity: 1;
  770. opacity: 1;
  771. border: 2px solid #eee;
  772. }
  773. #search .searchList li.selected {
  774. filter: alpha(Opacity=40);
  775. -moz-opacity: 0.4;
  776. opacity: 0.4;
  777. border: 2px solid #00a0e9;
  778. }
  779. #search .searchList li p {
  780. background-color: #eee;
  781. margin: 0;
  782. padding: 0;
  783. position: relative;
  784. width:100%;
  785. height:115px;
  786. overflow: hidden;
  787. }
  788. #search .searchList li p img {
  789. cursor: pointer;
  790. border: 0;
  791. }
  792. #search .searchList li a {
  793. color: #999;
  794. border-top: 1px solid #F2F2F2;
  795. background: #FAFAFA;
  796. text-align: center;
  797. display: block;
  798. padding: 0 5px;
  799. width: 105px;
  800. height:32px;
  801. line-height:32px;
  802. white-space:nowrap;
  803. text-overflow:ellipsis;
  804. text-decoration: none;
  805. overflow: hidden;
  806. word-break: break-all;
  807. }
  808. #search .searchList a:hover {
  809. text-decoration: underline;
  810. color: #333;
  811. }
  812. #search .searchList .clearFloat{
  813. clear: both;
  814. }