From 94846b2673f1d1a90869bc9a38936c24cb10e158 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Sat, 2 Jan 2010 22:54:13 +0000 Subject: [PATCH] Preventing assignment CSS from influencing other modules This was discovered during workshop testing. User pictures were all displayed in size 35x35px regardless their size setting. This was caused by mod/assignment standard theme. --- theme/standard/style/mod_assignment.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/theme/standard/style/mod_assignment.css b/theme/standard/style/mod_assignment.css index 05a16f39377..8f9b0209dc9 100644 --- a/theme/standard/style/mod_assignment.css +++ b/theme/standard/style/mod_assignment.css @@ -1,11 +1,11 @@ -.userpicture, -.picture user, -.picture teacher { +.mod-assignment .userpicture, +.mod-assignment .picture user, +.mod-assignment .picture teacher { width:35px; height: 35px; vertical-align:top; } -.modform { +.mod-assignment .modform { text-align:center; } #wordcount {