Skip to content

Commit a21ca9b

Browse files
authored
Remove fomantic dimmer module (#30723)
Tested extensively using modal which is the only dependant.
1 parent e80466f commit a21ca9b

File tree

8 files changed

+62
-1116
lines changed

8 files changed

+62
-1116
lines changed

web_src/css/base.css

-4
Original file line numberDiff line numberDiff line change
@@ -680,10 +680,6 @@ input:-webkit-autofill:active,
680680
box-shadow: 0 6px 18px var(--color-shadow) !important;
681681
}
682682

683-
.ui.dimmer {
684-
background: var(--color-overlay-backdrop);
685-
}
686-
687683
.ui.dropdown .menu > .header {
688684
font-size: 0.8em;
689685
}

web_src/css/index.css

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
@import "./modules/table.css";
1717
@import "./modules/card.css";
1818
@import "./modules/checkbox.css";
19+
@import "./modules/dimmer.css";
1920
@import "./modules/modal.css";
2021

2122
@import "./modules/select.css";

web_src/css/modules/dimmer.css

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/* These are the remnants of the fomantic dimmer module */
2+
3+
.ui.dimmer {
4+
position: fixed;
5+
display: none;
6+
top: 0;
7+
left: 0;
8+
right: 0;
9+
bottom: 0;
10+
background: var(--color-overlay-backdrop);
11+
opacity: 0;
12+
z-index: 1000;
13+
overflow-y: auto;
14+
justify-content: center;
15+
padding: 8px 0;
16+
animation-name: fadein;
17+
animation-duration: .2s;
18+
user-select: none;
19+
}
20+
21+
.ui.active.dimmer {
22+
display: flex;
23+
opacity: 1;
24+
}
25+
26+
.ui.dimmer > * {
27+
position: static;
28+
margin-top: auto !important;
29+
margin-bottom: auto !important;
30+
}

0 commit comments

Comments
 (0)