mapco.css 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352
  1. @font-face {
  2. font-family: "lato";
  3. font-style: normal;
  4. font-stretch: normal;
  5. font-weight: 400;
  6. src: url("../fonts/LatoLatin-Regular.woff") format("woff");
  7. }
  8. @font-face {
  9. font-family: "lato";
  10. font-style: italic;
  11. font-stretch: normal;
  12. font-weight: 400;
  13. src: url("../fonts/LatoLatin-Italic.woff") format("woff");
  14. }
  15. @font-face {
  16. font-family: "lato";
  17. font-style: normal;
  18. font-stretch: normal;
  19. font-weight: 700;
  20. src: url("../fonts/LatoLatin-Bold.woff") format("woff");
  21. }
  22. @font-face {
  23. font-family: "lato";
  24. font-style: italic;
  25. font-stretch: normal;
  26. font-weight: 700;
  27. src: url("../fonts/LatoLatin-BoldItalic.woff") format("woff");
  28. }
  29. @font-face {
  30. font-family: "spectral";
  31. font-style: normal;
  32. font-stretch: normal;
  33. font-weight: 400;
  34. src: url("../fonts/Spectral-Regular.woff") format("woff");
  35. }
  36. @font-face {
  37. font-family: "spectral";
  38. font-style: italic;
  39. font-stretch: normal;
  40. font-weight: 400;
  41. src: url("../fonts/Spectral-Italic.woff") format("woff");
  42. }
  43. @font-face {
  44. font-family: "spectral";
  45. font-style: normal;
  46. font-stretch: normal;
  47. font-weight: 700;
  48. src: url("../fonts/Spectral-Bold.woff") format("woff");
  49. }
  50. @font-face {
  51. font-family: "spectral";
  52. font-style: italic;
  53. font-stretch: normal;
  54. font-weight: 700;
  55. src: url("../fonts/Spectral-BoldItalic.woff") format("woff");
  56. }
  57. /* stylelint-disable property-no-vendor-prefix */
  58. /* FUNCTIONS */
  59. /* btns */
  60. .btn {
  61. margin: 0;
  62. padding: 0.5rem 1.5rem;
  63. background: #f9fafb;
  64. color: #5b6871;
  65. font-size: 1rem;
  66. border: none;
  67. border-radius: 5px;
  68. min-height: 25px;
  69. min-width: 15px;
  70. line-height: 25px;
  71. vertical-align: middle;
  72. transition: all 0.15s ease-in-out;
  73. }
  74. .btn.btn-important {
  75. background: #36c;
  76. color: #fff;
  77. }
  78. .btn.btn-important:hover, .btn.btn-important:active {
  79. background: #25c;
  80. }
  81. .btn.btn-important img {
  82. filter: brightness(3);
  83. }
  84. .btn.btn-attention {
  85. background: #f5633e;
  86. color: #fff;
  87. }
  88. .btn.btn-attention:hover, .btn.btn-attention:active {
  89. background: #73341f;
  90. }
  91. .btn:hover {
  92. text-decoration: none;
  93. }
  94. /*=== Forms */
  95. legend {
  96. margin: 2rem 0 1rem 0;
  97. padding: 0;
  98. display: inline-block;
  99. width: auto;
  100. font-size: 1rem;
  101. clear: both;
  102. text-transform: uppercase;
  103. letter-spacing: 1px;
  104. font-weight: 700;
  105. }
  106. label {
  107. min-height: 25px;
  108. padding: 5px 0;
  109. cursor: pointer;
  110. color: #5b6871;
  111. }
  112. textarea {
  113. max-width: 100%;
  114. width: 360px;
  115. height: 100px;
  116. }
  117. input, select, textarea, button {
  118. padding: 5px 10px;
  119. background: #fff;
  120. color: #5b6871;
  121. font-family: "lato", "Helvetica", "Arial", sans-serif;
  122. font-size: 1rem;
  123. border: 1px solid #eff0f2;
  124. border-radius: 2px;
  125. min-height: 25px;
  126. line-height: 25px;
  127. vertical-align: middle;
  128. }
  129. select {
  130. padding-top: 9px;
  131. padding-bottom: 9px;
  132. }
  133. option {
  134. padding: 0 0.5em;
  135. }
  136. input:focus, select:focus, textarea:focus {
  137. color: #303136;
  138. border-color: #36c;
  139. }
  140. input:invalid, select:invalid {
  141. color: #f5633e;
  142. border-color: #f5633e;
  143. box-shadow: none;
  144. }
  145. input:disabled, select:disabled {
  146. background: #eff0f2;
  147. }
  148. .form-group {
  149. padding: 5px;
  150. border-radius: 3px;
  151. }
  152. .form-group::after {
  153. display: block;
  154. clear: both;
  155. }
  156. .form-group .group-name {
  157. padding: 10px 0;
  158. }
  159. .form-group .group-controls {
  160. min-height: 25px;
  161. padding: 5px 0;
  162. }
  163. .form-group .group-controls .control {
  164. line-height: 2em;
  165. }
  166. .form-group.form-actions {
  167. margin: 15px 0 25px;
  168. padding: 5px 0;
  169. }
  170. .form-group.form-actions .btn {
  171. margin: 0 0.5rem 0 0;
  172. }
  173. /*=== Tables */
  174. table {
  175. border-collapse: collapse;
  176. }
  177. th, td {
  178. border: 1px solid #d5d8db;
  179. }
  180. th {
  181. background: #f9fafb;
  182. }
  183. form td,
  184. form th {
  185. font-weight: normal;
  186. text-align: center;
  187. }
  188. /*=== COMPONENTS */
  189. /*===============*/
  190. /*=== Forms */
  191. /*=== Horizontal-list */
  192. .horizontal-list {
  193. padding: 0.1rem 0;
  194. }
  195. .horizontal-list .item:first-child {
  196. padding-left: 0.5rem;
  197. }
  198. /*=== Dropdown */
  199. .dropdown .dropdown-target:target + .btn {
  200. background-color: #d5d8db;
  201. }
  202. .dropdown-menu {
  203. margin: 9px 0 0 0;
  204. padding: 0.5rem 0 1rem 0;
  205. background: #f9fafb;
  206. font-size: 1rem;
  207. border: none;
  208. border-radius: 3px;
  209. box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
  210. text-align: left;
  211. }
  212. .dropdown-menu::after {
  213. border: none;
  214. right: 18px;
  215. }
  216. .dropdown-menu .dropdown-header,
  217. .dropdown-menu .dropdown-section .dropdown-section-title {
  218. padding: 1rem 1.5rem;
  219. font-weight: bold;
  220. text-align: left;
  221. color: #5b6871;
  222. text-transform: uppercase;
  223. letter-spacing: 1px;
  224. }
  225. .dropdown-menu .item {
  226. transition: all 0.075s ease-in-out;
  227. }
  228. .dropdown-menu .item > a,
  229. .dropdown-menu .item > span,
  230. .dropdown-menu .item > .as-link {
  231. padding: 0 2rem;
  232. color: #303136;
  233. font-size: inherit;
  234. line-height: 2.5em;
  235. }
  236. .dropdown-menu .item > a span.icon,
  237. .dropdown-menu .item > span span.icon,
  238. .dropdown-menu .item > .as-link span.icon {
  239. padding: 0 0.25rem !important;
  240. }
  241. .dropdown-menu .item > a:not(.addItem):hover,
  242. .dropdown-menu .item > .as-link:not(.addItem):hover {
  243. background: #36c;
  244. color: #fff;
  245. }
  246. .dropdown-menu .item > a:not(.addItem):hover .icon,
  247. .dropdown-menu .item > .as-link:not(.addItem):hover .icon {
  248. filter: brightness(3);
  249. }
  250. .dropdown-menu .item.dropdown-section {
  251. margin-top: 0.75rem;
  252. }
  253. .dropdown-menu .item.dropdown-section ~ .dropdown-section {
  254. border-top-color: #eff0f2;
  255. }
  256. .dropdown-menu .item.dropdown-section .item a, .dropdown-menu .item.dropdown-section .item .as-link {
  257. padding-left: 2rem;
  258. }
  259. .dropdown-menu .item[aria-checked=true] a::before {
  260. margin: 0 0 0 -14px;
  261. font-weight: bold;
  262. }
  263. .dropdown-menu .item ~ .dropdown-header {
  264. margin-top: 0.75rem;
  265. padding-top: 1.75rem;
  266. border-top-color: #eff0f2;
  267. }
  268. .dropdown-menu .item.separator {
  269. margin-top: 0.75rem;
  270. border-top-color: #eff0f2;
  271. }
  272. .dropdown-menu .input select, .dropdown-menu .input input {
  273. margin: 0 auto 5px;
  274. padding: 2px 5px;
  275. border-radius: 3px;
  276. }
  277. .tree .tree-folder .tree-folder-items .dropdown-menu .item {
  278. padding: 0;
  279. }
  280. .tree .tree-folder .tree-folder-items .dropdown-menu .item a,
  281. .tree .tree-folder .tree-folder-items .dropdown-menu .item button {
  282. color: #303136;
  283. }
  284. .tree .tree-folder .tree-folder-items .dropdown-menu .item a:hover,
  285. .tree .tree-folder .tree-folder-items .dropdown-menu .item button:hover {
  286. color: #fff;
  287. }
  288. .tree .tree-folder .tree-folder-items .dropdown-menu .item:hover {
  289. background: #36c;
  290. }
  291. /*=== Alerts */
  292. .alert {
  293. background: #f9fafb;
  294. color: #5b6871;
  295. font-size: 1rem;
  296. border: 1px solid #c5ced3;
  297. border-radius: 3px;
  298. text-shadow: 0 0 1px #eff0f2;
  299. }
  300. .alert-head {
  301. font-size: 1.15em;
  302. }
  303. .alert > a {
  304. text-decoration: underline;
  305. color: inherit;
  306. }
  307. .alert-warn {
  308. background: #fdfde0;
  309. color: #73762f;
  310. border: 1px solid #73762f33;
  311. }
  312. .alert-success {
  313. background: #cffde7;
  314. color: #0c7540;
  315. border: 1px solid #0c754033;
  316. }
  317. .alert-error {
  318. background: #fde0d8;
  319. color: #73341f;
  320. border: 1px solid #73341f33;
  321. }
  322. /*=== Pagination */
  323. .pagination {
  324. background: #eff0f2;
  325. color: #303136;
  326. }
  327. .pagination .item a {
  328. color: #303136;
  329. }
  330. #load_more.loading,
  331. #load_more.loading:hover {
  332. background: url("loader.gif") center center no-repeat #34495e;
  333. }
  334. /*=== Boxes */
  335. .box {
  336. background: #fff;
  337. border: none;
  338. border-radius: 3px;
  339. box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
  340. }
  341. .box .box-title {
  342. margin: 0;
  343. padding: 5px 10px;
  344. background: #eff0f2;
  345. color: #303136;
  346. border-radius: 2px 2px 0 0;
  347. }
  348. .box .box-title .configure {
  349. padding: 5px;
  350. }
  351. .box .box-title:hover .configure .icon {
  352. vertical-align: middle;
  353. }
  354. .box .box-title:hover .configure:hover {
  355. background-color: #36c;
  356. }
  357. .box .box-title:hover .configure:hover .icon {
  358. filter: brightness(3);
  359. }
  360. .box .box-title form input {
  361. width: 85%;
  362. }
  363. .box .box-title form .dropdown {
  364. float: right;
  365. }
  366. .box .box-title form .dropdown a.dropdown-toggle {
  367. padding: 0;
  368. border-radius: 0;
  369. background-image: url(icons/more.svg);
  370. background-repeat: no-repeat;
  371. background-position: right 8px;
  372. }
  373. .box .box-title form .dropdown a.dropdown-toggle img {
  374. display: none;
  375. }
  376. .box .box-content {
  377. padding-left: 30px;
  378. }
  379. .box .box-content .item {
  380. padding: 0.25rem 0;
  381. color: #303136;
  382. font-size: 1rem;
  383. border-bottom: 1px solid #eff0f2;
  384. line-height: 1.7em;
  385. }
  386. .box .box-content .item .configure {
  387. padding: 5px;
  388. }
  389. .box .box-content .item .configure .icon {
  390. vertical-align: middle;
  391. }
  392. .box .box-content .item .configure:hover {
  393. background-color: #36c;
  394. }
  395. .box .box-content .item .configure:hover .icon {
  396. filter: brightness(3);
  397. }
  398. .box .box-content .item:last-child {
  399. border-bottom: none;
  400. }
  401. /*=== "Load more" part */
  402. #bigMarkAsRead {
  403. text-align: center;
  404. text-decoration: none;
  405. background: #effcfd;
  406. color: #36c;
  407. transition: all 0.15s ease-in-out;
  408. }
  409. #bigMarkAsRead:hover {
  410. background: #36c;
  411. color: #fff;
  412. }
  413. #bigMarkAsRead:hover .bigTick {
  414. filter: brightness(5);
  415. }
  416. #bigMarkAsRead .bigTick {
  417. margin: 0.5rem 0;
  418. background: url(icons/tick-color.svg) center no-repeat;
  419. display: inline-block;
  420. width: 64px;
  421. height: 64px;
  422. text-indent: -9999px;
  423. white-space: nowrap;
  424. }
  425. /*=== DIVERS */
  426. /*===========*/
  427. .aside.aside_feed .nav-form input,
  428. .aside.aside_feed .nav-form select {
  429. width: 140px;
  430. }
  431. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  432. right: -20px;
  433. }
  434. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  435. right: 33px;
  436. }
  437. /*=== Tree */
  438. .tree {
  439. margin: 10px 0;
  440. }
  441. .tree#sidebar {
  442. scrollbar-color: rgba(255, 255, 0, 0.1) rgba(0, 0, 0, 0.05);
  443. scrollbar-color: #ffffff33 #ffffff22;
  444. }
  445. .tree .tree-folder {
  446. border-bottom: 1px solid #3f3f3f;
  447. }
  448. .tree .tree-folder .tree-folder-title {
  449. padding: 1rem;
  450. background: #303136;
  451. position: relative;
  452. font-size: 0.85rem;
  453. letter-spacing: 1px;
  454. font-weight: 700;
  455. text-transform: uppercase;
  456. }
  457. .tree .tree-folder .tree-folder-title .title {
  458. background: inherit;
  459. color: #ffffff;
  460. }
  461. .tree .tree-folder .tree-folder-title .title:hover {
  462. text-decoration: none;
  463. }
  464. .tree .tree-folder.active .tree-folder-title {
  465. background: #303136;
  466. font-weight: bold;
  467. }
  468. .tree .tree-folder .tree-folder-items {
  469. background: #26272a;
  470. }
  471. .tree .tree-folder .tree-folder-items .item {
  472. padding: 0 1rem;
  473. line-height: 2.5rem;
  474. font-size: 1rem;
  475. font-weight: 400;
  476. transition: all 0.15s ease-in-out;
  477. }
  478. .tree .tree-folder .tree-folder-items .item.active {
  479. background: #36c;
  480. }
  481. .tree .tree-folder .tree-folder-items .item.active .dropdown li a {
  482. color: #303136;
  483. }
  484. .tree .tree-folder .tree-folder-items .item.active .dropdown li a:hover {
  485. color: #ffffff;
  486. }
  487. .tree .tree-folder .tree-folder-items .item.active a {
  488. color: #ffffff;
  489. }
  490. .tree .tree-folder .tree-folder-items .item:hover {
  491. background: #17181a;
  492. }
  493. .tree .tree-folder .tree-folder-items .item a {
  494. text-decoration: none;
  495. color: #ffffff;
  496. }
  497. /*=== Buttons */
  498. .stick input, .stick .btn,
  499. .group input,
  500. .group .btn {
  501. border-radius: 0;
  502. }
  503. .stick .btn:first-child,
  504. .group .btn:first-child {
  505. border-radius: 5px 0 0 5px;
  506. }
  507. .stick .btn:last-child, .stick input:last-child, .stick .dropdown:last-child > .btn,
  508. .group .btn:last-child,
  509. .group input:last-child,
  510. .group .dropdown:last-child > .btn {
  511. border-radius: 0 5px 5px 0;
  512. }
  513. .stick .btn + .btn,
  514. .stick .btn + input,
  515. .stick .btn + .dropdown > .btn,
  516. .stick input + .btn,
  517. .stick input + input,
  518. .stick input + .dropdown > .btn,
  519. .stick .dropdown + .btn,
  520. .stick .dropdown + input,
  521. .stick .dropdown + .dropdown > .btn,
  522. .group .btn + .btn,
  523. .group .btn + input,
  524. .group .btn + .dropdown > .btn,
  525. .group input + .btn,
  526. .group input + input,
  527. .group input + .dropdown > .btn,
  528. .group .dropdown + .btn,
  529. .group .dropdown + input,
  530. .group .dropdown + .dropdown > .btn {
  531. border-left: 1px solid #d5d8db;
  532. }
  533. .aside {
  534. background: #303136;
  535. }
  536. .aside.aside_feed {
  537. padding: 10px 0;
  538. text-align: center;
  539. background: #303136;
  540. }
  541. .aside.aside_feed .tree {
  542. margin: 10px 0 50px;
  543. }
  544. /* Sidebar des pages de configuration */
  545. /*=== Navigation */
  546. .nav-list {
  547. font-size: 1rem;
  548. }
  549. .nav-list .item.nav-header,
  550. .nav-list .item {
  551. min-height: 2.5em;
  552. line-height: 2.5em;
  553. }
  554. .nav-list .item {
  555. background: #303136;
  556. color: #fff;
  557. min-height: 2.5em;
  558. line-height: 2.5em;
  559. }
  560. .nav-list .item.nav-header {
  561. min-height: 2.5em;
  562. line-height: 2.5em;
  563. }
  564. .nav-list .item a {
  565. padding: 0 1rem;
  566. color: #ffffff;
  567. transition: all 0.15s ease-in-out;
  568. }
  569. .nav-list .item a:hover {
  570. background: #17181a;
  571. text-decoration: none;
  572. }
  573. .nav-list .item.active {
  574. background: #36c;
  575. color: #fff;
  576. }
  577. .nav-list .item.active a {
  578. background: #36c;
  579. color: #fff;
  580. text-decoration: none;
  581. }
  582. .nav-list .nav-header {
  583. padding: 0 1rem;
  584. font-weight: bold;
  585. color: #5b6871;
  586. text-transform: uppercase;
  587. letter-spacing: 1px;
  588. margin-top: 1rem;
  589. }
  590. .nav-list .nav-form {
  591. padding: 3px;
  592. text-align: center;
  593. }
  594. /*=== Aside main page (categories) */
  595. .aside_feed .tree-folder-title > .title:not([data-unread="0"]) {
  596. width: calc(100% - 35px - 35px);
  597. }
  598. .aside.aside_feed .category .title:not([data-unread="0"])::after {
  599. margin: 1rem 0 0 0;
  600. background-color: rgba(0, 0, 0, 0.25);
  601. }
  602. .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
  603. margin: 0.5em 0 0 0;
  604. background-color: rgba(0, 0, 0, 0.25);
  605. }
  606. .feed.item.empty.active {
  607. background: #5b6871;
  608. }
  609. .feed.item.error.active {
  610. background: #5b6871;
  611. }
  612. .feed.item.empty,
  613. .feed.item.empty > a {
  614. color: #5b6871;
  615. }
  616. .feed.item.error,
  617. .feed.item.error > a {
  618. color: #5b6871;
  619. }
  620. .feed.item.empty.active,
  621. .feed.item.error.active,
  622. .feed.item.empty.active > a,
  623. .feed.item.error.active > a {
  624. color: #fff;
  625. }
  626. .aside_feed .tree-folder-items .dropdown-menu::after {
  627. left: 2px;
  628. }
  629. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  630. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  631. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  632. border-radius: 3px;
  633. }
  634. .aside_feed .stick #btn-add {
  635. border-left-color: #303136;
  636. }
  637. /*=== STRUCTURE */
  638. /*===============*/
  639. /*=== Header */
  640. .header {
  641. background: #303136;
  642. }
  643. .header .item {
  644. vertical-align: middle;
  645. }
  646. .header .item.title a {
  647. padding: 0.5rem 1rem;
  648. }
  649. .header .item.title a .logo {
  650. filter: grayscale(100%) brightness(3);
  651. }
  652. .header .item.title a:hover .logo {
  653. filter: grayscale(100%) brightness(2.2);
  654. }
  655. .header .item.search input {
  656. width: 350px;
  657. color: #ffffff;
  658. border: none;
  659. border-radius: 2px 0 0 2px;
  660. background-color: #26272a;
  661. transition: all 0.15s ease-in-out;
  662. }
  663. .header .item.search input:hover {
  664. background-color: #17181a;
  665. }
  666. .header .item.search input:focus {
  667. color: #5b6871;
  668. background-color: #fff;
  669. }
  670. .header .item.search input:focus ~ .btn,
  671. .header .item.search input:hover ~ .btn {
  672. background-color: #36c;
  673. }
  674. .header .item.search input:focus ~ .btn .icon,
  675. .header .item.search input:hover ~ .btn .icon {
  676. filter: brightness(3);
  677. }
  678. .header .item.search .btn {
  679. width: 3rem;
  680. border-radius: 0 2px 2px 0;
  681. background-color: #26272a;
  682. border-left-width: 0;
  683. min-height: 35px;
  684. }
  685. .header .item.search .btn:hover {
  686. background-color: #25c;
  687. }
  688. .header .item.search .btn:hover .icon {
  689. filter: brightness(3);
  690. }
  691. .header .item.configure {
  692. text-align: center;
  693. }
  694. .header .item.configure .btn .icon,
  695. .header .item.configure > .icon {
  696. filter: brightness(3);
  697. }
  698. .header .item.configure .signin {
  699. color: white;
  700. }
  701. .header .item.configure .btn {
  702. padding: 0.25rem 1rem;
  703. background-color: transparent;
  704. }
  705. /*=== Body */
  706. #global {
  707. height: calc(100vh - (3rem + 2 * var(--frss-padding-top-bottom)));
  708. }
  709. /*=== Prompt (centered) */
  710. main.prompt {
  711. background: #eff0f2;
  712. border-radius: 5px;
  713. }
  714. /*=== New article notification */
  715. #new-article {
  716. background: #36c;
  717. font-size: 1rem;
  718. text-align: center;
  719. }
  720. #new-article > a {
  721. padding: calc(0.75rem + var(--frss-padding-top-bottom)) 1rem;
  722. font-weight: bold;
  723. color: #fff;
  724. }
  725. #new-article > a:hover {
  726. text-decoration: none;
  727. background: #25c;
  728. }
  729. /*=== Day indication */
  730. .day {
  731. padding: 1rem 0 0 1.25rem;
  732. color: #5b6871;
  733. font-size: 0.875rem;
  734. font-weight: 700;
  735. line-height: 3em;
  736. letter-spacing: 1px;
  737. text-transform: uppercase;
  738. }
  739. .day .name {
  740. padding: 0 1rem 0 1rem;
  741. color: #303136;
  742. font-size: 0.875rem;
  743. position: relative;
  744. left: 0;
  745. text-transform: uppercase;
  746. }
  747. .btn {
  748. border-left-width: 0;
  749. padding: 0.5rem 1rem;
  750. background-color: #eff0f2;
  751. background-position: center;
  752. background-repeat: no-repeat;
  753. transition: all 0.15s ease-in-out;
  754. }
  755. .btn:hover {
  756. background-color: #d5d8db;
  757. }
  758. .btn.active {
  759. background-color: #36c;
  760. }
  761. .btn.active .icon {
  762. filter: brightness(3);
  763. }
  764. /*=== Index menu */
  765. .nav_menu {
  766. text-align: center;
  767. padding: 5px 0;
  768. }
  769. .nav_menu .btn {
  770. border-left-width: 0;
  771. padding: 0.5rem 1rem;
  772. background-color: #f9fafb;
  773. background-position: center;
  774. background-repeat: no-repeat;
  775. }
  776. .nav_menu .btn:hover {
  777. background-color: #d5d8db;
  778. }
  779. .nav_menu .stick .btn,
  780. .nav_menu .group .btn {
  781. border-left-width: 0;
  782. padding: 0.5rem 1rem;
  783. background-color: #f9fafb;
  784. background-position: center;
  785. background-repeat: no-repeat;
  786. transition: all 0.15s ease-in-out;
  787. }
  788. .nav_menu .stick .btn:hover,
  789. .nav_menu .group .btn:hover {
  790. background-color: #d5d8db;
  791. }
  792. .nav_menu .stick .btn.active,
  793. .nav_menu .group .btn.active {
  794. background-color: #36c;
  795. }
  796. .nav_menu .stick .btn#toggle-read.active .icon,
  797. .nav_menu .group .btn#toggle-read.active .icon {
  798. filter: brightness(3.5);
  799. }
  800. .nav_menu .stick .btn#toggle-unread.active .icon,
  801. .nav_menu .group .btn#toggle-unread.active .icon {
  802. filter: brightness(3.5) grayscale(1);
  803. }
  804. .nav_menu .stick .btn.read_all,
  805. .nav_menu .group .btn.read_all {
  806. padding: 5px 16px;
  807. color: #303136;
  808. background-color: #f9fafb;
  809. transition: all 0.15s ease-in-out;
  810. }
  811. .nav_menu .stick .btn.read_all:hover,
  812. .nav_menu .group .btn.read_all:hover {
  813. background-color: #d5d8db;
  814. }
  815. .nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle,
  816. .nav_menu .group .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle {
  817. border-left-width: 0;
  818. background-image: url(icons/more.svg);
  819. }
  820. .nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle .icon,
  821. .nav_menu .group .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle .icon {
  822. display: none;
  823. }
  824. .nav_menu .stick #dropdown-search-wrapper.dropdown a.dropdown-toggle,
  825. .nav_menu .group #dropdown-search-wrapper.dropdown a.dropdown-toggle {
  826. border-left-width: 0;
  827. }
  828. /*=== Content of feed articles */
  829. .content, .content.thin {
  830. padding: 20px 10px;
  831. font-size: 1.125rem;
  832. line-height: 1.8rem;
  833. }
  834. .content h1.title a, .content h1 a, .content.thin h1.title a, .content.thin h1 a {
  835. color: #303136;
  836. font-family: "spectral", serif;
  837. font-size: 2rem;
  838. }
  839. .content h1.title a:hover, .content h1 a:hover, .content.thin h1.title a:hover, .content.thin h1 a:hover {
  840. color: #36c;
  841. text-decoration: none;
  842. }
  843. .content .author, .content.thin .author {
  844. color: #5b6871;
  845. font-size: 1.125rem;
  846. }
  847. .content p, .content ul, .content.thin p, .content.thin ul {
  848. font-size: 1.125rem;
  849. line-height: 1.8rem;
  850. }
  851. .content .content hr, .content.thin .content hr {
  852. margin: 30px 10px;
  853. background: #d5d8db;
  854. height: 1px;
  855. border: 0;
  856. box-shadow: 0 2px 5px #ccc;
  857. }
  858. .content pre, .content.thin pre {
  859. margin: 10px auto;
  860. padding: 10px 20px;
  861. overflow: auto;
  862. background: #1d1e22;
  863. color: #fff;
  864. font-size: 0.9rem;
  865. border-radius: 3px;
  866. }
  867. .content pre code, .content.thin pre code {
  868. background: transparent;
  869. color: #fff;
  870. border: none;
  871. }
  872. .content code, .content.thin code {
  873. padding: 2px 5px;
  874. background: #fde3e3;
  875. color: #e41212;
  876. font-size: 1rem;
  877. border-radius: 3px;
  878. }
  879. .content blockquote, .content.thin blockquote {
  880. margin: 0;
  881. padding: 0.5rem 1.5rem;
  882. background: #f9fafb;
  883. display: block;
  884. color: #5b6871;
  885. border-left: 4px solid #d5d8db;
  886. }
  887. .content blockquote p, .content.thin blockquote p {
  888. margin: 0;
  889. }
  890. /*=== Notification and actualize notification */
  891. .notification {
  892. padding: 1rem 0;
  893. background: #d5d8db;
  894. width: 100%;
  895. height: 3rem;
  896. color: #5b6871;
  897. font-size: 1em;
  898. border: none;
  899. position: fixed;
  900. top: auto;
  901. bottom: 0;
  902. left: 0;
  903. right: 0;
  904. text-align: center;
  905. line-height: 3em;
  906. vertical-align: middle;
  907. }
  908. .notification .msg {
  909. display: inline-block;
  910. font-size: 1rem;
  911. }
  912. .notification.good {
  913. background: #10f587;
  914. color: #fff;
  915. }
  916. .notification.bad {
  917. background: #f5633e;
  918. color: #fff;
  919. }
  920. .notification a.close {
  921. border-radius: 0 3px 3px 0;
  922. }
  923. .notification.good a.close:hover {
  924. background: #0c7540;
  925. }
  926. .notification.bad a.close:hover {
  927. background: #73341f;
  928. }
  929. .notification#actualizeProgress br {
  930. display: none;
  931. }
  932. .notification#actualizeProgress .title {
  933. margin: 0 2rem;
  934. }
  935. /*=== Navigation menu (for articles) */
  936. #nav_entries {
  937. margin: 0;
  938. text-align: center;
  939. line-height: 3em;
  940. table-layout: fixed;
  941. background: #303136;
  942. }
  943. /*=== Feed articles */
  944. .flux {
  945. background: #fff;
  946. transition: all 0.15s ease-in-out;
  947. }
  948. .flux .flux_header:hover {
  949. background: #f9fafb;
  950. }
  951. .flux .flux_header:hover:not(.current):hover .item.title {
  952. background: #f9fafb;
  953. }
  954. .flux.current {
  955. background: #f9fafb;
  956. border-left-color: #36c;
  957. }
  958. .flux.not_read:not(.current) {
  959. background: #f2f6f8;
  960. }
  961. .flux.not_read:not(.current):hover .item.title {
  962. background: #f2f6f8;
  963. }
  964. .flux.not_read .item.title a {
  965. color: #36c;
  966. }
  967. .flux.not_read .item.website a {
  968. color: #36c;
  969. }
  970. .flux.not_read .item.date {
  971. color: rgba(51, 102, 204, 0.5);
  972. }
  973. .flux.favorite {
  974. border-left-color: #ffc300;
  975. transition: all 0.15s ease-in-out;
  976. }
  977. .flux.favorite:not(.current) {
  978. background: #fff6da;
  979. }
  980. .flux.favorite:not(.current):hover .item.title {
  981. background: #fff6da;
  982. }
  983. .flux .website a {
  984. color: #303136;
  985. opacity: 0.75;
  986. }
  987. .flux .item.date {
  988. color: rgba(48, 49, 54, 0.5);
  989. font-size: 0.85rem;
  990. }
  991. .flux .bottom {
  992. font-size: 1rem;
  993. text-align: center;
  994. }
  995. .flux_header {
  996. font-size: 1rem;
  997. cursor: pointer;
  998. border-top: 1px solid #eff0f2;
  999. }
  1000. .flux_header .title {
  1001. font-size: 1rem;
  1002. }
  1003. /*=== GLOBAL VIEW */
  1004. /*================*/
  1005. #stream .box.category:not([data-unread="0"]) .box-title .title {
  1006. font-weight: bold;
  1007. }
  1008. #stream .box.category .box-title {
  1009. padding: 1.5rem;
  1010. background: none;
  1011. }
  1012. #stream .box.category .box-title a.title {
  1013. color: #5b6871;
  1014. font-size: 1rem;
  1015. font-weight: normal;
  1016. text-decoration: none;
  1017. text-align: left;
  1018. text-transform: uppercase;
  1019. letter-spacing: 1px;
  1020. }
  1021. #stream .box.category .box-title a.title:not([data-unread="0"])::after {
  1022. margin: -0.5rem 1rem 0 0;
  1023. padding: 0 0.75rem;
  1024. background: #eff0f2;
  1025. border-radius: 12px;
  1026. position: absolute;
  1027. top: 1.75rem;
  1028. right: 0;
  1029. line-height: 1.5rem;
  1030. text-align: center;
  1031. }
  1032. #stream .box.category .box-title a.title:hover {
  1033. color: #36c;
  1034. }
  1035. #stream .box.category .box-content .item.feed a {
  1036. color: #303136;
  1037. font-weight: 400;
  1038. }
  1039. #stream .box.category .box-content .item.feed a:hover {
  1040. color: #36c;
  1041. text-decoration: none;
  1042. }
  1043. #overlay {
  1044. background: rgba(0, 0, 0, 0.65);
  1045. }
  1046. #panel {
  1047. top: 3rem;
  1048. right: 3rem;
  1049. bottom: 3rem;
  1050. left: 3rem;
  1051. border-radius: 3px;
  1052. }
  1053. /*=== READER VIEW */
  1054. /*================*/
  1055. #stream.reader .flux {
  1056. background: #eff0f2;
  1057. color: #303136;
  1058. border: none;
  1059. }
  1060. #stream.reader .flux .content {
  1061. background-color: #fff;
  1062. border: none;
  1063. }
  1064. #stream.reader .flux .content .author {
  1065. margin: 0 0 10px;
  1066. color: #a6a7ae;
  1067. font-size: 90%;
  1068. }
  1069. /*=== Configuration pages */
  1070. .post {
  1071. font-size: 1rem;
  1072. }
  1073. .post h1, .post h2 {
  1074. color: #303136;
  1075. font-size: 2rem;
  1076. margin-top: 1.75rem;
  1077. font-weight: 300;
  1078. line-height: 1.2em;
  1079. }
  1080. .post h2 {
  1081. font-size: 1.5rem;
  1082. }
  1083. .post a[href="./"] {
  1084. margin: 0;
  1085. padding: 0.75rem 1.5rem;
  1086. background: #f9fafb;
  1087. display: inline-block;
  1088. color: #5b6871;
  1089. font-size: 1rem;
  1090. border: 1px solid #d5d8db;
  1091. border-radius: 5px;
  1092. min-width: 15px;
  1093. line-height: 25px;
  1094. vertical-align: middle;
  1095. cursor: pointer;
  1096. overflow: hidden;
  1097. }
  1098. .post a[href="./"]:hover {
  1099. background: #36c;
  1100. color: white;
  1101. border: 1px solid #36c;
  1102. text-decoration: none;
  1103. }
  1104. #slider {
  1105. border-left: none;
  1106. box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
  1107. }
  1108. .theme-preview-list .preview-container .properties {
  1109. padding: 1rem;
  1110. background: rgba(0, 0, 0, 0.75);
  1111. color: white;
  1112. border: 0;
  1113. }
  1114. .theme-preview-list .preview-container .properties .page-number {
  1115. right: 1rem;
  1116. top: 1rem;
  1117. }
  1118. /*=== LOGS */
  1119. /*=========*/
  1120. .log-item.log-error {
  1121. background-color: rgba(51, 102, 204, 0.2);
  1122. }
  1123. /*=== STATISTICS */
  1124. /*===============*/
  1125. .stat {
  1126. margin: 10px 0 20px;
  1127. }
  1128. .stat th,
  1129. .stat td,
  1130. .stat tr {
  1131. border: none;
  1132. }
  1133. .stat > table td,
  1134. .stat > table th {
  1135. border-bottom: 1px solid #d5d8db;
  1136. }
  1137. /*=== MOBILE */
  1138. /*===========*/
  1139. @media (max-width: 840px) {
  1140. .aside {
  1141. transition: all 0.2s ease-in-out;
  1142. }
  1143. .aside.aside_feed {
  1144. padding: 0;
  1145. }
  1146. .aside .tree .tree-folder .tree-folder-items .item a {
  1147. padding: 0.5rem 1rem;
  1148. }
  1149. .aside .toggle_aside,
  1150. #overlay .close,
  1151. .dropdown-menu .toggle_aside,
  1152. #slider .toggle_aside {
  1153. background-color: #36c;
  1154. }
  1155. .aside .toggle_aside:hover,
  1156. #overlay .close:hover,
  1157. .dropdown-menu .toggle_aside:hover,
  1158. #slider .toggle_aside:hover {
  1159. background-color: #25c;
  1160. }
  1161. .aside .toggle_aside .icon,
  1162. #overlay .close .icon,
  1163. .dropdown-menu .toggle_aside .icon,
  1164. #slider .toggle_aside .icon {
  1165. filter: grayscale(100%) brightness(2.5);
  1166. }
  1167. .header .item.search {
  1168. display: none;
  1169. }
  1170. .header .item.configure {
  1171. position: absolute;
  1172. top: 0;
  1173. right: 0;
  1174. }
  1175. #global {
  1176. height: calc(100% - 8rem);
  1177. }
  1178. #panel {
  1179. top: 0;
  1180. right: 0;
  1181. bottom: 0;
  1182. left: 0;
  1183. }
  1184. main.prompt {
  1185. max-width: 100%;
  1186. min-width: auto;
  1187. width: 75%;
  1188. }
  1189. .post {
  1190. padding-left: 1rem;
  1191. padding-right: 1rem;
  1192. }
  1193. .nav_menu .btn {
  1194. margin: 0;
  1195. padding: 0.85rem 1.25rem;
  1196. }
  1197. .nav_menu .stick,
  1198. .nav_menu .group {
  1199. margin: 0.5rem 0.5rem;
  1200. }
  1201. .nav_menu .stick .btn,
  1202. .nav_menu .group .btn {
  1203. margin: 0;
  1204. padding: 0.85rem 1.25rem;
  1205. }
  1206. .nav_menu .stick .btn.read_all,
  1207. .nav_menu .group .btn.read_all {
  1208. padding: 0.85rem 1.25rem;
  1209. }
  1210. .nav_menu .search .input {
  1211. max-width: 97%;
  1212. width: 90px;
  1213. }
  1214. .nav_menu .search .input:focus {
  1215. width: 400px;
  1216. }
  1217. #stream .flux .flux_header {
  1218. padding: 0.5rem 0;
  1219. }
  1220. .dropdown-target:target ~ .dropdown-toggle::after {
  1221. background-color: #f9fafb;
  1222. border-top: 1px solid #eff0f2;
  1223. border-left: 1px solid #eff0f2;
  1224. right: 21px;
  1225. bottom: -14px;
  1226. }
  1227. .dropdown-target:target ~ a.dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1228. margin-top: 0;
  1229. }
  1230. .dropdown-target:target ~ a.dropdown-toggle:not(.btn)::after {
  1231. bottom: -17px;
  1232. }
  1233. .day {
  1234. text-align: center;
  1235. padding: 1rem 0;
  1236. }
  1237. .day .name {
  1238. padding: 0;
  1239. display: block;
  1240. width: 100%;
  1241. line-height: 1.5rem;
  1242. margin-bottom: 1rem;
  1243. }
  1244. #nav_entries {
  1245. line-height: 4.5rem;
  1246. }
  1247. .notification {
  1248. border-radius: 0;
  1249. }
  1250. .notification a.close {
  1251. background: transparent;
  1252. display: block;
  1253. left: 0;
  1254. }
  1255. .notification a.close:hover {
  1256. opacity: 0.5;
  1257. }
  1258. .notification a.close .icon {
  1259. display: none;
  1260. }
  1261. }
  1262. /*=== GENERAL */
  1263. /*============*/
  1264. html, body {
  1265. background: #eff0f2;
  1266. color: #303136;
  1267. font-family: "lato", "Helvetica", "Arial", sans-serif;
  1268. font-size: 0.875rem;
  1269. }
  1270. body.formLogin,
  1271. body.register {
  1272. background: #303136;
  1273. }
  1274. /*=== Links */
  1275. a, button.as-link {
  1276. outline: none;
  1277. color: #36c;
  1278. }