screwdriver.css 22 KB

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