diff --git a/client/src/components/sidebar/SidebarMenuList.vue b/client/src/components/sidebar/SidebarMenuList.vue
new file mode 100644
index 00000000000..5941816ff42
--- /dev/null
+++ b/client/src/components/sidebar/SidebarMenuList.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
diff --git a/client/src/components/sidebar/SidebarRecentFileItem.vue b/client/src/components/sidebar/SidebarRecentFileItem.vue
index f1d562e662e..8d091c9da26 100644
--- a/client/src/components/sidebar/SidebarRecentFileItem.vue
+++ b/client/src/components/sidebar/SidebarRecentFileItem.vue
@@ -5,15 +5,17 @@
lines="none"
button
@click="$emit('fileClicked', file)"
- class="sidebar-item menu-default"
+ class="sidebar-item button-medium ion-no-padding"
ref="itemRef"
>
-
-
-
+
@@ -37,45 +39,50 @@ defineEmits<{
.sidebar-item {
--background: none;
border-radius: var(--parsec-radius-8);
- border: solid 1px var(--parsec-color-light-primary-800);
- --padding-start: 1rem;
- --padding-end: 1rem;
- --padding-top: 0.5rem;
+ --min-height: 0;
+ --padding-start: 0.75rem;
+ --padding-end: 0.75rem;
--padding-bottom: 0.5rem;
+ --padding-top: 0.5rem;
+
+ &:active,
+ &.item-selected {
+ --background: var(--parsec-color-light-primary-30-opacity15);
+ }
- .file-option {
- color: var(--parsec-color-light-secondary-grey);
- font-size: 1.2rem;
- opacity: 1;
+ .sidebar-item-file {
display: flex;
align-items: center;
+ justify-content: space-between;
+ width: 100%;
- &:hover {
- color: var(--parsec-color-light-primary-30);
+ &__label {
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ color: var(--parsec-color-light-secondary-premiere);
+ width: 100%;
}
- }
- &:hover {
- border: solid 1px var(--parsec-color-light-primary-30-opacity15);
- cursor: pointer;
+ &__option {
+ color: var(--parsec-color-light-secondary-light);
+ display: none;
+ margin-left: auto;
+ font-size: 1rem;
- .file-option {
- opacity: 1;
+ &:hover {
+ color: var(--parsec-color-light-primary-30);
+ }
}
}
- &:active,
- &.item-selected {
- --background: var(--parsec-color-light-primary-30-opacity15);
- }
+ &:hover {
+ outline: solid 1px var(--parsec-color-light-primary-30-opacity15);
+ cursor: pointer;
- &-file-label {
- position: relative;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- color: var(--parsec-color-light-primary-100);
- width: 100%;
+ .sidebar-item-file__option {
+ display: flex;
+ }
}
}
diff --git a/client/src/components/sidebar/SidebarWorkspaceItem.vue b/client/src/components/sidebar/SidebarWorkspaceItem.vue
index 3eb6746e655..b5651b8c871 100644
--- a/client/src/components/sidebar/SidebarWorkspaceItem.vue
+++ b/client/src/components/sidebar/SidebarWorkspaceItem.vue
@@ -6,21 +6,23 @@
button
@click="$emit('workspaceClicked', workspace.handle)"
:class="currentRouteIsWorkspaceRoute(workspace.handle) ? 'item-selected' : 'item-not-selected'"
- class="sidebar-item menu-default"
+ class="sidebar-item button-medium ion-no-padding"
ref="itemRef"
>
-
-
-
+