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
+30 -13
View File
@@ -823,8 +823,16 @@ div > ol:has(.uiFileHandlerWrapper) {
box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.2);
}
html.transparencyEffects [class*="ResourceList__ResourceItem___voTSd"]:not(:last-child) {
border-bottom: 1px solid var(--theme-offset-bg);
html.transparencyEffects [class*="BasicPanel__BasicPanel___q92_U"] > ol > li {
border-bottom: none !important;
}
html.transparencyEffects
[class*="BasicPanel__BasicPanel___q92_U"]
> ol
> li
+ li {
border-top: 1px solid var(--theme-offset-bg);
}
.assessmentsWrapper .message {
@@ -1689,7 +1697,7 @@ iframe.userHTML {
}
.programmeNavigator {
box-shadow: 0 0 40px 0px rgba(0,0,0,0.05);
box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.05);
overflow-y: scroll;
height: 100%;
@@ -1760,7 +1768,9 @@ iframe.userHTML {
background: var(--auto-background);
opacity: 0;
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;
pointer-events: none;
}
@@ -1774,7 +1784,6 @@ iframe.userHTML {
opacity: 1;
scale: 1;
}
}
}
}
@@ -1798,7 +1807,9 @@ iframe.userHTML {
.dark .programmeNavigator .navigator {
.search {
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 {
@@ -2178,7 +2189,7 @@ div.bar.flat {
background: var(--background-secondary) !important;
}
.dashlet-motd {
.dashlet-motd {
padding: 7px !important;
.message {
font-size: 24px !important;
@@ -2194,8 +2205,7 @@ div.bar.flat {
align-items: flex-start !important;
overflow: hidden !important;
}
}
}
.cke_toolbox > .cke_toolbar > .cke_toolgroup > .cke_button {
background: var(--background-secondary) !important;
@@ -3749,7 +3759,12 @@ div.day-empty {
}
.notice-unified-content {
h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0 !important;
padding: 0 !important;
font-weight: inherit !important;
@@ -3841,7 +3856,8 @@ div.day-empty {
}
}
ul, ol {
ul,
ol {
margin: 12px 0;
padding-left: 20px;
}
@@ -3851,7 +3867,7 @@ div.day-empty {
}
}
}
}
}
.notice-header {
display: flex;
@@ -3988,7 +4004,8 @@ button.notice-close-btn {
}
}
ul, ol {
ul,
ol {
margin: 12px 0;
padding-left: 20px;
}