origine-compact.css 20 KB

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