participle.less 10 KB

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