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