PluginProbe
Code Snippets / 4.0.0-beta.1
Code Snippets v4.0.0-beta.1
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.scss

edit.scss in Code Snippets 4.0.0-beta.1, at css/edit.scss

115 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Styles for the edit snippet admin page.
3 */
4
5 @use 'common/direction';
6 @use 'common/codemirror';
7 @use 'common/badges';
8 @use 'common/switch';
9 @use 'common/select';
10 @use 'common/tooltips';
11 @use 'common/modal';
12 @use 'common/notices';
13 @use 'common/upsell';
14 @use 'common/toolbar';
15 @use 'common/wp-admin';
16 @use 'edit/form';
17 @use 'edit/sidebar';
18 @use 'edit/editor';
19 @use 'edit/conditions';
20 @use 'edit/gpt';
21
22 .banner.error blockquote {
23 margin-block-end: 0;
24 }
25
26 .button svg {
27 block-size: 1rem;
28 vertical-align: middle;
29 line-height: 1;
30 margin: 0;
31 }
32
33 #adminmenu a.code-snippets-edit-menu-link {
34 cursor: pointer;
35 }
36
37 .snippet-description-container {
38 label {
39 font-size: 1.16em;
40 font-weight: 600;
41 text-transform: unset;
42 }
43
44 .wp-editor-tools {
45 padding-block-start: 5px;
46 }
47
48 .wp-editor-tabs {
49 float: inline-start;
50 }
51
52 .generate-button {
53 float: inline-end;
54 margin-block-start: 37px;
55 z-index: 99;
56 position: relative;
57 }
58 }
59
60 .components-form-token-field__input-container {
61 background: #fff;
62 border-color: #c3c4c7;
63
64 > .components-flex {
65 padding: 12px;
66 }
67 }
68
69 .above-snippet-code {
70 margin-block: 0 15px;
71 display: flex;
72 align-items: center;
73 margin-inline: 0;
74 gap: 8px;
75
76 label {
77 font-size: 1.16em;
78 font-weight: 600;
79 }
80
81 .expand-editor-button {
82 display: flex;
83 gap: 5px;
84 align-items: center;
85 margin-inline-end: auto;
86
87 .dashicons {
88 inline-size: 18px;
89 block-size: 18px;
90 font-size: 18px;
91 }
92 }
93 }
94
95 .wrap > h2:first-of-type {
96 font-size: 1.5rem;
97 font-weight: 400;
98 line-height: 1.3;
99 padding: 0;
100 margin-block: 50px 1rem;
101 }
102
103 .snippet-name-wrapper {
104 display: flex;
105 gap: 0.5em;
106
107 > :first-child {
108 flex: 1;
109 }
110 }
111
112 form.condition-snippet .snippet-code-container {
113 display: none;
114 }
115