国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

admin.css 14KB

10 달 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  1. :root {
  2. --bg:#f8fafb;
  3. --gray-300:#dee2e6;
  4. --gray-500:#adb5bd;
  5. --blue-300:#80bdff;
  6. --success-800:#009688;
  7. --b-radius:0.5rem;
  8. --b-radius-300:0.35rem
  9. }
  10. ::-webkit-scrollbar {
  11. display:none
  12. }
  13. * {
  14. font-size:14px;
  15. scrollbar-width:none
  16. }
  17. body {
  18. line-height:1.6;
  19. letter-spacing:0.5px;
  20. font-size:14px;
  21. font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
  22. color:var(--gray);
  23. background:var(--bg)
  24. }
  25. a {
  26. color:var(--gray);
  27. text-decoration:none
  28. }
  29. a:hover {
  30. color:var(--blue);
  31. text-decoration:none
  32. }
  33. img {
  34. max-width:100%;
  35. border-radius:var(--b-radius)
  36. }
  37. ul,ol,li {
  38. margin:0;
  39. padding:0
  40. }
  41. li {
  42. list-style:none
  43. }
  44. form,label {
  45. margin-bottom:0
  46. }
  47. table {
  48. width:100%;
  49. background:var(--white);
  50. border-spacing:0
  51. }
  52. td {
  53. word-break:break-all;
  54. word-wrap:break-word
  55. }
  56. input {
  57. padding:0.375rem 0.75rem;
  58. height:30px;
  59. color:var(--gray);
  60. background:var(--white);
  61. border:1px solid var(--gray-300);
  62. vertical-align:middle
  63. }
  64. input[type=file] {
  65. padding:0;
  66. height:auto;
  67. border:0;
  68. border-radius:0!important;
  69. vertical-align:middle
  70. }
  71. input[type=button],input[type=submit],input[type=reset] {
  72. padding:0.375rem 0.75rem;
  73. height:30px;
  74. line-height:1.5;
  75. font-size:12px;
  76. color:var(--white);
  77. background:var(--green);
  78. border:0
  79. }
  80. input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkbox]:focus {
  81. width:14px;
  82. height:14px;
  83. outline:none;
  84. box-shadow:none;
  85. vertical-align:middle
  86. }
  87. select {
  88. padding:0.375rem 0.75rem;
  89. height:30px;
  90. color:var(--gray);
  91. background:var(--white);
  92. border:1px solid var(--gray-300);
  93. vertical-align:middle
  94. }
  95. select[multiple=yes] {
  96. height:180px
  97. }
  98. option {
  99. padding:0.25rem 0
  100. }
  101. option:checked {
  102. color:var(--blue)
  103. }
  104. textarea {
  105. padding:0.375rem 0.75rem;
  106. color:var(--gray);
  107. background:var(--white);
  108. border:1px solid var(--gray-300);
  109. vertical-align:middle
  110. }
  111. input:focus,select:focus,textarea:focus {
  112. color:var(--gray);
  113. background:var(--white);
  114. border-color:var(--blue-300);
  115. box-shadow:0 0 0 0.2rem rgba(0,123,255,0.25);
  116. outline:0
  117. }
  118. .install-head {
  119. padding:1rem 0;
  120. background:var(--white)
  121. }
  122. .install-head .logo {
  123. font-size:18px;
  124. font-weight:700;
  125. color:var(--gray-dark)
  126. }
  127. .install-head .logo img,.login-box .logo img {
  128. margin-right:0.5rem;
  129. height:36px
  130. }
  131. .install-box {
  132. margin:0 auto;
  133. width:750px
  134. }
  135. .install-box .card-header,.install-box .card-body {
  136. padding:1.25rem
  137. }
  138. .install-box h1 {
  139. margin:0;
  140. line-height:1.2;
  141. font-size:18px;
  142. font-weight:700;
  143. color:var(--gray-dark)
  144. }
  145. .install-box label {
  146. margin-bottom:0.25rem
  147. }
  148. .install-box .form-control {
  149. height:36px
  150. }
  151. .login-step {
  152. height:100vh;
  153. overflow-x:hidden
  154. }
  155. .login-step .login-bg {
  156. height:100%;
  157. background:var(--gray-300) url(../img/login_bg.jpg)no-repeat top center;
  158. background-size:cover
  159. }
  160. .login-box {
  161. padding:80px 100px
  162. }
  163. .login-box .logo {
  164. margin-bottom:60px
  165. }
  166. .login-box .logo a {
  167. font-size:18px;
  168. font-weight:700;
  169. color:var(--gray-dark)
  170. }
  171. .login-box .title,.login-box .alert {
  172. margin-bottom:20px
  173. }
  174. .login-box .title h1 {
  175. margin-bottom:30px;
  176. font-size:24px;
  177. font-weight:700;
  178. color:var(--gray-dark)
  179. }
  180. .login-from {
  181. margin-bottom:40px
  182. }
  183. .login-from .form-group {
  184. margin-bottom:20px;
  185. position:relative
  186. }
  187. .login-from .form-icon {
  188. position:absolute;
  189. top:16px;
  190. left:16px;
  191. z-index:998
  192. }
  193. .login-from .form-icon i {
  194. font-size:18px!important;
  195. color:var(--gray-500)
  196. }
  197. .login-from .form-control {
  198. padding-left:45px;
  199. height:50px
  200. }
  201. .login-from .operate {
  202. margin-top:40px
  203. }
  204. .login-from .operate button {
  205. width:100%;
  206. height:50px
  207. }
  208. .admin-head {
  209. width:100%;
  210. height:60px;
  211. line-height:60px;
  212. background:linear-gradient(180deg,var(--green),var(--success-800))
  213. }
  214. .admin-head .logo {
  215. float:left;
  216. padding-left:1.5rem;
  217. width:220px
  218. }
  219. .admin-head .logo .name {
  220. font-size:18px;
  221. font-weight:700;
  222. color:var(--white);
  223. vertical-align:middle
  224. }
  225. .admin-head .logo .version {
  226. font-size:12px;
  227. color:var(--white);
  228. vertical-align:top
  229. }
  230. .admin-head .item li {
  231. float:left;
  232. position:relative;
  233. padding:0 1rem
  234. }
  235. .admin-head .item li a,.admin-head .user li a {
  236. color:var(--white)
  237. }
  238. .admin-head .item li a:hover,.admin-head .user li a:hover {
  239. color:var(--gray-300)
  240. }
  241. .admin-head .item .search {
  242. position:absolute;
  243. top:20px;
  244. right:20px;
  245. height:20px;
  246. line-height:20px;
  247. color:var(--gray);
  248. background:0;
  249. border:0
  250. }
  251. .admin-head .user {
  252. float:right;
  253. padding-right:1.5rem
  254. }
  255. .admin-head .user li {
  256. float:left;
  257. padding:0 1rem
  258. }
  259. .admin-head .user li:last-child {
  260. padding-right:0
  261. }
  262. .admin-head .user li img {
  263. margin-right:0.5rem;
  264. width:30px;
  265. height:30px;
  266. border-radius:50%
  267. }
  268. body.menu-hide .menu-left {
  269. display:none
  270. }
  271. body.menu-hide .body-right {
  272. left:0
  273. }
  274. body.menu-show .menu-left {
  275. display:block
  276. }
  277. body.menu-show .body-right {
  278. left:220px
  279. }
  280. .menu-left {
  281. position:absolute;
  282. top:60px;
  283. left:0;
  284. bottom:0;
  285. width:220px;
  286. overflow-y:auto
  287. }
  288. .sidemenu {
  289. padding:1rem 0;
  290. min-height:100%;
  291. background:var(--white)
  292. }
  293. .sidemenu .link {
  294. display:block;
  295. position:relative;
  296. padding-left:45px;
  297. height:40px;
  298. line-height:40px;
  299. cursor:pointer
  300. }
  301. .sidemenu li:last-child .link {
  302. border-bottom:0
  303. }
  304. .sidemenu li i {
  305. position:absolute;
  306. top:13px;
  307. left:20px;
  308. color:var(--gray)
  309. }
  310. .sidemenu li i.fa-angle-down {
  311. right:20px;
  312. left:auto
  313. }
  314. .sidemenu li.open .link,.sidemenu li.open i {
  315. color:var(--green)
  316. }
  317. .sidemenu li.open i.fa-angle-down {
  318. transform:rotate(180deg)
  319. }
  320. .sidemenu .submenu {
  321. display:none;
  322. padding:5px 0;
  323. background:var(--gray-500)
  324. }
  325. .sidemenu .submenu li {
  326. height:40px;
  327. line-height:40px
  328. }
  329. .sidemenu .submenu li:hover {
  330. background:var(--success-800)
  331. }
  332. .sidemenu .submenu a {
  333. display:block;
  334. float:left;
  335. padding:0 0 0 45px;
  336. color:var(--white)
  337. }
  338. .sidemenu .submenu .active {
  339. background:var(--green)
  340. }
  341. .sidemenu .submenu-right {
  342. float:right!important;
  343. padding:0 20px 0 0!important
  344. }
  345. .body-right {
  346. padding:1rem;
  347. position:absolute;
  348. top:60px;
  349. right:0;
  350. bottom:0
  351. }
  352. .body-right iframe {
  353. width:100%;
  354. height:99%;
  355. border:0
  356. }
  357. .web-info {
  358. padding:10px;
  359. background:var(--light);
  360. white-space:nowrap
  361. }
  362. #_fileList,#_verList {
  363. height:350px;
  364. overflow-y:auto
  365. }
  366. #_msgInfo {
  367. display:none
  368. }
  369. .update-close {
  370. background:var(--white);
  371. border:0
  372. }
  373. .updates-dot {
  374. display:none;
  375. position:absolute;
  376. top:10px;
  377. right:5px;
  378. height:8px;
  379. width:8px;
  380. background:var(--danger);
  381. border-radius:50%
  382. }
  383. .spinner-border {
  384. width:20px;
  385. height:20px;
  386. vertical-align:bottom
  387. }
  388. .sys-search {
  389. position:relative
  390. }
  391. .sys-search .sys-times {
  392. position:absolute;
  393. top:0;
  394. right:0
  395. }
  396. .coolbg {
  397. padding:0.5rem;
  398. background:var(--white);
  399. border-bottom:1px solid var(--gray-300);
  400. text-align:right
  401. }
  402. .coolbg-box {
  403. padding:0.5rem;
  404. background:var(--white);
  405. overflow-y:auto
  406. }
  407. .colordlg {
  408. padding:0.5rem;
  409. background:var(--white);
  410. border:1px solid var(--gray-300);
  411. z-index:10005
  412. }
  413. .pubdlg {
  414. z-index:8888
  415. }
  416. .fullpagediv {
  417. position:absolute;
  418. top:0;
  419. left:0;
  420. width:100%;
  421. height:100%;
  422. background:var(--bg);
  423. opacity:0.6;
  424. z-index:1999
  425. }
  426. .quicksel {
  427. padding:0.5rem;
  428. height:350px;
  429. overflow-y:auto;
  430. z-index:10005
  431. }
  432. .quickselitem .topcat {
  433. margin-bottom:1rem;
  434. padding:0 10px;
  435. background:var(--light)
  436. }
  437. .quickselitem .soncat {
  438. margin-bottom:1rem;
  439. padding:0 10px
  440. }
  441. .quickselitem .list {
  442. display:inline-block;
  443. padding-right:0.25rem
  444. }
  445. .mysource,.mywriter {
  446. width:500px;
  447. z-index:10001
  448. }
  449. .atlas {
  450. float:left;
  451. margin-right:10px;
  452. margin-bottom:10px;
  453. width:220px;
  454. height:auto;
  455. background:var(--bg);
  456. text-align:center;
  457. border-radius:var(--b-radius)
  458. }
  459. .atlas-head {
  460. height:120px
  461. }
  462. .atlas-head img {
  463. margin:0;
  464. max-width:220px;
  465. max-height:120px;
  466. border-radius:var(--b-radius) var(--b-radius) 0 0!important
  467. }
  468. .atlas-input {
  469. width:220px
  470. }
  471. .atlas-body {
  472. margin:0.5rem 0
  473. }
  474. .atlas-foot input[type=text] {
  475. border-radius:0 0 var(--b-radius) var(--b-radius)!important
  476. }
  477. .add-tab ul .active {
  478. color:var(--blue)
  479. }
  480. .add-tab li {
  481. float:left;
  482. width:60px;
  483. line-height:30px;
  484. cursor:pointer
  485. }
  486. .nw {
  487. float:left;
  488. width:160px
  489. }
  490. .cls {
  491. clear:both
  492. }
  493. .helpinfo {
  494. float:left;
  495. display:none;
  496. padding:10px;
  497. width:100%;
  498. background:var(--bg);
  499. border:1px solid var(--gray-300);
  500. border-radius:var(--b-radius)
  501. }
  502. .tips-box {
  503. margin:70px auto 0;
  504. width:500px;
  505. height:auto;
  506. background:var(--white);
  507. border-radius:var(--b-radius)
  508. }
  509. .tips-head {
  510. margin:0 20px;
  511. padding:18px 0;
  512. border-bottom:1px solid var(--light)
  513. }
  514. .tips-head p {
  515. margin:0;
  516. padding-left:10px;
  517. line-height:16px;
  518. color:var(--gray-dark);
  519. text-align:left;
  520. border-left:3px solid var(--yellow)
  521. }
  522. .tips-body {
  523. padding:20px;
  524. min-height:160px;
  525. color:var(--gray);
  526. word-break:break-all;
  527. word-wrap:break-word
  528. }
  529. #toolimg {
  530. position:absolute;
  531. display:none
  532. }
  533. #uploadfield {
  534. float:left
  535. }
  536. #uploadwait {
  537. z-index:19999
  538. }
  539. #validateimg {
  540. border-radius:0 var(--b-radius) var(--b-radius) 0;
  541. cursor:pointer
  542. }
  543. #wrap {
  544. padding:10px
  545. }
  546. #topbar {
  547. padding:10px 0;
  548. border-bottom:1px solid var(--light);
  549. text-align:right
  550. }
  551. #file_list {
  552. display:grid;
  553. grid-gap:10px;
  554. grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  555. padding-top:10px
  556. }
  557. #file_list:empty:after {
  558. content:'拖拽图片到此处上传'
  559. }
  560. #file_list li {
  561. display:block;
  562. position:relative;
  563. padding:10px;
  564. vertical-align:top;
  565. border-radius:var(--b-radius)
  566. }
  567. #file_list li:hover {
  568. background:var(--light)
  569. }
  570. #file_list li .picbox {
  571. display:flex;
  572. flex:0 0 auto;
  573. position:relative;
  574. padding-top:90%;
  575. width:100%;
  576. align-items:center;
  577. justify-content:center;
  578. overflow:hidden
  579. }
  580. #file_list li .picbox img {
  581. display:block;
  582. max-width:100%;
  583. max-height:100%;
  584. position:absolute;
  585. top:50%;
  586. left:50%;
  587. transform:translateX(-50%) translateY(-50%);
  588. border-radius:var(--b-radius)
  589. }
  590. #file_list li .namebox {
  591. display:flex;
  592. padding:10px;
  593. justify-content:center;
  594. align-items:flex-start
  595. }
  596. #file_list li.up-over .picbox:after {
  597. position:absolute;
  598. bottom:10px;
  599. right:0;
  600. font-family:'FontAwesome';
  601. font-size:18px;
  602. color:var(--green);
  603. content:'\f058';
  604. z-index:9
  605. }
  606. #file_list li .tools {
  607. display:none;
  608. position:absolute;
  609. bottom:12px;
  610. right:10px;
  611. z-index:99
  612. }
  613. #file_list li:hover .tools {
  614. display:block
  615. }
  616. #file_list li .tools .remove {
  617. cursor:pointer
  618. }
  619. #file_list li .tools .remove:after {
  620. font-family:'FontAwesome';
  621. font-size:18px;
  622. color:var(--danger);
  623. content:'\f1f8'
  624. }
  625. #selColor {
  626. padding:0.22rem;
  627. width:45px
  628. }
  629. #edsta {
  630. display:none;
  631. position:absolute;
  632. top:100px;
  633. left:150px;
  634. width:500px;
  635. height:auto
  636. }
  637. .body-row {
  638. display:flex;
  639. flex-wrap:wrap
  640. }
  641. .w-65 {
  642. width:65%
  643. }
  644. .w-35 {
  645. width:35%
  646. }
  647. .browsehappy {
  648. padding:1rem 30px;
  649. color:var(--orange);
  650. background:var(--yellow)
  651. }
  652. .upload-box {
  653. margin:1rem;
  654. background:var(--white)
  655. }
  656. .breadcrumb {
  657. padding:0;
  658. background:none
  659. }
  660. .modal-title {
  661. font-size:16px
  662. }
  663. .card,.modal-content {
  664. border:0
  665. }
  666. .card-header {
  667. padding:0.5rem 1rem;
  668. background-color:rgba(0,0,0,0);
  669. border-bottom:1px solid rgba(0,0,0,0.05)
  670. }
  671. .card-body {
  672. padding:0.5rem
  673. }
  674. .card-body canvas {
  675. height:348px!important
  676. }
  677. .table {
  678. margin-bottom:0;
  679. color:var(--gray)
  680. }
  681. .table th,.table td {
  682. padding:0.5rem;
  683. vertical-align:middle
  684. }
  685. .icon img {
  686. width:20px;
  687. height:20px
  688. }
  689. .form-control {
  690. display:inline-block
  691. }
  692. .fa {
  693. font-size:14px!important;
  694. color:inherit
  695. }
  696. .fileinput-button {
  697. display:inline-block;
  698. position:relative;
  699. overflow:hidden
  700. }
  701. .fileinput-button input {
  702. position:absolute;
  703. top:0;
  704. right:0;
  705. margin:0;
  706. opacity:0;
  707. direction:ltr;
  708. cursor:pointer
  709. }
  710. .option1 {
  711. background:var(--gray-300)
  712. }
  713. .option2 {
  714. background:var(--gray-500)
  715. }
  716. .option3 {
  717. background:var(--white)
  718. }
  719. .user-img-md {
  720. width:60px;
  721. height:60px;
  722. border-radius:50%;
  723. border:1px solid var(--light)
  724. }
  725. .user-img-sm {
  726. width:30px;
  727. height:30px;
  728. border-radius:50%;
  729. border:1px solid var(--light)
  730. }
  731. .thumbnail-md {
  732. max-width:200px;
  733. max-height:120px
  734. }
  735. .thumbnail-sm {
  736. max-width:80px;
  737. max-height:80px
  738. }
  739. .admin-win {
  740. background:var(--bg);
  741. border:1px solid var(--gray-300)!important
  742. }
  743. .admin-win-iframe {
  744. width:100%;
  745. height:350px
  746. }
  747. .admin-main-sort {
  748. margin-left:1rem;
  749. padding:0;
  750. width:30px;
  751. text-align:center
  752. }
  753. .admin-textarea-xl {
  754. width:100%;
  755. height:90px
  756. }
  757. .admin-textarea-sm {
  758. width:360px;
  759. height:60px
  760. }
  761. .admin-input-lg {
  762. width:360px
  763. }
  764. .admin-input-md {
  765. width:260px
  766. }
  767. .admin-input-sm {
  768. width:160px
  769. }
  770. .admin-input-xs {
  771. width:70px
  772. }
  773. a:hover,body.menu-hide .body-right,body.menu-show .body-right,.sidemenu .submenu li:hover,.table-hover tbody tr:hover {
  774. transition:all 0.5s
  775. }
  776. span.page-link {
  777. color:var(--white);
  778. background:var(--green)
  779. }
  780. input,select,textarea,.web-info,.upload-box,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded,#edsta {
  781. border-radius:var(--b-radius)!important
  782. }
  783. .coolbg,.cke_top {
  784. border-radius:var(--b-radius) var(--b-radius) 0 0!important
  785. }
  786. .submenu,.coolbg-box,.cke_bottom {
  787. border-radius:0 0 var(--b-radius) var(--b-radius)!important
  788. }
  789. .page-item:first-child .page-link {
  790. border-top-left-radius:var(--b-radius)!important;
  791. border-bottom-left-radius:var(--b-radius)!important
  792. }
  793. .page-item:last-child .page-link {
  794. border-top-right-radius:var(--b-radius)!important;
  795. border-bottom-right-radius:var(--b-radius)!important
  796. }
  797. .input-group>.input-group-append>.btn {
  798. border-top-left-radius:0!important;
  799. border-bottom-left-radius:0!important
  800. }
  801. .input-group:not(.has-validation)>.form-control:not(:last-child) {
  802. border-top-right-radius:0!important;
  803. border-bottom-right-radius:0!important
  804. }
  805. .btn-sm {
  806. padding:0.375rem 0.6rem;
  807. height:30px;
  808. font-size:12px
  809. }
  810. .btn-xs {
  811. padding:0.22rem;
  812. height:20px;
  813. line-height:1;
  814. font-size:12px;
  815. border-radius:var(--b-radius-300)!important
  816. }
  817. .btn+.btn {
  818. margin-left:0.5rem
  819. }
  820. .shadow-sm {
  821. box-shadow:0 .125rem 0.25rem rgba(0,0,0,.025)!important
  822. }
  823. @media (min-width:1199px) {
  824. .modal-dialog {
  825. max-width:500px
  826. }
  827. }
  828. @media screen and (max-width:1199px) and (min-width:992px) {
  829. .login-box {
  830. padding:30px
  831. }
  832. }
  833. @media (max-width:768px) {
  834. td {
  835. white-space:nowrap
  836. }
  837. .install-box,.tips-box,.w-65,.w-35,.admin-textarea-sm,.admin-input-lg,.admin-input-md,.admin-input-sm,.admin-input-xs {
  838. width:100%
  839. }
  840. .tips {
  841. padding:0 1rem
  842. }
  843. .login-box {
  844. padding:30px
  845. }
  846. }