-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
119 lines (100 loc) · 1.8 KB
/
styles.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
body {
margin-bottom: 3em;
}
.with-margin {
margin-top: 1em;
margin-bottom: 1em;
}
th.date {
width: 100px;
}
th.event {
width: 150px;
}
th.age-group {
width: 50px;
}
th.rank {
width: 43px;
}
th.result {
width: 55px;
}
div.parameters {
border: 1px solid #dfe2e5;
padding: 1em;
}
.sr-only {
position: absolute;
top: -30em;
}
.rankings table.sortable th {
position: relative;
margin: 0;
padding: 0;
font-size: 0.85em;
}
/* Padding needs to be on the label, not the header */
table.sortable th *:first-child {
padding: 8px 20px 8px 14px;
margin: 0;
}
table.sortable th button {
font-size: 100%;
font-weight: bold;
background: transparent;
border: none;
display: inline;
width: 100%;
text-align: left;
outline: none;
cursor: pointer;
}
/* The column sort state indicators */
table.sortable th span[aria-hidden="true"] {
position: absolute;
right: 2px;
top: 0;
bottom: 0;
width: 10px;
cursor: pointer;
pointer-events: none; /* Don't intercept click events */
}
table.sortable th span[aria-hidden="true"]:before,
table.sortable th span[aria-hidden="true"]:after {
left: 0;
opacity: 0.225;
line-height: 9px;
font-size: 0.8em;
}
table.sortable th span[aria-hidden="true"]:before {
position: absolute;
display: block;
bottom: 50%;
content: "▲";
content: "▲" /"";
}
table.sortable th span[aria-hidden="true"]:after {
position: absolute;
display: block;
top: 50%;
content: "▼";
content: "▼" / "";
}
table.sortable th[aria-sort="ascending"] span[aria-hidden="true"]:before {
opacity: 0.6;
}
table.sortable th[aria-sort="descending"] span[aria-hidden="true"]:after {
opacity: 0.6;
}
.error {
margin: 10px 0;
padding: 0 10px 10px 10px;
border-radius: 5px;
color: #d8000bd5;
background-color: #ffcccc;
border: 1px solid #f88888;
}
.error .message {
color: black;
}