diff --git a/static/index.html b/static/index.html index c514093..2c57e4d 100644 --- a/static/index.html +++ b/static/index.html @@ -1,67 +1,115 @@ - Document Generator - + Utility App + -
-
-

Document Generator

+
+
+
Utility App
+ +
+
- - - - - - - - - - -

Document Type

- - - - + - + diff --git a/static/styles.css b/static/styles.css index 420de67..2450271 100644 --- a/static/styles.css +++ b/static/styles.css @@ -301,3 +301,121 @@ input[type="submit"] { font-style: italic; padding: 4px 0 8px; } + +.app-header { + background: #333; + color: #fff; + padding: 10px 0; +} + +.app-header-inner { + max-width: 840px; + margin: 0 auto; + padding: 0 20px; + display: flex; + align-items: center; + justify-content: space-between; +} + +.app-title { + font-size: 18px; + font-weight: bold; +} + +.app-nav { + display: flex; + gap: 6px; +} + +.nav-button { + background: #555; + color: #fff; + border: 1px solid #777; +} + +.nav-button.active { + background: #007bff; + border-color: #007bff; +} + +.app-view { + display: none; +} + +.app-view.active { + display: block; +} + +.main-page-content { + min-height: 180px; + padding: 14px; + border: 1px solid #ccc; + border-radius: 6px; + background: #fafafa; + line-height: 1.5; +} + +.main-page-content:focus { + border-color: #007bff; + outline: none; +} + +.home-actions { + margin-top: 12px; +} + +.tool-launch-link { + display: inline-block; + padding: 8px 12px; + background: #007bff; + color: #fff; + border-radius: 5px; + text-decoration: none; +} + +.tool-launch-link:hover { + background: #0056b3; +} + +.tool-button-row { + display: flex; + flex-wrap: nowrap; + gap: 8px; + align-items: center; + margin: 10px 0 18px; +} + +.tool-action-button, +button.tool-action-button, +label.tool-action-button { + width: 125px; + height: 34px; + box-sizing: border-box; + display: inline-flex; + align-items: center; + justify-content: center; + padding: 6px 8px; + margin: 0; + font-size: 13px; + line-height: 1; + white-space: nowrap; + text-align: center; +} + +.file-button.tool-action-button input { + display: none; +} + +@media (max-width: 760px) { + .tool-button-row { + gap: 5px; + } + + .tool-action-button, + button.tool-action-button, + label.tool-action-button { + width: 118px; + font-size: 12px; + padding: 5px 6px; + } +}