flat.css 17 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. html, body {
  5. height: 100%;
  6. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
  7. background: #fafafa;
  8. }
  9. /*=== Links */
  10. a, button.as-link {
  11. color: #2980b9;
  12. outline: none;
  13. }
  14. /*=== Forms */
  15. legend {
  16. display: inline-block;
  17. width: auto;
  18. margin: 20px 0 5px;
  19. padding: 5px 20px;
  20. font-size: 1.4em;
  21. clear: both;
  22. background: #ecf0f1;
  23. border-radius: 20px;
  24. }
  25. label {
  26. min-height: 25px;
  27. padding: 5px 0;
  28. cursor: pointer;
  29. color: #444;
  30. }
  31. textarea {
  32. width: 360px;
  33. height: 100px;
  34. }
  35. input, select, textarea {
  36. min-height: 25px;
  37. padding: 5px;
  38. line-height: 25px;
  39. vertical-align: middle;
  40. background: #fff;
  41. border: none;
  42. border-bottom: 3px solid #ddd;
  43. border-left-color: #ddd;
  44. color: #666;
  45. border-radius: 5px;
  46. }
  47. option {
  48. padding: 0 .5em;
  49. }
  50. input:focus, select:focus, textarea:focus {
  51. color: #333;
  52. border-color: #2980b9;
  53. }
  54. input:invalid, select:invalid {
  55. color: #f00;
  56. border-color: #f00;
  57. box-shadow: none;
  58. }
  59. input:disabled, select:disabled {
  60. background: #eee;
  61. }
  62. input.extend {
  63. transition: width 200ms linear;
  64. -moz-transition: width 200ms linear;
  65. -webkit-transition: width 200ms linear;
  66. -o-transition: width 200ms linear;
  67. -ms-transition: width 200ms linear;
  68. }
  69. /*=== Tables */
  70. table {
  71. border-collapse: collapse;
  72. }
  73. tr, th, td {
  74. padding: 0.5em;
  75. border: 1px solid #ddd;
  76. }
  77. th {
  78. background: #f6f6f6;
  79. }
  80. form td,
  81. form th {
  82. font-weight: normal;
  83. text-align: center;
  84. }
  85. /*=== COMPONENTS */
  86. /*===============*/
  87. /*=== Forms */
  88. .form-group {
  89. padding: 5px;
  90. border: 1px solid transparent;
  91. border-radius: 3px;
  92. }
  93. .form-group::after {
  94. content: "";
  95. display: block;
  96. clear: both;
  97. }
  98. .form-group:hover {
  99. background: #fff;
  100. border: 1px solid #eee;
  101. border-radius: 3px;
  102. border: 1px solid #eee;
  103. }
  104. .form-group.form-actions {
  105. margin: 15px 0 25px;
  106. padding: 5px 0;
  107. background: #ecf0f1;
  108. border-top: 3px solid #bdc3c7;
  109. border-radius: 5px 5px 0 0;
  110. }
  111. .form-group.form-actions .btn {
  112. margin: 0 10px;
  113. }
  114. .form-group .group-name {
  115. padding: 10px 0;
  116. text-align: right;
  117. }
  118. .form-group .group-controls {
  119. min-height: 25px;
  120. padding: 5px 0;
  121. }
  122. .form-group .group-controls .control {
  123. line-height: 2.0em;
  124. }
  125. .form-group table {
  126. margin: 10px 0 0 220px;
  127. }
  128. /*=== Buttons */
  129. .stick {
  130. vertical-align: middle;
  131. font-size: 0;
  132. }
  133. .stick input,
  134. .stick .btn {
  135. border-radius: 0;
  136. }
  137. .stick .btn:first-child,
  138. .stick input:first-child {
  139. border-radius: 5px 0 0 5px;
  140. }
  141. .stick .btn:last-child,
  142. .stick input:last-child,
  143. .stick .btn + .dropdown > .btn {
  144. border-radius: 0 5px 5px 0;
  145. }
  146. .stick .btn + .btn,
  147. .stick .btn + input,
  148. .stick .btn + .dropdown > .btn,
  149. .stick input + .btn,
  150. .stick input + input,
  151. .stick input + .dropdown > .btn,
  152. .stick .dropdown + .btn,
  153. .stick .dropdown + input,
  154. .stick .dropdown + .dropdown > .btn {
  155. border-left-width: 1px;
  156. border-left-style: solid;
  157. }
  158. .btn {
  159. display: inline-block;
  160. min-height: 38px;
  161. min-width: 15px;
  162. line-height: 25px;
  163. margin: 0;
  164. padding: 5px 10px;
  165. font-size: 0.9rem;
  166. vertical-align: middle;
  167. cursor: pointer;
  168. overflow: hidden;
  169. background: #3498db;
  170. border-radius: 5px;
  171. border: none;
  172. border-bottom: 3px solid #2980b9;
  173. border-left-color: #2980b9;
  174. color: #fff;
  175. }
  176. a.btn {
  177. min-height: 25px;
  178. line-height: 25px;
  179. }
  180. .btn:hover {
  181. text-decoration: none;
  182. }
  183. .btn.active,
  184. .btn:active,
  185. .btn:hover,
  186. .dropdown-target:target ~ .btn.dropdown-toggle {
  187. background: #2980b9;
  188. }
  189. .btn-important {
  190. font-weight: normal;
  191. background: #e67e22;
  192. color: #fff;
  193. border-bottom: 3px solid #d35400;
  194. border-left-color: #d35400;
  195. }
  196. .btn-important:hover,
  197. .btn-important:active {
  198. background: #d35400;
  199. }
  200. .btn-attention {
  201. background: #e74c3c;
  202. color: #fff;
  203. border-bottom: 3px solid #c0392b;
  204. border-left-color: #c0392b;
  205. }
  206. .btn-attention:hover,
  207. .btn-attention:active {
  208. background: #c0392b;
  209. }
  210. /*=== Navigation */
  211. .nav-list .nav-header,
  212. .nav-list .item {
  213. height: 2.5em;
  214. line-height: 2.5em;
  215. font-size: 0.9rem;
  216. }
  217. .nav-list .item:hover,
  218. .nav-list .item.active {
  219. background: #2980b9;
  220. color: #fff;
  221. }
  222. .nav-list .item:hover a,
  223. .nav-list .item.active a {
  224. color: #fff;
  225. }
  226. .nav-list .disable {
  227. text-align: center;
  228. background: #fafafa;
  229. color: #aaa;
  230. }
  231. .nav-list .item > a {
  232. padding: 0 10px;
  233. }
  234. .nav-list a:hover {
  235. text-decoration: none;
  236. }
  237. .nav-list .item.empty a {
  238. color: #f39c12;
  239. }
  240. .nav-list .item:hover.empty a,
  241. .nav-list .item.active.empty a {
  242. color: #fff;
  243. background: #f39c12;
  244. }
  245. .nav-list .item.error a {
  246. color: #bd362f;
  247. }
  248. .nav-list .item:hover.error a,
  249. .nav-list .item.active.error a {
  250. color: #fff;
  251. background: #bd362f;
  252. }
  253. .nav-list .nav-header {
  254. padding: 0 10px;
  255. font-weight: bold;
  256. background: #34495e;
  257. color: #fff;
  258. }
  259. .nav-list .nav-form {
  260. padding: 3px;
  261. text-align: center;
  262. }
  263. .nav-head {
  264. margin: 0;
  265. text-align: right;
  266. background: #34495e;
  267. color: #fff;
  268. }
  269. .nav-head a {
  270. color: #fff;
  271. }
  272. .nav-head .item {
  273. padding: 5px 10px;
  274. font-size: 0.9rem;
  275. line-height: 1.5rem;
  276. }
  277. /*=== Horizontal-list */
  278. .horizontal-list {
  279. margin: 0;
  280. padding: 0;
  281. }
  282. .horizontal-list .item {
  283. vertical-align: middle;
  284. }
  285. /*=== Dropdown */
  286. .dropdown-menu {
  287. background: #fafafa;
  288. margin: 5px 0 0;
  289. padding: 5px 0;
  290. font-size: 0.8rem;
  291. text-align: left;
  292. border: 1px solid #95a5a6;
  293. border-radius: 3px;
  294. }
  295. .dropdown-menu::after {
  296. content: "";
  297. position: absolute;
  298. top: -6px;
  299. right: 13px;
  300. width: 10px;
  301. height: 10px;
  302. z-index: -10;
  303. transform: rotate(45deg);
  304. -moz-transform: rotate(45deg);
  305. -webkit-transform: rotate(45deg);
  306. -ms-transform: rotate(45deg);
  307. background: #fff;
  308. border-top: 1px solid #95a5a6;
  309. border-left: 1px solid #95a5a6;
  310. }
  311. .dropdown-header {
  312. padding: 0 5px 5px;
  313. font-weight: bold;
  314. text-align: left;
  315. color: #34495e;
  316. }
  317. .dropdown-menu > .item > a,
  318. .dropdown-menu > .item > span,
  319. .dropdown-menu > .item > .as-link {
  320. padding: 0 22px;
  321. line-height: 2.5em;
  322. font-size: 0.8rem;
  323. }
  324. .dropdown-menu > .item:hover {
  325. background: #2980b9;
  326. color: #fff;
  327. }
  328. .dropdown-menu > .item[aria-checked="true"] > a::before {
  329. font-weight: bold;
  330. margin: 0 0 0 -14px;
  331. }
  332. .dropdown-menu > .item:hover > a {
  333. text-decoration: none;
  334. color: #fff;
  335. }
  336. .dropdown-menu .input select,
  337. .dropdown-menu .input input {
  338. margin: 0 auto 5px;
  339. padding: 2px 5px;
  340. border-radius: 3px;
  341. }
  342. .separator {
  343. margin: 5px 0;
  344. border-bottom: 1px solid #ddd;
  345. }
  346. /*=== Alerts */
  347. .alert {
  348. margin: 15px auto;
  349. padding: 10px 15px;
  350. font-size: 0.9em;
  351. background: #f4f4f4;
  352. border: 1px solid #ccc;
  353. border-right: 1px solid #aaa;
  354. border-bottom: 1px solid #aaa;
  355. border-radius: 5px;
  356. color: #aaa;
  357. text-shadow: 0 0 1px #eee;
  358. }
  359. .alert-head {
  360. font-size: 1.15em;
  361. }
  362. .alert > a {
  363. text-decoration: underline;
  364. color: inherit;
  365. }
  366. .alert-warn {
  367. background: #ffe;
  368. border: 1px solid #eeb;
  369. color: #c95;
  370. }
  371. .alert-success {
  372. background: #dfd;
  373. border: 1px solid #cec;
  374. color: #484;
  375. }
  376. .alert-error {
  377. background: #fdd;
  378. border: 1px solid #ecc;
  379. color: #844;
  380. }
  381. /*=== Pagination */
  382. .pagination {
  383. text-align: center;
  384. font-size: 0.8em;
  385. background: #ecf0f1;
  386. color: #000;
  387. }
  388. .content .pagination {
  389. margin: 0;
  390. padding: 0;
  391. }
  392. .pagination .item.pager-current {
  393. font-weight: bold;
  394. font-size: 1.5em;
  395. background: #34495e;
  396. color: #ecf0f1;
  397. }
  398. .pagination .item a {
  399. display: block;
  400. font-style: italic;
  401. line-height: 3em;
  402. text-decoration: none;
  403. color: #000;
  404. }
  405. .pagination .item a:hover {
  406. background: #34495e;
  407. color: #ecf0f1;
  408. }
  409. .pagination .loading,
  410. .pagination a:hover.loading {
  411. font-size: 0;
  412. background: url("loader.gif") center center no-repeat #34495e;
  413. }
  414. /*=== Boxes */
  415. .box {
  416. border: 1px solid #ddd;
  417. border-radius: 5px;
  418. }
  419. .box .box-title {
  420. margin: 0;
  421. padding: 5px 10px;
  422. background: #ecf0f1;
  423. color: #333;
  424. border-bottom: 1px solid #ddd;
  425. border-radius: 5px 5px 0 0;
  426. }
  427. .box .box-content {
  428. max-height: 260px;
  429. }
  430. .box .box-content .item {
  431. padding: 0 10px;
  432. font-size: 0.9rem;
  433. line-height: 2.5em;
  434. }
  435. .box .box-content .item .configure {
  436. visibility: hidden;
  437. }
  438. .box .box-content .item .configure .icon {
  439. vertical-align: middle;
  440. background-color: #95a5a6;
  441. border-radius: 3px;
  442. }
  443. .box .box-content .item:hover .configure {
  444. visibility: visible;
  445. }
  446. /*=== Tree */
  447. .tree {
  448. margin: 10px 0;
  449. }
  450. .tree-folder-title {
  451. position: relative;
  452. padding: 0 10px;
  453. background: #34495e;
  454. line-height: 2.5rem;
  455. font-size: 1rem;
  456. }
  457. .tree-folder-title .title {
  458. background: inherit;
  459. color: #fff;
  460. }
  461. .tree-folder-title .title:hover {
  462. text-decoration: none;
  463. }
  464. .tree-folder.active .tree-folder-title {
  465. background: #2980b9;
  466. font-weight: bold;
  467. }
  468. .tree-folder-items {
  469. background: #2c3e50;
  470. }
  471. .tree-folder-items > .item {
  472. padding: 0 10px;
  473. line-height: 2.5rem;
  474. font-size: 0.8rem;
  475. }
  476. .tree-folder-items > .item.active {
  477. background: #2980b9;
  478. }
  479. .tree-folder-items > .item > a {
  480. text-decoration: none;
  481. color: #fff;
  482. }
  483. /*=== STRUCTURE */
  484. /*===============*/
  485. /*=== Header */
  486. .header {
  487. height: 85px;
  488. background: #ecf0f1;
  489. }
  490. .header > .item {
  491. padding: 10px;
  492. vertical-align: middle;
  493. text-align: center;
  494. }
  495. .header > .item.title{
  496. width: 230px;
  497. }
  498. .header > .item.title h1 {
  499. margin: 0.5em 0;
  500. }
  501. .header > .item.title h1 a {
  502. text-decoration: none;
  503. }
  504. .header > .item.search input {
  505. width: 230px;
  506. }
  507. .header .item.search input:focus {
  508. width: 350px;
  509. }
  510. /*=== Body */
  511. #global {
  512. height: calc(100% - 85px);
  513. }
  514. .aside {
  515. background: #ecf0f1;
  516. }
  517. .aside.aside_feed {
  518. padding: 10px 0;
  519. text-align: center;
  520. background: #34495e;
  521. border-radius: 0 10px 0 0;
  522. }
  523. .aside.aside_feed .tree {
  524. margin: 10px 0 50px;
  525. }
  526. /*=== Aside main page (categories) */
  527. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  528. position: absolute;
  529. right: 0;
  530. margin: 10px 0;
  531. padding: 0 10px;
  532. font-size: 0.9rem;
  533. line-height: 1.5rem;
  534. background: inherit;
  535. }
  536. /*=== Aside main page (feeds) */
  537. .feed.item.empty.active {
  538. background: #f39c12;
  539. }
  540. .feed.item.error.active {
  541. background: #bd362f;
  542. }
  543. .feed.item.empty,
  544. .feed.item.empty > a {
  545. color: #e67e22;
  546. }
  547. .feed.item.error,
  548. .feed.item.error > a {
  549. color: #bd362f;
  550. }
  551. .feed.item.empty.active,
  552. .feed.item.error.active,
  553. .feed.item.empty.active > a,
  554. .feed.item.error.active > a {
  555. color: #fff;
  556. }
  557. .aside_feed .tree-folder-items .dropdown-menu::after {
  558. left: 2px;
  559. }
  560. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  561. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  562. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  563. border-radius: 3px;
  564. }
  565. /*=== Configuration pages */
  566. .post {
  567. padding: 10px 50px;
  568. font-size: 0.9em;
  569. }
  570. .post form {
  571. margin: 10px 0;
  572. }
  573. .post.content {
  574. max-width: 550px;
  575. }
  576. /*=== Prompt (centered) */
  577. .prompt {
  578. text-align: center;
  579. }
  580. .prompt label {
  581. text-align: left;
  582. }
  583. .prompt form {
  584. margin: 10px auto 20px auto;
  585. width: 200px;
  586. }
  587. .prompt input {
  588. margin: 5px auto;
  589. width: 100%;
  590. }
  591. .prompt p {
  592. margin: 20px 0;
  593. }
  594. /*=== New article notification */
  595. #new-article {
  596. text-align: center;
  597. font-size: 0.9em;
  598. background: #3498db;
  599. }
  600. #new-article:hover {
  601. background: #2980b9;
  602. }
  603. #new-article > a {
  604. line-height: 3em;
  605. font-weight: bold;
  606. color: #fff;
  607. }
  608. #new-article > a:hover {
  609. text-decoration: none;
  610. }
  611. /*=== Day indication */
  612. .day {
  613. padding: 0 10px;
  614. font-weight: bold;
  615. line-height: 3em;
  616. border-left: 2px solid #ecf0f1;
  617. }
  618. .day .name {
  619. padding: 0 10px 0 0;
  620. font-size: 1.8em;
  621. opacity: 0.3;
  622. font-style: italic;
  623. text-align: right;
  624. color: #aab;
  625. }
  626. /*=== Index menu */
  627. .nav_menu {
  628. text-align: center;
  629. padding: 5px 0;
  630. }
  631. #dropdown-query ~ .dropdown-menu .dropdown-header .icon {
  632. vertical-align: middle;
  633. background-color: #95a5a6;
  634. border-radius: 3px;
  635. }
  636. /*=== Feed articles */
  637. .flux {
  638. border-left: 2px solid #ecf0f1;
  639. }
  640. .flux:hover {
  641. background: #fff;
  642. }
  643. .flux.current {
  644. border-left-color: #3498db;
  645. }
  646. .flux.not_read {
  647. background: #FFF3ED;
  648. border-left-color: #FF5300;
  649. }
  650. .flux.not_read:not(.current):hover .item.title {
  651. background: #FFF3ED;
  652. }
  653. .flux.favorite {
  654. background: #FFF6DA;
  655. border-left-color: #FFC300;
  656. }
  657. .flux.favorite:not(.current):hover .item.title {
  658. background: #FFF6DA;
  659. }
  660. .flux.current {
  661. background: #fff;
  662. }
  663. .flux_header {
  664. font-size: 0.8rem;
  665. cursor: pointer;
  666. border-top: 1px solid #ecf0f1;
  667. }
  668. .flux_header .title {
  669. font-size: 0.9rem;
  670. }
  671. .flux .website .favicon {
  672. padding: 5px;
  673. }
  674. .flux .date {
  675. font-size: 0.7rem;
  676. color: #666;
  677. }
  678. .flux .bottom {
  679. font-size: 0.8rem;
  680. text-align: center;
  681. }
  682. /*=== Content of feed articles */
  683. .content {
  684. padding: 20px 10px;
  685. }
  686. .content > h1.title > a {
  687. color: #000;
  688. }
  689. .content hr {
  690. margin: 30px 10px;
  691. height: 1px;
  692. background: #ddd;
  693. border: 0;
  694. box-shadow: 0 2px 5px #ccc;
  695. }
  696. .content pre {
  697. margin: 10px auto;
  698. padding: 10px 20px;
  699. overflow: auto;
  700. background: #222;
  701. color: #fff;
  702. font-size: 0.9rem;
  703. border-radius: 3px;
  704. }
  705. .content code {
  706. padding: 2px 5px;
  707. color: #dd1144;
  708. background: #fafafa;
  709. border: 1px solid #eee;
  710. border-radius: 3px;
  711. }
  712. .content pre code {
  713. background: transparent;
  714. color: #fff;
  715. border: none;
  716. }
  717. .content blockquote {
  718. display: block;
  719. margin: 0;
  720. padding: 5px 20px;
  721. border-top: 1px solid #ddd;
  722. border-bottom: 1px solid #ddd;
  723. background: #fafafa;
  724. color: #333;
  725. }
  726. .content blockquote p {
  727. margin: 0;
  728. }
  729. /*=== Notification and actualize notification */
  730. .notification {
  731. padding: 0 0 0 5px;
  732. text-align: center;
  733. font-weight: bold;
  734. font-size: 0.9em;
  735. line-height: 3em;
  736. z-index: 10;
  737. vertical-align: middle;
  738. background: #ddd;
  739. color: #666;
  740. border-radius: 3px;
  741. border: none;
  742. }
  743. .notification.good {
  744. background: #1abc9c;
  745. color: #fff;
  746. }
  747. .notification.bad {
  748. background: #e74c3c;
  749. color: #fff;
  750. }
  751. .notification a.close {
  752. padding: 0 15px;
  753. line-height: 3em;
  754. border-radius: 0 3px 3px 0;
  755. }
  756. .notification.good a.close:hover {
  757. background: #16a085;
  758. }
  759. .notification.bad a.close:hover {
  760. background: #c0392b;
  761. }
  762. .notification#actualizeProgress {
  763. line-height: 2em;
  764. }
  765. /*=== "Load more" part */
  766. #bigMarkAsRead {
  767. text-align: center;
  768. text-decoration: none;
  769. background: #ecf0f1;
  770. }
  771. #bigMarkAsRead:hover {
  772. background: #34495e;
  773. color: #fff;
  774. }
  775. /*=== Navigation menu (for articles) */
  776. #nav_entries {
  777. margin: 0;
  778. text-align: center;
  779. line-height: 3em;
  780. table-layout: fixed;
  781. background: #34495e;
  782. }
  783. /*=== READER VIEW */
  784. /*================*/
  785. #stream.reader .flux {
  786. padding: 0 0 50px;
  787. background: #ecf0f1;
  788. color: #34495e;
  789. border: none;
  790. }
  791. #stream.reader .flux .author {
  792. margin: 0 0 10px;
  793. font-size: 90%;
  794. color: #999;
  795. }
  796. /*=== GLOBAL VIEW */
  797. /*================*/
  798. .box.category .box-title .title {
  799. font-weight: normal;
  800. text-decoration: none;
  801. text-align: left;
  802. }
  803. .box.category:not([data-unread="0"]) .box-title {
  804. background: #3498db;
  805. }
  806. .box.category:not([data-unread="0"]) .box-title:active {
  807. background: #2980b9;
  808. }
  809. .box.category:not([data-unread="0"]) .box-title .title {
  810. font-weight: bold;
  811. color: #fff;
  812. }
  813. .box.category .title:not([data-unread="0"])::after {
  814. position: absolute;
  815. top: 5px; right: 10px;
  816. border: 0;
  817. background: none;
  818. font-weight: bold;
  819. box-shadow: none;
  820. text-shadow: none;
  821. }
  822. .box.category .item.feed {
  823. padding: 2px 10px;
  824. font-size: 0.8rem;
  825. }
  826. /*=== DIVERS */
  827. /*===========*/
  828. .aside.aside_feed .nav-form input,
  829. .aside.aside_feed .nav-form select {
  830. width: 140px;
  831. }
  832. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  833. right: -20px;
  834. }
  835. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  836. right: 33px;
  837. }
  838. /*=== STATISTICS */
  839. /*===============*/
  840. .stat {
  841. margin: 10px 0 20px;
  842. }
  843. .stat th,
  844. .stat td,
  845. .stat tr {
  846. border: none;
  847. }
  848. .stat > table td,
  849. .stat > table th {
  850. border-bottom: 1px solid #ddd;
  851. }
  852. .stat > .horizontal-list {
  853. margin: 0 0 5px;
  854. }
  855. .stat > .horizontal-list .item {
  856. overflow: hidden;
  857. white-space: nowrap;
  858. text-overflow: ellipsis;
  859. }
  860. .stat > .horizontal-list .item:first-child {
  861. width: 270px;
  862. }
  863. /*=== LOGS */
  864. /*=========*/
  865. .loglist {
  866. overflow: hidden;
  867. border: 1px solid #aaa;
  868. }
  869. .log {
  870. margin: 10px 0;
  871. padding: 5px 2%;
  872. overflow: auto;
  873. font-size: 0.8rem;
  874. background: #fafafa;
  875. color: #666;
  876. }
  877. .log > .date {
  878. margin: 0 10px 0 0;
  879. padding: 5px 10px;
  880. border-radius: 20px;
  881. }
  882. .log.error > .date {
  883. background: #e74c3c;
  884. color: #fff;
  885. }
  886. .log.warning > .date {
  887. background: #f39c12;
  888. }
  889. .log.notice > .date {
  890. background: #ecf0f1;
  891. }
  892. .log.debug > .date {
  893. background: #111;
  894. color: #eee;
  895. }
  896. /*=== MOBILE */
  897. /*===========*/
  898. @media(max-width: 840px) {
  899. .aside {
  900. transition: width 200ms linear;
  901. -moz-transition: width 200ms linear;
  902. -webkit-transition: width 200ms linear;
  903. -o-transition: width 200ms linear;
  904. -ms-transition: width 200ms linear;
  905. }
  906. .aside .toggle_aside,
  907. #panel .close {
  908. display: block;
  909. width: 100%;
  910. height: 50px;
  911. line-height: 50px;
  912. text-align: center;
  913. background: #2c3e50;
  914. }
  915. .aside.aside_feed {
  916. padding: 0;
  917. }
  918. .nav_menu .btn {
  919. margin: 5px 10px;
  920. }
  921. .nav_menu .stick {
  922. margin: 0 10px;
  923. }
  924. .nav_menu .stick .btn {
  925. margin: 5px 0;
  926. }
  927. .nav_menu .search {
  928. display: inline-block;
  929. max-width: 97%;
  930. }
  931. .nav_menu .search input {
  932. max-width: 97%;
  933. width: 90px;
  934. }
  935. .nav_menu .search input:focus {
  936. width: 400px;
  937. }
  938. .day .name {
  939. font-size: 1.1rem;
  940. }
  941. .pagination {
  942. margin: 0 0 3.5em;
  943. }
  944. .notification {
  945. border-radius: 0;
  946. }
  947. .notification a.close {
  948. display: block;
  949. left: 0;
  950. background: transparent;
  951. }
  952. .notification a.close:hover {
  953. opacity: 0.5;
  954. }
  955. .notification a.close .icon {
  956. display: none;
  957. }
  958. }