mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
ui fixes
This commit is contained in:
+1
-1
@@ -1874,7 +1874,7 @@ function AddBetterSEQTAElements(toggle) {
|
|||||||
titlebar.classList.add("titlebar");
|
titlebar.classList.add("titlebar");
|
||||||
let container = document.getElementById("content");
|
let container = document.getElementById("content");
|
||||||
container.append(titlebar);
|
container.append(titlebar);
|
||||||
var NewButtonStr = "<li class=\"item\" data-key=\"home\" id=\"homebutton\" data-path=\"/home\" data-betterseqta=\"true\"><label><svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z\" /></svg>Home</label></li>";
|
var NewButtonStr = "<li class=\"item\" data-key=\"home\" id=\"homebutton\" data-path=\"/home\" data-betterseqta=\"true\"><label><svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z\" /></svg><span>Home</span></label></li>";
|
||||||
var NewButton = stringToHTML(NewButtonStr);
|
var NewButton = stringToHTML(NewButtonStr);
|
||||||
var menu = document.getElementById("menu");
|
var menu = document.getElementById("menu");
|
||||||
var List = menu.firstChild;
|
var List = menu.firstChild;
|
||||||
|
|||||||
+9
-13
@@ -232,6 +232,11 @@ html {
|
|||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.listWrapper:not(:has(.list *)) + .functions,
|
||||||
|
.listWrapper:not(:has(.list *)) {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
[data-type="student"] .header {
|
[data-type="student"] .header {
|
||||||
color: black !important;
|
color: black !important;
|
||||||
}
|
}
|
||||||
@@ -288,6 +293,7 @@ ol:has(.MessageList__avatar___2wxyb svg) {
|
|||||||
.functions > .uiButton {
|
.functions > .uiButton {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
|
border-radius: 16px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.singleSelect {
|
.singleSelect {
|
||||||
@@ -314,16 +320,6 @@ ol:has(.MessageList__avatar___2wxyb svg) {
|
|||||||
margin-bottom: 4px !important;
|
margin-bottom: 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.singleSelect::-webkit-scrollbar-thumb {
|
|
||||||
background-color: rgb(
|
|
||||||
150,
|
|
||||||
150,
|
|
||||||
150
|
|
||||||
) !important; /* color of the scroll thumb */
|
|
||||||
border-radius: 20px; /* roundness of the scroll thumb */
|
|
||||||
border: 3px solid orange; /* creates padding around scroll thumb */
|
|
||||||
}
|
|
||||||
|
|
||||||
.uiFileHandler {
|
.uiFileHandler {
|
||||||
-webkit-box-shadow: 0px 5px 16px 6px rgba(0, 0, 0, 0) !important;
|
-webkit-box-shadow: 0px 5px 16px 6px rgba(0, 0, 0, 0) !important;
|
||||||
box-shadow: 0px 5px 16px 6px rgba(0, 0, 0, 0) !important;
|
box-shadow: 0px 5px 16px 6px rgba(0, 0, 0, 0) !important;
|
||||||
@@ -766,7 +762,7 @@ div > ol:has(.uiFileHandlerWrapper) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.border {
|
.border {
|
||||||
border-radius: 0.5rem 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shortcut-container h2 {
|
.shortcut-container h2 {
|
||||||
@@ -810,6 +806,7 @@ div > ol:has(.uiFileHandlerWrapper) {
|
|||||||
display: flex;
|
display: flex;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
transition: 200ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
.customshortcut::after {
|
.customshortcut::after {
|
||||||
@@ -2244,8 +2241,7 @@ body {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
transition: 200ms;
|
transition: 200ms;
|
||||||
border-bottom-left-radius: 15px;
|
border-radius: 1rem;
|
||||||
border-bottom-right-radius: 15px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.upcoming-assessment-title {
|
.upcoming-assessment-title {
|
||||||
|
|||||||
Reference in New Issue
Block a user