// Layout .gh-viewport { display: flex; height: 100vh; overflow: hidden; } .gh-nav { flex: 0 0 220px; display: flex; flex-direction: column; border-right: #E1E1E1 1px solid; background: #F6F6F6; } .gh-main { position: relative; flex-grow: 1; display: flex; } //GH-NAV .gh-nav-menu { flex-shrink: 0; display: flex; align-items: center; padding: 15px; i { height: 11px; width: 11px; margin-right: 8px; font-size: 11px; line-height: 11px; } } .gh-nav-menu:hover { cursor: pointer; } .gh-nav-menu-icon { flex-shrink: 0; margin-right: 10px; width: 34px; height: 34px; background-size: 34px; background-color: #222; border-radius: 4px; } .gh-nav-menu-details { flex-grow: 1; padding-right: 10px; } .gh-nav-menu-details-blog { margin-bottom: 1px; font-size: 1.5rem; line-height: 1.3em; font-weight: 600; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .gh-nav-menu-details-user { font-size: 1.2rem; line-height: 1.2em; color: $midgrey; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .gh-nav-body { flex-grow: 1; overflow-y: auto; } .gh-nav-search { position: relative; margin: 0 15px 10px; } .gh-nav-search-input { padding: 5px 8px; border-radius: 4px; font-size: 1.3rem; } .gh-nav-search-button { display: flex; align-items: center; position: absolute; top: 0; right: 0; bottom: 0; padding: 0 6px 0 5px; i { width: 16px; height: 16px; font-size: 13px; color: $midgrey; transform: rotate(90deg); transition: color 0.2s ease; } &:hover i { color: $darkgrey; } } .gh-nav-list { list-style: none; margin: 0; padding: 0 15px 0 0; font-size: 1.3rem; line-height: 1.5em; } .gh-nav-list-h { margin-top: 15px; padding: 5px 10px 5px 15px; text-transform: uppercase; letter-spacing: 1px; color: #828282; font-size: 1.2rem; line-height: 1.1em; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .gh-nav-list a { display: flex; align-items: center; padding: 5px 10px 5px 15px; color: $darkgrey; border-radius: 0 4px 4px 0; transition: none; } .gh-nav-list .active { color: #fff; background: lighten($blue, 10%); } .gh-nav-list a:not(.active):hover { color: $darkgrey; background: lighten($blue, 30%); } .gh-nav-list i { width: 15px; height: 15px; margin-right: 8px; font-size: 15px; text-align: center; } .gh-nav-footer { flex-shrink: 0; align-items: center; height: 40px; padding: 0 20px; border-top: #E1E1E1 1px solid; } //-------------------------------------------------------------- .gh-view { flex-grow: 1; display: flex; flex-direction: column; } .view-header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; height: 65px; padding: 0 20px; border-bottom: #E1E1E1 1px solid; } .view-title { margin: 0; padding: 0; font-size: 2rem; line-height: 1.2em; font-weight: 400; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .view-actions { display: flex; } .view-container, .view-content { flex-grow: 1; overflow-x: hidden; overflow-y: auto; } .view-content { padding: 20px; }