MDL-54654 assignfeedback_editpdf: remove invalid CSS
[moodle.git] / mod / assign / feedback / editpdf / styles.css
CommitLineData
5c386472
DW
1.assignfeedback_editpdf_widget .toolbar ul {
2 display: none;
3}
4
5.assignfeedback_editpdf_widget .toolbar li {
6 list-style-type: none;
7}
8.assignfeedback_editpdf_widget .drawingcanvas {
9 position: relative;
10 min-width: 817px;
50c12f01 11 min-height: 400px;
5c386472 12 cursor: crosshair;
50c12f01
DS
13 background-repeat: no-repeat;
14 background-color: #ccc;
bb690849
DW
15 margin-left: auto;
16 margin-right: auto;
17}
18.assignfeedback_editpdf_widget .moodle-dialogue-bd .drawingregion {
19 position: inherit;
50c12f01 20}
ab4d78ea
DW
21.assignfeedback_editpdf_widget .drawingregion[data-currenttool=drag] .drawingcanvas {
22 cursor: move;
23}
24.assignfeedback_editpdf_widget .drawingregion[data-currenttool=select] .drawingcanvas {
25 cursor: pointer;
26}
50c12f01 27.assignfeedback_editpdf_widget .drawingregion {
bb690849
DW
28 border: 1px solid #ccc;
29 left: 1em;
30 right: 1em;
31 top: 52px;
32 bottom: 0px;
33 position: absolute;
50c12f01 34 overflow: auto;
5c386472
DW
35}
36
37.assignfeedback_editpdf_widget {
38 user-select: none;
39 -moz-user-select: none;
40 -webkit-user-select: none;
41 -o-user-select: none;
42}
43
44.assignfeedback_editpdf_widget .pageheader {
45 background-color: #ebebeb;
46 border-bottom: 1px solid #cccccc;
298a7ee3 47 padding: 0px;
5c386472
DW
48 padding-left: 20px;
49 padding-right: 20px;
50 min-height: 50px;
bb690849
DW
51 height: 52px;
52 overflow: auto;
5c386472
DW
53}
54
55.moodle-dialogue-base .moodle-dialogue.assignfeedback_editpdf_widget .moodle-dialogue-bd {
56 padding: 0px;
57}
58
bb690849
DW
59.assignfeedback_editpdf_widget .assignfeedback_editpdf_unsavedchanges.haschanges{
60 display: inline-block;
5c386472 61}
bb690849 62.assignfeedback_editpdf_widget .assignfeedback_editpdf_unsavedchanges {
5c386472 63 display: none;
bb690849
DW
64 position: absolute;
65 left: 20px;
66 top: 60px;
67}
68.dir-rtl .assignfeedback_editpdf_widget .assignfeedback_editpdf_unsavedchanges {
69 float: right;
5c386472
DW
70}
71.yui3-colourpicker-hidden,
72.yui3-commentsearch-hidden,
73.yui3-commentmenu-hidden {
74 display: none;
75}
298a7ee3 76.assignfeedback_editpdf_widget .pageheader button img {
6655b610
DW
77 padding-top: 3px;
78 vertical-align: top;
298a7ee3 79}
5c386472
DW
80.assignfeedback_editpdf_widget .pageheader button:active {
81 background-color: #ccc;
82}
83.assignfeedback_editpdf_widget .pageheader select,
84.assignfeedback_editpdf_widget .pageheader button {
85 background: none;
f2b8eb22 86 padding: 4px 7px;
5c386472
DW
87 border: 0px;
88 border-radius: 0px;
89 margin: 0px;
90 height: 30px;
6655b610
DW
91 line-height: 30px;
92 vertical-align: top;
5c386472
DW
93 cursor: pointer;
94}
298a7ee3
DW
95.assignfeedback_editpdf_widget .pageheader select {
96 vertical-align: top;
97 -webkit-appearance: none;
98 -moz-appearance: menulist-text;
99 background-color: #fff;
6655b610 100 padding: 0px 10px;
298a7ee3
DW
101}
102.assignfeedback_editpdf_widget .pageheader select::-ms-expand {
103 display: none;
104}
5c386472
DW
105
106.assignfeedback_editpdf_widget .pageheader .navigation button + button,
107.assignfeedback_editpdf_widget .pageheader .toolbar button + button,
108.assignfeedback_editpdf_widget .pageheader .navigation select + button,
109.assignfeedback_editpdf_widget .pageheader .toolbar select + button {
110 border-left: 1px solid #cccccc;
111 border-right: 0px;
112}
113
114.assignfeedback_editpdf_widget .pageheader .navigation button {
115 border-right: 1px solid #cccccc;
116}
117.assignfeedback_editpdf_widget .pageheader .toolbar,
118.assignfeedback_editpdf_widget .pageheader .navigation-search,
119.assignfeedback_editpdf_widget .pageheader .navigation {
120 border: 1px solid #cccccc;
121 border-bottom-color: #b3b3b3;
122 border-radius: 4px;
123 margin: 10px 4px;
124 background-color: white;
125 height: 30px;
126 line-height: 30px;
127 padding: 0px;
128}
129
130.assignfeedback_editpdf_commentsearch ul {
131 max-height: 400px;
132 overflow-y: auto;
133 padding: 1em;
134}
cb35482a
DW
135.assignfeedback_editpdf_commentsearch ul li pre {
136 background-color: #efefef;
137}
138.assignfeedback_editpdf_commentsearch ul li pre:hover {
139 background-color: #ddd;
140}
5c386472 141.assignfeedback_editpdf_commentsearch ul li {
cb35482a
DW
142 line-height: 0px;
143 margin: 2px;
5c386472
DW
144}
145.assignfeedback_editpdf_commentsearch a pre {
146 font-family: helvetica;
147 margin: 0px;
148 padding: 4px;
149}
150
151.assignfeedback_editpdf_widget .navigation-search,
152.assignfeedback_editpdf_widget .navigation {
153 float: left;
154}
155
156.dir-rtl .assignfeedback_editpdf_widget .navigation-search,
157.dir-rtl .assignfeedback_editpdf_widget .navigation {
158 float: right;
159}
6655b610
DW
160.assignfeedback_editpdf_widget .toolbar button {
161 box-shadow: none;
162 -moz-box-shadow: none;
163 -webkit-box-shadow: none;
164}
5c386472
DW
165.assignfeedback_editpdf_widget .toolbar {
166 float: right;
167}
168.dir-rtl .assignfeedback_editpdf_widget .toolbar {
169 float: left;
170}
171.assignfeedback_editpdf_widget .navigation,
172.assignfeedback_editpdf_widget .navigation-search,
173.assignfeedback_editpdf_widget .toolbar {
174 display: inline-block;
175}
176
177.assignfeedback_editpdf_colourpicker ul {
178 margin: 0px;
179}
180
181.assignfeedback_editpdf_commentmenu li.quicklist_comment {
182 width: 150px;
183}
184.assignfeedback_editpdf_commentmenu li.quicklist_comment a {
185 white-space: nowrap;
186 display: inline-block;
187 max-width: 130px;
188 overflow: hidden;
189 text-overflow: ellipsis;
190}
191.assignfeedback_editpdf_commentmenu a.delete_quicklist_comment {
192 float: right;
193}
194.dir-rtl .assignfeedback_editpdf_commentmenu a.delete_quicklist_comment {
195 float: left;
196}
197.assignfeedback_editpdf_dropdown button {
198 border: 0px;
199 background: none;
f2b8eb22 200 padding: 6px 7px;
5c386472
DW
201 border-radius: 0px;
202 border-top: 1px solid #cccccc;
203}
204.assignfeedback_editpdf_dropdown li:first-child button {
205 border-top: 0px;
206}
207.moodle-dialogue-base .moodle-dialogue.assignfeedback_editpdf_dropdown .moodle-dialogue-wrap {
208 box-shadow: none;
209 -moz-box-shadow: none;
210 -webkit-box-shadow: none;
6655b610
DW
211 margin-left: 0px;
212 margin-right: 0px;
213 margin-top: 0px;
214 border-radius: 4px;
5c386472
DW
215}
216.moodle-dialogue-base .moodle-dialogue.assignfeedback_editpdf_dropdown .moodle-dialogue-bd {
217 padding: 0px;
218}
219.assignfeedback_editpdf_dropdown .moodle-dialogue-hd,
220.assignfeedback_editpdf_dropdown .moodle-dialogue-ft {
221 display: none;
222}
223.assignfeedback_editpdf_menu li hr {
224 margin: 0px;
225}
226.assignfeedback_editpdf_menu li a {
227 text-decoration: none;
228 color: #555;
229 margin: 10px;
230}
231.assignfeedback_editpdf_menu li:hover,
232.assignfeedback_editpdf_menu li:hover a,
233.assignfeedback_editpdf_menu li a:hover {
cb35482a
DW
234 background-color: #ebebeb;
235 background-image: radial-gradient(ellipse at center, #ffffff 60%,#dfdfdf 100%);
5c386472
DW
236}
237ul.assignfeedback_editpdf_menu {
238 margin: 0px;
239}
240.assignfeedback_editpdf_menu li {
241 list-style-type: none;
242 margin: 0px;
243 border-radius: 4px;
244}
cb35482a
DW
245.assignfeedback_editpdf_menu li img {
246 height: auto;
247}
5c386472
DW
248.assignfeedback_editpdf_menu li button {
249 margin: 0px;
cb35482a 250 background: none;
5c386472
DW
251}
252
1d38083c
DW
253.assignfeedback_editpdf_widget .pageheader button:hover {
254 background-color: #ebebeb;
255 background-image: radial-gradient(ellipse at center, #ffffff 60%,#dfdfdf 100%);
256}
257
5c386472
DW
258.assignfeedback_editpdf_widget .pageheader button.assignfeedback_editpdf_selectedbutton:hover,
259.assignfeedback_editpdf_widget .pageheader button.assignfeedback_editpdf_selectedbutton {
1d38083c
DW
260 background-color: #dfdfdf;
261 background-image: radial-gradient(ellipse at center, #ffffff 40%,#dfdfdf 100%);
5c386472
DW
262}
263
264.assignfeedback_editpdf_widget .commentdrawable img {
265 padding: 1px;
266}
267
268.assignfeedback_editpdf_widget .commentdrawable a {
269 float: right;
270 position: relative;
271 left: -17px;
272 top: 2px;
273 height: 14px;
274 background-color: white;
275 border-left: 1px solid #ccc;
276 border-bottom: 1px solid #ccc;
277 line-height: 14px;
278}
279
280.dir-rtl .assignfeedback_editpdf_widget .commentdrawable a {
281 float: left;
5c386472
DW
282 right: -17px;
283 border-left: 0px;
284 border-right: 1px solid #ccc;
285}
286
287.assignfeedback_editpdf_widget .commentdrawable textarea {
288 padding: 4px;
289 padding-right: 20px;
290 resize: none;
291 overflow: hidden;
292 color: black;
293 border: 2px solid #ccc;
294 border-radius: 4px;
295 font-size: 16px;
296 font-family: helvetica;
297 min-height: 1.2em;
298}
299
300.assignfeedback_editpdf_widget .commentdrawable {
301 display: inline-block;
302}
303
304.dir-rtl .assignfeedback_editpdf_widget .commentdrawable textarea {
305 padding-left: 20px;
306 padding-right: 4px;
307}
aa3e4bde
JM
308.assignfeedback_editpdf_widget .drawingcanvas .loading .progressbarlabel {
309 text-align: center;
310}
50c12f01
DS
311.hideoverflow {
312 overflow: hidden;
313 position: relative;
314}
7d7e5a4c 315@media (max-width: 960px) {
bb690849
DW
316 .assignfeedback_editpdf_widget .pageheader {
317 height: 104px;
318 }
319 .assignfeedback_editpdf_widget .drawingregion {
320 top: 104px;
321 }
322}
323@media (max-width: 767px) {
324 .assignfeedback_editpdf_widget .drawingregion {
7d7e5a4c 325 position: relative;
bb690849 326 margin-bottom: 1em;
7d7e5a4c 327 top: 0;
bb690849
DW
328 }
329 .assignfeedback_editpdf_widget .pageheader {
7d7e5a4c 330 height: auto;
bb690849
DW
331 }
332}
7d7e5a4c 333@media (max-width: 480px) {
bb690849 334 .assignfeedback_editpdf_widget .pageheader {
7d7e5a4c
RW
335 padding-left: 5px;
336 padding-right: 5px;
bb690849
DW
337 }
338}