Untitled

 avatar
unknown
plain_text
12 days ago
2.4 kB
6
Indexable
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
    position: relative;
}

h1 {
    color: white;
    background: linear-gradient(to right, #4CAF50, #2e7d32);
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
    font-size: 2.5em;
    margin-top: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

table {
    width: 50%;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #4CAF50;
    color: white;
}

.login-box {
    position: absolute;
    top: 100px;
    right: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-box label {
    font-size: 14px;
}

.login-box input {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.login-box button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
}

.login-box button:hover {
    background-color: #45a049;
}

.table-description {
    font-size: 1.2em;
    color: #555;
    margin: 10px 0;
    font-weight: bold;
}

.history-section {
    display: none; /* Hidden by default */
    margin: 20px auto;
    width: 50%;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: left; /* Left-align the list items */
}

.history-section h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.history-section ul {
    list-style-type: none;
    padding: 0;
}

.history-section li {
    padding: 8px;
    color: #555;
    font-size: 1.1em;
    border-bottom: 1px solid #ddd; /* Adds a line between transactions */
}

.history-section li:last-child {
    border-bottom: none; /* Removes the bottom border of the last item */
}

.toggle-history-btn {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.toggle-history-btn:hover {
    background-color: #45a049;
}
Editor is loading...
Leave a Comment