CRUD
This commit is contained in:
156
Practicas/Practicas_SQL/ejercicios/tienda/crud/css/style.css
Normal file
156
Practicas/Practicas_SQL/ejercicios/tienda/crud/css/style.css
Normal file
@@ -0,0 +1,156 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: 'Segoe UI', sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a{
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.users-form form{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
width: 30%;
|
||||
margin: 10px auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.users-form form input{
|
||||
font-family: 'Segoe UI', sans-serif;
|
||||
}
|
||||
|
||||
.users-form form input[type=text],
|
||||
.users-form form input[type=password],
|
||||
.users-form form input[type=email]{
|
||||
padding: 8px;
|
||||
border:2px solid #aaa;
|
||||
border-radius:4px;
|
||||
outline:none;
|
||||
transition:.3s;
|
||||
}
|
||||
|
||||
.users-form form input[type=text]:focus,
|
||||
.users-form form input[type=password]:focus,
|
||||
.users-form form input[type=password]:focus{
|
||||
border-color:dodgerBlue;
|
||||
box-shadow:0 0 6px 0 dodgerBlue;
|
||||
}
|
||||
|
||||
.users-form form input[type=submit]{
|
||||
border: none;
|
||||
padding: 12px 50px;
|
||||
text-decoration: none;
|
||||
transition-duration: 0.4s;
|
||||
cursor: pointer;
|
||||
border-radius: 5px;
|
||||
background-color: white;
|
||||
color: black;
|
||||
border: 2px solid #60a100;
|
||||
}
|
||||
|
||||
.users-form form input[type=submit]:hover {
|
||||
background-color: #60a100;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.users-table table{
|
||||
border: 1px solid #ccc;
|
||||
border-collapse: collapse;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.detail-table table{
|
||||
border: 1px solid #ccc;
|
||||
border-collapse: collapse;
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
width: 60%;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
table tr {
|
||||
background-color: #f8f8f8;
|
||||
border: 1px solid #ddd;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
table th{
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
font-size: .85em;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
|
||||
.users-table--detail{
|
||||
background: #09adc8;
|
||||
padding: 6px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.users-table--edit{
|
||||
background: #009688;
|
||||
padding: 6px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.users-table--delete{
|
||||
background: #b11e1e;
|
||||
padding: 6px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Estilos básicos para el menú */
|
||||
nav {
|
||||
background-color: #333;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
nav li {
|
||||
display: inline;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
nav a {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
font-size: 18px;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
/* Estilos para los enlaces activos */
|
||||
nav .active a {
|
||||
background-color: #007bff;
|
||||
}
|
||||
Reference in New Issue
Block a user