Zuletzt bearbeitet vor 5 Monaten
von Xineohp1506

Vorlage:LPON/Mod/styles.css: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 4: Zeile 4:
     border-collapse: collapse;
     border-collapse: collapse;
     margin-top: 15px;
     margin-top: 15px;
    font-family: Arial, sans-serif;
     background-color: #fef4f4; /* Heller Komplementärton zu #cf001b */
     background-color: #f9f9f9;
     border: 1px solid #cf001b; /* Dezenter Rahmen in Hauptfarbe */
     border: 1px solid #ddd;
     border-radius: 8px;
     border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
}


/* Spezifische Stile für Kopfzellen und Datenzellen mit genauem Selektor */
/* Spezifische Stile für Kopfzellen und Datenzellen */
.lpnon-mod-table > tr > th,
.lpnon-mod-table > tr > th,
.lpnon-mod-table > tr > td,
.lpnon-mod-table > tr > td,
.lpnon-mod-table > * > tr > th,
.lpnon-mod-table > * > tr > th,
.lpnon-mod-table > * > tr > td {
.lpnon-mod-table > * > tr > td {
    border: 1px solid #ddd; /* Gewünschte Randfarbe */
  /* border: 1px solid #cf001b; /* Leichter Kontrast für die Zellenränder */
     padding: 8px 10px; /* Anpassung des Paddings */
     padding: 10px; /* Mehr Platz für Inhalte */
     background-color: inherit; /* Hält die Hintergrundfarbe konsistent */
     background-color: inherit; /* Beibehaltung der konsistenten Hintergrundfarbe */
}
}


/* Tabellenkopf-Hintergrund und Textstil */
/* Tabellenkopf-Hintergrund und Textstil */
.lpnon-mod-table tr th {
.lpnon-mod-table tr th {
     background-color: #f2f2f2;
     background-color: #f9e8e8; /* Heller Ton für Tabellenkopf */
     color: #333;
     color: #cf001b; /* Hauptfarbe für Text */
     font-weight: bold;
     font-weight: bold;
     text-align: left;
     text-align: left;
    /*border-bottom: 1px solid #cf001b; /* Akzentlinie unter dem Header */
}
}


/* Linke Spalte mit verlinkter Issue ID */
/* Linke Spalte mit fettgedrucktem Text */
.lpnon-mod-table td:first-child {
.lpnon-mod-table td:first-child {
     font-weight: bold;
     font-weight: bold;
    color: #333;
}
}


Zeile 44: Zeile 46:
/* Hover-Effekt für Zeilen */
/* Hover-Effekt für Zeilen */
.lpnon-mod-table tr:hover {
.lpnon-mod-table tr:hover {
     background-color: #e6f7ff;
     background-color: #fce8e8; /* Dezenter Hover-Effekt mit Komplementärfarbe */
}
}


Zeile 51: Zeile 53:
     color: #cf001b;
     color: #cf001b;
     text-decoration: none;
     text-decoration: none;
    font-weight: bold;
}
}


Zeile 56: Zeile 59:
     text-decoration: underline;
     text-decoration: underline;
}
}
/*
.lpnon-mod-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.lpnon-mod-table th {
    text-align: left;
    padding: 10px;
    color: #cf001b;
    font-weight: bold;
    border: 1px solid #cf001b;
}
.lpnon-mod-table td {
    padding: 10px;
    border: 1px solid #cf001b;
}
.lpnon-mod-table a {
    color: #cf001b;
    text-decoration: none;
}
.lpnon-mod-table a:hover {
    text-decoration: underline;
}*/

Aktuelle Version vom 2. Dezember 2024, 22:57 Uhr

/* Stil für die gesamte Tabelle */
.lpnon-mod-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background-color: #fef4f4; /* Heller Komplementärton zu #cf001b */
    border: 1px solid #cf001b; /* Dezenter Rahmen in Hauptfarbe */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Spezifische Stile für Kopfzellen und Datenzellen */
.lpnon-mod-table > tr > th,
.lpnon-mod-table > tr > td,
.lpnon-mod-table > * > tr > th,
.lpnon-mod-table > * > tr > td {
   /* border: 1px solid #cf001b; /* Leichter Kontrast für die Zellenränder */
    padding: 10px; /* Mehr Platz für Inhalte */
    background-color: inherit; /* Beibehaltung der konsistenten Hintergrundfarbe */
}

/* Tabellenkopf-Hintergrund und Textstil */
.lpnon-mod-table tr th {
    background-color: #f9e8e8; /* Heller Ton für Tabellenkopf */
    color: #cf001b; /* Hauptfarbe für Text */
    font-weight: bold;
    text-align: left;
    /*border-bottom: 1px solid #cf001b; /* Akzentlinie unter dem Header */
}

/* Linke Spalte mit fettgedrucktem Text */
.lpnon-mod-table td:first-child {
    font-weight: bold;
    color: #333;
}

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

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

/* Hover-Effekt für Zeilen */
.lpnon-mod-table tr:hover {
    background-color: #fce8e8; /* Dezenter Hover-Effekt mit Komplementärfarbe */
}

/* Anpassung für Links innerhalb der Tabelle */
.lpnon-mod-table a {
    color: #cf001b;
    text-decoration: none;
    font-weight: bold;
}

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