cardList.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. .mcp-title{
  2. line-height: 38px;
  3. font-size: 14px;
  4. text-indent: 16px;
  5. text-align: center;
  6. background: #E5E5E5;
  7. }
  8. .mcp-title .back{
  9. font-size: 16px;
  10. color:#2977ff
  11. }
  12. .mcp-title span{
  13. margin: 0 10px;
  14. }
  15. .mcp-title .horizontal-line {
  16. position: relative;
  17. bottom: 3px;
  18. display: inline-block;
  19. width: 34px;
  20. height: 1px;
  21. border-bottom: 1px solid #000;
  22. }
  23. .mcp-title .active {
  24. color: #2977ff;
  25. }
  26. .modules-box{
  27. padding:20px;
  28. }
  29. .modules-box .module{
  30. margin-top: 20px;
  31. }
  32. .modules-box .module:first-child{
  33. margin:0
  34. }
  35. .module h2 {
  36. display: block;
  37. position: relative;
  38. font-size: 16px;
  39. color: #333;
  40. margin: 0;
  41. margin-bottom: 20px;
  42. }
  43. .module h2 span {
  44. position: relative;
  45. height: 22px;
  46. padding: 0 10px;
  47. line-height: 22px;
  48. background: #fff;
  49. z-index: 10;
  50. }
  51. .module h2 span:nth-child(1) {
  52. padding-left: 10px;
  53. border-left: 2px solid #16AE69;
  54. }
  55. .module h2 .notice {
  56. font-size: 14px;
  57. }
  58. .module h2 span.notice {
  59. position: absolute;
  60. top: 50%;
  61. left: 50%;
  62. transform: translate(-40%, -50%);
  63. text-align: center;
  64. color: #2977ff;
  65. }
  66. .module h2:after {
  67. content: '';
  68. position: absolute;
  69. width: 100%;
  70. height: 1px;
  71. left: 0px;
  72. top: 50%;
  73. transform: translateY(-50%);
  74. background-color: #D8D8D8;
  75. }
  76. .card-info{
  77. margin-bottom: 10px;
  78. padding:0 20px;
  79. line-height: 36px;
  80. background: #f1f1f1;
  81. }
  82. .card-name{
  83. /* margin-right: 40px; */
  84. /* width: 50%; */
  85. }
  86. .card-base-info,.card-topic-info{
  87. position: relative;
  88. padding-left: 80px;
  89. line-height: 30px;
  90. }
  91. .card-base-info em,.card-topic-info em{
  92. position: absolute;
  93. left: 0;
  94. top: 0;
  95. width: 80px;
  96. }
  97. .card-base-info li,.card-topic-info div{
  98. width: 20%;
  99. }
  100. .create-card{
  101. display: flex;
  102. flex-direction: column;
  103. align-items: center;
  104. justify-content: center;
  105. min-height: 300px;
  106. }
  107. .create-card span {
  108. padding: 20px 0;
  109. font-size: 16px;
  110. color: #333333;
  111. text-align: center;
  112. }
  113. .btn-go-answer-sheet {
  114. margin-top: 5px;
  115. display: flex;
  116. align-items: center;
  117. justify-content: center;
  118. width: 150px;
  119. height: 40px;
  120. background: #fff;
  121. border: 1px solid #2977ff;
  122. color: #2977ff;
  123. font-size: 16px;
  124. border-radius: 4px;
  125. cursor: pointer;
  126. }
  127. .btn-go-answer-sheet:hover{
  128. color: #fff;
  129. background: #2977ff;
  130. }
  131. .cardlist-table{
  132. width: 100%;
  133. }
  134. .cardlist-table a{
  135. margin:0 2px;
  136. color: #01B677
  137. }
  138. .cardlist-table tr:nth-child(odd){
  139. background: #f5f5f5;
  140. }
  141. .cardlist-table td{
  142. padding-left: 20px;
  143. line-height: 36px;
  144. }
  145. .cardlist-table tr:hover{
  146. background: #eee;
  147. }
  148. .modules-box .module{
  149. margin-top:20px;
  150. padding-bottom: 20px;
  151. /* min-height: 250px; */
  152. }
  153. .card-use,.show-all{
  154. margin:-2px 3px 0 0!important;
  155. width: 16px;
  156. height: 16px;
  157. vertical-align: middle;
  158. cursor: pointer;
  159. }
  160. .show-all{
  161. margin-left: 30px!important;
  162. }
  163. .card-load-tips{
  164. margin-bottom: 10px;
  165. color: #f00;
  166. }
  167. .modules-box .tplBox {
  168. display: flex;
  169. align-items: center;
  170. justify-content: space-between;
  171. }
  172. .modules-box .tplBox .btnItem {
  173. position: relative;
  174. width: 50px;
  175. height: 50px;
  176. cursor: pointer;
  177. border-radius: 50%;
  178. }
  179. .modules-box .tplBox .btnItem:after,
  180. .modules-box .tplBox .btnItem:before {
  181. position: absolute;
  182. left: 50%;
  183. top: 50%;
  184. content: '';
  185. width: 30px;
  186. height: 30px;
  187. border-left: 5px solid #ddd;
  188. border-bottom: 5px solid #ddd;
  189. transform: rotate(45deg) translate(-50%, -50%);
  190. -webkit-transform: rotate(45deg) translate(-50%, -50%);
  191. transform-origin: 5px 5px;
  192. }
  193. .modules-box .tplBox .btnItem.rightBtn:after,
  194. .modules-box .tplBox .btnItem.rightBtn:before {
  195. transform: rotate(-135deg) translate(-50%, -50%);
  196. -webkit-transform: rotate(-135deg) translate(-50%, -50%);
  197. transform-origin: 0 0;
  198. }
  199. .modules-box .tplBox .tplCut {
  200. position: relative;
  201. width: calc(100% - 140px);
  202. height: 210px;
  203. overflow: hidden;
  204. }
  205. .modules-box .tplBox .tplCut .tplList {
  206. display: flex;
  207. flex-wrap: nowrap;
  208. position: absolute;
  209. left: 0;
  210. top: 0;
  211. }
  212. .modules-box .tplBox .tplCut .tplList .tplItem {
  213. width: 210px;
  214. margin-right: 15px;
  215. background: #FFFFFF;
  216. border: 1px solid #EEEEEE;
  217. box-shadow: 0 0 6px 0 #E7F3F0;
  218. border-radius: 4px;
  219. }
  220. .modules-box .tplBox .tplCut .tplList .tplItem .top {
  221. background: #E8F0EE;
  222. }
  223. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 {
  224. display: flex;
  225. align-items: center;
  226. font-size: 16px;
  227. }
  228. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 strong {
  229. padding-right: 5px;
  230. font-weight: bold;
  231. flex: 1;
  232. overflow: hidden;
  233. text-overflow: ellipsis;
  234. white-space: nowrap;
  235. }
  236. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 .menu {
  237. position: relative;
  238. width: 20px;
  239. height: 20px;
  240. }
  241. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 .menu.active .menuList {
  242. display: flex;
  243. }
  244. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 .menu.active .triangle {
  245. display: block;
  246. }
  247. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 .menu strong {
  248. position: absolute;
  249. display: flex;
  250. flex-direction: column;
  251. align-items: center;
  252. justify-content: space-around;
  253. width: 100%;
  254. height: 100%;
  255. left: 0;
  256. top: 0;
  257. cursor: pointer;
  258. }
  259. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 .menu strong b {
  260. width: 5px;
  261. height: 5px;
  262. border-radius: 50%;
  263. background: #333;
  264. }
  265. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 .menu .menuList {
  266. position: absolute;
  267. flex-direction: column;
  268. width: 50px;
  269. padding: 10px;
  270. background: #fff;
  271. box-shadow: 0 0 6px 0 #E7F3F0;
  272. border-radius: 4px;
  273. top: 30px;
  274. right: 0;
  275. display: none;
  276. }
  277. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 .menu .menuList span {
  278. padding: 5px 0;
  279. font-size: 14px;
  280. color: #16AE69;
  281. cursor: pointer;
  282. border-bottom: 1px solid #eee;
  283. }
  284. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 .menu .menuList span:nth-child(3) {
  285. color: #FF4D59;
  286. }
  287. .modules-box .tplBox .tplCut .tplList .tplItem .top h3 .menu .triangle {
  288. position: absolute;
  289. width: 15px;
  290. height: 15px;
  291. top: 25px;
  292. background: #fff;
  293. border-radius: 2px;
  294. transform: rotate(45deg);
  295. z-index: 10;
  296. display: none;
  297. }
  298. .modules-box .tplBox .tplCut .tplList .tplItem .itemModule {
  299. display: flex;
  300. height: 100px;
  301. padding: 10px;
  302. flex-direction: column;
  303. justify-content: space-around;
  304. }
  305. .modules-box .tplBox .tplCut .tplList .tplItem .itemModule h3{
  306. font-size: 14px;
  307. }
  308. #cardErr{
  309. display: block;
  310. margin-top:10px;
  311. color: #f00;
  312. }
  313. .layui-layer-examine .layui-layer-title{
  314. background:rgba(21, 174, 104, 1);
  315. color:#fff;
  316. font-size: 16px;
  317. /* font-weight: bold; */
  318. }
  319. .layui-layer-examine .layui-layer-clos {
  320. color: #fff;
  321. background-color: #fff;
  322. }