Skip to content

Commit

Permalink
MDL-22875 - Stylesheet cleanup and refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Malley committed Jun 25, 2010
1 parent ac6b6a4 commit 8affa0e
Show file tree
Hide file tree
Showing 9 changed files with 840 additions and 205 deletions.
106 changes: 94 additions & 12 deletions theme/canvas/style/admin.css
@@ -1,23 +1,105 @@
#page-admin-index #notice { text-align:center;width:50%;margin:15px auto;padding:10px 10px; }
#page-admin-index #notice strong { background:#ffc; }
#page-admin-index .notifysuccess { text-align:center;font-weight:bold;padding:10px; }
#page-admin-index h2.main { padding:1em 0; }
#page-admin-index #notice {
text-align: center;
width: 50%;
margin: 15px auto;
padding: 10px 10px;
}

#page-admin-index .adminwarning { border:1px solid #a35f1d;background:#ffeeba;padding:10px;margin:10px auto;width:75%; }
#page-admin-index .copyright { text-align:center;margin:20px auto; }
#page-admin-index #notice strong {
background: #ffc;
}

#adminsettings .form-buttons { width:100%;text-align:center;margin:10px 0; }
#page-admin-index .notifysuccess {
text-align: center;
font-weight: bold;
padding: 10px;
}

#page-admin-index h2.main {
padding: 1em 0;
}

#page-admin-index .adminwarning {
border: 1px solid #a35f1d;
background: #ffeeba;
padding: 10px;
margin: 10px auto;
width: 75%;
}

#page-admin-index .copyright {
text-align: center;
margin: 20px auto;
}

#adminsettings .form-buttons {
width: 100%;
text-align: center;
margin: 10px 0;
}

#authmenu .generalbox {
border: none;
}

#page-admin-cohort-index .generaltable,
#page-admin-user .generaltable {width:100%; }
#page-admin-user .generaltable {
width: 100%;
}

#page-admin-roles-manage .generaltable {
width: 95%;
margin: 1em auto;
}

#page-admin-roles-allow .generalbox {
margin: 0 auto 1em;
width: 65%;
padding: 10px;
}

.editcourse .singleselect {
margin: 0;
}

#page-admin-course-category .generalbox {
margin-bottom: 0;
}

#page-admin-roles-manage .generaltable {width: 95%;margin: 1em auto;}
#page-admin-roles-allow .generalbox {margin:0 auto 1em;width:65%;padding: 10px;}
/* Themes
----------------------------*/

.editcourse .singleselect {margin: 0;}
#page-admin-theme-index .generalbox {
border: none;
}

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

.theme_screenshot img {
width: 275px;
}

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

.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;
}

#page-admin-course-category .generalbox {margin-bottom:0;}
.theme_description h2 {
padding-top: 0.5em;
}
79 changes: 65 additions & 14 deletions theme/canvas/style/blocks.css
@@ -1,22 +1,73 @@
.block {padding: 0}
.block .footer {margin-top: 10px;margin-bottom: 0;text-align: center;}
.block {
padding: 0
}

.block_action .reloadnavigation { margin-right: 3px; }
.block .footer {
margin-top: 10px;
margin-bottom: 0;
text-align: center;
}

.block_news_items .newlink {text-align: center;margin-bottom: 5px;}
.block_news_items .post .head { font-style: italic;font-size: 0.9em;margin-top: 10px;}
.block_news_items .post .date {float: right;text-align: right;}
.block_news_items .post .name {float: left;color: #555;}
.block_action .reloadnavigation {
margin-right: 3px;
}

.block_calendar_upcoming .event { font-weight: bold;}
.block_calendar_upcoming .date {font-weight: normal;font-size: 0.85em;font-style: italic;margin-left: 20px;}
.block_news_items .newlink {
text-align: center;
margin-bottom: 5px;
}

.block_recent_activity .activitydate {font-size: 0.9em;color: #444;margin-bottom: 5px;}
.block_recent_activity .activityhead {font-size: 0.95em;margin: 0.5em 0;}
.block_news_items .post .head {
font-style: italic;
font-size: 0.9em;
margin-top: 10px;
}

.block_loancalc table td {padding: 0;}
.block_news_items .post .date {
float: right;
text-align: right;
}

.block_news_items .post .name {
float: left;
color: #555;
}

.block_calendar_upcoming .event {
font-weight: bold;
}

.block_calendar_upcoming .date {
font-weight: normal;
font-size: 0.85em;
font-style: italic;
margin-left: 20px;
}

.block_recent_activity .activitydate {
font-size: 0.9em;
color: #444;
margin-bottom: 5px;
}

.block_recent_activity .activityhead {
font-size: 0.95em;
margin: 0.5em 0;
}

.block_loancalc table td {
padding: 0;
}

.block_messages .info,
.block_online_users .info {text-align: center;font-size: 0.85em;color: #444;margin-bottom: 7px;}
.block_online_users .info {
text-align: center;
font-size: 0.85em;
color: #444;
margin-bottom: 7px;
}

.block_blog_menu .list li {font-size: 0.9em;margin: 0.25em 0;}
.block_blog_menu .list li {
font-size: 0.9em;
margin: 0.25em 0;
}
50 changes: 36 additions & 14 deletions theme/canvas/style/core.css
@@ -1,3 +1,13 @@
html {
height: 100%;
}

body {
min-height: 100%;
margin: 0;
padding: 0;
}

.sitetopic {
border: none;
}
Expand All @@ -21,6 +31,10 @@
margin: 1em 0;
}

.navbutton .singlebutton {
margin: 0;
}

.generalbox {
border-color: #ddd;
}
Expand Down Expand Up @@ -311,28 +325,28 @@
}

.path-user .descriptionbox {
margin-left: 110px;
margin-left: 110px;
border: 1px solid #ddd;
padding: 10px;
}

.path-user .description {
padding-bottom: 15px;
border-bottom: 1px solid #eee;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
}

.userprofile .list {
margin-top: 10px;
margin-top: 10px;
}

.userprofile .list td {
padding-top: 3px;
padding-bottom: 3px;
padding-top: 3px;
padding-bottom: 3px;
}

.userprofile .list .c0 {
padding-left: 0;
font-weight: bold;
padding-left: 0;
font-weight: bold;
}

#page-user-view .buttons {
Expand Down Expand Up @@ -385,14 +399,13 @@
}

.path-admin-roles .generaltable th {
vertical-align: middle;
vertical-align: middle;
}

.path-admin-roles .generaltable .lastcol {
width:15%;
width: 15%;
}


.path-admin-roles .backlink {
text-align: center;
}
Expand All @@ -403,7 +416,7 @@
.blog_entry .audience {
color: #444;
margin: 0 0 0.5em;
font-size: 0.9em;
font-size: 0.9em;
}

.blog_entry .tags {
Expand Down Expand Up @@ -440,7 +453,7 @@
}

#tag-user-table {
width:95%;
width: 95%;
margin: 0 auto;
}

Expand Down Expand Up @@ -506,6 +519,15 @@
/* Footer
-----------------------*/

#page-footer .logininfo {
padding: 1em 0;
}

#page-footer .homelink,
#page-footer .sitelink {
padding: 1em 0;
}

.homelink a {
text-decoration: none;
border-top: 1px solid #cecece;
Expand All @@ -520,4 +542,4 @@
border-top: 2px solid #8a8a8a;
border-right: 1px solid #cecece;
border-left: 2px solid #8a8a8a;
}
}

0 comments on commit 8affa0e

Please sign in to comment.