screwdriver.rtl.css 22 KB

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