-
Notifications
You must be signed in to change notification settings - Fork 0
/
emergency_contacts.css
34 lines (33 loc) · 1.32 KB
/
emergency_contacts.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
/* Link formatting */
table.datadisplaytable[summary="This table shows emergency contacts."] > tbody > tr > td:nth-child(2) > a, table.datadisplaytable[summary="This table shows emergency contacts."] > tbody > tr > td:nth-child(2) > a:hover, table.datadisplaytable[summary="This table shows emergency contacts."] > tbody > tr > td:nth-child(2) > a:visited {
color: #D6001C;
}
/* Add contact */
/*
table.datadisplaytable[summary="This table shows emergency contacts."]>tbody>tr:last-of-type>td:nth-child(1) {
visibility: hidden;
}
*/
table.datadisplaytable[summary="This table shows emergency contacts."] > tbody > tr:last-of-type > td:nth-child(2) > a {
/* Bubble around "New Contact" */
border-style: solid;
border-width: 1px;
border-color: #D6001C;
border-radius: 0.5em;
background-color: #D6001C;
padding-left: 0.5em;
padding-right: 1em;
/*background-image: url("page_assets/plus_icon.gif");*/
/* "New Contact" text */
color: white;
}
table.datadisplaytable[summary="This table shows emergency contacts."] > tbody > tr:last-of-type > td:nth-child(2) > a:hover {
color: #D6001C;
background-color: white;
text-decoration-line: unset;
}
table.datadisplaytable[summary="This table shows emergency contacts."] > tbody > tr:last-of-type > td:nth-child(2) > a::before {
content: "+";
font-weight: 900;
padding: 1px;
}