oak-general-business/es/components/oauth/records/styles.module.less

191 lines
2.7 KiB
Plaintext

.container {
max-width: 900px;
margin: 0 auto;
padding: 24px;
}
.header {
margin-bottom: 32px;
h2 {
font-size: 24px;
font-weight: 600;
color: #1f2937;
margin: 0 0 8px 0;
}
}
.description {
font-size: 14px;
color: #6b7280;
margin: 0;
}
.listContainer {
display: flex;
flex-direction: column;
gap: 16px;
}
.item {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 20px;
transition: all 0.2s ease;
&:hover {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
border-color: #d1d5db;
}
}
.itemHeader {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 12px;
}
.appInfo {
flex: 1;
display: flex;
align-items: center;
gap: 16px;
}
.appLogo {
flex-shrink: 0;
background: #ffffff;
border: 1px solid #d1d5db;
color: #6b7280;
}
.appNameWrapper {
flex: 1;
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.appName {
font-size: 16px;
font-weight: 600;
color: #1f2937;
margin: 0;
}
.appDescription {
font-size: 14px;
color: #6b7280;
margin: 0 0 16px 60px;
line-height: 1.5;
}
.statusActive,
.statusRevoked,
.statusDenied,
.statusExpired,
.statusUnknown {
font-size: 12px;
padding: 2px 10px;
border-radius: 12px;
font-weight: 500;
white-space: nowrap;
}
.statusActive {
background: #d1fae5;
color: #065f46;
}
.statusRevoked {
background: #fee2e2;
color: #991b1b;
}
.statusDenied {
background: #fef3c7;
color: #92400e;
}
.statusExpired {
background: #e5e7eb;
color: #4b5563;
}
.statusUnknown {
background: #f3f4f6;
color: #6b7280;
}
.revokeButton {
padding: 6px 16px;
font-size: 14px;
color: #dc2626;
background: #fff;
border: 1px solid #dc2626;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
font-weight: 500;
&:hover {
background: #dc2626;
color: #fff;
}
&:active {
transform: scale(0.98);
}
}
.itemDetails {
display: flex;
flex-direction: column;
gap: 8px;
padding-top: 12px;
margin-left: 64px;
border-top: 1px solid #f3f4f6;
}
.detailRow {
display: flex;
font-size: 14px;
line-height: 1.5;
}
.label {
color: #6b7280;
min-width: 120px;
font-weight: 500;
}
.value {
color: #1f2937;
flex: 1;
}
.empty {
text-align: center;
padding: 80px 20px;
color: #9ca3af;
}
.emptyIcon {
font-size: 64px;
margin-bottom: 16px;
opacity: 0.5;
}
.empty p {
font-size: 16px;
margin: 0;
}
.paginationWrapper {
margin-top: 32px;
display: flex;
justify-content: center;
}