index.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. @import url("../static/vendor/codemirror/codemirror.css");
  2. @import url("../static/css/bootstrap.min.css");
  3. .wrapper.wp-modifiers {
  4. width:auto;
  5. background: transparent;
  6. }
  7. .panel-title a.x-tooltip {
  8. font-size: 12px;
  9. color: #48b;
  10. margin-left: 10px;
  11. }
  12. .panel-title a.x-tooltip:hover {
  13. text-decoration: underline;
  14. }
  15. .x-toolbox {
  16. float: right;
  17. }
  18. .x-toolbox .x-line {
  19. font-size: 12px;
  20. margin-left: 10px;
  21. color: #bbb;
  22. }
  23. .x-wrapper {
  24. position: relative;
  25. color: #666;
  26. }
  27. .x-wrapper .x-sidebar {
  28. position: absolute;
  29. left: 0;
  30. top:0;
  31. width: 300px;
  32. bottom: 0;
  33. background: #fefefe;
  34. border-right: 1px solid #ddd;
  35. }
  36. .x-sidebar .x-tools {
  37. background: #f1f1f1;
  38. padding: 2px 10px;
  39. text-align: right;
  40. border-bottom: 1px solid #ccc;
  41. }
  42. .x-sidebar .x-tools a{
  43. color:#48b;
  44. font-size: 12px;
  45. }
  46. .x-sidebar ul {
  47. margin: 0;
  48. padding: 0;
  49. list-style: none;
  50. }
  51. .x-sidebar ul li {
  52. padding: 5px 10px;
  53. background-color: #fff;
  54. border-bottom: 1px solid #eee;
  55. cursor: pointer;
  56. font-size: 14px;
  57. overflow: hidden;
  58. text-overflow:ellipsis;
  59. white-space: nowrap;
  60. position: relative;
  61. }
  62. .x-sidebar ul li.x-selected:after {
  63. content: '\2714';
  64. position: absolute;
  65. right: 10px;
  66. }
  67. .x-sidebar ul li:hover {
  68. background: #f5f5f5;
  69. color: #48b;
  70. }
  71. #main {
  72. margin-left:300px;
  73. padding: 20px;
  74. position: relative;
  75. }
  76. .m-mask {
  77. position: absolute;
  78. top: 10px;
  79. left: 10px;
  80. right: 10px;
  81. bottom: 10px;
  82. background: #000;
  83. opacity: 0.03;
  84. z-index: 100;
  85. border-radius: 10px;
  86. }
  87. .m-form {
  88. padding: 0 20px;
  89. }
  90. .m-form.x-masked {
  91. opacity: 0.4;
  92. }
  93. #mName,#mPattern,#mFilter,#mRefresh {
  94. width: 600px;
  95. }
  96. .m-form .CodeMirror {
  97. height: auto;
  98. }
  99. .m-form .CodeMirror-scroll {
  100. min-height: 300px;
  101. }
  102. .xm-icon {
  103. color: #fff;
  104. display: inline-block;
  105. vertical-align: middle;
  106. font: normal normal bold 12px/1 "normal";
  107. text-rendering: auto;
  108. -webkit-font-smoothing: antialiased;
  109. padding: 2px 5px;
  110. height: 16px;
  111. border-radius: 4px;
  112. text-align: center;
  113. font-weight: bold;
  114. }
  115. .xm-icon.xm-enable {
  116. background-color: #07C160;
  117. }
  118. .xm-icon.xm-enable::before {
  119. content: "\542F\7528\4E2D";
  120. }
  121. .xm-icon.xm-disable {
  122. background-color: #f0ad4e;
  123. }
  124. .xm-icon.xm-disable::before {
  125. content: "\5DF2\505C\7528";
  126. }
  127. .xm-icon.xm-create {
  128. background-color: #868482;
  129. }
  130. .xm-icon.xm-create::before {
  131. content: "\672A\4FDD\5B58";
  132. }
  133. .x-tips {
  134. font-size: 12px;
  135. color: #f00;
  136. background-color: #ffffdd;
  137. }