From 7c9144afb91fc48b3271cef45a11c2cce97908b0 Mon Sep 17 00:00:00 2001 From: Yuriy Demidov Date: Tue, 12 Nov 2024 16:38:11 +0300 Subject: [PATCH] chore(styles): removed unused legacy styles of yfm-cut (#560) yfm-cut moved to diplodoc-platform/cut-extension, but forgot to remove outdated styles --- src/scss/_cut.scss | 55 ---------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 src/scss/_cut.scss diff --git a/src/scss/_cut.scss b/src/scss/_cut.scss deleted file mode 100644 index f34639a7..00000000 --- a/src/scss/_cut.scss +++ /dev/null @@ -1,55 +0,0 @@ -.yfm-cut { - $class: &; - margin-bottom: 15px; - - &-title { - list-style: none; - cursor: pointer; - position: relative; - user-select: none; - padding: 5px 0 5px 30px; - - &::-webkit-details-marker { - display: none; - } - - &:focus { - outline-color: var(--yfm-color-accent); - } - - &:before { - content: ''; - z-index: 1; - left: 0; - top: 50%; - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgICA8cGF0aCBzdHJva2U9ImN1cnJlbnRDb2xvciIgZmlsbD0ibm9uZSIgZD0iTTMgNmw1IDUgNS01Ii8+Cjwvc3ZnPgo='); - transform: translateY(-50%) rotate(-90deg); - transition: transform 0.3s ease; - height: 20px; - width: 20px; - position: absolute; - } - } - - &-content { - padding: 5px 0 15px 30px; - } - - &.open { - > #{$class}-title:before { - transform: translateY(-50%); - } - } - - .yfm:not(.yfm_no-list-reset) & ol { - counter-reset: cut-list; - - & > li { - counter-increment: cut-list; - - &::before { - content: counters(cut-list, '.') '. '; - } - } - } -}