Pārlūkot izejas kodu

Modify crontab style (#1274)

* Checkbox change background color and env to Chinese

* Remove space before and after login user name

* Modify crontab style
break60 5 gadi atpakaļ
vecāks
revīzija
8c21de8d32

+ 6 - 1
dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue

@@ -516,6 +516,11 @@
 
 <style lang="scss" rel="stylesheet/scss">
   .day-model {
-
+    .ans-radio-group-vertical {
+      .ans-radio-wrapper {
+        margin: 5px 0;
+        display: inline-block
+      }
+    }
   }
 </style>

+ 8 - 0
dolphinscheduler-ui/src/js/module/components/crontab/source/_times/hour.vue

@@ -252,4 +252,12 @@
 </script>
 
 <style lang="scss" rel="stylesheet/scss">
+  .hour-model {
+    .ans-radio-group-vertical {
+      .ans-radio-wrapper {
+        margin: 5px 0;
+        display: inline-block
+      }
+    }
+  }
 </style>

+ 6 - 3
dolphinscheduler-ui/src/js/module/components/crontab/source/_times/minute.vue

@@ -254,8 +254,11 @@
 
 <style lang="scss" rel="stylesheet/scss">
   .minute-model {
-
+    .ans-radio-group-vertical {
+      .ans-radio-wrapper {
+        margin: 5px 0;
+        display: inline-block
+      }
+    }
   }
-
-
 </style>

+ 6 - 3
dolphinscheduler-ui/src/js/module/components/crontab/source/_times/month.vue

@@ -253,8 +253,11 @@
 
 <style lang="scss" rel="stylesheet/scss">
   .month-model {
-
+    .ans-radio-group-vertical {
+      .ans-radio-wrapper {
+        margin: 5px 0;
+        display: inline-block
+      }
+    }
   }
-
-
 </style>

+ 6 - 3
dolphinscheduler-ui/src/js/module/components/crontab/source/_times/second.vue

@@ -261,8 +261,11 @@
 
 <style lang="scss" rel="stylesheet/scss">
   .second-model {
-
+    .ans-radio-group-vertical {
+      .ans-radio-wrapper {
+        margin: 5px 0;
+        display: inline-block
+      }
+    }
   }
-
-
 </style>

+ 6 - 3
dolphinscheduler-ui/src/js/module/components/crontab/source/_times/year.vue

@@ -252,8 +252,11 @@
 
 <style lang="scss" rel="stylesheet/scss">
   .year-model {
-
+    .ans-radio-group-vertical {
+      .ans-radio-wrapper {
+        margin: 5px 0;
+        display: inline-block
+      }
+    }
   }
-
-
 </style>

+ 10 - 0
dolphinscheduler-ui/src/sass/common/_table.scss

@@ -22,6 +22,16 @@
       background-color: #ccc;
     }
   }
+  .ans-checkbox {
+    .ans-checkbox-inner {
+      border: 1px solid #ccc;
+    }
+  }
+  .ans-checkbox-checked {
+    .ans-checkbox-inner {
+      border: 1px solid #1489e2;
+    }
+  }
   .ellipsis {
     overflow: hidden;
     text-overflow: ellipsis;