Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-ora2
Commits
4f958597
Commit
4f958597
authored
Feb 27, 2014
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding in check icon to step status UI
parent
c4b1659c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
17 deletions
+45
-17
apps/openassessment/templates/openassessmentblock/oa_response.html
+1
-0
apps/openassessment/templates/openassessmentblock/oa_self_assessment.html
+2
-1
apps/openassessment/xblock/static/css/openassessment.css
+0
-0
apps/openassessment/xblock/static/sass/oa/views/_oa-base.scss
+42
-16
No files found.
apps/openassessment/templates/openassessmentblock/oa_response.html
View file @
4f958597
...
...
@@ -32,6 +32,7 @@
<span
class=
"step__status"
>
<span
class=
"step__status__label"
>
This step's status:
</span>
<span
class=
"step__status__value"
>
<i
class=
"ico fa fa-check"
></i>
<span
class=
"copy"
>
{{ step_status }}
</span>
</span>
</span>
...
...
apps/openassessment/templates/openassessmentblock/oa_self_assessment.html
View file @
4f958597
...
...
@@ -27,7 +27,8 @@
<span
class=
"step__status"
>
<span
class=
"step__status__label"
>
This step's status:
</span>
<span
class=
"step_status_value"
>
<span
class=
"step__status__value"
>
<i
class=
"ico fa fa-check"
></i>
<span
class=
"copy"
>
{{ step_status }}
</span>
</span>
</span>
...
...
apps/openassessment/xblock/static/css/openassessment.css
View file @
4f958597
This source diff could not be displayed because it is too large. You can
view the blob
instead.
apps/openassessment/xblock/static/sass/oa/views/_oa-base.scss
View file @
4f958597
...
...
@@ -171,7 +171,7 @@
.step__status__value
{
border-radius
:
(
$baseline-v
/
5
);
padding
:
(
$baseline-v
/
4
)
(
$baseline-h
/
4
);
background
:
$color-
disabled
;
background
:
$color-
secondary
;
color
:
$white-t
;
@include
media
(
$bp-m
)
{
...
...
@@ -187,6 +187,7 @@
.ico
{
@extend
%t-icon-m
;
display
:
none
;
// hiding by default
margin-right
:
$spacing-delta
;
}
...
...
@@ -318,13 +319,34 @@
}
// STATE: step is complete
&
.is--complete
{
// STATE: step is complete/submitted
&
.is--complete
,
&
.is--submitted
{
.step__status__value
{
background
:
$color-primary
;
.ico
{
display
:
inline-block
;
}
.copy
{
color
:
$white-t
;
}
}
}
}
// STATE: step is saved
&
.is--saved
{
.step__status__value
{
background
:
$color-primary
;
.copy
{
color
:
$white-t
;
}
}
}
}
// --------------------
...
...
@@ -394,6 +416,19 @@
padding
:
$spacing-charlie
$spacing-charlie
$spacing-bravo
$spacing-charlie
;
background
:
$color-decorative-tertiary
;
.submission__answer
{
margin-bottom
:
$spacing-charlie
;
label
{
@extend
%text-sr
;
}
textarea
{
width
:
100%
;
min-height
:
(
$baseline-v
*
10
);
}
}
.action--submit
,
.tip
{
display
:
inline-block
;
vertical-align
:
middle
;
...
...
@@ -409,20 +444,11 @@
@extend
%copy-epsilon
;
color
:
$copy-supplemental-color
;
}
}
// displayed response
.submission__answer__display
{
.submission__answer
{
margin-bottom
:
$spacing-charlie
;
label
{
@extend
%text-sr
;
}
textarea
{
width
:
100%
;
min-height
:
(
$baseline-v
*
10
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment