Skip to content

Commit

Permalink
additional processing class
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Giannattasio committed Aug 10, 2012
1 parent 93faf0f commit 04fef4b
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions common/lib/xmodule/xmodule/css/capa/display.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ padding-left: flex-gutter(9);
}
}



div {
p.status {
text-indent: -9999px;
Expand All @@ -64,30 +66,26 @@ div {
}
}

&.correct, &.ui-icon-check {
&.processing {
p.status {
@include inline-block();
background: url('../images/correct-icon.png') center center no-repeat;
background: url('../images/spinner.gif') center center no-repeat;
height: 20px;
width: 25px;
}

input {
border-color: green;
width: 20px;
text-indent: -9999px;
}
}

&.processing {
&.correct, &.ui-icon-check {
p.status {
@include inline-block();
background: url('../images/spinner.gif') center center no-repeat;
background: url('../images/correct-icon.png') center center no-repeat;
height: 20px;
width: 20px;
text-indent: -9999px;
width: 25px;
}

input {
border-color: #aaa;
border-color: green;
}
}

Expand Down Expand Up @@ -148,6 +146,15 @@ div {
width: 14px;
}

&.processing, &.ui-icon-check {
@include inline-block();
background: url('../images/spinner.gif') center center no-repeat;
height: 20px;
position: relative;
top: 6px;
width: 25px;
}

&.correct, &.ui-icon-check {
@include inline-block();
background: url('../images/correct-icon.png') center center no-repeat;
Expand Down

0 comments on commit 04fef4b

Please sign in to comment.