/
githubmirror
/
marktext
Обзор
Документация
Войти
/
githubmirror
/
marktext
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/muya/src/ui/previewToolBar/index.css
88 строк
1 KB
Ran Luo
fix: restore editor visual parity after @muyajs/core migration (#4443)
10 июн 2026, 14:15
Не верифицирован
10 июн 2026, 14:15
fcd8f39
Код
Авторство
О чём код?
.mu-float-wrapper.mu-preview-tools-container { overflow: visible; background: var(--editor-color-04); border-radius: 7px; box-shadow: none; } .mu-preview-tools { width: 90px; height: 28px; } .mu-preview-tools ul, .mu-preview-tools li { margin: 0; padding: 0; } .mu-preview-tools ul { display: flex; padding: 0 7px; } .mu-preview-tools li.item { position: relative; display: flex; align-items: center; justify-content: space-around; width: 35px; height: 28px; list-style: none; cursor: pointer; } .mu-preview-tools li.item:hover { background: var(--float-hover-color); } .mu-preview-tools li.item:last-of-type { margin-left: 6px; } .mu-preview-tools li.item:last-of-type::before { position: absolute; top: 6px; left: -3px; width: 1px; height: 18px; background: var(--editor-color-10); content: ''; } .mu-preview-tools li.item .icon-wrapper { display: flex; width: 16px; height: 16px; } .mu-preview-tools li.item .icon-wrapper i.icon { position: relative; display: inline-block; width: 100%; height: 100%; overflow: hidden; color: var(--icon-color); transition: all 0.25s ease-in-out; } .mu-preview-tools li.item .icon-wrapper i.icon > i[class^='icon-'] { position: relative; left: -16px; display: inline-block; width: 100%; height: 100%; filter: drop-shadow(16px 0 currentcolor); }