-
Notifications
You must be signed in to change notification settings - Fork 0
/
dialog.css
80 lines (65 loc) · 1.24 KB
/
dialog.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
/* For the cookie dialog */
dialog {
border-width: 0px;
border-radius: 8px;
}
h2.dialog {
margin: 3px 0px;
}
div.center-close-button {
display: flex;
justify-content: center;
}
button.dialog, button.dialog-cancel {
color: white;
background-color: black;
border-width: 0px;
border-radius: 6px;
padding: 6px 10px;
margin-left: 2px;
margin-right: 2px;
/* prevent accidental cursor selection of button text */
user-select: none;
transition: all 0.1s ease;
}
button.dialog:hover {
color: black;
background-color: cyan; /* lightgreen */
/* outline: 1px solid black; */
}
button.dialog-cancel:hover {
color: black;
background-color: lightgray; /* yellow cyan magenta */
outline: 1px solid black;
}
/*
background: none;
border-radius: 4px;
border: none;
font-size: 2.0em;
*/
button.dialog-cancel-x {
user-select: none;
background: none;
border-radius: 4px;
border: none;
font-size: 2.7em;
position: absolute;
top: 8px;
right: 15px;
padding: 0px 5px;
margin: 0px 2px;
opacity: 0.5;
/* cursor: pointer; */
}
/*
*/
button.dialog-cancel-x:hover {
opacity: 1;
}
ul.dialog {
font-size:14px;
}
li.dialog {
margin-bottom: 5px;
}