screwdriver.css 23 KB

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