_layout.scss 2.54 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
2
3
4
/*
 * Base structure
 */
body {
5
    max-width: 100%;
6

Naomi Guyer's avatar
Naomi Guyer committed
7
    .main {
8
        margin: 0 0 20px;
9
        padding-top: 30px;
10
        padding-bottom: 0;
11
        @include media-breakpoint-up(md) {
12
13
            padding-bottom:50px;
        }
Naomi Guyer's avatar
Naomi Guyer committed
14
15
16
17
18
19
20
21
    }
}

.main {
    max-width: 100%;
}

.content-main {
22
    @include media-breakpoint-up(md) {
Naomi Guyer's avatar
Naomi Guyer committed
23
24
25
26
        margin-left: 250px;
    }
}

Pat Kira's avatar
Pat Kira committed
27
.sidebar {
28
    padding-top: 0;
29
    @include media-breakpoint-up(md) {
30
31
        padding-top: 30px;
    }
Pat Kira's avatar
Pat Kira committed
32
33
}

34
35
// Expose a section of the page
.expose {
36
    background-color: theme-color("secondary");
37
38
    margin-bottom: 40px;
    margin-top: -109px;
39
    padding: 40px 0 20px;
40
41
42
43
44
45
}

.subpage {
    clear:both;
}

46
47
48
49
50
51
52
.wallpost {
    &:first-child {
        margin-top: 20px;
    }
    p {
        margin-bottom: 0;
    }
53
54
55
56
57
}

.columns3,
.columns4,
.columns5 {
58
    .wallpost .card-header {
59
60
61
62
63
64
65
66
        font-size: 12px;
        padding-right:40px;
        h4 {
            font-size: 12px;
        }
    }
}

Pat Kira's avatar
Pat Kira committed
67
68
69
70
.viewfooter {
    clear: both;
}

71
72
73
74
75
76
77
78
79
80
81
82
// Needed to clear the float when dropzone is visible
.blocktype {
  &.ui-draggable:before {
    display: none;
  }
}

.blockinstance {
  clear: both;
  .list-group{
    margin-bottom: 0;
  }
Pat Kira's avatar
Pat Kira committed
83
}
84

85
86
87
88
89
90
91
92
93
94
iframe {
    &.pdfiframe {
        width: 100%;
        height: 500px;
    }
    &.externalvideoiframe {
        width: 100%;
    }
    border: 0;
}
95
96
97
98
99
100
// Limit the width of external media
// to fit the width of the column
.mediaplayer-container iframe {
    width: 100%;
}

101
102
103
.progress-container {
    padding-top: 20px;
}
104
105
106
107

.section-import {
    padding-top: 30px;
}
108
109

.btn-group-top + .lead,
110
111
.btn-action-list + .view-description,
.btn-group-top + .view-description,
112
113
.toolbar + .lead {
    clear: both;
114
    margin-top: 15px;
115
    @include media-breakpoint-up(sm) {
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
        margin-top: 60px;
    }
}

.btn-action-list + .view-container,
.btn-group-top + .view-container {
    margin-top: 60px;
}

.view-container {
    margin-top: 30px;
    clear: both;
}

.view-description {
    margin-top: 15px;
132
    @include media-breakpoint-up(sm) {
133
134
        margin-top: 30px;
    }
135
136
137
    &.with-toolbar {
        margin-right: 20px;
    }
138
139
140
141
142
143
144
145
146
}

.postlist {
    margin-top: 20px;
}

.forumfooter {
    margin: 15px 0;
}
147
148
149
150
151
152

.dropdown-menu li span.nolink {
    padding: 3px 20px;
    display: block;
    white-space: nowrap;
}
153
154
155
156
157
158
159
160
161
162

body.presentation-iframe {
    header {
        display: none;
    }

    footer {
        display: none;
    }
}
163
164
165
166
167
168
169
170
171
172
173
174
175
// Online users
.peoplelistinfo {
    .leftdiv {
        float: left;
    }
    .rightdiv {
        margin-left: 60px;
        h3 {
            margin-top: 7px;
            padding-top: 5px;
        }
    }
}