Jake Vanderwerf
10 days ago 97e7c319d656a5f05489ca996e249e7359303d4d
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
/*!********************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/faq/editor.scss ***!
  \********************************************************************************************************************************************************************************************************************************************/
/**
 * FAQ Block - Editor Styles
 */
.faq-block-editor {
  padding: 2rem;
  border: 2px dashed #ccc;
  border-radius: 8px;
  background: #f9f9f9;
}
.faq-block-editor .faq-block-preview {
  text-align: center;
}
.faq-block-editor .faq-block-preview h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.faq-block-editor .faq-block-preview > p {
  margin: 0 0 1.5rem;
  color: #666;
}
.faq-block-editor .faq-block-preview .faq-sections-preview {
  margin-top: 1.5rem;
  text-align: right;
  background: white;
  padding: 1rem;
  border-radius: 4px;
}
.faq-block-editor .faq-block-preview .faq-sections-preview strong {
  display: block;
  margin-bottom: 0.5rem;
}
.faq-block-editor .faq-block-preview .faq-sections-preview ol {
  margin: 0;
  padding-right: 1.5rem;
}
.faq-block-editor .faq-block-preview .faq-sections-preview ol li {
  margin: 0.25rem 0;
  padding: 0.25rem 0;
}
.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;
}
.faq-section-item: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;
}
.faq-section-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.faq-section-name {
  flex: 1;
  font-weight: 500;
  padding-right: 0.5rem;
}
.components-panel__body .components-notice {
  margin: 1rem 0;
}