This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
/
topeka-quizzes.css
130 lines (106 loc) · 2.57 KB
/
topeka-quizzes.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
126
127
128
129
130
/*
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
:host {
overflow: hidden;
}
.quizzes-panel {
overflow: auto;
-webkit-overflow-scrolling: touch;
}
:host([animate]) .quizzes-panel {
overflow: visible;
}
::-webkit-scrollbar {
display: none;
}
.card {
position: relative;
}
.quizzes-panel.wide > .card {
width: 512px;
margin: 64px auto 0;
border-radius: 2px;
overflow: hidden;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}
.card > core-toolbar {
height: 176px;
font-size: 16px;
line-height: 26px;
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.card > core-toolbar::shadow #topBar {
height: 176px;
}
.quizzes-panel.wide > .card > core-toolbar {
font-size: 18px;
}
.quizzes-panel.wide core-toolbar > .question {
padding: 0 8px;
}
.quizzes-content {
background-color: #fff;
overflow: auto;
-webkit-overflow-scrolling: touch;
position: relative;
}
.quizzes-panel.wide .quizzes-content {
overflow: inherit;
}
#quizViews {
display: block;
}
#quizViews > * {
display: none;
}
#quizViews > .core-selected {
display: block;
}
paper-fab.check-button {
position: absolute;
top: 148px;
right: 16px;
background-color: #f5f5f5;
color: #cdcdcd;
transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1) 500ms, background-color 500ms cubic-bezier(0.4, 0, 0.2, 1);
-webkit-transition: -webkit-transform 500ms cubic-bezier(0.4, 0, 0.2, 1) 500ms, background-color 500ms cubic-bezier(0.4, 0, 0.2, 1);
-webkit-transform: scale(0);
transform: scale(0);
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
}
:host([animate]) paper-fab {
visibility: hidden;
}
.quizzes-panel.wide paper-fab.check-button {
right: 24px;
}
.answered paper-fab.check-button {
-webkit-transform: none;
transform: none;
}
.answered paper-fab.check-button.correct {
background-color: #00e676;
color: #fff;
}
.answered paper-fab.check-button.incorrect {
background-color: #ff5252;
color: #fff;
}
.answered paper-fab.check-button {
color: #626262;
}
topeka-status-bar {
position: relative;
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16);
}
topeka-status-bar.wide {
width: 512px;
margin: 0 auto;
}