bnk-components
Version:
Reusable React components for Issaglam UI - Modern, responsive UI components with TypeScript support
238 lines (203 loc) • 4.18 kB
CSS
.examples-app {
min-height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.examples-header {
background: rgba(255, 255, 255, 0.95);
padding: 2rem;
text-align: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.examples-header h1 {
margin: 0;
color: #333;
font-size: 2.5rem;
font-weight: 300;
}
.examples-header p {
margin: 0.5rem 0 0 0;
color: #666;
font-size: 1.1rem;
}
.examples-container {
display: flex;
min-height: calc(100vh - 120px);
}
.examples-nav {
width: 250px;
background: rgba(255, 255, 255, 0.95);
padding: 2rem;
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}
.examples-nav h2 {
margin: 0 0 1.5rem 0;
color: #333;
font-size: 1.5rem;
font-weight: 500;
}
.examples-nav ul {
list-style: none;
padding: 0;
margin: 0;
}
.examples-nav li {
margin-bottom: 0.5rem;
}
.examples-nav a {
display: block;
padding: 0.75rem 1rem;
color: #555;
text-decoration: none;
border-radius: 8px;
transition: all 0.3s ease;
font-weight: 500;
}
.examples-nav a:hover {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
transform: translateX(5px);
}
.examples-content {
flex: 1;
padding: 2rem;
background: rgba(255, 255, 255, 0.9);
margin: 1rem;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
overflow-y: auto;
}
.welcome-page {
text-align: center;
padding: 2rem;
}
.welcome-page h2 {
color: #333;
font-size: 2rem;
margin-bottom: 1rem;
}
.welcome-page p {
color: #666;
font-size: 1.1rem;
margin-bottom: 2rem;
}
.component-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
margin-top: 2rem;
}
.component-card {
background: white;
padding: 2rem;
border-radius: 12px;
text-decoration: none;
color: #333;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
border: 2px solid transparent;
}
.component-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
border-color: #667eea;
}
.component-card h3 {
margin: 0;
font-size: 1.3rem;
font-weight: 600;
color: #333;
}
/* Example sayfası stilleri */
.example-page {
max-width: 1200px;
margin: 0 auto;
}
.example-header {
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 2px solid #eee;
}
.example-header h1 {
color: #333;
font-size: 2rem;
margin-bottom: 0.5rem;
}
.example-header p {
color: #666;
font-size: 1.1rem;
margin: 0;
}
.example-section {
margin-bottom: 3rem;
padding: 2rem;
background: white;
border-radius: 12px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.example-section h2 {
color: #333;
font-size: 1.5rem;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid #eee;
}
.example-section h3 {
color: #555;
font-size: 1.2rem;
margin: 1.5rem 0 0.5rem 0;
}
.code-block {
background: #f8f9fa;
border: 1px solid #e9ecef;
border-radius: 8px;
padding: 1rem;
margin: 1rem 0;
font-family: 'Courier New', monospace;
font-size: 0.9rem;
overflow-x: auto;
}
.props-table {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
}
.props-table th,
.props-table td {
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid #eee;
}
.props-table th {
background: #f8f9fa;
font-weight: 600;
color: #333;
}
.props-table td {
color: #555;
}
.props-table code {
background: #f1f3f4;
padding: 0.2rem 0.4rem;
border-radius: 4px;
font-family: 'Courier New', monospace;
font-size: 0.85rem;
}
/* Responsive tasarım */
@media (max-width: 768px) {
.examples-container {
flex-direction: column;
}
.examples-nav {
width: 100%;
order: 2;
}
.examples-content {
order: 1;
margin: 0;
border-radius: 0;
}
.component-grid {
grid-template-columns: 1fr;
}
}