login.css 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679
  1. html,
  2. body,
  3. .e-overstory,
  4. #e-contentBG {
  5. width: 100%;
  6. height: 100%;
  7. color: #333;
  8. font-size: 14px;
  9. }
  10. a {
  11. color: #333;
  12. text-decoration: none;
  13. }
  14. a:hover,
  15. a:active,
  16. a:link {
  17. color: #333;
  18. text-decoration: none;
  19. cursor: default;
  20. }
  21. img {
  22. display: block;
  23. width: 100%;
  24. height: 100%;
  25. }
  26. /*顶层*/
  27. .e-overstory {}
  28. /*顶层左边*/
  29. .e-overstory-left {
  30. width: 42px;
  31. height: 100%;
  32. background-color: #057ab8;
  33. float: left;
  34. text-align: center;
  35. position: relative;
  36. }
  37. /*阿里图标*/
  38. .e-overstory-left .iconfont {
  39. font-size: 32px;
  40. color: #6bc5f4;
  41. }
  42. .e-overstory-left .left-options-list .active .iconfont {
  43. color: #fff;
  44. }
  45. .e-overstory-left .left-options-list .active {
  46. background-color: #056599;
  47. }
  48. .replace {
  49. line-height: 42px;
  50. }
  51. .user {
  52. width: 30px;
  53. height: 30px;
  54. border-radius: 50%;
  55. overflow: hidden;
  56. margin: 10px auto 22px;
  57. border: 3px solid transparent;
  58. }
  59. .user:hover {
  60. cursor: pointer;
  61. border-color: #6bc5f4;
  62. }
  63. .left-options-list li {
  64. height: 42px;
  65. line-height: 42px;
  66. margin-bottom: 6px;
  67. }
  68. .left-options-list li:hover,
  69. .replace:hover {
  70. cursor: pointer;
  71. background-color: #056599;
  72. }
  73. .line {
  74. width: 30px;
  75. height: 1px;
  76. background-color: #fff;
  77. opacity: .2;
  78. margin: 0 auto 16px;
  79. }
  80. .list-bottom {
  81. width: 100%;
  82. position: absolute;
  83. bottom: 0;
  84. left: 0;
  85. }
  86. .small-icon .iconfont {
  87. font-size: 24px;
  88. }
  89. /*顶层右边*/
  90. .e-overstory-right {
  91. margin-left: 42px;
  92. height: 100%;
  93. }
  94. /*顶部*/
  95. header {
  96. width: 100%;
  97. height: 42px;
  98. line-height: 42px;
  99. border-bottom: 1px solid #cacbcc;
  100. }
  101. .logo {
  102. float: left;
  103. /*width: 152px;*/
  104. height: 100%;
  105. /*margin-left: 20px;*/
  106. }
  107. .logo img {
  108. height: 100%;
  109. width: auto;
  110. }
  111. .top-options-list {
  112. float: right;
  113. font-size: 12px;
  114. margin-right: 50px;
  115. height: 100%;
  116. }
  117. .top-options-list ul {
  118. height: 100%;
  119. overflow: hidden;
  120. }
  121. .top-options-list li {
  122. float: left;
  123. margin: 0 8px;
  124. height: 100%;
  125. line-height: 42px;
  126. }
  127. .top-options-list li a {
  128. padding: 4px;
  129. }
  130. .top-options-list .iconfont {
  131. font-size: 22px;
  132. color: #777;
  133. float: left;
  134. margin: 0 8px 0 5px;
  135. }
  136. .top-options-list .top-options-line {
  137. border-left: 1px solid #d4d7d9;
  138. height: 30px;
  139. margin: 7px 0 0 13px;
  140. }
  141. .top-options-search input {
  142. outline: none;
  143. border: none;
  144. font-size: 12px;
  145. width: 158px;
  146. vertical-align: top;
  147. margin-top: 14px;
  148. color: #999;
  149. }
  150. .top-options-search input::-webkit-input-placeholder {
  151. color: #999;
  152. }
  153. .top-options-search input:-moz-placeholder {
  154. color: #999;
  155. }
  156. .top-options-search input::-moz-placeholder {
  157. color: #999;
  158. }
  159. .top-options-search input:-ms-input-placeholder {
  160. color: #999;
  161. }
  162. .top-options-search input:hover {
  163. color: #333;
  164. }
  165. .top-options-search input:hover::-webkit-input-placeholder {
  166. color: #333;
  167. }
  168. .top-options-search input:hover:-moz-placeholder {
  169. color: #333;
  170. }
  171. .top-options-search input:hover::-moz-placeholder {
  172. color: #333;
  173. }
  174. .top-options-search input:hover:-ms-input-placeholder {
  175. color: #333;
  176. }
  177. /*iframe*/
  178. .content-iframe {
  179. height: calc(100% - 43px);
  180. width: 100%;
  181. overflow: hidden;
  182. }
  183. .content-iframe iframe {
  184. width: 100%;
  185. height: 100%;
  186. background-color: rgba(255, 255, 255, .6);
  187. }
  188. /*皮肤
  189. * 默认是蓝色
  190. */
  191. #e-contentBG {
  192. background: url(/apps/space/images/contentBG/bg-blue-bottom.jpg) repeat-x bottom;
  193. background-size: contain;
  194. }
  195. .e-overstory {
  196. background: url(/apps/space/images/contentBG/bg-blue-left.jpg) no-repeat left bottom;
  197. background-size: contain;
  198. }
  199. .e-overstory-right {
  200. background: url(/apps/space/images/contentBG/bg-blue-right.jpg) no-repeat right bottom;
  201. background-size: contain;
  202. }
  203. /*红色皮肤*/
  204. .redBG#e-contentBG {
  205. background: url(/apps/space/images/contentBG/bg-red-bottom.jpg) repeat-x bottom;
  206. background-size: contain;
  207. }
  208. .redBG .e-overstory {
  209. background: url(/apps/space/images/contentBG/bg-red-left.jpg) no-repeat left bottom;
  210. background-size: contain;
  211. }
  212. .redBG .e-overstory-right {
  213. background: url(/apps/space/images/contentBG/bg-red-right.jpg) no-repeat right bottom;
  214. background-size: contain;
  215. }
  216. .redBG .e-overstory-left {
  217. background-color: #b31d12;
  218. }
  219. .redBG .e-overstory-left .iconfont {
  220. color: #d17771;
  221. }
  222. .redBG .left-options-list li:hover,
  223. .redBG .replace:hover {
  224. background-color: #80140d;
  225. }
  226. .redBG .user:hover {
  227. border-color: #d17771;
  228. }
  229. .redBG .e-overstory-left .left-options-list .active {
  230. background-color: #80140d;
  231. }
  232. /*登录页样式*/
  233. .login-content {
  234. height: 100%;
  235. width: 100%;
  236. background: url(/apps/space/images/login/login-bg.jpg) right bottom;
  237. background-size: cover;
  238. }
  239. .login-logo {
  240. max-width: 520px;
  241. margin: 6% 0 0 10%;
  242. float: left;
  243. }
  244. .login-right {
  245. width: 36%;
  246. min-width: 400px;
  247. height: 100%;
  248. background-color: rgba(0, 0, 0, .25);
  249. float: right;
  250. position: relative;
  251. }
  252. .login-mes {
  253. width: 100%;
  254. color: #fff;
  255. position: absolute;
  256. top: calc((100% - 320px)/2);
  257. left: 0;
  258. }
  259. .login-user-img {
  260. width: 120px;
  261. height: 120px;
  262. margin: 0 auto;
  263. display: none;
  264. }
  265. .login-user-name {
  266. text-align: center;
  267. margin-bottom: 30px;
  268. font-size: 16px;
  269. display: none;
  270. }
  271. .login-mes h2 {
  272. height: 48px;
  273. line-height: 48px;
  274. width: 66%;
  275. margin: 0 auto;
  276. font-weight: bold;
  277. }
  278. .login-form {
  279. width: 66%;
  280. margin: 0 auto;
  281. position: relative;
  282. }
  283. .login-write {
  284. /* background-color: rgba(255, 255, 255, .9); */
  285. border-radius: 4px;
  286. overflow: hidden;
  287. margin-bottom: 40px;
  288. }
  289. .login-form p {
  290. box-sizing: border-box;
  291. padding-left: 45px;
  292. position: relative;
  293. height: 48px;
  294. line-height: 48px;
  295. border-bottom: 1px solid #e3e4e5;
  296. }
  297. .login-form p i {
  298. color: #bbb;
  299. font-size: 18px;
  300. transition: color ease-in 0.3s;
  301. position: absolute;
  302. top: 0;
  303. left: 15px;
  304. }
  305. .login-form p input {
  306. height: 100%;
  307. width: 98%;
  308. border: none;
  309. background: none;
  310. outline: none;
  311. letter-spacing: 3px;
  312. }
  313. .saveUsername {
  314. height: 48px;
  315. line-height: 48px;
  316. }
  317. .login-checkbox {
  318. display: inline-block;
  319. width: 16px;
  320. height: 16px;
  321. background: url(/apps/space/images/login/check_hover.png) no-repeat;
  322. vertical-align: middle;
  323. margin-top: -3px;
  324. }
  325. .login-checked {
  326. background-image: url(/apps/space/images/login/check_on_hover.png);
  327. }
  328. #saveUsername {
  329. position: absolute;
  330. z-index: -999999;
  331. opacity: 0;
  332. }
  333. .submit {
  334. color: #fff;
  335. display: block;
  336. width: 100%;
  337. height: 48px;
  338. background-color: #409eff;
  339. border: none;
  340. border-radius: 2px;
  341. outline: none;
  342. cursor: pointer;
  343. margin-bottom: 20px;
  344. font-size: 15px;
  345. transition: opacity .15s, visibility 0s .15s;
  346. }
  347. .submit:hover {
  348. opacity: 0.8;
  349. }
  350. .submit:active {
  351. opacity: 0.5;
  352. }
  353. .login-forget {
  354. display: block;
  355. color: #d2d8e7;
  356. font-size: 12px;
  357. margin-top: 35px;
  358. }
  359. .login-form .iconfont-focus {
  360. color: #555;
  361. }
  362. .login-form .iconfont-error,
  363. .login-warn {
  364. color: #f00;
  365. }
  366. /*气泡,三角形*/
  367. .login-triangle {
  368. width: 0;
  369. height: 0;
  370. border: 8px solid transparent;
  371. border-bottom-color: rgba(255, 255, 255, .9);
  372. position: absolute;
  373. top: -16px;
  374. left: 21px;
  375. }
  376. /*提示框*/
  377. .tip {
  378. font-size: 14px;
  379. min-width: 60px;
  380. height: 36px;
  381. line-height: 36px;
  382. color: #fff;
  383. position: fixed;
  384. top: 0px;
  385. text-align: center;
  386. display: none;
  387. }
  388. /*验证码*/
  389. .verification-code {
  390. position: relative;
  391. }
  392. .verification-code input {}
  393. .verification-code-img {
  394. width: 40%;
  395. height: 80%;
  396. position: absolute;
  397. right: 0;
  398. top: 12%;
  399. }
  400. .verification-code-img img {
  401. width: 100%;
  402. height: 100%;
  403. display: inline-block;
  404. }
  405. /*有用户头像*/
  406. .has-img.login-mes {
  407. top: calc((100% - 520px)/2);
  408. }
  409. .has-img h2 {
  410. display: none;
  411. }
  412. .has-img .login-user-img {
  413. display: block;
  414. margin-bottom: 38px;
  415. position: relative;
  416. border: 4px solid #fff;
  417. border-radius: 100%;
  418. }
  419. .has-img .login-user-img>img {
  420. border-radius: 50%;
  421. overflow: hidden;
  422. }
  423. .user-online {
  424. height: 26px;
  425. width: 26px;
  426. background-color: #09f175;
  427. border-radius: 50%;
  428. overflow: hidden;
  429. position: absolute;
  430. bottom: 0;
  431. right: 4px;
  432. }
  433. .user-img-cover:hover {
  434. opacity: 1;
  435. }
  436. .user-img-cover {
  437. width: 100%;
  438. height: 100%;
  439. position: absolute;
  440. top: 0;
  441. left: 0;
  442. background-color: rgba(0, 0, 0, .5);
  443. border-radius: 50%;
  444. overflow: hidden;
  445. opacity: 0;
  446. transition: all .2s;
  447. cursor: pointer;
  448. }
  449. .user-img-cover img {
  450. width: 60%;
  451. height: 60%;
  452. position: absolute;
  453. top: calc((100% - 60%)/2);
  454. left: calc((100% - 60%)/2);
  455. }
  456. .has-img .login-triangle {
  457. left: 48%;
  458. }
  459. .has-img .login-user {
  460. display: none;
  461. }
  462. .has-img .login-user-name {
  463. display: block;
  464. }
  465. #verify {
  466. display: none;
  467. position: fixed;
  468. }
  469. /* 新登录框 */
  470. .login-box {
  471. background-color: rgba(255,255,255,.96);
  472. width: 300px;
  473. padding: 28px 40px 24px;
  474. position: relative;
  475. box-shadow: 0 1px 4px 0 rgba(0,0,0,.06);
  476. border-radius: 3px;
  477. }
  478. .login-icon {
  479. position: absolute;
  480. right: 4px;
  481. top: 4px;
  482. height: 50px;
  483. width: 50px;
  484. cursor: pointer;
  485. }
  486. .login-icon img {
  487. width: 100%;
  488. height: 100%;
  489. }
  490. .login-box h2 {
  491. color: #2d2f33;
  492. padding-bottom: 12px;
  493. border-bottom: 1px solid #ccc;
  494. text-align: center;
  495. margin: 10px 0 24px;
  496. }
  497. .login-box-form{
  498. width: 100%;
  499. }
  500. .login-box-form .login-write{
  501. margin-bottom: 0;
  502. }
  503. .login-box-form p {
  504. margin-bottom: 12px;
  505. height: 42px;
  506. line-height: 42px;
  507. border-bottom: none;
  508. }
  509. .login-box-form p input{
  510. border: 1px solid #ccc;
  511. border-radius: 3px;
  512. width: 100%;
  513. padding-left: 45px;
  514. position: absolute;
  515. top: 0;
  516. left: 0;
  517. box-sizing: border-box;
  518. }
  519. .login-box-form p input:focus{
  520. border-color: #03a9f4;
  521. /* transition: all .3s linear; */
  522. }
  523. .login-box-form input::-webkit-input-placeholder { /* WebKit browsers */
  524. color: #bbb;
  525. }
  526. .login-box-form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  527. color: #bbb;
  528. }
  529. .login-box-form input::-moz-placeholder { /* Mozilla Firefox 19+ */
  530. color: #bbb;
  531. }
  532. .login-box-form input:-ms-input-placeholder { /* Internet Explorer 10+ */
  533. color: #bbb;
  534. }
  535. .login-box-form .submit{
  536. margin-top: 30px;
  537. }
  538. .has-img.login-box .login-user-img{
  539. margin-bottom: 26px;
  540. margin-top: 10px;
  541. }
  542. .login-QRcode{
  543. display: none;
  544. }
  545. .login-right{
  546. display: flex;
  547. justify-content: center;
  548. align-items: center;
  549. }