flat.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017
  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. margin: 5px 0 0;
  288. padding: 5px 0;
  289. font-size: 0.8rem;
  290. text-align: left;
  291. border: 1px solid #95a5a6;
  292. border-radius: 3px;
  293. }
  294. .dropdown-menu::after {
  295. content: "";
  296. position: absolute;
  297. top: -6px;
  298. right: 13px;
  299. width: 10px;
  300. height: 10px;
  301. z-index: -10;
  302. transform: rotate(45deg);
  303. -moz-transform: rotate(45deg);
  304. -webkit-transform: rotate(45deg);
  305. -ms-transform: rotate(45deg);
  306. background: #fff;
  307. border-top: 1px solid #95a5a6;
  308. border-left: 1px solid #95a5a6;
  309. }
  310. .dropdown-header {
  311. padding: 0 5px 5px;
  312. font-weight: bold;
  313. text-align: left;
  314. color: #34495e;
  315. }
  316. .dropdown-menu > .item > a,
  317. .dropdown-menu > .item > span,
  318. .dropdown-menu > .item > .as-link {
  319. padding: 0 22px;
  320. line-height: 2.5em;
  321. font-size: 0.8rem;
  322. }
  323. .dropdown-menu > .item:hover {
  324. background: #2980b9;
  325. color: #fff;
  326. }
  327. .dropdown-menu > .item[aria-checked="true"] > a::before {
  328. font-weight: bold;
  329. margin: 0 0 0 -14px;
  330. }
  331. .dropdown-menu > .item:hover > a {
  332. text-decoration: none;
  333. color: #fff;
  334. }
  335. .dropdown-menu .input select,
  336. .dropdown-menu .input input {
  337. margin: 0 auto 5px;
  338. padding: 2px 5px;
  339. border-radius: 3px;
  340. }
  341. .separator {
  342. margin: 5px 0;
  343. border-bottom: 1px solid #ddd;
  344. }
  345. /*=== Alerts */
  346. .alert {
  347. margin: 15px auto;
  348. padding: 10px 15px;
  349. font-size: 0.9em;
  350. background: #f4f4f4;
  351. border: 1px solid #ccc;
  352. border-right: 1px solid #aaa;
  353. border-bottom: 1px solid #aaa;
  354. border-radius: 5px;
  355. color: #aaa;
  356. text-shadow: 0 0 1px #eee;
  357. }
  358. .alert-head {
  359. font-size: 1.15em;
  360. }
  361. .alert > a {
  362. text-decoration: underline;
  363. color: inherit;
  364. }
  365. .alert-warn {
  366. background: #ffe;
  367. border: 1px solid #eeb;
  368. color: #c95;
  369. }
  370. .alert-success {
  371. background: #dfd;
  372. border: 1px solid #cec;
  373. color: #484;
  374. }
  375. .alert-error {
  376. background: #fdd;
  377. border: 1px solid #ecc;
  378. color: #844;
  379. }
  380. /*=== Pagination */
  381. .pagination {
  382. text-align: center;
  383. font-size: 0.8em;
  384. background: #ecf0f1;
  385. color: #000;
  386. }
  387. .content .pagination {
  388. margin: 0;
  389. padding: 0;
  390. }
  391. .pagination .item.pager-current {
  392. font-weight: bold;
  393. font-size: 1.5em;
  394. background: #34495e;
  395. color: #ecf0f1;
  396. }
  397. .pagination .item a {
  398. display: block;
  399. font-style: italic;
  400. line-height: 3em;
  401. text-decoration: none;
  402. color: #000;
  403. }
  404. .pagination .item a:hover {
  405. background: #34495e;
  406. color: #ecf0f1;
  407. }
  408. .pagination .loading,
  409. .pagination a:hover.loading {
  410. font-size: 0;
  411. background: url("loader.gif") center center no-repeat #34495e;
  412. }
  413. /*=== Boxes */
  414. .box {
  415. border: 1px solid #ddd;
  416. border-radius: 5px;
  417. }
  418. .box .box-title {
  419. margin: 0;
  420. padding: 5px 10px;
  421. background: #ecf0f1;
  422. color: #333;
  423. border-bottom: 1px solid #ddd;
  424. border-radius: 5px 5px 0 0;
  425. }
  426. .box .box-content {
  427. max-height: 260px;
  428. }
  429. .box .box-content .item {
  430. padding: 0 10px;
  431. font-size: 0.9rem;
  432. line-height: 2.5em;
  433. }
  434. .box .box-content .item .configure {
  435. visibility: hidden;
  436. }
  437. .box .box-content .item .configure .icon {
  438. vertical-align: middle;
  439. background-color: #95a5a6;
  440. border-radius: 3px;
  441. }
  442. .box .box-content .item:hover .configure {
  443. visibility: visible;
  444. }
  445. /*=== Tree */
  446. .tree {
  447. margin: 10px 0;
  448. }
  449. .tree-folder-title {
  450. position: relative;
  451. padding: 0 10px;
  452. background: #34495e;
  453. line-height: 2.5rem;
  454. font-size: 1rem;
  455. }
  456. .tree-folder-title .title {
  457. background: inherit;
  458. color: #fff;
  459. }
  460. .tree-folder-title .title:hover {
  461. text-decoration: none;
  462. }
  463. .tree-folder.active .tree-folder-title {
  464. background: #2980b9;
  465. font-weight: bold;
  466. }
  467. .tree-folder-items {
  468. background: #2c3e50;
  469. }
  470. .tree-folder-items > .item {
  471. padding: 0 10px;
  472. line-height: 2.5rem;
  473. font-size: 0.8rem;
  474. }
  475. .tree-folder-items > .item.active {
  476. background: #2980b9;
  477. }
  478. .tree-folder-items > .item > a {
  479. text-decoration: none;
  480. color: #fff;
  481. }
  482. /*=== STRUCTURE */
  483. /*===============*/
  484. /*=== Header */
  485. .header {
  486. height: 85px;
  487. background: #ecf0f1;
  488. }
  489. .header > .item {
  490. padding: 10px;
  491. vertical-align: middle;
  492. text-align: center;
  493. }
  494. .header > .item.title{
  495. width: 230px;
  496. }
  497. .header > .item.title h1 {
  498. margin: 0.5em 0;
  499. }
  500. .header > .item.title h1 a {
  501. text-decoration: none;
  502. }
  503. .header > .item.search input {
  504. width: 230px;
  505. }
  506. .header .item.search input:focus {
  507. width: 350px;
  508. }
  509. /*=== Body */
  510. #global {
  511. height: calc(100% - 85px);
  512. }
  513. .aside {
  514. background: #ecf0f1;
  515. }
  516. .aside.aside_feed {
  517. padding: 10px 0;
  518. text-align: center;
  519. background: #34495e;
  520. border-radius: 0 10px 0 0;
  521. }
  522. .aside.aside_feed .tree {
  523. margin: 10px 0 50px;
  524. }
  525. /*=== Aside main page (categories) */
  526. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  527. position: absolute;
  528. right: 0;
  529. margin: 10px 0;
  530. padding: 0 10px;
  531. font-size: 0.9rem;
  532. line-height: 1.5rem;
  533. background: inherit;
  534. }
  535. /*=== Aside main page (feeds) */
  536. .feed.item.empty.active {
  537. background: #f39c12;
  538. }
  539. .feed.item.error.active {
  540. background: #bd362f;
  541. }
  542. .feed.item.empty,
  543. .feed.item.empty > a {
  544. color: #e67e22;
  545. }
  546. .feed.item.error,
  547. .feed.item.error > a {
  548. color: #bd362f;
  549. }
  550. .feed.item.empty.active,
  551. .feed.item.error.active,
  552. .feed.item.empty.active > a,
  553. .feed.item.error.active > a {
  554. color: #fff;
  555. }
  556. .aside_feed .tree-folder-items .dropdown-menu::after {
  557. left: 2px;
  558. }
  559. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  560. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  561. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  562. border-radius: 3px;
  563. }
  564. /*=== Configuration pages */
  565. .post {
  566. padding: 10px 50px;
  567. font-size: 0.9em;
  568. }
  569. .post form {
  570. margin: 10px 0;
  571. }
  572. .post.content {
  573. max-width: 550px;
  574. }
  575. /*=== Prompt (centered) */
  576. .prompt {
  577. text-align: center;
  578. }
  579. .prompt label {
  580. text-align: left;
  581. }
  582. .prompt form {
  583. margin: 10px auto 20px auto;
  584. width: 200px;
  585. }
  586. .prompt input {
  587. margin: 5px auto;
  588. width: 100%;
  589. }
  590. .prompt p {
  591. margin: 20px 0;
  592. }
  593. /*=== New article notification */
  594. #new-article {
  595. text-align: center;
  596. font-size: 0.9em;
  597. background: #3498db;
  598. }
  599. #new-article:hover {
  600. background: #2980b9;
  601. }
  602. #new-article > a {
  603. line-height: 3em;
  604. font-weight: bold;
  605. color: #fff;
  606. }
  607. #new-article > a:hover {
  608. text-decoration: none;
  609. }
  610. /*=== Day indication */
  611. .day {
  612. padding: 0 10px;
  613. font-weight: bold;
  614. line-height: 3em;
  615. border-left: 2px solid #ecf0f1;
  616. }
  617. .day .name {
  618. padding: 0 10px 0 0;
  619. font-size: 1.8em;
  620. opacity: 0.3;
  621. font-style: italic;
  622. text-align: right;
  623. color: #aab;
  624. }
  625. /*=== Index menu */
  626. .nav_menu {
  627. text-align: center;
  628. padding: 5px 0;
  629. }
  630. #dropdown-query ~ .dropdown-menu .dropdown-header .icon {
  631. vertical-align: middle;
  632. background-color: #95a5a6;
  633. border-radius: 3px;
  634. }
  635. /*=== Feed articles */
  636. .flux {
  637. border-left: 2px solid #ecf0f1;
  638. }
  639. .flux:hover {
  640. background: #fff;
  641. }
  642. .flux.current {
  643. border-left-color: #3498db;
  644. }
  645. .flux.not_read {
  646. background: #FFF3ED;
  647. border-left-color: #FF5300;
  648. }
  649. .flux.not_read:not(.current):hover .item.title {
  650. background: #FFF3ED;
  651. }
  652. .flux.favorite {
  653. background: #FFF6DA;
  654. border-left-color: #FFC300;
  655. }
  656. .flux.favorite:not(.current):hover .item.title {
  657. background: #FFF6DA;
  658. }
  659. .flux.current {
  660. background: #fff;
  661. }
  662. .flux_header {
  663. font-size: 0.8rem;
  664. cursor: pointer;
  665. border-top: 1px solid #ecf0f1;
  666. }
  667. .flux_header .title {
  668. font-size: 0.9rem;
  669. }
  670. .flux .website .favicon {
  671. padding: 5px;
  672. }
  673. .flux .date {
  674. font-size: 0.7rem;
  675. color: #666;
  676. }
  677. .flux .bottom {
  678. font-size: 0.8rem;
  679. text-align: center;
  680. }
  681. /*=== Content of feed articles */
  682. .content {
  683. padding: 20px 10px;
  684. }
  685. .content > h1.title > a {
  686. color: #000;
  687. }
  688. .content hr {
  689. margin: 30px 10px;
  690. height: 1px;
  691. background: #ddd;
  692. border: 0;
  693. box-shadow: 0 2px 5px #ccc;
  694. }
  695. .content pre {
  696. margin: 10px auto;
  697. padding: 10px 20px;
  698. overflow: auto;
  699. background: #222;
  700. color: #fff;
  701. font-size: 0.9rem;
  702. border-radius: 3px;
  703. }
  704. .content code {
  705. padding: 2px 5px;
  706. color: #dd1144;
  707. background: #fafafa;
  708. border: 1px solid #eee;
  709. border-radius: 3px;
  710. }
  711. .content pre code {
  712. background: transparent;
  713. color: #fff;
  714. border: none;
  715. }
  716. .content blockquote {
  717. display: block;
  718. margin: 0;
  719. padding: 5px 20px;
  720. border-top: 1px solid #ddd;
  721. border-bottom: 1px solid #ddd;
  722. background: #fafafa;
  723. color: #333;
  724. }
  725. .content blockquote p {
  726. margin: 0;
  727. }
  728. /*=== Notification and actualize notification */
  729. .notification {
  730. padding: 0 0 0 5px;
  731. text-align: center;
  732. font-weight: bold;
  733. font-size: 0.9em;
  734. line-height: 3em;
  735. z-index: 10;
  736. vertical-align: middle;
  737. background: #ddd;
  738. color: #666;
  739. border-radius: 3px;
  740. border: none;
  741. }
  742. .notification.good {
  743. background: #1abc9c;
  744. color: #fff;
  745. }
  746. .notification.bad {
  747. background: #e74c3c;
  748. color: #fff;
  749. }
  750. .notification a.close {
  751. padding: 0 15px;
  752. line-height: 3em;
  753. border-radius: 0 3px 3px 0;
  754. }
  755. .notification.good a.close:hover {
  756. background: #16a085;
  757. }
  758. .notification.bad a.close:hover {
  759. background: #c0392b;
  760. }
  761. .notification#actualizeProgress {
  762. line-height: 2em;
  763. }
  764. /*=== "Load more" part */
  765. #bigMarkAsRead {
  766. text-align: center;
  767. text-decoration: none;
  768. background: #ecf0f1;
  769. }
  770. #bigMarkAsRead:hover {
  771. background: #34495e;
  772. color: #fff;
  773. }
  774. /*=== Navigation menu (for articles) */
  775. #nav_entries {
  776. margin: 0;
  777. text-align: center;
  778. line-height: 3em;
  779. table-layout: fixed;
  780. background: #34495e;
  781. }
  782. /*=== READER VIEW */
  783. /*================*/
  784. #stream.reader .flux {
  785. padding: 0 0 50px;
  786. background: #ecf0f1;
  787. color: #34495e;
  788. border: none;
  789. }
  790. #stream.reader .flux .author {
  791. margin: 0 0 10px;
  792. font-size: 90%;
  793. color: #999;
  794. }
  795. /*=== GLOBAL VIEW */
  796. /*================*/
  797. .box.category .box-title .title {
  798. font-weight: normal;
  799. text-decoration: none;
  800. text-align: left;
  801. }
  802. .box.category:not([data-unread="0"]) .box-title {
  803. background: #3498db;
  804. }
  805. .box.category:not([data-unread="0"]) .box-title:active {
  806. background: #2980b9;
  807. }
  808. .box.category:not([data-unread="0"]) .box-title .title {
  809. font-weight: bold;
  810. color: #fff;
  811. }
  812. .box.category .title:not([data-unread="0"])::after {
  813. position: absolute;
  814. top: 5px; right: 10px;
  815. border: 0;
  816. background: none;
  817. font-weight: bold;
  818. box-shadow: none;
  819. text-shadow: none;
  820. }
  821. .box.category .item.feed {
  822. padding: 2px 10px;
  823. font-size: 0.8rem;
  824. }
  825. /*=== DIVERS */
  826. /*===========*/
  827. .aside.aside_feed .nav-form input,
  828. .aside.aside_feed .nav-form select {
  829. width: 140px;
  830. }
  831. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  832. right: -20px;
  833. }
  834. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  835. right: 33px;
  836. }
  837. /*=== STATISTICS */
  838. /*===============*/
  839. .stat {
  840. margin: 10px 0 20px;
  841. }
  842. .stat th,
  843. .stat td,
  844. .stat tr {
  845. border: none;
  846. }
  847. .stat > table td,
  848. .stat > table th {
  849. border-bottom: 1px solid #ddd;
  850. }
  851. .stat > .horizontal-list {
  852. margin: 0 0 5px;
  853. }
  854. .stat > .horizontal-list .item {
  855. overflow: hidden;
  856. white-space: nowrap;
  857. text-overflow: ellipsis;
  858. }
  859. .stat > .horizontal-list .item:first-child {
  860. width: 270px;
  861. }
  862. /*=== LOGS */
  863. /*=========*/
  864. .loglist {
  865. overflow: hidden;
  866. border: 1px solid #aaa;
  867. }
  868. .log {
  869. margin: 10px 0;
  870. padding: 5px 2%;
  871. overflow: auto;
  872. font-size: 0.8rem;
  873. background: #fafafa;
  874. color: #666;
  875. }
  876. .log > .date {
  877. margin: 0 10px 0 0;
  878. padding: 5px 10px;
  879. border-radius: 20px;
  880. }
  881. .log.error > .date {
  882. background: #e74c3c;
  883. color: #fff;
  884. }
  885. .log.warning > .date {
  886. background: #f39c12;
  887. }
  888. .log.notice > .date {
  889. background: #ecf0f1;
  890. }
  891. .log.debug > .date {
  892. background: #111;
  893. color: #eee;
  894. }
  895. /*=== MOBILE */
  896. /*===========*/
  897. @media(max-width: 840px) {
  898. .aside {
  899. transition: width 200ms linear;
  900. -moz-transition: width 200ms linear;
  901. -webkit-transition: width 200ms linear;
  902. -o-transition: width 200ms linear;
  903. -ms-transition: width 200ms linear;
  904. }
  905. .aside .toggle_aside,
  906. #panel .close {
  907. display: block;
  908. width: 100%;
  909. height: 50px;
  910. line-height: 50px;
  911. text-align: center;
  912. background: #2c3e50;
  913. }
  914. .aside.aside_feed {
  915. padding: 0;
  916. }
  917. .nav_menu .btn {
  918. margin: 5px 10px;
  919. }
  920. .nav_menu .stick {
  921. margin: 0 10px;
  922. }
  923. .nav_menu .stick .btn {
  924. margin: 5px 0;
  925. }
  926. .nav_menu .search {
  927. display: inline-block;
  928. max-width: 97%;
  929. }
  930. .nav_menu .search input {
  931. max-width: 97%;
  932. width: 90px;
  933. }
  934. .nav_menu .search input:focus {
  935. width: 400px;
  936. }
  937. .day .name {
  938. font-size: 1.1rem;
  939. }
  940. .pagination {
  941. margin: 0 0 3.5em;
  942. }
  943. .notification {
  944. border-radius: 0;
  945. }
  946. .notification a.close {
  947. display: block;
  948. left: 0;
  949. background: transparent;
  950. }
  951. .notification a.close:hover {
  952. opacity: 0.5;
  953. }
  954. .notification a.close .icon {
  955. display: none;
  956. }
  957. }