forked from cogtoolslab/cognitive-ai-benchmarking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjspsych.css
125 lines (107 loc) · 2.45 KB
/
jspsych.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/*
* CSS for jsPsych experiments.
*
* This stylesheet provides minimal styling to make jsPsych
* experiments look polished without any additional styles.
*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
/* Container holding jsPsych content */
.jspsych-display-element {
display: flex;
flex-direction: column;
overflow-y: auto;
}
.jspsych-display-element:focus {
outline: none;
}
.jspsych-content-wrapper {
display: flex;
margin: auto;
flex: 1 1 100%;
width: 100%;
}
.jspsych-content {
max-width: 95%; /* this is mainly an IE 10-11 fix */
text-align: center;
margin: auto; /* this is for overflowing content */
}
.jspsych-top {
align-items: flex-start;
}
.jspsych-middle {
align-items: center;
}
/* fonts and type */
.jspsych-display-element {
font-family: 'Open Sans', 'Arial', sans-serif;
font-size: 18px;
line-height: 1.6em;
}
/* Form elements like input fields and buttons */
.jspsych-display-element input[type="text"] {
font-family: 'Open Sans', 'Arial', sans-serif;
font-size: 14px;
}
/* borrowing Bootstrap style for btn elements, but combining styles a bit */
.jspsych-btn {
display: inline-block;
padding: 6px 12px;
margin: 0px;
font-size: 14px;
font-weight: 400;
font-family: 'Open Sans', 'Arial', sans-serif;
cursor: pointer;
line-height: 1.4;
text-align: center;
white-space: nowrap;
vertical-align: middle;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
color: #333;
background-color: #fff;
border-color: #ccc;
}
.jspsych-btn:hover {
background-color: #ddd;
border-color: #aaa;
}
.jspsych-btn:disabled {
background-color: #eee;
color: #aaa;
border-color: #ccc;
cursor: not-allowed;
}
/* jsPsych progress bar */
#jspsych-progressbar-container {
color: #555;
border-bottom: 1px solid #dedede;
background-color: #F5F5F5;
margin-bottom: 1em;
text-align: center;
padding: 8px 0px;
width: 100%;
line-height: 1em;
}
#jspsych-progressbar-container span {
font-size: 14px;
padding-right: 14px;
}
#jspsych-progressbar-outer {
background-color: #eee;
width: 50%;
margin: auto;
height: 14px;
display: inline-block;
vertical-align: middle;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
#jspsych-progressbar-inner {
background-color: #aaa;
width: 0%;
height: 100%;
}
/* Control appearance of jsPsych.data.displayData() */
#jspsych-data-display {
text-align: left;
}