Browse Source

表格样式优化

jqh 5 years ago
parent
commit
b72298fa46

+ 16 - 3
resources/assets/dcat/sass/components/_table.scss

@@ -178,16 +178,29 @@ table.table-bordered.dataTable.complex-headers {
 $table-border-color: #eff3f8;
 
 .table-collapse {
-  table.custom-data-table.dataTable tbody tr td:first-child {
+  .custom-data-table.dataTable tbody tr td:first-child {
     border-top-left-radius: 0;
     border-bottom-left-radius: 0;
   }
-
-  table.custom-data-table.dataTable tbody tr td:last-child{
+  .custom-data-table.dataTable tbody tr td:last-child{
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
   }
 
+  .custom-data-table.dataTable tbody tr:first-child td:first-child {
+    border-top-left-radius: $card-border-radius;
+  }
+  .custom-data-table.dataTable tbody tr:first-child td:last-child{
+    border-top-right-radius: $card-border-radius;
+  }
+
+  .custom-data-table.dataTable tbody tr:last-child td:first-child {
+    border-bottom-left-radius: $card-border-radius;
+  }
+  .custom-data-table.dataTable tbody tr:last-child td:last-child{
+    border-bottom-right-radius: $card-border-radius;
+  }
+
   .table.custom-data-table {
     padding: 5px 10px 10px;
   }

File diff suppressed because it is too large
+ 0 - 0
resources/dist/adminlte/adminlte.js.map


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/css/dcat-app-blue-dark.css


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/css/dcat-app-blue-light.css


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/css/dcat-app-blue.css


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/css/dcat-app-green.css


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/css/dcat-app.css


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/extra/action.js.map


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/extra/resource-selector.js.map


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/js/dcat-app.js.map


Some files were not shown because too many files changed in this diff