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