Compare commits
5 Commits
1075ef8195
...
c25e2d41c7
Author | SHA1 | Date |
---|---|---|
|
c25e2d41c7 | |
|
0ee8eb4f86 | |
|
58917cf04d | |
|
49e20f803e | |
|
210d1eb9bc |
node_modules/admin-lte
|
@ -0,0 +1,231 @@
|
|||
:root {
|
||||
--blue: #007bff;
|
||||
--indigo: #6610f2;
|
||||
--purple: #6f42c1;
|
||||
--pink: #e83e8c;
|
||||
--red: #dc3545;
|
||||
--orange: #fd7e14;
|
||||
--yellow: #ffc107;
|
||||
--green: #28a745;
|
||||
--teal: #20c997;
|
||||
--cyan: #17a2b8;
|
||||
--white: #fff;
|
||||
--gray: #6c757d;
|
||||
--gray-dark: #343a40;
|
||||
--primary: #007bff;
|
||||
--secondary: #6c757d;
|
||||
--success: #28a745;
|
||||
--info: #17a2b8;
|
||||
--warning: #ffc107;
|
||||
--danger: #dc3545;
|
||||
--light: #f8f9fa;
|
||||
--dark: #343a40;
|
||||
--breakpoint-xs: 0;
|
||||
--breakpoint-sm: 576px;
|
||||
--breakpoint-md: 768px;
|
||||
--breakpoint-lg: 992px;
|
||||
--breakpoint-xl: 1200px;
|
||||
--font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
line-height: 1.15;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
/* Estilos para las tarjetas */
|
||||
.card {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
word-wrap: break-word;
|
||||
background-color: #fff;
|
||||
background-clip: border-box;
|
||||
border: 1px solid rgba(0, 0, 0, 0.125);
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.card-primary {
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.card-primary:not(.card-outline) > .card-header {
|
||||
background-color: #007bff;
|
||||
color: #fff;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
|
||||
padding: 0.75rem 1.25rem;
|
||||
}
|
||||
|
||||
/* Estilos para los botones */
|
||||
.btn {
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
user-select: none;
|
||||
border: 1px solid transparent;
|
||||
padding: 0.375rem 0.75rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.btn-info {
|
||||
color: #fff;
|
||||
background-color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
color: #fff;
|
||||
background-color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.btn-warning {
|
||||
color: #212529;
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
/* Estilos para las imágenes */
|
||||
.img-fluid {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Estilos para el contenedor de filtros */
|
||||
.filter-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-right: -15px;
|
||||
margin-left: -15px;
|
||||
}
|
||||
|
||||
.filtr-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Estilos para el contenedor principal */
|
||||
.content-wrapper {
|
||||
margin-left: 0px;
|
||||
min-height: calc(100vh - 57px);
|
||||
background-color: #f4f6f9;
|
||||
z-index: 800;
|
||||
}
|
||||
|
||||
/* Estilos para el contenedor fluido */
|
||||
.container-fluid {
|
||||
width: 100%;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/* Estilos generales del body */
|
||||
.hold-transition {
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.sidebar-mini {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
/* Botones de filtro */
|
||||
.btn-group .btn {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.btn-group .btn.active {
|
||||
background-color: #007bff;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Contenedor de la galería */
|
||||
.filter-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.filtr-item {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.filtr-item img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
transition: transform 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.filtr-item img:hover {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
/* Lightbox */
|
||||
.ekko-lightbox .modal-dialog {
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
.ekko-lightbox .modal-content {
|
||||
background-color: #000;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.ekko-lightbox .modal-body img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Tarjetas */
|
||||
.card {
|
||||
margin-bottom:5px;
|
||||
|
||||
}
|
||||
|
||||
.card .card-header {
|
||||
background-color: #007bff;
|
||||
color: #fff;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.card .card-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
margin-top: 0;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.img-fluid {
|
||||
max-width: 150px; /* Ajusta el tamaño máximo de las imágenes */
|
||||
height: auto; /* Mantiene la proporción de la imagen */
|
||||
margin-left: 20px;
|
||||
}
|
Binary file not shown.
After ![]() (image error) Size: 22 KiB |
|
@ -230,7 +230,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="./index2.html" class="nav-link">
|
||||
<a href="./ohana.html" class="nav-link">
|
||||
<i class="far fa-circle nav-icon"></i>
|
||||
<p>Ohana Monserrath Gutierrez Hernández</p>
|
||||
</a>
|
||||
|
|
|
@ -0,0 +1,119 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="es">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Galería | AdminLTE</title>
|
||||
|
||||
<!-- Estilos -->
|
||||
<link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
|
||||
<link rel="stylesheet" href="../plugins/ekko-lightbox/ekko-lightbox.css">
|
||||
<link rel="stylesheet" href="./dist/css/ohanastyle.css">
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
</head>
|
||||
<body class="hold-transition sidebar-mini">
|
||||
<div class="wrapper">
|
||||
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="container-fluid">
|
||||
<h2 class="mt-4">Gallery</h2>
|
||||
|
||||
<!-- Filtro de categorías -->
|
||||
<div class="card card-primary">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">FilteriZr Gallery with Ekko Lightbox</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="btn-group w-100 mb-2">
|
||||
<button class="btn btn-primary filter" data-filter="all">All items</button>
|
||||
<button class="btn btn-info filter" data-filter="1">Category 1 (WHITE)</button>
|
||||
<button class="btn btn-success filter" data-filter="2">Category 2 (BLACK)</button>
|
||||
<button class="btn btn-warning filter" data-filter="3">Category 3 (COLORED)</button>
|
||||
</div>
|
||||
|
||||
<div class="filter-container p-0 row">
|
||||
<div class="filtr-item col-md-3" data-category="1">
|
||||
<a href="./dist/img/ohana/comida.jpeg" data-toggle="lightbox" data-gallery="gallery">
|
||||
<img src="./dist/img/ohana/comida.jpeg" class="img-fluid" alt="White Sample">
|
||||
</a>
|
||||
</div>
|
||||
<div class="filtr-item col-md-3" data-category="2">
|
||||
<a href="./dist/img/ohana/comida.jpeg" data-toggle="lightbox" data-gallery="gallery">
|
||||
<img src="./dist/img/ohana/comida.jpeg" class="img-fluid" alt="Black Sample">
|
||||
</a>
|
||||
</div>
|
||||
<div class="filtr-item col-md-3" data-category="3">
|
||||
<a href="./dist/img/ohana/comida.jpeg" data-toggle="lightbox" data-gallery="gallery">
|
||||
<img src="./dist/img/ohana/comida.jpeg" class="img-fluid" alt="Colored Sample">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Sección de Lightbox -->
|
||||
<div class="card card-primary">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Ekko Lightbox</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<a href="./dist/img/ohana/comida.jpeg" data-toggle="lightbox" data-gallery="gallery">
|
||||
<img src="./dist/img/ohana/comida.jpeg" class="img-fluid" alt="Sample 1">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<a href="./dist/img/ohana/comida.jpeg" data-toggle="lightbox" data-gallery="gallery">
|
||||
<img src="./dist/img/ohana/comida.jpeg" class="img-fluid" alt="Sample 2">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="../plugins/jquery/jquery.min.js"></script>
|
||||
<script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="../plugins/ekko-lightbox/ekko-lightbox.min.js"></script>
|
||||
<script src="./dist/js/adminlte.min.js"></script>
|
||||
<script src="../plugins/filterizr/jquery.filterizr.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(document).on('click', '[data-toggle="lightbox"]', function(event) {
|
||||
event.preventDefault();
|
||||
$(this).ekkoLightbox();
|
||||
});
|
||||
|
||||
$(function() {
|
||||
var filterizd = $('.filter-container').filterizr({
|
||||
layout: 'sameSize'
|
||||
});
|
||||
|
||||
$('.filter').on('click', function() {
|
||||
$('.filter').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
var filter = $(this).data('filter');
|
||||
filterizd.filterizr('filter', filter);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue