-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
230 lines (204 loc) · 7.55 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
/*
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* CSS style overrides for leganto module.
*
* @package mod_leganto
* @copyright 2017 Lancaster University {@link http://www.lancaster.ac.uk/}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @author Tony Butler <[email protected]>
*/
#page-mod-leganto-mod .mform fieldset[id^="id_list-"] .fitem {
margin-top: 10px;
}
#page-mod-leganto-mod .mform fieldset[id^="id_list-"] .fitem .felement[data-fieldtype="submit"] a {
color: #555;
text-decoration: none;
text-shadow: 0 1px 0 #fff;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
display: inline-block;
padding: 3px 9px;
border: 1px solid #dcdcdc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 0 #fff;
-moz-box-shadow: inset 0 1px 0 0 #fff;
box-shadow: inset 0 1px 0 0 #fff;
}
#page-mod-leganto-mod .mform fieldset[id^="id_list-"] .fitem .felement[data-fieldtype="submit"] a:hover,
#page-mod-leganto-mod .mform fieldset[id^="id_list-"] .fitem .felement[data-fieldtype="submit"] a:active {
background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
}
#page-mod-leganto-mod .mform fieldset[id^="id_list-"] .fitem label a.citationlink,
#page-mod-leganto-mod .mform fieldset[id^="id_list-"] .fitem label a.citationlink:hover,
#page-mod-leganto-mod .mform fieldset[id^="id_list-"] .fitem label a.citationlink:active {
text-decoration: none;
}
#page-mod-leganto-mod .mform fieldset[id^="id_list-"] .fitem label h5.citationtitle {
display: inline;
font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
font-size: 1.0em;
font-weight: 600;
color: #555;
}
#page-mod-leganto-view div.listsection,
div.legantobox div.listsection {
text-shadow: 0 1px 0 #fff;
margin: 1em 0 0;
padding: 0.5em 1em;
border: 1px solid #e3e3e3;
background-color: #f5f5f5;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 0 #fff;
-moz-box-shadow: inset 0 1px 0 0 #fff;
box-shadow: inset 0 1px 0 0 #fff;
}
#page-mod-leganto-view ul.citations,
div.legantobox ul.citations {
margin-left: 1em;
}
#page-mod-leganto-view ul.citations li.citation,
div.legantobox ul.citations li.citation {
line-height: 1.5em;
padding: 6px 0;
border-bottom: 1px solid #e3e3e3;
list-style-type: none;
}
#page-mod-leganto-view ul.citations li.citation:last-child,
div.legantobox ul.citations li.citation:last-child {
border-bottom: none;
}
#page-mod-leganto-view ul.citations li.citation + li.citation,
div.legantobox ul.citations li.citation + li.citation {
border-top: 1px solid #fff;
}
#page-mod-leganto-view ul.citations li.citation h3.citationtitle,
div.legantobox ul.citations li.citation h5.citationtitle {
display: inline;
}
div.legantobox ul.citations li.citation h5.citationtitle {
font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
font-size: 1.0em;
font-weight: 600;
color: #555;
}
#page-mod-leganto-view ul.citations li.citation a.citationlink,
#page-mod-leganto-view ul.citations li.citation a.citationlink:hover,
#page-mod-leganto-view ul.citations li.citation a.citationlink:active,
div.legantobox ul.citations li.citation a.citationlink,
div.legantobox ul.citations li.citation a.citationlink:hover,
div.legantobox ul.citations li.citation a.citationlink:active {
text-decoration: none;
}
#page-mod-leganto-view ul.citations li.citation span.citationbooktitle,
#page-mod-leganto-view ul.citations li.citation span.citationbookauthor,
#page-mod-leganto-view ul.citations li.citation span.citationchapter,
div.legantobox ul.citations li.citation span.citationbooktitle,
div.legantobox ul.citations li.citation span.citationbookauthor,
div.legantobox ul.citations li.citation span.citationchapter {
font-style: italic;
}
#page-mod-leganto-view ul.citations li.citation span.citationresourcetype,
div.legantobox ul.citations li.citation span.citationresourcetype {
font-size: 0.9em;
font-weight: bold;
color: #fff;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
background-color: #999;
padding: 2px 4px;
vertical-align: bottom;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#page-mod-leganto-view ul.citations li.citation span.citationtag,
div.legantobox ul.citations li.citation span.citationtag {
font-size: 0.9em;
font-weight: bold;
color: #555;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.10);
background-color: #fff;
padding: 1px 3px;
vertical-align: bottom;
border: 1px solid;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}
#page-mod-leganto-view ul.citations li.citation span.citationnote,
div.legantobox ul.citations li.citation span.citationnote {
font-style: italic;
}
#page-mod-leganto-view ul.citations li.citation a.citationsource,
div.legantobox ul.citations li.citation a.citationsource {
color: #fff;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
line-height: 1.6em;
background-color: #006dcc;
background-image: linear-gradient(to bottom, #08c, #04c);
background-repeat: repeat-x;
margin: 4px 4px 0 8px;
padding: 3px 9px;
float: right;
border: 1px solid #ccc;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
#page-mod-leganto-view ul.citations li.citation a.citationsource:hover,
#page-mod-leganto-view ul.citations li.citation a.citationsource:active,
div.legantobox ul.citations li.citation a.citationsource:hover,
div.legantobox ul.citations li.citation a.citationsource:active {
background-color: #04c;
background-image: none;
}
.leganto .showhidearrow {
background: url([[pix:core|t/expanded]]);
width: 16px;
height: 16px;
-webkit-transition: -webkit-transform 0.2s;
transition: transform 0.2s;
}
.leganto .collapsed {
-ms-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.section .activity.leganto .activitytitle {
display: inherit;
}
.section .activity.leganto .afterlink {
margin: 0;
padding: 0.25rem;
border: none;
}
.section .activity.leganto .afterlink.ml-3 a {
margin-left: -1rem;
}
.section .activity.leganto .contentafterlink {
margin-top: 0;
}