Files
moteva/frontend/src/ui/components/WorkspaceTitle/index.css
T

96 lines
1.6 KiB
CSS

.workspace-title {
min-width: 0;
display: flex;
align-items: center;
gap: 6px;
}
.workspace-title.is-disabled .workspace-title-name,
.workspace-title.is-disabled .title-ghost {
color: #a7adb5;
cursor: default;
}
.workspace-title.is-disabled .workspace-title-name:hover,
.workspace-title.is-disabled .title-ghost:hover {
background: transparent;
}
.moteva-mark {
width: 1.8rem;
height: 1.8rem;
display: grid;
place-items: center;
border-radius: 999px;
color: #fff;
background: #000;
}
.workspace-brand-mark {
width: 0.79rem;
height: 1.1rem;
display: block;
}
.workspace-title-name {
min-width: 0;
max-width: 170px;
height: 26px;
display: flex;
align-items: center;
border-radius: 6px;
color: #1f2329;
background: transparent;
}
.workspace-title-name:hover {
background: #f2f3f5;
}
.workspace-title-name strong {
overflow: hidden;
max-width: 160px;
font-size: 12px;
font-weight: 850;
text-overflow: ellipsis;
white-space: nowrap;
}
.workspace-title-edit {
width: min(220px, 28vw);
height: 26px;
display: flex;
align-items: center;
gap: 4px;
padding: 0;
background: transparent;
}
.workspace-title-edit input {
min-width: 0;
width: 100%;
height: 100%;
border: 0;
outline: 0;
background: transparent;
color: #1f2329;
font: inherit;
font-size: 12px;
font-weight: 850;
line-height: 26px;
}
.title-ghost {
width: 22px;
height: 22px;
display: grid;
place-items: center;
border-radius: 6px;
color: #737780;
background: transparent;
}
.title-ghost:hover {
background: #f2f3f5;
}