Skip to content

Commit

Permalink
Remove fomantic dimmer module (#30723)
Browse files Browse the repository at this point in the history
Tested extensively using modal which is the only dependant.
  • Loading branch information
silverwind authored Apr 29, 2024
1 parent e80466f commit a21ca9b
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 1,116 deletions.
4 changes: 0 additions & 4 deletions web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -680,10 +680,6 @@ input:-webkit-autofill:active,
box-shadow: 0 6px 18px var(--color-shadow) !important;
}

.ui.dimmer {
background: var(--color-overlay-backdrop);
}

.ui.dropdown .menu > .header {
font-size: 0.8em;
}
Expand Down
1 change: 1 addition & 0 deletions web_src/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@import "./modules/table.css";
@import "./modules/card.css";
@import "./modules/checkbox.css";
@import "./modules/dimmer.css";
@import "./modules/modal.css";

@import "./modules/select.css";
Expand Down
30 changes: 30 additions & 0 deletions web_src/css/modules/dimmer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* These are the remnants of the fomantic dimmer module */

.ui.dimmer {
position: fixed;
display: none;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--color-overlay-backdrop);
opacity: 0;
z-index: 1000;
overflow-y: auto;
justify-content: center;
padding: 8px 0;
animation-name: fadein;
animation-duration: .2s;
user-select: none;
}

.ui.active.dimmer {
display: flex;
opacity: 1;
}

.ui.dimmer > * {
position: static;
margin-top: auto !important;
margin-bottom: auto !important;
}
Loading

0 comments on commit a21ca9b

Please sign in to comment.