Skip to content

Commit

Permalink
theme-anomaly MDL-21918 Tidy up of whitespace and CSS files in anomal…
Browse files Browse the repository at this point in the history
…y theme
  • Loading branch information
Sam Hemelryk committed Sep 22, 2010
1 parent 7cfa8ae commit 9fa5887
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 45 deletions.
2 changes: 1 addition & 1 deletion theme/anomaly/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

$THEME->name = 'anomaly';

$THEME->sheets = array('base', 'general', 'layout', 'browser');
$THEME->sheets = array('base', 'general', 'browser');
/// This variable is an array containing the names of all the
/// stylesheet files you want included in this theme, and in what order
////////////////////////////////////////////////////////////////////////////////
Expand Down
35 changes: 4 additions & 31 deletions theme/anomaly/style/base.css
Original file line number Diff line number Diff line change
@@ -1,72 +1,45 @@
body, body.has_dock {margin:25px 3%;}
body, div, p, li, input, option, textarea {font-size: 10pt; line-height: 1.5em;}

body, div, p, li, input, option, textarea, h1, h2, h3, h4, h5 {font-family: Georgia,Times,"Times New Roman",serif;}

h1.main, h2.main, h3.main, h4.main, h5.main, h6.main {text-align: center;}

.generalbox {padding: 10px; margin-bottom: 15px;}

.generaltable, .userinfobox {margin-left: auto; margin-right: auto;}

#notice.generalbox {margin-left: auto; margin-right: auto; width: 60%;}

.notifyproblem {padding: 10px; color: #660000; text-align: center;}

.notifysuccess {padding: 10px; color: #006600; text-align: center;}

.paging {text-align: center;}

/**
* Tabs
*/

.tabtree {position: relative; margin-bottom: 3.5em;}

.tabtree .tabrow0 {text-align: center; width: 100%; margin: 1em 0px;}

.tabtree .tabrow0 li {display: inline; margin-right: -4px;}

.tabtree .tabrow0 li.here a {position: relative; z-index: 102;}

.tabtree .tabrow0 li a {background-image: url([[pix:theme|tab/left]]); padding-left: 14px; padding-top: 10px; background-repeat: no-repeat; padding-bottom: 3px; margin-bottom: -1px;}

.tabtree .tabrow0 li a:hover {background-image: url([[pix:theme|tab/left_hover]]);}

.tabtree .tabrow0 li a span {background-image: url([[pix:theme|tab/right]]); background-repeat: no-repeat; background-position: 100% 0%; padding-right: 14px; padding-top: 10px; padding-bottom: 3px;}

.tabtree .tabrow0 li a:hover span {background-image: url([[pix:theme|tab/right_hover]]);}

.tabtree .tabrow0 ul,
.tabtree .tabrow0 div {background-image: url([[pix:theme|tab/tabrow1]]); background-position: 0% 50%; position: absolute; width: 100%; border-top: 1px solid #aaa; padding: 0.25em 0px; top: 100%; margin: 0px;}

.tabtree .tabrow0 .empty {height: 1px; overflow: hidden; padding: 0px; position: absolute;}

.tabtree .tabrow1 li a,
.tabtree .tabrow1 li a:hover,
.tabtree .tabrow1 li a span,
.tabtree .tabrow1 li a:hover span {background-image: none !important;}

.groupmanagementtable {width: 90%;}

.groupmanagementtable td {vertical-align: top; border-width: 0px;}

.groupmanagementtable td p {margin: 0px;}

/* Themes
----------------------------*/

/**
* Themes
*/
#page-admin-theme-index .generalbox {border: none;background: none;}

.theme_screenshot {float: left; width: 300px;}

.theme_screenshot img {width: 275px;}

.theme_screenshot h2 {font-size: 2em; margin-top: 0;}

.theme_screenshot h3 {font-size: 0.9em; margin: 1em 0 0;}

.theme_screenshot p {font-size: 0.9em; margin: 0 0 1em;}

.theme_description {margin-left: 300px;}

.theme_description h2 {padding-top: 0.5em;}
20 changes: 10 additions & 10 deletions theme/anomaly/style/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,34 @@ html, body {background-color:#C8C9C7;}

#page-header .navbar {background-color:#697F55;width:100%;}
#page-header .navbar {color:#000;}
#page-header .navbar a:link {color:#fff;}
#page-header .navbar a:link,
#page-header .navbar a:visited {color:#fff;}
#page-header .navbar .breadcrumb {margin:5px 1em;float:left;}
#page-header .navbar .navbutton {float:right;margin:5px 1em;}
#page-header .navbar .breadcrumb,
#page-header .navbar .navbutton {margin:5px 1em;}

/** General **/
.generalbox {border: 1px solid #DDDDDD;}
.generaltable td {border-width:0px;}
.sitetopic {border-width:0px;}
.generaltable td {border-width:0;}
.sitetopic {border-width:0;}
.headingblock {margin-bottom:10px;border-bottom:1px solid #697F55;background-color:#E3E3E3;padding:4px 5px;}

.coursebox {width:100%;margin:10px 0px;border-bottom:1px solid #E3E3E3;overflow:hidden;padding-bottom:10px;}
.coursebox .info {width:35%;float:left;}
.coursebox .summary {width:60%;float:right;}

.course-content ul {margin:0px;}
.course-content .headingblock.outline {margin-top:0px;}
.course-content ul {margin:0;}
.course-content .headingblock.outline {margin-top:0;}
.course-content .section.main {border:1px solid #E3E3E3;margin-bottom:10px;}
.course-content .section.main .left.side {float:left;width:20px;padding:5px;}
.course-content .section.main .right.side {float:right;width:20px;padding:5px;}
.course-content .section.main .content {margin:0px 30px 10px 30px;background-color:#FFF;}
.course-content .section.main .content {margin:0 30px 10px 30px;background-color:#FFF;}
.course-content .section.main .content .section_add_menus {text-align:right;}

#course-user .section {border:1px solid #DDD;margin:0px 5% 1.5em 5%;}
#course-user .section {border:1px solid #DDD;margin:0 5% 1.5em 5%;}

#course-user .section h2,
#course-user .section .content {margin:5px 1em;}
#course-user .section table td {border:0px;}
#course-user .section table td {border:0;}

.generaltable {border:1px solid #DDD;}
.generaltable .cell {background-color:#FFF;border:1px solid #EEE;border-collapse: collapse;}
Expand Down
3 changes: 0 additions & 3 deletions theme/anomaly/style/layout.css

This file was deleted.

0 comments on commit 9fa5887

Please sign in to comment.