learning-diary.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. .main-body {
  2. background: #e9e9e9;
  3. padding-top: 20px;
  4. padding-bottom: 40px;
  5. }
  6. .main-body-container.product-detail-container {
  7. max-width: 950px;
  8. }
  9. .product-detail-banner {
  10. width: 100%;
  11. border-radius: 0px;
  12. border-top-right-radius: inherit;
  13. border-top-left-radius: inherit;
  14. overflow: hidden;
  15. }
  16. .product-detail-banner img {
  17. width: 100%;
  18. }
  19. .product-detail-body {
  20. padding: 0px 10px 10px;
  21. overflow: hidden;
  22. }
  23. .product-detail-infor {
  24. padding: 25px 0px 0px;
  25. border-bottom: 1px solid #D1D3D4;
  26. display: inline-block;
  27. width: 100%;
  28. min-height: 100px;
  29. }
  30. .product-detail-infor .block-infor {
  31. float: left;
  32. width: calc(100% - 130px);
  33. margin-top: 5px;
  34. }
  35. .product-detail-infor .block-button {
  36. float: right;
  37. width: 130px;
  38. text-align: right;
  39. }
  40. .product-detail-infor .infor-name {
  41. font-family: opensansbold !important;
  42. font-size: 18px;
  43. margin: 0px;
  44. }
  45. .product-detail-infor .infor-level {
  46. font-family: opensansregular;
  47. font-size: 13px;
  48. margin-top: 5px;
  49. }
  50. .product-detail-infor .infor-level span {
  51. color: #BBBBBB;
  52. }
  53. .product-detail-infor .infor-level span .infor-finished {
  54. font-family: opensanssemibold;
  55. color: var(--color-main-green);
  56. }
  57. .product-detail-infor .infor-level span .infor-not-finish {
  58. font-family: opensanssemibold;
  59. color: var(--color-main-red);
  60. }
  61. .product-detail-infor .infor-level span .infor-not-learn {
  62. font-family: opensanssemibold;
  63. }
  64. .product-detail-infor .block-button a {
  65. display: inline-block;
  66. width: 115px;
  67. height: 40px;
  68. line-height: 40px;
  69. border-bottom: 1px solid #FF9D00;
  70. border-radius: 30px;
  71. text-align: center;
  72. text-decoration: none;
  73. outline: 0px;
  74. background: #FFB020;
  75. text-shadow: 0px -1px #FF9D00;
  76. color: #fff;
  77. font-family: opensanssemibold;
  78. font-size: 14px;
  79. margin-top: 10px;
  80. }
  81. .product-detail-infor .product-tab-group {
  82. margin-top: 20px;
  83. }
  84. .product-detail-infor .product-tab-group a {
  85. font-size: 14px;
  86. color: var(--color-default-text);
  87. padding-left: 10px;
  88. padding-right: 10px;
  89. text-decoration: none;
  90. padding-bottom: 5px;
  91. display: inline-block;
  92. font-family: opensanssemibold;
  93. }
  94. .product-detail-infor .product-tab-group a:hover, .product-detail-infor .product-tab-group a:focus {
  95. text-decoration: none;
  96. color: var(--color-default-text);
  97. }
  98. .product-detail-infor .product-tab-group a.product-tab-active {
  99. color: var(--color-main-blue-light);
  100. border-bottom: 2px solid var(--color-main-blue-light);
  101. }
  102. .product-detail-infor .product-tab-group a.product-tab-active:hover,
  103. .product-detail-infor .product-tab-group a.product-tab-active:focus {
  104. text-decoration: none;
  105. color: var(--color-main-blue-light);
  106. }
  107. .product-detail-infor .product-tab-group .product-tab-lesson span {
  108. display: inline-block;
  109. font-size: 13px;
  110. font-family: opensanssemibold;
  111. padding: 1px 10px;
  112. background: var(--color-main-blue-light);
  113. color: var(--color-main-white);
  114. margin-left: 10px;
  115. border-radius: 10px;
  116. text-align: center;
  117. }
  118. .product-detail-infor .block-button a.button-renew {
  119. border-color: #FFB020;
  120. background: #FFB020;
  121. text-shadow: 0px -1px #FFB020;
  122. margin-right: 15px;
  123. }
  124. .product-detail-infor .block-button a.button-ranking {
  125. font-family: opensanssemibold;
  126. font-size: 14px;
  127. color: var(--color-main-white);
  128. background: var(--color-main-blue-light);
  129. border: 1px solid var(--color-main-blue-light);
  130. text-shadow: none;
  131. margin-top: 5px;
  132. }
  133. .product-detail-infor .block-button a.button-ranking .icon-ranking {
  134. vertical-align: sub;
  135. margin-right: 3px;
  136. }
  137. .product-detail-description {
  138. padding: 25px 0px;
  139. border-bottom: 1px solid #D1D3D4;
  140. }
  141. .product-detail-description .description-label {
  142. font-family: opensanssemibold;
  143. font-size: 18px;
  144. color: #231F20;
  145. margin-bottom: 10px;
  146. }
  147. .product-detail-description .description-detail {
  148. font-family: opensansregular;
  149. font-size: 16px;
  150. line-height: 24px;
  151. color: #414042;
  152. margin-bottom: 5px;
  153. }
  154. .product-detail-description .description-ckeditor {
  155. display: none;
  156. }
  157. .product-detail-description .description-button-more {
  158. font-family: opensanssemibold;
  159. font-size: 13px;
  160. color: var(--color-header);
  161. margin-bottom: 0px;
  162. outline: 0px;
  163. text-decoration: none;
  164. cursor: pointer;
  165. }
  166. .product-detail-lesson {
  167. padding: 25px 0px 0px;
  168. text-align: center;
  169. }
  170. .product-detail-lesson .lesson-label {
  171. font-family: opensanssemibold;
  172. font-size: 18px;
  173. color: #231F20;
  174. margin-bottom: 20px;
  175. }
  176. .product-detail-lesson .lesson-label span {
  177. display: inline-block;
  178. font-size: 13px;
  179. font-family: opensanssemibold;
  180. padding: 1px 10px;
  181. background: var(--color-main-blue-light);
  182. color: var(--color-main-white);
  183. margin-left: 10px;
  184. border-radius: 10px;
  185. text-align: center;
  186. }
  187. .product-detail-lesson .lesson-list {
  188. margin: 0px -15px;
  189. display: inline-block;
  190. width: 100%;
  191. }
  192. .product-detail-lesson .lesson-item {
  193. display: inline-block;
  194. /*width: 200px;*/
  195. height: 235px;
  196. border-radius: 10px;
  197. border: 1px solid #E3E4E5;
  198. box-shadow: 0 0 10px rgba(0,0,0,.1);
  199. text-align: center;
  200. background: #fff;
  201. margin: 5px 2px;
  202. float: left;
  203. position: relative;
  204. }
  205. .product-detail-lesson .lesson-icon-check {
  206. display: inline-block;
  207. position: absolute;
  208. right: 20px;
  209. top: -8px;
  210. }
  211. .product-detail-lesson .lesson-image {
  212. display: block;
  213. width: 70px;
  214. height: 70px;
  215. border-radius: 50%;
  216. overflow: hidden;
  217. margin: auto;
  218. margin-top: 20px;
  219. }
  220. .product-detail-lesson .lesson-image img {
  221. width: 100%;
  222. height: 100%;
  223. }
  224. .product-detail-lesson .lesson-name {
  225. font-family: opensanssemibold;
  226. font-size: 15px;
  227. color: #231F20;
  228. line-height: 18px;
  229. text-align: center;
  230. padding: 15px;
  231. height: 50px;
  232. transition: all 0.15s linear;
  233. cursor: default;
  234. overflow: hidden;
  235. text-overflow: ellipsis;
  236. -webkit-line-clamp: 2;
  237. display: -webkit-box;
  238. -webkit-box-orient: vertical;
  239. margin-bottom: 40px;
  240. }
  241. .product-detail-lesson .lesson-item:hover .lesson-name {
  242. color: var(--color-default-text);
  243. }
  244. .product-detail-lesson .lesson-item.item-lock:hover .lesson-name {
  245. color: #231F20;
  246. }
  247. .product-detail-lesson .lesson-learning {
  248. position: absolute;
  249. width: 100%;
  250. bottom: 50px;
  251. font-size: 13px;
  252. color: #AFAFAF;
  253. font-family: opensanssemibold;
  254. }
  255. .product-detail-lesson .lesson-item:hover .lesson-name {
  256. color: var(--color-main-blue-light);
  257. }
  258. .product-detail-lesson .lesson-button {
  259. display: block;
  260. width: 115px;
  261. height: 38px;
  262. line-height: 38px;
  263. border-radius: 30px;
  264. border: 0px;
  265. text-align: center;
  266. text-decoration: none;
  267. outline: 0px;
  268. background: #FFB020;
  269. color: #fff;
  270. font-family: opensanssemibold;
  271. font-size: 13px;
  272. margin: auto;
  273. cursor: pointer;
  274. }
  275. .product-detail-lesson .lesson-button.button-lock {
  276. background: #DDDDDD;
  277. color: #AFAFAF;
  278. cursor: default;
  279. }
  280. .product-detail-lesson .lesson-button.button-review {
  281. background: var(--color-main-red);
  282. }
  283. .product-detail-lesson .lesson-pagination {
  284. display: inline-block;
  285. text-align: center;
  286. width: 100%;
  287. }
  288. .product-detail-lesson .lesson-pagination .pagination {
  289. margin: auto;
  290. }
  291. .product-detail-lesson .lesson-pagination .pagination > li:first-child > a {
  292. border-top-left-radius: 50%;
  293. border-bottom-left-radius: 50%;
  294. }
  295. .product-detail-lesson .lesson-pagination .pagination > li:last-child > a {
  296. border-top-right-radius: 50%;
  297. border-bottom-right-radius: 50%;
  298. }
  299. .product-detail-lesson .lesson-page {
  300. display: inline-block;
  301. width: 40px;
  302. height: 40px;
  303. border: 1px solid var(--color-header);
  304. border-radius: 50%;
  305. line-height: 38px;
  306. text-align: center;
  307. font-family: opensanssemibold;
  308. font-size: 22px;
  309. color: var(--color-header);
  310. text-decoration: none;
  311. outline: 0px;
  312. background: #fff;
  313. cursor: pointer;
  314. margin: 0px 7px;
  315. }
  316. .product-detail-lesson .lesson-page.page-current {
  317. background: var(--color-header);
  318. color: #fff;
  319. cursor: default;
  320. }
  321. @media (max-width: 768px) {
  322. .product-detail-infor .block-infor {
  323. width: 100%;
  324. }
  325. .product-detail-infor .block-button {
  326. width: 100%;
  327. text-align: center;
  328. }
  329. .product-detail-infor .block-button a {
  330. margin-left: 15px;
  331. margin-right: 15px;
  332. }
  333. .product-detail-infor .block-button a.button-free {
  334. margin-right: 0px;
  335. }
  336. .product-detail-lesson .lesson-item {
  337. float: none;
  338. }
  339. .product-detail-lesson .lesson-list {
  340. text-align: center;
  341. }
  342. }