PluginProbe
Code Snippets / trunk
Code Snippets vtrunk
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
code-snippets / css / edit / _gpt.scss

_gpt.scss in Code Snippets trunk, at css/edit/_gpt.scss

91 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .cloud-create-modal {
2 .components-modal__content {
3 min-inline-size: 550px;
4 }
5
6 .banner {
7 margin-inline: 0;
8 }
9 }
10
11 .generate-button {
12 display: flex;
13 align-items: center;
14 gap: 5px;
15
16 .dashicons-warning {
17 color: var(--cs-color-error);
18 }
19
20 .snippet-tags-container &,
21 .snippet-description-container & {
22 float: inline-end;
23 }
24 }
25
26 .snippet-tags-container {
27 label {
28 font-size: 1.16em;
29 font-weight: 600;
30 text-transform: unset;
31 }
32 }
33
34 .code-line-explanation {
35 display: flex;
36 cursor: default;
37 font-size: inherit;
38 margin: 0;
39 padding-inline: 6px;
40 border-inline-start: none;
41 border-inline-end: none;
42 border-block-start: 1px solid rgb(0 0 0 / 15%);
43 border-block-end: 1px solid rgb(0 0 0 / 15%);
44 border-image-slice: 1;
45 border-image-width: 1;
46 border-image-repeat: stretch;
47 color: #666;
48 font-style: italic;
49 font-family: monospace;
50 gap: 5px;
51 align-items: center;
52
53 img {
54 block-size: 1rem;
55 opacity: 0.7;
56 }
57
58 .code-line-actions {
59 cursor: default;
60 gap: 7px;
61 display: inline-flex;
62 margin-inline-start: 5px;
63 font-family: system-ui;
64 font-style: normal;
65
66 .commit {
67 color: #3d9970;
68 }
69
70 .remove {
71 color: var(--cs-color-error);
72 }
73
74 .action {
75 cursor: pointer;
76 opacity: 0.6;
77
78 &:hover {
79 opacity: 1;
80 }
81 }
82 }
83 }
84
85 // The tags field sits in the lower form area, not the sidebar. Its help text
86 // takes the component's own grey, 4.05:1 on this surface, from an injected
87 // single-class rule; two classes outrank it and the muted token clears 4.5:1.
88 .snippet-tags-container .components-form-token-field__help {
89 color: var(--cs-color-text-muted);
90 }
91