浏览代码

style: 添加网站,DNS设置,套餐设置页面部分样式修改

zhaonan 1 周之前
父节点
当前提交
b9a86bcd4c
共有 2 个文件被更改,包括 17 次插入3 次删除
  1. 14 3
      src/assets/table.css
  2. 3 0
      src/components/ui/TLabel.vue

+ 14 - 3
src/assets/table.css

@@ -300,8 +300,10 @@
     border-left: 1px solid var(--p-content-border-color);
 }
 
+/* style test */
 .ui.definition.table > tr > td:nth-child(2), .ui.definition.table > tbody > tr > td:nth-child(2) {
     border-left: 1px solid var(--p-content-border-color);
+    padding-left: 30px;
 }
 
 
@@ -1071,8 +1073,17 @@
     display: none !important;
 }
 
-
+/* 表格宽度 style test */
 table.definition > tbody > tr > td:first-child, table.definition > tr > td:first-child {
-    width: 10em;
-    min-width: 10em;
+    width: 150px;
+    min-width: 150px;
+    height: 50px;
+    min-height: 50px;
+    text-align: center;
 }
+
+/* 主题色暂用 style test */
+html {
+    --p-button-secondary-background: #E5E8F2 !important;
+    --p-primary-color: #1E65FF !important;
+}

+ 3 - 0
src/components/ui/TLabel.vue

@@ -24,6 +24,9 @@ const props = defineProps({
 	border: 1px var(--p-gray-300) solid;
 	padding: calc(var(--p-chip-padding-y) - 1px) calc(var(--p-chip-padding-x) - 1px);
 	background: white;
+	/* style test */
+	background: #F5F8FF;
+    color: #657080;
 	@apply dark:bg-black;
 }