Refactor PluginsLoader into separate components

This commit is contained in:
2022-03-02 22:19:26 -05:00
parent f6d02c6d33
commit de445627bf
8 changed files with 297 additions and 257 deletions

View File

@@ -0,0 +1,3 @@
.no-top-margin {
margin-top: 0;
}

View File

@@ -1,7 +1,3 @@
.no-top-margin {
margin-top: 0;
}
.plugin-list {
list-style-type: none;
padding: 0;
@@ -22,7 +18,7 @@
}
/* From: https://stackoverflow.com/a/28074607/6620612 */
.processing:after {
.loading:after {
overflow: hidden;
display: inline-block;
vertical-align: bottom;
@@ -43,35 +39,3 @@
width: 1.25em;
}
}
.plugins-txt-dialog {
top: 12px;
z-index: 4;
background-color: #fbefd5;
box-shadow: 0 0 1em black;
max-width: 400px;
}
.plugins-txt-dialog h3 {
margin-top: 0px;
}
.plugins-txt-dialog textarea {
width: 100%;
min-height: 100px;
resize: vertical;
}
.plugins-txt-dialog menu {
padding: 0;
display: flex;
justify-content: space-between;
}
.drop-area {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}

View File

@@ -0,0 +1,31 @@
.dialog {
top: 12px;
z-index: 4;
background-color: #fbefd5;
box-shadow: 0 0 1em black;
max-width: 400px;
}
.dialog h3 {
margin-top: 0px;
}
.dialog textarea {
width: 100%;
min-height: 100px;
resize: vertical;
}
.dialog menu {
padding: 0;
display: flex;
justify-content: space-between;
}
.drop-area {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}