screwdriver.css 23 KB

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