style.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  1. /**
  2. * 描 述: 后台主体样式
  3. * 作用范围: 后台独有
  4. */
  5. /* 头部Logo,主导航
  6. --------------------------------------*/
  7. html {
  8. height: 100%;
  9. overflow-y: scroll;
  10. }
  11. body{
  12. padding: 50px 0 0 200px;
  13. }
  14. .header {
  15. position: fixed;
  16. top: 0;
  17. left: 0;
  18. z-index: 1000;
  19. width: 100%;
  20. height: 50px;
  21. line-height: 50px;
  22. background-color: #383838;
  23. }
  24. .header .logo {
  25. text-align: center;
  26. float: left;
  27. padding-left: 8px;
  28. padding-right: 8px;
  29. width: 184px;
  30. height: 49px;
  31. color: #FFF;
  32. font-size: 16px;
  33. /* font-weight: bold; */
  34. }
  35. /* 主导航 */
  36. .main-nav {
  37. float: left;
  38. overflow: hidden;
  39. }
  40. .main-nav li {
  41. float: left;
  42. width: 82px;
  43. }
  44. .main-nav a {
  45. display: block;
  46. height: 50px;
  47. line-height: 50px;
  48. font-size: 16px;
  49. color: #FFF;
  50. text-align: center;
  51. font-weight: bold;
  52. }
  53. .main-nav a:hover {
  54. text-decoration: none;
  55. background-color:#656565;
  56. }
  57. .main-nav .current{
  58. background-color: #656565;
  59. }
  60. .main-nav .current a {
  61. background-color: #86db00;
  62. }
  63. /* 用户 */
  64. .header .user-bar {
  65. position: relative;
  66. float: right;
  67. margin-right: 20px;
  68. }
  69. .header .user-bar .user-entrance {
  70. display: block;
  71. margin-top: 15px;
  72. padding-bottom: 15px;
  73. width: 20px;
  74. height: 20px;
  75. background: url(../images/bg_icon.png) no-repeat -150px 0;
  76. }
  77. .header .user-bar .user-entrance:hover {
  78. border-bottom: 0 none;
  79. text-decoration: none;
  80. }
  81. .header .user-menu {
  82. position: absolute;
  83. top: 50px;
  84. right: -8px;
  85. width: 140px;
  86. border: 1px solid #ddd;
  87. background-color: #fff;
  88. }
  89. .header .user-menu li {
  90. height: 30px;
  91. line-height: 30px;
  92. border-bottom: 1px solid #ddd;
  93. }
  94. .header .user-menu a {
  95. padding: 0 15px;
  96. }
  97. .header .user-menu a:hover {
  98. color: #424242;
  99. background-color: #f5f5f5;
  100. }
  101. .header .user-menu .manager {
  102. padding: 0 15px;
  103. overflow: hidden;
  104. text-overflow: ellipsis;
  105. white-space: nowrap;
  106. }
  107. /* 边栏导航样式
  108. ------------------------------------------ */
  109. .sidebar {
  110. position: fixed;
  111. left: 0;
  112. padding-top: 30px;
  113. width: 200px;
  114. height: 100%;
  115. /*background: url("../images/bg/bg.png") repeat #6b6b6b ;*/
  116. background: #6b6b6b ;
  117. z-index:2;
  118. }
  119. .subnav {
  120. padding-left: 15px;
  121. }
  122. /* 子导航标题栏 */
  123. .subnav h3 {
  124. margin: 0 15px 0 0;
  125. height: 35px;
  126. line-height: 35px;
  127. font-size: 14px;
  128. color: #ffffff;
  129. cursor: pointer;
  130. }
  131. .subnav h3 a {
  132. color:#fff;
  133. text-decoration: none;
  134. }
  135. .subnav h3 a:hover {
  136. text-decoration: none;
  137. }
  138. .subnav h3 .icon,
  139. .subnav h3 .icon-fold,
  140. .subnav h3 .recycle {
  141. float: left;
  142. margin: 10px 6px 0 0;
  143. width: 16px;
  144. height: 16px;
  145. }
  146. .subnav h3 .icon {
  147. background: url(../images/bg_icon.png) no-repeat -100px 0;
  148. }
  149. .subnav h3 .icon-fold {
  150. background-position: -75px 0;
  151. }
  152. .recycle {
  153. background: url(../images/bg_icon.png) no-repeat -125px 0;
  154. }
  155. /* 子导航 */
  156. .side-sub-menu {
  157. margin: 5px 0;
  158. max-height: 600px;
  159. overflow-x: hidden;
  160. overflow-y: auto;
  161. }
  162. .side-sub-menu > li {
  163. position: relative;
  164. margin: 2px -1px 2px 0;
  165. }
  166. .side-sub-menu > li > .item {
  167. padding:6px 0;
  168. line-height:20px;
  169. padding-left: 26px;
  170. display:block;
  171. color: #f1f1f1;
  172. text-decoration: none;
  173. border-bottom: 1px solid transparent;
  174. }
  175. .side-sub-menu > li > .item:hover,
  176. .side-sub-menu > li.hover > .item {
  177. color: #ffffff;
  178. text-decoration: none;
  179. background: #7c7c7c;
  180. margin-right:1px;
  181. }
  182. .side-sub-menu > .current > .item {
  183. color: #414141;
  184. text-decoration: none;
  185. }
  186. .side-sub-menu > .current > .item,
  187. .side-sub-menu > .current > .item:hover,
  188. .side-sub-menu > .current.hover > .item {
  189. color: #414141;
  190. background: url(../images/subnav_current.png) no-repeat 165px 12px #f6f6f6;
  191. }
  192. /* 子菜单 */
  193. .side-sub-menu li .subitem {
  194. display: none;
  195. position: absolute;
  196. top: 0;
  197. left: 185px;
  198. z-index: 9;
  199. width: 150px;
  200. border: 1px solid #ccc;
  201. background-color: #fff;
  202. }
  203. .side-sub-menu .hover > .subitem {
  204. display: block;
  205. }
  206. .side-sub-menu .subitem .subitem {
  207. margin-top: -1px;
  208. left: 150px;
  209. }
  210. .side-sub-menu .subitem .item {
  211. display: block;
  212. padding: 0 15px;
  213. height: 30px;
  214. line-height: 30px;
  215. }
  216. .side-sub-menu .subitem .item:hover {
  217. text-decoration: none;
  218. border-bottom: 0 none;
  219. background: url(../images/subnav_current.png) no-repeat 130px 12px #f5f5f5;
  220. }
  221. .side-sub-menu .subitem > .item {
  222. border-radius: 0;
  223. border: 0 none;
  224. width: auto;
  225. }
  226. /* 内容模块边栏子菜单 */
  227. .subnav-off {
  228. display: none;
  229. }
  230. /* 后台首页
  231. ------------------------------------------------- */
  232. .index-body {
  233. padding-left: 0;
  234. background-color: #f6f6f6;
  235. }
  236. .index-main {
  237. margin: 0 20px;
  238. padding-top: 30px;
  239. }
  240. /* 首页数据 */
  241. .top-columns {
  242. margin: 0 0 5px;
  243. text-align: center;
  244. }
  245. .show-num-mod {
  246. display: inline-block;
  247. *display: inline;
  248. *zoom: 1;
  249. margin: 0 15px 15px;
  250. border: 1px solid #cdcdcd;
  251. background-color: #fff;
  252. }
  253. .show-num-mod dt,
  254. .show-num-mod dd {
  255. float:left;
  256. padding: 10px;
  257. }
  258. .show-num-mod dt {
  259. width: 65px;
  260. height: 56px;
  261. line-height: 56px;
  262. }
  263. .show-num-mod dd {
  264. width: 100px;
  265. border-left: 1px solid #cdcdcd;
  266. }
  267. .show-num-mod dd strong {
  268. margin-bottom: 5px;
  269. height: 30px;
  270. line-height: 30px;
  271. }
  272. .show-num-mod dd span {
  273. font-size: 12px;
  274. letter-spacing: .15em;
  275. }
  276. .show-num-mod dd strong {
  277. display: block;
  278. font-size: 20px;
  279. overflow: hidden
  280. }
  281. .count-icon {
  282. display: inline-block;
  283. width: 48px;
  284. height: 48px;
  285. vertical-align: middle;
  286. background: url(../images/count_icon.png) no-repeat;
  287. }
  288. .user-count-icon {
  289. background-position: 0 0;
  290. }
  291. .user-action-icon {
  292. background-position: 0 -50px;
  293. }
  294. .doc-count-icon {
  295. background-position: 0 -100px;
  296. }
  297. .doc-modal-icon {
  298. background-position: 0 -150px;
  299. }
  300. .category-count-icon {
  301. background-position: 0 -200px;
  302. }
  303. /* 首页插件模块 */
  304. .columns-mod {
  305. border: 1px solid #cdcdcd;
  306. }
  307. .columns-mod .hd {
  308. margin-bottom: 1px;
  309. padding: 0 10px 0 15px;
  310. /*height: 35px;*/
  311. /*line-height: 35px;*/
  312. border-bottom: 1px solid #cdcdcd;
  313. background-color: #eee;
  314. }
  315. .columns-mod .hd h5 {
  316. float: left;
  317. font-size: 14px;
  318. }
  319. .columns-mod .hd a {
  320. display: inline-block;
  321. width: 20px;
  322. height: 20px;
  323. line-height: 20px;
  324. color: #656565;
  325. text-align: center;
  326. border: 1px solid transparent;
  327. *margin-top: 7px;
  328. }
  329. .columns-mod .hd a:hover {
  330. color: #656565;
  331. text-decoration: none;
  332. border-color: #ccc;
  333. }
  334. .mod-down,
  335. .mod-up {
  336. display: inline-block;
  337. margin-top: 8px;
  338. width: 10px;
  339. height: 5px;
  340. vertical-align: top;
  341. background: url(../images/bg_icon.png) no-repeat;
  342. }
  343. .mod-down {
  344. background-position: -50px -25px;
  345. }
  346. .mod-up {
  347. background-position: -75px -25px;
  348. }
  349. .reload {
  350. display: inline-block;
  351. width: 12px;
  352. height: 12px;
  353. background: url(../images/bg_icon.png) no-repeat -175px 0;
  354. *margin-top: 3px;
  355. *cursor: pointer;
  356. }
  357. .columns-mod .hd .title-opt {
  358. float: right;
  359. }
  360. .columns-mod .bd {
  361. /*height: 255px;*/
  362. overflow-y: auto;
  363. background-color: #fafafa;
  364. *overflow-x:hidden;
  365. }
  366. /* 系统信息列表 */
  367. .sys-info {
  368. padding: 15px;
  369. *padding-right: 30px;
  370. }
  371. .sys-info table {
  372. width: 100%;
  373. }
  374. .sys-info th,
  375. .sys-info td {
  376. padding: 8px 0;
  377. height: 20px;
  378. line-height: 20px;
  379. border-bottom: 1px solid #e9e9e9;
  380. }
  381. .sys-info th {
  382. font-weight: normal;
  383. /*width: 30%;*/
  384. text-align: left;
  385. }
  386. /* 后台内页模块样式
  387. ------------------------------------------------- */
  388. .main {
  389. margin: 30px;
  390. margin-top: 45px;
  391. padding: 0 20px;
  392. background-color: #fff;
  393. }
  394. .main-title {
  395. margin-bottom: 20px;
  396. padding-bottom: 0;
  397. line-height: 50px;
  398. height: 50px;
  399. border-bottom: 1px solid #585f7a;
  400. }
  401. .main-title:before,
  402. .main-title:after {
  403. display: table;
  404. content: "";
  405. }
  406. .main-title:after {
  407. clear: both;
  408. }
  409. .main-title h2 {
  410. float: left;
  411. font-size: 24px;
  412. font-weight: 400;
  413. color: #445566;
  414. }
  415. .main-title-h{
  416. margin-bottom: 20px;
  417. padding-bottom: 0;
  418. line-height: 50px;
  419. height: 50px;
  420. border-bottom: 1px solid #e7eaec;
  421. }
  422. .main-title-h span{
  423. line-height: 50px;
  424. height: 50px;
  425. margin: 0;
  426. padding: 0 10px;
  427. color: #34495E;
  428. background-color: transparent;
  429. font-size: 24px;
  430. }
  431. .main-title-h .h1-title{
  432. font-size: 18px;
  433. }
  434. .main-title-h .h2-title{
  435. padding: 0;
  436. font-size: 18px;
  437. }
  438. .main-title-h .h2-title a{
  439. margin-left: 10px;
  440. color: #34495E;
  441. font-size: 18px;
  442. }
  443. .main-title-h .h2-title a:hover{
  444. color: #16a085;
  445. text-decoration: none;
  446. }
  447. .main-title .tools {
  448. float: right;
  449. margin-top: 5px;
  450. }
  451. .main-title .ca {
  452. display: inline-block;
  453. margin: 0 10px;
  454. width: 5px;
  455. height: 10px;
  456. background: url(../images/subnav_current.png) no-repeat center center;
  457. }
  458. /* 消息栏 */
  459. .tips-bar {
  460. margin: 10px 18px;
  461. height: 25px;
  462. line-height: 25px;
  463. border: 1px solid #e1e1e1;
  464. box-shadow: 0 1px 0 rgba(0,0,255,.05);
  465. }
  466. .tips-bar .i-tips {
  467. float: left;
  468. width: 27px;
  469. height: 25px;
  470. background: url(../images/i_tips.png) no-repeat;
  471. }
  472. .tips-bar .tips-cnt {
  473. float: left;
  474. margin-left: 5px;
  475. font-size: 12px;
  476. }
  477. .tips-bar .close {
  478. float: right;
  479. margin-right: 10px;
  480. font-size: 20px;
  481. color: #d5d5d5;
  482. text-shadow: 0 1px 0 #FFF;
  483. }
  484. .tips-bar .close:hover {
  485. color: #000;
  486. opacity: .4;
  487. filter: alpha(opacity=40);
  488. }
  489. .member-form {
  490. display: none;
  491. width: 360px;
  492. padding: 12px 60px;
  493. }
  494. .member-form i{
  495. color: red;
  496. }
  497. .admin-form .item{
  498. margin: 12px 0;
  499. line-height: 30px;
  500. }
  501. .admin-form .item .text{
  502. font-size: 12px;
  503. height: 16px;
  504. line-height: 16px;
  505. vertical-align: middle;
  506. color: #555;
  507. padding: 10px 4px;
  508. border: 1px solid #ccc;
  509. -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  510. -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  511. -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
  512. -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  513. transition: border linear 0.2s, box-shadow linear 0.2s;
  514. }
  515. .admin-form .item .text:focus{
  516. outline: 0;
  517. outline: thin dotted \9;
  518. border-color: rgba(82, 168, 236, 0.8);
  519. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.8);
  520. }
  521. .admin-form label{
  522. color: #666;
  523. padding-right: 6px;
  524. }
  525. /* 插件配置表单 */
  526. .config-form fieldset {
  527. margin-bottom: 20px;
  528. }
  529. /* 授权表单 */
  530. .auth-form {
  531. padding: 15px;
  532. min-width: 100px;
  533. }
  534. /* 插件钩子弹出层 */
  535. .hooktpl {
  536. padding: 10px;
  537. width: 500px;
  538. }
  539. .hooktpl .textarea {
  540. max-width: 500px;
  541. }
  542. .add-pop-form {
  543. width: 500px;
  544. }
  545. /* 插件管理-返回顶部配置表单 */
  546. #style_list a:hover {
  547. border-bottom: 0 none;
  548. text-decoration: none;
  549. }
  550. /* 插件管理表单 */
  551. .has_config,
  552. .has_adminlist {
  553. display: block!important;
  554. margin-left: 0!important;
  555. margin-bottom: 10px;
  556. }
  557. .has_config.hidden,
  558. .has_adminlist.hidden {
  559. display: none!important;
  560. }
  561. /* 授权编辑页 */
  562. .checkmod {
  563. margin-bottom: 20px;
  564. border: 1px solid #ebebeb;
  565. }
  566. .checkmod dt {
  567. padding-left: 10px;
  568. height: 30px;
  569. line-height: 30px;
  570. font-weight: bold;
  571. border-bottom: 1px solid #ebebeb;
  572. background-color: #ECECEC;
  573. }
  574. .checkmod dd {
  575. padding-left: 10px;
  576. line-height: 30px;
  577. }
  578. .checkmod dd .checkbox {
  579. margin: 0 10px 0 0;
  580. }
  581. .checkmod dd .divsion {
  582. margin-right: 20px;
  583. }
  584. /* 拖动排序列表 */
  585. .dragsort {
  586. }
  587. .edit_sort {
  588. display: inline-block;
  589. border:1px solid #cdcdcd;
  590. color: #404040;
  591. line-height: 35px;
  592. width: 20%;
  593. height: 376px;
  594. }
  595. .edit_sort span {
  596. background: #EEEEEE;
  597. width: 100%;
  598. display: inline-block;
  599. font-weight: bold;
  600. text-indent: 10px;
  601. border-bottom: 1px solid #cdcdcd;
  602. margin-bottom:5px;
  603. }
  604. .edit_sort ul {
  605. padding: 0 5px;
  606. overflow-y:scroll;
  607. height: 334px;
  608. }
  609. .edit_sort_l {
  610. float: left;
  611. margin-right: 20px;
  612. }
  613. .tab2 p {
  614. margin-bottom: 10px;
  615. font-weight: bold;
  616. text-indent: 15px;
  617. }
  618. .dragsort li {
  619. margin-bottom: 5px;
  620. padding: 0 6px;
  621. height: 30px;
  622. line-height: 30px;
  623. border: 1px solid #eee;
  624. background-color: #fff;
  625. overflow: hidden;
  626. }
  627. .dragsort li em {
  628. font-style: normal;
  629. }
  630. .dragsort li b {
  631. display: none;
  632. float: right;
  633. padding: 0 6px;
  634. font-weight: bold;
  635. color: #000;
  636. }
  637. .dragsort li:hover b {
  638. display: block;
  639. }
  640. .dragsort .draging-place {
  641. border-style: dashed;
  642. border-color: #ccc;
  643. }
  644. /* 版权信息 */
  645. .cont-ft {
  646. padding: 0 15px;
  647. background-color: #f6f6f6;
  648. }
  649. .copyright {
  650. height: 39px;
  651. line-height: 39px;
  652. text-align: center;
  653. border-top: 1px solid #ccc;
  654. }
  655. .copyright a {
  656. margin: 0 4px;
  657. }
  658. .form-item .cf{
  659. margin-top: 30px;
  660. padding-left: 0;
  661. }
  662. .data-table .fenge{
  663. padding-left: 30px;
  664. margin-left: 24px;
  665. background: url(../images/subTypeBg.gif) no-repeat;
  666. }