diff --git a/client/src/components/WidgetPopover.vue b/client/src/components/WidgetPopover.vue
index 418390ed..cb1fa16e 100644
--- a/client/src/components/WidgetPopover.vue
+++ b/client/src/components/WidgetPopover.vue
@@ -27,7 +27,7 @@
display: flex;
flex-direction: column;
background-color: $color-white;
- padding: 20px;
+ padding: 0;
z-index: 100;
@include widget-shadow;
@@ -43,6 +43,9 @@
display: grid;
&__link {
+ cursor: pointer;
+ padding: 0 $medium-spacing;
+
& > a {
display: inline-block;
color: $color-silver-dark;
@@ -55,6 +58,7 @@
&--large {
line-height: 40px;
+ padding: $small-spacing $medium-spacing;
& > a, & {
@include small-text;
}
@@ -64,5 +68,9 @@
font-weight: 600;
}
}
+
+ &__divider {
+ border-top: 1px solid $color-silver-dark;
+ }
}
diff --git a/client/src/components/profile/ClassList.vue b/client/src/components/profile/ClassList.vue
index d0b55c6f..63580796 100644
--- a/client/src/components/profile/ClassList.vue
+++ b/client/src/components/profile/ClassList.vue
@@ -2,9 +2,9 @@
{{name}}
-
+
Deaktivierte Benutzer
-
+
-
{{fullName(member)}}
{{role(member)}}
Aktivieren
@@ -63,8 +63,6 @@
@import "@/styles/_variables.scss";
@import "@/styles/_mixins.scss";
- $height: 52px;
-
.school-class {
&__inactive-heading {
@include heading-4;
@@ -72,27 +70,7 @@
}
}
- .members-list {
- border-top: 1px solid $color-silver-dark;
-
- &--active {
- margin-bottom: 2*$large-spacing;
- }
-
- &__item {
- line-height: $height;
- height: $height;
- border-bottom: 1px solid $color-silver-dark;
- }
- }
-
.member-item {
- line-height: $height;
- height: $height;
-
- display: flex;
- flex-direction: row;
-
&__name {
font-family: $sans-serif-font-family;
font-weight: $font-weight-bold;
@@ -105,8 +83,6 @@
}
&__action {
- @include default-link;
- color: $color-brand;
flex: 0 1 110px;
padding-left: $large-spacing;
}
diff --git a/client/src/styles/_simple-list.scss b/client/src/styles/_simple-list.scss
new file mode 100644
index 00000000..543d33b4
--- /dev/null
+++ b/client/src/styles/_simple-list.scss
@@ -0,0 +1,24 @@
+@import "variables";
+
+.simple-list {
+ border-top: 1px solid $color-silver-dark;
+
+ &--active {
+ margin-bottom: 2*$large-spacing;
+ }
+
+ &__item {
+ line-height: $list-height;
+ height: $list-height;
+ border-bottom: 1px solid $color-silver-dark;
+
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ }
+
+ &__action {
+ @include default-link;
+ color: $color-brand;
+ }
+}
diff --git a/client/src/styles/_variables.scss b/client/src/styles/_variables.scss
index 7e44811b..f4d793bd 100644
--- a/client/src/styles/_variables.scss
+++ b/client/src/styles/_variables.scss
@@ -56,6 +56,9 @@ $red: #FA5F5F;
$green: #6DD79A;
$brown: #EB9E77;
+$list-height: 52px;
+
+
$default-border-radius: 13px;
$input-border-radius: 3px;
diff --git a/client/src/styles/main.scss b/client/src/styles/main.scss
index 232b941c..e4b996ec 100644
--- a/client/src/styles/main.scss
+++ b/client/src/styles/main.scss
@@ -23,3 +23,4 @@
@import "student-submission";
@import "module-activity";
@import "book-subnavigation";
+@import "simple-list";