mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 07:22:34 +00:00
underline
This commit is contained in:
@@ -1,16 +1,17 @@
|
|||||||
.workspace .workspace-name {
|
.workspace .workspace-name {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #202428;
|
color: #202428;
|
||||||
|
padding: 2px;
|
||||||
border-bottom: 2px solid #e3e3e3;
|
border-bottom: 2px solid #e3e3e3;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
.workspace .workspace-name .dropdown-toggle:after {
|
.workspace .workspace-name-container .dropdown-toggle:after {
|
||||||
color: #929292;
|
color: #929292;
|
||||||
}
|
}
|
||||||
.workspace .workspace-name:hover {
|
.workspace .workspace-name-container:hover .workspace-name {
|
||||||
border-bottom: 2px solid #202428;
|
border-bottom: 2px solid #202428;
|
||||||
}
|
}
|
||||||
.workspace .workspace-name:hover .dropdown-toggle:after {
|
.workspace .workspace-name-container:hover .dropdown-toggle:after {
|
||||||
color: #202428;
|
color: #202428;
|
||||||
}
|
}
|
||||||
.workspace .add-table-btn {
|
.workspace .add-table-btn {
|
||||||
|
@@ -270,16 +270,16 @@ class Workspace extends Component {
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
{!this.state.isWorkspaceRenaming &&
|
{!this.state.isWorkspaceRenaming &&
|
||||||
<Fragment>
|
<span className="mb-2 workspace-name-container">
|
||||||
<Dropdown isOpen={this.state.dropdownOpen} toggle={this.dropdownToggle} direction="down" className="workspace-name">
|
<span className="workspace-name">{workspace.name}</span>
|
||||||
|
<Dropdown isOpen={this.state.dropdownOpen} toggle={this.dropdownToggle} direction="down">
|
||||||
<DropdownToggle
|
<DropdownToggle
|
||||||
caret={true}
|
caret={true}
|
||||||
tag='span'
|
tag='i'
|
||||||
title={gettext('More Operations')}
|
title={gettext('More Operations')}
|
||||||
data-toggle="dropdown"
|
data-toggle="dropdown"
|
||||||
aria-expanded={this.state.dropdownOpen}
|
aria-expanded={this.state.dropdownOpen}
|
||||||
>
|
>
|
||||||
<span className="mb-2">{workspace.name}</span>
|
|
||||||
</DropdownToggle>
|
</DropdownToggle>
|
||||||
<DropdownMenu className="drop-list" right={true}>
|
<DropdownMenu className="drop-list" right={true}>
|
||||||
<DropdownItem onClick={this.onRenameWorkspaceCancel}>{gettext('Rename')}</DropdownItem>
|
<DropdownItem onClick={this.onRenameWorkspaceCancel}>{gettext('Rename')}</DropdownItem>
|
||||||
@@ -293,7 +293,7 @@ class Workspace extends Component {
|
|||||||
handleSubmit={this.onDeleteWorkspaceSubmit}
|
handleSubmit={this.onDeleteWorkspaceSubmit}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
</Fragment>
|
</span>
|
||||||
}
|
}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
<div className="d-flex add-table-btn-container">
|
<div className="d-flex add-table-btn-container">
|
||||||
|
Reference in New Issue
Block a user