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_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  565. position: absolute;
  566. right: 3px;
  567. padding: 1px 5px;
  568. color: #fff;
  569. text-shadow: 0 1px rgba(255,255,255,0.08);
  570. }
  571. .aside_feed .btn-important {
  572. border: none;
  573. }
  574. /*=== Aside main page (feeds) */
  575. .feed.item.empty,
  576. .feed.item.empty > a {
  577. color: #e67e22;
  578. }
  579. .feed.item.error,
  580. .feed.item.error > a {
  581. color: #bd362f;
  582. }
  583. .aside_feed .tree-folder-items .dropdown-menu::after {
  584. left: 2px;
  585. }
  586. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  587. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  588. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  589. border-radius: 3px;
  590. }
  591. /*=== Configuration pages */
  592. .post {
  593. padding: 10px 50px;
  594. font-size: 0.9em;
  595. }
  596. .post form {
  597. margin: 10px 0;
  598. }
  599. .post.content {
  600. max-width: 550px;
  601. }
  602. /*=== Prompt (centered) */
  603. .prompt {
  604. max-width: 20rem;
  605. margin-left: auto;
  606. margin-right: auto;
  607. padding-left: .5rem;
  608. padding-right: .5rem;
  609. text-align: center;
  610. text-shadow: 0 1px rgba(255,255,255,0.08);
  611. }
  612. .prompt form {
  613. margin-top: 2rem;
  614. margin-bottom: 3rem;
  615. text-align: left;
  616. }
  617. .prompt .form-group {
  618. margin-bottom: 1rem;
  619. }
  620. .prompt .form-group::after {
  621. display: none;
  622. }
  623. .prompt .form-group.form-group-actions {
  624. display: flex;
  625. margin-top: 2rem;
  626. align-items: center;
  627. justify-content: space-between;
  628. }
  629. .prompt .stick,
  630. .prompt input {
  631. width: 100%;
  632. box-sizing: border-box;
  633. }
  634. .prompt input#username,.prompt input#passwordPlain {
  635. background: #fff;
  636. border: solid 1px #ccc;
  637. box-shadow: 0 4px -4px #ccc inset,0px 1px rgba(255, 255, 255, 0.08);
  638. }
  639. .prompt input#username:focus,.prompt input#passwordPlain:focus {
  640. border: solid 1px #e7ab34;
  641. box-shadow: 0 0 3px #e7ab34;
  642. }
  643. .prompt .btn.btn-important {
  644. padding-left: 1.5rem;
  645. padding-right: 1.5rem;
  646. font-size: 1.1rem;
  647. }
  648. .prompt p {
  649. margin: 20px 0;
  650. }
  651. /*=== New article notification */
  652. #new-article {
  653. background: #0084cc;
  654. text-align: center;
  655. font-size: 0.9em;
  656. }
  657. #new-article:hover {
  658. background: #06c;
  659. }
  660. #new-article > a {
  661. line-height: 3em;
  662. color: #fff;
  663. font-weight: bold;
  664. }
  665. #new-article > a:hover {
  666. text-decoration: none;
  667. }
  668. /*=== Day indication */
  669. .day {
  670. padding: 0 10px;
  671. background: linear-gradient(0deg, #ede7de 0%, #c2bcb3 100%) #ede7de;
  672. background: -webkit-linear-gradient(bottom, #c2bcb3 0%, #fff 100%);
  673. color: #666;
  674. box-shadow: 0 1px #bdb7ae inset, 0 -1px rgba(255,255,255,0.28) inset;
  675. font-style: italic;
  676. line-height: 3em;
  677. text-shadow: 0 1px rgba(255,255,255,0.28);
  678. text-align: center;
  679. }
  680. #new-article + .day {
  681. border-top: none;
  682. }
  683. .day .name {
  684. display: none;
  685. }
  686. /*=== Index menu */
  687. .nav_menu {
  688. padding: 5px 0;
  689. background: #ede7de;
  690. border-bottom: 1px solid #ccc;
  691. box-shadow: 0 -1px rgba(255, 255, 255, 0.28) inset;
  692. text-align: center;
  693. }
  694. #panel >.nav_menu {
  695. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  696. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  697. }
  698. #panel > .nav_menu > #nav_menu_read_all {
  699. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  700. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  701. border: 1px solid #ccc;
  702. border-radius: 4px;
  703. box-shadow: 0px 1px #fff;
  704. }
  705. #panel > .nav_menu > #nav_menu_read_all .dropdown > .btn.dropdown-toggle {
  706. border: none;
  707. border-left: solid 1px #ccc;
  708. border-radius: 0 4px 4px 0;
  709. }
  710. /*=== Feed articles */
  711. .flux_content {
  712. background: #fff;
  713. border-radius: 10px;
  714. }
  715. .flux {
  716. background: #ede7de;
  717. }
  718. .flux:hover {
  719. background: #f9f7f4;
  720. }
  721. .flux:not(.current):hover .item.title {
  722. background: #f9f7f4;
  723. }
  724. .flux.current .flux .item.title a {
  725. text-shadow: 0 0 2px #ccc;
  726. }
  727. .flux.favorite {
  728. background: #fff6da;
  729. }
  730. .flux.favorite:not(.current):hover {
  731. background: #f9f7f4;
  732. }
  733. .flux.favorite:not(.current):hover .item.title {
  734. background: #f9f7f4;
  735. }
  736. .flux.current {
  737. margin: 3px 6px;
  738. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  739. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  740. border-radius: 10px;
  741. box-shadow: 0 -1px #fff inset, 0 2px #ccc;
  742. }
  743. .flux .item.title a {
  744. color: #aca8a3;
  745. }
  746. .flux.not_read .item.title a,
  747. .flux.favorite .item.title a {
  748. color: #333;
  749. }
  750. .flux.not_read:not(.current):hover .item.title a {
  751. color: #50504f;
  752. }
  753. .flux.current .item.title a {
  754. color: #0f0f0f;
  755. }
  756. .flux_header {
  757. font-size: 0.8rem;
  758. border-top: 1px solid #ddd;
  759. box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
  760. cursor: pointer;
  761. }
  762. .flux_header .title {
  763. font-size: 0.9rem;
  764. }
  765. .flux .website .favicon {
  766. padding: 5px;
  767. }
  768. .flux .item.date {
  769. color: #666;
  770. font-size: 0.7rem;
  771. }
  772. .flux .bottom {
  773. font-size: 0.8rem;
  774. text-align: center;
  775. }
  776. /*=== Content of feed articles */
  777. .content {
  778. padding: 20px 10px;
  779. }
  780. .content > h1.title > a {
  781. color: #000;
  782. }
  783. .content hr {
  784. margin: 30px 10px;
  785. background: #ddd;
  786. height: 1px;
  787. border: 0;
  788. box-shadow: 0 2px 5px #ccc;
  789. }
  790. .content pre {
  791. margin: 10px auto;
  792. padding: 10px 20px;
  793. overflow: auto;
  794. background: #222;
  795. color: #fff;
  796. font-size: 0.9rem;
  797. border-radius: 3px;
  798. }
  799. .content code {
  800. padding: 2px 5px;
  801. background: #fafafa;
  802. color: #d14;
  803. border: 1px solid #eee;
  804. border-radius: 3px;
  805. }
  806. .content pre code {
  807. background: transparent;
  808. color: #fff;
  809. border: none;
  810. }
  811. .content blockquote {
  812. margin: 0;
  813. padding: 5px 20px;
  814. background: #fafafa;
  815. display: block;
  816. color: #333;
  817. border-top: 1px solid #ddd;
  818. border-bottom: 1px solid #ddd;
  819. }
  820. .content blockquote p {
  821. margin: 0;
  822. }
  823. /*=== Notification and actualize notification */
  824. .notification {
  825. padding: 0 0 0 5px;
  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. line-height: 3em;
  835. position: absolute;
  836. top: 0;
  837. z-index: 10;
  838. vertical-align: middle;
  839. }
  840. .notification.good {
  841. color: #c95;
  842. }
  843. .notification.bad {
  844. background: #fdd;
  845. color: #844;
  846. }
  847. .notification a.close {
  848. padding: 0 15px;
  849. line-height: 3em;
  850. }
  851. .notification#actualizeProgress {
  852. line-height: 2em;
  853. }
  854. /*=== "Load more" part */
  855. #bigMarkAsRead {
  856. background: #ede7de;
  857. color: #666;
  858. box-shadow: 0 1px rgba(255,255,255,0.28)inset;
  859. text-align: center;
  860. text-decoration: none;
  861. text-shadow: 0 -1px 0 #aaa;
  862. }
  863. #bigMarkAsRead:hover {
  864. background: #ede7de;
  865. background: radial-gradient(circle at 50% -25% , #ccc 0%, #ede7de 50%);
  866. color: #000;
  867. }
  868. #bigMarkAsRead:hover .bigTick {
  869. text-shadow: 0 0 10px #666;
  870. }
  871. /*=== Navigation menu (for articles) */
  872. #nav_entries {
  873. background: linear-gradient(180deg, #222 0%, #171717 100%) #222;
  874. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  875. width: 235px;
  876. border-top: 1px solid #171717;
  877. box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
  878. text-align: center;
  879. line-height: 3em;
  880. table-layout: fixed;
  881. }
  882. /*=== READER VIEW */
  883. /*================*/
  884. #stream.reader .flux {
  885. padding: 0 0 50px;
  886. background: #f0f0f0;
  887. color: #333;
  888. border: none;
  889. }
  890. #stream.reader .flux .author {
  891. margin: 0 0 10px;
  892. color: #666;
  893. font-size: 90%;
  894. }
  895. /*=== GLOBAL VIEW */
  896. /*================*/
  897. #stream.global {
  898. padding: 24px 0;
  899. box-shadow: 0px 8px 8px #c2bcb3 inset;
  900. }
  901. .box.category .box-title {
  902. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
  903. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  904. font-size: 1.2rem;
  905. border-radius: none;
  906. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  907. line-height: 2em;
  908. text-shadow: 0 1px #ccc;
  909. }
  910. .box.category .box-title .title {
  911. font-weight: normal;
  912. text-decoration: none;
  913. text-align: left;
  914. color: #888;
  915. }
  916. .box.category:not([data-unread="0"]) .box-title .title {
  917. color: #222;
  918. font-weight: bold;
  919. }
  920. .box.category .title:not([data-unread="0"])::after {
  921. background: none;
  922. border: 0;
  923. position: absolute;
  924. top: 5px; right: 10px;
  925. font-weight: bold;
  926. }
  927. .box.category .item.feed {
  928. padding: 2px 10px;
  929. font-size: 0.8rem;
  930. }
  931. .box.category .item.feed:not(.empty):not(.error) .item-title {
  932. color: #222;
  933. }
  934. /*=== PANEL */
  935. /*===========*/
  936. #panel {
  937. background: #ede7de;
  938. border-radius: 8px;
  939. box-shadow: 0px 0px 4px #000;
  940. }
  941. /*=== DIVERS */
  942. /*===========*/
  943. .aside.aside_feed .nav-form input,.aside.aside_feed .nav-form select {
  944. width: 130px;
  945. }
  946. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  947. right: -20px;
  948. }
  949. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  950. right: 33px;
  951. }
  952. /*=== STATISTICS */
  953. /*===============*/
  954. .stat {
  955. margin: 10px 0 20px;
  956. }
  957. .stat th,
  958. .stat td,
  959. .stat tr {
  960. border: none;
  961. }
  962. .stat > table td,
  963. .stat > table th {
  964. background: rgba(255,255,255,0.38);
  965. border-bottom: 1px solid #ccc;
  966. box-shadow: 0 1px #fff;
  967. }
  968. .stat > .horizontal-list {
  969. margin: 0 0 5px;
  970. }
  971. .stat > .horizontal-list .item {
  972. overflow: hidden;
  973. white-space: nowrap;
  974. text-overflow: ellipsis;
  975. }
  976. .stat > .horizontal-list .item:first-child {
  977. width: 250px;
  978. }
  979. /*=== LOGS */
  980. /*=========*/
  981. .loglist {
  982. border: 1px solid #aaa;
  983. border-radius: 5px;
  984. overflow: hidden;
  985. }
  986. .log {
  987. padding: 5px 10px;
  988. background: #fafafa;
  989. color: #333;
  990. font-size: 0.8rem;
  991. }
  992. .log+.log {
  993. border-top: 1px solid #aaa;
  994. }
  995. .log .date {
  996. display: block;
  997. font-weight: bold;
  998. }
  999. .log.error {
  1000. background: #fdd;
  1001. color: #844;
  1002. }
  1003. .log.warning {
  1004. background: #ffe;
  1005. color: #c95;
  1006. }
  1007. .log.notice {
  1008. background: #f4f4f4;
  1009. color: #aaa;
  1010. }
  1011. .log.debug {
  1012. background: #333;
  1013. color: #eee;
  1014. }
  1015. #slider.active {
  1016. background: #f8f8f8;
  1017. box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
  1018. }
  1019. #close-slider.active {
  1020. background: rgba(15, 15, 15, 0.35);
  1021. }
  1022. /*=== MOBILE */
  1023. /*===========*/
  1024. @media screen and (max-width: 840px) {
  1025. .form-group .group-name {
  1026. padding-bottom: 0;
  1027. text-align: left;
  1028. }
  1029. .header {
  1030. display: table;
  1031. }
  1032. .nav-login {
  1033. display: none;
  1034. }
  1035. .aside {
  1036. width: 0;
  1037. border-top: none;
  1038. box-shadow: 3px 0 3px #000;
  1039. transition: width 200ms linear;
  1040. }
  1041. .aside:target {
  1042. width: 235px;
  1043. }
  1044. .aside .toggle_aside,
  1045. #panel .close,
  1046. .dropdown-menu .toggle_aside {
  1047. background: #171717;
  1048. display: block;
  1049. width: 100%;
  1050. height: 40px;
  1051. border-radius: 0 8px 0 8px;
  1052. box-shadow: 0 1px rgba(255,255,255,0.08);
  1053. line-height: 40px;
  1054. text-align: center;
  1055. }
  1056. .aside.aside_feed {
  1057. padding: 0;
  1058. }
  1059. .nav_menu .btn {
  1060. margin: 5px 10px;
  1061. padding: 3px 5px;
  1062. min-height: 0;
  1063. }
  1064. .nav_menu .stick {
  1065. margin: 0 10px;
  1066. }
  1067. .nav_menu .stick .btn {
  1068. margin: 5px 0;
  1069. }
  1070. .nav_menu .search {
  1071. display: none;
  1072. }
  1073. .nav_menu .search input {
  1074. padding: 3px 5px;
  1075. max-width: 97%;
  1076. width: 90px;
  1077. }
  1078. .nav_menu .search input:focus {
  1079. width: 400px;
  1080. }
  1081. .dropdown-target:target ~ .dropdown-toggle::after {
  1082. background-color: #222;
  1083. border-top: 1px solid #171717;
  1084. border-left: 1px solid #171717;
  1085. }
  1086. .day .name {
  1087. display: none;
  1088. }
  1089. .pagination {
  1090. margin: 0 0 3.5em;
  1091. }
  1092. .notification a.close {
  1093. background: transparent;
  1094. display: block;
  1095. left: 0;
  1096. }
  1097. .notification a.close:hover {
  1098. opacity: 0.5;
  1099. }
  1100. .notification a.close .icon {
  1101. display: none;
  1102. }
  1103. #nav_entries {
  1104. width: 100%;
  1105. }
  1106. .post {
  1107. padding-left: 15px;
  1108. padding-right: 15px;
  1109. }
  1110. #close-slider.active {
  1111. background: #171717;
  1112. box-shadow: 0 1px rgba(255,255,255,0.08)
  1113. }
  1114. }
  1115. @media (max-width: 700px) {
  1116. .nav-login {
  1117. display: inline-block;
  1118. width: 100%;
  1119. }
  1120. .nav_menu .search {
  1121. display: inline-block;
  1122. }
  1123. }