page-journal.php 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. <?php
  2. /**
  3. * Template Name: Journal
  4. *
  5. * @package UIU_DEPARTMENTAL
  6. */
  7. get_header(); ?>
  8. <?php while (have_posts()) : the_post();
  9. $auth_token = get_field('auth_token', 'option');
  10. $client_id = get_field('client_id', 'option');
  11. $journal_api = get_field('journal_api', 'option');
  12. $curl = curl_init();
  13. curl_setopt_array($curl, array(
  14. CURLOPT_URL => $journal_api,
  15. CURLOPT_RETURNTRANSFER => true,
  16. CURLOPT_ENCODING => '',
  17. CURLOPT_MAXREDIRS => 10,
  18. CURLOPT_TIMEOUT => 0,
  19. CURLOPT_FOLLOWLOCATION => true,
  20. CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  21. CURLOPT_CUSTOMREQUEST => 'POST',
  22. CURLOPT_POSTFIELDS => '{
  23. "auth_token" : "' . $auth_token . '",
  24. "user_login_id" : "' . $client_id . '"
  25. }',
  26. CURLOPT_HTTPHEADER => array(
  27. 'Content-Type: application/json'
  28. ),
  29. ));
  30. $response = curl_exec($curl);
  31. curl_close($curl);
  32. $response = json_decode($response, true);
  33. // echo "<pre>";
  34. // print_r($response)
  35. ?>
  36. <script type="text/javascript">
  37. const journal_api_response = <?php echo json_encode($response); ?>;
  38. </script>
  39. <main id="main" class="site-main" role="main">
  40. <section id="archive-hero">
  41. <div class="container">
  42. <!-- breadcrumb -->
  43. <nav aria-label="breadcrumb">
  44. <ul>
  45. <li><a href="#"> Home </a></li>
  46. <li><a href="#">Research</a></li>
  47. <li>Journal Paper</li>
  48. </ul>
  49. </nav>
  50. <div class="content">
  51. <!-- left content -->
  52. <div class="left-content">
  53. <div class="main-title">Journal Paper</div>
  54. <div class="short-details">
  55. Lorem ipsum dolor sit, amet consectetur adipisicing elit. Dolor ducimus eius magni non.
  56. </div>
  57. <div class="links">
  58. <!-- message -->
  59. <a href="#">
  60. <img src="<?php echo (get_template_directory_uri()) ?>/img/envelope-solid.svg" alt="">
  61. </a>
  62. <!-- printer -->
  63. <a href="#">
  64. <img src="<?php echo (get_template_directory_uri()) ?>/img/print-solid.svg" alt="">
  65. </a>
  66. <!-- facebook -->
  67. <a href="#">
  68. <img src="<?php echo (get_template_directory_uri()) ?>/img/facebook-f.svg" alt="">
  69. </a>
  70. <!-- twitter -->
  71. <a href="#">
  72. <img src="<?php echo (get_template_directory_uri()) ?>/img/twitter.svg" alt="">
  73. </a>
  74. <!-- linkedin -->
  75. <a href="#">
  76. <img src="<?php echo (get_template_directory_uri()) ?>/img/linkedin-in.svg" alt="">
  77. </a>
  78. </div>
  79. </div>
  80. <!-- right content -->
  81. <div class="right-content">
  82. <img src="<?php echo (get_template_directory_uri()) ?>/img/journal-paper.jpg" alt="">
  83. </div>
  84. </div>
  85. </div>
  86. </section>
  87. <div class="container">
  88. <section id="resarch-paper-container">
  89. <!-- side component -->
  90. <div class="side-comp">
  91. <div class="filter">
  92. <!-- title -->
  93. <div class="filter-title">
  94. Refine Your Search
  95. </div>
  96. <div class="filter-criteria">
  97. <h6>Select Author :</h6>
  98. <div id="author-list" class="autoComplete_wrapper">
  99. <input id="autoComplete" type="search" dir="ltr" spellcheck=false autocorrect="off" autocomplete="off" autocapitalize="off">
  100. </div>
  101. <h6>Year Range:</h6>
  102. <div class="form-group">
  103. <input type="text" class="fromYear form-control" value="" placeholder="from year" />
  104. <input type="text" class="toYear form-control" value="" placeholder="to year" />
  105. </div>
  106. <h6>List per Page:</h6>
  107. <select id="set-limit" onchange="getLimitValue()">
  108. <option value="" disabled selected>Select</option>
  109. <option value="5">5</option>
  110. <option value="10">10</option>
  111. <option value="25">25</option>
  112. <option value="50">50</option>
  113. </select>
  114. </div>
  115. </div>
  116. <button onclick="restQueryParm()">Reset Filter</button>
  117. </div>
  118. <!-- main component -->
  119. <div class="main-comp">
  120. <article class="generic-para ">
  121. <h3>Journal Papers</h3>
  122. <div id="conference-paper">
  123. </div>
  124. </article>
  125. </div>
  126. </section>
  127. </div>
  128. </main>
  129. <!-- #main -->
  130. <?php endwhile; // end of the loop.
  131. ?>
  132. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tarekraafat-autocomplete.js/10.2.7/css/autoComplete.min.css">
  133. <link rel="stylesheet" href="<?php echo (get_template_directory_uri()) ?>/css/yearpicker.css">
  134. <script src="https://cdnjs.cloudflare.com/ajax/libs/tarekraafat-autocomplete.js/10.2.7/autoComplete.min.js"></script>
  135. <script src="https://saravanajd.github.io/YearPicker/jquery.min.js"></script>
  136. <script src="<?php echo (get_template_directory_uri()) ?>/js/yearpicker.js"></script>
  137. <script>
  138. const fullURL = window.location.href;
  139. const urlParams = new URLSearchParams(window.location.search);
  140. const urlWithoutParams = fullURL.split("?")[0];
  141. // urlParams.set('limit', '2');
  142. const getQueryParam = (param) => urlParams.has(param) ? urlParams.get(param) : '';
  143. let authorName = getQueryParam("authorName");
  144. let fromYear = parseInt(getQueryParam("fromYear")) || 0;
  145. let toYear = parseInt(getQueryParam("toYear")) || 0;
  146. let c_page = parseInt(getQueryParam("c_page")) || 1;
  147. let limit = parseInt(getQueryParam("limit")) || 0;
  148. let keyword = getQueryParam("keyword");
  149. let queryParm = `?authorName=${authorName}&fromYear=${fromYear}&toYear=${toYear}&page=${c_page}&limit=${limit}&keyword=${keyword}`;
  150. const updateQueryParm = (param, value) => {
  151. switch (param) {
  152. case 'authorName':
  153. urlParams.set('authorName', value);
  154. authorName = value;
  155. break;
  156. case 'fromYear':
  157. urlParams.set('fromYear', value);
  158. fromYear = value;
  159. break;
  160. case 'toYear':
  161. urlParams.set('toYear', value);
  162. toYear = value;
  163. break;
  164. case 'c_page':
  165. urlParams.set('c_page', value);
  166. c_page = value;
  167. break;
  168. case 'limit':
  169. urlParams.set('limit', value);
  170. limit = value;
  171. break;
  172. case 'keyword':
  173. urlParams.set('keyword', value);
  174. keyword = value;
  175. break;
  176. default:
  177. break;
  178. }
  179. document.getElementById("autoComplete").value = authorName;
  180. document.querySelector(".fromYear").value = (fromYear == 0) ? '' : fromYear;
  181. document.querySelector(".toYear").value = (toYear == 0) ? '' : toYear;
  182. document.getElementById("set-limit").value = (limit == 0) ? '' : limit;
  183. let theQueryParm = `?authorName=${authorName}&fromYear=${fromYear}&toYear=${toYear}&page=${c_page}&limit=${limit}&keyword=${keyword}`;
  184. setQueryParm(theQueryParm);
  185. };
  186. const restQueryParm = () => {
  187. urlParams.set('authorName', "");
  188. urlParams.set('fromYear', 0);
  189. urlParams.set('toYear', 0);
  190. urlParams.set('c_page', 1);
  191. urlParams.set('limit', 0);
  192. urlParams.set('keyword', "");
  193. authorName = "";
  194. fromYear = 0;
  195. toYear = 0;
  196. c_page = 1;
  197. limit = 0;
  198. keyword = "";
  199. document.getElementById("autoComplete").value = "";
  200. document.querySelector(".fromYear").value = '';
  201. document.querySelector(".toYear").value = '';
  202. document.getElementById("set-limit").value = '';
  203. let theQueryParm = `?authorName=&fromYear=0&toYear=0&page=0&limit=0&keyword=`;
  204. setQueryParm(theQueryParm);
  205. // console.log("theQueryParm", theQueryParm);
  206. }
  207. const setQueryParm = (queryParm) => {
  208. // console.log("queryParm", queryParm);
  209. const nextURL = urlWithoutParams + queryParm;
  210. const nextTitle = 'New journal page';
  211. const nextState = {
  212. additionalInformation: 'Updated the URL with'
  213. };
  214. window.history.pushState(nextState, nextTitle, nextURL);
  215. window.history.replaceState(nextState, nextTitle, nextURL);
  216. const conferencePaperWrapper = document.getElementById('conference-paper');
  217. fetchJournalPaper(queryParm)
  218. .then(data => {
  219. conferencePaperWrapper.innerHTML = '';
  220. addDataToPage(data);
  221. });
  222. }
  223. const payload = {
  224. "user_login_id": "api_user",
  225. "auth_token": "api_user20230419045143"
  226. }
  227. const fetchJournalPaper = async (currentQueryParm) => {
  228. const apiUrl = `https://ucamapi.uiu.ac.bd/api/EmployeeJournal/${currentQueryParm}`;
  229. console.log("api called", apiUrl);
  230. try {
  231. const res = await fetch(apiUrl, {
  232. method: "POST",
  233. headers: {
  234. "Content-Type": "application/json",
  235. },
  236. body: JSON.stringify(payload)
  237. });
  238. const data = await res.json();
  239. return data
  240. } catch (error) {
  241. console.log(`Error: ${error}`)
  242. }
  243. }
  244. let allAuthors = [];
  245. journal_api_response.map((data) => {
  246. const EmployeeName = data.EmployeeName;
  247. allAuthors.push(EmployeeName);
  248. });
  249. // Remove duplicates
  250. allAuthors = Array.from(new Set(allAuthors));
  251. const autoCompleteJS = new autoComplete({
  252. placeHolder: "Search by author...",
  253. data: {
  254. src: allAuthors,
  255. cache: true,
  256. },
  257. resultItem: {
  258. highlight: true
  259. },
  260. events: {
  261. input: {
  262. selection: (event) => {
  263. const selection = event.detail.selection.value;
  264. autoCompleteJS.input.value = selection;
  265. updateQueryParm("authorName", selection);
  266. }
  267. }
  268. }
  269. });
  270. $(".fromYear").yearpicker({
  271. endYear: new Date().getFullYear(),
  272. onChange: function(value) {
  273. let updatedYear = value || fromYear;
  274. updateQueryParm("fromYear", updatedYear);
  275. console.log(updatedYear);
  276. }
  277. });
  278. $(".toYear").yearpicker({
  279. endYear: new Date().getFullYear(),
  280. onChange: function(value) {
  281. let updatedYear = value || toYear;
  282. updateQueryParm("toYear", updatedYear);
  283. console.log(updatedYear);
  284. }
  285. });
  286. function getLimitValue() {
  287. var limitValue = document.getElementById("set-limit").value;
  288. updateQueryParm("limit", limitValue || 0);
  289. console.log("limit", limitValue);
  290. }
  291. // Add data to page
  292. function addDataToPage(data) {
  293. const conferencePaper = document.getElementById('conference-paper');
  294. if (data) {
  295. data.map(data => {
  296. const mainAuthor = data.EmployeeName;
  297. // journal list adding
  298. data.JournalList.map(journal => {
  299. const journalData = `<div class="paper-details">
  300. <span class="paper-year">${journal.Year}</span>
  301. <a href="${journal.JournalLink}" target="_blank">
  302. <h2 class="paper-title">${journal.PaperTitle}</h2>
  303. </a>
  304. <p class="paper-tags">
  305. ${
  306. journal.KeyWords.map(KeyWord => {
  307. return `<span class="tag">${KeyWord.KeyWordName}</span>`
  308. })
  309. }
  310. </p>
  311. <p class="paper-event">
  312. <i>Publication: </i> ${journal.JournalTitle}
  313. </p>
  314. <p class="paper-contributors">
  315. <i>Authors: </i> ${
  316. journal.Author.map(author => {
  317. return `<span ${author.AuthorName == mainAuthor? `onclick="updateQueryParm('authorName', '${mainAuthor}')"` : ''} class="${author.AuthorName == mainAuthor? 'main-author' : 'sub-author'}">${author.AuthorName}</span>`
  318. })
  319. }
  320. </p>
  321. </div>`;
  322. conferencePaper.insertAdjacentHTML("beforeend", journalData);
  323. })
  324. })
  325. console.log("ucam", journal_api_response);
  326. }
  327. }
  328. </script>
  329. <style>
  330. #resarch-paper-container input,
  331. #resarch-paper-container li {
  332. font-size: .75rem;
  333. }
  334. #resarch-paper-container input {
  335. padding: 0 15px;
  336. height: 40px;
  337. }
  338. div#author-list {
  339. margin-bottom: 30px;
  340. }
  341. input#autoComplete {
  342. background-position: center left 7px;
  343. background-size: .75rem auto;
  344. font-size: .75rem;
  345. max-width: 220px;
  346. padding-left: 25px;
  347. border-radius: 5px;
  348. border: var(--border-width) solid var(--border-color);
  349. cursor: text;
  350. }
  351. .autoComplete_wrapper>ul>li {
  352. font-size: .75rem;
  353. }
  354. .autoComplete_wrapper>ul>li mark {
  355. background-color: transparent;
  356. color: #f68b1f;
  357. font-weight: 700;
  358. padding: 0;
  359. }
  360. .autoComplete_wrapper>ul,
  361. .autoComplete_wrapper>ul>li {
  362. border-radius: 0;
  363. }
  364. .autoComplete_wrapper>input,
  365. .autoComplete_wrapper>input:focus,
  366. .autoComplete_wrapper>input:hover {
  367. color: #415462 !important;
  368. }
  369. .autoComplete_wrapper>ul>li:hover {
  370. background-color: rgb(246, 139, 31, 0.15);
  371. }
  372. .yearpicker-items.selected {
  373. color: inherit;
  374. }
  375. select#set-limit {
  376. padding: 0 15px;
  377. height: 40px;
  378. font-size: 0.75rem;
  379. }
  380. p.paper-contributors {
  381. text-align: left;
  382. }
  383. p.paper-contributors span {
  384. margin-left: 5px;
  385. }
  386. span.main-author {
  387. color: #f68b1f;
  388. cursor: pointer;
  389. }
  390. span.main-author:hover {
  391. font-weight: 700;
  392. }
  393. #archive-hero {
  394. padding: 2rem 0;
  395. background: #f3f0ec;
  396. }
  397. #archive-hero .content {
  398. display: flex;
  399. align-items: start;
  400. }
  401. #archive-hero .content .left-content {
  402. padding: 1rem;
  403. padding-left: 0 !important;
  404. flex: 1;
  405. }
  406. #archive-hero .content .left-content .main-title {
  407. font-size: 2.2rem;
  408. font-weight: 500;
  409. color: #000000;
  410. }
  411. #archive-hero .content .left-content .short-details {
  412. margin-top: 1.5rem;
  413. font-size: 1.1rem;
  414. font-weight: 400;
  415. }
  416. #archive-hero .content .left-content .links {
  417. margin-top: 2rem;
  418. display: flex;
  419. gap: 1.8rem;
  420. }
  421. #archive-hero .content .left-content .links a {
  422. height: 1.3rem;
  423. }
  424. #archive-hero .content .left-content .links a:hover {
  425. transform: scale(1.1);
  426. opacity: 1 !important;
  427. }
  428. #archive-hero .content .left-content .links a img {
  429. height: 100%;
  430. }
  431. #archive-hero .content .right-content {
  432. padding: 0 0 1rem 2rem !important;
  433. flex: 1;
  434. align-self: end;
  435. }
  436. #archive-hero .content .right-content img {
  437. width: 100%;
  438. }
  439. #resarch-paper-container {
  440. margin: 3rem auto 6rem;
  441. display: flex;
  442. gap: 1rem;
  443. }
  444. @media (max-width: 1000px) {
  445. #resarch-paper-container {
  446. flex-direction: column;
  447. }
  448. }
  449. #resarch-paper-container .main-comp {
  450. flex: 9;
  451. padding: 0 0.75rem 1rem 0;
  452. }
  453. @media (max-width: 1000px) {
  454. #resarch-paper-container .main-comp {
  455. order: 0;
  456. flex: 1;
  457. }
  458. }
  459. #resarch-paper-container .main-comp article {
  460. margin: unset;
  461. }
  462. #resarch-paper-container .main-comp .generic-para {
  463. text-align: left;
  464. padding: 1rem 1.5rem !important;
  465. }
  466. #resarch-paper-container .main-comp .generic-para h2 {
  467. text-align: center;
  468. letter-spacing: 1px;
  469. }
  470. #resarch-paper-container .main-comp .generic-para h3 {
  471. font-family: "DM Serif Text", serif;
  472. margin: 20px 0px !important;
  473. padding-bottom: 0.75rem;
  474. text-align: left;
  475. border-bottom: 3px solid #F68B1F;
  476. }
  477. #resarch-paper-container .main-comp .generic-para p {
  478. text-align: justify;
  479. margin: 30px 0px !important;
  480. font-size: 16px !important;
  481. line-height: 22px;
  482. }
  483. #resarch-paper-container .main-comp .generic-para .prof-name {
  484. color: #485680;
  485. font-weight: 700;
  486. font-size: 18px;
  487. }
  488. #resarch-paper-container .main-comp .generic-para .prof-deg {
  489. font-style: italic;
  490. font-weight: 400;
  491. }
  492. #resarch-paper-container .main-comp .generic-para .prof-des {
  493. font-size: 18px;
  494. font-weight: 700;
  495. }
  496. #resarch-paper-container .main-comp .generic-para .paper-details {
  497. padding: 30px 0px;
  498. border-bottom: 1px solid rgba(51, 51, 51, 0.1764705882);
  499. }
  500. #resarch-paper-container .main-comp .generic-para .paper-title {
  501. font-size: 18px !important;
  502. text-align: left !important;
  503. margin: 10px 0px !important;
  504. font-weight: 400 !important;
  505. text-decoration: underline;
  506. }
  507. #resarch-paper-container .main-comp .generic-para .paper-year {
  508. font-size: 14px;
  509. display: block;
  510. color: rgba(51, 51, 51, 0.4509803922);
  511. }
  512. #resarch-paper-container .main-comp .generic-para p {
  513. margin: 5px !important;
  514. font-size: 14px !important;
  515. }
  516. #resarch-paper-container .main-comp .generic-para .paper-contributors {
  517. color: #222222 !important;
  518. }
  519. #resarch-paper-container .main-comp .generic-para .paper-tags {
  520. margin: 20px 0px !important;
  521. }
  522. #resarch-paper-container .main-comp .generic-para .paper-tags .tag {
  523. font-size: 14px;
  524. border: 1px solid #F68B1F;
  525. padding: 3px 8px !important;
  526. border-radius: 10px;
  527. }
  528. #resarch-paper-container .side-comp {
  529. flex: 3;
  530. padding: 0 0.25rem 1rem 0 !important;
  531. }
  532. @media (max-width: 1000px) {
  533. #resarch-paper-container .side-comp {
  534. order: 1;
  535. flex: 1;
  536. }
  537. }
  538. #resarch-paper-container .side-comp .filter {
  539. border-radius: 5px;
  540. margin-bottom: 2rem;
  541. padding: 0;
  542. background-color: aliceblue;
  543. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15), 0 3px 3px rgba(0, 0, 0, 0.15);
  544. }
  545. #resarch-paper-container .side-comp .filter-title {
  546. padding: .5rem 0;
  547. text-align: center;
  548. background-color: #2c5d73;
  549. border-bottom: 3px solid #ff860d;
  550. color: #fff;
  551. font-weight: 400;
  552. font-size: 1rem;
  553. border-radius: 5px;
  554. }
  555. #resarch-paper-container .side-comp .filter-criteria {
  556. padding: 1rem;
  557. margin-bottom: 1.25rem;
  558. }
  559. #resarch-paper-container .side-comp .filter-criteria h6 {
  560. font-weight: 500;
  561. margin-bottom: 0.25rem !important;
  562. }
  563. #resarch-paper-container .side-comp .filter-criteria form {
  564. padding: 0.25rem;
  565. width: 100%;
  566. padding-top: 0.25rem;
  567. padding: 0.5rem;
  568. }
  569. #resarch-paper-container .side-comp .filter-criteria form .input-group {
  570. width: 100%;
  571. display: flex;
  572. justify-content: space-between;
  573. margin-bottom: 0.25rem;
  574. }
  575. #resarch-paper-container .side-comp .filter-criteria form .input-group label {
  576. font-size: 0.8rem;
  577. font-weight: 500;
  578. }
  579. #resarch-paper-container .side-comp .filter-criteria form .input-group input {
  580. font-size: 0.8rem;
  581. }
  582. #resarch-paper-container .side-comp .filter-criteria form ul {
  583. margin-bottom: unset;
  584. }
  585. #resarch-paper-container .side-comp .filter-criteria form ul li {
  586. list-style: none;
  587. }
  588. #resarch-paper-container .side-comp .filter-criteria form a {
  589. display: block;
  590. color: #333;
  591. font-size: 0.8rem;
  592. font-weight: 500;
  593. padding: 0.5rem 0;
  594. border-bottom: 1px solid #c5c5c5;
  595. }
  596. #resarch-paper-container .side-comp .filter-criteria form a:hover {
  597. opacity: 1 !important;
  598. color: #ff860d;
  599. }
  600. #resarch-paper-container .side-comp .filter-criteria form .single-item {
  601. display: block;
  602. margin-bottom: 0.75rem;
  603. padding-bottom: 2rem;
  604. border-bottom: 1px solid #2c5d73;
  605. transition: all 0.25s ease-in-out;
  606. }
  607. #resarch-paper-container .side-comp .filter-criteria form .single-item:last-child {
  608. border-bottom: none;
  609. margin-bottom: 0rem;
  610. padding-bottom: 0.25rem;
  611. }
  612. #resarch-paper-container .side-comp .filter-criteria form .single-item .date {
  613. font-size: 0.8rem;
  614. font-weight: 500;
  615. color: #c66f17;
  616. }
  617. #resarch-paper-container .side-comp .filter-criteria form .single-item .single-item-title {
  618. font-size: 0.8rem;
  619. font-weight: 700;
  620. color: #2c5d73;
  621. }
  622. #resarch-paper-container .side-comp .filter-criteria form .single-item .date-container {
  623. display: flex;
  624. align-items: center;
  625. gap: 0.7rem;
  626. }
  627. #resarch-paper-container .side-comp .filter-criteria form .single-item .date-container .date {
  628. font-size: 0.75rem;
  629. }
  630. #resarch-paper-container .side-comp .filter-criteria form .single-item .date-container .icon {
  631. width: 0.75rem;
  632. color: #ffffff;
  633. }
  634. #resarch-paper-container .side-comp .filter-criteria form .single-item .date-container .icon img {
  635. width: 100%;
  636. }
  637. </style>
  638. <?php get_footer(); ?>