mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
refactor(panel): 配置区能力卡片、Stripe 分栏与任务预设主从布局
Made-with: Cursor
This commit is contained in:
2045
panel.html
2045
panel.html
File diff suppressed because it is too large
Load Diff
184
panel.js
184
panel.js
@@ -3489,6 +3489,21 @@ async function _handleTaskProfileWorkspaceClick(event) {
|
||||
actionEl.dataset.taskTab || currentTaskProfileTabId;
|
||||
_refreshTaskProfileWorkspace();
|
||||
return;
|
||||
case "select-profile": {
|
||||
const profileId = actionEl.dataset.profileId;
|
||||
if (profileId) {
|
||||
const settings = _getSettings?.() || {};
|
||||
const nextTaskProfiles = setActiveTaskProfileId(
|
||||
settings.taskProfiles || {},
|
||||
currentTaskProfileTaskType,
|
||||
profileId,
|
||||
);
|
||||
currentTaskProfileBlockId = "";
|
||||
currentTaskProfileRuleId = "";
|
||||
_patchTaskProfiles(nextTaskProfiles);
|
||||
}
|
||||
return;
|
||||
}
|
||||
case "refresh-task-debug":
|
||||
if (typeof _getRuntimeDebugSnapshot === "function") {
|
||||
_getRuntimeDebugSnapshot({ refreshHost: true });
|
||||
@@ -3683,8 +3698,8 @@ function _renderTaskProfileWorkspace(state) {
|
||||
|
||||
return `
|
||||
<div class="bme-task-shell">
|
||||
<div class="bme-task-header">
|
||||
<div class="bme-task-type-tabs">
|
||||
<div class="bme-task-action-bar">
|
||||
<div class="bme-task-segmented-control">
|
||||
${state.taskTypeOptions
|
||||
.map(
|
||||
(item) => `
|
||||
@@ -3693,111 +3708,116 @@ function _renderTaskProfileWorkspace(state) {
|
||||
data-task-action="switch-task-type"
|
||||
data-task-type="${_escAttr(item.id)}"
|
||||
type="button"
|
||||
>
|
||||
<span>${_escHtml(item.label)}</span>
|
||||
</button>
|
||||
>${_escHtml(item.label)}</button>
|
||||
`,
|
||||
)
|
||||
.join("")}
|
||||
<span style="flex:1"></span>
|
||||
</div>
|
||||
<div class="bme-task-action-bar-right">
|
||||
<button class="bme-config-secondary-btn bme-bulk-profile-btn bme-task-btn-danger" data-task-action="restore-all-profiles" type="button" title="恢复全部 6 个任务的默认预设">
|
||||
<i class="fa-solid fa-arrows-rotate" style="margin-right:4px"></i>恢复全部
|
||||
<i class="fa-solid fa-arrows-rotate"></i><span>恢复全部</span>
|
||||
</button>
|
||||
<button class="bme-config-secondary-btn bme-bulk-profile-btn" data-task-action="export-all-profiles" type="button" title="导出全部 6 个任务预设">
|
||||
<i class="fa-solid fa-file-export" style="margin-right:4px"></i>导出全部
|
||||
<i class="fa-solid fa-file-export"></i><span>导出全部</span>
|
||||
</button>
|
||||
<button class="bme-config-secondary-btn bme-bulk-profile-btn" data-task-action="import-all-profiles" type="button" title="导入全部预设(覆盖当前)">
|
||||
<i class="fa-solid fa-file-import" style="margin-right:4px"></i>导入全部
|
||||
<i class="fa-solid fa-file-import"></i><span>导入全部</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bme-config-card bme-task-header-card">
|
||||
<div class="bme-config-card-head">
|
||||
<div>
|
||||
<div class="bme-config-card-title">
|
||||
${_escHtml(taskMeta?.label || state.taskType)} 任务预设
|
||||
</div>
|
||||
<div class="bme-config-card-subtitle">
|
||||
${_escHtml(taskMeta?.description || "")}
|
||||
</div>
|
||||
</div>
|
||||
<div class="bme-task-profile-badges">
|
||||
<span class="bme-task-pill ${state.profile.builtin ? "is-builtin" : ""}">
|
||||
${state.profile.builtin ? "内置" : "自定义"}
|
||||
</span>
|
||||
<span class="bme-task-pill">更新于 ${_escHtml(profileUpdatedAt)}</span>
|
||||
</div>
|
||||
<div class="bme-task-master-detail">
|
||||
<div class="bme-task-profile-list">
|
||||
<div class="bme-task-profile-list-header">
|
||||
<span>${_escHtml(taskMeta?.label || state.taskType)}</span>
|
||||
</div>
|
||||
<select id="bme-task-profile-select" class="bme-config-input" style="display:none">
|
||||
${state.bucket.profiles
|
||||
.map(
|
||||
(profile) => `
|
||||
<option
|
||||
value="${_escAttr(profile.id)}"
|
||||
${profile.id === state.profile.id ? "selected" : ""}
|
||||
>
|
||||
${_escHtml(profile.name)}${profile.builtin ? " · 内置" : ""}
|
||||
</option>
|
||||
`,
|
||||
)
|
||||
.join("")}
|
||||
</select>
|
||||
<div class="bme-task-profile-items">
|
||||
${state.bucket.profiles
|
||||
.map(
|
||||
(profile) => `
|
||||
<div
|
||||
class="bme-task-profile-list-item ${profile.id === state.profile.id ? "active" : ""}"
|
||||
data-task-action="select-profile"
|
||||
data-profile-id="${_escAttr(profile.id)}"
|
||||
>
|
||||
<div class="bme-task-profile-list-item-name">${_escHtml(profile.name)}</div>
|
||||
${profile.builtin ? '<span class="bme-task-pill is-builtin">内置</span>' : ""}
|
||||
</div>
|
||||
`,
|
||||
)
|
||||
.join("")}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bme-task-header-fields">
|
||||
<div class="bme-config-row">
|
||||
<label for="bme-task-profile-select">当前预设</label>
|
||||
<select id="bme-task-profile-select" class="bme-config-input">
|
||||
${state.bucket.profiles
|
||||
.map(
|
||||
(profile) => `
|
||||
<option
|
||||
value="${_escAttr(profile.id)}"
|
||||
${profile.id === state.profile.id ? "selected" : ""}
|
||||
>
|
||||
${_escHtml(profile.name)}${profile.builtin ? " · 内置" : ""}
|
||||
</option>
|
||||
`,
|
||||
)
|
||||
.join("")}
|
||||
</select>
|
||||
</div>
|
||||
<div class="bme-config-row">
|
||||
<label for="bme-task-profile-name">预设名称</label>
|
||||
<div class="bme-task-profile-editor">
|
||||
<div class="bme-task-editor-header">
|
||||
<div class="bme-task-editor-title-row">
|
||||
<input
|
||||
id="bme-task-profile-name"
|
||||
class="bme-config-input"
|
||||
class="bme-task-editor-name-input"
|
||||
type="text"
|
||||
value="${_escAttr(state.profile.name || "")}"
|
||||
placeholder="输入预设名称"
|
||||
/>
|
||||
<div class="bme-task-profile-badges">
|
||||
<span class="bme-task-pill ${state.profile.builtin ? "is-builtin" : ""}">
|
||||
${state.profile.builtin ? "内置" : "自定义"}
|
||||
</span>
|
||||
<span class="bme-task-pill">更新于 ${_escHtml(profileUpdatedAt)}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bme-task-editor-actions">
|
||||
<button class="bme-config-secondary-btn" data-task-action="save-profile" type="button"><i class="fa-solid fa-floppy-disk"></i><span>保存</span></button>
|
||||
<button class="bme-config-secondary-btn" data-task-action="rename-profile" type="button"><i class="fa-solid fa-pen"></i><span>重命名</span></button>
|
||||
<button class="bme-config-secondary-btn" data-task-action="save-as-profile" type="button"><i class="fa-solid fa-copy"></i><span>另存为</span></button>
|
||||
<button class="bme-config-secondary-btn" data-task-action="import-profile" type="button"><i class="fa-solid fa-file-import"></i><span>导入</span></button>
|
||||
<button class="bme-config-secondary-btn" data-task-action="export-profile" type="button"><i class="fa-solid fa-file-export"></i><span>导出</span></button>
|
||||
<button class="bme-config-secondary-btn bme-task-btn-danger" data-task-action="restore-default-profile" type="button"><i class="fa-solid fa-arrows-rotate"></i><span>恢复默认</span></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bme-task-header-actions">
|
||||
<button class="bme-config-secondary-btn" data-task-action="save-profile" type="button">保存</button>
|
||||
<button class="bme-config-secondary-btn" data-task-action="rename-profile" type="button">重命名</button>
|
||||
<button class="bme-config-secondary-btn" data-task-action="save-as-profile" type="button">另存为</button>
|
||||
<span class="bme-task-action-sep"></span>
|
||||
<button class="bme-config-secondary-btn" data-task-action="import-profile" type="button">导入</button>
|
||||
<button class="bme-config-secondary-btn" data-task-action="export-profile" type="button">导出</button>
|
||||
<span class="bme-task-action-sep"></span>
|
||||
<button class="bme-config-secondary-btn bme-task-btn-danger" data-task-action="restore-default-profile" type="button">恢复默认</button>
|
||||
<div class="bme-task-subtabs">
|
||||
${TASK_PROFILE_TABS.map(
|
||||
(tab) => `
|
||||
<button
|
||||
class="bme-task-subtab-btn ${tab.id === state.taskTabId ? "active" : ""}"
|
||||
data-task-action="switch-task-tab"
|
||||
data-task-tab="${_escAttr(tab.id)}"
|
||||
type="button"
|
||||
>
|
||||
${_escHtml(tab.label)}
|
||||
</button>
|
||||
`,
|
||||
).join("")}
|
||||
</div>
|
||||
|
||||
<div class="bme-task-tab-body">
|
||||
${
|
||||
state.taskTabId === "generation"
|
||||
? _renderTaskGenerationTab(state)
|
||||
: state.taskTabId === "regex"
|
||||
? _renderTaskRegexTab(state)
|
||||
: state.taskTabId === "debug"
|
||||
? _renderTaskDebugTab(state)
|
||||
: _renderTaskPromptTab(state)
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bme-task-subtabs">
|
||||
${TASK_PROFILE_TABS.map(
|
||||
(tab) => `
|
||||
<button
|
||||
class="bme-task-subtab-btn ${tab.id === state.taskTabId ? "active" : ""}"
|
||||
data-task-action="switch-task-tab"
|
||||
data-task-tab="${_escAttr(tab.id)}"
|
||||
type="button"
|
||||
>
|
||||
${_escHtml(tab.label)}
|
||||
</button>
|
||||
`,
|
||||
).join("")}
|
||||
</div>
|
||||
|
||||
<div class="bme-task-tab-body">
|
||||
${
|
||||
state.taskTabId === "generation"
|
||||
? _renderTaskGenerationTab(state)
|
||||
: state.taskTabId === "regex"
|
||||
? _renderTaskRegexTab(state)
|
||||
: state.taskTabId === "debug"
|
||||
? _renderTaskDebugTab(state)
|
||||
: _renderTaskPromptTab(state)
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
384
style.css
384
style.css
@@ -1311,7 +1311,8 @@
|
||||
#st-bme-panel textarea.bme-config-textarea,
|
||||
#st-bme-panel input.bme-search-input,
|
||||
#st-bme-panel .bme-node-detail-input,
|
||||
#st-bme-panel .bme-node-detail-textarea {
|
||||
#st-bme-panel .bme-node-detail-textarea,
|
||||
#st-bme-panel .bme-task-editor-name-input {
|
||||
background-color: var(--bme-surface-high) !important;
|
||||
color: var(--bme-on-surface) !important;
|
||||
}
|
||||
@@ -1676,6 +1677,148 @@
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/* --- CAPABILITY CARD GRID (Feature Toggles) --- */
|
||||
|
||||
.bme-capability-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.bme-capability-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--bme-surface-container);
|
||||
border: 1px solid var(--bme-border);
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bme-capability-card:hover {
|
||||
border-color: var(--bme-primary);
|
||||
box-shadow: 0 0 0 1px var(--bme-primary), 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.bme-cap-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.bme-cap-icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--bme-primary);
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.bme-cap-title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--bme-on-surface);
|
||||
margin-bottom: 4px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.bme-cap-desc {
|
||||
font-size: 11.5px;
|
||||
color: var(--bme-on-surface-dim);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.bme-capability-card input[type="checkbox"] {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
width: 40px;
|
||||
height: 22px;
|
||||
background: var(--bme-surface-high);
|
||||
border-radius: 11px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
flex-shrink: 0;
|
||||
border: 1px solid var(--bme-border);
|
||||
}
|
||||
|
||||
.bme-capability-card input[type="checkbox"]::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
background: var(--bme-on-surface-dim);
|
||||
top: 2px;
|
||||
left: 3px;
|
||||
transition: transform 0.2s, background 0.2s;
|
||||
}
|
||||
|
||||
.bme-capability-card input[type="checkbox"]:checked {
|
||||
background: var(--bme-primary);
|
||||
border-color: var(--bme-primary);
|
||||
}
|
||||
|
||||
.bme-capability-card input[type="checkbox"]:checked::after {
|
||||
transform: translateX(18px);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/* --- STRIPE ROW LAYOUT (Advanced Settings) --- */
|
||||
|
||||
.bme-stripe-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.bme-stripe-row {
|
||||
display: flex;
|
||||
gap: 32px;
|
||||
padding: 20px 0;
|
||||
border-bottom: 1px solid var(--bme-border);
|
||||
}
|
||||
|
||||
.bme-stripe-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.bme-stripe-label {
|
||||
flex: 0 0 28%;
|
||||
max-width: 28%;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.bme-stripe-label-title {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--bme-on-surface);
|
||||
margin-bottom: 6px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.bme-stripe-label-desc {
|
||||
font-size: 12px;
|
||||
color: var(--bme-on-surface-dim);
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.bme-stripe-content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.bme-stripe-content > .bme-config-card {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.bme-prompt-card-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -1715,7 +1858,193 @@
|
||||
.bme-task-shell {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.bme-task-action-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.bme-task-action-bar-right {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.bme-task-segmented-control {
|
||||
display: inline-flex;
|
||||
background: var(--bme-surface-container);
|
||||
border-radius: 10px;
|
||||
padding: 3px;
|
||||
gap: 2px;
|
||||
border: 1px solid var(--bme-border);
|
||||
}
|
||||
|
||||
.bme-task-segmented-control .bme-task-type-btn {
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
min-height: 32px;
|
||||
padding: 0 14px;
|
||||
font-size: 12.5px;
|
||||
background: transparent;
|
||||
color: var(--bme-on-surface-dim);
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.bme-task-segmented-control .bme-task-type-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
color: var(--bme-on-surface);
|
||||
}
|
||||
|
||||
.bme-task-segmented-control .bme-task-type-btn.active {
|
||||
background: var(--bme-primary);
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.bme-task-master-detail {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
border: 1px solid var(--bme-border);
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
min-height: 480px;
|
||||
background: var(--bme-surface-container);
|
||||
}
|
||||
|
||||
.bme-task-profile-list {
|
||||
width: 220px;
|
||||
flex-shrink: 0;
|
||||
border-right: 1px solid var(--bme-border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--bme-surface);
|
||||
}
|
||||
|
||||
.bme-task-profile-list-header {
|
||||
padding: 14px 16px 10px;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
color: var(--bme-on-surface-dim);
|
||||
border-bottom: 1px solid var(--bme-border);
|
||||
}
|
||||
|
||||
.bme-task-profile-items {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.bme-task-profile-list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 12px;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
font-size: 13px;
|
||||
color: var(--bme-on-surface-dim);
|
||||
}
|
||||
|
||||
.bme-task-profile-list-item:hover {
|
||||
background: var(--bme-surface-high);
|
||||
}
|
||||
|
||||
.bme-task-profile-list-item.active {
|
||||
background: var(--bme-primary-dim);
|
||||
color: var(--bme-primary);
|
||||
border-left: 3px solid var(--bme-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.bme-task-profile-list-item-name {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.bme-task-profile-list-item .bme-task-pill {
|
||||
font-size: 10px;
|
||||
padding: 2px 6px;
|
||||
}
|
||||
|
||||
.bme-task-profile-editor {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.bme-task-editor-header {
|
||||
padding: 16px 20px;
|
||||
border-bottom: 1px solid var(--bme-border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.bme-task-editor-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.bme-task-editor-name-input {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
padding: 6px 10px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid transparent;
|
||||
background: transparent;
|
||||
color: var(--bme-on-surface);
|
||||
transition: border-color 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.bme-task-editor-name-input:hover {
|
||||
border-color: var(--bme-border);
|
||||
background: var(--bme-surface-high);
|
||||
}
|
||||
|
||||
.bme-task-editor-name-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--bme-primary);
|
||||
background: var(--bme-surface-high);
|
||||
}
|
||||
|
||||
.bme-task-editor-actions {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.bme-task-editor-actions .bme-config-secondary-btn {
|
||||
font-size: 12px;
|
||||
min-height: 28px;
|
||||
padding: 0 10px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.bme-task-profile-editor > .bme-task-subtabs {
|
||||
padding: 0 20px;
|
||||
border-bottom: 1px solid var(--bme-border);
|
||||
}
|
||||
|
||||
.bme-task-profile-editor > .bme-task-tab-body {
|
||||
flex: 1;
|
||||
padding: 16px 20px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.bme-task-header {
|
||||
@@ -3734,3 +4063,54 @@
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* --- RESPONSIVE: New Layout Components --- */
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.bme-capability-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.bme-stripe-row {
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.bme-stripe-label {
|
||||
flex: none;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.bme-task-master-detail {
|
||||
flex-direction: column;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.bme-task-profile-list {
|
||||
width: 100%;
|
||||
border-right: none;
|
||||
border-bottom: 1px solid var(--bme-border);
|
||||
max-height: 200px;
|
||||
}
|
||||
|
||||
.bme-task-segmented-control {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.bme-task-action-bar {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.bme-task-action-bar-right {
|
||||
margin-left: 0;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.bme-capability-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user