mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 12:39:12 +08:00
style: 添加全局滚动条样式
This commit is contained in:
parent
d8473e546f
commit
133388467d
@ -554,6 +554,18 @@
|
||||
background-color: var(--color-text-input-border);
|
||||
}
|
||||
}
|
||||
.ms-scroll-bar {
|
||||
&::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb {
|
||||
border-radius: 5px;
|
||||
background-color: var(--color-text-input-border);
|
||||
}
|
||||
&::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--color-text-4);
|
||||
}
|
||||
}
|
||||
|
||||
/** 开关 **/
|
||||
.arco-switch:not(.arco-switch-disabled) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="flex h-full flex-col overflow-y-auto px-[24px] pb-[24px]">
|
||||
<div class="ms-ug-left flex h-full flex-col px-[24px] pb-[24px]">
|
||||
<div class="sticky top-0 z-[999] w-[252px] bg-white pt-[24px]">
|
||||
<a-input-search
|
||||
:placeholder="t('system.userGroup.searchHolder')"
|
||||
@ -480,9 +480,6 @@
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.icon-increase {
|
||||
background-color: rgb(var(--primary-7));
|
||||
}
|
||||
.icon-button {
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div class="card">
|
||||
<div class="flex h-full flex-row">
|
||||
<Transition>
|
||||
<div v-if="leftCollapse" class="user-group-left">
|
||||
<div v-if="leftCollapse" class="user-group-left ms-scroll-bar">
|
||||
<UserGroupLeft ref="ugLeftRef" @handle-select="handleSelect" />
|
||||
</div>
|
||||
</Transition>
|
||||
@ -168,8 +168,9 @@
|
||||
}
|
||||
.user-group-left {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 300px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
padding-right: 6px;
|
||||
min-width: 300px;
|
||||
height: 100%;
|
||||
border-right: 1px solid var(--color-border-1);
|
||||
@ -177,7 +178,6 @@
|
||||
.usergroup-collapse {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 300px;
|
||||
z-index: 101;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div class="card">
|
||||
<div class="flex h-full flex-row">
|
||||
<Transition>
|
||||
<div v-if="leftCollapse" class="user-group-left">
|
||||
<div v-if="leftCollapse" class="user-group-left ms-scroll-bar">
|
||||
<UserGroupLeft ref="ugLeftRef" @handle-select="handleSelect" />
|
||||
</div>
|
||||
</Transition>
|
||||
@ -168,8 +168,9 @@
|
||||
}
|
||||
.user-group-left {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 300px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
padding-right: 6px;
|
||||
min-width: 300px;
|
||||
height: 100%;
|
||||
border-right: 1px solid var(--color-border-1);
|
||||
@ -177,7 +178,6 @@
|
||||
.usergroup-collapse {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 300px;
|
||||
z-index: 101;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
Loading…
Reference in New Issue
Block a user