88from girdereegannotator .utils .base_ui import BaseUI
99
1010from ..authentication import AuthenticationUI
11- from ..eeg_annotator import EGGAnnotatorUI
11+ from ..eeg_annotator import EEGAnnotatorUI
1212from ..portal import PortalUI
1313from .components .navigation_card import NavigationCard , NavigationState
1414
1515
1616@dataclass
1717class AnnotatorAppState :
18- app_name : str = "GirderEGGAnnotator "
18+ app_name : str = "GirderEEGAnnotator "
1919 nav_state : NavigationState = field (default_factory = NavigationState )
2020
2121
@@ -50,12 +50,13 @@ def __init__(self, server: Server):
5050
5151 client .Style (
5252 "html { overflow-y: hidden; } "
53- ".annotation-actions { width: 130px; height: 100%; display: flex; align-items: center; justify-content: space-around }"
54- ".annotation-input { width: 450px; height: 100%; display: flex; align-items: center; }"
53+ ".annotation-actions { height: 100%; display: flex; align-items: center; justify-content: space-around }"
54+ ".annotation-input { height: 100%; display: flex; align-items: center; flex-grow: 1 }"
5555 ".annotation-input__menu .v-field { background-color: inherit; }"
5656 ".annotation-input__menu .v-field__input:has(.v-select__selection) { padding: 0; }"
5757 ".annotation-input__menu { height: 100%; display: flex; flex-grow: 1; }"
5858 ".annotation-list .annotation-list-item:hover { background-color: color-mix(in srgb, rgb(var(--v-theme-surface)) 95%, rgb(var(--v-theme-primary))); }"
59+ ".annotation-tool { height: 100%; display: flex; align-items: center; width: 600px; }"
5960 ".annotator { height: 100%; }"
6061 ".annotator-tool { height: 100%; display: flex; flex-direction: column; }"
6162 ".annotator-tool__content { height: 40px; padding-left: 8px; padding-right: 8px; display: flex; align-items: center; border-radius: 24px; background-color: rgb(var(--v-theme-surface-variant)); }"
@@ -91,6 +92,7 @@ def __init__(self, server: Server):
9192 ".nav-bar { height: 65px; }"
9293 ".nav-content { height: calc(100% - 65px); padding: 0px; }"
9394 ".nav-window { height: 100%; }"
95+ ".nav-window-group { height: 100%; overflow: unset; }"
9496 ".portal { padding-left: 20px; padding-right: 20px; padding-bottom: 10px; height: 100%;}"
9597 ".portal-toolbar { display: flex; flex-grow: 1; align-items: center; justify-content: end; height: 100%; }"
9698 ".remote-controlled-area:focus-visible { outline: none !important; }"
@@ -109,6 +111,7 @@ def __init__(self, server: Server):
109111 ".viewer__content { height: calc(100% - 5px); }"
110112 ".viewer__error { height: calc(100% - 5px); }"
111113 ".viewer__load { height: 5px; }"
114+ ".viewer-status { padding: 6px; width: 36px; height: 36px; }"
112115 )
113116 with self .bar :
114117 self .auth_ui = AuthenticationUI ()
@@ -123,7 +126,7 @@ def __init__(self, server: Server):
123126 self .portal_ui .build_toolbar ()
124127
125128 with self .navigation .annotator :
126- self .eeg_annotator_ui = EGGAnnotatorUI ()
129+ self .eeg_annotator_ui = EEGAnnotatorUI ()
127130
128131 with self .navigation .annotator_toolbar :
129132 self .eeg_annotator_ui .build_toolbar ()
0 commit comments