-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
executable file
·144 lines (126 loc) · 3.03 KB
/
styles.css
File metadata and controls
executable file
·144 lines (126 loc) · 3.03 KB
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
.que.flashcard .answer .specificfeedback {
display: inline;
padding: 0 0.7em;
background: #fff3bf;
}
.que.flashcard .answer div.r0,
.que.flashcard .answer div.r1 {
padding: 0.3em 0 0.3em 25px;
text-indent: -25px;
}
.que.flashcard .answer div.r0 label,
.que.flashcard .answer div.r1 label,
.que.flashcard .answer div.r0 div.specificfeedback,
.que.flashcard .answer div.r1 div.specificfeedback {
/* In Chrome and IE, the text-indent above is applied to any embedded table
cells or <li>s, which screFws up the intended layout. This fixes it again. */
text-indent: 0;
}
.que.flashcard .answer div.r0 input,
.que.flashcard .answer div.r1 input {
margin: 0 5px;
padding: 0;
width: 15px;
}
/* Editing form. */
body#page-question-type-flashcard div[id^=fitem_id_][id*=answer_] {
background: #eee;
margin-top: 0;
margin-bottom: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #bbb;
border-bottom: 0;
}
body#page-question-type-flashcard div[id^=fitem_id_][id*=answer_] .fitemtitle {
font-weight: bold;
}
body#page-question-type-flashcard div[id^=fitem_id_] .fitemtitle {
margin-left: 0;
margin-right: 0;
padding-left: 6px;
padding-right: 0;
}
/*begin flip animation*/
.qflashcard-flipcontainer {
perspective: 1000px;
}
@keyframes flipquestion {
0% {
transform: rotateX(0deg);
visibility: visible;
max-height: 10000000px;
}
100% {
transform: rotateX(90deg);
visibility: hidden;
max-height: 0;
}
}
@keyframes flipfbutton {
0% {
transform: rotateX(0deg);
visibility: visible;
max-height: 10000000px;
}
50% {
transform: rotateX(90deg);
visibility: hidden;
max-height: 0;
}
100% {
transform: rotateX(0deg);
visibility: visible;
max-height: 10000000px;
}
}
@keyframes flipablock {
0% {
transform: rotateX(-90deg);
visibility: hidden;
max-height: 0;
}
100% {
transform: rotateX(0deg);
visibility: visible;
max-height: 10000000px;
}
}
.qflashcard-flipcontainer .btn {
border: 0;
}
.flipped .qflashcard-iwasrightbutton {
background-color: green;
}
.flipped .qflashcard-iwaswrongbutton {
background-color: red;
}
.que.flashcard .qflashcard-question {
margin: 0;
}
.que.flashcard .qflashcard-flipin,
.que.flashcard .qflashcard-ablock {
visibility: hidden;
max-height: 0;
margin: 0;
}
.flipped .qflashcard-ablock,
.flipped .qflashcard-flipin {
animation-name: flipablock;
animation-duration: 0.5s;
animation-delay: 0.5s;
animation-fill-mode: both;
animation-timing-function: ease-out;
}
.flipped .qflashcard-question {
animation-name: flipquestion;
animation-duration: 0.5s;
animation-fill-mode: both;
animation-timing-function: ease-in;
}
.flipped .qflashcard-flipbutton {
animation-name: flipfbutton;
animation-duration: 1s;
animation-fill-mode: both;
animation-timing-function: ease-out;
}