-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
102 lines (90 loc) · 1.71 KB
/
styles.css
File metadata and controls
102 lines (90 loc) · 1.71 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
/* Molecule Viewer Plugin — dark theme */
/* ── Command palette modal ── */
.mol-modal-container {
width: 50vw;
max-width: 600px;
min-width: 320px;
}
.mol-modal {
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.mol-modal-input {
width: 100%;
background: #111;
border: 1px solid #333;
border-radius: 6px;
color: #ddd;
font-family: var(--font-monospace);
font-size: 14px;
padding: 8px 12px;
box-sizing: border-box;
outline: none;
margin-bottom: 12px;
text-align: center;
}
.mol-modal-input:focus {
border-color: #555;
}
/* ── Molecule container ── */
.mol-container {
background: #000000;
border-radius: 8px;
padding: 12px 16px 16px;
margin: 8px 0;
user-select: none;
position: relative;
}
/* ── SVG wrapper — centred ── */
.mol-svg-wrapper {
display: flex;
justify-content: center;
align-items: center;
min-height: 120px;
}
.mol-svg-wrapper svg {
max-width: 100%;
height: auto;
}
/* ── Copy button — bottom right ── */
.mol-copy-btn {
position: absolute;
bottom: 8px;
right: 8px;
width: 28px;
height: 28px;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
border: 1px solid #333;
border-radius: 4px;
color: #555;
cursor: pointer;
transition: color 0.15s, border-color 0.15s;
}
.mol-copy-btn:hover {
color: #aaa;
border-color: #555;
}
.mol-copy-btn--done {
color: #4ade80;
border-color: #4ade80;
}
/* ── State messages ── */
.mol-error {
color: #e05050;
font-size: 13px;
text-align: center;
margin: 0;
}
.mol-loading {
color: #666;
font-size: 13px;
text-align: center;
margin: 0;
font-style: italic;
}