mtm_passage - 副本.css 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. /*高亮文本标注样式*/
  2. html {
  3. overflow: visible;
  4. padding: 0;
  5. margin: 0;
  6. }
  7. body {
  8. font-family: Cambria;
  9. font-size: 12pt;
  10. overflow: auto;
  11. background-color: #ffffff;
  12. color: #000000;
  13. }
  14. /*::selection
  15. {
  16. background-color: #0099CC;
  17. color:#fff;
  18. }*/
  19. .mark{
  20. height:30px;
  21. width: 120px;
  22. margin-top: -6px;
  23. background-image: url("../image/mark.png");
  24. }
  25. .mark:hover{
  26. background-image: url("../image/mark_hover.png");
  27. }
  28. .klgList
  29. {
  30. background-color:#fff0e6;
  31. border:1px solid #b77b59;
  32. }
  33. .klgList>div
  34. {
  35. color:#b36a3b;
  36. cursor:pointer;
  37. padding:2px 2px 2px 5px;
  38. }
  39. .klgList>div:hover
  40. {
  41. background-color:#f0dbcd;
  42. }
  43. .selectBtn{
  44. margin-top: 5px;
  45. float: right;
  46. width: 30px;
  47. height: 30px;
  48. background-image: url(../image/selectBtn.png);
  49. cursor: pointer;
  50. }
  51. .toolBar{
  52. height: 40px;
  53. background-color: #dceff7;
  54. }
  55. .toolBar div{
  56. position: relative;
  57. left: 8px;
  58. height: 38px;
  59. width: 114px;
  60. background-image: url("../image/highlight.png");
  61. }
  62. .toolBar div.hover{
  63. background-image: url("../image/highlight_hover.png");
  64. }
  65. .toolBarMenu {
  66. position: absolute;
  67. display: none;
  68. top: 38px;
  69. left: 6px;
  70. width: 120px;
  71. height: 60px;
  72. background: url("../image/toolBarMenu.png") 0 -36px no-repeat;
  73. z-index: 1024;
  74. }
  75. .toolBarMenu ul{
  76. width: 106px;
  77. margin: 0 7px;
  78. }
  79. .toolBarMenu li {
  80. position: relative;
  81. height: 28px;
  82. width: 106px;
  83. line-height: 28px;
  84. font: '微软雅黑' 400 normal 12px;
  85. color: #333333;
  86. cursor: pointer;
  87. /*z-index: inherit;*/
  88. }
  89. .toolBarMenu li:hover{
  90. /*display: block;*/
  91. height: 28px;
  92. width: 106px;
  93. background-color: #DEEAFA;
  94. }
  95. .toolBarMenu li>div {
  96. display: inline-block;
  97. position: relative;
  98. top: 2px;
  99. width: 16px;
  100. height: 16px;
  101. margin-left: 6px;
  102. /*z-index: inherit;*/
  103. background: url("../image/toolUnChecked.png") no-repeat;
  104. }
  105. .toolBarMenu li.checked>div {
  106. background: url("../image/toolChecked.png") no-repeat;
  107. }
  108. .toolBarMenu li span{
  109. position: relative;
  110. top: -2px;
  111. font-family: '微软雅黑 Regular', '微软雅黑';
  112. font-size: 12px;
  113. }
  114. .selGroup div{
  115. display: inline-block;
  116. width: 22px;
  117. height: 22px;
  118. background: url("../image/uncheck.png");
  119. }
  120. .selGroup .wdSel:hover div[check="false"],.selGroup .phraseSel:hover div[check="false"],.selGroup .sentSel:hover div[check="false"]{
  121. background: url("../image/uncheck_hover.png");
  122. }
  123. .selGroup div.checkRect{
  124. background: url("../image/checked.png");
  125. }
  126. .selGroup .wdSel:hover div[check="true"],.selGroup .phraseSel:hover div[check="true"],.selGroup .sentSel:hover div[check="true"]{
  127. opacity:0.5;
  128. }
  129. .wordStyle[data-setstatus='1']{
  130. white-space:nowrap;
  131. color: #db5d00; /*单词选择颜色*/
  132. font-weight: bold;
  133. border-radius:4px;
  134. cursor: pointer;
  135. z-index: 10;
  136. }
  137. .wordStyle[data-setstatus='1']::before{
  138. content: "";
  139. }
  140. .wordStyle[data-setstatus='1']::after{
  141. content: "";
  142. }
  143. .border1{
  144. border: dashed 1px #ff6600;
  145. }
  146. .phraseStyle[data-setstatus='1']{
  147. background-color: #f2db8b; /*短语选择颜色*/
  148. border-radius:2px;
  149. padding-left:0px;
  150. padding-right:0px;
  151. cursor: pointer;
  152. z-index: 10;
  153. }
  154. .phraseStyle[data-setstatus='1']::before{
  155. content: "";
  156. }
  157. .phraseStyle[data-setstatus='1']::after{
  158. content: "";
  159. }
  160. .sentenceStyle[data-setstatus='1']{
  161. border-bottom: 2px solid #78ae43; /*句型*/
  162. z-index: 5;
  163. }
  164. .wordStyle[data-setstatus='1']:hover{
  165. color:#ff7d1e;
  166. font-weight: bold;
  167. /*background-color: #ffeeb2;*/
  168. }
  169. .wordStyle[data-setstatus='1'][showflag='0']{
  170. color: #ffffff;
  171. }
  172. .wordStyle[data-setstatus='1'][showflag='0']:hover{
  173. color: #ffffff;
  174. background-color: #ffffff;
  175. }
  176. .phraseStyle[data-setstatus='1'][showflag='0'] .wordStyle[data-setstatus='1'][showflag='0'][data-scolor='5']{
  177. color: #f2db8b;
  178. background-color: #f2db8b;
  179. }
  180. .phraseStyle[data-setstatus='1'][showflag='0'] {
  181. background-color: #ffffff;
  182. }
  183. @keyframes living { 0%{
  184. transform: scale(1);
  185. } 50%{
  186. transform: scale(1.2);
  187. } 100%{
  188. transform: scale(1);
  189. opacity: 1;
  190. } }
  191. .klg-selected{
  192. /*display:inline-block;*/
  193. box-shadow: 0 0 10px #0000ff !important;
  194. /*-webkit-animation: living 1.3s linear infinite;*/
  195. }
  196. .imgDel{
  197. position: relative;
  198. display: inline;
  199. }
  200. .imgDel>div {
  201. position: absolute;
  202. width: 15px;
  203. height: 15px;
  204. background-image: url("../image/delete15.png");
  205. margin: 0px -7px 0px -8px;
  206. top: -6px;
  207. right: -7px;
  208. z-index: 1;
  209. }
  210. .imgDel>div:hover{
  211. background-image: url("../image/delete15_hover.png");
  212. }
  213. .titleCss {
  214. /*margin-top: 5px;*/
  215. /* background-color: #dceff7; */
  216. padding-right: 20px;
  217. height: 40px;
  218. display: block;
  219. }
  220. .selGroup {
  221. position: absolute;
  222. display: none;
  223. padding-top: 15px;
  224. top: 35px;
  225. right: 15px;
  226. width: 104px;
  227. height: 132px;
  228. float: right;
  229. background: url("../image/selectBg.png") no-repeat;
  230. z-index: 1024;
  231. -webkit-user-select: none; /* Chrome all / Safari all */
  232. -moz-user-select: none; /* Firefox all */
  233. -ms-user-select: none; /* IE 10+ */
  234. }
  235. .wdSel, .phraseSel, .sentSel {
  236. margin-top: 7px;
  237. margin-left: 15px;
  238. cursor:pointer;
  239. float: left;
  240. }
  241. .ml3 {
  242. margin-left: 3px;
  243. }
  244. .markeg{
  245. position:relative;
  246. top:-4px;
  247. font-size:14px;
  248. color:#333333;
  249. }
  250. .rectImg {
  251. background-image: url(../image/rect.png);
  252. background-repeat: no-repeat;
  253. background-position: center center;
  254. width: 19px;
  255. display: none;
  256. font: bold 6pt;
  257. }
  258. .textcs {
  259. position: relative;
  260. line-height: 1.5;
  261. margin: 5px 5px;
  262. overflow-y : auto;
  263. padding-top: 5px;
  264. }
  265. #textArea {
  266. position: absolute;
  267. left: 0px;
  268. margin: 0 45px;
  269. text-align: justify;
  270. }
  271. /*详细释义*/
  272. .content{
  273. height: 113px;
  274. /*margin:0 5px;*/
  275. clear: right;
  276. padding:0px;
  277. border-bottom: solid 1px #e7e7e7;
  278. overflow-y: auto;
  279. color:#464646;
  280. }
  281. .content .enWordPro,.content font{
  282. font-size:14px;
  283. }
  284. .contentWrap{
  285. height: 150px;
  286. clear: right;
  287. margin: 5px 0px 0px 0px;
  288. padding:5px 0;
  289. overflow-y: auto;
  290. border-bottom: solid 1px #e7e7e7;
  291. }
  292. .contentText {
  293. font-weight: bold;
  294. font-size:20px;
  295. color:#007ac4;
  296. margin-bottom: 8px;
  297. margin-top: -6px;
  298. word-break: break-word;
  299. }
  300. .phonetic .voice{
  301. display:inline-block;
  302. width:18px;
  303. height:16px;
  304. position: relative;
  305. top: 3px;
  306. margin-left: 5px;
  307. background:url(../image/test_practice_icons.png) no-repeat -106px 0px;
  308. cursor: pointer;
  309. }
  310. .phonetic .voice.playing{
  311. background:url(../image/music_playing.gif);
  312. top: 4px;
  313. }
  314. .phonetic .voice.loading{
  315. width:16px;
  316. height:16px;
  317. background:url(loading.gif);
  318. }
  319. .moreDetail,.nextButton{
  320. float: right;
  321. margin: 12px 0;
  322. /*padding: 0 3px;*/
  323. cursor: pointer;
  324. color:#0d8ee3;
  325. font-size:14px;
  326. line-height:1;
  327. }
  328. .nextButton{
  329. float: left;
  330. }
  331. .pickUp{
  332. display: none;
  333. float: right;
  334. margin: 12px 8px;
  335. /*padding: 0 3px;*/
  336. cursor: pointer;
  337. color:#0d8ee3;
  338. font-size:14px;
  339. /*text-decoration:none;*/
  340. line-height:1;
  341. }
  342. .moreDetail:hover ,.pickUp:hover,.nextButton:hover{
  343. opacity: 0.8;
  344. filter: alpha(opacity=80);
  345. }
  346. .sentImagcs[data-setstatus='0']{
  347. display:none;
  348. }
  349. .sentImagcs[data-setstatus='1'][data-lstatus='0']{
  350. display: inline;
  351. cursor: pointer;
  352. margin: 0 3px -2px 1px;
  353. /*vertical-align: middle;*/
  354. }
  355. * {
  356. margin: 0px 0px;
  357. padding: 0px 0px;
  358. }
  359. ul {
  360. list-style: none;
  361. /*margin-left: 60px;*/
  362. /*margin-top: -22px;*/
  363. /*margin-right: 5px;*/
  364. }
  365. .ui-dialog a,a:-webkit-any-link,a:link,a:visited,a:hover,a:active{cursor:pointer !important;}
  366. /* 句子不需要黄色背景.sentenceStyle[data-nowclick='1'][data-setstatus='1'],.sentenceStyle[data-nowclick='1'][data-setstatus='1'] span */
  367. .wordStyle[data-nowclick='1'][data-setstatus='1'],.phraseStyle[data-nowclick='1'][data-setstatus='1'],.phraseStyle[data-nowclick='1'][data-setstatus='1'] span{
  368. background-color: #ffeeb2 !important;
  369. }
  370. .wordStyle[data-nowclick='1'][data-setstatus='1'] .underlineContent[showflag='0'],.phraseStyle[data-nowclick='1'][data-setstatus='1'] .underlineContent[showflag='0'],.phraseStyle[data-nowclick='1'][data-setstatus='1'] .underlineContent[showflag='0'] span,.sentenceStyle[data-nowclick='1'][data-setstatus='1'] .underlineContent[showflag='0'],.sentenceStyle[data-nowclick='1'][data-setstatus='1'] .underlineContent[showflag='0'] span{
  371. color: #ffeeb2 !important; /* 关闭知识点卡片后取消背景渲染,对应这个已经无效果了 */
  372. }