1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-24 01:44:27 +02:00

MDL-45290 rubrics: overflow, delete button alignment

Adjusted delete button alignment, restored overflow rule, amended button alignment, minor RTL fixes.
This commit is contained in:
Jetha Chan 2014-05-06 15:49:30 +08:00
parent eb497e26fb
commit cecd602d8b
2 changed files with 30 additions and 6 deletions
theme/bootstrapbase
less/moodle
style

@ -46,6 +46,7 @@
.btn-large();
display: inline-block;
position: relative;
vertical-align: top;
width: 150px;
text-align: center;
overflow: hidden;
@ -61,7 +62,7 @@
.action-text {
position: relative;
top: 0.4em;
font-size: 16px;
font-size: 14px;
}
}
}
@ -95,7 +96,6 @@
}
.delete {
float: left;
clear: right;
input {
left: 0;
right: auto;
@ -103,14 +103,34 @@
}
}
}
.addcriterion {
margin-right: 5px;
margin-left: 0px;
input {
padding-right: 26px;
padding-left: 10px;
background-position: right 8px top 8px;
}
}
.options {
.option {
.value {
margin-left: 0px;
margin-right: 5px;
}
input {
// margins flipped for RTL.
margin-left: 12px;
margin-right: 5px;
}
}
}
}
}
#rubric-rubric {
&.gradingform_rubric {
// Override max-width rule from core; rubrics with multiple levels can hit
// the previously-defined threshold easily.
max-width: none;
#rubric-criteria {
margin-bottom: 1em;
@rubricPadding: 6px;
@ -143,6 +163,9 @@
.delete {
position: relative;
width: 32px;
height: 32px;
margin-top: -32px;
clear: both;
float: right;
input {
display: block;
@ -161,6 +184,7 @@
.scorevalue {
input {
// Should handle at least three chars with room to spare.
float: none;
width: 2em;
&.hiddenelement,&.pseudotablink {
// Zero out the width if it's still in the block flow for some reason

File diff suppressed because one or more lines are too long