origine.css 18 KB

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