origine-compact.css 20 KB

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