From e6f20f0e2c05995107ec3e88e8038f537bc5377b Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 21 Sep 2020 17:12:41 +0300 Subject: [PATCH] Doc update --- src/views/scrollpanel/ScrollPanelDemo.vue | 46 +++++++++++------------ src/views/scrollpanel/ScrollPanelDoc.vue | 46 +++++++++++------------ 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/src/views/scrollpanel/ScrollPanelDemo.vue b/src/views/scrollpanel/ScrollPanelDemo.vue index eea622a72..bbe830c02 100644 --- a/src/views/scrollpanel/ScrollPanelDemo.vue +++ b/src/views/scrollpanel/ScrollPanelDemo.vue @@ -85,35 +85,35 @@ export default { line-height: 1.5; margin: 0; } -} -::v-deep(.custombar1) { - .p-scrollpanel-wrapper { - border-right: 9px solid var(--surface-b); - } + &.custombar1 { + .p-scrollpanel-wrapper { + border-right: 9px solid var(--surface-b); + } - .p-scrollpanel-bar { - background-color: var(--primary-color); - opacity: 1; - transition: background-color .2s; + .p-scrollpanel-bar { + background-color: var(--primary-color); + opacity: 1; + transition: background-color .2s; - &:hover { - background-color: #007ad9; + &:hover { + background-color: #007ad9; + } } } -} -::v-deep(.custombar2) { - .p-scrollpanel-wrapper { - border-right: 9px solid var(--surface-b); - border-bottom: 9px solid var(--surface-b); - } + &.custombar2 { + .p-scrollpanel-wrapper { + border-right: 9px solid var(--surface-b); + border-bottom: 9px solid var(--surface-b); + } - .p-scrollpanel-bar { - background-color: var(--surface-d); - border-radius: 0; - opacity: 1; - transition: background-color .2s; - } + .p-scrollpanel-bar { + background-color: var(--surface-d); + border-radius: 0; + opacity: 1; + transition: background-color .2s; + } + } } \ No newline at end of file diff --git a/src/views/scrollpanel/ScrollPanelDoc.vue b/src/views/scrollpanel/ScrollPanelDoc.vue index c93857204..dddc890e3 100644 --- a/src/views/scrollpanel/ScrollPanelDoc.vue +++ b/src/views/scrollpanel/ScrollPanelDoc.vue @@ -161,36 +161,36 @@ export default { line-height: 1.5; margin: 0; } -} -::v-deep(.custombar1) { - .p-scrollpanel-wrapper { - border-right: 9px solid var(--surface-b); - } + &.custombar1 { + .p-scrollpanel-wrapper { + border-right: 9px solid var(--surface-b); + } - .p-scrollpanel-bar { - background-color: var(--primary-color); - opacity: 1; - transition: background-color .2s; + .p-scrollpanel-bar { + background-color: var(--primary-color); + opacity: 1; + transition: background-color .2s; - &:hover { - background-color: #007ad9; + &:hover { + background-color: #007ad9; + } } } -} -::v-deep(.custombar2) { - .p-scrollpanel-wrapper { - border-right: 9px solid var(--surface-b); - border-bottom: 9px solid var(--surface-b); - } + &.custombar2 { + .p-scrollpanel-wrapper { + border-right: 9px solid var(--surface-b); + border-bottom: 9px solid var(--surface-b); + } - .p-scrollpanel-bar { - background-color: var(--surface-d); - border-radius: 0; - opacity: 1; - transition: background-color .2s; - } + .p-scrollpanel-bar { + background-color: var(--surface-d); + border-radius: 0; + opacity: 1; + transition: background-color .2s; + } + } }