BlueLagoon.css 21 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205
  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: #0062be;
  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 #0062bf;
  47. box-shadow: 0 0 3px #0062bf;
  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. border-style: solid;
  56. border-color: #ccc;
  57. }
  58. input.extend {
  59. transition: width 200ms linear;
  60. }
  61. /*=== Tables */
  62. table {
  63. border-collapse: collapse;
  64. }
  65. th, td {
  66. border: 1px solid #ddd;
  67. }
  68. th {
  69. background: #f6f6f6;
  70. }
  71. form td,
  72. form th {
  73. font-weight: normal;
  74. text-align: center;
  75. }
  76. /*=== COMPONENTS */
  77. /*===============*/
  78. /*=== Forms */
  79. .form-group.form-actions {
  80. padding: 5px 0;
  81. background: #f4f4f4;
  82. border-top: 1px solid #ddd;
  83. }
  84. .form-group.form-actions .btn {
  85. margin: 0 10px;
  86. border-radius: 4px;
  87. box-shadow: 0 1px rgba(255,255,255,0.08) inset;
  88. }
  89. .form-group .group-name {
  90. padding: 10px 0;
  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: 6px 0 0 6px;
  115. }
  116. .stick .btn:last-child, .stick input:last-child {
  117. border-radius: 0 6px 6px 0;
  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-left: none;
  129. }
  130. .stick .btn + .dropdown > .btn {
  131. border-left: none;
  132. border-radius: 0 3px 3px 0;
  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, #0090ff 0%, #0062be 100%) #e4992c;
  189. background: -webkit-linear-gradient(top, #0090ff 0%, #0062be 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 .icon {
  197. filter: brightness(3);
  198. }
  199. .btn-important:active {
  200. background: linear-gradient(0deg, #e4992c 0%, #d18114 100%) #e4992c;
  201. background: -webkit-linear-gradient(bottom, #e4992c 0%, #d18114 100%);
  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 a {
  237. margin: 0;
  238. background: linear-gradient(180deg, #0090ff 0%, #0062be 100%) #e4992c;
  239. background: -webkit-linear-gradient(top, #0090ff 0%, #0062be 100%);
  240. color: #fff;
  241. border-color: -moz-use-text-color -moz-use-text-color #171717;
  242. }
  243. .nav-list .item > a {
  244. padding: 0 10px;
  245. color: #ccc;
  246. }
  247. .nav-list a:hover {
  248. text-decoration: none;
  249. }
  250. .nav-list .nav-header {
  251. padding: 0 10px;
  252. background: transparent;
  253. color: #222;
  254. }
  255. .nav-list .nav-form {
  256. padding: 3px;
  257. text-align: center;
  258. }
  259. /*=== Dropdown */
  260. .dropdown-menu {
  261. margin: 5px 0 0;
  262. padding: 5px 0;
  263. background: #222;
  264. font-size: 0.8rem;
  265. border: 1px solid #171717;
  266. border-radius: 4px;
  267. box-shadow: 0 0 3px #000;
  268. text-align: left;
  269. }
  270. .dropdown-menu::after {
  271. background: #222;
  272. width: 10px;
  273. height: 10px;
  274. border-top: 1px solid #171717;
  275. border-left: 1px solid #171717;
  276. content: "";
  277. position: absolute;
  278. top: -6px;
  279. right: 13px;
  280. z-index: -10;
  281. transform: rotate(45deg);
  282. }
  283. .dropdown-header,
  284. .dropdown-section .dropdown-section-title {
  285. padding: 0 5px 5px;
  286. color: #ccc;
  287. font-weight: bold;
  288. }
  289. .dropdown-menu .icon {
  290. filter: grayscale(100%) brightness(2.5);
  291. }
  292. .dropdown-menu .item > a,
  293. .dropdown-menu .item > span,
  294. .dropdown-menu .item > .as-link {
  295. padding: 0 22px;
  296. line-height: 2.5em;
  297. color: #ccc;
  298. font-size: 0.8rem;
  299. }
  300. .dropdown-menu > .item > label {
  301. color: #ccc;
  302. }
  303. .dropdown-menu .dropdown-section .item > a,
  304. .dropdown-menu .dropdown-section .item > span,
  305. .dropdown-menu .dropdown-section .item > .as-link {
  306. padding-left: 2rem;
  307. }
  308. .dropdown-menu .dropdown-section .item:last-child {
  309. margin-bottom: 0.5rem;
  310. }
  311. .dropdown-menu .item > a:hover,
  312. .dropdown-menu .item > button:hover,
  313. .dropdown-menu .item > label:hover:not(.noHover) {
  314. background: linear-gradient(180deg, #0090ff 0%, #0062be 100%) #e4992c;
  315. background: -webkit-linear-gradient(top, #0090ff 0%, #0062be 100%);
  316. color: #fff;
  317. }
  318. .dropdown-menu > .item[aria-checked="true"] > a::before {
  319. font-weight: bold;
  320. margin: 0 0 0 -14px;
  321. }
  322. .item ~ .dropdown-header,
  323. .item.separator {
  324. border-top-color: rgba(255,255,255,0.08);
  325. }
  326. /*=== Alerts */
  327. .alert {
  328. margin: 15px auto;
  329. padding: 10px 15px;
  330. background: #f4f4f4;
  331. color: #aaa;
  332. font-size: 0.9em;
  333. border: 1px solid #ccc;
  334. border-right: 1px solid #aaa;
  335. border-bottom: 1px solid #aaa;
  336. border-radius: 5px;
  337. text-shadow: 0 0 1px #eee;
  338. }
  339. .alert-head {
  340. font-size: 1.15em;
  341. }
  342. .alert > a {
  343. color: inherit;
  344. text-decoration: underline;
  345. }
  346. .alert-warn {
  347. background: #ffe;
  348. color: #c95;
  349. border: 1px solid #eeb;
  350. }
  351. .alert-success {
  352. background: #dfd;
  353. color: #484;
  354. border: 1px solid #cec;
  355. }
  356. .alert-error {
  357. background: #fdd;
  358. color: #844;
  359. border: 1px solid #ecc;
  360. }
  361. /*=== Pagination */
  362. .pagination {
  363. background: #fafafa;
  364. color: #333;
  365. }
  366. .pagination .item a {
  367. color: #333;
  368. }
  369. .pagination .item a:hover {
  370. background: #ddd;
  371. color: inherit;
  372. }
  373. .pagination .item {
  374. border-top: 1px solid #ddd;
  375. border-bottom: 1px solid #ddd;
  376. }
  377. /*=== Boxes */
  378. .box {
  379. background: #f9f7f4;
  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-right: 4px;
  397. }
  398. .box .box-content {
  399. padding-left: 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.active > .tree-folder-title > a.title {
  431. color: #0090ff;
  432. text-shadow: 0 1px rgba(255,255,255,0.08);
  433. }
  434. .tree-folder-items {
  435. padding: 8px 0;
  436. background: #171717;
  437. box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
  438. }
  439. .tree-folder-items > .item {
  440. font-size: 0.8rem;
  441. }
  442. .tree-folder-items > .item.active {
  443. margin: 0px 5px;
  444. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  445. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  446. border-radius: 4px;
  447. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
  448. }
  449. .tree-folder-items > .item > a {
  450. text-decoration: none;
  451. color: #fff;
  452. font-size: 0.92em;
  453. }
  454. .tree-folder-items > .item.active > a {
  455. color: #0090ff;
  456. }
  457. /*=== Scrollbar */
  458. @supports (scrollbar-width: thin) {
  459. #sidebar {
  460. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  461. }
  462. #sidebar:hover {
  463. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  464. }
  465. }
  466. @supports not (scrollbar-width: thin) {
  467. #sidebar::-webkit-scrollbar-thumb {
  468. background: rgba(255, 255, 255, 0.1);
  469. }
  470. #sidebar:hover::-webkit-scrollbar-thumb {
  471. background: rgba(255, 255, 255, 0.3);
  472. }
  473. }
  474. /*=== STRUCTURE */
  475. /*===============*/
  476. /*=== Header */
  477. .header {
  478. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  479. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  480. border-bottom: solid 1px #bdb7ae;
  481. box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
  482. }
  483. .header > .item {
  484. padding: 0;
  485. vertical-align: middle;
  486. text-align: center;
  487. }
  488. .header > .item.title .logo {
  489. margin: 10px 0;
  490. height: 40px;
  491. filter: grayscale(100%) brightness(0%);
  492. }
  493. .header > .item.title {
  494. width: 250px;
  495. }
  496. .header > .item.title a {
  497. text-shadow: 0 1px #fff;
  498. }
  499. .header > .item.search input {
  500. width: 230px;
  501. }
  502. .header .item.search input:focus {
  503. width: 350px;
  504. }
  505. /*=== Body */
  506. #global {
  507. background: #f9f7f4;
  508. /* Header : 60px + 1px border bottom */
  509. height: calc(100% - 61px);
  510. }
  511. .aside {
  512. background: #222;
  513. width: 235px;
  514. box-shadow: 0 2px 2px #171717 inset;
  515. }
  516. .aside.aside_feed {
  517. padding: 10px 0;
  518. text-align: center;
  519. }
  520. .aside.aside_feed .tree {
  521. margin: 10px 0 50px;
  522. }
  523. /*=== Aside main page (categories) */
  524. .aside_feed .btn-important {
  525. border: none;
  526. }
  527. .aside.aside_feed .tree-folder-items .item.feed.active {
  528. padding: 0 10px;
  529. }
  530. .aside.aside_feed .category .title:not([data-unread="0"])::after {
  531. background-color: #171717;
  532. color: #ccc;
  533. border-color: #999;
  534. }
  535. .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
  536. background-color: #222;
  537. color: #ccc;
  538. border-color: #999;
  539. }
  540. .aside.aside_feed .feed.active .item-title:not([data-unread="0"])::after {
  541. right: 5px;
  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. left: 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 .form-group {
  573. margin-bottom: 1rem;
  574. }
  575. .prompt .form-group::after {
  576. display: none;
  577. }
  578. .prompt .form-group.form-group-actions {
  579. display: flex;
  580. margin-top: 2rem;
  581. align-items: center;
  582. justify-content: space-between;
  583. }
  584. .prompt input#username,.prompt input#passwordPlain {
  585. background: #fff;
  586. border: solid 1px #ccc;
  587. box-shadow: 0 4px -4px #ccc inset,0px 1px rgba(255, 255, 255, 0.08);
  588. }
  589. .prompt input#username:focus,.prompt input#passwordPlain:focus {
  590. border: solid 1px #0062be;
  591. box-shadow: 0 0 3px #0062be;
  592. }
  593. .prompt .btn.btn-important {
  594. padding-left: 1.5rem;
  595. padding-right: 1.5rem;
  596. font-size: 1.1rem;
  597. }
  598. /*=== New article notification */
  599. #new-article {
  600. background: #0084cc;
  601. text-align: center;
  602. font-size: 0.9em;
  603. }
  604. #new-article > a {
  605. line-height: 3em;
  606. color: #fff;
  607. font-weight: bold;
  608. }
  609. #new-article > a:hover {
  610. text-decoration: none;
  611. background: #06c;
  612. }
  613. /*=== Day indication */
  614. .day {
  615. padding: 0 10px;
  616. background: #f9f7f4;
  617. color: #666;
  618. box-shadow: 0 -1px #ccc, 0 -1px rgba(255,255,255,0.28) inset;
  619. font-style: italic;
  620. line-height: 3em;
  621. text-shadow: 0 1px rgba(255,255,255,0.28);
  622. text-align: center;
  623. }
  624. #new-article + .day {
  625. border-top: none;
  626. }
  627. .day .name {
  628. display: none;
  629. }
  630. /*=== Index menu */
  631. .nav_menu {
  632. padding: 5px 0;
  633. background: linear-gradient(0deg, #ede7de 0%, #c2bcb3 100%) #ede7de;
  634. background: -webkit-linear-gradient(bottom, #ede7de 0%, #c2bcb3 100%);
  635. border-bottom: 1px solid #ccc;
  636. box-shadow: 0 -1px rgba(255, 255, 255, 0.28) inset;
  637. text-align: center;
  638. }
  639. #panel >.nav_menu {
  640. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  641. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  642. }
  643. #panel > .nav_menu > #nav_menu_read_all {
  644. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  645. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  646. border: 1px solid #ccc;
  647. border-radius: 4px;
  648. box-shadow: 0px 1px #fff;
  649. }
  650. #panel > .nav_menu > #nav_menu_read_all .dropdown > .btn.dropdown-toggle {
  651. border: none;
  652. border-left: solid 1px #ccc;
  653. border-radius: 0 4px 4px 0;
  654. }
  655. /*=== Feed articles */
  656. .flux_content {
  657. background: #fff;
  658. }
  659. .flux {
  660. background: #f9f7f4;
  661. }
  662. .flux .flux_header:hover {
  663. background: #f9f7f4;
  664. }
  665. .flux:not(.current):hover .item.title {
  666. background: #f9f7f4;
  667. }
  668. .flux.current .flux .item.title a {
  669. text-shadow: 0 0 2px #ccc;
  670. }
  671. .flux.favorite {
  672. background: #fff6da;
  673. }
  674. .flux.favorite:not(.current):hover {
  675. background: #f9f7f4;
  676. }
  677. .flux.favorite:not(.current):hover .item.title {
  678. background: #f9f7f4;
  679. }
  680. .flux.current {
  681. background: linear-gradient(0deg, #dad4cb 0%, #fff 100%) #dad4cb;
  682. background: -webkit-linear-gradient(bottom, #dad4cb 0%, #fff 100%);
  683. border-left: solid 4px #0062bf;
  684. box-shadow: 0 -1px #fff inset, 0 2px #ccc;
  685. }
  686. .flux .item.title a {
  687. color: #b4b3b1;
  688. }
  689. .flux.not_read .item.title a,
  690. .flux.favorite .item.title a {
  691. color: #333;
  692. }
  693. .flux.not_read:not(.current):hover .item.title a {
  694. color: #50504f;
  695. }
  696. .flux.current .item.title a {
  697. color: #0f0f0f;
  698. }
  699. .flux_header {
  700. font-size: 0.8rem;
  701. border-top: 1px solid #ddd;
  702. box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
  703. cursor: pointer;
  704. }
  705. .flux_header .title {
  706. font-size: 0.9rem;
  707. }
  708. .flux .item.date {
  709. color: #666;
  710. font-size: 0.7rem;
  711. }
  712. .flux .bottom {
  713. font-size: 0.8rem;
  714. text-align: center;
  715. }
  716. /*=== Content of feed articles */
  717. .content {
  718. padding: 20px 10px;
  719. }
  720. .content > h1.title > a {
  721. color: #000;
  722. }
  723. .content hr {
  724. margin: 30px 10px;
  725. background: #ddd;
  726. height: 1px;
  727. border: 0;
  728. box-shadow: 0 2px 5px #ccc;
  729. }
  730. .content pre {
  731. margin: 10px auto;
  732. padding: 10px 20px;
  733. overflow: auto;
  734. background: #222;
  735. color: #fff;
  736. font-size: 0.9rem;
  737. border-radius: 3px;
  738. }
  739. .content code {
  740. padding: 2px 5px;
  741. background: #fafafa;
  742. color: #d14;
  743. border: 1px solid #eee;
  744. border-radius: 3px;
  745. }
  746. .content pre code {
  747. background: transparent;
  748. color: #fff;
  749. border: none;
  750. }
  751. .content blockquote {
  752. margin: 0;
  753. padding: 5px 20px;
  754. background: #fafafa;
  755. display: block;
  756. color: #333;
  757. border-top: 1px solid #ddd;
  758. border-bottom: 1px solid #ddd;
  759. }
  760. .content blockquote p {
  761. margin: 0;
  762. }
  763. /*=== Notification and actualize notification */
  764. .notification {
  765. background: #222;
  766. color: #fff;
  767. font-size: 0.9em;
  768. border: none;
  769. border-radius: 0 0 6px 6px;
  770. 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;
  771. text-align: center;
  772. font-weight: bold;
  773. position: absolute;
  774. top: 0;
  775. vertical-align: middle;
  776. }
  777. .notification.good {
  778. color: #fff;
  779. }
  780. .notification.bad {
  781. background: #222;
  782. color: #eb2901;
  783. }
  784. .notification a.close:hover {
  785. background: rgba(255,255,255,0.2);
  786. }
  787. .notification a.close:hover .icon {
  788. filter: brightness(2);
  789. }
  790. /*=== "Load more" part */
  791. #bigMarkAsRead {
  792. background: #f9f7f4;
  793. color: #666;
  794. box-shadow: 0 1px rgba(255,255,255,0.28)inset;
  795. text-align: center;
  796. text-decoration: none;
  797. text-shadow: 0 -1px 0 #aaa;
  798. }
  799. #bigMarkAsRead:hover {
  800. background: #f9f7f4;
  801. background: radial-gradient(circle at 50% -25% , #ccc 0%, #f9f7f4 50%);
  802. color: #000;
  803. }
  804. #bigMarkAsRead:hover .bigTick {
  805. text-shadow: 0 0 10px #666;
  806. }
  807. /*=== Navigation menu (for articles) */
  808. #nav_entries {
  809. background: linear-gradient(180deg, #222 0%, #171717 100%) #222;
  810. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  811. width: 235px;
  812. border-top: 1px solid #171717;
  813. box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
  814. text-align: center;
  815. line-height: 3em;
  816. table-layout: fixed;
  817. }
  818. /*=== READER VIEW */
  819. /*================*/
  820. #stream.reader .flux {
  821. background: #f9f7f4;
  822. color: #333;
  823. border: none;
  824. }
  825. #stream.reader .flux_content {
  826. background: none;
  827. }
  828. #stream.reader .flux .content {
  829. background-color: #fff;
  830. border-color: #ddd;
  831. }
  832. #stream.reader .flux .author {
  833. margin: 0 0 10px;
  834. color: #666;
  835. font-size: 90%;
  836. }
  837. /*=== GLOBAL VIEW */
  838. /*================*/
  839. #stream.global {
  840. padding: 24px 0;
  841. }
  842. .box.category .box-title {
  843. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
  844. font-size: 1.2rem;
  845. border-radius: none;
  846. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  847. line-height: 2em;
  848. text-shadow: 0 1px #ccc;
  849. }
  850. .box.category .box-title .title {
  851. font-weight: normal;
  852. text-decoration: none;
  853. text-align: left;
  854. color: #888;
  855. }
  856. .box.category:not([data-unread="0"]) .box-title .title {
  857. color: #222;
  858. font-weight: bold;
  859. }
  860. .box.category .title:not([data-unread="0"])::after {
  861. background: none;
  862. border: 0;
  863. position: absolute;
  864. top: 5px; right: 10px;
  865. font-weight: bold;
  866. }
  867. .box.category .item.feed:not(.empty):not(.error) .item-title {
  868. color: #222;
  869. }
  870. /*=== PANEL */
  871. /*===========*/
  872. #panel {
  873. background: #f9f7f4;
  874. border-radius: 8px;
  875. box-shadow: 0px 0px 4px #000;
  876. }
  877. /*=== DIVERS */
  878. /*===========*/
  879. .aside.aside_feed .nav-form input,.aside.aside_feed .nav-form select {
  880. width: 130px;
  881. }
  882. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  883. right: -20px;
  884. }
  885. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  886. right: 33px;
  887. }
  888. /*=== STATISTICS */
  889. /*===============*/
  890. .stat {
  891. margin: 10px 0 20px;
  892. }
  893. .stat th,
  894. .stat td,
  895. .stat tr {
  896. border: none;
  897. }
  898. .stat > table td,
  899. .stat > table th {
  900. background: rgba(255,255,255,0.38);
  901. border-bottom: 1px solid #ccc;
  902. box-shadow: 0 1px #fff;
  903. }
  904. #slider.active {
  905. background: #f8f8f8;
  906. box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
  907. }
  908. #close-slider.active {
  909. background: rgba(15, 15, 15, 0.35);
  910. }
  911. /*=== MOBILE */
  912. /*===========*/
  913. @media screen and (max-width: 840px) {
  914. .form-group .group-name {
  915. padding-bottom: 0;
  916. }
  917. .header {
  918. display: table;
  919. }
  920. .header > .item.title .logo {
  921. height: 24px;
  922. }
  923. .nav-login {
  924. display: none;
  925. }
  926. .aside {
  927. width: 0;
  928. border-top: none;
  929. box-shadow: 3px 0 3px #000;
  930. transition: width 200ms linear;
  931. }
  932. .aside:target {
  933. width: 235px;
  934. }
  935. .aside .toggle_aside,
  936. #panel .close,
  937. .dropdown-menu .toggle_aside,
  938. #slider .toggle_aside {
  939. background: #171717;
  940. box-shadow: 0 1px rgba(255,255,255,0.08);
  941. }
  942. .aside.aside_feed {
  943. padding: 0;
  944. }
  945. .nav_menu .btn {
  946. margin: 5px 10px;
  947. }
  948. .nav_menu .stick {
  949. margin: 0 10px;
  950. }
  951. .nav_menu .stick .btn {
  952. margin: 5px 0;
  953. }
  954. .nav_menu .search {
  955. display: none;
  956. }
  957. .nav_menu .search input {
  958. max-width: 97%;
  959. width: 90px;
  960. }
  961. .nav_menu .search input:focus {
  962. width: 400px;
  963. }
  964. .dropdown-target:target ~ .dropdown-toggle::after {
  965. background-color: #222;
  966. border-top: 1px solid #171717;
  967. border-left: 1px solid #171717;
  968. right: 13px;
  969. }
  970. .day .name {
  971. display: none;
  972. }
  973. .notification a.close {
  974. background: transparent;
  975. display: block;
  976. left: 0;
  977. }
  978. .notification a.close:hover {
  979. opacity: 0.5;
  980. }
  981. .notification a.close .icon {
  982. display: none;
  983. }
  984. #nav_entries {
  985. width: 100%;
  986. }
  987. .post {
  988. padding-left: 15px;
  989. padding-right: 15px;
  990. }
  991. #close-slider.active {
  992. background: #171717;
  993. box-shadow: 0 1px rgba(255,255,255,0.08)
  994. }
  995. }
  996. @media (max-width: 700px) {
  997. .nav_menu .search {
  998. display: inline-block;
  999. }
  1000. }