style: refine scroll bar and rename class to tui-scroll-bar
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="tui-demo">
|
||||
<div class="tui-demo tui-scroll-bar">
|
||||
<section class="stage">
|
||||
<slot />
|
||||
</section>
|
||||
|
||||
@@ -1,18 +1,28 @@
|
||||
@import url(./variable);
|
||||
|
||||
.custom-scroll-bar *::-webkit-scrollbar {
|
||||
.tui-scroll-bar {
|
||||
|
||||
*::-webkit-scrollbar {
|
||||
width: 10px !important;
|
||||
height: 10px !important;
|
||||
cursor: default;
|
||||
background: #CFD2E0;
|
||||
}
|
||||
}
|
||||
|
||||
.custom-scroll-bar *::-webkit-scrollbar-corner {
|
||||
*::-webkit-scrollbar-corner {
|
||||
background: #CFD2E0;
|
||||
}
|
||||
}
|
||||
|
||||
.custom-scroll-bar *::-webkit-scrollbar-thumb {
|
||||
*::-webkit-scrollbar-thumb {
|
||||
cursor: default;
|
||||
background: #525870;
|
||||
border-radius: 0 !important;
|
||||
|
||||
&:hover {
|
||||
cursor: default;
|
||||
background: #636981;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
*::selection {
|
||||
|
||||
Reference in New Issue
Block a user