screwdriver.css 23 KB

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