page-conference.php 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774
  1. <?php
  2. /**
  3. * Template Name: Conference
  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. $conference_api = get_field('conference_api', 'option');
  12. $curl = curl_init();
  13. curl_setopt_array($curl, array(
  14. CURLOPT_URL => $conference_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 conference_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>Conference Paper</li>
  48. </ul>
  49. </nav>
  50. <div class="content">
  51. <!-- left content -->
  52. <div class="left-content">
  53. <div class="main-title">Conference 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>Conference 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 conference 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/EmployeeConference/${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. // console.log(data);
  240. return data
  241. } catch (error) {
  242. console.log(`Error: ${error}`)
  243. }
  244. }
  245. let allAuthors = [];
  246. conference_api_response.map((data) => {
  247. const EmployeeName = data.EmployeeName;
  248. allAuthors.push(EmployeeName);
  249. });
  250. // Remove duplicates
  251. allAuthors = Array.from(new Set(allAuthors));
  252. const autoCompleteJS = new autoComplete({
  253. placeHolder: "Search by author...",
  254. data: {
  255. src: allAuthors,
  256. cache: true,
  257. },
  258. resultItem: {
  259. highlight: true
  260. },
  261. events: {
  262. input: {
  263. selection: (event) => {
  264. const selection = event.detail.selection.value;
  265. autoCompleteJS.input.value = selection;
  266. updateQueryParm("authorName", selection);
  267. }
  268. }
  269. }
  270. });
  271. $(".fromYear").yearpicker({
  272. endYear: new Date().getFullYear(),
  273. onChange: function(value) {
  274. let updatedYear = value || fromYear;
  275. updateQueryParm("fromYear", updatedYear);
  276. console.log(updatedYear);
  277. }
  278. });
  279. $(".toYear").yearpicker({
  280. endYear: new Date().getFullYear(),
  281. onChange: function(value) {
  282. let updatedYear = value || toYear;
  283. updateQueryParm("toYear", updatedYear);
  284. console.log(updatedYear);
  285. }
  286. });
  287. function getLimitValue() {
  288. var limitValue = document.getElementById("set-limit").value;
  289. updateQueryParm("limit", limitValue || 0);
  290. console.log("limit", limitValue);
  291. }
  292. // Add data to page
  293. function addDataToPage(data) {
  294. const conferencePaper = document.getElementById('conference-paper');
  295. if (data) {
  296. data.map(data => {
  297. const mainAuthor = data.EmployeeName;
  298. // journal list adding
  299. data.ConferenceList.map(conference => {
  300. const conferenceData = `<div class="paper-details">
  301. <span class="paper-year">${conference.Year}</span>
  302. <a href="${conference.Link}" target="_blank">
  303. <h2 class="paper-title">${conference.PaperTitle}</h2>
  304. </a>
  305. <p class="paper-tags">
  306. ${
  307. conference.KeyWords.map(KeyWord => {
  308. return `<span class="tag">${KeyWord.KeyWordName}</span>`
  309. })
  310. }
  311. </p>
  312. <p class="paper-event">
  313. <i>Conference: </i> ${conference.ConferenceName}
  314. </p>
  315. <p class="paper-contributors">
  316. <i>Authors: </i> ${
  317. conference.Author.map(author => {
  318. return `<span ${author.AuthorName == mainAuthor? `onclick="updateQueryParm('authorName', '${mainAuthor}')"` : ''} class="${author.AuthorName == mainAuthor? 'main-author' : 'sub-author'}">${author.AuthorName}</span>`
  319. })
  320. }
  321. </p>
  322. </div>`;
  323. conferencePaper.insertAdjacentHTML("beforeend", conferenceData);
  324. })
  325. })
  326. console.log("ucam", conference_api_response);
  327. }
  328. }
  329. </script>
  330. <style>
  331. #resarch-paper-container input,
  332. #resarch-paper-container li {
  333. font-size: .75rem;
  334. }
  335. #resarch-paper-container input {
  336. padding: 0 15px;
  337. height: 40px;
  338. }
  339. div#author-list {
  340. margin-bottom: 30px;
  341. }
  342. input#autoComplete {
  343. background-position: center left 7px;
  344. background-size: .75rem auto;
  345. font-size: .75rem;
  346. max-width: 220px;
  347. padding-left: 25px;
  348. border-radius: 5px;
  349. border: var(--border-width) solid var(--border-color);
  350. cursor: text;
  351. }
  352. .autoComplete_wrapper>ul>li {
  353. font-size: .75rem;
  354. }
  355. .autoComplete_wrapper>ul>li mark {
  356. background-color: transparent;
  357. color: #f68b1f;
  358. font-weight: 700;
  359. padding: 0;
  360. }
  361. .autoComplete_wrapper>ul,
  362. .autoComplete_wrapper>ul>li {
  363. border-radius: 0;
  364. }
  365. .autoComplete_wrapper>input,
  366. .autoComplete_wrapper>input:focus,
  367. .autoComplete_wrapper>input:hover {
  368. color: #415462 !important;
  369. }
  370. .autoComplete_wrapper>ul>li:hover {
  371. background-color: rgb(246, 139, 31, 0.15);
  372. }
  373. .yearpicker-items.selected {
  374. color: inherit;
  375. }
  376. select#set-limit {
  377. padding: 0 15px;
  378. height: 40px;
  379. font-size: 0.75rem;
  380. }
  381. p.paper-contributors {
  382. text-align: left;
  383. }
  384. p.paper-contributors span {
  385. margin-left: 5px;
  386. }
  387. span.main-author {
  388. color: #f68b1f;
  389. cursor: pointer;
  390. }
  391. span.main-author:hover {
  392. font-weight: 700;
  393. }
  394. #archive-hero {
  395. padding: 2rem 0;
  396. background: #f3f0ec;
  397. }
  398. #archive-hero .content {
  399. display: flex;
  400. align-items: start;
  401. }
  402. #archive-hero .content .left-content {
  403. padding: 1rem;
  404. padding-left: 0 !important;
  405. flex: 1;
  406. }
  407. #archive-hero .content .left-content .main-title {
  408. font-size: 2.2rem;
  409. font-weight: 500;
  410. color: #000000;
  411. }
  412. #archive-hero .content .left-content .short-details {
  413. margin-top: 1.5rem;
  414. font-size: 1.1rem;
  415. font-weight: 400;
  416. }
  417. #archive-hero .content .left-content .links {
  418. margin-top: 2rem;
  419. display: flex;
  420. gap: 1.8rem;
  421. }
  422. #archive-hero .content .left-content .links a {
  423. height: 1.3rem;
  424. }
  425. #archive-hero .content .left-content .links a:hover {
  426. transform: scale(1.1);
  427. opacity: 1 !important;
  428. }
  429. #archive-hero .content .left-content .links a img {
  430. height: 100%;
  431. }
  432. #archive-hero .content .right-content {
  433. padding: 0 0 1rem 2rem !important;
  434. flex: 1;
  435. align-self: end;
  436. }
  437. #archive-hero .content .right-content img {
  438. width: 100%;
  439. }
  440. #resarch-paper-container {
  441. margin: 3rem auto 6rem;
  442. display: flex;
  443. gap: 1rem;
  444. }
  445. @media (max-width: 1000px) {
  446. #resarch-paper-container {
  447. flex-direction: column;
  448. }
  449. }
  450. #resarch-paper-container .main-comp {
  451. flex: 9;
  452. padding: 0 0.75rem 1rem 0;
  453. }
  454. @media (max-width: 1000px) {
  455. #resarch-paper-container .main-comp {
  456. order: 0;
  457. flex: 1;
  458. }
  459. }
  460. #resarch-paper-container .main-comp article {
  461. margin: unset;
  462. }
  463. #resarch-paper-container .main-comp .generic-para {
  464. text-align: left;
  465. padding: 1rem 1.5rem !important;
  466. }
  467. #resarch-paper-container .main-comp .generic-para h2 {
  468. text-align: center;
  469. letter-spacing: 1px;
  470. }
  471. #resarch-paper-container .main-comp .generic-para h3 {
  472. font-family: "DM Serif Text", serif;
  473. margin: 20px 0px !important;
  474. padding-bottom: 0.75rem;
  475. text-align: left;
  476. border-bottom: 3px solid #F68B1F;
  477. }
  478. #resarch-paper-container .main-comp .generic-para p {
  479. text-align: justify;
  480. margin: 30px 0px !important;
  481. font-size: 16px !important;
  482. line-height: 22px;
  483. }
  484. #resarch-paper-container .main-comp .generic-para .prof-name {
  485. color: #485680;
  486. font-weight: 700;
  487. font-size: 18px;
  488. }
  489. #resarch-paper-container .main-comp .generic-para .prof-deg {
  490. font-style: italic;
  491. font-weight: 400;
  492. }
  493. #resarch-paper-container .main-comp .generic-para .prof-des {
  494. font-size: 18px;
  495. font-weight: 700;
  496. }
  497. #resarch-paper-container .main-comp .generic-para .paper-details {
  498. padding: 30px 0px;
  499. border-bottom: 1px solid rgba(51, 51, 51, 0.1764705882);
  500. }
  501. #resarch-paper-container .main-comp .generic-para .paper-title {
  502. font-size: 18px !important;
  503. text-align: left !important;
  504. margin: 10px 0px !important;
  505. font-weight: 400 !important;
  506. text-decoration: underline;
  507. }
  508. #resarch-paper-container .main-comp .generic-para .paper-year {
  509. font-size: 14px;
  510. display: block;
  511. color: rgba(51, 51, 51, 0.4509803922);
  512. }
  513. #resarch-paper-container .main-comp .generic-para p {
  514. margin: 5px !important;
  515. font-size: 14px !important;
  516. }
  517. #resarch-paper-container .main-comp .generic-para .paper-contributors {
  518. color: #222222 !important;
  519. }
  520. #resarch-paper-container .main-comp .generic-para .paper-tags {
  521. margin: 20px 0px !important;
  522. }
  523. #resarch-paper-container .main-comp .generic-para .paper-tags .tag {
  524. font-size: 14px;
  525. border: 1px solid #F68B1F;
  526. padding: 3px 8px !important;
  527. border-radius: 10px;
  528. }
  529. #resarch-paper-container .side-comp {
  530. flex: 3;
  531. padding: 0 0.25rem 1rem 0 !important;
  532. }
  533. @media (max-width: 1000px) {
  534. #resarch-paper-container .side-comp {
  535. order: 1;
  536. flex: 1;
  537. }
  538. }
  539. #resarch-paper-container .side-comp .filter {
  540. border-radius: 5px;
  541. margin-bottom: 2rem;
  542. padding: 0;
  543. background-color: aliceblue;
  544. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15), 0 3px 3px rgba(0, 0, 0, 0.15);
  545. }
  546. #resarch-paper-container .side-comp .filter-title {
  547. padding: .5rem 0;
  548. text-align: center;
  549. background-color: #2c5d73;
  550. border-bottom: 3px solid #ff860d;
  551. color: #fff;
  552. font-weight: 400;
  553. font-size: 1rem;
  554. border-radius: 5px;
  555. }
  556. #resarch-paper-container .side-comp .filter-criteria {
  557. padding: 1rem;
  558. margin-bottom: 1.25rem;
  559. }
  560. #resarch-paper-container .side-comp .filter-criteria h6 {
  561. font-weight: 500;
  562. margin-bottom: 0.25rem !important;
  563. }
  564. #resarch-paper-container .side-comp .filter-criteria form {
  565. padding: 0.25rem;
  566. width: 100%;
  567. padding-top: 0.25rem;
  568. padding: 0.5rem;
  569. }
  570. #resarch-paper-container .side-comp .filter-criteria form .input-group {
  571. width: 100%;
  572. display: flex;
  573. justify-content: space-between;
  574. margin-bottom: 0.25rem;
  575. }
  576. #resarch-paper-container .side-comp .filter-criteria form .input-group label {
  577. font-size: 0.8rem;
  578. font-weight: 500;
  579. }
  580. #resarch-paper-container .side-comp .filter-criteria form .input-group input {
  581. font-size: 0.8rem;
  582. }
  583. #resarch-paper-container .side-comp .filter-criteria form ul {
  584. margin-bottom: unset;
  585. }
  586. #resarch-paper-container .side-comp .filter-criteria form ul li {
  587. list-style: none;
  588. }
  589. #resarch-paper-container .side-comp .filter-criteria form a {
  590. display: block;
  591. color: #333;
  592. font-size: 0.8rem;
  593. font-weight: 500;
  594. padding: 0.5rem 0;
  595. border-bottom: 1px solid #c5c5c5;
  596. }
  597. #resarch-paper-container .side-comp .filter-criteria form a:hover {
  598. opacity: 1 !important;
  599. color: #ff860d;
  600. }
  601. #resarch-paper-container .side-comp .filter-criteria form .single-item {
  602. display: block;
  603. margin-bottom: 0.75rem;
  604. padding-bottom: 2rem;
  605. border-bottom: 1px solid #2c5d73;
  606. transition: all 0.25s ease-in-out;
  607. }
  608. #resarch-paper-container .side-comp .filter-criteria form .single-item:last-child {
  609. border-bottom: none;
  610. margin-bottom: 0rem;
  611. padding-bottom: 0.25rem;
  612. }
  613. #resarch-paper-container .side-comp .filter-criteria form .single-item .date {
  614. font-size: 0.8rem;
  615. font-weight: 500;
  616. color: #c66f17;
  617. }
  618. #resarch-paper-container .side-comp .filter-criteria form .single-item .single-item-title {
  619. font-size: 0.8rem;
  620. font-weight: 700;
  621. color: #2c5d73;
  622. }
  623. #resarch-paper-container .side-comp .filter-criteria form .single-item .date-container {
  624. display: flex;
  625. align-items: center;
  626. gap: 0.7rem;
  627. }
  628. #resarch-paper-container .side-comp .filter-criteria form .single-item .date-container .date {
  629. font-size: 0.75rem;
  630. }
  631. #resarch-paper-container .side-comp .filter-criteria form .single-item .date-container .icon {
  632. width: 0.75rem;
  633. color: #ffffff;
  634. }
  635. #resarch-paper-container .side-comp .filter-criteria form .single-item .date-container .icon img {
  636. width: 100%;
  637. }
  638. </style>
  639. <?php get_footer(); ?>