-
Notifications
You must be signed in to change notification settings - Fork 22
/
styles.css
260 lines (208 loc) · 6.38 KB
/
styles.css
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
/**
// This file is part of mod_publication for Moodle - http://moodle.org/
//
// It is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// It is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// If not, see <http://www.gnu.org/licenses/>.
*/
/**
* Styles for mod_publication
*
* @package mod_publication
* @author Philipp Hager
* @author Andreas Windbichler
* @copyright 2014 Academic Moodle Cooperation {@link http://www.academic-moodle-cooperation.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
/* General Styles */
#page-mod-publication-view div.availability {
margin-bottom: 10px;
margin-left: 10px;
}
#page-mod-publication-view div.availability div {
clear: both;
}
#page-mod-publication-view div.availability span {
display: block;
float: left;
min-width: 170px;
}
#page-mod-publication-view div.assignurl {
margin-bottom: 10px;
margin-left: 10px;
}
#page-mod-publication-view div.assignurl div.singlebutton,
#page-mod-publication-view div.assignurl div.singlebutton form,
#page-mod-publication-view div.assignurl div.singlebutton form div {
display: inline;
}
#page-mod-publication-view div.assignurl div.singlebutton form div {
padding-left: 10px;
}
#page-mod-publication-view fieldset#id_myfiles table {
margin-left: 8px;
}
/* scroll table if page is too small */
#page-mod-publication-view div#id_allfiles {
border: 1px solid #d0d3ca;
margin: 10px;
padding: 10px;
}
#page-mod-publication-view div#id_allfiles div.legend {
background-color: #fff;
font-weight: bold;
margin-top: -20px;
padding: 2px 5px;
position: absolute;
}
.path-mod-publication table.publications .onlinetextpreview {
padding-left: 0.5rem;
}
/* .. ie */
.ie#page-mod-publication-view fieldset#id_allfiles {
display: block;
}
/* end scroll */
#page-mod-publication-view fieldset#id_allfiles div div.no-overflow {
margin-bottom: 1em;
padding-bottom: 0;
}
#page-mod-publication-view fieldset#id_allfiles table#attempts {
margin-bottom: 0;
}
#page-mod-publication-view fieldset#id_allfiles table#attempts span.timemodified {
font-size: 0.9em;
font-style: italic;
}
#page-mod-publication-view fieldset#id_allfiles {
padding-top: 4px;
}
#page-mod-publication-view div.mod-publication-download-link {
text-align: right;
}
#page-mod-publication-view div#id_allfiles table#attempts th.c0,
#page-mod-publication-view div#id_allfiles table#attempts td.c0 {
text-align: center;
}
#page-mod-publication-view table.filetable,
#page-mod-publication-view table.filetable td,
#page-mod-publication-view table.filetable tr,
#page-mod-publication-view table.statustable,
#page-mod-publication-view table.statustable td,
#page-mod-publication-view table.statustable tr,
#page-mod-publication-view table.permissionstable,
#page-mod-publication-view table.permissionstable td,
#page-mod-publication-view table.permissionstable tr {
border-width: 0;
padding: 1px 3px 1px 1px;
white-space: nowrap;
height: 2.5rem !important; /* stylelint-disable-line declaration-no-important */
}
#page-mod-publication-view table.statustable tbody td,
#page-mod-publication-view table.permissionstable tbody td,
#page-mod-publication-view table.filetable tbody td {
background-color: transparent;
}
#page-mod-publication-view table.statustable td,
#page-mod-publication-view table.filetable td {
height: 30px;
}
#page-mod-publication-view table.statustable {
text-align: center;
width: 100%;
}
#page-mod-publication-view table.permissionstable {
text-align: left;
width: 100%;
}
#page-mod-publication-view table.permissionstable select {
margin-bottom: 0;
}
#page-mod-publication-view div.withselection select {
margin-left: 4px;
margin-right: 4px;
}
#page-mod-publication-view .visibilitysaver {
float: right;
}
#page-mod-publication-view #dates {
border-width: 0;
}
#page-mod-publication-view #dates .c0 {
text-align: left;
}
#page-mod-publication-view #dates td {
padding-bottom: 0;
padding-top: 0;
}
#page-mod-publication-upload .fstatic,
#page-mod-publication-upload .fstaticlabel {
font-style: italic;
}
#page-mod-publication-view fieldset#id_myfiles .notice {
font-style: italic;
margin-bottom: 6px;
padding: 8px;
}
#page-mod-publication-mod select[name=importfrom] option[disabled] {
color: #999;
}
.path-mod-publication .publications table tr:nth-of-type(2n+1),
.path-mod-publication .publications table tr:hover {
background-color: transparent;
}
.path-mod-publication .statustable .approvaldetails {
display: none;
}
.path-mod-publication .statustable .approvaldetails img {
cursor: pointer;
}
.path-mod-publication .publicationoverlay table {
margin-left: auto;
margin-right: auto;
}
.path-mod-publication .publicationoverlay table td,
.path-mod-publication .publicationoverlay table th {
padding: 0 5px;
}
.path-mod-publication .publicationoverlay table td,
.path-mod-publication .publicationoverlay table th,
.path-mod-publication .publicationoverlay table tr {
border: none;
}
.path-mod-publication .publicationoverlay table td.noentries {
text-align: center;
}
.path-mod-publication .publicationoverlay table td.time {
text-align: right;
}
.path-mod-publication .modal .modal-body {
max-width: 100%;
overflow: auto;
}
.path-mod-publication table#attempts select.needs-approval {
border: 0.2rem solid var(--info);
}
.path-mod-publication table#attempts .needs-approval-asterisk {
font-size: 1.2rem;
display: inline-block;
margin-left: 0.2rem;
}
.path-mod-publication #id_myfilescontainer #fgroup_id_uploadgrp .col-form-label {
display: none !important; /* stylelint-disable-line declaration-no-important */
}
#page-mod-publication-upload #fitem_id_guideline .form-inline {
align-items: flex-end !important; /* stylelint-disable-line declaration-no-important */
}
#page-mod-publication-view.allfilespage .activity-header {
display: none;
}