screwdriver.rtl.css 21 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. html, body {
  5. background: #fafafa;
  6. color: black;
  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. th, td {
  64. border: 1px solid #ddd;
  65. }
  66. th {
  67. background: #f6f6f6;
  68. }
  69. form td,
  70. form th {
  71. font-weight: normal;
  72. text-align: center;
  73. }
  74. /*=== COMPONENTS */
  75. /*===============*/
  76. /*=== Forms */
  77. .form-group.form-actions {
  78. padding: 5px 0;
  79. background: #f4f4f4;
  80. border-top: 1px solid #ddd;
  81. }
  82. .form-group.form-actions .btn {
  83. margin: 0 10px;
  84. border-radius: 4px;
  85. box-shadow: 0 1px rgba(255,255,255,0.08) inset;
  86. }
  87. .form-group .group-name {
  88. padding: 10px 0;
  89. text-align: left;
  90. }
  91. .form-group .group-controls {
  92. min-height: 25px;
  93. padding: 5px 0;
  94. }
  95. /*=== Buttons */
  96. button.as-link[disabled] {
  97. color: #555 !important;
  98. }
  99. .dropdown-menu .input select, .dropdown-menu .input input {
  100. margin: 0 auto 5px;
  101. padding: 2px 5px;
  102. background: #444;
  103. color: #fff;
  104. border: solid 1px #171717;
  105. border-radius: 3px;
  106. box-shadow: 0 2px 2px #222 inset, 0px 1px rgba(255, 255, 255, 0.08);
  107. }
  108. .stick input,
  109. .stick .btn {
  110. border-radius: 0;
  111. }
  112. .stick .btn:first-child,.stick input:first-child {
  113. border-radius: 0 6px 6px 0;
  114. }
  115. .stick .btn:last-child, .stick input:last-child {
  116. border-radius: 6px 0 0 6px;
  117. }
  118. .stick .btn + .btn,
  119. .stick .btn + input,
  120. .stick .btn + .dropdown > .btn,
  121. .stick input + .btn,
  122. .stick input + input,
  123. .stick input + .dropdown > .btn,
  124. .stick .dropdown + .btn,
  125. .stick .dropdown + input,
  126. .stick .dropdown + .dropdown > .btn {
  127. border-right: none;
  128. }
  129. .stick .btn + .dropdown > .btn {
  130. border-right: none;
  131. border-radius: 3px 0 0 3px;
  132. }
  133. .btn {
  134. margin: 0;
  135. padding: 5px 10px;
  136. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  137. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  138. display: inline-block;
  139. color: #222;
  140. font-size: 0.9rem;
  141. border: solid 1px #ccc;
  142. border-radius: 4px;
  143. min-height: 37px;
  144. min-width: 15px;
  145. text-shadow: 0px -1px rgba(255,255,255,0.08);
  146. vertical-align: middle;
  147. cursor: pointer;
  148. overflow: hidden;
  149. }
  150. a.btn {
  151. min-height: 25px;
  152. line-height: 25px;
  153. }
  154. .btn:hover {
  155. text-shadow: 0 0 2px #fff;
  156. text-decoration: none;
  157. }
  158. .btn.active,.btn:active,.dropdown-target:target ~ .btn.dropdown-toggle {
  159. background: linear-gradient(-180deg, #ede7de 0%, #fff 100%) #ede7de;
  160. background: -webkit-linear-gradient(top, #ede7de 0%, #fff 100%);
  161. }
  162. .nav_menu .btn.active, .nav_menu .btn:active, .nav_menu .dropdown-target:target ~ .btn.dropdown-toggle {
  163. background: linear-gradient(-180deg, #ede7de 0%, #f6f6f6 100%) #ede7de;
  164. background: -webkit-linear-gradient(top, #ede7de 0%, #f6f6f6 100%);
  165. border: solid 1px #ccc;
  166. border-radius: 4px;
  167. box-shadow: 0 1px #fff;
  168. }
  169. .nav_menu .btn {
  170. background: transparent;
  171. border: 0;
  172. }
  173. .read_all {
  174. color: #222;
  175. }
  176. .btn.dropdown-toggle[href="#dropdown-configure"] {
  177. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  178. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  179. border: solid 1px #ccc;
  180. border-radius: 4px;
  181. box-shadow: 0 1px #fff;
  182. }
  183. .btn.dropdown-toggle:active {
  184. background: transparent;
  185. }
  186. .btn-important {
  187. background: linear-gradient(-180deg, #e4992c 0%, #d18114 100%) #e4992c;
  188. background: -webkit-linear-gradient(top, #e4992c 0%, #d18114 100%);
  189. color: #fff;
  190. border-radius: 4px;
  191. box-shadow: 0 1px rgba(255,255,255,0.08) inset;
  192. text-shadow: 0px -1px rgba(255,255,255,0.08);
  193. font-weight: normal;
  194. }
  195. .btn-important:active {
  196. background: linear-gradient(0deg, #e4992c 0%, #d18114 100%) #e4992c;
  197. background: -webkit-linear-gradient(bottom, #e4992c 0%, #d18114 100%);
  198. }
  199. .btn-important .icon {
  200. filter: brightness(3);
  201. }
  202. .btn-attention {
  203. background: #e95b57;
  204. background: linear-gradient(to bottom, #e95b57, #bd362f);
  205. background: -webkit-linear-gradient(top, #e95b57 0%, #bd362f 100%);
  206. color: #fff;
  207. border: 1px solid #c44742;
  208. text-shadow: 0px -1px 0px #666;
  209. }
  210. .btn-attention:hover {
  211. background: linear-gradient(to bottom, #d14641, #bd362f);
  212. background: -webkit-linear-gradient(top, #d14641 0%, #bd362f 100%);
  213. }
  214. .btn-attention:active {
  215. background: #bd362f;
  216. box-shadow: none;
  217. }
  218. .btn[type="reset"] {
  219. background: linear-gradient(-180deg, #222 0%, #171717 100%) #171717;
  220. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  221. color: #fff;
  222. box-shadow: 0 -1px rgba(255,255,255,0.08) inset;
  223. }
  224. /*=== Navigation */
  225. .nav-list .nav-header,
  226. .nav-list .item {
  227. height: 2.5em;
  228. line-height: 2.5em;
  229. font-size: 0.9rem;
  230. }
  231. .nav-list .item a:hover {
  232. text-shadow: 0 0 2px rgba(255,255,255,0.28);
  233. color: #fff;
  234. }
  235. .nav-list .item.active {
  236. margin: 0;
  237. background: linear-gradient(-180deg, #222 0%, #171717 100%) repeat scroll 100% 0% #171717;
  238. background: -webkit-linear-gradient(-180deg, #222 0%, #171717 100%);
  239. box-shadow: 1px 2px 2px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
  240. border-width: medium medium 1px;
  241. border-style: none none solid;
  242. border-color: -moz-use-text-color -moz-use-text-color #171717;
  243. }
  244. .nav-list .item.active a {
  245. color: #d18114;
  246. }
  247. .nav-list .item > a {
  248. padding: 0 10px;
  249. color: #ccc;
  250. }
  251. .nav-list a:hover {
  252. text-decoration: none;
  253. }
  254. .nav-list .item.empty a {
  255. color: #f39c12;
  256. }
  257. .nav-list .item.active.empty a {
  258. background: linear-gradient(-180deg, #e4992c 0%, #d18114 100%) #e4992c;
  259. background: -webkit-linear-gradient(-180deg, #e4992c 0%, #d18114 100%);
  260. color: #fff;
  261. }
  262. .nav-list .item.error a {
  263. color: #bd362f;
  264. }
  265. .nav-list .item.active.error a {
  266. background: #bd362f;
  267. color: #fff;
  268. }
  269. .nav-list .nav-header {
  270. padding: 0 10px;
  271. background: transparent;
  272. color: #222;
  273. }
  274. .nav-list .nav-form {
  275. padding: 3px;
  276. text-align: center;
  277. }
  278. /*=== Dropdown */
  279. .dropdown-menu {
  280. margin: 5px 0 0;
  281. padding: 5px 0;
  282. background: #222;
  283. font-size: 0.8rem;
  284. border: 1px solid #171717;
  285. border-radius: 4px;
  286. box-shadow: 0 0 3px #000;
  287. text-align: right;
  288. }
  289. .dropdown-menu::after {
  290. border-color: #171717;
  291. }
  292. .dropdown-header {
  293. padding: 0 5px 5px;
  294. color: #ccc;
  295. font-weight: bold;
  296. }
  297. .dropdown-menu > .item > a,
  298. .dropdown-menu > .item > span,
  299. .dropdown-menu > .item > .as-link {
  300. padding: 0 22px;
  301. line-height: 2.5em;
  302. color: #ccc;
  303. font-size: 0.8rem;
  304. }
  305. .dropdown-menu > .item > label {
  306. color: #ccc;
  307. }
  308. .dropdown-menu > .item:hover {
  309. background: #171717;
  310. color: #fff;
  311. }
  312. .dropdown-menu > .item[aria-checked="true"] > a::before {
  313. font-weight: bold;
  314. margin: 0 -14px 0 0;
  315. }
  316. .dropdown-menu > .item:hover > a {
  317. color: #fff;
  318. text-decoration: none;
  319. }
  320. .item ~ .dropdown-header,
  321. .item.separator {
  322. border-top-color: rgba(255,255,255,0.08);
  323. }
  324. /*=== Alerts */
  325. .alert {
  326. margin: 15px auto;
  327. padding: 10px 15px;
  328. background: #f4f4f4;
  329. color: #aaa;
  330. font-size: 0.9em;
  331. border: 1px solid #ccc;
  332. border-left: 1px solid #aaa;
  333. border-bottom: 1px solid #aaa;
  334. border-radius: 5px;
  335. text-shadow: 0 0 1px #eee;
  336. }
  337. .alert-head {
  338. font-size: 1.15em;
  339. }
  340. .alert > a {
  341. color: inherit;
  342. text-decoration: underline;
  343. }
  344. .alert-warn {
  345. background: #ffe;
  346. color: #c95;
  347. border: 1px solid #eeb;
  348. }
  349. .alert-success {
  350. background: #dfd;
  351. color: #484;
  352. border: 1px solid #cec;
  353. }
  354. .alert-error {
  355. background: #fdd;
  356. color: #844;
  357. border: 1px solid #ecc;
  358. }
  359. /*=== Pagination */
  360. .pagination {
  361. background: #fafafa;
  362. color: #333;
  363. }
  364. .pagination .item a {
  365. color: #333;
  366. }
  367. .pagination .item a:hover {
  368. background: #ddd;
  369. color: inherit
  370. }
  371. .pagination:first-child .item {
  372. border-bottom: 1px solid #aaa;
  373. }
  374. .pagination:last-child .item {
  375. border-top: 1px solid #ddd;
  376. }
  377. /*=== Boxes */
  378. .box {
  379. background: #ede7de;
  380. border-radius: 4px;
  381. box-shadow: 0 1px #fff;
  382. }
  383. .box .box-title {
  384. margin: 0;
  385. padding: 5px 10px;
  386. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
  387. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  388. color: #888;
  389. font-size: 1.1rem;
  390. border-radius: 4px 4px 0 0;
  391. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  392. text-shadow: 0 1px #ccc;
  393. font-weight: normal;
  394. }
  395. .box .box-title .configure {
  396. margin-left: 4px;
  397. }
  398. .box .box-content {
  399. padding-right: 30px;
  400. max-height: 260px;
  401. }
  402. .box .box-content .item {
  403. font-size: 0.9rem;
  404. line-height: 2.5em;
  405. }
  406. /*=== Tree */
  407. .tree {
  408. margin: 10px 0;
  409. }
  410. .tree-folder-title {
  411. position: relative;
  412. padding: 0 10px;
  413. line-height: 2.5rem;
  414. font-size: 0.9rem;
  415. }
  416. .tree-folder-title .title {
  417. background: inherit;
  418. color: #fff;
  419. }
  420. .tree-folder-title .title:hover {
  421. text-decoration: none;
  422. }
  423. .tree-folder.active .tree-folder-title {
  424. background: linear-gradient(-180deg, #222 0%, #171717 100%) #171717;
  425. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  426. color: #fff;
  427. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
  428. text-shadow: 0 0 2px rgba(255,255,255,0.28);
  429. }
  430. .tree-folder-items {
  431. padding: 8px 0;
  432. background: #171717;
  433. box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
  434. }
  435. .tree-folder-items > .item {
  436. padding: 0 10px;
  437. line-height: 2.5rem;
  438. font-size: 0.8rem;
  439. }
  440. .tree-folder-items > .item.active {
  441. margin: 0px 8px;
  442. background: linear-gradient(-180deg, #222 0%, #171717 100%) #171717;
  443. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  444. border-radius: 4px;
  445. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
  446. }
  447. .tree-folder-items > .item > a {
  448. text-decoration: none;
  449. color: #fff;
  450. font-size: 0.92em;
  451. }
  452. /*=== Scrollbar */
  453. @supports (scrollbar-width: thin) {
  454. #sidebar {
  455. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  456. }
  457. #sidebar:hover {
  458. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  459. }
  460. }
  461. @supports not (scrollbar-width: thin) {
  462. #sidebar::-webkit-scrollbar-thumb {
  463. background: rgba(255, 255, 255, 0.1);
  464. }
  465. #sidebar:hover::-webkit-scrollbar-thumb {
  466. background: rgba(255, 255, 255, 0.3);
  467. }
  468. }
  469. /*=== STRUCTURE */
  470. /*===============*/
  471. /*=== Header */
  472. .header {
  473. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  474. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  475. height: 55px;
  476. }
  477. .header > .item {
  478. padding: 0;
  479. vertical-align: middle;
  480. text-align: center;
  481. }
  482. .header > .item.title .logo {
  483. margin: 0.5em 0;
  484. height: 35px;
  485. filter: invert(80%);
  486. }
  487. .header > .item.title {
  488. width: 250px;
  489. }
  490. .header > .item.search input {
  491. width: 230px;
  492. }
  493. .header .item.search input:focus {
  494. width: 350px;
  495. }
  496. /*=== Body */
  497. #global {
  498. background: #ede7de;
  499. height: calc(100% - 55px);
  500. }
  501. .aside {
  502. background: #222;
  503. width: 235px;
  504. border-top: 1px solid #ccc;
  505. border-radius: 12px 0px 0px 0px;
  506. box-shadow: 0px -1px #fff, 0 2px 2px #171717 inset;
  507. }
  508. .aside.aside_feed {
  509. padding: 10px 0;
  510. text-align: center;
  511. }
  512. .aside.aside_feed .tree {
  513. margin: 10px 0 50px;
  514. }
  515. /*=== Aside main page (categories) */
  516. .aside.aside_feed .category .title:not([data-unread="0"])::after {
  517. background-color: #d18114;
  518. }
  519. .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
  520. background-color: #222;
  521. color: #ccc;
  522. border: 1px solid #333;
  523. }
  524. .aside_feed .btn-important {
  525. border: none;
  526. }
  527. /*=== Aside main page (feeds) */
  528. .feed.item.empty,
  529. .feed.item.empty > a {
  530. color: #e67e22;
  531. }
  532. .feed.item.error,
  533. .feed.item.error > a {
  534. color: #bd362f;
  535. }
  536. .aside_feed .tree-folder-items .dropdown-menu::after {
  537. right: 2px;
  538. }
  539. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  540. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  541. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  542. border-radius: 3px;
  543. }
  544. /*=== Configuration pages */
  545. .post {
  546. padding: 10px 50px;
  547. font-size: 0.9em;
  548. }
  549. .post form {
  550. margin: 10px 0;
  551. }
  552. .post.content {
  553. max-width: 550px;
  554. }
  555. /*=== Prompt (centered) */
  556. .prompt {
  557. text-shadow: 0 1px rgba(255,255,255,0.08);
  558. }
  559. .prompt .form-group {
  560. margin-bottom: 1rem;
  561. }
  562. .prompt .form-group::after {
  563. display: none;
  564. }
  565. .prompt .form-group.form-group-actions {
  566. display: flex;
  567. margin-top: 2rem;
  568. align-items: center;
  569. justify-content: space-between;
  570. }
  571. .prompt input#username,.prompt input#passwordPlain {
  572. background: #fff;
  573. border: solid 1px #ccc;
  574. box-shadow: 0 4px -4px #ccc inset,0px 1px rgba(255, 255, 255, 0.08);
  575. }
  576. .prompt input#username:focus,.prompt input#passwordPlain:focus {
  577. border: solid 1px #e7ab34;
  578. box-shadow: 0 0 3px #e7ab34;
  579. }
  580. .prompt .btn.btn-important {
  581. padding-right: 1.5rem;
  582. padding-left: 1.5rem;
  583. font-size: 1.1rem;
  584. }
  585. /*=== New article notification */
  586. #new-article {
  587. background: #0084cc;
  588. text-align: center;
  589. font-size: 0.9em;
  590. }
  591. #new-article > a {
  592. line-height: 3em;
  593. color: #fff;
  594. font-weight: bold;
  595. }
  596. #new-article > a:hover {
  597. text-decoration: none;
  598. background: #06c;
  599. }
  600. /*=== Day indication */
  601. .day {
  602. padding: 0 10px;
  603. background: linear-gradient(0deg, #ede7de 0%, #c2bcb3 100%) #ede7de;
  604. background: -webkit-linear-gradient(bottom, #c2bcb3 0%, #fff 100%);
  605. color: #666;
  606. box-shadow: 0 1px #bdb7ae inset, 0 -1px rgba(255,255,255,0.28) inset;
  607. font-style: italic;
  608. line-height: 3em;
  609. text-shadow: 0 1px rgba(255,255,255,0.28);
  610. text-align: center;
  611. }
  612. #new-article + .day {
  613. border-top: none;
  614. }
  615. .day .name {
  616. display: none;
  617. }
  618. /*=== Index menu */
  619. .nav_menu {
  620. padding: 5px 0;
  621. background: #ede7de;
  622. border-bottom: 1px solid #ccc;
  623. box-shadow: 0 -1px rgba(255, 255, 255, 0.28) inset;
  624. text-align: center;
  625. }
  626. #panel >.nav_menu {
  627. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  628. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  629. }
  630. #panel > .nav_menu > #nav_menu_read_all {
  631. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  632. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  633. border: 1px solid #ccc;
  634. border-radius: 4px;
  635. box-shadow: 0px 1px #fff;
  636. }
  637. #panel > .nav_menu > #nav_menu_read_all .dropdown > .btn.dropdown-toggle {
  638. border: none;
  639. border-right: solid 1px #ccc;
  640. border-radius: 4px 0 0 4px;
  641. }
  642. /*=== Feed articles */
  643. .flux_content {
  644. background: #fff;
  645. border-radius: 10px;
  646. }
  647. .flux {
  648. background: #ede7de;
  649. }
  650. .flux .flux_header:hover {
  651. background: #f9f7f4;
  652. }
  653. .flux:not(.current):hover .item.title {
  654. background: #f9f7f4;
  655. }
  656. .flux.current .flux .item.title a {
  657. text-shadow: 0 0 2px #ccc;
  658. }
  659. .flux.favorite {
  660. background: #fff6da;
  661. }
  662. .flux.favorite:not(.current):hover {
  663. background: #f9f7f4;
  664. }
  665. .flux.favorite:not(.current):hover .item.title {
  666. background: #f9f7f4;
  667. }
  668. .flux.current {
  669. margin: 3px 6px;
  670. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  671. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  672. border-radius: 10px;
  673. box-shadow: 0 -1px #fff inset, 0 2px #ccc;
  674. }
  675. .flux .item.title a {
  676. color: #aca8a3;
  677. }
  678. .flux.not_read .item.title a,
  679. .flux.favorite .item.title a {
  680. color: #333;
  681. }
  682. .flux.not_read:not(.current):hover .item.title a {
  683. color: #50504f;
  684. }
  685. .flux.current .item.title a {
  686. color: #0f0f0f;
  687. }
  688. .flux_header {
  689. font-size: 0.8rem;
  690. border-top: 1px solid #ddd;
  691. box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
  692. cursor: pointer;
  693. }
  694. .flux_header .title {
  695. font-size: 0.9rem;
  696. }
  697. .flux .item.date {
  698. color: #666;
  699. font-size: 0.7rem;
  700. }
  701. .flux .bottom {
  702. font-size: 0.8rem;
  703. text-align: center;
  704. }
  705. /*=== Content of feed articles */
  706. .content {
  707. padding: 20px 10px;
  708. }
  709. .content > h1.title > a {
  710. color: #000;
  711. }
  712. .content hr {
  713. margin: 30px 10px;
  714. background: #ddd;
  715. height: 1px;
  716. border: 0;
  717. box-shadow: 0 2px 5px #ccc;
  718. }
  719. .content pre {
  720. margin: 10px auto;
  721. padding: 10px 20px;
  722. overflow: auto;
  723. background: #222;
  724. color: #fff;
  725. font-size: 0.9rem;
  726. border-radius: 3px;
  727. }
  728. .content code {
  729. padding: 2px 5px;
  730. background: #fafafa;
  731. color: #d14;
  732. border: 1px solid #eee;
  733. border-radius: 3px;
  734. }
  735. .content pre code {
  736. background: transparent;
  737. color: #fff;
  738. border: none;
  739. }
  740. .content blockquote {
  741. margin: 0;
  742. padding: 5px 20px;
  743. background: #fafafa;
  744. display: block;
  745. color: #333;
  746. border-top: 1px solid #ddd;
  747. border-bottom: 1px solid #ddd;
  748. }
  749. .content blockquote p {
  750. margin: 0;
  751. }
  752. /*=== Notification and actualize notification */
  753. .notification {
  754. background: #222;
  755. color: #fff;
  756. font-size: 0.9em;
  757. border: none;
  758. border-radius: 0 0 12px 12px;
  759. 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;
  760. text-align: center;
  761. font-weight: bold;
  762. position: absolute;
  763. top: 0;
  764. vertical-align: middle;
  765. }
  766. .notification.good {
  767. color: #c95;
  768. }
  769. .notification.bad {
  770. background: #fdd;
  771. color: #844;
  772. }
  773. /*=== "Load more" part */
  774. #bigMarkAsRead {
  775. background: #ede7de;
  776. color: #666;
  777. box-shadow: 0 1px rgba(255,255,255,0.28)inset;
  778. text-align: center;
  779. text-decoration: none;
  780. text-shadow: 0 -1px 0 #aaa;
  781. }
  782. #bigMarkAsRead:hover {
  783. background: #ede7de;
  784. background: radial-gradient(circle at 50% -25% , #ccc 0%, #ede7de 50%);
  785. color: #000;
  786. }
  787. #bigMarkAsRead:hover .bigTick {
  788. text-shadow: 0 0 10px #666;
  789. }
  790. .switch.active {
  791. background-color: #d18114;
  792. }
  793. /*=== Navigation menu (for articles) */
  794. #nav_entries {
  795. background: linear-gradient(-180deg, #222 0%, #171717 100%) #222;
  796. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  797. width: 235px;
  798. border-top: 1px solid #171717;
  799. box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
  800. text-align: center;
  801. line-height: 3em;
  802. table-layout: fixed;
  803. }
  804. /*=== READER VIEW */
  805. /*================*/
  806. #stream.reader .flux {
  807. background: #ede7de;
  808. color: #333;
  809. border: none;
  810. }
  811. #stream.reader .flux_content {
  812. background: none;
  813. border-radius: 0;
  814. }
  815. #stream.reader .flux .content {
  816. background-color: #fff;
  817. border-color: #ddd;
  818. border-radius: 10px;
  819. box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
  820. }
  821. #stream.reader .flux .author {
  822. margin: 0 0 10px;
  823. color: #666;
  824. font-size: 90%;
  825. }
  826. /*=== GLOBAL VIEW */
  827. /*================*/
  828. #stream.global {
  829. padding: 24px 0;
  830. box-shadow: 0px 8px 8px #c2bcb3 inset;
  831. }
  832. .box.category .box-title {
  833. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
  834. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  835. font-size: 1.2rem;
  836. border-radius: none;
  837. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  838. line-height: 2em;
  839. text-shadow: 0 1px #ccc;
  840. }
  841. .box.category .box-title .title {
  842. font-weight: normal;
  843. text-decoration: none;
  844. text-align: right;
  845. color: #888;
  846. }
  847. .box.category:not([data-unread="0"]) .box-title .title {
  848. color: #222;
  849. font-weight: bold;
  850. }
  851. .box.category .title:not([data-unread="0"])::after {
  852. background: none;
  853. border: 0;
  854. position: absolute;
  855. top: 5px; left: 10px;
  856. font-weight: bold;
  857. }
  858. .box.category .item.feed:not(.empty):not(.error) .item-title {
  859. color: #222;
  860. }
  861. /*=== PANEL */
  862. /*===========*/
  863. #panel {
  864. background: #ede7de;
  865. border-radius: 8px;
  866. box-shadow: 0px 0px 4px #000;
  867. }
  868. /*=== DIVERS */
  869. /*===========*/
  870. .aside.aside_feed .nav-form input,.aside.aside_feed .nav-form select {
  871. width: 130px;
  872. }
  873. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  874. left: -20px;
  875. }
  876. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  877. left: 33px;
  878. }
  879. /*=== STATISTICS */
  880. /*===============*/
  881. .stat {
  882. margin: 10px 0 20px;
  883. }
  884. .stat th,
  885. .stat td,
  886. .stat tr {
  887. border: none;
  888. }
  889. .stat > table td,
  890. .stat > table th {
  891. background: rgba(255,255,255,0.38);
  892. border-bottom: 1px solid #ccc;
  893. box-shadow: 0 1px #fff;
  894. }
  895. #slider.active {
  896. background: #f8f8f8;
  897. box-shadow: 4px 0 4px rgba(15, 15, 15, 0.55);
  898. }
  899. #close-slider.active {
  900. background: rgba(15, 15, 15, 0.35);
  901. }
  902. /*=== MOBILE */
  903. /*===========*/
  904. @media screen and (max-width: 840px) {
  905. .form-group .group-name {
  906. padding-bottom: 0;
  907. text-align: right;
  908. }
  909. .header {
  910. display: table;
  911. }
  912. .nav-login {
  913. display: none;
  914. }
  915. .aside {
  916. width: 0;
  917. border-top: none;
  918. box-shadow: -3px 0 3px #000;
  919. transition: width 200ms linear;
  920. }
  921. .aside:target {
  922. width: 235px;
  923. }
  924. .aside .toggle_aside,
  925. #panel .close,
  926. .dropdown-menu .toggle_aside {
  927. background: #171717;
  928. border-radius: 8px 0 8px 0;
  929. box-shadow: 0 1px rgba(255,255,255,0.08);
  930. }
  931. .aside.aside_feed {
  932. padding: 0;
  933. }
  934. .nav_menu .btn {
  935. margin: 5px 10px;
  936. padding: 3px 5px;
  937. min-height: 0;
  938. }
  939. .nav_menu .stick {
  940. margin: 0 10px;
  941. }
  942. .nav_menu .stick .btn {
  943. margin: 5px 0;
  944. }
  945. .nav_menu .search {
  946. display: none;
  947. }
  948. .nav_menu .search input {
  949. padding: 3px 5px;
  950. max-width: 97%;
  951. width: 90px;
  952. }
  953. .nav_menu .search input:focus {
  954. width: 400px;
  955. }
  956. .dropdown-target:target ~ .dropdown-toggle::after {
  957. background-color: #222;
  958. border-top: 1px solid #171717;
  959. border-right: 1px solid #171717;
  960. }
  961. .day .name {
  962. display: none;
  963. }
  964. .notification a.close {
  965. background: transparent;
  966. display: block;
  967. right: 0;
  968. }
  969. .notification a.close:hover {
  970. opacity: 0.5;
  971. }
  972. .notification a.close .icon {
  973. display: none;
  974. }
  975. #nav_entries {
  976. width: 100%;
  977. }
  978. .post {
  979. padding-right: 15px;
  980. padding-left: 15px;
  981. }
  982. #close-slider.active {
  983. background: #171717;
  984. box-shadow: 0 1px rgba(255,255,255,0.08)
  985. }
  986. }
  987. @media (max-width: 700px) {
  988. .nav-login {
  989. display: inline-block;
  990. width: 100%;
  991. }
  992. .nav_menu .search {
  993. display: inline-block;
  994. }
  995. }