aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/stylesheets/scss/studygroup.scss
blob: 18cde0008b1449df14db70b6dd4c9c82a6901b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#course-studygroup-members {
    #content h3:first-of-type {
        margin-top: 0;
    }
}

ul.studygroup-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding-left: 0;
    li {
        box-sizing: border-box;
        display: inline-blocK;
        flex: 0 0 120px;
        min-height: 150px;
        overflow: hidden;
        text-align: center;
        vertical-align: top;
        width: 120px;
    }
}

.studygroupmemberlist {
    .member-avatar {
        position: relative;
        img {
            margin-right: 5px;
        }
    }
    .new-member .member-avatar {
        @include icon(after, star, new, 12px);
        &::after {
            position: absolute;
            margin: -1px 0 0 -14px;
        }
    }
    tr > .actions {
        text-align: right;
        white-space: nowrap;
    }
}

.studygroup-browse {
  td.studygroup-title {
    a {
      display: block;
      max-width: 40em;
      min-width: 15em;
    }
  }
}

.connectedcourses {
    .teaser {
        font-size: 24px;
    }
    .connectedstudygroups-empty-background {
        @include empty-placeholder-image('network2', false);
    }
    footer {
        background-color: var(--content-color-20);
        border-top: 1px solid var(--brand-color-darker);
        clear: both;
        padding: 0;
        height: 58px;
    }
}

.studip-tiles {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    > * {
        display: flex;
        flex-direction: column;
        width: 270px;
        border: 1px solid var(--content-color-20);
        padding: 10px;
        margin-bottom: 10px;
        align-items: stretch;
        margin-right: 10px;
        > * {
            display: flex;
            flex-direction: row;
            margin-bottom: 10px;

            &.with-action-menu {
                justify-content: space-between;
                > * {
                    margin-right: 0px;
                    &:first-child {
                        display: flex;
                        flex-direction: row;
                        > * {
                            margin-right: 10px;
                        }
                    }
                }
            }
            .actions {
                text-align: right;
            }
            &:last-child {
                margin-bottom: 0px;
            }
            > * {
                margin-right: 10px;
            }
        }
    }
}

.studip-contents-overview-teaser {
    max-width: 782px;
    background-color: var(--content-color-20);
    background-image: url('#{$image-path}/courseware-keyvisual-negative.svg');
    background-repeat: no-repeat;
    background-size: 196px;
    background-position-y: 50%;
    background-position-x: 24px;
    padding: 24px;
    margin-bottom: 10px;

    .teaser-content {
        padding-left: 220px;

        header {
            font-size: 1.5em;
            margin-bottom: 0.5em;
        }
    }
}

.responsive-display {
    .cw-contents-overview-teaser {
        max-width: 782px;
        background-size: 60%;
        background-position-y: 24px;
        background-position-x: 50%;
        padding: 24px;
        margin-bottom: 10px;

        .teaser-content {
            padding-top: 28%;
            padding-left: 0;
            text-align: justify;

            header {
                font-size: 1.5em;
                margin: 1em 0 0.5em 0;
                text-align: center;
            }
        }
    }
}