-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
81 lines (72 loc) · 1.61 KB
/
styles.css
File metadata and controls
81 lines (72 loc) · 1.61 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
/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
/* Simple spinner for status bar progress */
.ask-canvas-spinner {
display: inline-block;
width: 0.8em;
height: 0.8em;
border: 2px solid var(--text-muted);
border-top-color: var(--interactive-accent);
border-radius: 50%;
animation: ask-canvas-spin 0.9s linear infinite;
vertical-align: -0.1em;
}
@keyframes ask-canvas-spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Keep plugin UI visible but disabled when Canvas isn't active */
.smart-canvas-disabled {
opacity: 0.55;
pointer-events: none;
cursor: not-allowed !important;
filter: grayscale(15%);
}
/* Suggestion list styling (FuzzySuggestModal) */
.ask-canvas-suggestion-top {
display: flex;
justify-content: space-between;
align-items: baseline;
}
.ask-canvas-suggestion-left {
font-weight: 600;
}
.ask-canvas-suggestion-right {
opacity: 0.6;
margin-left: 12px;
}
.ask-canvas-suggestion-snippet {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
opacity: 0.85;
margin-top: 2px;
}
.ask-canvas-suggestion-hint {
font-size: 0.8em;
margin-top: 4px;
}
/* Status bar */
.ask-canvas-status-label {
margin-right: 6px;
}
.status-bar-item.ask-canvas-busy {
pointer-events: none;
}
/* Modals & settings */
.ask-canvas-btn-row {
margin-top: 12px;
display: flex;
align-items: center;
}
.ask-canvas-btn-cancel {
margin-left: 8px;
}
.ask-canvas-question-textarea,
.ask-canvas-settings-textarea {
width: 100%;
height: 8em;
}