1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-18 01:03:40 +00:00

change toolbar background color (#6310)

This commit is contained in:
Michael An 2024-07-08 10:34:05 +08:00 committed by GitHub
parent e9b31291fe
commit f5d33ba65d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 52 additions and 59 deletions

View File

@ -96,7 +96,7 @@ class ExtraMetadataAttributesDialog extends Component {
updateData = (update, column) => { updateData = (update, column) => {
const newRow = { ...this.state.row, ...update }; const newRow = { ...this.state.row, ...update };
this.setState({ row: newRow }, () => { this.setState({ row: newRow }, () => {
const { repoID, filePath } = this.props; const { repoID } = this.props;
let newValue = update[column.key]; let newValue = update[column.key];
let recordID = this.state.row._id; let recordID = this.state.row._id;

View File

@ -52,9 +52,8 @@
padding: .5rem 1rem; padding: .5rem 1rem;
display: flex; display: flex;
flex-shrink: 0; flex-shrink: 0;
background: #fff; background-color: #F8FAFD;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
box-shadow: 0 2px 4px rgba(0,0,0, 10%);
z-index: 100; z-index: 100;
} }

View File

@ -196,7 +196,7 @@
text-align: center; text-align: center;
font-size: 16px; font-size: 16px;
border-radius: 50%; border-radius: 50%;
box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12); box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
user-select: none; user-select: none;
border: none; border: none;
right: 10px; right: 10px;

View File

@ -44,27 +44,24 @@
.react-contextmenu-item.react-contextmenu-item--disabled:hover { .react-contextmenu-item.react-contextmenu-item--disabled:hover {
color: #878a8c; color: #878a8c;
background-color: transparent; background-color: transparent;
border-color: rgba(0,0,0,.15); border-color: rgba(0, 0, 0, 0.15);
} }
.react-contextmenu-item--divider { .react-contextmenu-item--divider {
margin-bottom: 3px; margin-bottom: 3px;
padding: 2px 0; padding: 2px 0;
border-bottom: 1px solid rgba(0,0,0,.15); border-bottom: 1px solid rgba(0, 0, 0, 0.15);
cursor: inherit; cursor: inherit;
} }
.react-contextmenu-item--divider:hover { .react-contextmenu-item--divider:hover {
background-color: transparent; background-color: transparent;
border-color: rgba(0,0,0,.15); border-color: rgba(0, 0, 0, 0.15);
} }
.react-contextmenu-item.react-contextmenu-submenu { .react-contextmenu-item.react-contextmenu-submenu {
padding: 0; padding: 0;
} }
.react-contextmenu-item.react-contextmenu-submenu > .react-contextmenu-item {
}
.react-contextmenu-item.react-contextmenu-submenu > .react-contextmenu-item:after { .react-contextmenu-item.react-contextmenu-submenu > .react-contextmenu-item:after {
content: "▶"; content: "▶";
display: inline-block; display: inline-block;

View File

@ -1187,16 +1187,13 @@ a.sf-popover-item {
margin:5px -10px; margin:5px -10px;
} }
/********** Container ***********/ /********** Container ***********/
#wrapper {
}
#header { #header {
background:#f4f4f7; background: #F8FAFD;
width: 100%; width: 100%;
height: 53px; height: 53px;
font-size: 14px; font-size: 14px;
border-bottom: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
padding: 8px 16px 4px; padding: 8px 16px 4px;
/*display:flex;*/
justify-content: space-between; justify-content: space-between;
flex-shrink: 0; flex-shrink: 0;
} }