flat.css 17 KB

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