search result structure
This commit is contained in:
parent
d5cc27ed03
commit
2adad9ee9a
@ -115,20 +115,10 @@ body .search-page .search-results .search-result .details .info-row {
|
|||||||
display: flex;
|
display: flex;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
body .search-page .search-results .search-result .details .info-row * {
|
body .search-page .search-results .search-result .details .info-row .info-attrib {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
body .search-page .search-results .search-result:hover {
|
|
||||||
background-color: #b0b0b0;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
body .search-page .search-results .search-result:hover .details .primary-key {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
body .search-page .search-results .search-result:hover .details .info-row * {
|
|
||||||
color: #424242;
|
|
||||||
}
|
|
||||||
body .search-page .search-results .search-result .actions {
|
body .search-page .search-results .search-result .actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
@ -159,6 +149,16 @@ body .search-page .search-results .search-result .actions button.delete:hover {
|
|||||||
body .search-page .search-results .search-result .actions button:hover {
|
body .search-page .search-results .search-result .actions button:hover {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
body .search-page .search-results .search-result:hover {
|
||||||
|
background-color: #b0b0b0;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
body .search-page .search-results .search-result:hover .details .primary-key {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
body .search-page .search-results .search-result:hover .details .info-row .info-attrib {
|
||||||
|
color: #424242;
|
||||||
|
}
|
||||||
body .search-page .search-results .search-result:hover .actions {
|
body .search-page .search-results .search-result:hover .actions {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
@ -20,13 +20,12 @@
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="search-results">
|
<div class="search-results">
|
||||||
|
|
||||||
<a class="search-result" href="/user/realobamna">
|
<a class="search-result" href="/user/realobamna">
|
||||||
<div class="details">
|
<div class="details">
|
||||||
<span class="primary-key username">realobamna</span>
|
<span class="primary-key username">realobamna</span>
|
||||||
<div class="info-row">
|
<div class="info-row">
|
||||||
<span class="employee-id">12345</span>
|
<span class="info-attrib employee-id">12345</span>
|
||||||
<span class="full-name">John Doe Obama</span>
|
<span class="info-attrib full-name">John Doe Obama</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@ -34,13 +33,12 @@
|
|||||||
<button class="delete">Delete</button>
|
<button class="delete">Delete</button>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a class="search-result" href="/user/obama">
|
<a class="search-result" href="/user/obama">
|
||||||
<div class="details">
|
<div class="details">
|
||||||
<span class="primary-key username">obama</span>
|
<span class="primary-key username">obama</span>
|
||||||
<div class="info-row">
|
<div class="info-row">
|
||||||
<span class="employee-id">19845</span>
|
<span class="info-attrib employee-id">19845</span>
|
||||||
<span class="full-name">Fake Obama</span>
|
<span class="info-attrib full-name">Fake Obama</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@ -52,8 +50,8 @@
|
|||||||
<div class="details">
|
<div class="details">
|
||||||
<span class="primary-key username">realobamna</span>
|
<span class="primary-key username">realobamna</span>
|
||||||
<div class="info-row">
|
<div class="info-row">
|
||||||
<span class="employee-id">12345</span>
|
<span class="info-attrib employee-id">12345</span>
|
||||||
<span class="full-name">John Doe Obama</span>
|
<span class="info-attrib full-name">John Doe Obama</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@ -61,13 +59,12 @@
|
|||||||
<button class="delete">Delete</button>
|
<button class="delete">Delete</button>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a class="search-result" href="/user/obama">
|
<a class="search-result" href="/user/obama">
|
||||||
<div class="details">
|
<div class="details">
|
||||||
<span class="primary-key username">obama</span>
|
<span class="primary-key username">obama</span>
|
||||||
<div class="info-row">
|
<div class="info-row">
|
||||||
<span class="employee-id">19845</span>
|
<span class="info-attrib employee-id">19845</span>
|
||||||
<span class="full-name">Fake Obama</span>
|
<span class="info-attrib full-name">Fake Obama</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@ -76,7 +73,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<!-- Additional search results go here -->
|
<!-- Additional search results go here -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -115,29 +115,13 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
|
||||||
* {
|
.info-attrib {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: $search-res-item-detail-info-row-color;
|
color: $search-res-item-detail-info-row-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: $search-res-item-hover-color;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
.details {
|
|
||||||
.primary-key {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
.info-row {
|
|
||||||
* {
|
|
||||||
color: #424242;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.actions {
|
.actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
@ -175,10 +159,26 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .actions {
|
&:hover {
|
||||||
|
background-color: $search-res-item-hover-color;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
.details {
|
||||||
|
.primary-key {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.info-row {
|
||||||
|
.info-attrib {
|
||||||
|
color: #424242;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.actions {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user