최정임 최정임 2023-03-03
230303 최정임 에이젼시 반응형 수정
@4ea5deccf6c2a0fa47497a1abb8365fed415681b
client/resources/css/common.css
--- client/resources/css/common.css
+++ client/resources/css/common.css
@@ -227,7 +227,6 @@
 .flex100 {
   flex: 0 0 100%;
 }
-
 /* width 공통 */
 .width100 {
   width: 100%;
client/resources/css/layout.css
--- client/resources/css/layout.css
+++ client/resources/css/layout.css
@@ -16,9 +16,6 @@
   grid-template-columns: 315px 1fr;
   grid-template-rows: 0.1fr 2.9fr;
 }
-#layout.expander{
-  grid-template-columns: 50px 1fr;
-}
 header {
   padding: 1rem 3rem;
   background-color: white;
@@ -28,17 +25,18 @@
   width: 100%;
 }
 
-.page-title span {
-  font-size: 1.8rem;
+.page-title-span {
+  font-size: 2.5rem;
   font-weight: bold;
-  margin-left: 1rem;
 }
 
 nav{
   height: 100%;
+  width: 310px;
   background-color: #f2f0eb;
   grid-area: nav;
-  position: relative;
+  position: fixed;
+  z-index: 10;
   background: #ffffff;
   box-shadow: 1px 0px 6px 2px rgb(0 0 0 / 20%); 
 }
@@ -131,7 +129,7 @@
 .logout{background: #f26e50;}
 #pages {
   max-width: 100%;
-  height: 100%;
+  height: fit-content;
   padding: 3rem;
   background-color: #f4f4f2;
   grid-area: main;
@@ -141,6 +139,7 @@
 
 main {
   max-width: 100%;
+  height: 100%;
 }
 
 .content-wrap {
@@ -151,7 +150,6 @@
 .userlist{
   box-shadow: 1px 1px 5px 1px rgb(0 0 0 / 20%);
   width: 100%;
-  height: 51rem;
   padding: 4.5rem 2rem;
 }
 
@@ -237,7 +235,7 @@
 }
 .hierarchy-menu ul a {
   display: block;
-  padding: 6px 5rem;
+  padding: 6px 0 0 5rem;
   height: 44px;
   position: relative;
   color: #333333;
client/resources/css/main.css
--- client/resources/css/main.css
+++ client/resources/css/main.css
@@ -1,9 +1,4 @@
 /* 공통 */
-.logo {
-  font-size: 2.4rem;
-  font-family: 'AuctionGothic_Medium';
-}
-
 header>div {
   height: 100%;
 }
@@ -20,14 +15,13 @@
 .menuicon {
   display: none;
   cursor: pointer;
-  height: 9.4rem;
-  left: 2.5rem;
+  left: 1.5rem;
   top: 2.6rem;
   position: absolute;
 }
 
 /* 시행기관 장비관리 리스트 */
-
+.react-calendar__month-view__days__day--neighboringMonth{display: none;}
 .visitlist {
   height: 55vh;
 }
@@ -66,12 +60,13 @@
 }
 
 .question-select label {
-  width: 10%;
+  margin-right: 1rem;
 }
 
 .question-select select {
   width: 16%;
   height: 3.7rem;
+  margin-right: 1rem;
 }
 
 .qna-insert select {
@@ -139,7 +134,7 @@
 
 
 /* -----------------------------------------------지자체 */
-
+.statistics-agency #RowChart>div{height: 36rem;}
 
 .map {
   width: 100%;
@@ -779,11 +774,6 @@
 .detail-search table td {
   border-top: none;
 }
-
-.detail-search tbody tr:nth-of-type(2) select {
-  width: 24.4%;
-}
-
 .detail-search tbody select {
   height: 3.7rem;
 }
@@ -1137,6 +1127,9 @@
 }
 
 /* 사용자 관리 */
+.userauthoriylist .left{width: 27%;}
+ .userauthoriylist .right{width: 70%; }
+.bSXvtB{display: none;}
 .tab-menu .tab-menu-agency {
   display: flex;
 }
@@ -1174,12 +1167,13 @@
 
 .search-management select {
   width: 15%;
-  height: 3rem;
+  height: 3.6rem;
+  margin-right: 1rem;
 }
 
 .search-management input {
   width: 20%;
-  height: 3.7rem;
+  height: 3.6rem;
   margin-right: 1rem;
 }
 
client/resources/css/reset.css
--- client/resources/css/reset.css
+++ client/resources/css/reset.css
@@ -94,7 +94,6 @@
 select{
   width: 32%;
   border-radius: 0.5rem;
-  margin-right: 1rem;
   border: 1px solid #d8d3c7;
 }
 
client/resources/css/responsive.css
--- client/resources/css/responsive.css
+++ client/resources/css/responsive.css
@@ -573,19 +573,19 @@
   .usericon {
     display: none;
   }
-
+  .ittLqr{font-size: 1.3rem !important;}
   /* 공통 */
   #layout{display: block;}
-  #pages{padding: 1rem;}
+  #pages{padding: 1rem; }
   header {
     padding: 1rem;
     position: fixed;
   }
   nav {
     position: fixed;
-    left: -310px;
-    top: 86px;
-    z-index: 10;
+    left: -320px;
+    top: 87px;
+    z-index: 12;
     transition: 0.5s;
     box-shadow:12px -6px 10px -10px rgb(0 0 0 / 20%);
     height:91vh;
@@ -596,8 +596,25 @@
     transition: 0.5s;
   }
   .bottom-section{padding: 0.9rem ; bottom: 6rem;}
-  .content-wrap{padding: 1rem;}
+  .content-wrap{padding: 3rem 1rem 0 1rem; }
   th,td,tr{display: block;}
+  .header-info-id,#fullDate, #temp,.cCoJhO{display: none;}
+  /* 에이젼시 메인 */
+  .main-grid-agency{display: block;}
+  .main-grid-agency .agency-visitlist{margin-top: 16rem;}
+  .agency-calendar .react-calendar__month-view__weekdays{display: flex !important;}
+  .agency-calendar .react-calendar__month-view__days__day{flex: 0 0 12.5% !important;}
+  .agency-calendar .react-calendar__month-view__days{flex-wrap: wrap !important;}
+  .tab-menu-agency li{padding: 1rem;}
+  .statistics-agency{margin-bottom: 1rem;}
+  /* 지자체 메인 */
+  .main-grid-government{display: block;}
+  .main-grid-government .content-box:nth-child(8), .main-grid-government .content-box:nth-child(6){height: 30rem;}
+  #RowChart>div{height: 36rem;}  
+  .main-grid-government .content-box{margin-bottom: 1rem;}
+  .statistics-govern{margin-bottom: 1rem;}
+  /* Q&A */
+  .question-select select{width: 22%;}
   /* 권한관리 */
   .authority-table-pc {
     display: none;
@@ -654,84 +671,36 @@
   }
 
   /* 사용자관리 */
-  .tab-menu-mobile {
-    display: block;
-    padding: 1rem;
-    background-color: #ffffff;
-  }
-
-  .tab-menu {
-    display: none;
-  }
-
+  .searchselect label{margin-right: 2rem;}
+  .protector-user{margin-top: 2rem;}
+  .userauthoriylist{display: block;}
+  .userauthoriylist .left, .userauthoriylist .right {
+    width: 100% ;
+}
+.userauthoriylist .right{margin-top: 2rem;}
+.tab-menu li{width: 100%;}
   .search-management {
     justify-content: space-between;
   }
 
   .search-management select {
     width: 22%;
+    margin: 0;
   }
 
   .search-management input {
-    width: 30%;
-    margin-right: 1rem;
+    width: 52%;margin: 0;
   }
 
-  .search-management button {
-    width: 20%;
-  }
-
-  /* 공통 */
-
-  .header-flex {
-    display: flex;
-    justify-content: flex-start;
-  }
-
-  /* 보호자 메인 그리드 */
-  .pc {
-    display: none;
-  }
-
-  .mobile {
-    display: block;
-  }
-
-  .mobile .main-grid-guardian {
-    gap: 0.5rem;
-  }
-
-  .mobile .main-grid-guardian .content-box {
-    padding: 0.5rem;
-  }
-
-  .mobile .main-grid-guardian .content-box:nth-child(2)>div p {
-    font-size: 1.8rem;
-  }
-
-  .mobile .main-grid-guardian .content-box:nth-child(7)>div {
-    justify-content: flex-start;
-  }
-
-  .mobile .main-grid-guardian {
-    grid-template-columns: 1fr;
-    grid-template-rows: none;
-  }
-
-  .mobile .main-grid-guardian .combine-right-government,
-  .mobile .main-grid-guardian .combine-left {
-    grid-column: 1;
-  }
-
-  .mobile .main-grid-guardian .combine-bottom-government {
-    grid-column: 0;
-  }
+ .searchselect-wrap{display: block;}
+ .searchselect{width: max-content;}
+ .page-title-span{display: block;
+  margin-left: 5rem;}
 
   /* button */
 
   .btn-large {
     font-size: 1.4rem;
-    width: 20%;
   }
 
   /* 로그인 */
@@ -765,88 +734,8 @@
     width: 30%;
   }
 
-  /* 메인 */
-  .temp p {
-    font-size: 2rem;
-  }
-
-  .main-battery-title {
-    font-size: 1.4rem;
-    justify-content: flex-start;
-    padding-right: 1rem;
-  }
-
-  .battery::after {
-    content: " 남았습니다.";
-    font-size: 1.4rem;
-    margin-left: 0;
-  }
-
-  .battery p {
-    font-size: 2rem;
-    padding-left: 0;
-    padding-right: 1rem;
-  }
-
-  #chartdiv1 {
-    height: 25vh;
-  }
-
-  .statistics li p:nth-of-type(1),
-  .statistics li p:nth-of-type(2) {
-    font-size: 1.4rem;
-  }
-
-  .weather-info {
-    width: 70%;
-  }
-
-  .recent-visit {
-    border: 0;
-  }
-
-  .recent-visit td {
-    padding-left: 12rem;
-  }
-
-  .recent-visit td:nth-of-type(1) {
-    font-weight: bold;
-    padding: 0.5rem;
-  }
-
-  .recent-visit td:nth-of-type(1)::before {
-    content: "";
-  }
-
-  .recent-visit td:nth-of-type(2):before {
-    content: "방문목적";
-  }
-
-  .recent-visit td:nth-of-type(3):before {
-    content: "방문 상세 이유";
-  }
-
 
   /* 검색창 */
-
-  .mobile-area-wrap {
-    display: block;
-    margin-top: 1rem;
-  }
-
-  .mobile-area-wrap div {
-    width: 100%;
-    margin-top: 1rem;
-  }
-
-  .mobile-area-wrap div label {
-    width: 30%;
-    font-size: 1.6rem;
-  }
-
-  .mobile-area-wrap div select {
-    width: 70%;
-  }
 
   .area-wrap {
     display: none;
@@ -1072,7 +961,7 @@
   }
 
   /* 장비조회 */
-
+  .equip-tab{display: block;}
   /* 장비 상세 조회 */
   /* 장비등록창 */
   .equipment-modal tbody td {
client/views/component/AgencySearch.jsx
--- client/views/component/AgencySearch.jsx
+++ client/views/component/AgencySearch.jsx
@@ -190,8 +190,8 @@
 
   return (
     <div className="search-group">
-      <div className="search-area flex" style={{ width:"50%"}}>
-        <div className="detail-search" style={{ width:"85%"}}>
+      <div className="search-area flex-start" >
+        <div className="detail-search" >
           <table>
             <tbody>
               <tr>
client/views/component/DetailTitle.jsx
--- client/views/component/DetailTitle.jsx
+++ client/views/component/DetailTitle.jsx
@@ -28,7 +28,7 @@
   &::before {
     content: "";
     position: absolute;
-    z-index: 10;
+    z-index: 5;
     left: 0;
     bottom: -15px;
     height: 8px;
client/views/layout/Header.jsx
--- client/views/layout/Header.jsx
+++ client/views/layout/Header.jsx
@@ -11,16 +11,15 @@
   return (
     <header>
       <div className="header-flex flex flex-align">
+        <span className="page-title-span">{title}</span>
         <div className="page-title flex flex-align">
           {/* <MenuIcon /> */}
           <div className="info-wrap flex">
             <div className="usericon"><PersonIcon sx={{ width:48, height:48,}} /></div>
-            <p className="header-info-id">admin1</p>
-            
+            <p className="header-info-id">admin1</p>            
           </div>
-          {/* <span>{title}</span> */}
-        </div>
         <Weather />
+        </div>
       </div>
     </header>
   );
client/views/pages/callcenter/QandASelect.jsx
--- client/views/pages/callcenter/QandASelect.jsx
+++ client/views/pages/callcenter/QandASelect.jsx
@@ -2,6 +2,7 @@
 import Button from "../../component/Button.jsx";
 import Table from "../../component/Table.jsx";
 import Modal from "../../component/Modal.jsx";
+import DetailTitle from "../../component/DetailTitle.jsx";
 import { useNavigate } from "react-router";
 import ContentTitle from "../../component/ContentTitle.jsx";
 import RestoreFromTrashIcon from '@mui/icons-material/RestoreFromTrash';
@@ -62,8 +63,8 @@
   return (
     <main>
       <div className="content-wrap">
-        <ContentTitle contentTitle={"장비 문의 요청"} />
-        <div className="board-wrap">
+      <DetailTitle contentTitle={"장비 문의 요청"} />
+        <div className="board-wrap" style={{ marginTop: "3rem" }} >
           <div className="btn-wrap flex-end margin-bottom">
             
             <Button
client/views/pages/callcenter/QuestionSelect.jsx
--- client/views/pages/callcenter/QuestionSelect.jsx
+++ client/views/pages/callcenter/QuestionSelect.jsx
@@ -95,7 +95,6 @@
         header="기관 등록"
       ></QnAModal>
       <div className="content-wrap">
-        <ContentTitle contentTitle={"Q&A"} />
         <div className="board-wrap">
           <div className="btn-wrap flex-end margin-bottom question-select">
             <input type="checkbox" />
client/views/pages/equipment/EquipmentManagementSelect.jsx
--- client/views/pages/equipment/EquipmentManagementSelect.jsx
+++ client/views/pages/equipment/EquipmentManagementSelect.jsx
@@ -846,7 +846,7 @@
 			title: "전체 장비" + "(" + equipmentList.length + ")",
 			description: (
 				<div>
-					<div className="flex">
+					<div className="flex equip-tab">
 						<SubTitle explanation={"장비 클릭 시 지난 매칭이력을 확인할 수 있습니다."} />
 						<div className="btn-wrap flex-end margin-bottom ">
 							<Button
@@ -951,7 +951,7 @@
 			title: "전체 장비(시행기관)" + "(" + agencyEquipmentList.length + ")",
 			description: (
 				<div>
-					<div className="flex">
+					<div className="flex equip-tab">
 						<SubTitle explanation={"장비 클릭 시 지난 매칭이력을 확인할 수 있습니다."} />
 						<div className="btn-wrap flex-end margin-bottom ">
 							<Button
@@ -1024,7 +1024,7 @@
 			title: "대상자 장비(시행기관)" + "(" + agencySeniorEquipmentList.length + ")",
 			description: (
 				<div>
-					<div className="flex">
+					<div className="flex equip-tab">
 						<SubTitle explanation={"장비 클릭 시 지난 매칭이력을 확인할 수 있습니다."} />
 					</div>
 					<table class="caregiver-user">
@@ -1068,7 +1068,7 @@
 			title: "재고 장비(시행기관)" + "(" + agencyStockEquipmentList.length + ")",
 			description: (
 				<div>
-					<div className="flex">
+					<div className="flex equip-tab">
 						<SubTitle explanation={"장비 클릭 시 지난 매칭이력을 확인할 수 있습니다."} />
 					</div>
 					<table class="caregiver-user">
@@ -1342,16 +1342,10 @@
 					))}
 				</ul>
 				<div className="content-wrap">
-					<div className="search-management flex-end margin-bottom2">
-						<select name="management-agency">
-							<option value="기관전체">기관전체</option>
-							<option value="대구보훈병원">복지재단1</option>
-							<option value="군위군청">복지재단2</option>
-							<option value="군위군청">복지재단3</option>
-						</select>
+					<div className="search-management flex-end margin-bottom2">						
 						<select>
-							<option value="이름">이름</option>
-							<option value="아이디">아이디</option>
+							<option value="기관명">기관명</option>
+							<option value="시리얼넘버">시리얼넘버</option>
 						</select>
 						<input type="text" />
 						<Button
client/views/pages/healthcare/Medicalcare.jsx
--- client/views/pages/healthcare/Medicalcare.jsx
+++ client/views/pages/healthcare/Medicalcare.jsx
@@ -168,8 +168,6 @@
 
     return (
         <main>
-
-            <ContentTitle contentTitle={"진료 관리"} explanation={"대상자의 문진표/심전도/혈압 관리를 할 수 있습니다."} />
             <div className="content-wrap">
                 <Modal_Questionnaire open={modalOpen} close={closeModal} />
                 <Modal_MedicalHistory open={modalOpen2} close={closeModal2} />
@@ -193,7 +191,7 @@
                                     ))}
                                 </ul>
                                 <div className="content-wrap userlist">
-                                    <DetailTitle contentTitle={`${tapName}`} />
+                                    <DetailTitle contentTitle={"대상자의 문진표 / 심전도 / 혈압 관리를 할 수 있습니다."} />
                                     <div className="search-management flex-start margin-bottom2">
                                         <DetailSearch />
                                     </div>
client/views/pages/main/Main_government.jsx
--- client/views/pages/main/Main_government.jsx
+++ client/views/pages/main/Main_government.jsx
@@ -114,38 +114,33 @@
             <p>400</p>
           </li>
         </ul>
-        <div className="content-box combine-all-government combine-bottom-government2">
-        <div className="flex">
-            <Title title={`${cityName} 월별 방문 횟수`} explanation={"최근 6개월간 방문 횟수의 변화를 확인할 수 있습니다."} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
-          </div>
-          <RowChart_govern />
-        </div>
         <div className="content-box combine-left-government combine-bottom-government2 main-main">
           <div className="flex">
             <Title title={"지역별 케어 대상자 분포 현황"} explanation={"지역 선택 시 해당 지역의 대상자리스트가 보여집니다."} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
           </div>
           <Map setCityName={setCityName} />
         </div>
+        <div className="content-box combine-all-government combine-bottom-government2">
+        <div className="flex">
+            <Title title={`${cityName} 월별 방문 횟수`} explanation={"최근 6개월간 방문 횟수의 변화를 확인할 수 있습니다."} />
+          </div>
+          <RowChart_govern />
+        </div>        
         <div className="content-box combine-left-government2">
           <div className="flex">
             <Title title={`${cityName} 복용률 평균`} explanation={"해당 지역의 대상자 복용률이 그래프로 보여집니다."} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
           </div>
           <Chart2_govern />
         </div>
         <div className="content-box combine-right-government2">
         <div className="flex">
             <Title title={`기관별 대상자 등록 현황`} explanation={"약상자 사용자의 데이터 차트가 보여집니다."} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
           </div>
           <Chart5 />         
         </div>
         <div className="content-box combine-right-government">
           <div className="flex">
             <Title title={`기관별 약상자 사용 현황`} explanation={""} />
-            <AddCircleIcon sx={{ fontSize: 20, color: "#1976d2" }} />
           </div>
           <Donut1_govern />
         </div>        
client/views/pages/user_management/UserAuthoriySelect.jsx
--- client/views/pages/user_management/UserAuthoriySelect.jsx
+++ client/views/pages/user_management/UserAuthoriySelect.jsx
@@ -304,10 +304,10 @@
       <div className="content-wrap">
         
         <div
-          className="flex-align-start"
+          className="flex-align-start userauthoriylist"
           style={{ height: "calc(100% - 61px)" }}
         >
-          <div className="left" style={{ height: "100%", width:"27%" }}>
+          <div className="left" style={{ height: "100%", }}>
             <div style={{ height: "100%" }}>
               <SubTitle
                 subtitle={"관리기관 리스트"}
@@ -317,7 +317,7 @@
                 <Category />
             </div>
           </div>
-          <div className="right" style={{ height: "100%", width:"70%" }}>
+          <div className="right" style={{ height: "100%", }}>
             <div style={{ height: "100%" }}>
               <SubTitle
                 subtitle={`${agencyName} 사용자 리스트`}
@@ -325,22 +325,6 @@
                 className="margin-bottom"
               />
               <div className="tab-container">
-                <ul className="tab-menu-mobile">
-                  <div>
-                    <SubTitle
-                      className="margin-bottom"
-                      subtitle={"사용자 선택"}
-                      explanation={"사용자 별로 선택 후 관리할 수 있습니다. "}
-                    />
-                  </div>
-                  <select name="" id="" style={{ width: "100%" }}>
-                    <option value="사용자선택">보호자</option>
-                    <option value="사용자선택">보호사</option>
-                    <option value="사용자선택">병원</option>
-                    <option value="사용자선택">지자체</option>
-                    <option value="사용자선택">관리자</option>
-                  </select>
-                </ul>
                 <ul className="tab-menu flex-end">
                   {data.map((item) => (
                     <li
Add a comment
List