Sortable modal UI

This commit is contained in:
James Barnsley
2017-12-30 11:55:07 +13:00
parent d33720a9ce
commit 5d696055b1
4 changed files with 96 additions and 40 deletions

View File

@ -104,6 +104,30 @@
}
}
.add-uri,
.remove-uri {
position: absolute;
top: 6px;
right: 6px;
padding: 8px;
margin: 0;
min-width: 0;
color: #FFFFFF;
background: transparent;
&:before {
display: none !important;
}
&:hover {
color: $turquoise;
&.remove-uri {
color: $red;
}
}
}
.list {
@include clearfix();
@ -111,7 +135,7 @@
@include animate();
box-sizing: border-box;
display: block;
padding: 14px 12px;
padding: 14px 12px 12px;
position: relative;
border: 0;
border-radius: 3px;
@ -127,6 +151,17 @@
&:hover {
background: rgba(255,255,255,0.1);
}
&.draggable {
padding-left: 35px;
.drag-handle {
position: absolute;
top: 0;
left: 0;
padding: 16px 12px;
}
}
}
&.playlists {
@ -188,30 +223,6 @@
}
}
}
.add-uri,
.remove-uri {
position: absolute;
top: 5px;
right: 0;
padding: 8px;
margin: 0;
min-width: 0;
color: #FFFFFF;
background: transparent;
&:before {
display: none !important;
}
&:hover {
color: $turquoise;
&.remove-uri {
color: $red;
}
}
}
}
&.kiosk_mode {
@ -289,6 +300,23 @@
}
}
&.search_uri_schemes {
.available-schemes {
padding-top: 40px;
.scheme {
@include animate();
margin-left: 0;
margin-bottom: 8px;
&:hover {
cursor: pointer;
background: darken($blue, 8%);
}
}
}
}
.actions {
padding-top: 50px;
text-align: center;