Moved some css to component-specific css.
This commit is contained in:
parent
5f4429098d
commit
1f519e60b1
@ -242,7 +242,7 @@
|
||||
@if (!organizing && listings.Count > 0)
|
||||
{
|
||||
<div class="table-responsive">
|
||||
<table class="table table-top-borderless">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Name</th>
|
||||
|
@ -1,3 +1,13 @@
|
||||
tbody > tr > th > div {
|
||||
width: 45em;
|
||||
}
|
||||
|
||||
.table.table thead th {
|
||||
border-top-style: none;
|
||||
}
|
||||
|
||||
.btn.btn-tab {
|
||||
border-bottom-style: none;
|
||||
border-bottom-left-radius: 0em;
|
||||
border-bottom-right-radius: 0em;
|
||||
}
|
@ -5,7 +5,7 @@
|
||||
<ul class=@ListGroupCss style="width: max-content;" ondragover="event.preventDefault()">
|
||||
@foreach (TItem item in Items)
|
||||
{
|
||||
<li class="list-group-item list-group-item-hover" draggable=@((!processingDropChange).ToString()) @ondragstart="@(() => itemDraggedIndex = Items.IndexOf(item))" @ondrop="@(async () => await OnDrop(item))">
|
||||
<li class="list-group-item" draggable=@((!processingDropChange).ToString()) @ondragstart="@(() => itemDraggedIndex = Items.IndexOf(item))" @ondrop="@(async () => await OnDrop(item))">
|
||||
<div class="d-inline-flex">
|
||||
<div class="mr-3">
|
||||
<button class="btn" type="button" style="padding: 0px;" @onclick="@(() => OnButtonClickMove(Items.IndexOf(item), true))" disabled="@(processingDropChange || Items.IndexOf(item) <= 0)"><span class="oi oi-caret-top"></span></button>
|
||||
|
3
src/MultiShop/Client/Shared/DragAndDropList.razor.css
Normal file
3
src/MultiShop/Client/Shared/DragAndDropList.razor.css
Normal file
@ -0,0 +1,3 @@
|
||||
li.list-group-item:hover {
|
||||
background-color: #F5F5F5;
|
||||
}
|
@ -8,33 +8,6 @@ html, body {
|
||||
padding-top: 1.5rem;
|
||||
}
|
||||
|
||||
.table.table-top-borderless thead th {
|
||||
border-top-style: none;
|
||||
}
|
||||
|
||||
.btn.btn-tab {
|
||||
border-bottom-style: none;
|
||||
border-bottom-left-radius: 0em;
|
||||
border-bottom-right-radius: 0em;
|
||||
}
|
||||
|
||||
.list-group-top-square-left .list-group-item:first-child {
|
||||
border-top-left-radius: 0em;
|
||||
}
|
||||
|
||||
.list-group-top-square-right .list-group-item:first-child {
|
||||
border-top-right-radius: 0em;
|
||||
}
|
||||
|
||||
li.list-group-item.list-group-item-hover:hover {
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
|
||||
li.list-group-nospacing {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
#blazor-error-ui {
|
||||
background: lightyellow;
|
||||
bottom: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user