screwdriver.css 23 KB

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