ldapmanager/test/css/search.css

157 lines
3.7 KiB
CSS
Raw Normal View History

2024-10-31 18:22:49 +00:00
* {
all: unset;
margin: 0;
padding: 0;
box-sizing: border-box;
}
title {
display: none;
}
body {
font-family: "Arial", sans-serif;
background: linear-gradient(135deg, #283e4a, #1c2e38);
display: flex;
justify-content: center;
align-items: center;
height: 100%;
padding: 20px;
}
body .search-page {
background-color: rgba(255, 255, 255, 0.92);
padding: 40px;
border-radius: 12px;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
width: 100%;
max-width: 800px;
margin: 0 auto;
padding: 0;
display: flex;
flex-direction: column;
gap: 20px;
}
body .search-page .search-bar {
display: flex;
gap: 10px;
padding: 20px 20px 10px 20px;
border-radius: 12px 12px 0 0;
justify-content: space-between;
align-items: center;
background-color: #c4c4c4;
height: 75px;
}
body .search-page .search-bar input[type=text],
body .search-page .search-bar select {
flex: 1;
height: 45px;
padding: 10px;
background-color: rgba(245, 245, 245, 0.9);
border: 1px solid rgba(220, 220, 220, 0.8);
border-radius: 6px;
font-size: 16px;
}
body .search-page .search-bar input[type=text]:hover,
body .search-page .search-bar select:hover {
border-color: #007b8a;
}
body .search-page .search-bar input[type=text]:focus,
body .search-page .search-bar select:focus {
border-color: #007b8a;
}
body .search-page .search-bar select {
max-width: 25%;
}
body .search-page .search-bar button[type=submit] {
padding: 10px 20px;
font-size: 16px;
height: 45px;
background-color: rgba(245, 245, 245, 0.9);
color: #4e4e4e;
border: none;
border-radius: 4px;
cursor: pointer;
}
body .search-page .search-bar button[type=submit]:hover {
background-color: #007b8a;
color: #ffffff;
border-color: #007b8a;
}
body .search-page .search-bar button[type=submit]:active {
background-color: rgba(232, 232, 232, 0.9);
color: #007b8a;
border-color: #007b8a;
}
body .search-page .search-results {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 10px;
padding: 20px;
min-height: 800px;
}
body .search-page .search-results .search-result {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 12px 10px;
border-radius: 6px;
transition: background-color 0.3s;
background-color: #e1e1e1;
}
body .search-page .search-results .search-result:hover {
background-color: #b9b9b9;
}
body .search-page .search-results .search-result .details {
display: flex;
flex-direction: column;
gap: 4px;
}
body .search-page .search-results .search-result .details .primary-key {
font-size: 16px;
margin-bottom: 3px;
}
body .search-page .search-results .search-result .details .info-row {
display: flex;
gap: 10px;
}
body .search-page .search-results .search-result .details .info-row * {
font-size: 15px;
color: #666;
}
body .search-page .search-results .search-result .actions {
display: flex;
gap: 8px;
align-self: flex-start;
visibility: hidden;
}
body .search-page .search-results .search-result .actions button {
padding: 6px 12px;
font-size: 12px;
border: none;
border-radius: 4px;
cursor: pointer;
}
body .search-page .search-results .search-result .actions button.edit {
background-color: rgba(245, 245, 245, 0.9);
color: #4e4e4e;
}
body .search-page .search-results .search-result .actions button.edit:hover {
background-color: #3b8084;
}
body .search-page .search-results .search-result .actions button.delete {
background-color: rgba(245, 245, 245, 0.9);
color: #4e4e4e;
}
body .search-page .search-results .search-result .actions button.delete:hover {
background-color: #c96f6f;
}
body .search-page .search-results .search-result .actions button:hover {
color: #fff;
}
body .search-page .search-results .search-result:hover .actions {
visibility: visible;
}