1
0

main.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. body {
  2. position: relative;
  3. font-family: Verdana, "Lantinghei SC", "Hiragino Sans GB", "Microsoft Yahei", Helvetica, arial, \5b8b\4f53, sans-serif;
  4. }
  5. a{
  6. text-decoration: none;
  7. }
  8. a:hover{
  9. text-decoration: none;
  10. outline: 0;
  11. }
  12. textarea{
  13. resize: none;
  14. }
  15. .text{
  16. font-size: 12px;
  17. color: #999999;
  18. font-weight: 200;
  19. }
  20. .error-message{
  21. color: red;
  22. font-size: 12px;
  23. }
  24. .success-message{
  25. color: green;
  26. font-size: 12px;
  27. }
  28. .input-readonly{
  29. border: 1px solid rgba(34,36,38,.15);
  30. background-color: #fff !important;
  31. -webkit-box-shadow : none;
  32. box-shadow: none;
  33. }
  34. ::-webkit-scrollbar , body .scrollbar-track-color{
  35. height: 9px;
  36. width: 7px;
  37. background: #E6E6E6;
  38. }
  39. ::-webkit-scrollbar:hover {
  40. background: #CCCCCC;
  41. }
  42. ::-webkit-scrollbar-thumb {
  43. background: #A2A2A2;
  44. -webkit-border-radius: 6px;
  45. -moz-border-radius: 6px;
  46. -ms-border-radius: 6px;
  47. -o-border-radius: 6px;
  48. border-radius: 6px;
  49. }
  50. .bootstrap-tagsinput{
  51. display: block !important;
  52. }
  53. .manual-header{
  54. margin-bottom: 0;
  55. background-color: #fff;
  56. border-bottom: 0;
  57. box-shadow: rgba(0,0,0,.1)0 1px 5px;
  58. border-top: 1px solid #009a61;
  59. }
  60. .manual-header .navbar-brand,.manual-header a {
  61. font-weight: 500;
  62. color: #563d7c;
  63. max-width: 300px;
  64. white-space:nowrap;
  65. overflow: hidden;
  66. }
  67. .manual-reader .slidebar {
  68. margin: 5px 10px 0 0;
  69. }
  70. .user-info{
  71. border: 0;
  72. background-color: #ffffff;
  73. padding: 5px 10px !important;
  74. cursor: pointer;
  75. }
  76. .user-info:hover{
  77. background-color: #F5F5F5;
  78. }
  79. .user-info-dropdown a{
  80. font-size: 14px;
  81. color: #333333;
  82. height: 30px !important;
  83. line-height: 25px !important;
  84. }
  85. .user-info-dropdown a>i{
  86. display: inline-block;
  87. margin-right: 5px;
  88. }
  89. .userbar-avatar{
  90. display: inline-block;
  91. width: 43px;
  92. height: 43px;
  93. margin-right: 15px;
  94. }
  95. .userbar-content{
  96. display: inline-block;
  97. vertical-align: middle;
  98. }
  99. .userbar-content span{
  100. display: inline-block;
  101. font-size: 14px;
  102. font-weight: 400;
  103. margin-right: 40px;
  104. color: #3d444f;
  105. }
  106. .userbar-content div{
  107. font-size: 12px;
  108. line-height: 1;
  109. color: #9ba3af;
  110. }
  111. /**************首页标签*******************/
  112. .tag-container-outer{
  113. border-bottom: 1px solid #eee;
  114. padding-top: 5px;
  115. padding-bottom: 5px;
  116. line-height: 30px;
  117. position: relative;
  118. display: block !important;
  119. margin-top: 15px;
  120. }
  121. .tag-container-outer .title{
  122. font-weight: 400;
  123. font-size: 14px;
  124. }
  125. .tag-container-outer .tags a{
  126. display: inline-block;
  127. vertical-align: baseline;
  128. line-height: 1;
  129. border-radius: 0.3rem;
  130. transition: background .1s ease;
  131. cursor: pointer;
  132. background-color: #e0e0e0;
  133. margin: 0 .5em .5em 0!important;
  134. padding: 0.5rem 0.8rem;
  135. color: #999999;
  136. opacity: 0.8;
  137. }
  138. .tag-container-outer .tags a:hover{
  139. color: #666666;
  140. opacity: 1;
  141. }
  142. .tag-container-outer .tags a>.detail{
  143. display: inline-block;
  144. vertical-align: top;
  145. font-weight: 400;
  146. margin-left: 1em;
  147. opacity: .8
  148. }
  149. /*********************************/
  150. .manual-body{
  151. margin-top: 53px;
  152. }
  153. .manual-body .page-left{
  154. position: fixed;
  155. overflow: auto;
  156. top: 50px;
  157. bottom: 0;
  158. z-index: 100;
  159. width: 199px;
  160. background-color: #f5f5f5;
  161. border-right: 1px solid #eaeaea
  162. }
  163. .manual-body .page-left .menu {
  164. padding: 18px 0
  165. }
  166. .manual-body .page-left .menu li {
  167. height: 36px;
  168. line-height: 0
  169. }
  170. .manual-body .page-left .menu .item {
  171. display: block;
  172. padding: 8px 24px;
  173. color: #666;
  174. white-space: nowrap;
  175. overflow: hidden;
  176. text-overflow: ellipsis;
  177. white-space: nowrap;
  178. line-height: 20px;
  179. text-decoration: none;
  180. }
  181. .manual-body .page-left .menu .item:hover {
  182. background-color: #eee;
  183. text-decoration: none;
  184. }
  185. .manual-body .page-left .menu a:visited{
  186. text-decoration: none;
  187. }
  188. .manual-body .page-left .menu li.active .item{
  189. background-color: #DDB;
  190. }
  191. .manual-body .page-right {
  192. padding: 15px 0 15px 24px;
  193. margin-left: 200px;
  194. min-width: 400px;
  195. }
  196. .manual-body .page-right .box-head{
  197. border-bottom: 1px solid #DDDDD9;
  198. }
  199. .m-box .box-head .box-title {
  200. display: inline-block;
  201. height: 36px;
  202. line-height: 36px;
  203. padding-bottom: 3px;
  204. border-bottom: 2px solid #44B035;
  205. margin-bottom: -1px;
  206. min-width: 80px;
  207. font-weight: 200;
  208. font-size: 18px;
  209. }
  210. .manual-body .page-right .box-body {
  211. padding: 12px 0;
  212. position: relative;
  213. }
  214. .manual-body .page-right .box-body label{
  215. font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif;
  216. color: #222222;
  217. font-weight: 300;
  218. }
  219. .manual-body .page-right .box-body .form-right{
  220. position: absolute;
  221. right: 0;
  222. top: 34px
  223. }
  224. /*************网站首页******************/
  225. .manual-list{
  226. margin: 15px auto;
  227. }
  228. .manual-list .list-item{
  229. float: left;
  230. padding-left: 15px;
  231. padding-right: 15px;
  232. margin: 18px 0;
  233. height: 280px
  234. }
  235. .manual-list .list-item .manual-item-standard{
  236. float: left;
  237. width: 163px;
  238. line-height: 1.5em;
  239. position: relative;
  240. }
  241. .manual-list .list-item .manual-item-standard>dt{
  242. margin-bottom: 6px;
  243. height: 231px;
  244. position: relative;
  245. }
  246. .manual-list .list-item .manual-item-standard>dt>a {
  247. display: block;
  248. position: relative;
  249. width: 100%;
  250. }
  251. .manual-list .list-item .manual-item-standard>dt>a .image{
  252. position: relative;
  253. /*display: none;*/
  254. }
  255. .manual-list .list-item .manual-item-standard .cover {
  256. border: none;
  257. width: 171px;
  258. position: relative;
  259. display: inline-block;
  260. height: 229px;
  261. background-color: #eee;
  262. border-radius: 2px;
  263. box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
  264. }
  265. .manual-list .list-item .manual-item-standard .b-cover:hover {
  266. border-color: #4db559;
  267. box-shadow: 0 0 4px rgba(77,181,89,.7)
  268. }
  269. .manual-list .list-item .manual-item-standard a.name {
  270. vertical-align: top;
  271. word-wrap: normal;
  272. font-size: 16px;
  273. color: #666;
  274. display: inline-block;
  275. max-width: 100%;
  276. white-space: nowrap;
  277. text-overflow: ellipsis;
  278. overflow: hidden
  279. }
  280. .manual-list .list-item .manual-item-standard a.name:hover{
  281. color: #333333;
  282. }
  283. .manual-list .list-item .manual-item-standard .author{
  284. zoom:1;vertical-align: top;
  285. display: inline-block;
  286. height: 20px;
  287. line-height: 20px;
  288. color: #484848;
  289. font-size: 13px;
  290. }
  291. .manual-list .list-item .manual-item-standard .author>.text{
  292. font-weight: 200;
  293. color: #484848;
  294. }
  295. /*************文档列表******************/
  296. .book-list .list-item{
  297. display: block;
  298. width: 100%;
  299. margin: 0;
  300. border-bottom: 1px solid #dddddd;
  301. padding: 15px 10px;
  302. }
  303. .book-list .list-item:hover{
  304. background: #eaeaea;
  305. }
  306. .book-list .list-item a{
  307. color: #666666;
  308. font-size: 16px;
  309. text-decoration: none;
  310. }
  311. .book-list .list-item .pull-right a{
  312. font-size: 12px;
  313. }
  314. .book-list .list-item a:hover{
  315. text-decoration: none;
  316. color: #428bca;
  317. }
  318. .book-list .list-item .desc-text{
  319. font-size: 12px;
  320. margin: 5px;
  321. }
  322. .book-list .list-item .info{
  323. font-size: 12px;
  324. color: #666666;
  325. }
  326. .book-list .list-item .info span{
  327. display: inline-block;
  328. padding-right: 10px;
  329. }
  330. /************文档概述*****************/
  331. .dashboard{
  332. }
  333. .dashboard .list{
  334. zoom: 1;
  335. line-height: 35px;
  336. }
  337. .dashboard .summary{
  338. margin-top: 15px;
  339. }
  340. /************文档成员*************************/
  341. .users-list .list-item{
  342. padding: 12px;
  343. border-bottom: 1px dotted #EEE;
  344. }
  345. .users-list .list-item:hover {
  346. background-color: #F9F9F9
  347. }
  348. .users-list .list-item .operate{
  349. float: right;
  350. }
  351. /**************用户搜索界面样式********************/
  352. .searchbar{
  353. padding: 8px;
  354. }
  355. .searchbar .search-btn {
  356. display: inline-block;
  357. line-height: 100%;
  358. cursor: pointer;
  359. margin-top: -10px;
  360. margin-left: -45px;
  361. border: 0;
  362. background-color: transparent
  363. }
  364. .searchbar .search-btn>i.fa{
  365. padding: 10px;
  366. }
  367. .manual-search-reader .manual-body{
  368. margin-top: 60px;
  369. }
  370. .manual-search-reader .search-head{
  371. margin: 10px auto;
  372. padding-bottom: 15px;
  373. line-height: 1.5em;
  374. border-bottom: 3px solid #EEEEEE;
  375. }
  376. .manual-search-reader .search-head .search-title{
  377. font-size: 22px;
  378. font-weight: 300;
  379. }
  380. .manual-search-reader .search-body {
  381. margin-top: 80px;
  382. }
  383. .manual-search-reader .search-empty{
  384. margin:150px auto;
  385. text-align:center;
  386. }
  387. .manual-search-reader .search-empty .empty-text {
  388. font-size: 18px;
  389. display: block;
  390. margin: 24px;
  391. text-align: center;
  392. opacity: .5;
  393. filter: alpha(opacity=50)
  394. }
  395. .manual-search-reader .search-empty .empty-image{
  396. margin: 5px auto;
  397. display: block;
  398. text-align: center;
  399. opacity: 0.3;
  400. filter: alpha(opacity=30);
  401. }
  402. .manual-search-reader .search-item{
  403. margin: 0 15px;
  404. padding: 10px 20px;
  405. line-height: 25px;
  406. }
  407. .manual-search-reader .search-item:hover{
  408. background-color: #F5F5F5;
  409. }
  410. .manual-search-reader .search-item a{
  411. color: #0886E9;
  412. }
  413. .manual-search-reader .search-item em{
  414. color: #FF802C;
  415. font-style:normal;
  416. }
  417. .manual-search-reader .search-item .title{
  418. font-size: 16px;
  419. font-weight: 400;
  420. }
  421. .manual-search-reader .search-item .description{
  422. color: #666;
  423. line-height: 25px;
  424. min-height: 20px;
  425. font-size: 12px;
  426. }
  427. .manual-search-reader .search-item .site {
  428. overflow: hidden;
  429. text-overflow: ellipsis;
  430. -o-text-overflow: ellipsis;
  431. white-space: nowrap;
  432. max-width: 600px;
  433. color: #008000;
  434. font-size: 12px;
  435. }
  436. .manual-search-reader .search-item .source .item {
  437. display: inline-block;
  438. margin-right: 15px;
  439. }
  440. .manual-search-reader .search-item .source,.manual-search-reader .search-item .source a{
  441. font-size: 12px;
  442. color: #999999;
  443. }
  444. /**************用户登录界面样式*******************/
  445. .login .login-body{
  446. width: 400px;
  447. padding: 5px 30px 25px 30px;
  448. margin: 0 auto;
  449. margin-top: 30px;
  450. background-color: #FFF;
  451. border: 1px solid #ddd;
  452. border-radius: 5px;
  453. }
  454. .login .login-body .tooltip.bottom .tooltip-arrow,.has-error .tooltip.bottom .tooltip-arrow{
  455. border-bottom-color: #a94442;
  456. }
  457. .login .login-body .tooltip.top .tooltip-arrow,.has-error .tooltip.top .tooltip-arrow{
  458. border-top-color: #a94442;
  459. }
  460. .login .login-body .tooltip.right .tooltip-arrow,.has-error .tooltip.right .tooltip-arrow{
  461. border-top-color: #a94442;
  462. }
  463. .login .login-body .tooltip.left .tooltip-arrow,.has-error .tooltip.left .tooltip-arrow{
  464. border-top-color: #a94442;
  465. }
  466. .login .login-body .tooltip-inner,.has-error .tooltip-inner{
  467. background-color: #a94442;
  468. }
  469. /************图片上传样式*******************/
  470. #upload-logo-panel .wraper{
  471. float: left;
  472. background: #f6f6f6;
  473. position: relative;
  474. width: 360px;
  475. height: 360px;
  476. overflow: hidden;
  477. }
  478. #upload-logo-panel .watch-crop-list{
  479. width: 170px;
  480. padding:10px 20px;
  481. margin-left: 10px;
  482. background-color: #f6f6f6;
  483. text-align: center;
  484. float: right;
  485. height: 360px;
  486. }
  487. #image-wraper{
  488. text-align: center;
  489. }
  490. .webuploader-pick{
  491. }
  492. .webuploader-pick-hover{
  493. }
  494. .webuploader-container{
  495. padding: 0;
  496. border: 0;
  497. height: 40px;
  498. }
  499. .watch-crop-list>ul{
  500. list-style: none;
  501. padding: 0;
  502. margin: 0;
  503. }
  504. .webuploader-container div{
  505. width: 77px !important;
  506. height: 40px !important;
  507. left: 0 !important;
  508. }
  509. .img-preview {
  510. margin: 5px auto 10px auto;
  511. text-align: center;
  512. overflow: hidden;
  513. }
  514. .img-preview > img {
  515. max-width: 100%;
  516. }
  517. .preview-lg{
  518. width: 120px;
  519. height: 120px;
  520. }
  521. .preview-sm{
  522. width: 60px;
  523. height: 60px;
  524. }
  525. #error-message{
  526. font-size: 13px;
  527. color: red;
  528. vertical-align: middle;
  529. margin-top: -10px;
  530. display: inline-block;
  531. height: 40px;
  532. }
  533. .manager .dashboard-item{
  534. float: left;
  535. width: 100px;
  536. height: 115px;
  537. padding: 10px;
  538. font-size: 10px;
  539. line-height: 1.4;
  540. text-align: center;
  541. background-color: #f9f9f9;
  542. border: 1px solid #fff;
  543. cursor: pointer;
  544. color: #333;
  545. }
  546. .manager .dashboard-item:hover{
  547. background-color: #563D7C;
  548. color: #ffffff;
  549. }
  550. .manager .dashboard-item .fa{
  551. margin-top: 5px;
  552. margin-bottom: 10px;
  553. font-size: 24px;
  554. }
  555. .manager .dashboard-item .fa-class {
  556. display: block;
  557. text-align: center;
  558. word-wrap: break-word; /* Help out IE10+ with class names */
  559. }
  560. .pagination-container {
  561. margin: 5px auto;
  562. display: block !important;
  563. }
  564. .pagination-container .pagination{
  565. box-shadow: 0 1px 2px 0 #e3e3e0;
  566. }
  567. .pagination-container .pagination>li>a,.pagination-container .pagination>li>span{
  568. padding: 8px 16px !important;
  569. }
  570. .pagination-container .pagination>li>a,.pagination-container .pagination>li>span{
  571. color: #272727;
  572. }
  573. .pagination-container .pagination>.active>a{
  574. /*color: #fff;*/
  575. background-color: #f3f3f3;
  576. border: 1px solid #e3e3e0;
  577. }
  578. .pagination-container .pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover{
  579. color: #272727;
  580. }
  581. /**************网站底部样式*************************/
  582. .footer{
  583. color: #777;
  584. padding: 30px 0;
  585. margin-top: 70px;
  586. font-size: 12px;
  587. background-color: #ffffff;
  588. bottom: 0;
  589. }
  590. .footer .container{
  591. padding: 0;
  592. }
  593. .footer .container .row{
  594. margin-left: 220px;
  595. border-top: 2px solid #DDDDD9;
  596. padding-top: 20px;
  597. opacity : 0.8;
  598. font-size: 13px;
  599. }
  600. .manual-container .footer .container .row{
  601. margin-left: 0;
  602. }
  603. .footer li {
  604. display: inline-block;
  605. }
  606. .footer li a{
  607. color: #222;
  608. text-decoration: none;
  609. }
  610. .footer li a:hover {
  611. color: #2b85ae
  612. }
  613. @media screen and (max-width: 840px) {
  614. .manual-body .page-left{
  615. display: none;
  616. }
  617. .manual-body .page-right {
  618. margin-left: 0;
  619. }
  620. .manual-body .page-right .box-body .form-right{
  621. display: none;
  622. }
  623. .manual-body .page-right .box-body{
  624. padding-right: 0 !important;
  625. }
  626. .footer .container .row{
  627. margin-left: 0;
  628. }
  629. }