93 lines
1.7 KiB
CSS
93 lines
1.7 KiB
CSS
/* Enhanced styling for detailed documentation */
|
|
.option-detail {
|
|
background: #f8f9fa;
|
|
border-left: 4px solid #007bff;
|
|
padding: 15px;
|
|
margin: 10px 0;
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
|
|
.option-detail h4 {
|
|
color: #007bff;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.option-detail .option-type {
|
|
background: #6c757d;
|
|
color: white;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
font-size: 11px;
|
|
font-weight: bold;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.option-detail .option-default {
|
|
background: #28a745;
|
|
color: white;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
font-size: 11px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.example-request,
|
|
.example-response {
|
|
background: #2d3748;
|
|
color: #e2e8f0;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 13px;
|
|
overflow-x: auto;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.generator-section {
|
|
background: white;
|
|
margin: 20px 0;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.generator-header {
|
|
background: #778491;
|
|
color: white;
|
|
padding: 20px;
|
|
}
|
|
|
|
.generator-content {
|
|
padding: 30px;
|
|
}
|
|
|
|
.language-selector {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
background: white;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.language-selector select {
|
|
border: none;
|
|
padding: 10px 15px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.security-note {
|
|
background: #fff3cd;
|
|
border: 1px solid #ffeaa7;
|
|
border-radius: 4px;
|
|
padding: 12px;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.security-note::before {
|
|
content: "🔒 ";
|
|
font-weight: bold;
|
|
} |