Permalink
Browse files

More tidying up (SE)

  • Loading branch information...
1 parent 2d02e8e commit cae01fcb2bdd27bf81d07feed158d6290e691c47 moodler committed Mar 24, 2005
Showing with 214 additions and 67 deletions.
  1. +0 −1 theme/standard/styles_color.css
  2. +214 −66 theme/standard/styles_moz.css
View
1 theme/standard/styles_color.css
@@ -165,7 +165,6 @@ table.formtable tbody th {
which use these classes for various things */
.generaltab, .generaltabinactive {
background-color:#BBBBBB;
-
}
.generaltabselected {
background-color:#DDDDDD;
View
280 theme/standard/styles_moz.css
@@ -1,3 +1,46 @@
+/*******************************************************************
+styles_moz.css
+
+This CSS file contains all mozilla specific definitions.
+
+Styles are organised into the following sections:
+ core
+ header
+ footer
+
+ admin
+ blocks
+ calendar
+ course
+ doc
+ login
+ message
+ tabs
+ user
+
+ modules
+ assignment
+ chat
+ choice
+ forum
+ glossary
+ journal
+ label
+ lesson
+ quiz
+ resource
+ scorm
+ survey
+ wiki
+ workshop
+
+*******************************************************************/
+
+
+
+/*******************************************************************
+*** Core
+*******************************************************************/
.headingblock {
-moz-border-radius:3px;
@@ -10,16 +53,6 @@
.notifysuccess {
-moz-border-radius:10px;
}
-
-.sideblock {
- -moz-border-radius-bottomleft:20px;
- -moz-border-radius-bottomright:20px;
-}
-
-.sideblock.hidden {
- -moz-border-radius: 0px;
-}
-
.generalbox {
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
@@ -51,18 +84,27 @@
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
}
+.sitetopic {
+ -moz-border-radius:15px;
+}
-.userinfobox {
- -moz-border-radius-bottomleft:20px;
- -moz-border-radius-bottomright:20px;
+.sitetopiccontent {
+ -moz-border-radius:15px;
}
-.groupinfobox {
- -moz-border-radius-bottomleft:20px;
- -moz-border-radius-bottomright:20px;
+.headingblock {
+ -moz-border-radius:3px;
+}
+
+.categoryboxcontent, .courseboxcontent {
+ -moz-border-radius:20px;
}
+
+
+/* kept for backward compatibility with some non-standard modules
+ which use these classes for various things */
.generaltab, .generaltabinactive{
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
@@ -72,38 +114,53 @@
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
}
-.categoryheader {
- -moz-border-radius-topleft:15px;
- -moz-border-radius-topright:15px;
-}
-.glossaryformatheader {
- -moz-border-radius-topleft:15px;
- -moz-border-radius-topright:15px;
-}
-.entryboxheader {
- -moz-border-radius-topleft:10px;
- -moz-border-radius-topright:10px;
+
+/*******************************************************************
+*** Header
+*******************************************************************/
+
+/*******************************************************************
+*** Footer
+*******************************************************************/
+
+/*******************************************************************
+*** Admin
+*******************************************************************/
+
+/*******************************************************************
+*** Blocks
+*******************************************************************/
+.sideblock {
+ -moz-border-radius-bottomleft:20px;
+ -moz-border-radius-bottomright:20px;
}
-.entrybox {
- -moz-border-radius-bottomleft:10px;
- -moz-border-radius-bottomright:10px;
+.sideblock.hidden {
+ -moz-border-radius: 0px;
}
-.glossarypost {
- -moz-border-radius-bottomleft:15px;
- -moz-border-radius-bottomright:15px;
+.sideblock {
+ -moz-border-radius-bottomleft:20px;
+ -moz-border-radius-bottomright:20px;
}
-.glossarypost .side {
- -moz-border-radius-bottomleft:15px;
+.sideblock .content {
+ -moz-border-radius-bottomleft:20px;
+ -moz-border-radius-bottomright:20px;
}
-.encyclopedia .entrylowersection {
- -moz-border-radius-bottomright:15px;
+
+
+.block_course_summary, .block_course_summary .content {
+ -moz-border-radius:20px;
}
+
+/*******************************************************************
+*** Calendar
+*******************************************************************/
+
#calendar .eventlist .event {
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
@@ -139,32 +196,72 @@ table.minicalendar td {
-moz-border-radius:4px;
}
-.block_course_summary, .block_course_summary .content {
+/*******************************************************************
+*** Course
+*******************************************************************/
+body#course-user .section {
-moz-border-radius:20px;
}
-.sitetopic {
- -moz-border-radius:15px;
-}
-.sitetopiccontent {
- -moz-border-radius:15px;
+/*******************************************************************
+*** Doc
+*******************************************************************/
+
+/*******************************************************************
+*** Login
+*******************************************************************/
+.loginbox {
+ -moz-border-radius-bottomleft:20px;
+ -moz-border-radius-bottomright:20px;
}
-.headingblock {
- -moz-border-radius:3px;
+.loginbox .content.left {
+ -moz-border-radius-bottomleft:20px;
+}
+.loginbox .content.right {
+ -moz-border-radius-bottomright:20px;
}
-.sideblock {
+/*******************************************************************
+*** Message
+*******************************************************************/
+
+/*******************************************************************
+*** Tabs
+*******************************************************************/
+
+/*******************************************************************
+*** User
+*******************************************************************/
+.userinfobox {
-moz-border-radius-bottomleft:20px;
-moz-border-radius-bottomright:20px;
}
-.sideblock .content {
+.groupinfobox {
-moz-border-radius-bottomleft:20px;
-moz-border-radius-bottomright:20px;
}
+#user-view .left {
+ -moz-border-radius-bottomleft:20px;
+}
+
+/*******************************************************************
+*** Modules: Assignment
+*******************************************************************/
+
+/*******************************************************************
+*** Modules: Chat
+*******************************************************************/
+/*******************************************************************
+*** Modules: Choice
+*******************************************************************/
+
+/*******************************************************************
+*** Modules: Forum
+*******************************************************************/
.forumpost {
-moz-border-radius-bottomleft:20px;
-moz-border-radius-bottomright:20px;
@@ -178,43 +275,94 @@ table.minicalendar td {
-moz-border-radius-bottomright:20px;
}
-#user-view .left {
- -moz-border-radius-bottomleft:20px;
+.forumpostmessage {
+ -moz-border-radius-bottomright:20px;
}
-.categoryboxcontent, .courseboxcontent {
- -moz-border-radius:20px;
+
+/*******************************************************************
+*** Modules: Glossary
+*******************************************************************/
+.categoryheader {
+ -moz-border-radius-topleft:15px;
+ -moz-border-radius-topright:15px;
}
-.forumpostmessage {
- -moz-border-radius-bottomright:20px;
+.glossaryformatheader {
+ -moz-border-radius-topleft:15px;
+ -moz-border-radius-topright:15px;
}
-.glossarycomment {
- -moz-border-radius-bottomleft:20px;
- -moz-border-radius-bottomright:20px;
+.entryboxheader {
+ -moz-border-radius-topleft:10px;
+ -moz-border-radius-topright:10px;
}
-.glossarycomment .side {
- -moz-border-radius-bottomleft:20px;
+.entrybox {
+ -moz-border-radius-bottomleft:10px;
+ -moz-border-radius-bottomright:10px;
}
-.glossarycomment .entry {
- -moz-border-radius-bottomright:20px;
+.glossarypost {
+ -moz-border-radius-bottomleft:15px;
+ -moz-border-radius-bottomright:15px;
}
-.loginbox {
+.glossarypost .side {
+ -moz-border-radius-bottomleft:15px;
+}
+
+.encyclopedia .entrylowersection {
+ -moz-border-radius-bottomright:15px;
+}
+.glossarycomment {
-moz-border-radius-bottomleft:20px;
-moz-border-radius-bottomright:20px;
}
-.loginbox .content.left {
+.glossarycomment .side {
-moz-border-radius-bottomleft:20px;
}
-.loginbox .content.right {
+
+.glossarycomment .entry {
-moz-border-radius-bottomright:20px;
}
-body#course-user .section {
- -moz-border-radius:20px;
-}
+
+
+/*******************************************************************
+*** Modules: Journal
+*******************************************************************/
+
+/*******************************************************************
+*** Modules: Label
+*******************************************************************/
+
+/*******************************************************************
+*** Modules: Lesson
+*******************************************************************/
+
+/*******************************************************************
+*** Modules: Quiz
+*******************************************************************/
+
+/*******************************************************************
+*** Modules: Resource
+*******************************************************************/
+
+/*******************************************************************
+*** Modules: Scorm
+*******************************************************************/
+
+/*******************************************************************
+*** Modules: Survey
+*******************************************************************/
+
+/*******************************************************************
+*** Modules: Wiki
+*******************************************************************/
+
+/*******************************************************************
+*** Modules: Workshop
+*******************************************************************/
+

0 comments on commit cae01fc

Please sign in to comment.