origine.css 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220
  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:not([data-unread="0"]) .box-title {
  833. background: #0084cc;
  834. }
  835. .box.category .box-title .title {
  836. display: block;
  837. font-weight: normal;
  838. }
  839. .box.category:not([data-unread="0"]) .box-title .title {
  840. color: #fff;
  841. font-weight: bold;
  842. }
  843. .box.category .title:not([data-unread="0"])::after {
  844. background: none;
  845. color: #fff;
  846. border: 0;
  847. box-shadow: none;
  848. position: absolute;
  849. top: 5px; right: 10px;
  850. font-weight: bold;
  851. text-shadow: none;
  852. }
  853. .box.category .item.feed {
  854. padding: 2px 10px;
  855. font-size: 0.8rem;
  856. }
  857. /*=== DIVERS */
  858. /*===========*/
  859. .aside.aside_feed .nav-form input,
  860. .aside.aside_feed .nav-form select {
  861. width: 140px;
  862. }
  863. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  864. right: -20px;
  865. }
  866. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  867. right: 33px;
  868. }
  869. /*=== STATISTICS */
  870. /*===============*/
  871. .stat {
  872. margin: 10px 0 20px;
  873. }
  874. .stat th,
  875. .stat td,
  876. .stat tr {
  877. border: none;
  878. }
  879. .stat > table td,
  880. .stat > table th {
  881. border-bottom: 1px solid #ddd;
  882. }
  883. .stat > .horizontal-list {
  884. margin: 0 0 5px;
  885. }
  886. .stat > .horizontal-list .item {
  887. overflow: hidden;
  888. white-space: nowrap;
  889. text-overflow: ellipsis;
  890. }
  891. .stat > .horizontal-list .item:first-child {
  892. width: 270px;
  893. }
  894. /*=== LOGS */
  895. /*=========*/
  896. .loglist {
  897. border: 1px solid #aaa;
  898. border-radius: 5px;
  899. overflow: hidden;
  900. }
  901. .log {
  902. padding: 5px 10px;
  903. background: #fafafa;
  904. color: #333;
  905. font-size: 0.8rem;
  906. }
  907. .log+.log {
  908. border-top: 1px solid #aaa;
  909. }
  910. .log .date {
  911. display: block;
  912. font-weight: bold;
  913. }
  914. .log.error {
  915. background: #fdd;
  916. color: #844;
  917. }
  918. .log.warning {
  919. background: #ffe;
  920. color: #c95;
  921. }
  922. .log.notice {
  923. background: #f4f4f4;
  924. color: #aaa;
  925. }
  926. .log.debug {
  927. background: #333;
  928. color: #eee;
  929. }
  930. /*=== MOBILE */
  931. /*===========*/
  932. @media (max-width: 840px) {
  933. .form-group .group-name {
  934. padding-bottom: 0;
  935. text-align: left;
  936. }
  937. .aside {
  938. transition: width 200ms linear;
  939. }
  940. .aside:target {
  941. box-shadow: 3px 0 3px #aaa;
  942. }
  943. .aside .toggle_aside,
  944. #panel .close,
  945. .dropdown-menu .toggle_aside {
  946. background: #f6f6f6;
  947. display: block;
  948. width: 100%;
  949. height: 50px;
  950. border-bottom: 1px solid #ddd;
  951. line-height: 50px;
  952. text-align: center;
  953. }
  954. .aside.aside_feed {
  955. padding: 0;
  956. }
  957. .post {
  958. padding-left: 15px;
  959. padding-right: 15px;
  960. }
  961. .nav_menu .btn {
  962. margin: 5px 10px;
  963. padding: 3px 5px;
  964. min-height: 0;
  965. }
  966. .nav_menu .stick {
  967. margin: 0 10px;
  968. }
  969. .nav_menu .stick .btn {
  970. margin: 5px 0;
  971. }
  972. .nav_menu .search {
  973. display: inline-block;
  974. max-width: 97%;
  975. }
  976. .nav_menu .search input {
  977. padding: 3px 5px;
  978. max-width: 97%;
  979. width: 90px;
  980. line-height: 2;
  981. }
  982. .nav_menu .search input:focus {
  983. width: 400px;
  984. }
  985. .form-group.form-actions {
  986. margin-left: -15px;
  987. margin-right: -15px;
  988. padding-left: 15px;
  989. padding-right: 15px;
  990. }
  991. .day .name {
  992. font-size: 1.1rem;
  993. text-shadow: none;
  994. }
  995. .pagination {
  996. margin: 0 0 3.5em;
  997. }
  998. .notification a.close {
  999. background: transparent;
  1000. display: block;
  1001. left: 0;
  1002. }
  1003. .notification a.close:hover {
  1004. opacity: 0.5;
  1005. }
  1006. .notification a.close .icon {
  1007. display: none;
  1008. }
  1009. }