create-nexaui-electron
Version:
Create Nexa App - Tool untuk membuat aplikasi Nexa Electron
232 lines (189 loc) • 4.23 kB
CSS
.nx-nav {
display: flex;
flex-wrap: wrap;
padding-left: 0;
margin-bottom: 0;
list-style: none;
}
.nx-nav-tabs {
border-bottom: 1px solid #dee2e6;
}
.nx-nav-tabs .nx-nav-item {
margin-bottom: -1px;
}
.nx-nav-tabs .nx-nav-link {
border: 1px solid transparent;
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
padding: 0.5rem 1rem;
}
.nx-nav-tabs .nx-nav-link:hover {
/* border-color: #e9ecef #e9ecef #dee2e6;*/
}
.nx-nav-tabs .nx-nav-link.active {
color: #495057;
background-color: #fff;
border-color: #dee2e6 #dee2e6 #fff;
}
.nx-nav-pills .nx-nav-link {
border-radius: 0.25rem;
padding: 0.5rem 1rem;
}
.nx-nav-pills .nx-nav-link.active {
color: #fff;
background-color: #007bff;
}
.nx-tab-content > .nx-tab-pane {
display: none;
}
.nx-tab-content > .active {
display: block;
}
/* Tambahan CSS untuk alignment dan styles */
.nx-nav-justified {
width: 100%;
}
.nx-nav-justified .nx-nav-item {
flex-basis: 0;
flex-grow: 1;
text-align: center;
}
.nx-nav-fill .nx-nav-item {
flex: 1 1 auto;
text-align: center;
}
.nx-justify-content-center {
justify-content: center ;
}
.nx-justify-content-end {
justify-content: flex-end ;
}
.nx-justify-content-between {
justify-content: space-between ;
}
.nx-flex-column {
flex-direction: column ;
}
.nx-nav-link i {
margin-right: 5px;
}
.mb-3 {
margin-bottom: 1rem;
}
/* Modern styling untuk navigasi */
.nx-nav {
--nav-link-color: #4a5568;
--nav-link-hover-color: #2d3748;
--nav-link-active-color: #3182ce;
--nav-link-active-bg: #ebf8ff;
--nav-border-color: #e2e8f0;
}
.nx-nav-link {
color: var(--nav-link-color);
padding: 0.75rem 1.25rem;
font-weight: 500;
transition: all 0.2s ease;
border-radius: 0.375rem;
}
.nx-nav-link:hover {
color: var(--nav-link-hover-color);
/* background-color: #f7fafc;*/
text-decoration: none;
}
/* Modern Tabs */
.nx-nav-tabs {
border-bottom: 2px solid var(--nav-border-color);
gap: 0.5rem;
}
.nx-nav-tabs .nx-nav-link {
margin-bottom: -2px;
border: none;
position: relative;
}
.nx-nav-tabs .nx-nav-link.active {
color: var(--nav-link-active-color);
background-color: transparent;
border: none;
}
.nx-nav-tabs .nx-nav-link.active::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background-color: var(--nav-link-active-color);
border-radius: 2px 2px 0 0;
}
/* Modern Pills */
.nx-nav-pills .nx-nav-link {
background-color: transparent;
border: 1px solid transparent;
}
.nx-nav-pills .nx-nav-link.active {
color: #fff;
background-color: var(--nav-link-active-color);
box-shadow: 0 4px 6px -1px rgba(49, 130, 206, 0.1), 0 2px 4px -1px rgba(49, 130, 206, 0.06);
}
/* Modern Vertical Nav */
.nx-nav.nx-flex-column {
gap: 0.5rem;
}
.nx-nav.nx-flex-column .nx-nav-link {
border-radius: 0.5rem;
}
/* Modern Justified & Fill */
.nx-nav-justified .nx-nav-link,
.nx-nav-fill .nx-nav-link {
text-align: center;
}
/* Modern Alignment Styles */
.nx-justify-content-center,
.nx-justify-content-end,
.nx-justify-content-between {
gap: 0.5rem;
}
/* Preview Box Styling */
.preview-box {
background: #ffffff;
border-radius: 0.75rem;
padding: 2rem;
margin-bottom: 2rem;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.preview-box h4 {
color: #2d3748;
margin-bottom: 1.5rem;
font-weight: 600;
}
/* Code Preview Styling */
/*.code-preview {
margin-top: 1.5rem;
background: #f8fafc;
border-radius: 0.5rem;
overflow: hidden;
}*/
/* Section Styling */
section {
margin-bottom: 4rem;
}
section h2 {
/* color: #1a202c;*/
font-weight: 700;
margin-bottom: 1rem;
font-size: 1.875rem;
}
/* Icons in navigation */
.nx-nav-link i {
margin-right: 0.5rem;
opacity: 0.75;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.preview-box {
padding: 1.5rem;
}
.nx-nav-link {
padding: 0.5rem 1rem;
}
}