Update the drive UI to show that Upload and New are linked to a folder

This commit is contained in:
yflory
2017-06-14 17:51:48 +02:00
parent 1077b3b267
commit 8738b42861
4 changed files with 36 additions and 41 deletions

View File

@@ -171,7 +171,7 @@ span {
width: ~"calc(100% - 30px)";
}
& > span.element-row {
width: ~"calc(100% + 5px)";
min-width: ~"calc(100% + 5px)";
display: inline-block;
cursor: pointer;
margin-left: -5px;
@@ -272,7 +272,11 @@ span {
}
/* CONTENT */
#rightCol {
display: flex;
flex-flow: column;
flex: 1;
}
#content {
box-sizing: border-box;
background: @content-bg;
@@ -519,9 +523,9 @@ span {
#driveToolbar {
background: @toolbar-bg;
color: @toolbar-fg;
height: 30px;
display: flex;
flex-flow: row;
//height: 30px;
//display: flex;
//flex-flow: row;
border-top: 1px solid @toolbar-border-col;
border-bottom: ;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
@@ -586,21 +590,25 @@ span {
width: 250px;
margin: 0;
padding: 0;
display: inline-block;
}
.rightside {
margin: 0;
padding: 0;
flex: 1;
display: inline-block;
float: right;
}
.path {
display: inline-block;
height: 100%;
width: 100%;
height: 30px;
line-height: 30px;
cursor: default;
width: auto;
overflow: hidden;
white-space: nowrap;
direction: rtl;
max-width: 100%;
text-align: left;
.element {
padding: 5px;
border: 1px solid @toolbar-bg;