127 lines
2.0 KiB
Plaintext
127 lines
2.0 KiB
Plaintext
/* OneDrive TUI App CSS Styles */
|
|
|
|
/* Main container */
|
|
#main_container {
|
|
padding: 1 2;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* Status and loading elements */
|
|
#status_label {
|
|
text-align: center;
|
|
margin-bottom: 1;
|
|
}
|
|
|
|
#loading {
|
|
align: center middle;
|
|
margin: 2;
|
|
}
|
|
|
|
/* 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;
|
|
margin-bottom: 1;
|
|
height: 100%;
|
|
}
|
|
#drive_list {
|
|
border: round $primary;
|
|
padding: 1;
|
|
height: 100%;
|
|
}
|
|
|
|
#drive_label {
|
|
color: $text;
|
|
text-style: bold;
|
|
}
|
|
|
|
/* Items container and table styles */
|
|
#items_container {
|
|
padding: 0;
|
|
width: 3fr;
|
|
height: 100%;
|
|
}
|
|
|
|
#items_table {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
#no_items_label {
|
|
color: $text-muted;
|
|
text-align: center;
|
|
padding: 2;
|
|
}
|
|
|
|
/* Utility classes */
|
|
.hide {
|
|
display: none;
|
|
}
|
|
|
|
/* DataTable styling */
|
|
DataTable {
|
|
border: solid $accent;
|
|
background: $primary-background-lighten-1;
|
|
margin: 1 0;
|
|
}
|
|
|
|
DataTable > .datatable--header {
|
|
background: $primary;
|
|
color: $text;
|
|
text-style: bold;
|
|
}
|
|
|
|
DataTable > .datatable--cursor {
|
|
background: $secondary;
|
|
}
|
|
|
|
/* Override scrollbar styles */
|
|
* {
|
|
scrollbar-color: $accent $surface;
|
|
scrollbar-background: $surface;
|
|
scrollbar-color-hover: $accent-lighten-1;
|
|
scrollbar-background-hover: $surface-lighten-1;
|
|
}
|