MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus smw-dev03
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(32 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;
}


.checkbox-list {
.btn-primary:hover {
   text-align: left !important;
   background-color: #2980b9;
  margin: 0 !important;
  padding: 0 !important;
}
}




.checkbox-list input[type="checkbox"] {
/* ===== REFERENT & KOREFERENT Layout ===== */
  margin: 0 !important;
 
  margin-right: 8px !important;
/* Layout für Referent und Koreferent */
   padding: 0 !important;
.dozent-row {
   transform: scale(1.2);
   display: flex;
   vertical-align: middle;
   gap: 32px;
   display: inline-block;
   margin-bottom: 16px;
   align-items: flex-start;
}
}


.checkbox-list label {
/* Gemeinsamer Container */
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
.dozent-unterschrift {
  font-size: 1em;
   flex: 1;
  color: #333;
   display: flex;
  line-height: 1.6;
   flex-direction: column;
   display: inline !important;
   gap: 4px;
   margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
   white-space: normal;  
}
}


.checkbox-list div, .checkbox-list span {
/* Titel */
  display: block !important; /* Each checkbox-label pair on a new line */
.dozent-unterschrift h3 {
   margin: 0 !important;
   margin: 0;
  padding: 0 !important;
   font-size: 1.2em;
   text-align: left !important;
   color: #2c3e50;
   white-space: nowrap; /* Prevent wrapping within the div */
}
}


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


/* Dropdown-Wrapper */
.checkbox-container {
.checkbox-container {
   margin: 0 !important;
  padding: 0;
   padding: 0 !important;
   margin: 0;
   text-align: left !important;
  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;
}


.btn-primary {
/* Text neben Checkbox */
   background-color: #3498db;
.unterschrift-row p {
   color: white;
   margin: 0;
   padding: 10px 20px;
  font-size: 0.95em;
  color: #7f8c8d;
   line-height: 1.2;
}
 
/* Kompakter Checkbox-Stil */
.unterschrift-checkbox-container {
   padding: 0;
   border: none;
   border: none;
   border-radius: 5px;
   display: inline-block;
   cursor: pointer;
  line-height: 1;
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
 
.unterschrift-checkbox input[type="checkbox"] {
  width: 16px;
   height: 16px;
   margin: 0;
  padding: 0;
  vertical-align: middle;
}
}
.btn-primary:hover {
 
   background-color: #2980b9;
.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;
}