Framework for sortable sources

This commit is contained in:
James Barnsley
2018-05-28 21:06:00 +12:00
parent b5c25760ad
commit eef701a9dc
12 changed files with 216 additions and 1935 deletions

View File

@ -24,6 +24,7 @@
@import 'components/dropdown-field';
@import 'components/autocomplete-field';
@import 'components/filter-field';
@import 'components/sources-priority-field';
@import 'components/sub-views';
@import 'components/debug';
@import 'components/tooltip';

View File

@ -43,7 +43,7 @@
.context-menu-trigger {
position: absolute;
top: 2px;
top: 0;
right: 0;
font-size: 14px;
z-index: 2;
@ -57,7 +57,7 @@
color: $mid_grey;
position: absolute;
top: 16px;
right: 32px;
right: 36px;
}
:root .notouch:not(.dragging) &:not(.header):not(.no-click).hover {

View File

@ -0,0 +1,14 @@
.sources-priority-field {
padding: 7px 0;
.source {
display: inline-block;
border-radius: 3px;
padding: 3px 6px;
margin: 0 5px 5px 0;
cursor: move;
font-size: inherit;
font-weight: normal;
}
}