Zuletzt bearbeitet vor 4 Monaten
von Xineohp1506

styles.css

/* Stil für die gesamte Tabelle */
.issue-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Spezifische Stile für Kopfzellen und Datenzellen mit genauem Selektor */
.issue-table > tr > th,
.issue-table > tr > td,
.issue-table > * > tr > th,
.issue-table > * > tr > td {
    border: 1px solid #ddd; /* Gewünschte Randfarbe */
    padding: 8px 10px; /* Anpassung des Paddings */
    background-color: inherit; /* Hält die Hintergrundfarbe konsistent */
}

/* Tabellenkopf-Hintergrund und Textstil */
.issue-table tr th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: bold;
    text-align: left;
}

/* Linke Spalte mit verlinkter Issue ID */
.issue-table td:first-child {
    font-weight: bold;
}

/* Hintergrundfarbe für abwechselnde Zeilen */
.issue-table tr:nth-child(even) {
    background-color: #ffffff;
}

.issue-table tr:nth-child(odd) {
    background-color: #f7f7f7;
}

/* Hover-Effekt für Zeilen */
.issue-table tr:hover {
    background-color: #e6f7ff;
}

/* Anpassung für Links innerhalb der Tabelle */
.issue-table a {
    color: #007bff;
    text-decoration: none;
}

.issue-table a:hover {
    text-decoration: underline;
}

.issue-form-container {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.form-section {
    margin-bottom: 15px;
}

.field-label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.issue-field {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
}

textarea.issue-field {
    resize: vertical;
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    font-size: 1em;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
}

.btn-cancel {
    background-color: #f44336;
    color: white;
    border: none;
}

.issue-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.issue-header {
    display: flex;
    justify-content: space-between;
    background-color: #f2f2f2;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.issue-title {
    font-size: 1.2em;
    font-weight: bold;
}

.issue-status,
.issue-priority {
    font-size: 0.9em;
    padding: 3px 8px;
    border-radius: 4px;
}

.issue-status {
    background-color: #dff0d8;
    color: #3c763d;
}

.issue-priority {
    background-color: #fcf8e3;
    color: #8a6d3b;
}

.issue-details {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.issue-column {
    flex: 1;
}

.issue-details p {
    margin: 5px 0;
}

.issue-description,
.issue-attachments,
.issue-comments,
.issue-history {
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.issue-description h3,
.issue-attachments h3,
.issue-comments h3,
.issue-history h3 {
    font-size: 1em;
    margin-top: 0;
    color: #333;
}