-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (84 loc) · 1.59 KB
/
style.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
#sourceView {
font-family: 'Courier New', Courier, monospace;
font-size: 14px;
white-space: pre-wrap;
resize: none;
}
/* Font controls */
#fontFamilySelect,
#fontSizeSelect,
#headingSelect {
min-width: 120px;
}
#fontFamilySelect option {
font-size: 14px;
}
/* Emoji and Symbol pickers */
.emoji-picker,
.color-picker,
.symbol-picker {
position: absolute;
background: var(--bs-body-bg);
border: 1px solid var(--bs-border-color-translucent);
border-radius: var(--bs-border-radius);
padding: 5px;
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 2px;
z-index: 1000;
box-shadow: var(--bs-box-shadow);
}
.emoji-picker button,
.color-picker button,
.symbol-picker button {
background: none;
border: 1px solid #464646;
padding: 5px;
cursor: pointer;
font-size: 16px;
}
.emoji-picker button:hover,
.color-picker button:hover,
.symbol-picker button:hover {
background: #575757;
}
/* Table styles */
.table {
width: 100%;
margin-bottom: 1rem;
border-collapse: collapse;
}
.table th,
.table td {
padding: 0.75rem;
vertical-align: top;
border: 1px solid #dee2e6;
min-width: 100px;
}
.table th {
font-weight: bold;
background-color: rgba(0, 0, 0, 0.05);
}
/* Add tooltips for better UX */
[data-command] {
position: relative;
}
[data-command]::after {
transition:opacity 1s linear;
opacity:0;
}
[data-command]:hover::after {
content: attr(title);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
padding: 4px 8px;
background-color: rgba(0, 0, 0, 0.8);
color: white;
opacity: 1;
border-radius: 4px;
font-size: 12px;
white-space: nowrap;
z-index: 1000;
}