Skip to content

Commit

Permalink
MDL-52800 Theme: Fix inplace editing tooltip styling
Browse files Browse the repository at this point in the history
  • Loading branch information
nadavkav authored and ryanwyllie committed May 10, 2016
1 parent 1e72daa commit 7ee8eff
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
31 changes: 11 additions & 20 deletions theme/bootstrapbase/less/moodle/core.less
Original file line number Diff line number Diff line change
Expand Up @@ -2468,20 +2468,6 @@ dd:after {
cursor: pointer;
}

span.inplaceeditable.inplaceeditingon {
position: relative;
}
span.inplaceeditable.inplaceeditingon span.editinstructions {
margin-top: -30px;
font-weight: normal;
margin-right: -300px;
margin-left: 0;
}
.dir-rtl span.inplaceeditable.inplaceeditingon span.editinstructions {
margin-left: -300px;
margin-right: 0;
}

.inplaceeditable {

&.inplaceeditingon {
Expand All @@ -2490,8 +2476,11 @@ span.inplaceeditable.inplaceeditingon span.editinstructions {
.editinstructions {
margin-top: -30px;
font-weight: normal;
margin-right: -300px;
margin-right: 0;
margin-left: 0;
left: 0;
right: auto;
white-space: nowrap;
}

input {
Expand Down Expand Up @@ -2525,11 +2514,13 @@ span.inplaceeditable.inplaceeditingon span.editinstructions {
}
}

.dir-rtl .inplaceeditable {
&.inplaceeditingon {
.editinstructions {
margin-left: -300px;
margin-right: 0;
.dir-rtl {
.inplaceeditable {
&.inplaceeditingon {
.editinstructions {
right: 0;
left: auto;
}
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions theme/bootstrapbase/less/moodle/course.less
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,6 @@ span.editinstructions {
.box-shadow(2px 2px 5px 1px #ccc);
border: 1px solid @infoBorder;
}
.dir-rtl span.editinstructions {
}

/* Course drag and drop upload styles */
#dndupload-status {
Expand Down
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit 7ee8eff

Please sign in to comment.