Dan Poltawski 2016-07-05 22:22:06 +01:00
parent 23bb9e242a
commit 0e878352f1
14 changed files with 129 additions and 86 deletions

View File

@ -561,7 +561,8 @@ img.iconsmall {
.singlebutton {
margin: 5px 0;
padding: 0;
div, input {
div,
input {
margin: 0 3px 0 0;
}
}
@ -570,7 +571,8 @@ img.iconsmall {
.updateavailableinstallall {
margin: 5px 0;
padding: 0;
div, input {
div,
input {
margin: 0 3px 5px 0;
}
}
@ -632,7 +634,8 @@ img.iconsmall {
.singlebutton {
margin: 5px 0;
padding: 0;
div, input {
div,
input {
margin: 0 3px 0 0;
}
}
@ -648,7 +651,8 @@ img.iconsmall {
.singlebutton {
margin: 5px 0;
padding: 0;
div, input {
div,
input {
margin: 0 3px 0 0;
}
}
@ -661,7 +665,8 @@ img.iconsmall {
.muted;
}
.status-missing, .status-downgrade {
.status-missing,
.status-downgrade {
td {
background-color: @errorBackground;
}
@ -701,7 +706,8 @@ img.iconsmall {
.singlebutton {
margin: 5px 0;
padding: 0;
div, input {
div,
input {
margin: 0 3px 0 0;
}
}
@ -732,13 +738,15 @@ img.iconsmall {
// Available plugin update notification.
#plugins-check-page, #plugins-control-panel {
#plugins-check-page,
#plugins-control-panel {
.pluginupdateinfo {
background-color: @infoBackground;
&.maturity50 {
background-color: @errorBackground;
}
&.maturity100, &.maturity150 {
&.maturity100,
&.maturity150 {
background-color: @warningBackground;
}
padding: 5px;
@ -753,7 +761,8 @@ img.iconsmall {
.singlebutton {
margin: 5px 0;
padding: 0;
div, input {
div,
input {
margin: 0 3px 0 0;
}
}
@ -767,7 +776,8 @@ img.iconsmall {
}
.continue {
padding: 0;
div, input {
div,
input {
margin: 0;
}
}

View File

@ -24,7 +24,8 @@
.path-calendar {
.calendartable {
width: 100%;
th, td {
th,
td {
width: 14%;
vertical-align: top;
text-align: center;
@ -144,7 +145,8 @@
}
}
.calendartable {
td, li {
td,
li {
padding: 5px;
}
li {
@ -250,7 +252,8 @@
}
}
.calendartable {
td, li {
td,
li {
text-align: right;
}
li {
@ -306,7 +309,8 @@
max-width: 280px;
margin: 0 auto;
width: 100%;
th, td {
th,
td {
padding: 2px;
font-size: 0.8em;
text-align: center;

View File

@ -277,22 +277,30 @@ img.iconsmall {
vertical-align: middle;
width: 12px;
}
img.iconhelp, .helplink img {
img.iconhelp,
.helplink img {
height: 16px;
padding-left: 3px;
vertical-align: text-bottom;
width: 16px;
}
h1 img.iconhelp, h1 img.icon,
h2 img.iconhelp, h2 img.icon,
h3 img.iconhelp, h3 img.icon,
h4 img.iconhelp, h4 img.icon,
h5 img.iconhelp, h5 img.icon,
h6 img.iconhelp, h6 img.icon {
h1 img.iconhelp,
h1 img.icon,
h2 img.iconhelp,
h2 img.icon,
h3 img.iconhelp,
h3 img.icon,
h4 img.iconhelp,
h4 img.icon,
h5 img.iconhelp,
h5 img.icon,
h6 img.iconhelp,
h6 img.icon {
vertical-align: middle;
padding: 4px;
}
.dir-rtl img.iconhelp, .dir-rtl .helplink img {
.dir-rtl img.iconhelp,
.dir-rtl .helplink img {
padding-right: 3px;
padding-left: 0;
}
@ -319,11 +327,13 @@ img.iconkbhelp {
height: 17px;
width: 49px;
}
img.icon-pre, .dir-rtl img.icon-post {
img.icon-pre,
.dir-rtl img.icon-post {
padding-right: 3px;
padding-left: 0;
}
img.icon-post, .dir-rtl img.icon-pre {
img.icon-post,
.dir-rtl img.icon-pre {
padding-left: 3px;
padding-right: 0;
}
@ -684,13 +694,13 @@ table.mod_index {
.comment-list li.first {
display: none;
}
.comment-paging{
.comment-paging {
text-align: center;
}
.comment-paging .pageno{
.comment-paging .pageno {
padding: 2px;
}
.comment-paging .curpage{
.comment-paging .curpage {
border: 1px solid #CCC;
}
.comment-message .picture {
@ -720,7 +730,7 @@ table.mod_index {
right: auto;
margin: .3em;
}
.comment-report-selectall{
.comment-report-selectall {
display: none;
}
.comment-link {
@ -729,10 +739,10 @@ table.mod_index {
.jsenabled .comment-link {
display: block;
}
.jsenabled .showcommentsnonjs{
.jsenabled .showcommentsnonjs {
display: none;
}
.jsenabled .comment-report-selectall{
.jsenabled .comment-report-selectall {
display: inline;
}
/**
@ -1003,7 +1013,7 @@ tr.flagged-tag a {
.smartselect .smartselect_mask {
background-color: #fff;
}
.smartselect ul {
.smartselect ul {
padding: 0;
margin: 0;
}
@ -1248,7 +1258,9 @@ tr.flagged-tag a {
}
}
.user-enroller-panel .uep-search-results .user {
.count, .picture, .details {
.count,
.picture,
.details {
float: right;
}
.options .enrol {
@ -1445,7 +1457,8 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
text-align: right;
}
/** Fix TinyMCE editor right to left **/
.dir-rtl .clearlooks2.ie9 .mceAlert .mceMiddle span,.dir-rtl .clearlooks2 .mceConfirm .mceMiddle span {
.dir-rtl .clearlooks2.ie9 .mceAlert .mceMiddle span,
.dir-rtl .clearlooks2 .mceConfirm .mceMiddle span {
top: 44px;
}
.dir-rtl .o2k7Skin table,
@ -1475,7 +1488,8 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
text-align: center;
}
.initialbar {
a, strong {
a,
strong {
padding-left: 3px;
padding-right: 3px;
}
@ -1951,7 +1965,7 @@ table.collection .description {
.dir-rtl table.collection {
.name,
.criteria,
.description {
.description {
text-align: right;
}
}
@ -2114,7 +2128,7 @@ ul.badges {
.statusbox .activatebadge {
display: inline-block;
}
.statusbox .activatebadge input[type=submit]{
.statusbox .activatebadge input[type=submit] {
margin: 3px;
}
.activatebadge {
@ -2281,7 +2295,7 @@ img#persona_signin {
.toggle-display {
.opacity(100);
}
.menu-action-text {
.menu-action-text {
display: inline;
}
}
@ -2301,7 +2315,7 @@ img#persona_signin {
}
}
.moodle-actionmenu[data-enhanced].show {
.moodle-actionmenu[data-enhanced].show {
position: relative;
@ -2378,7 +2392,7 @@ img#persona_signin {
}
.dir-rtl {
.moodle-actionmenu[data-enhanced].show {
.moodle-actionmenu[data-enhanced].show {
.menu {
text-align: right;
left: 0;

View File

@ -279,7 +279,7 @@
margin-top: 5px;
list-style: none;
}
.course-content .section-summary .section-title {
.course-content .section-summary .section-title {
margin: 2px 5px 10px 5px;
}
.course-content .section-summary .summarytext {
@ -339,7 +339,8 @@
}
.course-content ul li.section.hidden {
.sectionname > span,
.content > div, /* All the divs but the activities which are in a UL. */
.content > div,
/* All the divs but the activities which are in a UL. */
.activity .activityinstance {
opacity: .5;
}
@ -750,7 +751,7 @@ span.editinstructions {
font-size: 75%;
}
.course_category_tree .category > .info > .categoryname{
.course_category_tree .category > .info > .categoryname {
background-image: url([[pix:moodle|t/collapsed_empty]]);
background-repeat: no-repeat;
padding: 2px 18px;
@ -765,17 +766,17 @@ span.editinstructions {
background-image: url([[pix:moodle|t/expanded]]);
cursor: pointer;
}
.course_category_tree .category.with_children.collapsed >.info > .categoryname {
.course_category_tree .category.with_children.collapsed > .info > .categoryname {
background-image: url([[pix:moodle|t/collapsed]]);
}
.dir-rtl .course_category_tree .category.with_children.collapsed > .info > .categoryname {
background-image: url([[pix:moodle|t/collapsed_rtl]]);
}
.course_category_tree .category.collapsed>.content {
.course_category_tree .category.collapsed > .content {
display: none;
}
.course_category_tree .category >.info {
.course_category_tree .category > .info {
.well;
min-height: 0;
padding: 0;
@ -783,7 +784,7 @@ span.editinstructions {
margin-bottom: 3px;
clear: both;
}
.course_category_tree.frontpage-category-names .category >.info {
.course_category_tree.frontpage-category-names .category > .info {
background: none;
border: none;
margin: 0;

View File

@ -34,7 +34,8 @@ table {
table.flexible,
.generaltable,
.generaltable thead:first-child tr:first-child {
td , th {
td,
th {
text-align: right;
}
}
@ -46,7 +47,8 @@ table {
}
#page-admin-course-index.dir-rtl .editcourse {
td , th {
td,
th {
text-align: right;
}
}

View File

@ -613,7 +613,7 @@ a.ygtvspacer:hover {
.file-picker .fp-login-form .fp-login-input .input {
text-align: left;
}
.file-picker .fp-login-form input[type="checkbox"]{
.file-picker .fp-login-form input[type="checkbox"] {
width: 15px;
height: 15px;
}
@ -764,10 +764,10 @@ a.ygtvspacer:hover {
display: none;
}
// File Manager
.filemanager-loading{
.filemanager-loading {
display: none;
}
.jsenabled .filemanager-loading{
.jsenabled .filemanager-loading {
display: block;
margin-top: 100px;
}
@ -804,7 +804,7 @@ a.ygtvspacer:hover {
}
// File Manager layout
.filemanager {
.fp-restrictions{
.fp-restrictions {
text-align: right;
}
}
@ -813,7 +813,7 @@ a.ygtvspacer:hover {
border: 1px solid #BBBBBB;
border-bottom: none;
}
.filemanager-toolbar{
.filemanager-toolbar {
padding: 4px;
overflow: hidden;
}
@ -833,8 +833,7 @@ a.ygtvspacer:hover {
.fp-toolbar .fp-tb-help,
.fp-toolbar .fp-tb-manage,
.fp-toolbar .fp-tb-logout,
.fp-toolbar .fp-tb-refresh
{
.fp-toolbar .fp-tb-refresh {
border: 1px solid #CCC;
border-bottom: 1px solid #B3B3B3;
border-radius: 4px;
@ -859,8 +858,7 @@ a.ygtvspacer:hover {
.fp-tb-help a,
.fp-tb-manage a,
.fp-tb-logout a,
.fp-tb-refresh a
{
.fp-tb-refresh a {
display: block;
width: 30px;
height: 30px;
@ -889,7 +887,7 @@ a.ygtvspacer:hover {
min-height: 140px;
position: relative;
}
.filemanager .fp-content{
.filemanager .fp-content {
overflow: auto;
max-height: 472px;
min-height: 157px;
@ -957,7 +955,7 @@ a.ygtvspacer:hover {
background-color: #FFFFFF !important;
border-left: 0 solid #FFFFFF;
}
.filemanager .fp-filename-icon.fp-hasreferences .fp-reficons1{
.filemanager .fp-filename-icon.fp-hasreferences .fp-reficons1 {
background: url('[[pix:theme|fp/link_sm]]') no-repeat 0 0;
height: 100%;
width: 100%;
@ -1196,7 +1194,7 @@ a.ygtvspacer:hover {
// RTL Overrides
.dir-rtl {
.filemanager {
.fp-restrictions{
.fp-restrictions {
text-align: left;
}
}

View File

@ -372,7 +372,7 @@ input[type="checkbox"] {
.singleselect {
display: inline-block;
form,
select{
select {
margin: 0;
}
}
@ -439,7 +439,7 @@ fieldset.coursesearchbox label {
width: auto;
}
}
.fitem_fcheckbox{
.fitem_fcheckbox {
.fitemtitle,
.felement {
display: inline-block;

View File

@ -72,7 +72,8 @@
}
.gradingform_rubric.editor {
.addlevel, .addcriterion {
.addlevel,
.addcriterion {
input {
// Fallback for IE8: we use Bootstrap 2's button styles normally, but
// IE8 ignores background-image: linear-gradient rules.
@ -183,7 +184,8 @@
// Should handle at least three chars with room to spare.
float: none;
width: 2em;
&.hiddenelement,&.pseudotablink {
&.hiddenelement,
&.pseudotablink {
// Zero out the width if it's still in the block flow for some reason
// when hidden
width: 0;

View File

@ -158,7 +158,7 @@ table.message .searchresults td {
}
}
}
.message .messagearea {
.message .messagearea {
@media screen and (min-width: 1000px) {
border-left: 1px solid @tableBorder;
padding: 0 8px;
@ -314,14 +314,15 @@ table.message .searchresults td {
.message .messagearea .messagerecent .singlemessage .messagedate {
float: right;
}
.message .hiddenelement {
.message .hiddenelement {
display: none;
}
// not just using hidden as mform adds that class to its fieldset */
.message .visible {
display: inline;
}
.message #usergroupselector.fieldset, .message #viewing {
.message #usergroupselector.fieldset,
.message #viewing {
width: 100%;
}
.messagesearchresults {

View File

@ -45,7 +45,7 @@ select {
text-align: right;
}
thead .header th,
tbody .discussion td{
tbody .discussion td {
&.discussionsubscription {
width: 16px;
padding-left: 0.5em;
@ -53,7 +53,9 @@ select {
}
}
.discussion {
.author, .replies, .lastpost {
.author,
.replies,
.lastpost {
white-space: normal;
}
.discussionsubscription,
@ -148,7 +150,8 @@ select {
border-top: 2px solid @tableBorder;
}
.maincalendar .calendarmonth td,.maincalendar .calendarmonth th {
.maincalendar .calendarmonth td,
.maincalendar .calendarmonth th {
border: 1px dotted @tableBorder;
}
@ -303,7 +306,11 @@ div#dock {
> tbody > tr:nth-of-type(even) {background-color: @tableBackgroundAccent;}
.rblock label {text-align: center;}
}
.resultgraph, .reportsummary, .studentreport, .reportbuttons, .centerpara {
.resultgraph,
.reportsummary,
.studentreport,
.reportbuttons,
.centerpara {
text-align: center;
}
}
@ -384,7 +391,7 @@ div#dock {
.userbutton {
height: 40px;
line-height: 40px;
.avatars{
.avatars {
display: inline-block;
height: 36px;
width: 36px;

View File

@ -386,10 +386,10 @@ body.path-question-type .fitem_fgroup .accesshide {
#page-mod-quiz-edit div.questionbank .categoryquestionscontainer {
background: transparent;
}
#page-mod-quiz-edit #categoryquestions>thead {
#page-mod-quiz-edit #categoryquestions > thead {
background: #FFF;
}
#page-mod-quiz-edit #categoryquestions>tbody>tr:nth-of-type(even) {
#page-mod-quiz-edit #categoryquestions > tbody > tr:nth-of-type(even) {
background: #e4e4e4;
}
@ -414,7 +414,8 @@ body.path-question-type .fitem_fgroup .accesshide {
#page-mod-quiz-edit .createnewquestion {
padding: 0.3em 0;
div, input {
div,
input {
margin: 0;
}
}
@ -502,7 +503,8 @@ body.path-question-type .fitem_fgroup .accesshide {
strong {
display: block;
}
hr, br {
hr,
br {
display: none;
}
strong {

View File

@ -17,7 +17,7 @@
}
@media (min-width: (@navbarCollapseDesktopWidth) ) {
@media (min-width: (@navbarCollapseDesktopWidth)) {
a[id]:empty::before,
a[name]:empty::before {
@ -341,7 +341,7 @@
}
// Stuart's 2,1,3 layout
@media (min-width : 768px) {
@media (min-width: 768px) {
.row-fluid .desktop-first-column {
margin-left: 0;
}
@ -349,7 +349,7 @@
display: inline;
}
}
@media (max-width : 767px) {
@media (max-width: 767px) {
.row-fluid .desktop-first-column {
clear: both;
}
@ -365,7 +365,7 @@
padding-top: 0;
text-align: left;
}
.form-item .form-label label{
.form-item .form-label label {
display: inline-block;
margin-right: .5em;
}
@ -398,7 +398,7 @@
}
}
// Shrink calender when short on space in block
@media (min-width : 768px) and (max-width: 979px) {
@media (min-width: 768px) and (max-width: 979px) {
.block_calendar_month .content,
.block .minicalendar td {
padding-left: 0;
@ -450,8 +450,7 @@
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a
{
.dropdown-submenu:focus > a {
background-image: none;
color: @grayDark;
}
@ -480,7 +479,9 @@
font-size: round(@fontSizeSmall);
}
.discussion {
.author, .replies, .lastpost {
.author,
.replies,
.lastpost {
font-size: round(@fontSizeSmall);
}
.replies .unread a {

View File

@ -26,7 +26,7 @@
.content-columns(3);
}
@media(max-width: 767px) {
@media (max-width: 767px) {
// Change to a single column for smaller screens.
.columns-autoflow-1to1to1 {
.content-columns(1, 0);

View File

@ -238,7 +238,8 @@
> .singlebutton {
display: inline-block;
margin: 0 0 0 0.5em;
div, input {
div,
input {
margin: 0;
}
}