update drive tree style

This commit is contained in:
daria 2025-11-19 11:40:49 +02:00
parent 4f78b23c3e
commit fd575b32dc
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701
2 changed files with 7 additions and 6 deletions

View File

@ -342,10 +342,9 @@
.cp-app-drive-tree-docs {
.droppable-tree-element();
margin-top: 15px;
//padding: 0 0 0 20px;
padding: 0;
padding: 5px;
background-color: @cp_sidebar-left-item-bg;
border-radius: @variables_radius;
border-radius: @variables_radius_L;
cursor: auto;
&li, li {
padding: 0;
@ -366,7 +365,7 @@
display: flex;
align-items: center;
cursor: pointer;
margin: 0 0 2px 0;
margin: 0;
.cp-app-drive-element {
flex: 1;
min-width: 0;
@ -440,8 +439,11 @@
}
}
}
svg {
height: 1.5em;
width: 1.5em;
}
.cp-app-drive-tree-root > .cp-app-drive-element-row {
margin-left: 0px;
.cp-icon-hidden ~ svg {
margin-left: -10px;
}

View File

@ -15,7 +15,6 @@
cursor: pointer;
height: @variables_bar-height;
border-radius: @variables_radius;
background-color: @cp_sidebar-left-item-bg;
&:hover {
background: @cryptpad_text_col_inv;
}