Files
vue3-element-admin/src/styles/global.scss
haoxr e82e67f5b3 feat: 元素光标隐藏
Former-commit-id: 2f6a434af95e0d06c2f15f3bfc54b90f6ca8cb44
2023-02-05 23:58:11 +08:00

33 lines
708 B
SCSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
html,
body,
#app {
height: 100%;
}
// 隐藏元素光标
label,span, p,li,img,a{
caret-color: transparent;
}
svg {
vertical-align: -0.15em; //因icon大小被设置为和字体大小一致而span等标签的下边缘会和字体的基线对齐故需设置一个往下的偏移比例来纠正视觉上的未对齐效果
}
img,svg{
display: inline-block;
}
// main-container global css
.app-container {
padding: 20px;
}
.search {
padding: 18px 0 0 10px;
margin-bottom: 10px;
border-radius: var(--el-card-border-radius);
border: 1px solid var(--el-border-color-light);
box-shadow: var(--el-box-shadow-light);
background-color: var(--el-bg-color-overlay);
}