-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.css
81 lines (76 loc) · 1.6 KB
/
content.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
#memoContainer {
position: fixed;
top: 10px;
right: 10px;
width: 250px;
height: auto;
z-index: 1000;
background-color: white;
border: 1px solid #ccc;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
font-family: Arial, sans-serif;
font-size: 14px;
display: flex;
flex-direction: column;
transition: width 0.3s, height 0.3s;
/* Add transition for smooth resizing */
}
#memoHeader {
background-color: #f1f1f1;
padding: 10px;
cursor: move;
text-align: center;
border-bottom: 1px solid #ccc;
display: flex;
justify-content: space-between;
align-items: center;
}
#toggleButton {
background-color: #007BFF;
border: none;
color: white;
padding: 5px 10px;
cursor: pointer;
font-size: 12px;
border-radius: 4px;
}
#deleteButton {
background-color: #dc3545;
border: none;
color: white;
padding: 5px 10px;
cursor: pointer;
font-size: 12px;
border-radius: 4px;
margin-left: 10px;
/* Adjust margin as needed */
}
#pageMemo {
flex-grow: 1;
padding: 10px;
border: none;
outline: none;
width: calc(100% - 20px);
box-sizing: border-box;
font-family: Arial, sans-serif;
font-size: 14px;
background-color: #fff;
color: #000;
}
#memoIcon {
position: fixed;
top: 10px;
right: 10px;
width: 40px;
height: 40px;
z-index: 1001;
background-color: #007BFF;
color: white;
display: none;
justify-content: center;
align-items: center;
cursor: pointer;
font-size: 24px;
border-radius: 50%;
text-align: center;
}