fix: border applying to bottom most item

This commit is contained in:
Jones8683
2025-11-10 16:18:55 +10:30
parent 7c38e1dc29
commit 4734a443b4
+26 -9
View File
@@ -823,8 +823,16 @@ div > ol:has(.uiFileHandlerWrapper) {
box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.2); box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.2);
} }
html.transparencyEffects [class*="ResourceList__ResourceItem___voTSd"]:not(:last-child) { html.transparencyEffects [class*="BasicPanel__BasicPanel___q92_U"] > ol > li {
border-bottom: 1px solid var(--theme-offset-bg); border-bottom: none !important;
}
html.transparencyEffects
[class*="BasicPanel__BasicPanel___q92_U"]
> ol
> li
+ li {
border-top: 1px solid var(--theme-offset-bg);
} }
.assessmentsWrapper .message { .assessmentsWrapper .message {
@@ -1760,7 +1768,9 @@ iframe.userHTML {
background: var(--auto-background); background: var(--auto-background);
opacity: 0; opacity: 0;
scale: 0.95; scale: 0.95;
transition: opacity 0.2s ease-out, scale 0.1s ease-out; transition:
opacity 0.2s ease-out,
scale 0.1s ease-out;
z-index: -1; z-index: -1;
pointer-events: none; pointer-events: none;
} }
@@ -1774,7 +1784,6 @@ iframe.userHTML {
opacity: 1; opacity: 1;
scale: 1; scale: 1;
} }
} }
} }
} }
@@ -1798,7 +1807,9 @@ iframe.userHTML {
.dark .programmeNavigator .navigator { .dark .programmeNavigator .navigator {
.search { .search {
background: var(--background-secondary) !important; background: var(--background-secondary) !important;
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1), inset 0px 0px 15px 0px rgba(0, 0, 0, 0.1) !important; box-shadow:
0px 0px 10px 0px rgba(0, 0, 0, 0.1),
inset 0px 0px 15px 0px rgba(0, 0, 0, 0.1) !important;
} }
} }
.dark #main > .course > .content > h1 { .dark #main > .course > .content > h1 {
@@ -2196,7 +2207,6 @@ div.bar.flat {
} }
} }
.cke_toolbox > .cke_toolbar > .cke_toolgroup > .cke_button { .cke_toolbox > .cke_toolbar > .cke_toolgroup > .cke_button {
background: var(--background-secondary) !important; background: var(--background-secondary) !important;
color: var(--text-primary) !important; color: var(--text-primary) !important;
@@ -3749,7 +3759,12 @@ div.day-empty {
} }
.notice-unified-content { .notice-unified-content {
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0 !important; margin: 0 !important;
padding: 0 !important; padding: 0 !important;
font-weight: inherit !important; font-weight: inherit !important;
@@ -3841,7 +3856,8 @@ div.day-empty {
} }
} }
ul, ol { ul,
ol {
margin: 12px 0; margin: 12px 0;
padding-left: 20px; padding-left: 20px;
} }
@@ -3988,7 +4004,8 @@ button.notice-close-btn {
} }
} }
ul, ol { ul,
ol {
margin: 12px 0; margin: 12px 0;
padding-left: 20px; padding-left: 20px;
} }