/* OneDrive TUI App CSS Styles */ /* Main container */ #main_container { } /* Authentication container */ #auth_container { display: block; align: center middle; height: 1fr; margin: 1 2; padding: 1; border: heavy $accent; background: $surface; &.hide { display:none; } } #auth_message { margin-bottom: 1; width: 100%; height: auto; padding: 1; text-align: center; } #login_button { align: center middle; margin: 1; min-width: 20; } /* Content container that holds drives and items */ #content_container { margin-top: 1; height: 1fr; } /* Status and loading elements */ #status_label { text-align: center; color: $accent; padding:1; } #view_options { border: round $secondary; } #loading_container { height: 3; width: 100%; align: center middle; margin: 2 0; } /* Title styles */ .title { color: $accent; background: $boost; text-align: center; padding: 1; text-style: bold; border: heavy $accent; margin-bottom: 1; } /* Drive container styles */ #drive_container { width: 1fr; height: 100%; } #drive_list { border: round $primary; padding: 0 1; height: 100%; } #drive_label { color: $text; text-style: bold; } /* Items container and table styles */ #items_container { padding: 0; width: 4fr; height: 100%; } #items_table { width: 100%; height: auto; } #no_items_label { color: $text-muted; text-align: center; padding: 2; } /* Document Viewer Screen Styles */ #document_viewer { padding: 0 1; height: 100%; width: 100%; } #top_container { height: 3; width: 100%; background: $boost; } #document_title { color: $accent; text-align: left; text-style: bold; margin-bottom: 0; width: 1fr; height: 1; } #plaintext_content { padding: 1; width: 100%; } #button_container { width: auto; height: 3; align: right middle; } #button_container Button { min-width: 16; } /* Utility classes */ .hide, .hidden { display: none; } /* DataTable styling */ DataTable { border: solid $accent; background: $primary-background-lighten-1; } DataTable > .datatable--header { background: $primary; color: $text; text-style: bold; } DataTable > .datatable--cursor { background: $secondary; }