study_engine 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +42 -0
- data/app/assets/images/study_engine/spinner.gif +0 -0
- data/app/assets/images/study_engine/sprite/delete.png +0 -0
- data/app/assets/images/study_engine/sprite/download.png +0 -0
- data/app/assets/images/study_engine/sprite/edit.png +0 -0
- data/app/assets/images/study_engine/sprite/incomplete.png +0 -0
- data/app/assets/images/study_engine/sprite/metrc-sm.png +0 -0
- data/app/assets/images/study_engine/sprite/metrc.png +0 -0
- data/app/assets/images/study_engine/sprite/new.png +0 -0
- data/app/assets/javascripts/study_engine/admin_notes.js.coffee +12 -0
- data/app/assets/javascripts/study_engine/assessment_notifications.js.coffee +36 -0
- data/app/assets/javascripts/study_engine/assessment_timeout.js.coffee +24 -0
- data/app/assets/javascripts/study_engine/disable_buttons_after_click.js.coffee +6 -0
- data/app/assets/javascripts/study_engine/fire_click_event_immediately_on_mobile.js.coffee.erb +10 -0
- data/app/assets/javascripts/study_engine/response_validation.js.coffee +8 -0
- data/app/assets/javascripts/study_engine/restart_assessment_button.js.coffee +3 -0
- data/app/assets/javascripts/study_engine/study_engine.js.coffee +9 -0
- data/app/assets/javascripts/study_engine/study_id_picker.js.coffee +28 -0
- data/app/assets/stylesheets/study_engine.sass +1 -0
- data/app/assets/stylesheets/study_engine/_constant.sass +52 -0
- data/app/assets/stylesheets/study_engine/_mobile.sass +8 -0
- data/app/assets/stylesheets/study_engine/_tablet.sass +36 -0
- data/app/assets/stylesheets/study_engine/application.sass +101 -0
- data/app/assets/stylesheets/study_engine/base/_form.sass +131 -0
- data/app/assets/stylesheets/study_engine/base/_list.sass +38 -0
- data/app/assets/stylesheets/study_engine/base/_tables.sass +33 -0
- data/app/assets/stylesheets/study_engine/base/_text.sass +78 -0
- data/app/assets/stylesheets/study_engine/components/-fields/_login-fields.sass +14 -0
- data/app/assets/stylesheets/study_engine/components/-fields/_start-fields.sass +101 -0
- data/app/assets/stylesheets/study_engine/components/-nav/_global-nav.sass +19 -0
- data/app/assets/stylesheets/study_engine/components/-table/_results-table.sass +75 -0
- data/app/assets/stylesheets/study_engine/components/-table/_users-table.sass +11 -0
- data/app/assets/stylesheets/study_engine/components/_assessment-questions.sass +30 -0
- data/app/assets/stylesheets/study_engine/components/_form-buttons.sass +102 -0
- data/app/assets/stylesheets/study_engine/components/_helpt-text.sass +2 -0
- data/app/assets/stylesheets/study_engine/components/_method-icons.sass +15 -0
- data/app/assets/stylesheets/study_engine/components/_notes-modal.sass +65 -0
- data/app/assets/stylesheets/study_engine/components/_progress-bar.sass +25 -0
- data/app/assets/stylesheets/study_engine/components/_sortable-columns.sass +26 -0
- data/app/assets/stylesheets/study_engine/components/_table-actions.sass +8 -0
- data/app/assets/stylesheets/study_engine/components/_table-buttons.sass +17 -0
- data/app/assets/stylesheets/study_engine/components/_user-privileges.sass +3 -0
- data/app/assets/stylesheets/study_engine/mixins/_actions-table.sass +11 -0
- data/app/assets/stylesheets/study_engine/mixins/_buttons.sass +55 -0
- data/app/assets/stylesheets/study_engine/mixins/_checkbox-columns.sass +50 -0
- data/app/assets/stylesheets/study_engine/mixins/_custom-radios.sass +47 -0
- data/app/assets/stylesheets/study_engine/mixins/_icons.sass +38 -0
- data/app/assets/stylesheets/study_engine/mixins/_notification-text.sass +23 -0
- data/app/controllers/study_engine/admin/application_controller.rb +6 -0
- data/app/controllers/study_engine/admin/assessments_controller.rb +79 -0
- data/app/controllers/study_engine/admin/notes_controller.rb +17 -0
- data/app/controllers/study_engine/application_controller.rb +12 -0
- data/app/controllers/study_engine/assessments_controller.rb +94 -0
- data/app/helpers/study_engine/helpers.rb +15 -0
- data/app/helpers/study_engine/mailer_helpers.rb +11 -0
- data/app/mailers/study_engine/mailer.rb +25 -0
- data/app/models/study_engine/answer.rb +36 -0
- data/app/models/study_engine/assessment.rb +118 -0
- data/app/models/study_engine/begin_assessment_form.rb +110 -0
- data/app/models/study_engine/existing_assessments_form.rb +99 -0
- data/app/models/study_engine/form.rb +59 -0
- data/app/models/study_engine/report.rb +69 -0
- data/app/models/study_engine/result.rb +46 -0
- data/app/models/study_engine/screen_results.rb +54 -0
- data/app/models/study_engine/study_id.rb +47 -0
- data/app/models/study_engine/study_id/bank.rb +38 -0
- data/app/models/study_engine/study_id/sync.rb +52 -0
- data/app/models/study_engine/update_assessments_form.rb +53 -0
- data/app/views/study_engine/_progress_bar.html.slim +4 -0
- data/app/views/study_engine/admin/assessments/_assessment.html.slim +36 -0
- data/app/views/study_engine/admin/assessments/domain_results.csv.csvbuilder +17 -0
- data/app/views/study_engine/admin/assessments/edit.html.slim +68 -0
- data/app/views/study_engine/admin/assessments/index.html.slim +26 -0
- data/app/views/study_engine/admin/assessments/item_results.csv.csvbuilder +24 -0
- data/app/views/study_engine/admin/assessments/new.html.slim +46 -0
- data/app/views/study_engine/admin/assessments/screen_results.csv.csvbuilder +2 -0
- data/app/views/study_engine/assessments/complete.html.slim +25 -0
- data/app/views/study_engine/assessments/create.html.slim +46 -0
- data/app/views/study_engine/assessments/index.html.slim +43 -0
- data/app/views/study_engine/assessments/restart.html.slim +28 -0
- data/app/views/study_engine/assessments/show.html.slim +60 -0
- data/app/views/study_engine/mailer/assessment_recorded_notification.erb +8 -0
- data/app/views/study_engine/mailer/assessment_url_notification.erb +6 -0
- data/config/routes.rb +15 -0
- data/db/migrate/20160422185859_create_tables.rb +52 -0
- data/lib/study_engine.rb +5 -0
- data/lib/study_engine/config.rb +37 -0
- data/lib/study_engine/cucumber.rb +96 -0
- data/lib/study_engine/engine.rb +7 -0
- data/lib/study_engine/version.rb +3 -0
- data/lib/tasks/study_engine_tasks.rake +10 -0
- data/spec/ar_helper.rb +30 -0
- data/spec/models/study_engine/answer_spec.rb +28 -0
- data/spec/models/study_engine/assessment_spec.rb +250 -0
- data/spec/models/study_engine/begin_assessment_form_spec.rb +87 -0
- data/spec/models/study_engine/existing_assessments_form_spec.rb +171 -0
- data/spec/models/study_engine/report_spec.rb +48 -0
- data/spec/models/study_engine/result_spec.rb +102 -0
- data/spec/models/study_engine/screen_results_spec.rb +69 -0
- data/spec/models/study_engine/study_id/bank_spec.rb +72 -0
- data/spec/models/study_engine/study_id/sync_spec.rb +61 -0
- data/spec/models/study_engine/study_id_spec.rb +7 -0
- data/spec/models/study_engine/update_assessments_form_spec.rb +38 -0
- data/spec/rails_helper.rb +50 -0
- data/spec/schema.rb +65 -0
- data/spec/spec_helper.rb +72 -0
- data/spec/support/CATEngine3.exe +0 -0
- data/spec/support/forms/01. Physical Function Bank.xml +1213 -0
- data/spec/support/forms/02. Pain Interference Bank.xml +443 -0
- data/spec/support/forms/03. Anxiety Bank.xml +322 -0
- data/spec/support/forms/04. Depression Bank.xml +311 -0
- data/spec/support/forms/05. Ability to Participate Social bank Version 2.xml +353 -0
- data/spec/support/forms/06. Psychosocial Illness Impact Pos Bank.xml +900 -0
- data/spec/support/forms/07. Applied Cognition Gen Concerns Bank.xml +377 -0
- data/spec/support/forms/08. Satisfaction with Roles and Activities Bank Version 2.xml +443 -0
- data/spec/support/forms/09. Sleep Disturbance Bank.xml +300 -0
- data/spec/support/forms/10. Emotional Support Bank.xml +163 -0
- data/spec/support/forms/A - 07. Psychosocial Illness Impact Pos Bank.xml +471 -0
- data/spec/support/forms/A - 08. Pain interference Bank.xml +443 -0
- data/spec/support/forms/A - 09. Depression Bank.xml +311 -0
- data/spec/support/forms/B - 07. Physical Function Short Form.xml +123 -0
- data/spec/support/forms/B - 08. Physical Function Remainder A.xml +543 -0
- data/spec/support/forms/B - 09. Ability to Participate Social bank Version 2.xml +353 -0
- data/spec/support/forms/C - 07. Physical Function Short Form.xml +123 -0
- data/spec/support/forms/C - 08. Physical Function Remainder B.xml +553 -0
- data/spec/support/forms/C - 09. Anxiety Bank.xml +322 -0
- data/spec/support/parameters/01. Physical Function Bank.xml +682 -0
- data/spec/support/parameters/02. Pain Interference Bank.xml +256 -0
- data/spec/support/parameters/03. Anxiety Bank.xml +190 -0
- data/spec/support/parameters/04. Depression Bank.xml +184 -0
- data/spec/support/parameters/05. Ability to Participate Social bank Version 2.xml +226 -0
- data/spec/support/parameters/06. Psychosocial Illness Impact Pos Bank.xml +211 -0
- data/spec/support/parameters/07. Applied Cognition Gen Concerns Bank.xml +1 -0
- data/spec/support/parameters/08. Satisfaction with Roles and Activities Bank Version 2.xml +1 -0
- data/spec/support/parameters/09. Sleep Disturbance Bank.xml +1 -0
- data/spec/support/parameters/10. Emotional Support Bank.xml +1 -0
- metadata +394 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
// PLACEHOLDERS
|
2
|
+
|
3
|
+
%reset-list
|
4
|
+
margin: 0
|
5
|
+
padding: 0
|
6
|
+
list-style: none
|
7
|
+
li
|
8
|
+
margin: 0
|
9
|
+
padding: 0
|
10
|
+
|
11
|
+
// BASIC LIST STYLING
|
12
|
+
|
13
|
+
ul, ol, li
|
14
|
+
margin: 0
|
15
|
+
padding: 0
|
16
|
+
ul
|
17
|
+
list-style: none
|
18
|
+
margin-top: 12px
|
19
|
+
ol
|
20
|
+
list-style: outside decimal
|
21
|
+
ol
|
22
|
+
list-style: outside lower-alpha
|
23
|
+
|
24
|
+
ul, ol
|
25
|
+
clear: both
|
26
|
+
margin: 12px 0 12px 20px
|
27
|
+
font: 400 1.4em $default
|
28
|
+
ul, ol
|
29
|
+
font-size: 1.0em
|
30
|
+
margin-left: 20px
|
31
|
+
margin-bottom: 0px
|
32
|
+
li
|
33
|
+
margin-bottom: 6px
|
34
|
+
p
|
35
|
+
font-size: 1.0em
|
36
|
+
li
|
37
|
+
margin-top: 6px
|
38
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
table
|
2
|
+
width: 100%
|
3
|
+
border-collapse: collapse
|
4
|
+
margin: 10px 0
|
5
|
+
table-layout: fixed
|
6
|
+
|
7
|
+
tbody
|
8
|
+
tr
|
9
|
+
&:nth-child(even)
|
10
|
+
background: #fafafa
|
11
|
+
&:hover
|
12
|
+
background: lighten($yellow, 50%)
|
13
|
+
th, td
|
14
|
+
line-height: 1.0em
|
15
|
+
padding: 15px 10px
|
16
|
+
text-align: left
|
17
|
+
border-left: 1px dotted #eaeaea
|
18
|
+
border-right: 1px dotted #eaeaea
|
19
|
+
th
|
20
|
+
padding: 5px 10px
|
21
|
+
font: 700 1.2em $default
|
22
|
+
text-transform: uppercase
|
23
|
+
color: #111
|
24
|
+
border-bottom: 2px solid #444
|
25
|
+
td
|
26
|
+
font: 400 1.3em $default
|
27
|
+
border-bottom: 1px solid #eaeaea
|
28
|
+
line-height: 1.6em
|
29
|
+
p
|
30
|
+
font-size: 1.0em
|
31
|
+
margin: 0
|
32
|
+
line-height: 1.4em
|
33
|
+
|
@@ -0,0 +1,78 @@
|
|
1
|
+
body
|
2
|
+
color: #444
|
3
|
+
font: 400 62.5% $default
|
4
|
+
|
5
|
+
p
|
6
|
+
font-size: 1.4em
|
7
|
+
line-height: 1.6
|
8
|
+
margin: 0 0 12px
|
9
|
+
|
10
|
+
a, span.gc-cs-link
|
11
|
+
color: $primaryColor
|
12
|
+
text-decoration: none
|
13
|
+
text-shadow: none
|
14
|
+
&:hover
|
15
|
+
color: $secondaryColor
|
16
|
+
|
17
|
+
i, em
|
18
|
+
font-style: italic
|
19
|
+
b, strong
|
20
|
+
font-weight: 700
|
21
|
+
|
22
|
+
.clear
|
23
|
+
clear: both
|
24
|
+
|
25
|
+
// SEPARATORS
|
26
|
+
|
27
|
+
hr
|
28
|
+
float: left
|
29
|
+
clear: both
|
30
|
+
width: 100%
|
31
|
+
border: none
|
32
|
+
border-top: 2px dotted #e0e0e0
|
33
|
+
height: 0px
|
34
|
+
margin: 20px 0
|
35
|
+
|
36
|
+
// HEADINGS
|
37
|
+
|
38
|
+
h1, h2, h3, h4, h6
|
39
|
+
margin: 0
|
40
|
+
padding: 0
|
41
|
+
font-family: $font
|
42
|
+
font-weight: 400
|
43
|
+
|
44
|
+
h1
|
45
|
+
font-size: 2.8em
|
46
|
+
|
47
|
+
h2
|
48
|
+
font-size: 2.8em
|
49
|
+
margin-bottom: 10px
|
50
|
+
em
|
51
|
+
font-size: 0.6em
|
52
|
+
color: #666
|
53
|
+
h3
|
54
|
+
font: 700 1.6em $default
|
55
|
+
margin-bottom: 5px
|
56
|
+
|
57
|
+
h4
|
58
|
+
font-size: 1.4em
|
59
|
+
span, i
|
60
|
+
font-size: 0.8em
|
61
|
+
font-family: default
|
62
|
+
|
63
|
+
|
64
|
+
// WRAPPED TEXT
|
65
|
+
|
66
|
+
img, table
|
67
|
+
max-width: 100%
|
68
|
+
&[align="left"]
|
69
|
+
margin-right: 12px
|
70
|
+
margin-bottom: 10px
|
71
|
+
&[align="right"]
|
72
|
+
margin-left: 12px
|
73
|
+
margin-bottom: 10px
|
74
|
+
&[align="center"]
|
75
|
+
margin-left: auto
|
76
|
+
margin-right: auto
|
77
|
+
margin-bottom: 10px
|
78
|
+
|
@@ -0,0 +1,101 @@
|
|
1
|
+
.start-fields
|
2
|
+
padding: 0 0 0 10px
|
3
|
+
.actions
|
4
|
+
text-align: center
|
5
|
+
|
6
|
+
.select-fields, .visit-fields, .method-fields
|
7
|
+
display: flex
|
8
|
+
margin-bottom: 10px
|
9
|
+
|
10
|
+
// SELECT FIELDS
|
11
|
+
|
12
|
+
$selectHeight: 80px
|
13
|
+
|
14
|
+
.select-fields
|
15
|
+
margin-top: 40px
|
16
|
+
border-radius: 2px
|
17
|
+
background: #f9f9f9
|
18
|
+
box-shadow: darken( #f9f9f9, 10% ) 0 1px 6px 0 inset
|
19
|
+
border: 1px solid darken( #f9f9f9, 15% )
|
20
|
+
width: calc( 100% - 10px )
|
21
|
+
white-space: nowrap
|
22
|
+
.field
|
23
|
+
margin: 0
|
24
|
+
padding: 0
|
25
|
+
border-right: 1px dotted #e9e9e9
|
26
|
+
&:after
|
27
|
+
display: inline-block
|
28
|
+
content: "▾"
|
29
|
+
color: #dcdcdc
|
30
|
+
position: absolute
|
31
|
+
right: 0px
|
32
|
+
top: 0
|
33
|
+
font-size: 3em
|
34
|
+
line-height: $selectHeight
|
35
|
+
width: 1.25em
|
36
|
+
text-align: center
|
37
|
+
z-index: 0
|
38
|
+
label
|
39
|
+
position: absolute
|
40
|
+
top: -25px
|
41
|
+
left: 10px
|
42
|
+
text-align: left
|
43
|
+
select, input
|
44
|
+
-moz-appearance: initial
|
45
|
+
-webkit-appearance: initial
|
46
|
+
appearance: initial
|
47
|
+
letter-spacing: 0.15em
|
48
|
+
padding: 0px 0px 0px 10px
|
49
|
+
font: normal 6.0em "Courier", Courier
|
50
|
+
border: none
|
51
|
+
background: none
|
52
|
+
margin: 0
|
53
|
+
line-height: $selectHeight
|
54
|
+
height: $selectHeight
|
55
|
+
margin: 0px
|
56
|
+
box-shadow: none
|
57
|
+
position: relative
|
58
|
+
z-index: 2
|
59
|
+
|
60
|
+
.study-field, .site-field
|
61
|
+
width: 180px
|
62
|
+
.id-field
|
63
|
+
width: 220px
|
64
|
+
|
65
|
+
// VISIT FIELDS
|
66
|
+
|
67
|
+
.visit-fields
|
68
|
+
.field
|
69
|
+
display: inline-block
|
70
|
+
margin: 0
|
71
|
+
padding: 0 10px 0 0
|
72
|
+
|
73
|
+
.visit-label
|
74
|
+
+custom-radio
|
75
|
+
|
76
|
+
// METHOD LABEL
|
77
|
+
|
78
|
+
.method-fields
|
79
|
+
.field
|
80
|
+
display: inline-block
|
81
|
+
margin: 0
|
82
|
+
padding: 0 10px 0 0
|
83
|
+
|
84
|
+
.admin-method-fields
|
85
|
+
display: flex
|
86
|
+
flex-wrap: wrap
|
87
|
+
.field
|
88
|
+
width: 33%
|
89
|
+
display: inline-block
|
90
|
+
margin: 0
|
91
|
+
padding: 0 10px 10px 0
|
92
|
+
|
93
|
+
.method-label
|
94
|
+
+custom-radio
|
95
|
+
|
96
|
+
//
|
97
|
+
|
98
|
+
|
99
|
+
.start-button
|
100
|
+
+button
|
101
|
+
width: 300px
|
@@ -0,0 +1,19 @@
|
|
1
|
+
.nav
|
2
|
+
float: right
|
3
|
+
clear: none
|
4
|
+
margin: 0
|
5
|
+
list-style: none
|
6
|
+
li
|
7
|
+
float: left
|
8
|
+
margin: 0
|
9
|
+
a
|
10
|
+
display: inline-block
|
11
|
+
text-decoration: none
|
12
|
+
border-left: 1px solid #333
|
13
|
+
padding: 0px 25px
|
14
|
+
line-height: 80px
|
15
|
+
color: #999
|
16
|
+
&:hover
|
17
|
+
background: #1a1a1a
|
18
|
+
color: #ccc
|
19
|
+
|
@@ -0,0 +1,75 @@
|
|
1
|
+
.results-table
|
2
|
+
margin-top: 20px
|
3
|
+
table-layout: auto
|
4
|
+
th
|
5
|
+
padding: 5px 10px
|
6
|
+
td
|
7
|
+
min-width: 160px
|
8
|
+
max-width: 190px
|
9
|
+
white-space: nowrap
|
10
|
+
border-left: 1px dotted #e0e0e0
|
11
|
+
border-right: 1px dotted #e0e0e0
|
12
|
+
padding: 8px 3px 8px 3px
|
13
|
+
&:first-child
|
14
|
+
width: 100px
|
15
|
+
min-width: 100px
|
16
|
+
max-width: none
|
17
|
+
text-transform: uppercase
|
18
|
+
padding-left: 9px
|
19
|
+
a
|
20
|
+
font-weight: 700
|
21
|
+
&:nth-last-child(1)
|
22
|
+
min-width: 190px
|
23
|
+
|
24
|
+
//
|
25
|
+
|
26
|
+
.assessment
|
27
|
+
display: block
|
28
|
+
& + .assessment
|
29
|
+
margin-top: 3px
|
30
|
+
& > p, & > div
|
31
|
+
display: inline-block
|
32
|
+
vertical-align: top
|
33
|
+
.section-count
|
34
|
+
color: #C10022
|
35
|
+
min-width: 30px
|
36
|
+
font-size: 0.9em
|
37
|
+
& + .updated
|
38
|
+
margin-left: 0
|
39
|
+
.updated
|
40
|
+
min-width: 130px
|
41
|
+
margin-left: 33px
|
42
|
+
a
|
43
|
+
color: #444
|
44
|
+
border-bottom: 1px dotted #ccc
|
45
|
+
&:hover
|
46
|
+
color: $secondaryColor
|
47
|
+
border-color: $secondaryColor
|
48
|
+
|
49
|
+
.assessment-method
|
50
|
+
&.in-person
|
51
|
+
+icon("user", false)
|
52
|
+
&.by-phone
|
53
|
+
+icon("phone", false)
|
54
|
+
&.by-url
|
55
|
+
+icon("globe", false)
|
56
|
+
&.by-mail
|
57
|
+
+icon("envelope", false)
|
58
|
+
&.missing
|
59
|
+
+icon("question-circle", false)
|
60
|
+
&.paper-form, &.short-form,
|
61
|
+
+icon("file", false)
|
62
|
+
|
63
|
+
.set-requested
|
64
|
+
display: inline-block
|
65
|
+
background: #bbb
|
66
|
+
color: #fcfcfc
|
67
|
+
border-radius: 50%
|
68
|
+
font-size: 0.8em
|
69
|
+
text-align: center
|
70
|
+
width: 14px
|
71
|
+
height: 14px
|
72
|
+
line-height: 14px
|
73
|
+
vertical-align: 1px
|
74
|
+
margin-right: 2px
|
75
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
.assessment-questions
|
2
|
+
.field
|
3
|
+
margin: 3px 5px
|
4
|
+
width: 320px
|
5
|
+
|
6
|
+
.custom-label
|
7
|
+
+custom-radio
|
8
|
+
|
9
|
+
.assessment-actions
|
10
|
+
text-align: center
|
11
|
+
input
|
12
|
+
min-width: 300px
|
13
|
+
|
14
|
+
//
|
15
|
+
|
16
|
+
.exit
|
17
|
+
position: absolute
|
18
|
+
top: -75px
|
19
|
+
right: 10px
|
20
|
+
color: #666
|
21
|
+
font: 400 1.2em $font
|
22
|
+
line-height: 2.0em
|
23
|
+
padding: 0 10px
|
24
|
+
border: 1px solid #000
|
25
|
+
border-radius: 2px
|
26
|
+
margin: 2px
|
27
|
+
text-decoration: none
|
28
|
+
&:hover
|
29
|
+
background: #000
|
30
|
+
color: #999
|
@@ -0,0 +1,102 @@
|
|
1
|
+
.actions, .admin-actions
|
2
|
+
@extend .field
|
3
|
+
float: none
|
4
|
+
|
5
|
+
.save-wrapper
|
6
|
+
+input-button($primaryColor, #fcfcfc, "save")
|
7
|
+
|
8
|
+
//
|
9
|
+
|
10
|
+
=disabled-button
|
11
|
+
&:disabled
|
12
|
+
+button( #fff, #ccc, false )
|
13
|
+
opacity: 0.5
|
14
|
+
& ~ .spinner
|
15
|
+
display: block
|
16
|
+
|
17
|
+
.button, .load, .color, .submit, .start, .login, .save, .start-over
|
18
|
+
+button
|
19
|
+
+disabled-button
|
20
|
+
.restart-wrapper
|
21
|
+
+input-button($primaryColor, #fcfcfc, "reply")
|
22
|
+
margin-right: 5px
|
23
|
+
&:disabled, &:focus
|
24
|
+
min-width: 200px !important
|
25
|
+
.resume
|
26
|
+
+button($primaryColor, #fcfcfc, 1.6em, true, "arrow-right")
|
27
|
+
margin-right: 5px
|
28
|
+
+disabled-button
|
29
|
+
&:disabled, &:focus
|
30
|
+
min-width: 200px !important
|
31
|
+
.skip
|
32
|
+
+button( #fff, #ccc )
|
33
|
+
&:disabled
|
34
|
+
+button( #fff, #ccc, false )
|
35
|
+
opacity: 0.5
|
36
|
+
& ~ .spinner
|
37
|
+
display: block
|
38
|
+
.submit, .start, .login, .skip, .save, .restart
|
39
|
+
-moz-appearance: button
|
40
|
+
-webkit-appearance: button
|
41
|
+
appearance: button
|
42
|
+
&:hover, &:focus
|
43
|
+
margin: 0
|
44
|
+
.save, .save:focus, .save:disabled
|
45
|
+
min-width: 0px
|
46
|
+
|
47
|
+
.back
|
48
|
+
+button( #fff, #ccc, 1.6em, true, "arrow-left" )
|
49
|
+
font-style: italic
|
50
|
+
&:disabled, &:focus
|
51
|
+
min-width: 200px !important
|
52
|
+
|
53
|
+
.spinner
|
54
|
+
background: transparent image-url("study_engine/spinner.gif") no-repeat 0 0
|
55
|
+
width: 32px
|
56
|
+
height: 32px
|
57
|
+
display: none
|
58
|
+
margin-left: -16px
|
59
|
+
position: absolute
|
60
|
+
bottom: 8px
|
61
|
+
left: 50%
|
62
|
+
|
63
|
+
.inactive, .disabled
|
64
|
+
+button( #fff, #ccc, false )
|
65
|
+
.cancel
|
66
|
+
display: inline-block
|
67
|
+
font: italic 1.3em $default
|
68
|
+
margin-left: 10px
|
69
|
+
color: #999
|
70
|
+
|
71
|
+
.load
|
72
|
+
font-size: 1.3em
|
73
|
+
padding: 3px 12px 3px 9px
|
74
|
+
.arrow
|
75
|
+
@extend .sprite-download
|
76
|
+
display: inline-block
|
77
|
+
width: 22px
|
78
|
+
height: 21px
|
79
|
+
margin: -2px 3px -6px 0
|
80
|
+
|
81
|
+
.download
|
82
|
+
+button( #fff, #333, true, "download" )
|
83
|
+
font: normal 1.4em $font
|
84
|
+
line-height: 1.8em
|
85
|
+
min-width: 0
|
86
|
+
margin-left: 3px
|
87
|
+
padding: 0 10px
|
88
|
+
|
89
|
+
.add
|
90
|
+
+button( #fff, #333, true, "plus-circle" )
|
91
|
+
font: normal 1.4em $font
|
92
|
+
line-height: 1.8em
|
93
|
+
min-width: 0
|
94
|
+
margin-left: 3px
|
95
|
+
padding: 0 10px
|
96
|
+
|
97
|
+
#new
|
98
|
+
@extend .load
|
99
|
+
.plus
|
100
|
+
@extend .arrow
|
101
|
+
@extend .sprite-new
|
102
|
+
|