screwdriver.css 21 KB

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