screwdriver.css 23 KB

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