summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Zakharov <m.zakharov@IBS.RU>2022-10-13 16:55:20 +0300
committerMaksim Zakharov <m.zakharov@IBS.RU>2022-10-13 16:55:20 +0300
commit93233aabd9abc4241100574d229055993f40ce0e (patch)
treefa2c9d51794c7965f62cfc4217f3c9340736e155
parent815d978d3c8d13ba04f3da08af697206a3a1a5ba (diff)
downloadwebui-vue-93233aabd9abc4241100574d229055993f40ce0e.tar.xz
fix form file
-rw-r--r--src/assets/styles/bmc/_sila/_modal.scss10
-rw-r--r--src/components/_sila/Global/FormFile.vue4
2 files changed, 11 insertions, 3 deletions
diff --git a/src/assets/styles/bmc/_sila/_modal.scss b/src/assets/styles/bmc/_sila/_modal.scss
index 53895aa4..b3d48d7d 100644
--- a/src/assets/styles/bmc/_sila/_modal.scss
+++ b/src/assets/styles/bmc/_sila/_modal.scss
@@ -17,7 +17,11 @@
padding: 0 1.4rem 0 0;
margin-top: -2rem;
font-weight: normal;
- color: theme-color("dark");
+ @include themify($themes) {
+ color: themed('text-primary');
+ text-shadow: themed('surface-primary') !important;
+ text-shadow: none;
+ }
opacity: 1;
&:hover {
background-color: none;
@@ -51,7 +55,9 @@
.custom-file-input ~ .custom-file-label {
background-color: transparent;
- border: 1px dashed $text-tretiatry;
+ @include themify($themes) {
+ border: 1px dashed themed('text-tretiatry');
+ }
box-sizing: border-box;
border-radius: $border-radius;
height: 100%;
diff --git a/src/components/_sila/Global/FormFile.vue b/src/components/_sila/Global/FormFile.vue
index 4d79e987..8ccdd6fb 100644
--- a/src/components/_sila/Global/FormFile.vue
+++ b/src/components/_sila/Global/FormFile.vue
@@ -143,7 +143,9 @@ export default {
.file-input_container {
width: 100%;
height: 46vh;
- background-color: $surface-secondary;
+ @include themify($themes) {
+ background-color: themed('surface-primary');
+ }
border-radius: 0 0 16px 16px;
}