screwdriver.css 22 KB

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