MediaWiki:Common.css: Unterschied zwischen den Versionen

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


/* Styling für GutachtenAuspragungForm */
label.checkbox-list {
.checkbox-list {
   font-family: Arial, Helvetica, sans-serif;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}
 
/* Target the checkbox input directly */
.checkbox-list input[type="checkbox"] {
  margin: 0 !important;
  margin-right: 8px !important;
  padding: 0 !important;
  transform: scale(1.2);
  vertical-align: middle;
  display: inline-block;
}
 
/* Target the label directly */
.checkbox-list label {
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-size: 1em;
   font-size: 1em;
   color: #333;
   color: #333;  
   line-height: 1.6;
   line-height: 1.6;
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: left;
}
/* Target any wrapper divs or spans created by PageForms */
.checkbox-list div, .checkbox-list span {
   display: block !important;
   display: block !important;
   margin: 0 !important;
   margin-bottom: 8px;  
  padding: 0 !important;
  text-align: left !important;
}
 
/* Ensure the outer container has no padding or margin that could cause an offset */
.checkbox-container {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
}


/* Button styling */
.btn-primary {
.btn-primary {
   background-color: #3498db;
   background-color: #3498db;
Zeile 64: Zeile 28:
   border-radius: 5px;
   border-radius: 5px;
   cursor: pointer;
   cursor: pointer;
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-family: Arial, Helvetica, sans-serif;
}
}
.btn-primary:hover {
.btn-primary:hover {
   background-color: #2980b9;
   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;
}
}

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;
}