participle.less 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. .participleWrappper{
  2. width: 100%;
  3. min-width: 1200px;
  4. .title{
  5. width: 100%;
  6. min-width: 1200px;
  7. position: relative;
  8. height: 40px;
  9. line-height: 40px;
  10. background-image: linear-gradient(to right, #5A8EEE , #7EABFF);
  11. filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#1471da,endColorstr=#1C85FB);/*IE<9>*/
  12. -ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#1471da, endColorstr=#1C85FB)";/*IE8+*/
  13. }
  14. .titleTxt{
  15. position: relative;
  16. width: 1200px;
  17. left: 50%;
  18. margin-left: -600px;
  19. color: #fff;
  20. font-size: 14px;
  21. }
  22. .titleLogo{
  23. position: relative;
  24. top: 3px;
  25. height: 20px;
  26. }
  27. .content{
  28. position: relative;
  29. width: 1200px;
  30. left: 50%;
  31. margin:10px 0 0 -600px;
  32. cursor: default;
  33. height: 100%;
  34. border: 1px solid #f4f4f4;
  35. border-radius:2px;
  36. // margin: 10px 25px;
  37. .contentTitle{
  38. font-size: 16px;
  39. height: 44px;
  40. line-height: 44px;
  41. border-bottom: 1px solid #E6E6E6;
  42. font-weight:600;
  43. color: #333;
  44. position: relative;
  45. img {
  46. position: absolute;
  47. right: 0;
  48. top: 12px;
  49. width: 20px;
  50. height: 20px;
  51. }
  52. #toggleImg {
  53. display: none;
  54. }
  55. #toggleImgs {
  56. display: block;
  57. }
  58. }
  59. .contentInfoBox{
  60. width: 1160px;
  61. padding: 0 20px;
  62. background: #fff;
  63. margin: 0 0 10px 0;
  64. position: relative;
  65. }
  66. .infoBox{
  67. display: block;
  68. }
  69. .infoTxt{
  70. min-height: 33px;
  71. width: 1160px;
  72. font-size: 14px;
  73. color: #333;
  74. resize: none;
  75. line-height: 18px;
  76. // outline: none;
  77. padding: 10px;
  78. background: #F7F8FA;
  79. border: 1px solid #ccc;
  80. box-sizing: border-box;
  81. margin: 15px 0 0 0;
  82. }
  83. .infoTxt:focus{
  84. border: 1px solid #58a6e7;
  85. outline: 0;
  86. -webkit-box-shadow:#58a6e7 0px 0px 2px;
  87. -moz-box-shadow: #58a6e7 0px 0px 2px;
  88. box-shadow: #58a6e7 0px 0px 2px;
  89. }
  90. input::-webkit-input-placeholder{
  91. color: #ccc;
  92. }
  93.     input:-moz-placeholder,textarea:-moz-placeholder{
  94. color: #ccc;
  95. }
  96.     input::-moz-placeholder,textarea::-moz-placeholder{
  97. color: #ccc;
  98. }
  99.     input:-ms-input-placeholder,textarea:-ms-input-placeholder{
  100. color: #ccc;
  101. }
  102. .btnBox{
  103. height: 36px;
  104. padding: 20px 0;
  105. position: relative;
  106. }
  107. .btn{
  108. position: absolute;
  109. left: 50%;
  110. margin-left: -48px;
  111. background-color: #5A8EEE;
  112. border-color: #5A8EEE;
  113. color: #fff;
  114. padding: 9px 20px;
  115. text-align: center;
  116. border-radius:4px;
  117. font-size: 14px;
  118. display: inline-block;
  119. cursor: pointer;
  120. }
  121. .example-btn{
  122. color: #5A8EEE;
  123. text-align: center;
  124. border-radius:4px;
  125. font-size: 16px;
  126. font-weight: 500;
  127. display: inline-block;
  128. margin: 0 20px 0 0;
  129. cursor: pointer;
  130. position: absolute;
  131. right: 0;
  132. }
  133. // .example-btn:hover{
  134. // background-color: #5A8EEE;
  135. // border-color: #5A8EEE;
  136. // color: #fff;
  137. // }
  138. .resultBox{
  139. white-space: pre-wrap;
  140. min-height: 155px;
  141. line-height: 21px;
  142. padding: 20px 0;
  143. width: 1160px;
  144. position: relative;
  145. font-size: 14px;
  146. // css保留换行符
  147. // white-space: pre-line;
  148. }
  149. .star{
  150. color: #000;
  151. }
  152. .entryItem{
  153. display: inline-block;
  154. color: blue;
  155. position: relative;
  156. border-bottom: 1px solid blue;
  157. }
  158. .type{
  159. position: absolute;
  160. top: -35px;
  161. white-space: nowrap;
  162. left: 50%;
  163. transform: translateX(-50%);
  164. display: inline-block;
  165. background: #7F7F7F;
  166. padding: 5px;
  167. font-size: 14px;
  168. color: #fff;
  169. display: none;
  170. border-radius:4px;
  171. }
  172. .trangle{
  173. position: absolute;
  174. bottom: -12px;
  175. left: 50%;
  176. margin-left: -6px;
  177. width: 0;
  178. height: 0;
  179. border-width: 6px;
  180. border-style: solid;
  181. border-color:#7F7F7F transparent transparent transparent;
  182. }
  183. .entryItem:hover{
  184. span{
  185. display: inline-block;
  186. }
  187. }
  188. .tableBox{
  189. min-height: 195px;
  190. position: relative;
  191. }
  192. table{
  193. display: none;
  194. width: 1160px;
  195. border: 1px solid #E6E8F0;
  196. box-sizing: border-box;
  197. border-collapse: collapse;
  198. font-size: 14px;
  199. thead{
  200. tr,td{
  201. border: none;
  202. }
  203. background: #EFF0F9;
  204. top: 0;
  205. width: 1160px;
  206. display:table;
  207. table-layout:fixed;
  208. }
  209. tbody{
  210. display: block;
  211. width: 1160px;
  212. height:570px;
  213. overflow-x:hidden;
  214. overflow-y:auto;
  215. text-align: center;
  216. tr{
  217. width: 1160px;
  218. display:table;
  219. table-layout:fixed;
  220. }
  221. }
  222. }
  223. tr,td{
  224. border: 1px solid #E6E8F0;
  225. line-height: 36px;
  226. height: 37px;
  227. }
  228. .tableTitle{
  229. width: 100%;
  230. font-size: 14px;
  231. font-weight:600;
  232. color: #333;
  233. padding: 20px 0 10px;
  234. }
  235. .entry1,.entry2,.relationType{
  236. text-align: center;
  237. }
  238. .disabled{
  239. opacity: 0.5;
  240. filter: "alpha(opacity=50)";
  241. filter: alpha(opacity=50);
  242. }
  243. .empty{
  244. position: absolute;
  245. display: none;
  246. width: 120px;
  247. height: 140px;
  248. top: 50%;
  249. left: 50%;
  250. margin: -50px 0 0 -51px;
  251. // display: none;
  252. .emptyImg{
  253. position: relative;
  254. width: 100px;
  255. left: 10px;
  256. }
  257. .emptyTxt{
  258. width: 120px;
  259. font-size:12px;
  260. margin: 20px 0 0 0;
  261. text-align: center;
  262. color: #aaa;
  263. }
  264. }
  265. }
  266. }
  267. .example{
  268. height: 48px;
  269. position: relative;
  270. line-height: 48px;
  271. text-indent: 15px;
  272. cursor: pointer;
  273. color: #000;
  274. font-size: 14px;
  275. &:hover,&.selected{
  276. background: #F0F5FF;
  277. }
  278. }
  279. .exampleInfo{
  280. background: #F0F5FF;
  281. padding: 15px;
  282. font-size: 14px;
  283. line-height: 21px;
  284. display: none;
  285. }
  286. .exampleBtn{
  287. display: inline-block;
  288. width:60px;
  289. height:28px;
  290. line-height: 28px;
  291. border-radius:14px;
  292. border:1px solid #5A8EEE;
  293. color: #5A8EEE;
  294. position: absolute;
  295. right: 75px;
  296. top: 9px;
  297. }
  298. .iconSlide{
  299. position: absolute;
  300. width: 14px;
  301. top: 20px;
  302. right: 15px;
  303. }
  304. #svg > svg {
  305. width: 100%;
  306. }
  307. #svg .poplar-annotation-content {
  308. // font-family: "PingFang SC", serif;
  309. font-size: 16px;
  310. }
  311. /* Label */
  312. #svg .poplar-annotation-label {
  313. // font-family: "PingFang SC", serif;
  314. font-size: 12px;
  315. }
  316. #svg .poplar-annotation-label rect{
  317. rx: 4px;
  318. fill: #d8e5ff;
  319. color: #cbddff;
  320. }
  321. #svg .poplar-annotation-label g rect{
  322. rx: 4px;
  323. fill: #d8e5ff;
  324. stroke: #fff;
  325. }
  326. #svg .poplar-annotation-label.hover {
  327. }
  328. #svg .poplar-annotation-label.hover rect{
  329. fill: #93b6f9;
  330. }
  331. /* Connection */
  332. #svg .poplar-annotation-connection {
  333. // font-family: "PingFang SC", serif;
  334. font-size: 11px;
  335. }
  336. /* 例如根元素的id是example时,需要 */
  337. /* 单独的.poplar-annotation-connection-line不会生效 */
  338. #svg .poplar-annotation-connection-line {
  339. stroke: #FEAC41;
  340. }
  341. #svg .poplar-annotation-connection-line.hover {
  342. stroke: #5A8EEE;
  343. }
  344. #svg {
  345. display: none;
  346. }