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
| /**
| * FAQ Block - Editor Styles
| */
|
| .faq-block-editor {
| padding: 2rem;
| border: 2px dashed #ccc;
| border-radius: 8px;
| background: #f9f9f9;
|
| .faq-block-preview {
| text-align: center;
|
| h3 {
| margin: 0 0 0.5rem;
| font-size: 1.25rem;
| font-weight: 600;
| }
|
| > p {
| margin: 0 0 1.5rem;
| color: #666;
| }
|
| .faq-sections-preview {
| margin-top: 1.5rem;
| text-align: left;
| background: white;
| padding: 1rem;
| border-radius: 4px;
|
| strong {
| display: block;
| margin-bottom: 0.5rem;
| }
|
| ol {
| margin: 0;
| padding-left: 1.5rem;
|
| li {
| margin: 0.25rem 0;
| padding: 0.25rem 0;
| }
| }
| }
| }
| }
|
| // Inspector Controls
| .faq-section-list {
| display: flex;
| flex-direction: column;
| gap: 0.5rem;
| margin-top: 0.5rem;
| }
|
| .faq-section-item {
| display: flex;
| align-items: center;
| gap: 0.5rem;
| padding: 0.5rem 0.75rem;
| background: white;
| border: 1px solid #ddd;
| border-radius: 4px;
| transition: background 150ms ease;
|
| &:hover {
| background: #f9f9f9;
| }
| }
|
| .faq-section-controls {
| display: flex;
| gap: 0.25rem;
| flex-shrink: 0;
| }
|
| .faq-section-button {
| min-width: 30px !important;
| padding: 4px !important;
| height: 30px !important;
|
| &:disabled {
| opacity: 0.3;
| cursor: not-allowed;
| }
| }
|
| .faq-section-name {
| flex: 1;
| font-weight: 500;
| padding-left: 0.5rem;
| }
|
| // Notice adjustments
| .components-panel__body .components-notice {
| margin: 1rem 0;
| }
|
|