-
Notifications
You must be signed in to change notification settings - Fork 0
/
ritz.css
94 lines (83 loc) · 1.73 KB
/
ritz.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
.ritz-module, .ritz-module * {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.ritz-module {
width: 360px;
height: 94px;
background: #333;
overflow: hidden;
border: 1px solid #333;
position: relative;
font-family: "Verdana", Arial, sans-serif;
box-shadow: 0 4px 4px rgba(0,0,0,0.3);
border-radius: 5px;
margin: 0; padding: 0;
}
.ritz-viewer {
min-height: 60px;
}
.ritz-reticle {
position: absolute;
width: 5px;
height: 100%;
left: 35%;
background: #fff;
}
.ritz-textarea {
position: absolute;
margin: 2.3% 0;
width: 100%;
background: rgba(0,0,0,0.85);
}
.ritz-text {
font-size: 25px;
padding: 8px 0;
color: #fff;
}
.ritz-text em {
color: #00bbff;
font-style: normal;
text-shadow: 0 2px 0 #000;
}
.ritz-controls {
position: absolute;
bottom: 0;
width: 100%;
background: #555;
border-top: 1px solid #000;
padding: 3px 3px 4px;
text-align: center;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.ritz-controls button, .ritz-controls .ritz-wpm {
color: #eee;
background: rgba(0,0,0,0.5);
border: 1px solid #aaa;
transition: 300ms all, 500ms border-radius;
box-shadow: none;
padding: 1px 3px;
font-size: 0.75em;
}
.ritz-controls button:hover {
color: #fff;
background: rgba(0,0,0,0.7);
border: 1px solid #ddd;
box-shadow: 0 1px 0 rgba(0,0,0,0.8);
}
.ritz-progress {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
border-top: 1px solid rgba(0,0,0,0.35);
}
.ritz-progress-bar {
display: block;
width: 50%;
height: 100%;
background: #00bbff;
transition: 300ms all;
}