html, body { height: 100%; margin: 0; } body { min-height: 100vh; } .pageContainer { display: flex; flex-flow: column; height: 100%; min-height: 100vh; width: 100%; min-width: 0; } .pageContainer .controls { flex: 0 0 auto; min-height: 60px; position: relative; background-color: #1a1d20; border-bottom: 1px solid #1a1a1a; -webkit-box-shadow: 0 10px 13px -7px #000000, -1px -1px 15px 5px rgba(0, 0, 0, 0); box-shadow: 0 10px 13px -7px #000000, -1px -1px 15px 5px rgba(0, 0, 0, 0); display: flex; align-items: center; gap: 16px; padding: 10px 16px; box-sizing: border-box; width: 100%; min-width: 0; flex-wrap: wrap; } .pageContainer .frame { flex: 1 1 auto; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; border: 0; } .controls .logo { background-image: url("/cms/img/logo.png"); width: 60px; height: 60px; display: block; flex: 0 0 60px; background-size: contain; background-repeat: no-repeat; background-position: center; } .controls .buttonContainer { margin-left: auto; flex: 0 1 auto; min-width: 0; } /* CSS */ .headerButton { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif; font-size: 14px; font-weight: 600; line-height: 1.2; border-radius: 6px; border: none; white-space: nowrap; cursor: pointer; background: #6E6D70; box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1), inset 0px 0.5px 0.5px rgba(255, 255, 255, 0.5), 0px 0px 0px 0.5px rgba(0, 0, 0, 0.12); color: #DFDEDF; user-select: none; -webkit-user-select: none; touch-action: manipulation; } .headerButton:focus { box-shadow: inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2), 0px 0.5px 1px rgba(0, 0, 0, 0.1), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.5); outline: 0; } .headerButton.dangerButton { background-color: #6E4D50; } .headerButton:hover { filter: brightness(1.08); } .controls #urlbox { flex: 1 1 320px; min-width: 0; text-align: center; font-size: 1.1rem; line-height: 1.3; color: #dee2e6; } .controls #urlbox div { display: inline-block; margin-left: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; } .controls .loggedInDetails { flex: 0 1 auto; color: #dee2e6; text-align: right; font-size: 0.9rem; line-height: 1.4; max-width: 260px; } .controls .buttonContainer ul { list-style-type: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .controls .buttonContainer li { display: block; } /** New Page Modal */ #newPageDialog { display: none; } .newpage-content { padding: 20px; background-color: #fefefe; border: 1px solid #888; width: 400px; margin: auto; } .newpage-content form { display: flex; flex-direction: column; } .newpage-content label { margin-bottom: 10px; } .newpage-content input[type="text"] { margin-bottom: 20px; padding: 5px; } #newPageForm label { display: block; } /** File List Modal */ #fileListDialog { display: none; } .filelist-content { padding: 20px; background-color: #fefefe; border: 1px solid #888; width: 400px; margin: auto; } #fileList { list-style-type: none; padding: 0; } #fileList li { padding: 10px; cursor: pointer; background-color: #f0f0f0; margin-bottom: 5px; } #fileList li:hover { background-color: #e0e0e0; } .redText { color: #ff4d4d; } @media (max-width: 1100px) { .pageContainer .controls { gap: 12px; } .controls #urlbox { order: 3; flex-basis: 100%; text-align: left; } .controls .buttonContainer { margin-left: 0; } } @media (max-width: 760px) { .pageContainer .controls { align-items: flex-start; padding: 12px; } .controls .logo { width: 48px; height: 48px; flex-basis: 48px; } .controls .buttonContainer, .controls .loggedInDetails, .controls #urlbox { flex-basis: 100%; max-width: none; text-align: left; } .controls .buttonContainer ul { gap: 8px; } .controls .buttonContainer li, .controls .buttonContainer .headerButton { width: 100%; } .controls #urlbox div { display: block; margin-left: 0; margin-top: 4px; } }