Skip to content

Commit

Permalink
MDL-38406 Separate categories view and edit page - alter CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Mar 10, 2013
1 parent 8673a98 commit 6573f72
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 28 deletions.
20 changes: 9 additions & 11 deletions theme/base/style/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,14 @@

.path-admin .incompatibleblockstable td.c0 {font-weight: bold;}

#page-admin-course-category .addcategory {padding: 10px;}
#page-admin-course-index .buttons,
#page-admin-course-category .buttons {margin-bottom: 15px;}
#page-admin-course-index .editcourse {margin:20px auto;}
#page-admin-course-index .editcourse th,
#page-admin-course-index .editcourse td {padding-left:10px;padding-right:10px;}
#page-admin-course-index .editcourse .count {text-align:right;}
#page-admin-course-index.dir-rtl .editcourse td[align="left"] {text-align: right;}
#page-admin-course-index.dir-rtl .editcourse td[align="right"] {text-align: left;}
#page-admin-course-manage .addcategory {padding: 10px;}
#page-admin-course-manage .buttons {margin-bottom: 15px;}
#page-admin-course-manage .editcourse {margin:20px auto;}
#page-admin-course-manage .editcourse th,
#page-admin-course-manage .editcourse td {padding-left:10px;padding-right:10px;}
#page-admin-course-manage .editcourse .count {text-align:right;}
#page-admin-course-manage.dir-rtl .editcourse td[align="left"] {text-align: right;}
#page-admin-course-manage.dir-rtl .editcourse td[align="right"] {text-align: left;}

#page-admin-report-security-index .timewarninghidden {display:none;}
#page-admin-report-security-index .statuswarning {background-color: #f0e000;}
Expand Down Expand Up @@ -112,8 +111,7 @@
#page-admin-qtypes #qtypes img { padding-right: .45em; vertical-align: text-bottom; }

.path-admin-roles .buttons .singlebutton,
#page-admin-course-index .buttons .singlebutton,
#page-admin-course-category .buttons .singlebutton {display: inline;padding: 5px;}
#page-admin-course-manage {display: inline;padding: 5px;}

.path-admin-roles .capabilitysearchui {text-align: left;margin-left: auto;margin-right: auto;}
#page-admin-roles-define .topfields {margin: 1em 0 2em;}
Expand Down
2 changes: 1 addition & 1 deletion theme/canvas/style/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
margin: 0;
}

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

Expand Down
6 changes: 3 additions & 3 deletions theme/canvas/style/tables.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
.editcourse td,
.generaltable th,
.generaltable td,
#page-admin-course-category .generalbox th,
#page-admin-course-category .generalbox td,
#page-admin-course-manage .generalbox th,
#page-admin-course-manage .generalbox td,
#attempts th,
#attempts td,
.environmenttable th,
Expand All @@ -14,7 +14,7 @@
border-collapse: collapse;
}

#page-admin-course-category .generalbox th,
#page-admin-course-manage .generalbox th,
.editcourse .header,
.results .header,
#attempts .header,
Expand Down
6 changes: 3 additions & 3 deletions theme/formal_white/style/formal_white.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ h2.main, h3.main, h4.main {margin:1em;padding:0;text-align:center;}
.editcourse td,
.generaltable th,
.generaltable td,
#page-admin-course-category .generalbox th,
#page-admin-course-category .generalbox td,
#page-admin-course-manage .generalbox th,
#page-admin-course-manage .generalbox td,
#attempts th,
#attempts td,
.plugincompattable th,
Expand Down Expand Up @@ -160,7 +160,7 @@ tr.rolecap {border-top:1px dashed #F30;}
tr.rolecapheading + tr.rolecap {border-top:none;}

/* course categories */
#page-admin-course-index .editcourse td div.singleselect {text-align:left;}
#page-admin-course-manage .editcourse td div.singleselect {text-align:left;}

/* course */
/* ul.topics .section span.commands {float:right;} /* distanza dei comandi dagli elementi del corso */
Expand Down
2 changes: 1 addition & 1 deletion theme/mymobile/style/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ div.gradeparent, #attemptsform .no-overflow, .usersubmissions .no-overflow {
#attemptsform .no-overflow, .usersubmissions .no-overflow {
max-height: 200px;
}
.userenrolment .col_enrol .enrolment, #page-admin-course-category .generalbox th, .editcourse .header, .results .header, #attempts .header, .generaltable .header, .plugincompattable th, .environmenttable th, .forumheaderlist th, .path-mod-assignment #dates .c0, .userenrolment tr.r1, .userenrolment tr.r0, table#user-grades .catlevel1, table#user-grades .r1, .path-grade-report-grader table tr.even td.cell, .path-grade-report-grader table tr.even th, .gradestable .lastrow td.cell, .gradestable .lastrow th.header, table#user-grades tr.avg td.cell, table#fixed_column tr.odd th, table#user-grades tr.odd th, table#user-grades tr.odd td.cell, table#user-grades td.topleft, table#user-grades .catlevel1, table#user-grades .r1, .path-grade-report-grader table tr.even td.cell, .path-grade-report-grader table tr.even th {
.userenrolment .col_enrol .enrolment, #page-admin-course-manage .generalbox th, .editcourse .header, .results .header, #attempts .header, .generaltable .header, .plugincompattable th, .environmenttable th, .forumheaderlist th, .path-mod-assignment #dates .c0, .userenrolment tr.r1, .userenrolment tr.r0, table#user-grades .catlevel1, table#user-grades .r1, .path-grade-report-grader table tr.even td.cell, .path-grade-report-grader table tr.even th, .gradestable .lastrow td.cell, .gradestable .lastrow th.header, table#user-grades tr.avg td.cell, table#fixed_column tr.odd th, table#user-grades tr.odd th, table#user-grades tr.odd td.cell, table#user-grades td.topleft, table#user-grades .catlevel1, table#user-grades .r1, .path-grade-report-grader table tr.even td.cell, .path-grade-report-grader table tr.even th {
background-color:inherit !important;
background: inherit !important;
}
Expand Down
2 changes: 1 addition & 1 deletion theme/splash/style/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ li.activity {
.section_add_menus {
text-align:left;
}
#page-admin-course-category .generalbox td,
#page-admin-course-manage .generalbox td,
#attempts td,
.editcourse td,
.generaltable td,
Expand Down
4 changes: 2 additions & 2 deletions theme/splash/style/pagelayout.css
Original file line number Diff line number Diff line change
Expand Up @@ -517,14 +517,14 @@ input[type=text],textarea,select,input[type=password]{
}
.editcourse th,
.generaltable th,
#page-admin-course-category .generalbox th,
#page-admin-course-manage .generalbox th,
#attempts th,
.plugincompattable th,
.environmenttable th,.forumheaderlist th {
padding:5px;
}
.editcourse td,.generaltable td,
#page-admin-course-category .generalbox td,
#page-admin-course-manage .generalbox td,
#attempts td,
.plugincompattable td,
.environmenttable td,
Expand Down
10 changes: 4 additions & 6 deletions theme/standard/style/admin.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
/** Admin **/

#page-admin-course-category .rolelink {text-align:right;padding:10px;}
#page-admin-course-manage .rolelink {text-align:right;padding:10px;}

#page-admin-lang .generalbox,
#page-admin-course-index .singlebutton,
#page-admin-course-index .addcategory,
#page-admin-course-category .addcategory,
#page-admin-course-manage .singlebutton,
#page-admin-course-manage .addcategory,
#page-admin-stickyblocks .generalbox,
#page-admin-maintenance .buttons,
#page-admin-course-index .buttons,
#page-admin-course-category .buttons,
#page-admin-course-manage .buttons,
#page-admin-index .copyright,
#page-admin-index .copyrightnotice,
#page-admin-index .adminerror,
Expand Down

0 comments on commit 6573f72

Please sign in to comment.