mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 07:27:01 +00:00
perf: 修改样式
This commit is contained in:
parent
cc97affc16
commit
cbaef4cc6c
@ -130,10 +130,14 @@ export default {
|
||||
@import '~@/styles/variables.scss';
|
||||
$height: 28px;
|
||||
|
||||
.org-select {
|
||||
line-height: $height;
|
||||
}
|
||||
|
||||
::v-deep .el-input {
|
||||
.el-input__inner {
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
height: $height;
|
||||
line-height: $height;
|
||||
background: none;
|
||||
border: none;
|
||||
padding-left: 20px;
|
||||
|
@ -160,13 +160,13 @@ export default {
|
||||
.organization {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 28px;
|
||||
padding: 0 0 0 15px !important;
|
||||
border-radius: 3px;
|
||||
background-color: rgba(255, 255, 255, .15);
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
max-width: 250px;
|
||||
|
||||
::v-deep .el-input__inner {
|
||||
padding-left: 25px;
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: 'SidebarLogo',
|
||||
props: {
|
||||
@ -72,13 +73,13 @@ export default {
|
||||
width: 100%;
|
||||
height: $headerHeight;
|
||||
line-height: $headerHeight;
|
||||
// background: #2b2f3a;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
|
||||
& .sidebar-logo-link {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
display: inline-block;
|
||||
|
||||
& .sidebar-logo {
|
||||
@ -90,7 +91,6 @@ export default {
|
||||
|
||||
& .sidebar-logo-text {
|
||||
height: calc(#{$headerHeight} - 10px);
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
& .sidebar-title {
|
||||
|
@ -240,10 +240,6 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.organizations {
|
||||
height: 55px;
|
||||
}
|
||||
|
||||
.nav-footer {
|
||||
display: block;
|
||||
width: 100%;
|
||||
@ -306,9 +302,10 @@ export default {
|
||||
height: $mobileHeight;
|
||||
line-height: $mobileHeight;
|
||||
padding-left: 20px;
|
||||
background: transparent;
|
||||
background: var(--color-primary-dark-1);
|
||||
color: #fff;
|
||||
border-bottom: 1px solid rgba(31, 35, 41, .15);
|
||||
|
||||
.el-input--prefix .el-input__inner {
|
||||
height: $mobileHeight!important;
|
||||
line-height: $mobileHeight!important;
|
||||
@ -337,8 +334,6 @@ export default {
|
||||
.active-mobile {
|
||||
display: block;
|
||||
}
|
||||
.active-switch-view {
|
||||
}
|
||||
.show-switch-view {
|
||||
display: block!important;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user