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-important .icon {
  205. filter: brightness(3);
  206. }
  207. .btn-attention {
  208. background: #e95b57;
  209. background: linear-gradient(to bottom, #e95b57, #bd362f);
  210. background: -webkit-linear-gradient(top, #e95b57 0%, #bd362f 100%);
  211. color: #fff;
  212. border: 1px solid #c44742;
  213. text-shadow: 0px -1px 0px #666;
  214. }
  215. .btn-attention:hover {
  216. background: linear-gradient(to bottom, #d14641, #bd362f);
  217. background: -webkit-linear-gradient(top, #d14641 0%, #bd362f 100%);
  218. }
  219. .btn-attention:active {
  220. background: #bd362f;
  221. box-shadow: none;
  222. }
  223. .btn[type="reset"] {
  224. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  225. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  226. color: #fff;
  227. box-shadow: 0 -1px rgba(255,255,255,0.08) inset;
  228. }
  229. /*=== Navigation */
  230. .nav-list .nav-header,
  231. .nav-list .item {
  232. height: 2.5em;
  233. line-height: 2.5em;
  234. font-size: 0.9rem;
  235. }
  236. .nav-list .item a:hover {
  237. text-shadow: 0 0 2px rgba(255,255,255,0.28);
  238. color: #fff;
  239. }
  240. .nav-list .item.active {
  241. margin: 0;
  242. background: linear-gradient(180deg, #222 0%, #171717 100%) repeat scroll 0% 0% #171717;
  243. background: -webkit-linear-gradient(180deg, #222 0%, #171717 100%);
  244. box-shadow: -1px 2px 2px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
  245. border-width: medium medium 1px;
  246. border-style: none none solid;
  247. border-color: -moz-use-text-color -moz-use-text-color #171717;
  248. }
  249. .nav-list .item.active a {
  250. color: #d18114;
  251. }
  252. .nav-list .disable {
  253. background: #fafafa;
  254. color: #aaa;
  255. text-align: center;
  256. }
  257. .nav-list .item > a {
  258. padding: 0 10px;
  259. color: #ccc;
  260. }
  261. .nav-list a:hover {
  262. text-decoration: none;
  263. }
  264. .nav-list .item.empty a {
  265. color: #f39c12;
  266. }
  267. .nav-list .item.active.empty a {
  268. background: linear-gradient(180deg, #e4992c 0%, #d18114 100%) #e4992c;
  269. background: -webkit-linear-gradient(180deg, #e4992c 0%, #d18114 100%);
  270. color: #fff;
  271. }
  272. .nav-list .item.error a {
  273. color: #bd362f;
  274. }
  275. .nav-list .item.active.error a {
  276. background: #bd362f;
  277. color: #fff;
  278. }
  279. .nav-list .nav-header {
  280. padding: 0 10px;
  281. background: transparent;
  282. color: #222;
  283. }
  284. .nav-list .nav-form {
  285. padding: 3px;
  286. text-align: center;
  287. }
  288. .nav-head {
  289. margin: 0;
  290. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  291. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  292. text-align: right;
  293. }
  294. .nav-head .item {
  295. padding: 5px 10px;
  296. font-size: 0.9rem;
  297. line-height: 1.5rem;
  298. }
  299. /*=== Horizontal-list */
  300. .horizontal-list {
  301. margin: 0;
  302. padding: 0;
  303. }
  304. .horizontal-list .item {
  305. vertical-align: middle;
  306. }
  307. /*=== Dropdown */
  308. .dropdown-menu {
  309. margin: 5px 0 0;
  310. padding: 5px 0;
  311. background: #222;
  312. font-size: 0.8rem;
  313. border: 1px solid #171717;
  314. border-radius: 4px;
  315. box-shadow: 0 0 3px #000;
  316. text-align: left;
  317. }
  318. .dropdown-menu::after {
  319. border-color: #171717;
  320. }
  321. .configure .dropdown-header {
  322. display: none;
  323. }
  324. .dropdown-header {
  325. padding: 0 5px 5px;
  326. color: #ccc;
  327. font-weight: bold;
  328. }
  329. .dropdown-menu > .item > a,
  330. .dropdown-menu > .item > span,
  331. .dropdown-menu > .item > .as-link {
  332. padding: 0 22px;
  333. line-height: 2.5em;
  334. color: #ccc;
  335. font-size: 0.8rem;
  336. }
  337. .dropdown-menu > .item > label {
  338. color: #ccc;
  339. }
  340. .dropdown-menu > .item:hover {
  341. background: #171717;
  342. color: #fff;
  343. }
  344. .dropdown-menu > .item[aria-checked="true"] > a::before {
  345. font-weight: bold;
  346. margin: 0 0 0 -14px;
  347. }
  348. .dropdown-menu > .item:hover > a {
  349. color: #fff;
  350. text-decoration: none;
  351. }
  352. .separator {
  353. margin: 5px 0;
  354. border-bottom: 1px solid #171717;
  355. box-shadow: 0 1px rgba(255,255,255,0.08);
  356. }
  357. /*=== Alerts */
  358. .alert {
  359. margin: 15px auto;
  360. padding: 10px 15px;
  361. background: #f4f4f4;
  362. color: #aaa;
  363. font-size: 0.9em;
  364. border: 1px solid #ccc;
  365. border-right: 1px solid #aaa;
  366. border-bottom: 1px solid #aaa;
  367. border-radius: 5px;
  368. text-shadow: 0 0 1px #eee;
  369. }
  370. .alert-head {
  371. font-size: 1.15em;
  372. }
  373. .alert > a {
  374. color: inherit;
  375. text-decoration: underline;
  376. }
  377. .alert-warn {
  378. background: #ffe;
  379. color: #c95;
  380. border: 1px solid #eeb;
  381. }
  382. .alert-success {
  383. background: #dfd;
  384. color: #484;
  385. border: 1px solid #cec;
  386. }
  387. .alert-error {
  388. background: #fdd;
  389. color: #844;
  390. border: 1px solid #ecc;
  391. }
  392. /*=== Pagination */
  393. .pagination {
  394. background: #fafafa;
  395. text-align: center;
  396. color: #333;
  397. font-size: 0.8em;
  398. }
  399. .content .pagination {
  400. margin: 0;
  401. padding: 0;
  402. }
  403. .pagination .item.pager-current {
  404. font-weight: bold;
  405. font-size: 1.5em;
  406. }
  407. .pagination .item a {
  408. display: block;
  409. color: #333;
  410. font-style: italic;
  411. line-height: 3em;
  412. text-decoration: none;
  413. }
  414. .pagination .item a:hover {
  415. background: #ddd;
  416. color: inherit
  417. }
  418. .pagination:first-child .item {
  419. border-bottom: 1px solid #aaa;
  420. }
  421. .pagination:last-child .item {
  422. border-top: 1px solid #ddd;
  423. }
  424. /*=== Boxes */
  425. .box {
  426. background: #ede7de;
  427. border-radius: 4px;
  428. box-shadow: 0 1px #fff;
  429. }
  430. .box .box-title {
  431. margin: 0;
  432. padding: 5px 10px;
  433. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
  434. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  435. color: #888;
  436. font-size: 1.1rem;
  437. border-radius: 4px 4px 0 0;
  438. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  439. text-shadow: 0 1px #ccc;
  440. font-weight: normal;
  441. }
  442. .box .box-title .configure {
  443. margin-right: 4px;
  444. }
  445. .box .box-content {
  446. padding-left: 30px;
  447. max-height: 260px;
  448. }
  449. .box .box-content .item {
  450. font-size: 0.9rem;
  451. line-height: 2.5em;
  452. }
  453. /*=== Tree */
  454. .tree {
  455. margin: 10px 0;
  456. }
  457. .tree-folder-title {
  458. position: relative;
  459. padding: 0 10px;
  460. line-height: 2.5rem;
  461. font-size: 0.9rem;
  462. }
  463. .tree-folder-title .title {
  464. background: inherit;
  465. color: #fff;
  466. }
  467. .tree-folder-title .title:hover {
  468. text-decoration: none;
  469. }
  470. .tree-folder.active .tree-folder-title {
  471. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  472. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  473. color: #fff;
  474. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
  475. text-shadow: 0 0 2px rgba(255,255,255,0.28);
  476. }
  477. .tree-folder-items {
  478. padding: 8px 0;
  479. background: #171717;
  480. box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
  481. }
  482. .tree-folder-items > .item {
  483. padding: 0 10px;
  484. line-height: 2.5rem;
  485. font-size: 0.8rem;
  486. }
  487. .tree-folder-items > .item.active {
  488. margin: 0px 8px;
  489. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  490. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  491. border-radius: 4px;
  492. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
  493. }
  494. .tree-folder-items > .item > a {
  495. text-decoration: none;
  496. color: #fff;
  497. font-size: 0.92em;
  498. }
  499. /*=== Scrollbar */
  500. @supports (scrollbar-width: thin) {
  501. #sidebar {
  502. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  503. }
  504. #sidebar:hover {
  505. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  506. }
  507. }
  508. @supports not (scrollbar-width: thin) {
  509. #sidebar::-webkit-scrollbar-thumb {
  510. background: rgba(255, 255, 255, 0.1);
  511. }
  512. #sidebar:hover::-webkit-scrollbar-thumb {
  513. background: rgba(255, 255, 255, 0.3);
  514. }
  515. }
  516. /*=== STRUCTURE */
  517. /*===============*/
  518. /*=== Header */
  519. .header {
  520. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  521. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  522. height: 55px;
  523. }
  524. .header > .item {
  525. padding: 0;
  526. vertical-align: middle;
  527. text-align: center;
  528. }
  529. .header > .item.title .logo {
  530. margin: 0.5em 0;
  531. height: 35px;
  532. filter: invert(80%);
  533. }
  534. .header > .item.title {
  535. width: 250px;
  536. }
  537. .header > .item.search input {
  538. width: 230px;
  539. }
  540. .header .item.search input:focus {
  541. width: 350px;
  542. }
  543. /*=== Body */
  544. #global {
  545. background: #ede7de;
  546. height: calc(100% - 60px);
  547. }
  548. .aside {
  549. background: #222;
  550. width: 235px;
  551. border-top: 1px solid #ccc;
  552. border-radius: 0px 12px 0px 0px;
  553. box-shadow: 0px -1px #fff, 0 2px 2px #171717 inset;
  554. }
  555. .aside.aside_feed {
  556. padding: 10px 0;
  557. text-align: center;
  558. }
  559. .aside.aside_feed .tree {
  560. margin: 10px 0 50px;
  561. }
  562. /*=== Aside main page (categories) */
  563. .aside.aside_feed .category .title:not([data-unread="0"])::after {
  564. background-color: #d18114;
  565. }
  566. .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
  567. background-color: #222;
  568. color: #ccc;
  569. border: 1px solid #333;
  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 > a {
  658. line-height: 3em;
  659. color: #fff;
  660. font-weight: bold;
  661. }
  662. #new-article > a:hover {
  663. text-decoration: none;
  664. background: #06c;
  665. }
  666. /*=== Day indication */
  667. .day {
  668. padding: 0 10px;
  669. background: linear-gradient(0deg, #ede7de 0%, #c2bcb3 100%) #ede7de;
  670. background: -webkit-linear-gradient(bottom, #c2bcb3 0%, #fff 100%);
  671. color: #666;
  672. box-shadow: 0 1px #bdb7ae inset, 0 -1px rgba(255,255,255,0.28) inset;
  673. font-style: italic;
  674. line-height: 3em;
  675. text-shadow: 0 1px rgba(255,255,255,0.28);
  676. text-align: center;
  677. }
  678. #new-article + .day {
  679. border-top: none;
  680. }
  681. .day .name {
  682. display: none;
  683. }
  684. /*=== Index menu */
  685. .nav_menu {
  686. padding: 5px 0;
  687. background: #ede7de;
  688. border-bottom: 1px solid #ccc;
  689. box-shadow: 0 -1px rgba(255, 255, 255, 0.28) inset;
  690. text-align: center;
  691. }
  692. #panel >.nav_menu {
  693. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  694. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  695. }
  696. #panel > .nav_menu > #nav_menu_read_all {
  697. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  698. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  699. border: 1px solid #ccc;
  700. border-radius: 4px;
  701. box-shadow: 0px 1px #fff;
  702. }
  703. #panel > .nav_menu > #nav_menu_read_all .dropdown > .btn.dropdown-toggle {
  704. border: none;
  705. border-left: solid 1px #ccc;
  706. border-radius: 0 4px 4px 0;
  707. }
  708. /*=== Feed articles */
  709. .flux_content {
  710. background: #fff;
  711. border-radius: 10px;
  712. }
  713. .flux {
  714. background: #ede7de;
  715. }
  716. .flux:hover {
  717. background: #f9f7f4;
  718. }
  719. .flux:not(.current):hover .item.title {
  720. background: #f9f7f4;
  721. }
  722. .flux.current .flux .item.title a {
  723. text-shadow: 0 0 2px #ccc;
  724. }
  725. .flux.favorite {
  726. background: #fff6da;
  727. }
  728. .flux.favorite:not(.current):hover {
  729. background: #f9f7f4;
  730. }
  731. .flux.favorite:not(.current):hover .item.title {
  732. background: #f9f7f4;
  733. }
  734. .flux.current {
  735. margin: 3px 6px;
  736. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  737. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  738. border-radius: 10px;
  739. box-shadow: 0 -1px #fff inset, 0 2px #ccc;
  740. }
  741. .flux .item.title a {
  742. color: #aca8a3;
  743. }
  744. .flux.not_read .item.title a,
  745. .flux.favorite .item.title a {
  746. color: #333;
  747. }
  748. .flux.not_read:not(.current):hover .item.title a {
  749. color: #50504f;
  750. }
  751. .flux.current .item.title a {
  752. color: #0f0f0f;
  753. }
  754. .flux_header {
  755. font-size: 0.8rem;
  756. border-top: 1px solid #ddd;
  757. box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
  758. cursor: pointer;
  759. }
  760. .flux_header .title {
  761. font-size: 0.9rem;
  762. }
  763. .flux .website .favicon {
  764. padding: 5px;
  765. }
  766. .flux .item.date {
  767. color: #666;
  768. font-size: 0.7rem;
  769. }
  770. .flux .bottom {
  771. font-size: 0.8rem;
  772. text-align: center;
  773. }
  774. /*=== Content of feed articles */
  775. .content {
  776. padding: 20px 10px;
  777. }
  778. .content > h1.title > a {
  779. color: #000;
  780. }
  781. .content hr {
  782. margin: 30px 10px;
  783. background: #ddd;
  784. height: 1px;
  785. border: 0;
  786. box-shadow: 0 2px 5px #ccc;
  787. }
  788. .content pre {
  789. margin: 10px auto;
  790. padding: 10px 20px;
  791. overflow: auto;
  792. background: #222;
  793. color: #fff;
  794. font-size: 0.9rem;
  795. border-radius: 3px;
  796. }
  797. .content code {
  798. padding: 2px 5px;
  799. background: #fafafa;
  800. color: #d14;
  801. border: 1px solid #eee;
  802. border-radius: 3px;
  803. }
  804. .content pre code {
  805. background: transparent;
  806. color: #fff;
  807. border: none;
  808. }
  809. .content blockquote {
  810. margin: 0;
  811. padding: 5px 20px;
  812. background: #fafafa;
  813. display: block;
  814. color: #333;
  815. border-top: 1px solid #ddd;
  816. border-bottom: 1px solid #ddd;
  817. }
  818. .content blockquote p {
  819. margin: 0;
  820. }
  821. /*=== Notification and actualize notification */
  822. .notification {
  823. background: #222;
  824. color: #fff;
  825. font-size: 0.9em;
  826. border: none;
  827. border-radius: 0 0 12px 12px;
  828. 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;
  829. text-align: center;
  830. font-weight: bold;
  831. position: absolute;
  832. top: 0;
  833. z-index: 10;
  834. vertical-align: middle;
  835. }
  836. .notification.good {
  837. color: #c95;
  838. }
  839. .notification.bad {
  840. background: #fdd;
  841. color: #844;
  842. }
  843. .notification a.close {
  844. padding: 0 15px;
  845. line-height: 3em;
  846. }
  847. .notification#actualizeProgress {
  848. line-height: 2em;
  849. }
  850. /*=== "Load more" part */
  851. #bigMarkAsRead {
  852. background: #ede7de;
  853. color: #666;
  854. box-shadow: 0 1px rgba(255,255,255,0.28)inset;
  855. text-align: center;
  856. text-decoration: none;
  857. text-shadow: 0 -1px 0 #aaa;
  858. }
  859. #bigMarkAsRead:hover {
  860. background: #ede7de;
  861. background: radial-gradient(circle at 50% -25% , #ccc 0%, #ede7de 50%);
  862. color: #000;
  863. }
  864. #bigMarkAsRead:hover .bigTick {
  865. text-shadow: 0 0 10px #666;
  866. }
  867. .switch.active {
  868. background-color: #d18114;
  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. }