dossiers: add an actions menu

This commit is contained in:
Pierre de La Morinerie 2019-03-26 16:55:40 +00:00
parent dd4eae7d62
commit d03e340345
10 changed files with 72 additions and 12 deletions

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><g fill="none" fill-rule="evenodd"><path d="M11 6L9 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-6" stroke="#0069cc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M0 0h24v24H0z"/></g><g transform="translate(8 -8)" fill="#0069cc"><rect ry="1" y="12" x="6" height="2" width="10"/><rect width="2" height="10" x="10" y="8" ry="1"/></g></svg>

After

Width:  |  Height:  |  Size: 446 B

View file

@ -221,6 +221,21 @@
background: $light-grey;
}
&.danger {
&:hover {
background-color: $medium-red;
&,
a {
color: $white;
}
.icon {
filter: contrast(0) brightness(100);
}
}
}
&:last-child {
border-bottom: none;
}

View file

@ -79,8 +79,4 @@
.follow-col {
width: 200px;
}
.delete-col {
width: 150px;
}
}

View file

@ -31,6 +31,10 @@
background-image: image-url("icons/folder.svg");
}
&.new-folder {
background-image: image-url("icons/new-folder.svg");
}
&.accept {
background-image: image-url("icons/accept.svg");
}

View file

@ -0,0 +1,6 @@
.user-dossier-actions {
.dropdown-description {
font-size: 14px;
align-self: center;
}
}