screwdriver.css 23 KB

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