+
+
+
{{language.englishName}}
diff --git a/src/Squidex/app/features/settings/pages/languages/language.component.scss b/src/Squidex/app/features/settings/pages/languages/language.component.scss
index abe8b7227..34f17d602 100644
--- a/src/Squidex/app/features/settings/pages/languages/language.component.scss
+++ b/src/Squidex/app/features/settings/pages/languages/language.component.scss
@@ -17,23 +17,19 @@ $field-header: #e7ebef;
&-languages {
@include border-radius;
background: $color-border;
- border: 0;
- padding: .5rem;
+ border-top: .5rem solid $color-border;
+ border-bottom: 1px solid $color-border;
+ padding: 0 .5rem;
}
&-language {
- & {
- @include border-radius(2px);
- padding: .5rem;
- background: $color-dark-foreground;
- border: 0;
- margin-bottom: .5rem;
- line-height: 2rem;
- }
-
- &:last-child {
- margin: 0;
- }
+ @include border-radius(2px);
+ padding: .5rem;
+ background: $color-dark-foreground;
+ border: 0;
+ margin: 0;
+ margin-bottom: .5rem;
+ line-height: 2rem;
}
&-label {
diff --git a/src/Squidex/app/features/settings/pages/roles/role.component.scss b/src/Squidex/app/features/settings/pages/roles/role.component.scss
index e21dec6c8..61e623d93 100644
--- a/src/Squidex/app/features/settings/pages/roles/role.component.scss
+++ b/src/Squidex/app/features/settings/pages/roles/role.component.scss
@@ -15,10 +15,6 @@
@include truncate;
}
-.text-decent {
- color: $color-text-decent;
-}
-
.text-force {
color: $color-text;
}
diff --git a/src/Squidex/app/framework/angular/sorted.directive.ts b/src/Squidex/app/framework/angular/sorted.directive.ts
index f7ba12b5d..80d7c56ff 100644
--- a/src/Squidex/app/framework/angular/sorted.directive.ts
+++ b/src/Squidex/app/framework/angular/sorted.directive.ts
@@ -15,6 +15,9 @@ import Sortable = require('sortablejs');
export class SortedDirective implements OnDestroy, OnInit {
private sortable: Sortable;
+ @Input()
+ public dragHandle: string;
+
@Input('sqxSortModel')
public sortModel: any[];
@@ -46,7 +49,9 @@ export class SortedDirective implements OnDestroy, OnInit {
this.sorted.emit(newModel);
}
- }
+ },
+
+ handle: this.dragHandle
});
}
}
\ No newline at end of file
diff --git a/src/Squidex/app/theme/_common.scss b/src/Squidex/app/theme/_common.scss
index 91130bd89..106f87ae5 100644
--- a/src/Squidex/app/theme/_common.scss
+++ b/src/Squidex/app/theme/_common.scss
@@ -21,6 +21,14 @@ body {
font-size: .8rem;
}
+.text-decent {
+ color: $color-text-decent;
+}
+
+.drag-handle {
+ cursor: move;
+}
+
// Rich editor icon. Must be placed here, because element is not created by angular.
.mce-i-assets {
& {
diff --git a/src/Squidex/app/theme/icomoon/demo.html b/src/Squidex/app/theme/icomoon/demo.html
index f5232ed42..ddaa0218e 100644
--- a/src/Squidex/app/theme/icomoon/demo.html
+++ b/src/Squidex/app/theme/icomoon/demo.html
@@ -9,10 +9,26 @@
-
Font Name: icomoon (Glyphs: 100)
+ Font Name: icomoon (Glyphs: 101)