PageRenderTime 68ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/b3log-solo/war/src/main/webapp/css/default-admin.css

http://b3log-solo.googlecode.com/
CSS | 655 lines | 563 code | 54 blank | 38 comment | 0 complexity | a196a850e73614deae2be8f6a64493ac MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.1
  1. /**
  2. * admin style
  3. *
  4. * @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
  5. * @version 1.0.3.7, May 23, 2012
  6. */
  7. /* start resset */
  8. body, input, textarea {
  9. font-family: sans-serif,\5fae\8f6f\96c5\9ed1;
  10. }
  11. html, body {
  12. height: 100%;
  13. min-width: 1024px;
  14. background-color: #FAFAFA;
  15. }
  16. a:link {
  17. color: #21759B;
  18. }
  19. a:visited {
  20. color: #551A8B;
  21. }
  22. a:active {
  23. color: #D54121;
  24. }
  25. a:hover {
  26. color: #D54121;
  27. }
  28. button.selected {
  29. background: url("../images/bowknot/completed.png") no-repeat scroll right bottom transparent;
  30. color: #D54121;
  31. }
  32. /* end reset */
  33. /* start ico */
  34. .ico-arrow-down, .ico-arrow-up {
  35. background: url("../images/arrows.png") repeat scroll 0 4px transparent;
  36. float: right;
  37. height: 20px;
  38. margin: 2px 3px 0 0;
  39. width: 18px;
  40. }
  41. .ico-arrow-up {
  42. background-position: 0 -30px;
  43. }
  44. .aboutIcon {
  45. background-position: -16px -48px;
  46. }
  47. /* end ico */
  48. /* start frame */
  49. #allPanel {
  50. height: auto;
  51. min-height: 100%;
  52. position: relative;
  53. }
  54. #tabsPanel {
  55. margin: 30px 0 0 162px;
  56. padding: 0 12px;
  57. }
  58. #tabsPanel>div {
  59. padding-bottom: 36px;
  60. }
  61. #tipMsg, #loadMsg {
  62. background-color: #E5E7EB;
  63. border-radius: 3px;
  64. font-weight: bold;
  65. left: 48%;
  66. margin: 0 auto;
  67. overflow: hidden;
  68. padding: 2px 0;
  69. position: fixed;
  70. text-align: center;
  71. top: 3px;
  72. z-index: 2;
  73. }
  74. #tipMsg {
  75. top: 33px;
  76. }
  77. .footer {
  78. bottom: 12px;
  79. position: absolute;
  80. text-align: center;
  81. width: 100%;
  82. }
  83. /* end frame */
  84. /* start top-nav */
  85. #top {
  86. background-image: linear-gradient(top,#666666,#7F7F7F);
  87. background-image: -moz-linear-gradient(top,#666666,#7F7F7F);
  88. background-image: -ms-linear-gradient(top,#666666,#7F7F7F);
  89. background-image: -o-linear-gradient(top,#666666,#7F7F7F);
  90. background-image: -webkit-gradient(linear,left top,left bottom,from(#666666),to(#7F7F7F));
  91. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#7F7F7F');
  92. }
  93. #top a, #top span span {
  94. float: left;
  95. line-height: 18px;
  96. margin: 6px 0;
  97. padding: 0 6px;
  98. text-decoration: none;
  99. text-shadow: 0 -1px 0 #FFFFFF;
  100. font-weight: normal;
  101. border-right: 1px solid #686868;
  102. color: #CCCCCC;
  103. text-shadow: 0 -1px 0 #555555;
  104. }
  105. #top>a {
  106. color: #FFFFFF;
  107. }
  108. #top a:hover, #top a.hover {
  109. border-radius: 0 13px 13px 0;
  110. margin: 0px;
  111. line-height: 30px;
  112. background-color: #4C4C4C;
  113. border-left-color: #707070;
  114. }
  115. /* end top-nav */
  116. /* start first tab */
  117. #tabs {
  118. background-color: #ECECEC;
  119. border-radius: 0 5px 5px 0;
  120. border-right: 1px solid #CCC;
  121. border-top: 1px solid #DDD;
  122. bottom: 0;
  123. box-shadow: 6px 0 6px #ECECEC;
  124. min-height: 468px;
  125. padding: 15px 0;
  126. position: absolute;
  127. top: 58px;
  128. width: 145px;
  129. }
  130. #tabs ul {
  131. list-style: none;
  132. }
  133. #tabs li {
  134. margin-left: 0px;
  135. }
  136. #tabs a, #tabs>ul>li>div {
  137. color: #21759B;
  138. display: block;
  139. text-decoration: none;
  140. cursor: pointer;
  141. letter-spacing: 1px;
  142. }
  143. #tabs a:hover, #tabs>ul>li>div:hover {
  144. color: #D54121;
  145. }
  146. #tabs>ul>li>div {
  147. border-bottom: 1px solid #DFDFDF;
  148. border-top: 1px solid #F9F9F9;
  149. font-weight: bold;
  150. padding-left: 12px;
  151. line-height: 30px;
  152. height: 30px;
  153. }
  154. #tabs>ul>li>div>a.tab-current{
  155. background-color: #777777;
  156. border-bottom: 1px solid #6D6D6D;
  157. border-top: 1px solid #808080;
  158. color: #FFFFFF;
  159. margin-left: -12px;
  160. padding-left: 12px;
  161. text-shadow: 0 -1px 0 #333333;
  162. }
  163. #tabs li li a {
  164. background-color: #FFFFFF;
  165. padding-left: 36px;
  166. line-height: 28px;
  167. height: 28px;
  168. }
  169. #tabs .tab-current {
  170. background-color: #EAF2FA;
  171. color: #333333;
  172. font-weight: bold;
  173. }
  174. #tabs li li a:hover {
  175. background-color: #EAF2FA;
  176. color: #333333;
  177. }
  178. #tabs .commentIcon, #tabs .postIcon, #tabs .preferenceIcon, #tabs .usersIcon,
  179. #tabs .aboutIcon {
  180. margin: 6px 9px 0 0;
  181. }
  182. /* end first tabs */
  183. /* start sub tabs */
  184. .sub-tabs {
  185. height: 30px;
  186. }
  187. .sub-tabs ul {
  188. float: right;
  189. list-style: none outside none;
  190. margin-right: 24px;
  191. }
  192. .sub-tabs li {
  193. float: left;
  194. }
  195. .sub-tabs li a {
  196. background-color: #ECECEC;
  197. border: 1px solid #DFDFDF;
  198. border-bottom: 0px;
  199. border-radius: 5px 5px 0 0;
  200. color: #333333;
  201. display: block;
  202. line-height: 29px;
  203. padding: 0 12px;
  204. text-decoration: none;
  205. }
  206. .sub-tabs .tab-current, .sub-tabs .tab-current:hover {
  207. background-color: #FFFFFF;
  208. font-weight: bold;
  209. line-height: 30px;
  210. }
  211. .sub-tabs a:hover {
  212. background-color: #F5F5F5;
  213. }
  214. .sub-tabs-main {
  215. background-color: #FFFFFF;
  216. border: 1px solid #DFDFDF;
  217. padding: 12px;
  218. border-radius: 6px;
  219. }
  220. /* end preference tabs*/
  221. /* start form */
  222. .form>div {
  223. margin: 12px 0;
  224. }
  225. .form>div label {
  226. font-weight: bold;
  227. line-height: 28px;
  228. margin-right: 12px;
  229. }
  230. /* end form */
  231. /* start module */
  232. .module-panel {
  233. border: 1px solid #DFDFDF;
  234. border-radius: 3px 3px 3px 3px;
  235. box-shadow: 0 1px 0 #FFFFFF inset;
  236. background-color: #F5F5F5;
  237. margin-bottom: 36px;
  238. min-height: 160px;
  239. }
  240. .module-header {
  241. background-color: #f1f1f1;
  242. background-image: linear-gradient(top,#f9f9f9,#ececec);
  243. background-image: -moz-linear-gradient(top,#f9f9f9,#ececec);
  244. background-image: -ms-linear-gradient(top,#f9f9f9,#ececec);
  245. background-image: -o-linear-gradient(top,#f9f9f9,#ececec);
  246. background-image: -webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#ececec));
  247. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#ececec');
  248. border-bottom-color: #DFDFDF;
  249. box-shadow: 0 1px 0 #FFFFFF;
  250. text-shadow: 0 1px 0 #FFFFFF;
  251. padding: 5px 10px;
  252. }
  253. .module-header h2 {
  254. color: #464646;
  255. font-size: 16px;
  256. }
  257. .module-header a {
  258. text-decoration: none;
  259. }
  260. /* end module */
  261. /* start comments */
  262. .comment-title {
  263. background-color: #ECECEC;
  264. border-bottom: 1px solid #DFDFDF;
  265. border-top: 1px solid #F9F9F9;
  266. padding: 3px 6px 3px 12px;
  267. }
  268. #comments {
  269. height: 462px;
  270. overflow: auto;
  271. }
  272. /* end comments */
  273. /* start article */
  274. .markdown-preivew {
  275. background-image: -moz-linear-gradient(top,#FFFFFF,#F3F3F3);
  276. background-image: -ms-linear-gradient(top,#FFFFFF,#F3F3F3);
  277. background-image: -o-linear-gradient(top,#FFFFFF,#F3F3F3);
  278. background-image: -webkit-gradient(linear,left top,left bottom,from(#FFFFFF),to(#F3F3F3));
  279. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#F3F3F3');
  280. border-color: #C0C0C0 #D9D9D9 #D9D9D9;
  281. border-style: solid;
  282. border-width: 1px;
  283. float: left;
  284. height: 500px;
  285. margin-left: 20px;
  286. overflow: auto;
  287. width: 47%;
  288. word-wrap: break-word;
  289. }
  290. .markdown-help.ico-help, .markdown-help.ico-close {
  291. background-image: url("../images/icon.png");
  292. background-position: -16px -47px;
  293. cursor: pointer;
  294. float: right;
  295. height: 17px;
  296. width: 17px;
  297. }
  298. .markdown-help.ico-close {
  299. height: 16px;
  300. background-position: -48px -16px;
  301. }
  302. .markdown-help-main, .markdown-preview-main {
  303. color: #21759B;
  304. padding: 0 12px
  305. }
  306. .markdown-help-main dt {
  307. font-size: 14px;
  308. font-weight: bold;
  309. margin: 12px 0 6px 0;
  310. }
  311. .markdown-help-main dd {
  312. margin-left: 12px;
  313. }
  314. button#submitArticle {
  315. background: none repeat scroll 0 0 #D54121;
  316. box-shadow: 0 0 0 1px #FFFFFF inset, 0 1px 1px rgba(0, 0, 0, 0.1);
  317. text-shadow: 0 1px rgba(0, 0, 0, 0.1);
  318. color: #FFF;
  319. }
  320. /* end article */
  321. /* start preference */
  322. #skinsPanel {
  323. min-width: 328px;
  324. width: 99%;
  325. }
  326. .skinPreview {
  327. cursor: pointer;
  328. height: 160px;
  329. margin: 6px;
  330. width: 280px;
  331. }
  332. .skinItem {
  333. background-color: #FAFAFA;
  334. border-radius: 3px;
  335. box-shadow: 1px 1px 3px #333333;
  336. line-height: 16px;
  337. margin: 24px 12px;
  338. padding: 5px;
  339. text-align: center;
  340. }
  341. #skinMain .skinItem.selected {
  342. background-color: #D54121;
  343. }
  344. .skinItem:hover {
  345. background-color: #EEE;
  346. }
  347. .f-blue, .error-msg {
  348. color: #3366CC;
  349. }
  350. .signs button {
  351. margin: 0 12px;
  352. }
  353. /* end preference */
  354. /* start common list */
  355. .small-head {
  356. float: left;
  357. height: 35px;
  358. margin: 3px 9px 0 3px;
  359. width: 35px;
  360. }
  361. #commentTable .table-main td {
  362. vertical-align: top;
  363. }
  364. /* end common list */
  365. /* start about */
  366. .about-logo {
  367. float: left;
  368. margin: 62px 36px 62px 24px;
  369. }
  370. .about-margin {
  371. font-size: 20px;
  372. margin: 20px 0;
  373. }
  374. .ico-alipay-me {
  375. background-image: url("../images/alipay-me.png");
  376. font-size: 20px;
  377. height: 24px;
  378. margin: 20px 0;
  379. width: 126px;
  380. }
  381. /* end about */
  382. /*
  383. * jQuly plugin: bowknot style
  384. *
  385. * @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
  386. * @version 1.0.0.7, Oct 29, 2011
  387. */
  388. .completed-input {
  389. margin: 2px 12px 0 0;
  390. }
  391. .completed-panel {
  392. background-color: #ECECEC;
  393. border: 1px solid #CCCCCC;
  394. color: #0000CC;
  395. display: none;
  396. overflow: auto;
  397. padding: 2px;
  398. position: absolute;
  399. z-index: 10;
  400. }
  401. .completed-panel a {
  402. display: block;
  403. text-decoration: none;
  404. }
  405. .completed-panel a.selected {
  406. background-color: #FFFFFF;
  407. color: #D54121;
  408. }
  409. .completed-ck {
  410. margin-top: 9px;
  411. }
  412. .completed-ck span {
  413. background: url(../images/icon.png) repeat center bottom;
  414. border: 1px solid;
  415. border-color: #CCC #BBBBBB #A0A0A0;
  416. border-radius: 4px;
  417. color: #21759B;
  418. cursor: pointer;
  419. float: left;
  420. height: 28px;
  421. line-height: 26px;
  422. margin: 3px 6px;
  423. padding: 0 6px;
  424. vertical-align: top;
  425. }
  426. .completed-ck span:hover {
  427. border-color: #BBB;
  428. }
  429. .completed-ck span.selected {
  430. color: #D54121;
  431. background: url(../images/bowknot/completed.png) no-repeat right bottom;
  432. }
  433. .dialog-background {
  434. background-color: #000000;
  435. display: none;
  436. filter: alpha(opacity=30);
  437. height: 100%;
  438. left: 0;
  439. opacity: .3;
  440. position: absolute;
  441. top: 0;
  442. width: 100%;
  443. z-index: 90;
  444. }
  445. .dialog-panel {
  446. display: none;
  447. moz-user-select: none;
  448. position: absolute;
  449. z-index: 100;
  450. }
  451. .dialog-title {
  452. color: #FFFFFF;
  453. float: left;
  454. font-size: 12px;
  455. line-height: 27px;
  456. margin-left: 3px;
  457. }
  458. .dialog-header-bg {
  459. background: url("../images/icon.png") repeat scroll center bottom #F1F1F1;
  460. border-color: #C0C0C0 #D9D9D9 #D9D9D9;
  461. border-radius: 6px 6px 0 0;
  462. border-style: solid;
  463. border-width: 1px 1px 0;
  464. cursor: move;
  465. height: 34px;
  466. }
  467. .dialog-header-middle {
  468. float: left;
  469. }
  470. .dialog-close-icon {
  471. background: url("../images/bowknot/dialog-close.png") no-repeat scroll 0 0 transparent;
  472. cursor: pointer;
  473. float: right;
  474. height: 18px;
  475. margin-top: 6px;
  476. padding: 3px;
  477. width: 22px;
  478. }
  479. .dialog-close-icon:hover {
  480. background-image: url("../images/bowknot/dialog-close-hover.png");
  481. }
  482. .dialog-main {
  483. background-color: #FFFFFF;
  484. border: 2px solid #666666;
  485. border-color: #C0C0C0 #D9D9D9 #D9D9D9;
  486. border-top-width: 0;
  487. padding: 12px;
  488. }
  489. .paginate-paginate div, .paginate-paginate a, .paginate-pageCount{
  490. float: left;
  491. height: 20px;
  492. line-height: 20px;
  493. margin: 0 5px;
  494. text-decoration: none;
  495. }
  496. .pagination-pages {
  497. background: url(../images/icon.png) repeat center bottom;
  498. border: 1px solid;
  499. border-color: #CCC #BBBBBB #A0A0A0;
  500. border-radius: 4px;
  501. padding: 0 6px;
  502. cursor: pointer;
  503. float: left;
  504. height: 20px;
  505. line-height: 20px;
  506. margin: 0 5px;
  507. }
  508. .pagination-current-page {
  509. cursor: auto;
  510. font-weight: bold;
  511. border-color: #BBB;
  512. }
  513. .paginate-inputPage {
  514. height: 14px;
  515. width: 24px;
  516. }
  517. .table-main {
  518. margin: 0;
  519. padding: 0;
  520. position: relative;
  521. }
  522. .table-main table {
  523. word-break: break-all;
  524. word-wrap: break-word;
  525. }
  526. .table-header {
  527. border: 1px solid #D0D0D0;
  528. border-bottom: 0px;
  529. border-radius: 6px 6px 0 0;
  530. }
  531. .table-header th {
  532. height: 34px;
  533. line-height: 34px;
  534. text-align: left;
  535. text-indent: 6px;
  536. font-size: 14px;
  537. font-weight: normal;
  538. background: url("../images/icon.png") repeat scroll center bottom #F1F1F1;
  539. }
  540. .table-main td {
  541. border-bottom: 1px solid #D0D0D0;
  542. color: #333;
  543. padding: 3px 0;
  544. }
  545. .table-lineHover .table-hasExpend td {
  546. border-bottom: 0px;
  547. }
  548. .table-heiglight td, .table-lineHover td {
  549. background-color: #F3F3F3;
  550. border-right-color: #F3F3F3;
  551. }
  552. .table-expendRow td {
  553. padding: 0 0 5px 36px;
  554. }
  555. .table-expendRow td span {
  556. margin-left: 60px;
  557. }
  558. .table-expendRow td a {
  559. background-color: #999;
  560. border-radius: 3px;
  561. color: #FFF;
  562. font-size: 12px;
  563. margin-right: 5px;
  564. padding: 1px 6px;
  565. text-decoration: none;
  566. }
  567. .table-expendRow td a:hover {
  568. background-color: #BBB;
  569. }
  570. .table-center {
  571. margin: 0 auto;
  572. }
  573. .table-upIcon,.table-downIcon {
  574. background-image: url("../images/icon.png");
  575. cursor: pointer;
  576. float: left;
  577. height: 16px;
  578. width: 16px;
  579. background-position: -79px -32px;
  580. }
  581. .table-upIcon {
  582. background-position: -64px -32px;
  583. margin-right: 6px;
  584. }
  585. .table-tag {
  586. color: #D54121;
  587. font-size: 12px;
  588. font-style: italic;
  589. margin-left: 10px;
  590. }
  591. .tip-panel {
  592. background-color: #FFF;
  593. box-shadow: 0 3px 10px #8B8B8B;
  594. display: none;
  595. max-height: 500px;
  596. max-width: 500px;
  597. overflow: hidden;
  598. padding: 3px;
  599. position: absolute;
  600. z-index: 1;
  601. }