MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus smw-dev03
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(33 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 12: Zeile 12:
}
}


label.checkbox-list {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  color: #333;
  line-height: 1.6;
  display: block !important;
  margin-bottom: 8px;
}
.btn-primary {
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}
.btn-primary:hover {
  background-color: #2980b9;
}
/* ===== REFERENT & KOREFERENT Layout ===== */
/* Layout für Referent und Koreferent */
.dozent-row {
  display: flex;
  gap: 32px;
  margin-bottom: 16px;
  align-items: flex-start;
}
/* Gemeinsamer Container */
.dozent-unterschrift {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* Titel */
.dozent-unterschrift h3 {
  margin: 0;
  font-size: 1.2em;
  color: #2c3e50;
}


/* Ensure the entire container is left-aligned */
/* Beschreibungstext */
.checkbox-list {
.dozent-unterschrift p {
   text-align: left !important;
   margin: 0;
   margin: 0 !important;
  font-size: 0.95em;
   padding: 0 !important;
   color: #7f8c8d;
   line-height: 1.2;
}
}


/* Target the checkbox input directly */
/* Dropdown-Wrapper */
.checkbox-list input[type="checkbox"] {
.checkbox-container {
   margin: 0 !important;
   padding: 0;
   margin-right: 8px !important;
   margin: 0;
  padding: 0 !important;
   border: none;
   transform: scale(1.2);
   background: transparent;
   vertical-align: middle;
  display: inline-block;
}
}


/* Target the label directly */
/* Dropdown selbst */
.checkbox-list label {
.checkbox-container select {
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
   padding: 4px 6px;
   font-size: 1em;
   font-size: 1em;
   color: #333;
   border: 1px solid #ccc;
   line-height: 1.6;
  border-radius: 4px;
   display: inline !important;
   background: white;
   margin: 0 !important;
  width: auto;
   padding: 0 !important;
  min-width: 160px;
   vertical-align: middle;
}
 
/* Unterschrift-Zeile */
.unterschrift-row {
  display: flex;
  align-items: center;
  gap: 6px;
   margin-top: 4px;
}
 
/* Text neben Checkbox */
.unterschrift-row p {
   margin: 0;
   font-size: 0.95em;
   color: #7f8c8d;
  line-height: 1.2;
}
}


/* Target any wrapper divs or spans created by PageForms */
/* Kompakter Checkbox-Stil */
.checkbox-list div, .checkbox-list span {
.unterschrift-checkbox-container {
   display: block !important;
   padding: 0;
   margin: 0 !important;
   border: none;
   padding: 0 !important;
   display: inline-block;
   text-align: left !important;
   line-height: 1;
}
}


/* Ensure the outer container has no padding or margin that could cause an offset */
.unterschrift-checkbox input[type="checkbox"] {
.checkbox-container {
  width: 16px;
   margin: 0 !important;
  height: 16px;
   padding: 0 !important;
   margin: 0;
   text-align: left !important;
   padding: 0;
   vertical-align: middle;
}
}


/* Button styling */
.checkbox-list input[type="checkbox"] {
.btn-primary {
   margin-right: 8px;
   background-color: #3498db;
}
  color: white;
  padding

Aktuelle Version vom 7. Juli 2025, 13:55 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
}

.checkboxcolumns {
 display: block !important;
 margin-left: 0em;
}

label.checkbox-list {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  color: #333; 
  line-height: 1.6;
  display: block !important;
  margin-bottom: 8px; 
}

.btn-primary {
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}

.btn-primary:hover {
  background-color: #2980b9;
}


/* ===== REFERENT & KOREFERENT Layout ===== */

/* Layout für Referent und Koreferent */
.dozent-row {
  display: flex;
  gap: 32px;
  margin-bottom: 16px;
  align-items: flex-start;
}

/* Gemeinsamer Container */
.dozent-unterschrift {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Titel */
.dozent-unterschrift h3 {
  margin: 0;
  font-size: 1.2em;
  color: #2c3e50;
}

/* Beschreibungstext */
.dozent-unterschrift p {
  margin: 0;
  font-size: 0.95em;
  color: #7f8c8d;
  line-height: 1.2;
}

/* Dropdown-Wrapper */
.checkbox-container {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}

/* Dropdown selbst */
.checkbox-container select {
  padding: 4px 6px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  width: auto;
  min-width: 160px;
}

/* Unterschrift-Zeile */
.unterschrift-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

/* Text neben Checkbox */
.unterschrift-row p {
  margin: 0;
  font-size: 0.95em;
  color: #7f8c8d;
  line-height: 1.2;
}

/* Kompakter Checkbox-Stil */
.unterschrift-checkbox-container {
  padding: 0;
  border: none;
  display: inline-block;
  line-height: 1;
}

.unterschrift-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.checkbox-list input[type="checkbox"] {
  margin-right: 8px;
}