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. .form-group table {
  97. margin: 10px 0 0 220px;
  98. }
  99. /*=== Buttons */
  100. button.as-link[disabled] {
  101. color: #555 !important;
  102. }
  103. .dropdown-menu .input select, .dropdown-menu .input input {
  104. margin: 0 auto 5px;
  105. padding: 2px 5px;
  106. background: #444;
  107. color: #fff;
  108. border: solid 1px #171717;
  109. border-radius: 3px;
  110. box-shadow: 0 2px 2px #222 inset, 0px 1px rgba(255, 255, 255, 0.08);
  111. }
  112. .stick {
  113. vertical-align: middle;
  114. font-size: 0;
  115. }
  116. .stick input,
  117. .stick .btn {
  118. border-radius: 0;
  119. }
  120. .stick .btn:first-child,.stick input:first-child {
  121. border-radius: 6px 0 0 6px;
  122. }
  123. .stick .btn:last-child, .stick input:last-child {
  124. border-radius: 0 6px 6px 0;
  125. }
  126. .stick .btn + .btn,
  127. .stick .btn + input,
  128. .stick .btn + .dropdown > .btn,
  129. .stick input + .btn,
  130. .stick input + input,
  131. .stick input + .dropdown > .btn,
  132. .stick .dropdown + .btn,
  133. .stick .dropdown + input,
  134. .stick .dropdown + .dropdown > .btn {
  135. border-left: none;
  136. }
  137. .stick .btn + .dropdown > .btn {
  138. border-left: none;
  139. border-radius: 0 3px 3px 0;
  140. }
  141. .btn {
  142. margin: 0;
  143. padding: 5px 10px;
  144. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  145. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  146. display: inline-block;
  147. color: #222;
  148. font-size: 0.9rem;
  149. border: solid 1px #ccc;
  150. border-radius: 4px;
  151. min-height: 37px;
  152. min-width: 15px;
  153. text-shadow: 0px -1px rgba(255,255,255,0.08);
  154. vertical-align: middle;
  155. cursor: pointer;
  156. overflow: hidden;
  157. }
  158. a.btn {
  159. min-height: 25px;
  160. line-height: 25px;
  161. }
  162. .btn:hover {
  163. text-shadow: 0 0 2px #fff;
  164. text-decoration: none;
  165. }
  166. .btn.active,.btn:active,.dropdown-target:target ~ .btn.dropdown-toggle {
  167. background: linear-gradient(180deg, #ede7de 0%, #fff 100%) #ede7de;
  168. background: -webkit-linear-gradient(top, #ede7de 0%, #fff 100%);
  169. }
  170. .nav_menu .btn.active, .nav_menu .btn:active, .nav_menu .dropdown-target:target ~ .btn.dropdown-toggle {
  171. background: linear-gradient(180deg, #ede7de 0%, #f6f6f6 100%) #ede7de;
  172. background: -webkit-linear-gradient(top, #ede7de 0%, #f6f6f6 100%);
  173. border: solid 1px #ccc;
  174. border-radius: 4px;
  175. box-shadow: 0 1px #fff;
  176. }
  177. .nav_menu .btn {
  178. background: transparent;
  179. border: 0;
  180. }
  181. .read_all {
  182. color: #222;
  183. }
  184. .btn.dropdown-toggle[href="#dropdown-configure"] {
  185. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  186. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  187. border: solid 1px #ccc;
  188. border-radius: 4px;
  189. box-shadow: 0 1px #fff;
  190. }
  191. .btn.dropdown-toggle:active {
  192. background: transparent;
  193. }
  194. .btn-important {
  195. background: linear-gradient(180deg, #e4992c 0%, #d18114 100%) #e4992c;
  196. background: -webkit-linear-gradient(top, #e4992c 0%, #d18114 100%);
  197. color: #fff;
  198. border-radius: 4px;
  199. box-shadow: 0 1px rgba(255,255,255,0.08) inset;
  200. text-shadow: 0px -1px rgba(255,255,255,0.08);
  201. font-weight: normal;
  202. }
  203. .btn-important:active {
  204. background: linear-gradient(0deg, #e4992c 0%, #d18114 100%) #e4992c;
  205. background: -webkit-linear-gradient(bottom, #e4992c 0%, #d18114 100%);
  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: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. background: #222;
  320. width: 10px;
  321. height: 10px;
  322. border-top: 1px solid #171717;
  323. border-left: 1px solid #171717;
  324. content: "";
  325. position: absolute;
  326. top: -6px;
  327. right: 13px;
  328. z-index: -10;
  329. transform: rotate(45deg);
  330. }
  331. .dropdown-header {
  332. display: none;
  333. }
  334. .dropdown-menu > .item > a,
  335. .dropdown-menu > .item > span,
  336. .dropdown-menu > .item > .as-link {
  337. padding: 0 22px;
  338. line-height: 2.5em;
  339. color: #ccc;
  340. font-size: 0.8rem;
  341. }
  342. .dropdown-menu > .item > label {
  343. color: #ccc;
  344. }
  345. .dropdown-menu > .item:hover {
  346. background: #171717;
  347. color: #fff;
  348. }
  349. .dropdown-menu > .item[aria-checked="true"] > a::before {
  350. font-weight: bold;
  351. margin: 0 0 0 -14px;
  352. }
  353. .dropdown-menu > .item:hover > a {
  354. color: #fff;
  355. text-decoration: none;
  356. }
  357. .separator {
  358. margin: 5px 0;
  359. border-bottom: 1px solid #171717;
  360. box-shadow: 0 1px rgba(255,255,255,0.08);
  361. }
  362. /*=== Alerts */
  363. .alert {
  364. margin: 15px auto;
  365. padding: 10px 15px;
  366. background: #f4f4f4;
  367. color: #aaa;
  368. font-size: 0.9em;
  369. border: 1px solid #ccc;
  370. border-right: 1px solid #aaa;
  371. border-bottom: 1px solid #aaa;
  372. border-radius: 5px;
  373. text-shadow: 0 0 1px #eee;
  374. }
  375. .alert-head {
  376. font-size: 1.15em;
  377. }
  378. .alert > a {
  379. color: inherit;
  380. text-decoration: underline;
  381. }
  382. .alert-warn {
  383. background: #ffe;
  384. color: #c95;
  385. border: 1px solid #eeb;
  386. }
  387. .alert-success {
  388. background: #dfd;
  389. color: #484;
  390. border: 1px solid #cec;
  391. }
  392. .alert-error {
  393. background: #fdd;
  394. color: #844;
  395. border: 1px solid #ecc;
  396. }
  397. /*=== Pagination */
  398. .pagination {
  399. background: #fafafa;
  400. text-align: center;
  401. color: #333;
  402. font-size: 0.8em;
  403. }
  404. .content .pagination {
  405. margin: 0;
  406. padding: 0;
  407. }
  408. .pagination .item.pager-current {
  409. font-weight: bold;
  410. font-size: 1.5em;
  411. }
  412. .pagination .item a {
  413. display: block;
  414. color: #333;
  415. font-style: italic;
  416. line-height: 3em;
  417. text-decoration: none;
  418. }
  419. .pagination .item a:hover {
  420. background: #ddd;
  421. }
  422. .pagination:first-child .item {
  423. border-bottom: 1px solid #aaa;
  424. }
  425. .pagination:last-child .item {
  426. border-top: 1px solid #ddd;
  427. }
  428. .pagination .loading,
  429. .pagination a:hover.loading {
  430. background: url("loader.gif") center center no-repeat #fff;
  431. font-size: 0;
  432. }
  433. /*=== Boxes */
  434. .box {
  435. background: #ede7de;
  436. border-radius: 4px;
  437. box-shadow: 0 1px #fff;
  438. }
  439. .box .box-title {
  440. margin: 0;
  441. padding: 5px 10px;
  442. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
  443. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  444. color: #888;
  445. font-size: 1.1rem;
  446. border-radius: 4px 4px 0 0;
  447. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  448. text-shadow: 0 1px #ccc;
  449. font-weight: normal;
  450. }
  451. .box .box-content {
  452. max-height: 260px;
  453. }
  454. .box .box-content .item {
  455. padding: 0 10px;
  456. font-size: 0.9rem;
  457. line-height: 2.5em;
  458. }
  459. .box .box-title .configure,
  460. .box .box-content .item .configure {
  461. visibility: hidden;
  462. }
  463. .box .box-title:hover .configure,
  464. .box .box-content .item:hover .configure {
  465. visibility: visible;
  466. }
  467. /*=== Tree */
  468. .tree {
  469. margin: 10px 0;
  470. }
  471. .tree-folder-title {
  472. position: relative;
  473. padding: 0 10px;
  474. line-height: 2.5rem;
  475. font-size: 0.9rem;
  476. }
  477. .tree-folder-title .title {
  478. background: inherit;
  479. color: #fff;
  480. }
  481. .tree-folder-title .title:hover {
  482. text-decoration: none;
  483. }
  484. .tree-folder.active .tree-folder-title {
  485. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  486. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  487. color: #fff;
  488. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
  489. text-shadow: 0 0 2px rgba(255,255,255,0.28);
  490. }
  491. .tree-folder-items {
  492. padding: 8px 0;
  493. background: #171717;
  494. box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
  495. }
  496. .tree-folder-items > .item {
  497. padding: 0 10px;
  498. line-height: 2.5rem;
  499. font-size: 0.8rem;
  500. }
  501. .tree-folder-items > .item.active {
  502. margin: 0px 8px;
  503. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  504. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  505. border-radius: 4px;
  506. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
  507. }
  508. .tree-folder-items > .item > a {
  509. text-decoration: none;
  510. color: #fff;
  511. font-size: 0.92em;
  512. }
  513. /*=== Scrollbar */
  514. @supports (scrollbar-width: thin) {
  515. #sidebar {
  516. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  517. }
  518. #sidebar:hover {
  519. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  520. }
  521. }
  522. @supports not (scrollbar-width: thin) {
  523. #sidebar::-webkit-scrollbar-thumb {
  524. background: rgba(255, 255, 255, 0.1);
  525. }
  526. #sidebar:hover::-webkit-scrollbar-thumb {
  527. background: rgba(255, 255, 255, 0.3);
  528. }
  529. }
  530. /*=== STRUCTURE */
  531. /*===============*/
  532. /*=== Header */
  533. .header {
  534. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  535. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  536. height: 55px;
  537. }
  538. .header > .item {
  539. padding: 0;
  540. vertical-align: middle;
  541. text-align: center;
  542. }
  543. .header > .item.title .logo {
  544. width: 60px;
  545. height: 60px;
  546. }
  547. .header > .item.title {
  548. width: 250px;
  549. }
  550. .header > .item.title h1 {
  551. margin: 0.5em 0;
  552. }
  553. .header > .item.title h1 a {
  554. color: #222;
  555. font-size: 28px;
  556. text-decoration: none;
  557. text-shadow: 0 1px #fff;
  558. }
  559. .header > .item.search input {
  560. width: 230px;
  561. }
  562. .header .item.search input:focus {
  563. width: 350px;
  564. }
  565. /*=== Body */
  566. #global {
  567. background: #ede7de;
  568. height: calc(100% - 60px);
  569. }
  570. .aside {
  571. background: #222;
  572. width: 235px;
  573. border-top: 1px solid #ccc;
  574. border-radius: 0px 12px 0px 0px;
  575. box-shadow: 0px -1px #fff, 0 2px 2px #171717 inset;
  576. }
  577. .aside.aside_feed {
  578. padding: 10px 0;
  579. text-align: center;
  580. }
  581. .aside.aside_feed .tree {
  582. margin: 10px 0 50px;
  583. }
  584. /*=== Aside main page (categories) */
  585. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  586. position: absolute;
  587. right: 3px;
  588. padding: 1px 5px;
  589. color: #fff;
  590. text-shadow: 0 1px rgba(255,255,255,0.08);
  591. }
  592. .aside_feed .btn-important {
  593. border: none;
  594. }
  595. /*=== Aside main page (feeds) */
  596. .feed.item.empty,
  597. .feed.item.empty > a {
  598. color: #e67e22;
  599. }
  600. .feed.item.error,
  601. .feed.item.error > a {
  602. color: #bd362f;
  603. }
  604. .aside_feed .tree-folder-items .dropdown-menu::after {
  605. left: 2px;
  606. }
  607. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  608. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  609. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  610. border-radius: 3px;
  611. }
  612. /*=== Configuration pages */
  613. .post {
  614. padding: 10px 50px;
  615. font-size: 0.9em;
  616. }
  617. .post form {
  618. margin: 10px 0;
  619. }
  620. .post.content {
  621. max-width: 550px;
  622. }
  623. /*=== Prompt (centered) */
  624. .prompt {
  625. text-align: center;
  626. padding: 14px 0px;
  627. text-shadow: 0 1px rgba(255,255,255,0.08);
  628. }
  629. .prompt label {
  630. text-align: left;
  631. }
  632. .prompt form {
  633. margin: 10px auto 20px auto;
  634. width: 180px;
  635. }
  636. .prompt input {
  637. margin: 5px auto;
  638. width: 100%;
  639. }
  640. .prompt p {
  641. margin: 20px 0;
  642. }
  643. .prompt input#username,.prompt input#passwordPlain {
  644. background: #fff;
  645. border: solid 1px #ccc;
  646. box-shadow: 0 4px -4px #ccc inset,0px 1px rgba(255, 255, 255, 0.08);
  647. }
  648. .prompt input#username:focus,.prompt input#passwordPlain:focus {
  649. border: solid 1px #e7ab34;
  650. box-shadow: 0 0 3px #e7ab34;
  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. padding: 0 0 0 5px;
  827. background: #222;
  828. color: #fff;
  829. font-size: 0.9em;
  830. border: none;
  831. border-radius: 0 0 12px 12px;
  832. 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;
  833. text-align: center;
  834. font-weight: bold;
  835. line-height: 3em;
  836. position: absolute;
  837. top: 0;
  838. z-index: 10;
  839. vertical-align: middle;
  840. }
  841. .notification.good {
  842. color: #c95;
  843. }
  844. .notification.bad {
  845. background: #fdd;
  846. color: #844;
  847. }
  848. .notification a.close {
  849. padding: 0 15px;
  850. line-height: 3em;
  851. }
  852. .notification#actualizeProgress {
  853. line-height: 2em;
  854. }
  855. /*=== "Load more" part */
  856. #bigMarkAsRead {
  857. background: #ede7de;
  858. color: #666;
  859. box-shadow: 0 1px rgba(255,255,255,0.28)inset;
  860. text-align: center;
  861. text-decoration: none;
  862. text-shadow: 0 -1px 0 #aaa;
  863. }
  864. #bigMarkAsRead:hover {
  865. background: #ede7de;
  866. background: radial-gradient(circle at 50% -25% , #ccc 0%, #ede7de 50%);
  867. color: #000;
  868. }
  869. #bigMarkAsRead:hover .bigTick {
  870. text-shadow: 0 0 10px #666;
  871. }
  872. /*=== Navigation menu (for articles) */
  873. #nav_entries {
  874. background: linear-gradient(180deg, #222 0%, #171717 100%) #222;
  875. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  876. width: 235px;
  877. border-top: 1px solid #171717;
  878. box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
  879. text-align: center;
  880. line-height: 3em;
  881. table-layout: fixed;
  882. }
  883. /*=== READER VIEW */
  884. /*================*/
  885. #stream.reader .flux {
  886. padding: 0 0 50px;
  887. background: #f0f0f0;
  888. color: #333;
  889. border: none;
  890. }
  891. #stream.reader .flux .author {
  892. margin: 0 0 10px;
  893. color: #666;
  894. font-size: 90%;
  895. }
  896. /*=== GLOBAL VIEW */
  897. /*================*/
  898. #stream.global {
  899. padding: 24px 0;
  900. box-shadow: 0px 8px 8px #c2bcb3 inset;
  901. }
  902. .box.category .box-title {
  903. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
  904. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  905. font-size: 1.2rem;
  906. border-radius: none;
  907. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  908. line-height: 2em;
  909. text-shadow: 0 1px #ccc;
  910. }
  911. .box.category .box-title .title {
  912. font-weight: normal;
  913. text-decoration: none;
  914. text-align: left;
  915. color: #888;
  916. }
  917. .box.category:not([data-unread="0"]) .box-title .title {
  918. color: #222;
  919. font-weight: bold;
  920. }
  921. .box.category .title:not([data-unread="0"])::after {
  922. background: none;
  923. border: 0;
  924. position: absolute;
  925. top: 5px; right: 10px;
  926. font-weight: bold;
  927. }
  928. .box.category .item.feed {
  929. padding: 2px 10px;
  930. font-size: 0.8rem;
  931. }
  932. .box.category .item.feed:not(.empty):not(.error) .item-title {
  933. color: #222;
  934. }
  935. /*=== PANEL */
  936. /*===========*/
  937. #panel {
  938. background: #ede7de;
  939. border-radius: 8px;
  940. box-shadow: 0px 0px 4px #000;
  941. }
  942. /*=== DIVERS */
  943. /*===========*/
  944. .aside.aside_feed .nav-form input,.aside.aside_feed .nav-form select {
  945. width: 130px;
  946. }
  947. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  948. right: -20px;
  949. }
  950. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  951. right: 33px;
  952. }
  953. /*=== STATISTICS */
  954. /*===============*/
  955. .stat {
  956. margin: 10px 0 20px;
  957. }
  958. .stat th,
  959. .stat td,
  960. .stat tr {
  961. border: none;
  962. }
  963. .stat > table td,
  964. .stat > table th {
  965. background: rgba(255,255,255,0.38);
  966. border-bottom: 1px solid #ccc;
  967. box-shadow: 0 1px #fff;
  968. }
  969. .stat > .horizontal-list {
  970. margin: 0 0 5px;
  971. }
  972. .stat > .horizontal-list .item {
  973. overflow: hidden;
  974. white-space: nowrap;
  975. text-overflow: ellipsis;
  976. }
  977. .stat > .horizontal-list .item:first-child {
  978. width: 250px;
  979. }
  980. /*=== LOGS */
  981. /*=========*/
  982. .loglist {
  983. border: 1px solid #aaa;
  984. border-radius: 5px;
  985. overflow: hidden;
  986. }
  987. .log {
  988. padding: 5px 10px;
  989. background: #fafafa;
  990. color: #333;
  991. font-size: 0.8rem;
  992. }
  993. .log+.log {
  994. border-top: 1px solid #aaa;
  995. }
  996. .log .date {
  997. display: block;
  998. font-weight: bold;
  999. }
  1000. .log.error {
  1001. background: #fdd;
  1002. color: #844;
  1003. }
  1004. .log.warning {
  1005. background: #ffe;
  1006. color: #c95;
  1007. }
  1008. .log.notice {
  1009. background: #f4f4f4;
  1010. color: #aaa;
  1011. }
  1012. .log.debug {
  1013. background: #333;
  1014. color: #eee;
  1015. }
  1016. #slider.active {
  1017. background: #f8f8f8;
  1018. box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
  1019. }
  1020. #close-slider.active {
  1021. background: rgba(15, 15, 15, 0.35);
  1022. }
  1023. /*=== MOBILE */
  1024. /*===========*/
  1025. @media screen and (max-width: 840px) {
  1026. .form-group .group-name {
  1027. padding-bottom: 0;
  1028. text-align: left;
  1029. }
  1030. .box .box-title .configure,
  1031. .box .box-content .item .configure {
  1032. visibility: visible;
  1033. }
  1034. .header {
  1035. display: table;
  1036. }
  1037. .nav-login {
  1038. display: none;
  1039. }
  1040. .aside {
  1041. width: 0;
  1042. border-top: none;
  1043. box-shadow: 3px 0 3px #000;
  1044. transition: width 200ms linear;
  1045. }
  1046. .aside:target {
  1047. width: 235px;
  1048. }
  1049. .aside .toggle_aside,
  1050. #panel .close {
  1051. background: #171717;
  1052. display: block;
  1053. width: 100%;
  1054. height: 40px;
  1055. border-radius: 0 8px 0 8px;
  1056. box-shadow: 0 1px rgba(255,255,255,0.08);
  1057. line-height: 40px;
  1058. text-align: center;
  1059. }
  1060. .aside.aside_feed {
  1061. padding: 0;
  1062. }
  1063. .nav_menu .btn {
  1064. margin: 5px 10px;
  1065. }
  1066. .nav_menu .stick {
  1067. margin: 0 10px;
  1068. }
  1069. .nav_menu .stick .btn {
  1070. margin: 5px 0;
  1071. }
  1072. .nav_menu .search {
  1073. display: none;
  1074. }
  1075. .nav_menu .search input {
  1076. max-width: 97%;
  1077. width: 90px;
  1078. }
  1079. .nav_menu .search input:focus {
  1080. width: 400px;
  1081. }
  1082. .day .name {
  1083. display: none;
  1084. }
  1085. .pagination {
  1086. margin: 0 0 3.5em;
  1087. }
  1088. .notification a.close {
  1089. background: transparent;
  1090. display: block;
  1091. left: 0;
  1092. }
  1093. .notification a.close:hover {
  1094. opacity: 0.5;
  1095. }
  1096. .notification a.close .icon {
  1097. display: none;
  1098. }
  1099. #nav_entries {
  1100. width: 100%;
  1101. }
  1102. .post {
  1103. padding-left: 15px;
  1104. padding-right: 15px;
  1105. }
  1106. #close-slider.active {
  1107. background: #171717;
  1108. box-shadow: 0 1px rgba(255,255,255,0.08)
  1109. }
  1110. }
  1111. @media (max-width: 700px) {
  1112. .header {
  1113. display: none;
  1114. }
  1115. .nav-login {
  1116. display: inline-block;
  1117. width: 100%;
  1118. }
  1119. .nav_menu .search {
  1120. display: inline-block;
  1121. }
  1122. }