mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 03:01:12 +00:00
perf: 优化审批对话按钮配色
This commit is contained in:
parent
bf913d9eff
commit
cd011a172f
14
resources/assets/sass/dark.scss
vendored
14
resources/assets/sass/dark.scss
vendored
@ -1,15 +1,29 @@
|
||||
body.dark-mode-reverse {
|
||||
.ivu-btn-primary,
|
||||
.ivu-badge-count,
|
||||
.ivu-btn-grey,
|
||||
.ivu-btn-error,
|
||||
.ivu-btn-warning,
|
||||
.common-right-bottom .common-right-bottom-link {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.ivu-btn-grey {
|
||||
background-color: #d0d0d0;
|
||||
border-color: #868686;
|
||||
&:hover {
|
||||
background-color: #d5d5d5;
|
||||
border-color: #999999;
|
||||
}
|
||||
}
|
||||
|
||||
.ivu-btn-error {
|
||||
background-color: #ff9d84;
|
||||
border-color: #ff9d84;
|
||||
&:hover {
|
||||
background-color: #ffbdab;
|
||||
border-color: #ffbdab;
|
||||
}
|
||||
}
|
||||
|
||||
.ivu-modal-mask {
|
||||
|
||||
@ -123,11 +123,11 @@
|
||||
<span>事由:{{$data->description}}</span>
|
||||
</div><div class="btn-raw no-dark-content">
|
||||
@if ($action === 'pass')
|
||||
<button class="ivu-btn">已同意</button>
|
||||
<button class="ivu-btn ivu-btn-grey">已同意</button>
|
||||
@elseif ($action === 'refuse')
|
||||
<button class="ivu-btn">已拒绝</button>
|
||||
<button class="ivu-btn ivu-btn-grey">已拒绝</button>
|
||||
@elseif ($action === 'withdraw')
|
||||
<button class="ivu-btn">已撤销</button>
|
||||
<button class="ivu-btn ivu-btn-grey">已撤销</button>
|
||||
@else
|
||||
<button class="ivu-btn ivu-btn-primary">同意</button>
|
||||
<button class="ivu-btn ivu-btn-error">拒绝</button>
|
||||
@ -145,9 +145,9 @@
|
||||
<span>事由:{{$data->description}}</span>
|
||||
</div><div class="btn-raw no-dark-content">
|
||||
@if ($is_finished == 1)
|
||||
<button class="ivu-btn">已同意</button>
|
||||
<button class="ivu-btn ivu-btn-grey">已同意</button>
|
||||
@else
|
||||
<button class="ivu-btn">查看详情</button>
|
||||
<button class="ivu-btn ivu-btn-grey">查看详情</button>
|
||||
@endif
|
||||
</div></span>
|
||||
@elseif ($type === 'approve_comment_notifier')
|
||||
@ -157,9 +157,9 @@
|
||||
<span>{{$data->comment_content}}</span>
|
||||
</div><div class="btn-raw no-dark-content">
|
||||
@if ($is_finished == 1)
|
||||
<button class="ivu-btn">已同意</button>
|
||||
<button class="ivu-btn ivu-btn-grey">已同意</button>
|
||||
@else
|
||||
<button class="ivu-btn">查看详情</button>
|
||||
<button class="ivu-btn ivu-btn-grey">查看详情</button>
|
||||
@endif
|
||||
</div></span>
|
||||
@elseif ($type === 'approve_submitter')
|
||||
@ -174,11 +174,11 @@
|
||||
<span>事由:{{$data->description}}</span>
|
||||
</div><div class="btn-raw no-dark-content">
|
||||
@if ($action === 'pass')
|
||||
<button class="ivu-btn">已同意</button>
|
||||
<button class="ivu-btn ivu-btn-grey">已同意</button>
|
||||
@elseif ($action === 'refuse')
|
||||
<button class="ivu-btn">已拒绝</button>
|
||||
<button class="ivu-btn ivu-btn-grey">已拒绝</button>
|
||||
@elseif ($action === 'withdraw')
|
||||
<button class="ivu-btn">已撤销</button>
|
||||
<button class="ivu-btn ivu-btn-grey">已撤销</button>
|
||||
@endif
|
||||
</div></span>
|
||||
@else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user