2024-02-21 11:42:43 +00:00
|
|
|
export default {
|
2024-03-12 08:19:23 +00:00
|
|
|
css: ({ dt }) => `
|
2024-02-21 11:42:43 +00:00
|
|
|
.p-editor-container .p-editor-toolbar {
|
2024-03-13 18:50:24 +00:00
|
|
|
background: ${dt('editor.toolbar.background')};
|
2024-03-12 08:19:23 +00:00
|
|
|
border-top-right-radius: ${dt('rounded.base')};
|
|
|
|
border-top-left-radius: ${dt('rounded.base')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow {
|
2024-03-13 18:50:24 +00:00
|
|
|
border: 1px solid ${dt('editor.toolbar.border.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-stroke {
|
2024-03-13 18:50:24 +00:00
|
|
|
stroke: ${dt('editor.toolbar.item.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-fill {
|
2024-03-13 18:50:24 +00:00
|
|
|
fill: ${dt('editor.toolbar.item.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label {
|
|
|
|
border: 0 none;
|
2024-03-13 18:50:24 +00:00
|
|
|
color: ${dt('editor.toolbar.item.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label:hover {
|
2024-03-13 18:50:24 +00:00
|
|
|
color: ${dt('editor.toolbar.item.hover.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label:hover .ql-stroke {
|
2024-03-13 18:50:24 +00:00
|
|
|
stroke: ${dt('editor.toolbar.item.hover.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label:hover .ql-fill {
|
2024-03-13 18:50:24 +00:00
|
|
|
fill: ${dt('editor.toolbar.item.hover.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {
|
2024-03-13 18:50:24 +00:00
|
|
|
color: ${dt('editor.toolbar.item.active.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {
|
2024-03-13 18:50:24 +00:00
|
|
|
stroke: ${dt('editor.toolbar.item.active.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {
|
2024-03-13 18:50:24 +00:00
|
|
|
fill: ${dt('editor.toolbar.item.active.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {
|
2024-03-13 18:50:24 +00:00
|
|
|
background: ${dt('editor.overlay.background')};
|
|
|
|
border: 1px solid ${dt('editor.overlay.border.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
2024-03-12 08:19:23 +00:00
|
|
|
border-radius: ${dt('rounded.base')};
|
2024-02-21 11:42:43 +00:00
|
|
|
padding: 0.25rem 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options .ql-picker-item {
|
2024-03-13 18:50:24 +00:00
|
|
|
color: ${dt('editor.overlay.item.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options .ql-picker-item:hover {
|
2024-03-13 18:50:24 +00:00
|
|
|
background: ${dt('editor.overlay.item.hover.background')};
|
|
|
|
color: ${dt('editor.overlay.item.hover.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded:not(.ql-icon-picker) .ql-picker-item {
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-content {
|
2024-03-12 08:19:23 +00:00
|
|
|
border-bottom-right-radius: ${dt('rounded.base')};
|
|
|
|
border-bottom-left-radius: ${dt('rounded.base')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-content.ql-snow {
|
2024-03-13 18:50:24 +00:00
|
|
|
border: 1px solid ${dt('editor.content.border.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .p-editor-content .ql-editor {
|
2024-03-13 18:50:24 +00:00
|
|
|
background: ${dt('editor.content.background')};
|
|
|
|
color: ${dt('editor.content.color')};
|
2024-03-12 08:19:23 +00:00
|
|
|
border-bottom-right-radius: ${dt('rounded.base')};
|
|
|
|
border-bottom-left-radius: ${dt('rounded.base')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar button:hover,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar button:focus {
|
2024-03-13 18:50:24 +00:00
|
|
|
color: ${dt('editor.toolbar.item.hover.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar button:hover .ql-stroke,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar button:focus .ql-stroke {
|
2024-03-13 18:50:24 +00:00
|
|
|
stroke: ${dt('editor.toolbar.item.hover.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar button:hover .ql-fill,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar button:focus .ql-fill {
|
2024-03-13 18:50:24 +00:00
|
|
|
fill: ${dt('editor.toolbar.item.hover.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar button.ql-active,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected {
|
2024-03-13 18:50:24 +00:00
|
|
|
color: ${dt('editor.toolbar.item.active.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar button.ql-active .ql-stroke,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke {
|
2024-03-13 18:50:24 +00:00
|
|
|
stroke: ${dt('editor.toolbar.item.active.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar button.ql-active .ql-fill,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill {
|
2024-03-13 18:50:24 +00:00
|
|
|
fill: ${dt('editor.toolbar.item.active.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar button.ql-active .ql-picker-label,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-picker-label,
|
|
|
|
.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-picker-label {
|
2024-03-13 18:50:24 +00:00
|
|
|
color: ${dt('editor.toolbar.item.active.color')};
|
2024-02-21 11:42:43 +00:00
|
|
|
}
|
|
|
|
`
|
|
|
|
};
|