mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +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 {
|
body.dark-mode-reverse {
|
||||||
.ivu-btn-primary,
|
.ivu-btn-primary,
|
||||||
.ivu-badge-count,
|
.ivu-badge-count,
|
||||||
|
.ivu-btn-grey,
|
||||||
.ivu-btn-error,
|
.ivu-btn-error,
|
||||||
.ivu-btn-warning,
|
.ivu-btn-warning,
|
||||||
.common-right-bottom .common-right-bottom-link {
|
.common-right-bottom .common-right-bottom-link {
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ivu-btn-grey {
|
||||||
|
background-color: #d0d0d0;
|
||||||
|
border-color: #868686;
|
||||||
|
&:hover {
|
||||||
|
background-color: #d5d5d5;
|
||||||
|
border-color: #999999;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.ivu-btn-error {
|
.ivu-btn-error {
|
||||||
background-color: #ff9d84;
|
background-color: #ff9d84;
|
||||||
border-color: #ff9d84;
|
border-color: #ff9d84;
|
||||||
|
&:hover {
|
||||||
|
background-color: #ffbdab;
|
||||||
|
border-color: #ffbdab;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ivu-modal-mask {
|
.ivu-modal-mask {
|
||||||
|
|||||||
@ -123,11 +123,11 @@
|
|||||||
<span>事由:{{$data->description}}</span>
|
<span>事由:{{$data->description}}</span>
|
||||||
</div><div class="btn-raw no-dark-content">
|
</div><div class="btn-raw no-dark-content">
|
||||||
@if ($action === 'pass')
|
@if ($action === 'pass')
|
||||||
<button class="ivu-btn">已同意</button>
|
<button class="ivu-btn ivu-btn-grey">已同意</button>
|
||||||
@elseif ($action === 'refuse')
|
@elseif ($action === 'refuse')
|
||||||
<button class="ivu-btn">已拒绝</button>
|
<button class="ivu-btn ivu-btn-grey">已拒绝</button>
|
||||||
@elseif ($action === 'withdraw')
|
@elseif ($action === 'withdraw')
|
||||||
<button class="ivu-btn">已撤销</button>
|
<button class="ivu-btn ivu-btn-grey">已撤销</button>
|
||||||
@else
|
@else
|
||||||
<button class="ivu-btn ivu-btn-primary">同意</button>
|
<button class="ivu-btn ivu-btn-primary">同意</button>
|
||||||
<button class="ivu-btn ivu-btn-error">拒绝</button>
|
<button class="ivu-btn ivu-btn-error">拒绝</button>
|
||||||
@ -145,9 +145,9 @@
|
|||||||
<span>事由:{{$data->description}}</span>
|
<span>事由:{{$data->description}}</span>
|
||||||
</div><div class="btn-raw no-dark-content">
|
</div><div class="btn-raw no-dark-content">
|
||||||
@if ($is_finished == 1)
|
@if ($is_finished == 1)
|
||||||
<button class="ivu-btn">已同意</button>
|
<button class="ivu-btn ivu-btn-grey">已同意</button>
|
||||||
@else
|
@else
|
||||||
<button class="ivu-btn">查看详情</button>
|
<button class="ivu-btn ivu-btn-grey">查看详情</button>
|
||||||
@endif
|
@endif
|
||||||
</div></span>
|
</div></span>
|
||||||
@elseif ($type === 'approve_comment_notifier')
|
@elseif ($type === 'approve_comment_notifier')
|
||||||
@ -157,9 +157,9 @@
|
|||||||
<span>{{$data->comment_content}}</span>
|
<span>{{$data->comment_content}}</span>
|
||||||
</div><div class="btn-raw no-dark-content">
|
</div><div class="btn-raw no-dark-content">
|
||||||
@if ($is_finished == 1)
|
@if ($is_finished == 1)
|
||||||
<button class="ivu-btn">已同意</button>
|
<button class="ivu-btn ivu-btn-grey">已同意</button>
|
||||||
@else
|
@else
|
||||||
<button class="ivu-btn">查看详情</button>
|
<button class="ivu-btn ivu-btn-grey">查看详情</button>
|
||||||
@endif
|
@endif
|
||||||
</div></span>
|
</div></span>
|
||||||
@elseif ($type === 'approve_submitter')
|
@elseif ($type === 'approve_submitter')
|
||||||
@ -174,11 +174,11 @@
|
|||||||
<span>事由:{{$data->description}}</span>
|
<span>事由:{{$data->description}}</span>
|
||||||
</div><div class="btn-raw no-dark-content">
|
</div><div class="btn-raw no-dark-content">
|
||||||
@if ($action === 'pass')
|
@if ($action === 'pass')
|
||||||
<button class="ivu-btn">已同意</button>
|
<button class="ivu-btn ivu-btn-grey">已同意</button>
|
||||||
@elseif ($action === 'refuse')
|
@elseif ($action === 'refuse')
|
||||||
<button class="ivu-btn">已拒绝</button>
|
<button class="ivu-btn ivu-btn-grey">已拒绝</button>
|
||||||
@elseif ($action === 'withdraw')
|
@elseif ($action === 'withdraw')
|
||||||
<button class="ivu-btn">已撤销</button>
|
<button class="ivu-btn ivu-btn-grey">已撤销</button>
|
||||||
@endif
|
@endif
|
||||||
</div></span>
|
</div></span>
|
||||||
@else
|
@else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user