Forráskód Böngészése

[ui-core] fix cuix upgrade css issues (#4100)

Ram Prasad Agarwal 7 hónapja
szülő
commit
5fdca09f80

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


+ 26 - 0
desktop/core/src/desktop/static/desktop/less/reset-globals.less

@@ -93,3 +93,29 @@ svg:not(.leaflet-zoom-animated) {
   width: unset;
   height: unset;
 }
+
+// Class-based reset for Bootstrap conflicts
+.label,
+.btn,
+.form-control,
+.form-group,
+.input-group,
+.input-group-addon,
+.custom-select,
+.form-check,
+.form-check-input,
+.form-check-label,
+.was-validated {
+  all: unset;
+  all: revert; /* if supported */
+  box-sizing: border-box;
+  font-family: inherit;
+  font-size: inherit;
+  font-weight: inherit;
+  color: inherit;
+  background: none;
+  border: none;
+  padding: 0;
+  margin: 0;
+  display: revert;
+}

+ 20 - 0
desktop/core/src/desktop/static/desktop/less/root-wrapped-antd.less

@@ -38,3 +38,23 @@ body.ant-scrolling-effect {
 @import url('antd/es/tooltip/style/index.less');
 @import url('antd/es/spin/style/index.less');
 @import url('antd/es/tabs/style/index.less');
+
+// Fix to align icons in buttons with text
+.ant-btn.iconLeft {
+  &:not(.ant-dropdown-trigger) {
+    > span {
+      display: flex;
+    }
+  }
+}
+
+// Fix to align modal buttons with margin-left when buttons are disabled
+.ant-modal-footer {
+  .ant-row {
+    .ant-col {
+      .ant-btn-default {
+        margin-left: 8px;
+      }
+    }
+  }
+}

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott