origine.css 18 KB

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