yjryu / UI_Layout star
류윤주 류윤주 01-15
240115 가이드 추가
@d84816e3c71efb119b7091bfe30e22f6177e9b75
client/resources/css/common.css
--- client/resources/css/common.css
+++ client/resources/css/common.css
@@ -69,13 +69,24 @@
     flex: 0 0 29.5%
 }
 
+.flex35 {
+    flex: 0 0 34.5%
+}
 
 .flex40 {
     flex: 0 0 39.5%
 }
 
+.flex45 {
+    flex: 0 0 44.5%
+}
+
 .flex50 {
     flex: 0 0 49.5%
+}
+
+.flex55 {
+    flex: 0 0 54.5%
 }
 
 
@@ -83,18 +94,34 @@
     flex: 0 0 59.5%
 }
 
+.flex65 {
+    flex: 0 0 64.5%
+}
+
 
 .flex70 {
     flex: 0 0 69.5%
+}
+
+.flex75 {
+    flex: 0 0 74.5%
 }
 
 .flex80 {
     flex: 0 0 79.5%
 }
 
+.flex85 {
+    flex: 0 0 84.5%
+}
+
 
 .flex90 {
     flex: 0 0 89.5%
+}
+
+.flex95 {
+    flex: 0 0 94.5%
 }
 
 
@@ -111,7 +138,7 @@
     border-radius: 5px;
 }
 
-.icon-btn{
+.icon-btn {
     padding: 5px;
     border-radius: 50%;
 }
@@ -133,7 +160,7 @@
     background-color: #aaa;
 }
 
-.close-btn{
+.close-btn {
     color: #d6def6;
 }
 
@@ -216,7 +243,7 @@
     background-color: #fff;
 }
 
-.tp-btn{
+.tp-btn {
     background-color: transparent;
     width: 15px;
     height: 15px;
client/resources/css/style.css
--- client/resources/css/style.css
+++ client/resources/css/style.css
@@ -30,8 +30,7 @@
 
 .left-content,
 .right-content,
-.top-content,
-.bottom-content,
+.row,
 .content {
     padding: 15px;
     border-radius: 10px;
 
client/resources/img/guideImg/align.png (Binary) (added)
+++ client/resources/img/guideImg/align.png
Binary file is not shown
 
client/resources/img/guideImg/justify.png (Binary) (added)
+++ client/resources/img/guideImg/justify.png
Binary file is not shown
client/views/layout/TopMenu.vue
--- client/views/layout/TopMenu.vue
+++ client/views/layout/TopMenu.vue
@@ -95,6 +95,12 @@
                         { path: "/horizontal.page", pathName: "수평 레이아웃" },
                     ],
                 },
+                {
+                    pathName: "가이드",
+                    subMenu: [
+                        { path: "/guide.page", pathName: "가이드" },
+                    ],
+                },
             ],
             currentRoute: null,
             showSubmenu: false
client/views/pages/file/HostManagement.vue
--- client/views/pages/file/HostManagement.vue
+++ client/views/pages/file/HostManagement.vue
@@ -1,7 +1,7 @@
 <template>
     <div class="container horizontal">
-        <div class="top-content"></div>
-        <div class="bottom-content"></div>
+        <div class="row"></div>
+        <div class="row"></div>
     </div>
 </template>
 
client/views/pages/schedule/ScheduleManagement.vue
--- client/views/pages/schedule/ScheduleManagement.vue
+++ client/views/pages/schedule/ScheduleManagement.vue
@@ -1,7 +1,7 @@
 <template>
     <div class="container horizontal">
-        <div class="top-content"></div>
-        <div class="bottom-content"></div>
+        <div class="row"></div>
+        <div class="row"></div>
     </div>
 </template>
 
client/views/template/guide/TemplateGuide.vue
--- client/views/template/guide/TemplateGuide.vue
+++ client/views/template/guide/TemplateGuide.vue
@@ -1,25 +1,197 @@
 <template>
     <div>
         <div class="content">
-            <div class="content-titleZone">
-                <p class="box-title">레이아웃</p>
-                <p>레이아웃은 2가지 형태로 나뉘며 좌우 아님 상하로 나뉘어짐</p>
+            <div class="row">
+                <div class="content-titleZone">
+                    <p class="box-title">메인축 배치</p>
+                </div>
+                <table class="option-table">
+                    <colgroup>
+                        <col style="width:20%">
+                        <col style="width:80%">
+                    </colgroup>
+                    <tbody>
+                        <tr>
+                            <th>flex</th>
+                            <td>아이템들을 가로 방향으로 배치</td>
+                        </tr>
+                        <tr>
+                            <th>flex-column</th>
+                            <td>아이템들을 세로 방향으로 배치</td>
+                        </tr>
+                    </tbody>
+                </table>
             </div>
-            <table class="option-table">
-                <colgroup>
-                    <col>
-                </colgroup>
-                <tbody>
-                    <tr>
-                        <th>상하(수평레이아웃)</th>
-                        <td></td>
-                    </tr>
-                    <tr>
-                        <th>좌우(수직레이아웃)</th>
-                        <td></td>
-                    </tr>
-                </tbody>
-            </table>
+            <div class="row">
+                <div class="content-titleZone">
+                    <p class="box-title">메인축 방향 정렬</p>
+                </div>
+                <table class="option-table">
+                    <colgroup>
+                        <col style="width:20%">
+                        <col style="width:80%">
+                    </colgroup>
+                    <tbody>
+                        <tr>
+                            <th>justify-start</th>
+                            <td>아이템들을 시작점으로 정렬합니다.</td>
+                        </tr>
+                        <tr>
+                            <th>justify-center</th>
+                            <td>아이템들을 가운데로 정렬합니다.</td>
+                        </tr>
+                        <tr>
+                            <th>justify-between</th>
+                            <td>아이템들의 “사이(between)”에 균일한 간격으로 정렬합니다.</td>
+                        </tr>
+                        <tr>
+                            <th>justify-end </th>
+                            <td>아이템들을 끝점으로 정렬합니다.</td>
+                        </tr>
+                    </tbody>
+                </table>
+                <img src="../../../resources/img/guideImg/justify.png" alt="">
+            </div>
+            <div class="row">
+                <div class="content-titleZone">
+                    <p class="box-title">수직축 방향 정렬</p>
+                </div>
+                <table class="option-table">
+                    <colgroup>
+                        <col style="width:20%">
+                        <col style="width:80%">
+                    </colgroup>
+                    <tbody>
+                        <tr>
+                            <th>align-start</th>
+                            <td>아이템들을 시작점으로 정렬합니다.</td>
+                        </tr>
+                        <tr>
+                            <th>align-center</th>
+                            <td>아이템들을 가운데로 정렬합니다.</td>
+                        </tr>
+                        <tr>
+                            <th>align-end</th>
+                            <td>아이템들을 끝점으로 정렬합니다.</td>
+                        </tr>
+                    </tbody>
+                </table>
+                <img src="../../../resources/img/guideImg/align.png" alt="">
+            </div>
+            <div class="row">
+                <div class="content-titleZone">
+                    <p class="box-title">너비 비율</p>
+                </div>
+                <table class="option-table">
+                    <colgroup>
+                        <col style="width:20%">
+                        <col style="width:80%">
+                    </colgroup>
+                    <tbody>
+                        <tr>
+                            <th>flex5</th>
+                            <td>너비 4.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex10</th>
+                            <td>너비 9.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex15</th>
+                            <td>너비 14.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex20</th>
+                            <td>너비 19.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex25</th>
+                            <td>너비 24.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex30</th>
+                            <td>너비 29.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex35</th>
+                            <td>너비 34.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex40</th>
+                            <td>너비 39.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex45</th>
+                            <td>너비 44.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex50</th>
+                            <td>너비 49.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex55</th>
+                            <td>너비 54.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex60</th>
+                            <td>너비 59.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex65</th>
+                            <td>너비 64.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex70</th>
+                            <td>너비 69.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex75</th>
+                            <td>너비 74.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex80</th>
+                            <td>너비 79.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex85</th>
+                            <td>너비 84.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex90</th>
+                            <td>너비 89.5%</td>
+                        </tr>
+                        <tr>
+                            <th>flex95</th>
+                            <td>너비 94.5%</td>
+                        </tr>
+                    </tbody>
+                </table>
+            </div>
+            <div class="row">
+                <div class="content-titleZone">
+                    <p class="box-title">텍스트 정렬</p>
+                </div>
+                <table class="option-table">
+                    <colgroup>
+                        <col style="width:20%">
+                        <col style="width:80%">
+                    </colgroup>
+                    <tbody>
+                        <tr>
+                            <th>text-lf</th>
+                            <td>텍스트 왼쪽정렬</td>
+                        </tr>
+                        <tr>
+                            <th>text-ct</th>
+                            <td>텍스트 가운데정렬</td>
+                        </tr>
+                        <tr>
+                            <th>text-rg</th>
+                            <td>텍스트 오른쪽정렬</td>
+                        </tr>
+                    </tbody>
+                </table>
+            </div>
         </div>
     </div>
 </template>
client/views/template/layoutTemplate/Horizontal.vue
--- client/views/template/layoutTemplate/Horizontal.vue
+++ client/views/template/layoutTemplate/Horizontal.vue
@@ -5,7 +5,7 @@
             <PageNavigation />
         </div>
         <div class="content">
-            <div class="top-content">
+            <div class="row">
                 <div class="content-titleZone">
                     <p class="box-title">목록</p>
                 </div>
@@ -146,7 +146,7 @@
                 </div>
                 <PaginationButton />
             </div>
-            <div class="bottom-content form-box">
+            <div class="row form-box">
                 <div class="content-titleZone">
                     <p class="box-title">등록</p>
                 </div>
Add a comment
List