Refactor zen-components and zen-styles/zen-workspaces.css

This commit is contained in:
mauro-balades
2024-09-11 22:54:20 +02:00
parent 2ea30c98aa
commit af98bb7758
2 changed files with 14 additions and 4 deletions

View File

@@ -141,7 +141,7 @@
#PanelUI-zen-workspaces-list toolbarbutton,
#PanelUI-zen-workspaces-current-info toolbarbutton {
padding: 5px;
border-radius: 7px;
border-radius: var(--zen-button-border-radius);
margin-left: 0 !important;
margin-right: 0 !important;
@@ -156,7 +156,7 @@
& .zen-workspace-icon {
width: 30px;
height: 30px;
border-radius: 7px;
border-radius: var(--zen-button-border-radius);
margin-right: 10px;
border: 1px solid var(--zen-colors-border);
display: flex;
@@ -166,6 +166,10 @@
flex-shrink: 0;
}
&[data-usercontextid] .zen-workspace-icon {
border-color: color-mix(in srgb, var(--identity-tab-color) 40%, transparent 60%);
}
& .zen-workspace-name {
font-weight: 600;
white-space: nowrap;
@@ -173,6 +177,12 @@
text-overflow: ellipsis;
}
& .zen-workspace-container {
font-size: 12px;
opacity: 0.5;
font-weight: normal;
}
& .zen-workspace-actions {
display: none;
margin: 0;
@@ -190,7 +200,7 @@
margin-top: 5px;
}
#PanelUI-zen-workspaces-view vbox:nth-child(2) {
#PanelUI-zen-workspaces-view > vbox:nth-child(2) {
margin-top: 10px;
}