pref: 修改主题

This commit is contained in:
ibuler
2022-11-29 11:12:34 +08:00
parent a180265585
commit 23c66964cd
4 changed files with 27 additions and 15 deletions

View File

@@ -6,17 +6,17 @@
/* Transition
-------------------------- */
$--all-transition: all .3s cubic-bezier(.645,.045,.355,1) !default;
$--all-transition: all .3s cubic-bezier(.645, .045, .355, 1) !default;
$--fade-transition: opacity 300ms cubic-bezier(0.23, 1, 0.32, 1) !default;
$--fade-linear-transition: opacity 200ms linear !default;
$--md-fade-transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1) !default;
$--border-transition-base: border-color .2s cubic-bezier(.645,.045,.355,1) !default;
$--color-transition-base: color .2s cubic-bezier(.645,.045,.355,1) !default;
$--border-transition-base: border-color .2s cubic-bezier(.645, .045, .355, 1) !default;
$--color-transition-base: color .2s cubic-bezier(.645, .045, .355, 1) !default;
/* Color
-------------------------- */
/// color|1|Brand Color|0
$--color-primary: #1ab394 !default;
$--color-primary: #2b937c !default;
/// color|1|Background Color|4
$--color-white: #FFFFFF !default;
/// color|1|Background Color|4
@@ -211,7 +211,6 @@ $--checkbox-button-checked-font-color: $--color-white !default;
$--checkbox-button-checked-border-color: $--color-primary !default;
/* Radio
-------------------------- */
/// fontSize||Font|1
@@ -480,8 +479,8 @@ $--cascader-menu-radius: $--border-radius-base !default;
$--cascader-menu-border: solid 1px $--border-color-light !default;
$--cascader-menu-shadow: $--box-shadow-light !default;
$--cascader-node-background-hover: $--background-color-base !default;
$--cascader-node-color-disabled:$--color-text-placeholder !default;
$--cascader-color-empty:$--color-text-placeholder !default;
$--cascader-node-color-disabled: $--color-text-placeholder !default;
$--cascader-color-empty: $--color-text-placeholder !default;
$--cascader-tag-background: #f0f2f5;
/* Group

View File

@@ -40,6 +40,7 @@
<script>
import Dialog from '@/components/Dialog'
export default {
name: 'PlatformDialog',
components: {
@@ -68,7 +69,7 @@ export default {
macos: 'fa-apple'
},
bottomColors: [
'#1c84c6', '#23c6c8', '#1ab394', '#f8ac59',
'#1c84c6', '#23c6c8', '#2b937c', '#f8ac59',
'#783887', '#fc6554'
]
}
@@ -78,7 +79,9 @@ export default {
set(val) {
this.$emit('update:visible', val)
},
get() { return this.visible }
get() {
return this.visible
}
},
iPlatforms() {
let recentPlatforms = {}
@@ -163,9 +166,11 @@ export default {
<style lang="scss" scoped>
.platform-item {
margin: 5px 0;
& >>> .el-card__body {
& > > > .el-card__body {
padding: 10px
}
border-left: solid 4px;
}

View File

@@ -28,7 +28,7 @@
</el-col>
<el-col>
<span class="item-label">{{ $t('sessions.SessionState') }}</span>
<span class="item-value cur-color" :style="{ 'background': session.is_finished ? '#ed5565' : '#1ab394' }" />
<span class="item-value cur-color" :style="{ 'background': session.is_finished ? '#ed5565' : '#2b937c' }" />
</el-col>
</el-row>
</div>
@@ -62,7 +62,8 @@ export default {
props: {
object: {
type: Object,
default: () => {}
default: () => {
}
}
},
data() {
@@ -126,27 +127,34 @@ export default {
.box {
margin-top: 15px;
margin-bottom: 15px;
&>>> .el-divider--horizontal {
& > > > .el-divider--horizontal {
margin: 10px 0;
}
}
.content {
line-height: 2.5;
font-size: 13px;
color: #676A6C;
.item-label {
font-weight: 700;
}
.item-value {
color: #676A6C;
}
&>>> .el-col {
& > > > .el-col {
line-height: 24px;
}
}
.bottom-btn {
text-align: right;
}
.cur-color {
display: inline-block;
width: 12px;