-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
133 lines (114 loc) · 2.61 KB
/
styles.css
File metadata and controls
133 lines (114 loc) · 2.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/*
CSS styles for the AI Summarizer plugin
*/
.ai-summarizer-view {
padding: 20px;
}
.ai-summarizer-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.ai-summarizer-settings-button {
background: none;
border: none;
cursor: pointer;
font-size: 1em;
}
.ai-summarizer-form {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 20px;
}
.ai-summarizer-form label {
font-weight: bold;
}
.ai-summarizer-form input[type='text'],
.ai-summarizer-form select,
.ai-summarizer-form textarea {
padding: 5px;
border: 1px solid var(--interactive-hover);
border-radius: 4px;
width: 100%;
font-family: inherit;
font-size: inherit;
}
.ai-summarizer-form button {
padding: 10px;
background-color: var(--interactive-accent);
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
.ai-summarizer-form button:hover {
background-color: var(--interactive-accent-hover);
}
.button-container {
display: flex;
gap: 10px;
margin-top: 10px;
}
.ai-summarizer-loading {
font-style: italic;
color: var(--text-accent);
margin-top: 10px;
}
.ai-summarizer-loading .spinner {
border: 4px solid var(--background-modifier-border);
border-top: 4px solid var(--interactive-accent);
border-radius: 50%;
width: 24px;
height: 24px;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.ai-summarizer-summary {
width: 100%;
height: 200px;
margin-top: 20px;
padding: 10px;
border: 1px solid var(--interactive-hover);
border-radius: 4px;
font-family: inherit;
font-size: inherit;
resize: vertical;
}
.ai-summarizer-create-note {
margin-top: 10px;
padding: 10px;
background-color: var(--interactive-accent);
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
.ai-summarizer-create-note:hover {
background-color: var(--interactive-accent-hover);
}
.error-message {
color: var(--text-error);
margin-top: 10px;
}
.ai-summarizer-result {
padding: 10px;
border: 1px solid var(--background-modifier-border);
border-radius: 4px;
background-color: var(--background-primary);
margin-top: 20px;
}
.ai-summarizer-prompt-select {
padding: 5px;
border: 1px solid var(--interactive-hover);
border-radius: 4px;
width: 100%;
font-family: inherit;
font-size: inherit;
}