Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Unify status icon and session list with menu bar icons
* Set same size as menu bar entries: 44px
* Align icons vertically with menu bar
* Remove background and add background when hovering like menu bar

Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Dec 16, 2022
commit 6f30fbcfe89812d907b02153b8534ee26f44f903
12 changes: 9 additions & 3 deletions src/components/Editor/SessionList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ export default {
</script>

<style scoped lang="scss">
.session-list {
height: 44px;
}
.avatar-list {
border: none;
background-color: var(--color-main-background);
Expand All @@ -166,10 +169,13 @@ export default {
}

.icon-more, .icon-group, .icon-settings-dark {
background-color: var(--color-background-dark);
width: 40px;
height: 40px;
width: 44px;
height: 44px;
margin: 0 6px 0 0;

&:hover {
background-color: var(--color-background-hover);
}
}
}

Expand Down
16 changes: 6 additions & 10 deletions src/components/Editor/Status.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ export default {
</script>

<style scoped lang="scss">

.text-editor__session-list {
display: flex;

Expand All @@ -146,23 +145,20 @@ export default {
}

.save-status {
background-color: var(--color-background-dark);
border-radius: 50%;
color: var(--color-text-lighter);
display: inline-flex;
justify-content: center;
padding: 0;
height: 40px;
width: 40px;
height: 44px;
width: 44px;

&.error {
border: 2px solid var(--color-error);
width: 36px;
height: 36px;
&:hover {
background-color: var(--color-background-hover);
}

&.saved {
color: var(--color-success)
&.error {
color: var(--color-error)
}
}

Expand Down