mapco.rtl.css 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365
  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 0 0.5rem;
  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. .config-articleicons td,
  184. .config-articleicons 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-right: 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: right;
  211. }
  212. .dropdown-menu::after {
  213. border: none;
  214. left: 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: right;
  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-right: 2rem;
  258. }
  259. .dropdown-menu .item[aria-checked=true] a::before {
  260. margin: 0 -14px 0 0;
  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: left;
  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: left 8px;
  372. }
  373. .box .box-title form .dropdown a.dropdown-toggle img {
  374. display: none;
  375. }
  376. .box .box-content {
  377. padding-right: 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. left: -20px;
  433. }
  434. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  435. left: 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: 0.75rem 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 button.dropdown-toggle {
  458. margin: -0.75rem -1rem -0.75rem 0.25rem;
  459. padding: 0.75rem 1rem 0.75rem 0;
  460. }
  461. .tree .tree-folder .tree-folder-title button.dropdown-toggle:hover .icon {
  462. filter: brightness(2) !important;
  463. transition: 0.1s linear;
  464. }
  465. .tree .tree-folder .tree-folder-title .icon {
  466. margin-left: 0.5rem;
  467. }
  468. .tree .tree-folder .tree-folder-title .title {
  469. background: inherit;
  470. color: #ffffff;
  471. }
  472. .tree .tree-folder .tree-folder-title .title:hover {
  473. text-decoration: none;
  474. }
  475. .tree .tree-folder.active .tree-folder-title {
  476. background: #303136;
  477. font-weight: bold;
  478. }
  479. .tree .tree-folder .tree-folder-items {
  480. background: #26272a;
  481. }
  482. .tree .tree-folder .tree-folder-items .item {
  483. font-size: 1rem;
  484. font-weight: 400;
  485. transition: all 0.15s ease-in-out;
  486. }
  487. .tree .tree-folder .tree-folder-items .item.active {
  488. background: #36c;
  489. }
  490. .tree .tree-folder .tree-folder-items .item.active .dropdown li a {
  491. color: #303136;
  492. }
  493. .tree .tree-folder .tree-folder-items .item.active .dropdown li a:hover {
  494. color: #ffffff;
  495. }
  496. .tree .tree-folder .tree-folder-items .item.active a {
  497. color: #ffffff;
  498. }
  499. .tree .tree-folder .tree-folder-items .item:hover {
  500. background: #17181a;
  501. }
  502. .tree .tree-folder .tree-folder-items .item a {
  503. text-decoration: none;
  504. color: #ffffff;
  505. }
  506. .tree .tree-folder .tree-folder-items .item a.dropdown-toggle .icon {
  507. margin-left: 0.25rem;
  508. }
  509. /*=== Buttons */
  510. .stick input, .stick .btn,
  511. .group input,
  512. .group .btn {
  513. border-radius: 0;
  514. }
  515. .stick .btn:first-child,
  516. .group .btn:first-child {
  517. border-radius: 0 5px 5px 0;
  518. }
  519. .stick .btn:last-child, .stick input:last-child, .stick .dropdown:last-child > .btn,
  520. .group .btn:last-child,
  521. .group input:last-child,
  522. .group .dropdown:last-child > .btn {
  523. border-radius: 5px 0 0 5px;
  524. }
  525. .stick .btn + .btn,
  526. .stick .btn + input,
  527. .stick .btn + .dropdown > .btn,
  528. .stick input + .btn,
  529. .stick input + input,
  530. .stick input + .dropdown > .btn,
  531. .stick .dropdown + .btn,
  532. .stick .dropdown + input,
  533. .stick .dropdown + .dropdown > .btn,
  534. .group .btn + .btn,
  535. .group .btn + input,
  536. .group .btn + .dropdown > .btn,
  537. .group input + .btn,
  538. .group input + input,
  539. .group input + .dropdown > .btn,
  540. .group .dropdown + .btn,
  541. .group .dropdown + input,
  542. .group .dropdown + .dropdown > .btn {
  543. border-right: 1px solid #d5d8db;
  544. }
  545. .aside {
  546. background: #303136;
  547. }
  548. .aside.aside_feed {
  549. padding: 10px 0;
  550. text-align: center;
  551. background: #303136;
  552. }
  553. .aside.aside_feed .tree-folder-title:hover button.dropdown-toggle .icon {
  554. filter: none;
  555. }
  556. .aside.aside_feed .tree {
  557. margin: 10px 0 50px;
  558. }
  559. .aside a:hover .icon {
  560. filter: brightness(2);
  561. transition: 0.1s linear;
  562. }
  563. /* Sidebar des pages de configuration */
  564. /*=== Navigation */
  565. .nav-list {
  566. font-size: 1rem;
  567. }
  568. .nav-list .item.nav-header,
  569. .nav-list .item {
  570. min-height: 2.5em;
  571. line-height: 2.5em;
  572. }
  573. .nav-list .item {
  574. background: #303136;
  575. color: #fff;
  576. min-height: 2.5em;
  577. line-height: 2.5em;
  578. }
  579. .nav-list .item.nav-header {
  580. min-height: 2.5em;
  581. line-height: 2.5em;
  582. }
  583. .nav-list .item a {
  584. padding: 0 1rem;
  585. color: #ffffff;
  586. transition: all 0.15s ease-in-out;
  587. }
  588. .nav-list .item a:hover {
  589. background: #17181a;
  590. text-decoration: none;
  591. }
  592. .nav-list .item.active {
  593. background: #36c;
  594. color: #fff;
  595. }
  596. .nav-list .item.active a {
  597. background: #36c;
  598. color: #fff;
  599. text-decoration: none;
  600. }
  601. .nav-list .nav-header {
  602. padding: 0 1rem;
  603. font-weight: bold;
  604. color: #5b6871;
  605. text-transform: uppercase;
  606. letter-spacing: 1px;
  607. }
  608. .nav-list .nav-form {
  609. padding: 3px;
  610. text-align: center;
  611. }
  612. /*=== Aside main page (categories) */
  613. .aside_feed .tree-folder-title > .title:not([data-unread="0"]) {
  614. width: calc(100% - 35px - 35px);
  615. }
  616. .aside.aside_feed .category .title:not([data-unread="0"])::after {
  617. margin: 0.75rem 0 0 0;
  618. background-color: rgba(0, 0, 0, 0.25);
  619. }
  620. .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
  621. margin: 0.5em 0 0 0;
  622. background-color: rgba(0, 0, 0, 0.25);
  623. }
  624. .feed.item.empty.active {
  625. background: #5b6871;
  626. }
  627. .feed.item.error.active {
  628. background: #5b6871;
  629. }
  630. .feed.item.empty,
  631. .feed.item.empty > a {
  632. color: #5b6871;
  633. }
  634. .feed.item.error,
  635. .feed.item.error > a {
  636. color: #5b6871;
  637. }
  638. .feed.item.empty.active,
  639. .feed.item.error.active,
  640. .feed.item.empty.active > a,
  641. .feed.item.error.active > a {
  642. color: #fff;
  643. }
  644. .aside_feed .tree-folder-items .dropdown-menu::after {
  645. right: 2px;
  646. }
  647. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  648. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  649. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  650. border-radius: 3px;
  651. }
  652. .aside_feed .stick #btn-add {
  653. border-right-color: #303136;
  654. }
  655. /*=== STRUCTURE */
  656. /*===============*/
  657. /*=== Header */
  658. .header {
  659. background: #303136;
  660. }
  661. .header .item {
  662. vertical-align: middle;
  663. }
  664. .header .item.title a {
  665. padding: 0.5rem 1rem;
  666. }
  667. .header .item.title a .logo {
  668. filter: grayscale(100%) brightness(3);
  669. }
  670. .header .item.title a:hover .logo {
  671. filter: grayscale(100%) brightness(2.2);
  672. }
  673. .header .item.search input {
  674. width: 350px;
  675. color: #ffffff;
  676. border: none;
  677. border-radius: 0 2px 2px 0;
  678. background-color: #26272a;
  679. transition: all 0.15s ease-in-out;
  680. }
  681. .header .item.search input:hover {
  682. background-color: #17181a;
  683. }
  684. .header .item.search input:focus {
  685. color: #5b6871;
  686. background-color: #fff;
  687. }
  688. .header .item.search input:focus ~ .btn,
  689. .header .item.search input:hover ~ .btn {
  690. background-color: #36c;
  691. }
  692. .header .item.search input:focus ~ .btn .icon,
  693. .header .item.search input:hover ~ .btn .icon {
  694. filter: brightness(3);
  695. }
  696. .header .item.search .btn {
  697. width: 3rem;
  698. border-radius: 2px 0 0 2px;
  699. background-color: #26272a;
  700. border-right-width: 0;
  701. min-height: 35px;
  702. }
  703. .header .item.search .btn:hover {
  704. background-color: #25c;
  705. }
  706. .header .item.search .btn:hover .icon {
  707. filter: brightness(3);
  708. }
  709. .header .item.configure {
  710. text-align: center;
  711. }
  712. .header .item.configure .btn .icon,
  713. .header .item.configure > .icon {
  714. filter: brightness(3);
  715. }
  716. .header .item.configure .signin {
  717. color: white;
  718. }
  719. .header .item.configure .btn {
  720. padding: 0.25rem 1rem;
  721. background-color: transparent;
  722. }
  723. /*=== Body */
  724. #global {
  725. height: calc(100vh - (3rem + 2 * var(--frss-padding-top-bottom)));
  726. }
  727. /*=== Prompt (centered) */
  728. main.prompt {
  729. background: #eff0f2;
  730. border-radius: 5px;
  731. }
  732. /*=== New article notification */
  733. #new-article {
  734. background: #36c;
  735. font-size: 1rem;
  736. text-align: center;
  737. }
  738. #new-article > a {
  739. padding: calc(0.75rem + var(--frss-padding-top-bottom)) 1rem;
  740. font-weight: bold;
  741. color: #fff;
  742. }
  743. #new-article > a:hover {
  744. text-decoration: none;
  745. background: #25c;
  746. }
  747. /*=== Day indication */
  748. .day {
  749. padding: 1rem 1.25rem 0 0;
  750. color: #5b6871;
  751. font-size: 0.875rem;
  752. font-weight: 700;
  753. line-height: 3em;
  754. letter-spacing: 1px;
  755. text-transform: uppercase;
  756. }
  757. .day .name {
  758. padding: 0 1rem 0 1rem;
  759. color: #303136;
  760. font-size: 0.875rem;
  761. position: relative;
  762. right: 0;
  763. text-transform: uppercase;
  764. }
  765. .btn {
  766. border-right-width: 0;
  767. padding: 0.5rem 1rem;
  768. background-color: #eff0f2;
  769. background-position: center;
  770. background-repeat: no-repeat;
  771. transition: all 0.15s ease-in-out;
  772. }
  773. .btn:hover {
  774. background-color: #d5d8db;
  775. }
  776. .btn.active {
  777. background-color: #36c;
  778. }
  779. .btn.active .icon {
  780. filter: brightness(3);
  781. }
  782. /*=== Index menu */
  783. .nav_menu {
  784. text-align: center;
  785. padding: 5px 0;
  786. }
  787. .nav_menu .btn {
  788. border-right-width: 0;
  789. padding: 0.5rem 1rem;
  790. background-color: #f9fafb;
  791. background-position: center;
  792. background-repeat: no-repeat;
  793. }
  794. .nav_menu .btn:hover {
  795. background-color: #d5d8db;
  796. }
  797. .nav_menu .stick .btn,
  798. .nav_menu .group .btn {
  799. border-right-width: 0;
  800. padding: 0.5rem 1rem;
  801. background-color: #f9fafb;
  802. background-position: center;
  803. background-repeat: no-repeat;
  804. transition: all 0.15s ease-in-out;
  805. }
  806. .nav_menu .stick .btn:hover,
  807. .nav_menu .group .btn:hover {
  808. background-color: #d5d8db;
  809. }
  810. .nav_menu .stick .btn.active,
  811. .nav_menu .group .btn.active {
  812. background-color: #36c;
  813. }
  814. .nav_menu .stick .btn#toggle-read.active .icon,
  815. .nav_menu .group .btn#toggle-read.active .icon {
  816. filter: brightness(3.5);
  817. }
  818. .nav_menu .stick .btn#toggle-unread.active .icon,
  819. .nav_menu .group .btn#toggle-unread.active .icon {
  820. filter: brightness(3.5) grayscale(1);
  821. }
  822. .nav_menu .stick .btn.read_all,
  823. .nav_menu .group .btn.read_all {
  824. padding: 5px 16px;
  825. color: #303136;
  826. background-color: #f9fafb;
  827. transition: all 0.15s ease-in-out;
  828. }
  829. .nav_menu .stick .btn.read_all:hover,
  830. .nav_menu .group .btn.read_all:hover {
  831. background-color: #d5d8db;
  832. }
  833. .nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle,
  834. .nav_menu .group .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle {
  835. border-right-width: 0;
  836. background-image: url(icons/more.svg);
  837. }
  838. .nav_menu .stick .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle .icon,
  839. .nav_menu .group .dropdown:not(#dropdown-search-wrapper) a.dropdown-toggle .icon {
  840. display: none;
  841. }
  842. .nav_menu .stick #dropdown-search-wrapper.dropdown a.dropdown-toggle,
  843. .nav_menu .group #dropdown-search-wrapper.dropdown a.dropdown-toggle {
  844. border-right-width: 0;
  845. }
  846. /*=== Content of feed articles */
  847. .content, .content.thin {
  848. padding: 20px 10px;
  849. font-size: 1.125rem;
  850. line-height: 1.8rem;
  851. }
  852. .content h1.title a, .content h1 a, .content.thin h1.title a, .content.thin h1 a {
  853. color: #303136;
  854. font-family: "spectral", serif;
  855. font-size: 2rem;
  856. }
  857. .content h1.title a:hover, .content h1 a:hover, .content.thin h1.title a:hover, .content.thin h1 a:hover {
  858. color: #36c;
  859. text-decoration: none;
  860. }
  861. .content .author, .content.thin .author {
  862. color: #5b6871;
  863. font-size: 1.125rem;
  864. }
  865. .content p, .content ul, .content.thin p, .content.thin ul {
  866. font-size: 1.125rem;
  867. line-height: 1.8rem;
  868. }
  869. .content .content hr, .content.thin .content hr {
  870. margin: 30px 10px;
  871. background: #d5d8db;
  872. height: 1px;
  873. border: 0;
  874. box-shadow: 0 2px 5px #ccc;
  875. }
  876. .content pre, .content.thin pre {
  877. margin: 10px auto;
  878. padding: 10px 20px;
  879. overflow: auto;
  880. background: #1d1e22;
  881. color: #fff;
  882. font-size: 0.9rem;
  883. border-radius: 3px;
  884. }
  885. .content pre code, .content.thin pre code {
  886. background: transparent;
  887. color: #fff;
  888. border: none;
  889. }
  890. .content code, .content.thin code {
  891. padding: 2px 5px;
  892. background: #fde3e3;
  893. color: #e41212;
  894. font-size: 1rem;
  895. border-radius: 3px;
  896. }
  897. .content blockquote, .content.thin blockquote {
  898. margin: 0;
  899. padding: 0.5rem 1.5rem;
  900. background: #f9fafb;
  901. display: block;
  902. color: #5b6871;
  903. border-right: 4px solid #d5d8db;
  904. }
  905. .content blockquote p, .content.thin blockquote p {
  906. margin: 0;
  907. }
  908. /*=== Notification and actualize notification */
  909. .notification {
  910. padding: 1rem 0;
  911. background: #d5d8db;
  912. width: 100%;
  913. height: 3rem;
  914. color: #5b6871;
  915. font-size: 1em;
  916. border: none;
  917. position: fixed;
  918. top: auto;
  919. bottom: 0;
  920. right: 0;
  921. left: 0;
  922. text-align: center;
  923. line-height: 3em;
  924. vertical-align: middle;
  925. }
  926. .notification .msg {
  927. display: inline-block;
  928. font-size: 1rem;
  929. }
  930. .notification.good {
  931. background: #10f587;
  932. color: #fff;
  933. }
  934. .notification.bad {
  935. background: #f5633e;
  936. color: #fff;
  937. }
  938. .notification a.close {
  939. border-radius: 3px 0 0 3px;
  940. }
  941. .notification.good a.close:hover {
  942. background: #0c7540;
  943. }
  944. .notification.bad a.close:hover {
  945. background: #73341f;
  946. }
  947. .notification#actualizeProgress br {
  948. display: none;
  949. }
  950. .notification#actualizeProgress .title {
  951. margin: 0 2rem;
  952. }
  953. /*=== Navigation menu (for articles) */
  954. #nav_entries {
  955. background: #303136;
  956. }
  957. /*=== Feed articles */
  958. .flux {
  959. background: #fff;
  960. transition: all 0.15s ease-in-out;
  961. }
  962. .flux .flux_header:hover {
  963. background: #f9fafb;
  964. }
  965. .flux .flux_header:hover:not(.current):hover .item .title {
  966. background: #f9fafb;
  967. }
  968. .flux.current {
  969. background: #f9fafb;
  970. border-right-color: #36c;
  971. }
  972. .flux.not_read:not(.current) {
  973. background: #f2f6f8;
  974. }
  975. .flux.not_read:not(.current):hover .item .title {
  976. background: #f2f6f8;
  977. }
  978. .flux.not_read .item .title a {
  979. color: #36c;
  980. }
  981. .flux.not_read .item.website a {
  982. color: #36c;
  983. }
  984. .flux.not_read .item .date {
  985. color: rgba(51, 102, 204, 0.5);
  986. }
  987. .flux.favorite {
  988. border-right-color: #ffc300;
  989. transition: all 0.15s ease-in-out;
  990. }
  991. .flux.favorite:not(.current) {
  992. background: #fff6da;
  993. }
  994. .flux.favorite:not(.current):hover .item .title {
  995. background: #fff6da;
  996. }
  997. .flux .website a {
  998. color: #303136;
  999. opacity: 0.75;
  1000. }
  1001. .flux .flux_header .date,
  1002. .flux .flux_content .bottom .date {
  1003. color: rgba(48, 49, 54, 0.5);
  1004. font-size: 0.85rem;
  1005. }
  1006. .flux .bottom {
  1007. font-size: 1rem;
  1008. text-align: center;
  1009. }
  1010. .flux_header {
  1011. font-size: 1rem;
  1012. cursor: pointer;
  1013. border-top: 1px solid #eff0f2;
  1014. }
  1015. .flux_header .title {
  1016. font-size: 1rem;
  1017. }
  1018. /*=== GLOBAL VIEW */
  1019. /*================*/
  1020. #stream .box.category:not([data-unread="0"]) .box-title .title {
  1021. font-weight: bold;
  1022. }
  1023. #stream .box.category .box-title {
  1024. padding: 1.5rem;
  1025. background: none;
  1026. }
  1027. #stream .box.category .box-title a.title {
  1028. color: #5b6871;
  1029. font-size: 1rem;
  1030. font-weight: normal;
  1031. text-decoration: none;
  1032. text-align: right;
  1033. text-transform: uppercase;
  1034. letter-spacing: 1px;
  1035. }
  1036. #stream .box.category .box-title a.title:not([data-unread="0"])::after {
  1037. margin: -0.5rem 0 0 1rem;
  1038. padding: 0 0.75rem;
  1039. background: #eff0f2;
  1040. border-radius: 12px;
  1041. position: absolute;
  1042. top: 1.75rem;
  1043. left: 0;
  1044. line-height: 1.5rem;
  1045. text-align: center;
  1046. }
  1047. #stream .box.category .box-title a.title:hover {
  1048. color: #36c;
  1049. }
  1050. #stream .box.category .box-content .item.feed a {
  1051. color: #303136;
  1052. font-weight: 400;
  1053. }
  1054. #stream .box.category .box-content .item.feed a:hover {
  1055. color: #36c;
  1056. text-decoration: none;
  1057. }
  1058. #overlay {
  1059. background: rgba(0, 0, 0, 0.65);
  1060. }
  1061. #panel {
  1062. top: 3rem;
  1063. left: 3rem;
  1064. bottom: 3rem;
  1065. right: 3rem;
  1066. border-radius: 3px;
  1067. }
  1068. /*=== READER VIEW */
  1069. /*================*/
  1070. #stream.reader .flux {
  1071. background: #eff0f2;
  1072. color: #303136;
  1073. border: none;
  1074. }
  1075. #stream.reader .flux .content {
  1076. background-color: #fff;
  1077. border: none;
  1078. }
  1079. #stream.reader .flux .content .author {
  1080. color: #a6a7ae;
  1081. }
  1082. /*=== Configuration pages */
  1083. .post {
  1084. font-size: 1rem;
  1085. }
  1086. .post h1, .post h2 {
  1087. color: #303136;
  1088. font-size: 2rem;
  1089. margin-top: 1.75rem;
  1090. font-weight: 300;
  1091. line-height: 1.2em;
  1092. }
  1093. .post h2 {
  1094. font-size: 1.5rem;
  1095. }
  1096. .post a[href="./"] {
  1097. margin: 0;
  1098. padding: 0.75rem 1.5rem;
  1099. background: #f9fafb;
  1100. display: inline-block;
  1101. color: #5b6871;
  1102. font-size: 1rem;
  1103. border: 1px solid #d5d8db;
  1104. border-radius: 5px;
  1105. min-width: 15px;
  1106. line-height: 25px;
  1107. vertical-align: middle;
  1108. cursor: pointer;
  1109. overflow: hidden;
  1110. }
  1111. .post a[href="./"]:hover {
  1112. background: #36c;
  1113. color: white;
  1114. border: 1px solid #36c;
  1115. text-decoration: none;
  1116. }
  1117. #slider {
  1118. border-right: none;
  1119. box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.35);
  1120. }
  1121. .theme-preview-list .preview-container .properties {
  1122. padding: 1rem;
  1123. background: rgba(0, 0, 0, 0.75);
  1124. color: white;
  1125. border: 0;
  1126. }
  1127. .theme-preview-list .preview-container .properties .page-number {
  1128. left: 1rem;
  1129. top: 1rem;
  1130. }
  1131. /*=== LOGS */
  1132. /*=========*/
  1133. .log-item.log-error {
  1134. background-color: rgba(51, 102, 204, 0.2);
  1135. }
  1136. /*=== STATISTICS */
  1137. /*===============*/
  1138. .stat {
  1139. margin: 10px 0 20px;
  1140. }
  1141. .stat th,
  1142. .stat td,
  1143. .stat tr {
  1144. border: none;
  1145. }
  1146. .stat > table td,
  1147. .stat > table th {
  1148. border-bottom: 1px solid #d5d8db;
  1149. }
  1150. /*=== MOBILE */
  1151. /*===========*/
  1152. @media (max-width: 840px) {
  1153. .aside {
  1154. transition: all 0.2s ease-in-out;
  1155. }
  1156. .aside.aside_feed {
  1157. padding: 0;
  1158. }
  1159. .aside .tree .tree-folder .tree-folder-items .item a {
  1160. padding: 0.5rem 1rem;
  1161. }
  1162. .aside .toggle_aside,
  1163. #overlay .close,
  1164. .dropdown-menu .toggle_aside,
  1165. #slider .toggle_aside {
  1166. background-color: #36c;
  1167. }
  1168. .aside .toggle_aside:hover,
  1169. #overlay .close:hover,
  1170. .dropdown-menu .toggle_aside:hover,
  1171. #slider .toggle_aside:hover {
  1172. background-color: #25c;
  1173. }
  1174. .aside .toggle_aside .icon,
  1175. #overlay .close .icon,
  1176. .dropdown-menu .toggle_aside .icon,
  1177. #slider .toggle_aside .icon {
  1178. filter: grayscale(100%) brightness(2.5);
  1179. }
  1180. .header .item.search {
  1181. display: none;
  1182. }
  1183. .header .item.configure {
  1184. position: absolute;
  1185. top: 0;
  1186. left: 0;
  1187. }
  1188. #global {
  1189. height: calc(100% - 8rem);
  1190. }
  1191. #panel {
  1192. top: 0;
  1193. left: 0;
  1194. bottom: 0;
  1195. right: 0;
  1196. }
  1197. main.prompt {
  1198. max-width: 100%;
  1199. min-width: auto;
  1200. width: 75%;
  1201. }
  1202. .post {
  1203. padding-right: 1rem;
  1204. padding-left: 1rem;
  1205. }
  1206. .nav_menu .btn {
  1207. margin: 0;
  1208. padding: 0.85rem 1.25rem;
  1209. }
  1210. .nav_menu .stick,
  1211. .nav_menu .group {
  1212. margin: 0.5rem 0.5rem;
  1213. }
  1214. .nav_menu .stick .btn,
  1215. .nav_menu .group .btn {
  1216. margin: 0;
  1217. padding: 0.85rem 1.25rem;
  1218. }
  1219. .nav_menu .stick .btn.read_all,
  1220. .nav_menu .group .btn.read_all {
  1221. padding: 0.85rem 1.25rem;
  1222. }
  1223. .nav_menu .search .input {
  1224. max-width: 97%;
  1225. width: 90px;
  1226. }
  1227. .nav_menu .search .input:focus {
  1228. width: 400px;
  1229. }
  1230. #stream .flux .flux_header {
  1231. padding: 0.5rem 0;
  1232. }
  1233. .dropdown-target:target ~ .dropdown-toggle::after {
  1234. background-color: #f9fafb;
  1235. border-top: 1px solid #eff0f2;
  1236. border-right: 1px solid #eff0f2;
  1237. left: 21px;
  1238. bottom: -14px;
  1239. }
  1240. .dropdown-target:target ~ a.dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1241. margin-top: 0;
  1242. }
  1243. .dropdown-target:target ~ a.dropdown-toggle:not(.btn)::after {
  1244. bottom: -17px;
  1245. }
  1246. .day {
  1247. text-align: center;
  1248. padding: 1rem 0;
  1249. }
  1250. .day .name {
  1251. padding: 0;
  1252. display: block;
  1253. width: 100%;
  1254. line-height: 1.5rem;
  1255. margin-bottom: 1rem;
  1256. }
  1257. #nav_entries button {
  1258. height: 4.5rem;
  1259. }
  1260. .notification {
  1261. border-radius: 0;
  1262. }
  1263. .notification a.close {
  1264. background: transparent;
  1265. display: block;
  1266. right: 0;
  1267. }
  1268. .notification a.close:hover {
  1269. opacity: 0.5;
  1270. }
  1271. .notification a.close .icon {
  1272. display: none;
  1273. }
  1274. }
  1275. /*=== GENERAL */
  1276. /*============*/
  1277. html, body {
  1278. background: #eff0f2;
  1279. color: #303136;
  1280. font-family: "lato", "Helvetica", "Arial", sans-serif;
  1281. font-size: 0.875rem;
  1282. }
  1283. body.formLogin,
  1284. body.register {
  1285. background: #303136;
  1286. }
  1287. /*=== Links */
  1288. a, button.as-link {
  1289. outline: none;
  1290. color: #36c;
  1291. }