Kompatibilität für Chrome
This commit is contained in:
1 parent
7a5fe69f29
commit
54368e20d0
4 files changed
+23
-13
No files matched your search
@@ -54,6 +54,16 @@ input {
|
|||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
select {
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
padding: 5px;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
/* ----------- overlay ----------- */
|
/* ----------- overlay ----------- */
|
||||||
|
|
||||||
@@ -230,6 +240,9 @@ dropdown > div:first-child {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
dropdown > div > button {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
dropdown > div:last-child {
|
dropdown > div:last-child {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: var(--accent_color_bg_o);
|
background: var(--accent_color_bg_o);
|
||||||
|
|||||||
+1
-10
@@ -10,16 +10,7 @@ function showOverlay(id) {
|
|||||||
if (!elm) return;
|
if (!elm) return;
|
||||||
const overlay = document.createElement("div");
|
const overlay = document.createElement("div");
|
||||||
|
|
||||||
const computedStyles = getComputedStyle(elm);
|
const styleString = elm.getAttribute("style");
|
||||||
const defaultStyles = getDefaultComputedStyle(elm);
|
|
||||||
let styleString = "";
|
|
||||||
for (let style of computedStyles) {
|
|
||||||
if (style == "display") continue;
|
|
||||||
const computedValue = computedStyles.getPropertyValue(style);
|
|
||||||
const defaultValue = defaultStyles.getPropertyValue(style);
|
|
||||||
if (computedValue == defaultValue) continue;
|
|
||||||
styleString += `${style}: ${computedValue}; `;
|
|
||||||
}
|
|
||||||
|
|
||||||
overlay.classList.add("overlay");
|
overlay.classList.add("overlay");
|
||||||
overlay.setAttribute("name", id);
|
overlay.setAttribute("name", id);
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ button.navigation:hover {
|
|||||||
padding-left: 10px !important;
|
padding-left: 10px !important;
|
||||||
}
|
}
|
||||||
.content-table > tbody > tr:first-child > td:last-child > div {
|
.content-table > tbody > tr:first-child > td:last-child > div {
|
||||||
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
@@ -147,6 +148,11 @@ async function loadStats() {
|
|||||||
}, i);
|
}, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const bottomLabel = document.createElement("label");
|
||||||
|
bottomLabel.style = `display: inline-block; font-size: 5px;`;
|
||||||
|
bottomLabel.innerHTML = " ";
|
||||||
|
udiv.appendChild(bottomLabel);
|
||||||
|
|
||||||
let studenten = gesamtAuswertung[3].reduce((acc, val) => acc + val, 0) / gesamtAuswertung[3].length;
|
let studenten = gesamtAuswertung[3].reduce((acc, val) => acc + val, 0) / gesamtAuswertung[3].length;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ button.auswertung:hover {
|
|||||||
.action.start {
|
.action.start {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 16px;
|
top: 16px;
|
||||||
right: 60px;
|
right: 70px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
background-color: var(--accent_color_bg);
|
background-color: var(--accent_color_bg);
|
||||||
@@ -261,7 +261,7 @@ button.auswertung:hover {
|
|||||||
.createCourse .evaluation > button {
|
.createCourse .evaluation > button {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
font-size: 28px;
|
font-size: 23px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
@@ -477,7 +477,7 @@ async function deleteCourse(courseId) {
|
|||||||
.edit_course .evaluation > button {
|
.edit_course .evaluation > button {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
font-size: 28px;
|
font-size: 23px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
|
|||||||
Reference in new issue
Block a user