flat.css 18 KB

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