base.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. @charset "gb2312";
  2. /**
  3. * Title: Eleditor ÒÆ¶¯¶Ë¸»Îı¾±à¼­Æ÷
  4. * Site: https://eleditor.fixel.cn
  5. * Author: Try
  6. */
  7. .Eleditor-scrollLocked{height:100%}
  8. .Eleditor-wrap.Eleditor-mask{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5)}
  9. .Eleditor-loading{display:none;position:absolute;padding:15px;background:rgba(255,255,255,.9);z-index:999;width:100%;height:100%}
  10. .Eleditor-loading p{font-size:12px;color:#666;text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%)}
  11. .Eleditor-loading p:before{content:'';width:25px;height:25px;margin:0 auto;background:url(../img/1.gif) no-repeat center top;background-size:100%;display:inline-block;vertical-align:middle;margin-right:10px}
  12. .Eleditor-wrap ul{list-style:none}
  13. .Eleditor-area,.Eleditor-area *,.Eleditor-wrap,.Eleditor-wrap *{cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);tap-highlight-color:rgba(0,0,0,0)}
  14. .Eleditor-area .Eleditor-active{background:#cce0f2!important;padding:2%!important}
  15. .Eleditor-video-area video{width: 100%;}
  16. .Eleditor-iframe-area,.Eleditor-video-area,.Eleditor-audio-area{position:relative;width:100%;box-sizing:border-box}
  17. .Eleditor-iframe-area iframe{width:100%}
  18. .Eleditor-iframe-area:before,.Eleditor-video-area:before,.Eleditor-audio-area:before{position:absolute;content:'';width:100%;opacity:0;height:100%;top:0;left:0;display:block;z-index:1}
  19. .Eleditor-controller{background:#fff;position:absolute;box-sizing:border-box;transform:translate(-50%,0);-webkit-transform:translate(-50%,0);left:50%;display:none;margin-top:5px;box-shadow:0 0 20px rgba(0,0,0,.2);-webkit-box-shadow:0 0 20px rgba(0,0,0,.2);border-bottom:1px solid #e1e1e1;border-radius:3px;-webkit-border-radius:3px;background:linear-gradient(top,rgb(255,255,255) 29%,rgb(248,248,248) 74%);background:-o-linear-gradient(top,rgb(255,255,255) 29%,rgb(248,248,248) 74%);background:-moz-linear-gradient(top,rgb(255,255,255) 29%,rgb(248,248,248) 74%);background:-webkit-linear-gradient(top,rgb(255,255,255) 29%,rgb(248,248,248) 74%)}
  20. .Eleditor-controller ul{margin-bottom:2.5%}
  21. .Eleditor-controller ul:after{content:'';display:block;height:0;clear:both}
  22. .Eleditor-controller ul li{float:left;display:inline-block;width:30%;margin:2% 0 0 2.5%;height:42px;border-radius:3px;-webkit-border-radius:3px;line-height:42px;padding-left:10%;box-sizing:border-box;font-size:14px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;white-space:nowrap;position:relative}
  23. .Eleditor-controller ul li.Eleditor-undo{display:none}
  24. .Eleditor-controller ul li:before{background-size:100%;background-repeat:no-repeat}
  25. .Eleditor-controller ul li:before{content:'';position:absolute;left:8px;top:12px;width:15px;height:15px;display:block;background-image:url(../img/2.png)}
  26. .Eleditor-controller ul li.Eleditor-insertText:before{background-image:url(../img/3.png)}
  27. .Eleditor-controller ul li.Eleditor-insertImage:before{background-image:url(../img/4.png)}
  28. .Eleditor-controller ul li.Eleditor-undo:before{background-image:url(../img/5.png)}
  29. .Eleditor-controller ul li div[id^='rt_rt_']{top:0!important;left:0!important;width:100%!important;height:100%!important;opacity:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}
  30. .Eleditor-controller ul li.Eleditor-insertLink:before{background-image:url(../img/9.png)}
  31. .Eleditor-controller ul li.Eleditor-insertHr:before{background-image:url(../img/10.png)}
  32. .Eleditor-controller ul li.Eleditor-delete:before{background-image:url(../img/7.png)}
  33. .Eleditor-controller ul li.Eleditor-cancel:before{background-image:url(../img/8.png)}
  34. .Eleditor-controller ul li.Eleditor-editText:before{background-image:url(../img/11.png)}
  35. @media screen and (max-width:300px){
  36. .Eleditor-controller ul li{width:30%;text-align:center;padding-left:0;font-size:12px}
  37. .Eleditor-controller ul li:before{display:none}
  38. }
  39. .Eleditor-textEditor{display:none;width:100%;height:100%;background:#fff;position:fixed;left:0;top:0}
  40. .Eleditor-textEditor-colors,.Eleditor-textEditor-fontsizes,.Eleditor-textEditor-lineheight,.Eleditor-textEditor-linedecorations{display:none;position:absolute;top:0;left:0;width:100%;height:100%;background:#fff;z-index:1}
  41. .Eleditor-textEditor-modulePane{margin:10px 8px;border-bottom:1px solid #ccc;padding-bottom:10px}
  42. .Eleditor-textEditor-linedecorations .Eleditor-textEditor-modulePane{margin-bottom:0}
  43. .Eleditor-textEditor-linedecorations ul li{text-align:center;display:block;color:#555;font-size:14px;letter-spacing:2px;padding:20px 0;border-bottom:1px solid #eee}
  44. .Eleditor-textEditor-colors ul:after{content:'';display:block;clear:both;height:0}
  45. .Eleditor-textEditor-colors ul li{float:left;text-align:center;width:20%;margin-bottom:10px}
  46. .Eleditor-textEditor-colors ul li span{width:40px;height:40px;display:inline-block;border-radius:3px;cursor:pointer;position:relative}
  47. .Eleditor-textEditor-colors ul li span.transparent:after,.Eleditor-textEditor-colors ul li span.transparent:before{position:absolute;background:#dedede;content:'';transform:rotate(45deg);-webkit-transform:rotate(45deg)}
  48. .Eleditor-textEditor-colors ul li span.transparent:after{width:1px;height:100%;left:50%;top:0}
  49. .Eleditor-textEditor-colors ul li span.transparent:before{width:100%;height:1px;left:0;top:50%}
  50. .Eleditor-textEditor-fontsizes ul li,.Eleditor-textEditor-lineheight ul li{text-align:center;color:#333;font-size:14px;line-height:30px}
  51. .Eleditor-textStyle{display:flex;display:-webkit-flex;position:relative;border-bottom:1px solid #eee;overflow-x:auto;overflow-y:hidden;box-shadow:0 0 10px rgba(0,0,0,.1);-webkit-box-shadow:0 0 10px rgba(0,0,0,.1)}
  52. .Eleditor-textStyle .Eleditor-textStyle-item{flex:1;-webkit-flex:1;padding:10px 0}
  53. .Eleditor-textStyle .Eleditor-textStyle-item div{width:24px;height:24px;position:relative;margin:auto}
  54. .Eleditor-textStyle .Eleditor-textStyle-item div:before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;display:block;background-size:20px;background-position:center;background-repeat:no-repeat}
  55. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-active{background-color:#FFE69F!important;padding:0;border:1px solid #DCAC6C;border-radius:2px}
  56. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-bold:before{background-image:url(../img/12.png)}
  57. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-color:before{background-image:url(../img/13.png);background-size:16px}
  58. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-color:before{background-position:center 3px;background-size:15px}
  59. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-color span{display:block;width:18px;height:1px;background:#333;position:absolute;bottom:2px;left:4px}
  60. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-linedecoration:before{background-image:url(../img/14.png);background-size:18px;background-position:center 3px}
  61. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-bgColor:before{background-image:url(../img15.png);background-position:center 3px}
  62. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-fontSize:before{background-image:url(../img/5.png);background-size:22px}
  63. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-lineHeight:before{background-image:url(../img/16.png)}
  64. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-alignLeft:before{background-image:url(../img/17.png);background-size:25px}
  65. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-alignCenter:before{background-image:url(../img/18.png);background-size:25px}
  66. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-alignRight:before{background-image:url(../img/19.png);background-size:25px}
  67. .Eleditor-textStyle .Eleditor-textStyle-item .Eleditor-textStyle-upImg:before{background-image:url(../img/20.png);background-size:22px}
  68. .Eleditor-textStyle .Eleditor-textStyle-item-upImg{position:relative}
  69. .Eleditor-textStyle .Eleditor-textStyle-item-upImg-disabled{display:none}
  70. .Eleditor-textStyle .Eleditor-webUploader-btn>:not(.webuploader-pick){transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);top:50%!important;left:50%!important;opacity:0}
  71. .Eleditor-textStyle .Eleditor-webUploader-btn>:not(.webuploader-pick) label{position:absolute;top:0;left:0;width:100%;height:100%}
  72. .Eleditor-textEditor-formats{position:absolute;right:-60px;bottom:20%;border-radius:50%;-webkit-border-radius:50%;width:100px;height:100px;box-shadow:0 0 5px rgba(0,0,0,.1);background:#fff;z-index:1}
  73. .Eleditor-textEditor-formats div{background-repeat:no-repeat;width:100%;height:32px;background-position-x:12px;background-position-y:center;position:absolute}
  74. .Eleditor-textEditor-formats .Eleditor-textEditor-format{background-image:url(../img/21.png);background-size:20px;border-bottom:1px solid #F5F5F5;top:15px}
  75. .Eleditor-textEditor-formats .Eleditor-textEditor-clean{background-image:url(../img/22.png);background-size:20px;bottom:15px}
  76. .Eleditor-inputarea{position:absolute;top:45px;bottom:60px;width:100%}
  77. .Eleditor-textEditor[type=link] .Eleditor-inputarea{bottom:95px}
  78. .Eleditor-inputarea .textarea{-webkit-user-select:auto;overflow-y:auto;overflow-x:hidden;height:100%;width:100%;padding:10px;box-sizing:border-box;font-size:14px;color:#555;border:none;word-wrap:break-word;word-break:normal}
  79. .Eleditor-inputarea .textarea:empty::before{color:lightgrey;content:attr(placeholder)}
  80. .Eleditor-inputarea input{display:none}.Eleditor-inputarea .textarea img{width:100%;height:auto;box-sizing:border-box}
  81. .Eleditor-textEditor[type=link] .Eleditor-inputarea input{height:33px;display:block;border:none;border-bottom:1px solid #ddd;width:100%;margin:10px;color:#333;outline:none}
  82. .Eleditor-method{border-top:1px solid #eee;position:absolute;bottom:0;width:100%;box-shadow:0 0 10px rgba(0,0,0,.1);-webkit-box-shadow:0 0 10px rgba(0,0,0,.1)}
  83. .Eleditor-method:after{content:'';clear:both;display:block;height:0}
  84. .Eleditor-method button{width:50%;border:none;padding:0;margin:0;box-sizing:border-box;float:left;background:#fff;height:40px;color:#333}
  85. .Eleditor-method .Eleditor-commit{border-right:1px solid #ddd}
  86. .Eleditor-placeholder{color:#999}
  87. .Eleditor-deleteMode *{border:1px dashed red;text-decoration:none!important}
  88. .Eleditor-deleteMode *:empty{padding:0 10px;box-sizing:border-box}
  89. .Eleditor-delete-layer{display:none;position:fixed;bottom:0;left:0;width:100%;background:#fff;border-top:1px solid #ddd}
  90. .Eleditor-delete-tip{position:fixed;top:0;width:100%;text-align:center;line-height:28px;font-size:12px;background:rgba(255,235,59,.95);color:#F44336;border-bottom:1px solid #ffd350}
  91. .Eleditor-delete-back{padding:15px;box-sizing:border-box;width:100%;text-align:center;font-size:14px}
  92. .Eleditor-delete-back:before{content:'';background-size:100%;background-repeat:no-repeat;background-position:20% center;display:inline-block;vertical-align:bottom;width:16px;height:16px;margin-right:5px}
  93. .Eleditor-delete-revoke,.Eleditor-delete-clear{position:fixed;width:50px;height:50px;right:20px;font-size:12px;border-radius:50%;box-shadow:0 0 15px rgba(0,0,0,.2);-webkit-box-shadow:0 0 15px rgba(0,0,0,.2);background:#FF5722}
  94. .Eleditor-delete-revoke{bottom:70px;background-image:linear-gradient(to bottom,#ff5165,#ff8f8f);background-image:-webkit-linear-gradient(to bottom,#ff5165,#ff8f8f)}
  95. .Eleditor-delete-revoke-disabled{display:none}
  96. .Eleditor-delete-clear{bottom:130px;background-image:linear-gradient(to bottom,#9E9E9E,#d6d6d6);background-image:-webkit-linear-gradient(to bottom,#9E9E9E,#d6d6d6)}
  97. .Eleditor-delete-revoke:before,.Eleditor-delete-clear:before{position:absolute;left:50%;top:50%;content:'';background-size:100%;display:block;background-repeat:no-repeat}
  98. .Eleditor-delete-revoke:before{background-image:url(../img/23.png);margin-left:-15px;margin-top:-13px;width:28px;height:28px}
  99. .Eleditor-delete-clear:before{background-image:url(../img/24.png);margin-left:-12px;margin-top:-12px;width:24px;height:24px}
  100. .Eleditor-delete-back:before{background-image:url(../img/25.png)}