PluginProbe
WP Coder – Insert & Manage Code Snippets / 4.3
WP Coder – Insert & Manage Code Snippets v4.3
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
wp-coder / assets / scss / _command.scss

_command.scss in WP Coder – Insert & Manage Code Snippets 4.3, at assets/scss/_command.scss

88 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .wowp-command {
2 max-width: 450px;
3 width: 100%;
4 max-height: 380px;
5 height: 100%;
6 border: none;
7 border-radius: 0.5rem;
8 box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
9 border-color: var(--wowp-gray-100);
10 padding: 0;
11
12 .wowp-field {
13 position: sticky;
14 top: 0;
15 background: #fff;
16 z-index: 10;
17 padding: 8px;
18 border-bottom: 1px solid #ddd;
19 }
20
21 }
22
23 .wowp-quickcodes-search {
24 width: 100%;
25 border: none;
26 border-radius: 0;
27 &:focus {
28 outline: none;
29 box-shadow: none;
30 border-color: var(--wowp-gray-100);
31 }
32 }
33
34 .wowp-qc-list {
35 margin: 0;
36 padding: 4px;
37 li {
38 padding: 0.375rem 0.75rem;
39 margin: 0;
40 color: var(--wowp-gray-900);
41 font-weight: 500;
42 display: flex;
43 flex-direction: column;
44 .description {
45 font-weight: normal;
46 color: var(--wowp-gray-700);
47 code {
48 font-size: 0.75rem;
49 }
50 }
51 &.is-active {
52 background-color: #f0f0f0;
53 outline: 1px solid #007cba;
54 }
55 }
56
57 .qc-title {
58 color: var(--wowp-gray-400);
59 font-weight: 500;
60 font-size: .75rem;
61 line-height: 1rem;
62 }
63
64
65 .quickcode {
66 cursor: pointer;
67 border-radius: 0.25rem;
68 &:hover {
69 background-color: var(--wowp-gray-100);
70 }
71 }
72
73 max-height: 300px; /* або інше значення */
74 overflow-y: auto;
75 scrollbar-width: thin; /* Firefox */
76 scrollbar-color: #ccc transparent; /* Firefox */
77 &::-webkit-scrollbar {
78 width: 6px;
79 }
80
81 &::-webkit-scrollbar-thumb {
82 background-color: #ccc;
83 border-radius: 4px;
84 }
85 &::-webkit-scrollbar-track {
86 background: transparent;
87 }
88 }