screwdriver.css 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356
  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.not_read:not(.current):hover .item.title {
  736. opacity: 0.85;
  737. }
  738. .flux.favorite {
  739. background: #fff6da;
  740. }
  741. .flux.favorite:not(.current):hover {
  742. background: #f9f7f4;
  743. }
  744. .flux.favorite:not(.current):hover .item.title {
  745. background: #f9f7f4;
  746. }
  747. .flux.current {
  748. margin: 3px 6px;
  749. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  750. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  751. border-radius: 10px;
  752. box-shadow: 0 -1px #fff inset, 0 2px #ccc;
  753. }
  754. .flux .item.title {
  755. opacity: 0.35;
  756. }
  757. .flux.favorite .item.title {
  758. opacity: 1;
  759. }
  760. .flux.not_read .item.title {
  761. opacity: 1;
  762. }
  763. .flux.current .item.title a {
  764. color: #0f0f0f;
  765. }
  766. .flux .item.title a {
  767. color: #333;
  768. }
  769. .flux_header {
  770. font-size: 0.8rem;
  771. border-top: 1px solid #ddd;
  772. box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
  773. cursor: pointer;
  774. }
  775. .flux_header .title {
  776. font-size: 0.9rem;
  777. }
  778. .flux .website .favicon {
  779. padding: 5px;
  780. }
  781. .flux .date {
  782. color: #666;
  783. font-size: 0.7rem;
  784. }
  785. .flux .bottom {
  786. font-size: 0.8rem;
  787. text-align: center;
  788. }
  789. /*=== Content of feed articles */
  790. .content {
  791. padding: 20px 10px;
  792. }
  793. .content > h1.title > a {
  794. color: #000;
  795. }
  796. .content hr {
  797. margin: 30px 10px;
  798. background: #ddd;
  799. height: 1px;
  800. border: 0;
  801. box-shadow: 0 2px 5px #ccc;
  802. }
  803. .content pre {
  804. margin: 10px auto;
  805. padding: 10px 20px;
  806. overflow: auto;
  807. background: #222;
  808. color: #fff;
  809. font-size: 0.9rem;
  810. border-radius: 3px;
  811. }
  812. .content code {
  813. padding: 2px 5px;
  814. background: #fafafa;
  815. color: #d14;
  816. border: 1px solid #eee;
  817. border-radius: 3px;
  818. }
  819. .content pre code {
  820. background: transparent;
  821. color: #fff;
  822. border: none;
  823. }
  824. .content blockquote {
  825. margin: 0;
  826. padding: 5px 20px;
  827. background: #fafafa;
  828. display: block;
  829. color: #333;
  830. border-top: 1px solid #ddd;
  831. border-bottom: 1px solid #ddd;
  832. }
  833. .content blockquote p {
  834. margin: 0;
  835. }
  836. /*=== Notification and actualize notification */
  837. .notification {
  838. padding: 0 0 0 5px;
  839. background: #222;
  840. color: #fff;
  841. font-size: 0.9em;
  842. border: none;
  843. border-radius: 0 0 12px 12px;
  844. 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;
  845. text-align: center;
  846. font-weight: bold;
  847. line-height: 3em;
  848. position: absolute;
  849. top: 0;
  850. z-index: 10;
  851. vertical-align: middle;
  852. }
  853. .notification.good {
  854. color: #c95;
  855. }
  856. .notification.bad {
  857. background: #fdd;
  858. color: #844;
  859. }
  860. .notification a.close {
  861. padding: 0 15px;
  862. line-height: 3em;
  863. }
  864. .notification#actualizeProgress {
  865. line-height: 2em;
  866. }
  867. /*=== "Load more" part */
  868. #bigMarkAsRead {
  869. background: #ede7de;
  870. color: #666;
  871. box-shadow: 0 1px rgba(255,255,255,0.28)inset;
  872. text-align: center;
  873. text-decoration: none;
  874. text-shadow: 0 -1px 0 #aaa;
  875. }
  876. #bigMarkAsRead:hover {
  877. background: #ede7de;
  878. background: radial-gradient(circle at 50% -25% , #ccc 0%, #ede7de 50%);
  879. color: #000;
  880. }
  881. #bigMarkAsRead:hover .bigTick {
  882. text-shadow: 0 0 10px #666;
  883. }
  884. /*=== Navigation menu (for articles) */
  885. #nav_entries {
  886. background: linear-gradient(180deg, #222 0%, #171717 100%) #222;
  887. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  888. width: 235px;
  889. border-top: 1px solid #171717;
  890. box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
  891. text-align: center;
  892. line-height: 3em;
  893. table-layout: fixed;
  894. }
  895. /*=== READER VIEW */
  896. /*================*/
  897. #stream.reader .flux {
  898. padding: 0 0 50px;
  899. background: #f0f0f0;
  900. color: #333;
  901. border: none;
  902. }
  903. #stream.reader .flux .author {
  904. margin: 0 0 10px;
  905. color: #666;
  906. font-size: 90%;
  907. }
  908. /*=== GLOBAL VIEW */
  909. /*================*/
  910. #stream.global {
  911. padding: 24px 0;
  912. box-shadow: 0px 8px 8px #c2bcb3 inset;
  913. }
  914. .box.category .box-title {
  915. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
  916. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  917. font-size: 1.2rem;
  918. border-radius: none;
  919. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  920. line-height: 2em;
  921. text-shadow: 0 1px #ccc;
  922. }
  923. .box.category .box-title .title {
  924. font-weight: normal;
  925. text-decoration: none;
  926. text-align: left;
  927. color: #888;
  928. }
  929. .box.category:not([data-unread="0"]) .box-title .title {
  930. color: #222;
  931. font-weight: bold;
  932. }
  933. .box.category .title:not([data-unread="0"])::after {
  934. background: none;
  935. border: 0;
  936. position: absolute;
  937. top: 5px; right: 10px;
  938. font-weight: bold;
  939. }
  940. .box.category .item.feed {
  941. padding: 2px 10px;
  942. font-size: 0.8rem;
  943. }
  944. .box.category .item.feed:not(.empty):not(.error) .item-title {
  945. color: #222;
  946. }
  947. /*=== PANEL */
  948. /*===========*/
  949. #panel {
  950. background: #ede7de;
  951. border-radius: 8px;
  952. box-shadow: 0px 0px 4px #000;
  953. }
  954. /*=== DIVERS */
  955. /*===========*/
  956. .aside.aside_feed .nav-form input,.aside.aside_feed .nav-form select {
  957. width: 130px;
  958. }
  959. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  960. right: -20px;
  961. }
  962. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  963. right: 33px;
  964. }
  965. /*=== STATISTICS */
  966. /*===============*/
  967. .stat {
  968. margin: 10px 0 20px;
  969. }
  970. .stat th,
  971. .stat td,
  972. .stat tr {
  973. border: none;
  974. }
  975. .stat > table td,
  976. .stat > table th {
  977. background: rgba(255,255,255,0.38);
  978. border-bottom: 1px solid #ccc;
  979. box-shadow: 0 1px #fff;
  980. }
  981. .stat > .horizontal-list {
  982. margin: 0 0 5px;
  983. }
  984. .stat > .horizontal-list .item {
  985. overflow: hidden;
  986. white-space: nowrap;
  987. text-overflow: ellipsis;
  988. }
  989. .stat > .horizontal-list .item:first-child {
  990. width: 250px;
  991. }
  992. /*=== LOGS */
  993. /*=========*/
  994. .loglist {
  995. border: 1px solid #aaa;
  996. border-radius: 5px;
  997. overflow: hidden;
  998. }
  999. .log {
  1000. padding: 5px 10px;
  1001. background: #fafafa;
  1002. color: #333;
  1003. font-size: 0.8rem;
  1004. }
  1005. .log+.log {
  1006. border-top: 1px solid #aaa;
  1007. }
  1008. .log .date {
  1009. display: block;
  1010. font-weight: bold;
  1011. }
  1012. .log.error {
  1013. background: #fdd;
  1014. color: #844;
  1015. }
  1016. .log.warning {
  1017. background: #ffe;
  1018. color: #c95;
  1019. }
  1020. .log.notice {
  1021. background: #f4f4f4;
  1022. color: #aaa;
  1023. }
  1024. .log.debug {
  1025. background: #333;
  1026. color: #eee;
  1027. }
  1028. #slider.active {
  1029. background: #f8f8f8;
  1030. box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
  1031. }
  1032. #close-slider.active {
  1033. background: rgba(15, 15, 15, 0.35);
  1034. }
  1035. /*=== MOBILE */
  1036. /*===========*/
  1037. @media screen and (max-width: 840px) {
  1038. .header {
  1039. display: table;
  1040. }
  1041. .nav-login {
  1042. display: none;
  1043. }
  1044. .aside {
  1045. width: 0;
  1046. border-top: none;
  1047. box-shadow: 3px 0 3px #000;
  1048. transition: width 200ms linear;
  1049. }
  1050. .aside:target {
  1051. width: 235px;
  1052. }
  1053. .aside .toggle_aside,
  1054. #panel .close {
  1055. background: #171717;
  1056. display: block;
  1057. width: 100%;
  1058. height: 40px;
  1059. border-radius: 0 8px 0 8px;
  1060. box-shadow: 0 1px rgba(255,255,255,0.08);
  1061. line-height: 40px;
  1062. text-align: center;
  1063. }
  1064. .aside .btn-important {
  1065. margin: 20px 0 0;
  1066. display: inline-block;
  1067. }
  1068. .aside.aside_feed {
  1069. padding: 0;
  1070. }
  1071. .nav_menu .btn {
  1072. margin: 5px 10px;
  1073. }
  1074. .nav_menu .stick {
  1075. margin: 0 10px;
  1076. }
  1077. .nav_menu .stick .btn {
  1078. margin: 5px 0;
  1079. }
  1080. .nav_menu .search {
  1081. display: none;
  1082. }
  1083. .nav_menu .search input {
  1084. max-width: 97%;
  1085. width: 90px;
  1086. }
  1087. .nav_menu .search input:focus {
  1088. width: 400px;
  1089. }
  1090. .day .name {
  1091. display: none;
  1092. }
  1093. .pagination {
  1094. margin: 0 0 3.5em;
  1095. }
  1096. .notification a.close {
  1097. background: transparent;
  1098. display: block;
  1099. left: 0;
  1100. }
  1101. .notification a.close:hover {
  1102. opacity: 0.5;
  1103. }
  1104. .notification a.close .icon {
  1105. display: none;
  1106. }
  1107. #nav_entries {
  1108. width: 100%;
  1109. }
  1110. }
  1111. @media (max-width: 700px) {
  1112. .header {
  1113. display: none;
  1114. }
  1115. .nav-login {
  1116. display: inline-block;
  1117. width: 100%;
  1118. }
  1119. .nav_menu .search {
  1120. display: inline-block;
  1121. }
  1122. .aside .btn-important {
  1123. display: none;
  1124. }
  1125. }