@charset "utf-8"; #root, #App { max-width: 100%; height: 100%; } #layout { max-width: 100%; height: 100%; display: grid; grid-template-areas: "nav header" "nav main"; grid-template-columns: 250px 1fr; grid-template-rows: 0.1fr 2.9fr; } #layout.expander{ grid-template-columns: 50px 1fr; } header { padding: 1rem; background-color: white; grid-area: header; } .page-title span { font-size: 1.8rem; font-weight: bold; margin-left: 1rem; } nav{ height: 100%; background-color: #242d2e; grid-area: nav; } .logo { padding: 2rem 1rem; font-size: large; text-align: center; color: #ffffff; font-weight: bold; } /* 네비게이션 */ .sidebar-item { margin: 1rem 0; } .sidebar-item>a { font-size: 1.6rem; color: #ffffff; margin: 0 3rem; } /* mui icon */ .MuiSvgIcon-root { display: block; } .sidebar-title { margin: 0 3rem; } .sidebar-title span { font-size: 1.6rem; color: #e6e5e5; } .sidebar-title .toggle { transition: transform .3s; } .sidebar-item.open .toggle { transform: rotate(180deg); } nav li{cursor: pointer;} nav .sidebar-item{padding: 1rem 0 0 0;} .sidebar-content{background: #7D9D9C;} .sidebar-content .sidebar-item{padding: 1rem 0;} .sidebar-content .sidebar-item:hover{ background: #d1e4e3; } .sidebar-content { display: none; color: #ffffff; } .sidebar-item.open>.sidebar-content { height: auto; display: block; } .sidebar-content .sidebar-item a { margin-left: 6rem; color: #ffffff; font-size: 1.6rem; } .sidebar-content .sidebar-item:hover a { font-weight: bold; } .info-wrap{ border-top: 1px solid #4b4b4b; } .bottom-section { padding: 1rem 4rem; } .info-id { font-size: 1.5rem; margin-right: 2rem; color: #ffffff; } #pages { max-width: 100%; height: 100%; padding: 2rem; background-color: #e6e5e5; grid-area: main; } main { max-width: 100%; height: 100%; } .content-wrap { max-width: 100%; height: 90vh; padding: 2em; background-color: #ffffff; } /* hierarchy menu */ .hierarchy-menu { background-color: #f8f8f8; color: #333333; height: 40vh; overflow-y: auto; } .hierarchy-menu a { color: #333333; text-decoration: none; } .hierarchy-menu a span{ font-size: 1.6rem; } /* List */ .hierarchy-menu ul { list-style: none; margin: 0; padding: 10px 0 0 0; position: relative; } .hierarchy-menu ul ul:before { content: ''; position: absolute; top: 0; bottom: 27px; left: 6px; border-left: 1px dashed #373E4B; } .hierarchy-menu > ul { padding: 15px 0 10px 25px; } .hierarchy-menu > ul ul { padding-left: 16px; } /* List items */ .hierarchy-menu ul li { display: block; position: relative; } .hierarchy-menu > ul ul li:before { content: ''; display: block; height: 0px; width: 20px; border-bottom: 1px solid #7A7F87; position: absolute; left: -10px; top: 16px; } .hierarchy-menu > ul ul li:after { content: ''; display: block; height: 43px; width: 0; border-left: 1px solid #7A7F87; position: absolute; left: -10px; top: -27px; } .hierarchy-menu > ul ul li.group-lvl:before { width: 7px; } .hierarchy-menu > ul ul li:first-child:after { height: 28px; top: -12px; } /* Links */ .hierarchy-menu ul a { display: block; padding: 6px 18px; height: 44px; position: relative; color: #333333; transition: 100ms; } .hierarchy-menu ul a:hover { color: #7e9d9c; } .hierarchy-menu ul a.active { color: #333333; font-weight: bold; } .hierarchy-menu li.sub-nav > a:before { position: absolute; left: 4px; top: 14px; content: ''; width: 5px; height: 5px; border-bottom: 1px solid #333333; border-right: 1px solid #333333; -ms-transform: rotate(-45deg); -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } .hierarchy-menu li.sub-nav.open > a:before { -ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); transform: rotate(45deg); } .hierarchy-menu li.sub-nav.open > a { color: #333333; } .hierarchy-menu li.sub-nav > ul { display: block; } .hierarchy-menu li.sub-nav.open > ul { display: block; }