style.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. textarea{
  2. font-size: 16px;
  3. word-break: break-all;
  4. max-width: 100%;
  5. }
  6. button {
  7. font-size: 16px;
  8. font-weight: 700;
  9. }
  10. div,view,span,a,input,text,uni-view {
  11. font-size: 16px;
  12. }
  13. .uni-forms-item__label .label-text, .uni-list-item__content-title {
  14. font-size: 16px !important;
  15. }
  16. .uni-list-item__content-note,
  17. .uni-list-item__extra-text,
  18. .uni-list-item__content-note span,
  19. .uni-list-item__extra-text span
  20. {
  21. font-size: 14px !important;
  22. }
  23. /* 题目样式表 - 新*/
  24. .qu-box{
  25. }
  26. .sub-box{
  27. margin: 20px 0px 20px 0px;
  28. border: #f1f1f1 1px solid;
  29. border-radius: 5px;
  30. padding: 10px;
  31. }
  32. .qu-box > .split{
  33. margin-bottom: 30px;
  34. padding-bottom: 30px;
  35. border-bottom: #eee 3px dotted;
  36. }
  37. .qu-item{
  38. margin-bottom: 20px;
  39. }
  40. .qu-item > .sub{
  41. width: 15px;
  42. font-weight: 700;
  43. color: #5794f7;
  44. font-size: 16px;
  45. font-style: italic;
  46. line-height: 24px;
  47. }
  48. .qu-item .num{
  49. color: #007AFF;
  50. font-weight: 700;
  51. font-size: 14px;
  52. }
  53. .qu-item .score{
  54. color: #f01414;
  55. font-weight: 700;
  56. font-size: 14px;
  57. }
  58. .qu-item .content{
  59. flex-grow: 1;
  60. align-items: flex-start;
  61. white-space: pre-wrap;
  62. word-break:break-all;
  63. word-wrap:break-word;
  64. }
  65. .qu-item .content p{
  66. line-height: 24px;
  67. margin-top: -0px;
  68. }
  69. .qu-answer {
  70. }
  71. .qu-answer > .item{
  72. display: flex;
  73. border: #eee 1px solid;
  74. border-radius: 5px;
  75. line-height: 20px;
  76. margin: 15px 0px 15px 0px;
  77. padding: 10px;
  78. cursor: pointer;
  79. font-size: 14px;
  80. }
  81. .qu-answer > .active{
  82. border: #5794f7 1px solid;
  83. }
  84. .qu-answer > .true{
  85. border: #04D76A 1px solid;
  86. }
  87. .qu-answer > .wrong{
  88. border: #f01414 1px solid;
  89. }
  90. .qu-answer > .item > .tag{
  91. width: 10px;
  92. font-weight: 700;
  93. color: #0a84ff;
  94. display: flex;
  95. align-items: center;
  96. }
  97. .qu-answer .item .content{
  98. flex-grow: 1;
  99. padding-left: 10px;
  100. }
  101. .qu-answer .item .right-box{
  102. width: 50px;
  103. display: flex;
  104. align-items: center;
  105. justify-content: space-between;
  106. flex-shrink: 0;
  107. }
  108. .as-box{
  109. border: #eee 1px solid;
  110. border-radius: 5px;
  111. line-height: 24px;
  112. margin: 5px 0px 10px 0px;
  113. padding: 10px;
  114. font-size: 14px;
  115. color: #555;
  116. background: #f5f5f5;
  117. }
  118. .rest-box{
  119. display: flex;
  120. align-items: center;
  121. }
  122. .rest-box .text {
  123. padding-left: 5px;
  124. }
  125. /* 考试过程顶部栏目 开始*/
  126. .hand-bar {
  127. padding: 5px 10px;
  128. background: #eee;
  129. margin-bottom: 20px;
  130. display: flex;
  131. align-items: center;
  132. flex-direction: row;
  133. }
  134. .hand-col {
  135. display: flex;
  136. align-items: center;
  137. height: 40px;
  138. }
  139. .timer-col {
  140. height: 40px;
  141. flex-grow: 1;
  142. display: flex;
  143. align-items: center;
  144. }
  145. /* 考试过程顶部栏目 结束*/
  146. /* 排行榜相关代码 开始*/
  147. .rank-card {
  148. margin: 0px 0px 10px 0px !important;
  149. }
  150. .rank-box {
  151. display: flex;
  152. flex-direction: row;
  153. align-items: center;
  154. }
  155. .rank-num {
  156. color: #FD972D;
  157. font-weight: 700;
  158. font-size: 28px;
  159. padding-right: 10px;
  160. font-style: italic
  161. }
  162. .rank-info {
  163. flex-grow: 1;
  164. }
  165. /* 排行榜相关代码 结束*/
  166. /*答题卡样式 开始 */
  167. .card-num {
  168. width: 30px;
  169. height: 30px;
  170. background: #eee;
  171. margin: 5px;
  172. line-height: 30px;
  173. text-align: center;
  174. border-radius: 3px;
  175. font-size: 10px;
  176. font-weight: 700;
  177. }
  178. .current {
  179. background: #edb73f !important;
  180. color: #fff;
  181. }
  182. .right,
  183. .answered {
  184. background: #5794f7 !important;
  185. color: #fff;
  186. }
  187. .error {
  188. background: #ff0000 !important;
  189. color: #fff;
  190. }
  191. .card-com {
  192. width: auto;
  193. padding: 0px 10px;
  194. }
  195. .card-context {
  196. display: flex;
  197. align-items: center;
  198. flex-wrap: wrap;
  199. align-content: space-around;
  200. justify-content: center;
  201. padding-top: 10px;
  202. padding-bottom: 10px;
  203. }
  204. .card-title {
  205. padding: 10px;
  206. text-align: center;
  207. background: #eee;
  208. }
  209. .scroll-y {
  210. width: 100%;
  211. height: 90%;
  212. white-space: nowrap;
  213. }
  214. /*答题卡样式 结束 */
  215. /* 答题或训练底部按钮 开始*/
  216. .bottom-bar {
  217. position: fixed;
  218. left: 0;
  219. bottom: 0;
  220. box-sizing: border-box;
  221. background: #eee;
  222. width: 100%;
  223. padding: 15px;
  224. }
  225. .bottom-bar button {
  226. width: 100%;
  227. padding: 0px;
  228. }
  229. /* 答题或训练底部按钮 结束*/
  230. /* 登录注册页面样式 开始*/
  231. .ca-box {
  232. display: flex;
  233. align-items: center;
  234. flex-direction: row;
  235. }
  236. .ca-box .input {
  237. flex-grow: 1;
  238. }
  239. .ca-box .img {
  240. height: 36px;
  241. width: 100px;
  242. margin-left: 20px;
  243. }
  244. .ca-box .btn {
  245. width: 100px;
  246. margin-left: 20px;
  247. }
  248. .login-tab {
  249. border-bottom: #eee 1px solid;
  250. margin: -25px -25px 30px -25px;
  251. display: flex;
  252. justify-content: center;
  253. background: #f9f9f9;
  254. }
  255. .login-opt {
  256. display: flex;
  257. flex-direction: row;
  258. margin-top: 20px;
  259. color: #555;
  260. }
  261. .login-opt :first-child {
  262. flex-grow: 1;
  263. text-align: left;
  264. }
  265. .login-opt :last-child {
  266. flex-grow: 1;
  267. text-align: right;
  268. }
  269. /* 登录注册页面样式 结束*/
  270. .pay-box {
  271. margin-top: 20px;
  272. padding: 20px;
  273. }
  274. .pay-box .price {
  275. color: #ff0000;
  276. font-size: 28px;
  277. font-weight: 700
  278. }
  279. .empty {
  280. display: flex;
  281. height: 30vh;
  282. align-items: center;
  283. color: #666;
  284. flex-direction: column;
  285. justify-content: center;
  286. }
  287. .empty :first-child {
  288. margin-bottom: 20px;
  289. }
  290. .empty :last-child {
  291. width: 90%;
  292. }
  293. /**富文本图片宽度*/
  294. uni-rich-text img{
  295. max-width: 100% !important;
  296. }
  297. /* 一个图标加文字的描述框*/
  298. .desc-box{
  299. display: flex;
  300. align-items: center;
  301. }
  302. .desc-box .text{
  303. padding-left: 5px;
  304. }