flat.css 17 KB

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