forked from ocsigen/ocsigen-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathot_defaults.css
More file actions
161 lines (142 loc) · 2.93 KB
/
ot_defaults.css
File metadata and controls
161 lines (142 loc) · 2.93 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
div.ot-toggle {
display: inline;
padding: 5pt 1pt 5pt 1pt;
border-radius: 5pt
}
div.ot-inactive {
color: white;
display: inline;
padding: 3pt;
border: solid 1px transparent;
cursor: pointer;
}
div.ot-active.ot-up {
color: green;
display: inline;
padding: 3pt;
border: solid 1px green;
border-radius: 5pt;
}
div.ot-active.ot-down {
color: red;
display: inline;
padding: 3pt;
border: solid 1px red;
border-radius: 5pt;
}
svg.ot-tp-clock {
width: 120pt;
border: solid 1px #333333;
background-color: white;
border-radius: 60pt;
display: inline-block;
}
svg.ot-tp-clock.ot-tp-clock-24h {
width: 160pt;
border-radius: 80pt;
}
svg.ot-tp-clock.ot-tp-clock-24h text {
font-size: 6pt;
}
svg.ot-tp-clock path {
stroke: #333333;
stroke-width: 2px;
}
svg.ot-tp-clock path.ot-tp-hand {
stroke: #990000;
stroke-width: 1px;
}
svg.ot-tp-clock circle.ot-tp-hand-circle {
stroke: #990000;
stroke-width: 1px;
fill: #990000;
fill-opacity: .3;
}
svg.ot-tp-clock.ot-tp-click-anywhere {
cursor: pointer;
}
div.ot-tp-container {
width: 160pt;
border-radius: 4pt;
background-color: #f9f9f9;
margin: 5pt;
padding: 5pt;
border: solid 1px #999999;
display: block;
text-align: center;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
.ot-tp-text {
cursor: pointer;
}
div.ot-tp-container div.ot-toggle {
display: inline;
padding: 5pt 1pt 5pt 1pt;
margin: 4pt 0pt 0pt 0pt;
border: solid 1px #333333;
border-radius: 5pt
}
div.ot-tp-container div.ot-inactive {
color: black;
display: inline;
padding: 3pt;
border: solid 1px transparent;
cursor: pointer;
}
div.ot-tp-container div.ot-active {
color: black;
background-color: #fafafa;
display: inline;
padding: 3pt;
border: solid 1px #333333;
border-radius: 5pt;
}
div.ot-tp-container div.ot-toggle {
display: inline-block;
padding: 5pt 1pt 5pt 1pt;
background-color: white;
border: 1px solid #333333;
}
div.ot-tp-container div.ot-tp-display {
display: block;
margin-left: 4pt;
padding: 6pt;
}
.ot-c-table th,
.ot-c-table td {
padding: .6rem;
text-align: right;
}
.ot-c-table td {
cursor: pointer;
}
.ot-c-clicked {
background-color: #990000;
border-radius: 50%;
}
.ot-c-prev-year-button,
.ot-c-next-year-button,
.ot-c-prev-button,
.ot-c-next-button {
padding: 0 2rem;
cursor: pointer;
}
th.ot-c-header {
text-align:center;
}
@keyframes shake-animation {
0% {transform: translateX(0)}
25% {transform: translateX(-5px)}
75% {transform: translateX(5px)}
100% {transform: translateX(0)}
}
.ot-tp-clock-min {
animation-name: shake-animation;
animation-duration: .1s;
}