Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: upgrade to tailwind v4 (#17982)

p0nyb22ffdbb9158
diff --git a/frontend/index.html b/frontend/index.html
index 49cf4745cd..b572f3ead8 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -11,7 +11,7 @@
<meta name="color-scheme" content="light only" />
</head>
- <body class="text-base !bg-white">
+ <body class="text-base bg-white!">
<div
id="capture-container"
class="absolute -z-50 overflow-visible"
diff --git a/frontend/package.json b/frontend/package.json
index b7a3a1c395..12ffe9193f 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -89,6 +89,7 @@
"@rollup/plugin-yaml": "4.1.2",
"@tailwindcss/forms": "0.5.10",
"@tailwindcss/typography": "0.5.19",
+ "@tailwindcss/vite": "^4.1.16",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@tsconfig/node22": "22.0.2",
"@types/crypto-js": "^4.2.2",
@@ -136,7 +137,7 @@
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"rollup": "4.52.5",
- "tailwindcss": "3.4.18",
+ "tailwindcss": "4.1.16",
"ts-node": "^10.9.2",
"typescript": "5.9.3",
"unified": "^11.0.5",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 33b090e6f4..47aa42c288 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -211,19 +211,22 @@ importers:
version: 2.2.403
'@intlify/eslint-plugin-vue-i18n':
specifier: ^4.0.0
'@intlify/unplugin-vue-i18n':
specifier: 11.0.1
'@rollup/plugin-yaml':
specifier: 4.1.2
version: 4.1.2([email protected])
'@tailwindcss/forms':
specifier: 0.5.10
+ version: 0.5.10([email protected])
'@tailwindcss/typography':
specifier: 0.5.19
+ version: 0.5.19([email protected])
+ '@tailwindcss/vite':
+ specifier: ^4.1.16
'@trivago/prettier-plugin-sort-imports':
specifier: ^5.2.2
version: 5.2.2(@vue/[email protected])([email protected])
@@ -292,22 +295,22 @@ importers:
version: 11.0.0
'@vitejs/plugin-legacy':
specifier: ~7.2.1
'@vitejs/plugin-vue':
specifier: 6.0.1
'@vitejs/plugin-vue-jsx':
specifier: 5.1.1
'@vue/compiler-sfc':
specifier: 3.5.22
version: 3.5.22
'@vue/eslint-config-prettier':
specifier: 10.2.0
'@vue/eslint-config-typescript':
specifier: ^14.5.0
'@vue/test-utils':
specifier: 2.4.6
version: 2.4.6
@@ -325,16 +328,16 @@ importers:
version: 17.2.3
eslint:
specifier: 9.39.1
- version: 9.39.1([email protected])
+ version: 9.39.1([email protected])
eslint-config-prettier:
specifier: ^10.1.5
eslint-plugin-prettier:
specifier: ^5.5.3
eslint-plugin-vue:
specifier: 10.5.1
events:
specifier: ^3.3.0
version: 3.3.0
@@ -366,8 +369,8 @@ importers:
specifier: 4.52.5
version: 4.52.5
tailwindcss:
- specifier: 3.4.18
+ specifier: 4.1.16
+ version: 4.1.16
ts-node:
specifier: ^10.9.2
version: 10.9.2(@types/[email protected])([email protected])
@@ -385,13 +388,13 @@ importers:
vite:
specifier: 7.1.12
vite-bundle-visualizer:
specifier: ^1.2.1
version: 1.2.1([email protected])
vitest:
specifier: 4.0.6
vscode-oniguruma:
specifier: ^2.0.1
version: 2.0.1
@@ -419,10 +422,6 @@ packages:
'@acemir/[email protected]':
resolution: {integrity: sha512-Pp2gAQXPZ2o7lt4j0IMwNRXqQ3pagxtDj5wctL5U2Lz4oV0ocDNlkgx4DpxfyKav4S/bePuI+SMqcBSUHLy9kg==}
- '@alloc/[email protected]':
- resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
- engines: {node: '>=10'}
-
resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==}
@@ -2156,11 +2155,101 @@ packages:
peerDependencies:
tailwindcss: '>=3.0.0 || >= 3.0.0-alpha.1 || >= 4.0.0-alpha.20 || >= 4.0.0-beta.1'
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-BX5iaSsloNuvKNHRN3k2RcCuTEgASTo77mofW0vmeHkfrDWaoFAFvNHpEgtu0eqyypcyiBkDWzSMxJhp3AUVcw==}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-8+ctzkjHgwDJ5caq9IqRSgsP70xhdhJvm+oueS/yhD5ixLhqTw9fSL1OurzMUhBwE5zK26FXLCz2f/RtkISqHA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [android]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-C3oZy5042v2FOALBZtY0JTDnGNdS6w7DxL/odvSny17ORUnaRKhyTse8xYi3yKGyfnTUOdavRCdmc8QqJYwFKA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-vjrl/1Ub9+JwU6BP0emgipGjowzYZMjbWCDqwA2Z4vCa+HBSpP4v6U2ddejcHsolsYxwL5r4bPNoamlV0xDdLg==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-TSMpPYpQLm+aR1wW5rKuUuEruc/oOX3C7H0BTnPDn7W/eMw8W+MRMpiypKMkXZfwH8wqPIRKppuZoedTtNj2tg==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-p0GGfRg/w0sdsFKBjMYvvKIiKy/LNWLWgV/plR4lUgrsxFAoQBFrXkZ4C0w8IOXfslB9vHK/JGASWD2IefIpvw==}
+ engines: {node: '>= 10'}
+ cpu: [arm]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-DoixyMmTNO19rwRPdqviTrG1rYzpxgyYJl8RgQvdAQUzxC1ToLRqtNJpU/ATURSKgIg6uerPw2feW0aS8SNr/w==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-H81UXMa9hJhWhaAUca6bU2wm5RRFpuHImrwXBUvPbYb+3jo32I9VIwpOX6hms0fPmA6f2pGVlybO6qU8pF4fzQ==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-ZGHQxDtFC2/ruo7t99Qo2TTIvOERULPl5l0K1g0oK6b5PGqjYMga+FcY1wIUnrUxY56h28FxybtDEla+ICOyew==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-Oi1tAaa0rcKf1Og9MzKeINZzMLPbhxvm7rno5/zuP1WYmpiG0bEHq4AcRUiG2165/WUzvxkW4XDYCscZWbTLZw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-B01u/b8LteGRwucIBmCQ07FVXLzImWESAIMcUU6nvFt/tYsQ6IHz8DmZ5KtvmwxD+iTYBtM1xwoGXswnlu9v0Q==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+ bundledDependencies:
+ - '@napi-rs/wasm-runtime'
+ - '@emnapi/core'
+ - '@emnapi/runtime'
+ - '@tybys/wasm-util'
+ - '@emnapi/wasi-threads'
+ - tslib
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-zX+Q8sSkGj6HKRTMJXuPvOcP8XfYON24zJBRPlszcH1Np7xuHXhWn8qfFjIujVzvH3BHU+16jBXwgpl20i+v9A==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-m5dDFJUEejbFqP+UXVstd4W/wnxA4F61q8SoL+mqTypId2T2ZpuxosNSgowiCnLp2+Z+rivdU0AqpfgiD7yCBg==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-2OSv52FRuhdlgyOQqgtQHuCgXnS8nFSYRp2tJ+4WZXKgTxqPy7SMSls8c3mPT5pkZ17SBToGM5LHEJBO7miEdg==}
+ engines: {node: '>= 10'}
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-w31dd8HOx3k9vPtcQh5QHP9GwKcgbMp87j58qi6xgiBnFFtKEAgCWnDw4qUT8aHwkCp8bKvb/KGKWWHedP0AAg==}
peerDependencies:
tailwindcss: '>=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1'
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-bbguNBcDxsRmi9nnlWJxhfDWamY3lmcyACHcdO1crxfzuLpOhHLLtEIN/nCbbAtj5rchUgQD17QVAKi1f7IsKg==}
+ peerDependencies:
+ vite: ^5.2.0 || ^6 || ^7
+
'@tanstack/[email protected]':
resolution: {integrity: sha512-ldZXEhOBb8Is7xLs01fR3YEc3DERiz5silj8tnGkFZytt1abEvl/GhUmCE0PMLaMPTa3Jk4HbKmRlHmu+gCftg==}
engines: {node: '>=12'}
@@ -2656,9 +2745,6 @@ packages:
resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}
-
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
engines: {node: '>= 8'}
@@ -2666,9 +2752,6 @@ packages:
resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==}
- resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}
-
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
@@ -2778,10 +2861,6 @@ packages:
resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==}
engines: {node: '>=6'}
@@ -2842,10 +2921,6 @@ packages:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
- resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==}
engines: {node: '>= 10'}
@@ -3102,12 +3177,13 @@ packages:
resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}
- resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}
-
resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==}
engines: {node: '>=0.3.1'}
@@ -3118,9 +3194,6 @@ packages:
resolution: {integrity: sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==}
- resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}
-
resolution: {integrity: sha512-WhL/YuveyGXJaerVlMYGWhvQswa7myDG17P7Vu65EWC05o8vfeNbvNf4d/BOvH99+ZW+LlQsc1GDKMa1vNK6dw==}
@@ -3177,6 +3250,10 @@ packages:
resolution: {integrity: sha512-Brl10T8kYnc75IepKizW6Y9liyW8ikz1B7n/xoHrJxoVSSjoqPn30sb7XVFfQERK4QfUMYRGs9dhWwtt2eu6uA==}
+ resolution: {integrity: sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==}
+ engines: {node: '>=10.13.0'}
+
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
engines: {node: '>=0.12'}
@@ -3463,6 +3540,9 @@ packages:
resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
+
resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}
@@ -3622,8 +3702,8 @@ packages:
resolution: {integrity: sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw==}
- resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==}
+ resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}
hasBin: true
@@ -3768,12 +3848,75 @@ packages:
resolution: {integrity: sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==}
- resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}
- engines: {node: '>=14'}
+ resolution: {integrity: sha512-BH9sEdOCahSgmkVhBLeU7Hc9DWeZ1Eb6wNS6Da8igvUwAe0sqROHddIlvU06q3WyXVEOYDZ6ykBZQnjTbmo4+A==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [android]
+
+ resolution: {integrity: sha512-ylTcDJBN3Hp21TdhRT5zBOIi73P6/W0qwvlFEk22fkdXchtNTOU4Qc37SkzV+EKYxLouZ6M4LG9NfZ1qkhhBWA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-oBZgKchomuDYxr7ilwLcyms6BCyLn0z8J0+ZZmfpjwg9fRVZIR5/GMXd7r9RH94iDhld3UmSjBM6nXWM2TfZTQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [darwin]
- resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
+ resolution: {integrity: sha512-c2bH6xTrf4BDpK8MoGG4Bd6zAMZDAXS569UxCAGcA7IKbHNMlhGQ89eRmvpIUGfKWNVdbhSbkQaWhEoMGmGslA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [freebsd]
+
+ resolution: {integrity: sha512-eVdpxh4wYcm0PofJIZVuYuLiqBIakQ9uFZmipf6LF/HRj5Bgm0eb3qL/mr1smyXIS1twwOxNWndd8z0E374hiA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm]
+ os: [linux]
+
+ resolution: {integrity: sha512-UK65WJAbwIJbiBFXpxrbTNArtfuznvxAJw4Q2ZGlU8kPeDIWEX1dg3rn2veBVUylA2Ezg89ktszWbaQnxD/e3A==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-5Vh9dGeblpTxWHpOx8iauV02popZDsCYMPIgiuw97OJ5uaDsL86cnqSFs5LZkG3ghHoX5isLgWzMs+eD1YzrnA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-Cfd46gdmj1vQ+lR6VRTTadNHu6ALuw2pKR9lYq4FnhvgBc4zWY1EtZcAc6EffShbb1MFrIPfLDXD6Xprbnni4w==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-XJaLUUFXb6/QG2lGIW6aIk6jKdtjtcffUT0NKvIqhSBY3hh9Ch+1LCeH80dR9q9LBjG3ewbDjnumefsLsP6aiA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-FZn+vaj7zLv//D/192WFFVA0RgHawIcHqLX9xuWiQt7P0PtdFEVaxgF9rjM/IRYHQXNnk61/H/gb2Ei+kUQ4xQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution: {integrity: sha512-5g1yc73p+iAkid5phb4oVFMB45417DkRevRbt/El/gKXJk4jid+vPFF/AXbxn05Aky8PapwzZrdJShv5C0avjw==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [win32]
+
+ resolution: {integrity: sha512-utfs7Pr5uJyyvDETitgsaqSyjCb2qNRAtuqUeWIAKztsOYdcACf2KtARYXg2pSvhkt+9NfoaNY7fxjl6nuMjIQ==}
+ engines: {node: '>= 12.0.0'}
resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==}
@@ -4028,9 +4171,6 @@ packages:
resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==}
- resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
-
resolution: {integrity: sha512-w52W0mOhdOGt4uucFSZmP0DI44PCsFyuxeLSs9aoUThfIuxms90MYjv46Qrr7xprjyJRw5RU6vYpCx4o9ind3A==}
peerDependencies:
@@ -4090,14 +4230,6 @@ packages:
resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
- resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
- engines: {node: '>=0.10.0'}
-
- resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
engines: {node: '>= 0.4'}
@@ -4187,10 +4319,6 @@ packages:
resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-ttXO/InUULUXkMHpTdp9Fj4hLpD/2AoJdmAbAeW2yu1iy1k+pkFekQXw5VpC0/5p51IOR/jDaDRfRWRnMMsGOA==}
peerDependencies:
@@ -4200,10 +4328,6 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==}
@@ -4218,36 +4342,6 @@ packages:
resolution: {integrity: sha512-yuGIEjDAYnnOex9ddMnKZEMFE0CcGo6zbfzDklkmT1m5z734ss6JMzN9rNB3+RR7iS+F10D4/BVIaXOyh8PQKw==}
engines: {node: '>= 10.12'}
- resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- postcss: ^8.0.0
-
- resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==}
- engines: {node: ^12 || ^14 || >= 16}
- peerDependencies:
- postcss: ^8.4.21
-
- resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==}
- engines: {node: '>= 14'}
- peerDependencies:
- postcss: '>=8.0.9'
- ts-node: '>=9.0.0'
- peerDependenciesMeta:
- postcss:
- optional: true
- ts-node:
- optional: true
-
- resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==}
- engines: {node: '>=12.0'}
- peerDependencies:
- postcss: ^8.2.14
-
resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==}
engines: {node: '>=4'}
@@ -4357,9 +4451,6 @@ packages:
resolution: {integrity: sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==}
engines: {node: '>=0.12'}
- resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}
-
resolution: {integrity: sha512-azrivNydKRYt7zwLV5wWUK7YzKTWs3q87xSmY6DlHapPrCvaT6ZrukvM5erV+yCSSPmZT8zkSdttOHQpWWm9zw==}
@@ -4630,11 +4721,6 @@ packages:
resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==}
- engines: {node: '>=16 || 14 >=14.17'}
- hasBin: true
-
resolution: {integrity: sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q==}
engines: {node: '>=16'}
@@ -4664,23 +4750,18 @@ packages:
resolution: {integrity: sha512-gBXpgUm/3rp1lMZZrM/w7D8GKqshif0zAymAhbCyIt8KMe+0v9DQ7cdYLR4FHH/cKpdTXb+A/tKKU3eolfsI+g==}
- resolution: {integrity: sha512-6A2rnmW5xZMdw11LYjhcI5846rt9pbLSabY5XPxo+XWdxwZaFEn47Go4NzFiHu9sNNmr/kXivP1vStfvMaK1GQ==}
- engines: {node: '>=14.0.0'}
- hasBin: true
+ resolution: {integrity: sha512-pONL5awpaQX4LN5eiv7moSiSPd/DLDzKVRJz8Q9PgzmAdd1R4307GQS2ZpfiN7ZmekdQrfhZZiSE5jkLR4WNaA==}
+
+ resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==}
+ engines: {node: '>=6'}
resolution: {integrity: sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==}
engines: {node: '>=10'}
hasBin: true
- resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
- engines: {node: '>=0.8'}
-
- resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}
-
resolution: {integrity: sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==}
@@ -4753,9 +4834,6 @@ packages:
peerDependencies:
typescript: '>=4.8.4'
- resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
-
resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}
hasBin: true
@@ -5225,8 +5303,6 @@ snapshots:
'@acemir/[email protected]': {}
- '@alloc/[email protected]': {}
-
dependencies:
package-manager-detector: 1.3.0
@@ -7337,9 +7413,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
dependencies:
- eslint: 9.39.1([email protected])
+ eslint: 9.39.1([email protected])
eslint-visitor-keys: 3.4.3
'@eslint-community/[email protected]': {}
@@ -7450,14 +7526,14 @@ snapshots:
'@intlify/message-compiler': 11.1.12
'@intlify/shared': 11.1.12
dependencies:
'@eslint/eslintrc': 3.3.1
'@intlify/core-base': 11.1.12
'@intlify/message-compiler': 11.1.12
debug: 4.4.3
- eslint: 9.39.1([email protected])
- eslint-compat-utils: 0.6.5([email protected]([email protected]))
+ eslint: 9.39.1([email protected])
+ eslint-compat-utils: 0.6.5([email protected]([email protected]))
glob: 10.4.5
globals: 16.4.0
ignore: 7.0.5
@@ -7470,7 +7546,7 @@ snapshots:
parse5: 7.3.0
semver: 7.7.3
synckit: 0.10.4
- vue-eslint-parser: 10.2.0([email protected]([email protected]))
+ vue-eslint-parser: 10.2.0([email protected]([email protected]))
yaml-eslint-parser: 1.3.0
transitivePeerDependencies:
- supports-color
@@ -7482,9 +7558,9 @@ snapshots:
'@intlify/[email protected]': {}
dependencies:
- '@eslint-community/eslint-utils': 4.9.0([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.9.0([email protected]([email protected]))
'@intlify/bundle-utils': 11.0.1([email protected]([email protected]([email protected])))
'@intlify/shared': 11.1.12
@@ -7673,15 +7749,83 @@ snapshots:
'@standard-schema/[email protected]': {}
dependencies:
mini-svg-data-uri: 1.4.4
+ tailwindcss: 4.1.16
+
+ '@tailwindcss/[email protected]':
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ enhanced-resolve: 5.18.3
+ jiti: 2.6.1
+ lightningcss: 1.30.2
+ magic-string: 0.30.19
+ source-map-js: 1.2.1
+ tailwindcss: 4.1.16
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+ '@tailwindcss/[email protected]':
+ optionalDependencies:
+ '@tailwindcss/oxide-android-arm64': 4.1.16
+ '@tailwindcss/oxide-darwin-arm64': 4.1.16
+ '@tailwindcss/oxide-darwin-x64': 4.1.16
+ '@tailwindcss/oxide-freebsd-x64': 4.1.16
+ '@tailwindcss/oxide-linux-arm-gnueabihf': 4.1.16
+ '@tailwindcss/oxide-linux-arm64-gnu': 4.1.16
+ '@tailwindcss/oxide-linux-arm64-musl': 4.1.16
+ '@tailwindcss/oxide-linux-x64-gnu': 4.1.16
+ '@tailwindcss/oxide-linux-x64-musl': 4.1.16
+ '@tailwindcss/oxide-wasm32-wasi': 4.1.16
+ '@tailwindcss/oxide-win32-arm64-msvc': 4.1.16
+ '@tailwindcss/oxide-win32-x64-msvc': 4.1.16
+
dependencies:
postcss-selector-parser: 6.0.10
+ tailwindcss: 4.1.16
+
+ dependencies:
+ '@tailwindcss/node': 4.1.16
+ '@tailwindcss/oxide': 4.1.16
+ tailwindcss: 4.1.16
'@tanstack/[email protected]': {}
@@ -7915,15 +8059,15 @@ snapshots:
'@types/[email protected]': {}
dependencies:
'@eslint-community/regexpp': 4.12.1
- '@typescript-eslint/parser': 8.45.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.45.0([email protected]([email protected]))([email protected])
'@typescript-eslint/scope-manager': 8.45.0
- '@typescript-eslint/type-utils': 8.45.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/utils': 8.45.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/type-utils': 8.45.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.45.0([email protected]([email protected]))([email protected])
'@typescript-eslint/visitor-keys': 8.45.0
- eslint: 9.39.1([email protected])
+ eslint: 9.39.1([email protected])
graphemer: 1.4.0
ignore: 7.0.5
natural-compare: 1.4.0
@@ -7932,14 +8076,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@typescript-eslint/scope-manager': 8.45.0
'@typescript-eslint/types': 8.45.0
'@typescript-eslint/typescript-estree': 8.45.0([email protected])
'@typescript-eslint/visitor-keys': 8.45.0
debug: 4.4.3
- eslint: 9.39.1([email protected])
+ eslint: 9.39.1([email protected])
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -7962,13 +8106,13 @@ snapshots:
dependencies:
typescript: 5.9.3
dependencies:
'@typescript-eslint/types': 8.45.0
'@typescript-eslint/typescript-estree': 8.45.0([email protected])
- '@typescript-eslint/utils': 8.45.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.45.0([email protected]([email protected]))([email protected])
debug: 4.4.3
- eslint: 9.39.1([email protected])
+ eslint: 9.39.1([email protected])
ts-api-utils: 2.1.0([email protected])
typescript: 5.9.3
transitivePeerDependencies:
@@ -7992,13 +8136,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/eslint-utils': 4.9.0([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.9.0([email protected]([email protected]))
'@typescript-eslint/scope-manager': 8.45.0
'@typescript-eslint/types': 8.45.0
'@typescript-eslint/typescript-estree': 8.45.0([email protected])
- eslint: 9.39.1([email protected])
+ eslint: 9.39.1([email protected])
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -8008,7 +8152,7 @@ snapshots:
'@typescript-eslint/types': 8.45.0
eslint-visitor-keys: 4.2.1
dependencies:
'@babel/core': 7.28.4
'@babel/plugin-transform-dynamic-import': 7.27.1(@babel/[email protected])
@@ -8023,26 +8167,26 @@ snapshots:
regenerator-runtime: 0.14.1
systemjs: 6.15.1
terser: 5.39.0
transitivePeerDependencies:
- supports-color
dependencies:
'@babel/core': 7.28.4
'@babel/plugin-syntax-typescript': 7.27.1(@babel/[email protected])
'@babel/plugin-transform-typescript': 7.28.0(@babel/[email protected])
'@rolldown/pluginutils': 1.0.0-beta.41
'@vue/babel-plugin-jsx': 1.5.0(@babel/[email protected])
vue: 3.5.22([email protected])
transitivePeerDependencies:
- supports-color
dependencies:
'@rolldown/pluginutils': 1.0.0-beta.29
vue: 3.5.22([email protected])
'@vitest/[email protected]':
@@ -8054,13 +8198,13 @@ snapshots:
chai: 6.2.0
tinyrainbow: 3.0.3
dependencies:
'@vitest/spy': 4.0.6
estree-walker: 3.0.3
magic-string: 0.30.19
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -8177,23 +8321,23 @@ snapshots:
dependencies:
rfdc: 1.4.1
dependencies:
- eslint: 9.39.1([email protected])
- eslint-config-prettier: 10.1.8([email protected]([email protected]))
+ eslint: 9.39.1([email protected])
+ eslint-config-prettier: 10.1.8([email protected]([email protected]))
prettier: 3.6.2
transitivePeerDependencies:
- '@types/eslint'
dependencies:
- '@typescript-eslint/utils': 8.45.0([email protected]([email protected]))([email protected])
- eslint: 9.39.1([email protected])
+ '@typescript-eslint/utils': 8.45.0([email protected]([email protected]))([email protected])
+ eslint: 9.39.1([email protected])
fast-glob: 3.3.3
- vue-eslint-parser: 10.2.0([email protected]([email protected]))
+ vue-eslint-parser: 10.2.0([email protected]([email protected]))
optionalDependencies:
typescript: 5.9.3
transitivePeerDependencies:
@@ -8316,8 +8460,6 @@ snapshots:
-
dependencies:
normalize-path: 3.0.0
@@ -8325,8 +8467,6 @@ snapshots:
-
@@ -8441,8 +8581,6 @@ snapshots:
-
@@ -8517,8 +8655,6 @@ snapshots:
-
@@ -8782,20 +8918,18 @@ snapshots:
+
dependencies:
dequal: 2.0.3
-
-
optionalDependencies:
'@types/trusted-types': 2.0.7
@@ -8848,6 +8982,11 @@ snapshots:
dependencies:
write-stream: 0.4.3
+ dependencies:
+ graceful-fs: 4.2.11
+ tapable: 2.3.0
+
@@ -8908,36 +9047,36 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
dependencies:
- eslint: 9.39.1([email protected])
+ eslint: 9.39.1([email protected])
semver: 7.7.3
dependencies:
- eslint: 9.39.1([email protected])
+ eslint: 9.39.1([email protected])
dependencies:
- eslint: 9.39.1([email protected])
+ eslint: 9.39.1([email protected])
prettier: 3.6.2
prettier-linter-helpers: 1.0.0
synckit: 0.11.11
optionalDependencies:
- eslint-config-prettier: 10.1.8([email protected]([email protected]))
+ eslint-config-prettier: 10.1.8([email protected]([email protected]))
dependencies:
- '@eslint-community/eslint-utils': 4.9.0([email protected]([email protected]))
- eslint: 9.39.1([email protected])
+ '@eslint-community/eslint-utils': 4.9.0([email protected]([email protected]))
+ eslint: 9.39.1([email protected])
natural-compare: 1.4.0
nth-check: 2.1.1
postcss-selector-parser: 6.1.2
semver: 7.7.3
- vue-eslint-parser: 10.2.0([email protected]([email protected]))
+ vue-eslint-parser: 10.2.0([email protected]([email protected]))
xml-name-validator: 4.0.0
optionalDependencies:
- '@typescript-eslint/parser': 8.45.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.45.0([email protected]([email protected]))([email protected])
dependencies:
@@ -8948,9 +9087,9 @@ snapshots:
dependencies:
- '@eslint-community/eslint-utils': 4.9.0([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.9.0([email protected]([email protected]))
'@eslint-community/regexpp': 4.12.1
'@eslint/config-array': 0.21.1
'@eslint/config-helpers': 0.4.2
@@ -8985,7 +9124,7 @@ snapshots:
natural-compare: 1.4.0
optionator: 0.9.4
optionalDependencies:
- jiti: 1.21.7
+ jiti: 2.6.1
transitivePeerDependencies:
- supports-color
@@ -9152,6 +9291,8 @@ snapshots:
+
@@ -9278,7 +9419,7 @@ snapshots:
@@ -9442,9 +9583,54 @@ snapshots:
dependencies:
immediate: 3.0.6
+ optional: true
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ dependencies:
+ detect-libc: 2.1.2
+ optionalDependencies:
+ lightningcss-android-arm64: 1.30.2
+ lightningcss-darwin-arm64: 1.30.2
+ lightningcss-darwin-x64: 1.30.2
+ lightningcss-freebsd-x64: 1.30.2
+ lightningcss-linux-arm-gnueabihf: 1.30.2
+ lightningcss-linux-arm64-gnu: 1.30.2
+ lightningcss-linux-arm64-musl: 1.30.2
+ lightningcss-linux-x64-gnu: 1.30.2
+ lightningcss-linux-x64-musl: 1.30.2
+ lightningcss-win32-arm64-msvc: 1.30.2
+ lightningcss-win32-x64-msvc: 1.30.2
dependencies:
@@ -9893,12 +10079,6 @@ snapshots:
- dependencies:
- any-promise: 1.3.0
- object-assign: 4.1.1
- thenify-all: 1.6.0
-
dependencies:
'@css-render/plugin-bem': 0.15.14([email protected])
@@ -9959,10 +10139,6 @@ snapshots:
dependencies:
boolbase: 1.0.0
-
-
@@ -10058,8 +10234,6 @@ snapshots:
-
dependencies:
'@vue/devtools-api': 7.7.7
@@ -10067,8 +10241,6 @@ snapshots:
optionalDependencies:
typescript: 5.9.3
-
dependencies:
confbox: 0.1.8
@@ -10090,31 +10262,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- postcss: 8.5.6
- postcss-value-parser: 4.2.0
- read-cache: 1.0.0
- resolve: 1.22.10
-
- dependencies:
- camelcase-css: 2.0.1
- postcss: 8.5.6
-
- dependencies:
- lilconfig: 3.1.3
- yaml: 2.8.0
- optionalDependencies:
- postcss: 8.5.6
- ts-node: 10.9.2(@types/[email protected])([email protected])
-
- dependencies:
- postcss: 8.5.6
- postcss-selector-parser: 6.1.2
-
dependencies:
cssesc: 3.0.0
@@ -10256,10 +10403,6 @@ snapshots:
discontinuous-range: 1.0.0
ret: 0.1.15
- dependencies:
- pify: 2.3.0
-
@@ -10552,16 +10695,6 @@ snapshots:
- dependencies:
- '@jridgewell/gen-mapping': 0.3.13
- commander: 4.1.1
- glob: 10.4.5
- lines-and-columns: 1.2.4
- mz: 2.7.0
- pirates: 4.0.7
- ts-interface-checker: 0.1.13
-
dependencies:
copy-anything: 3.0.5
@@ -10587,32 +10720,9 @@ snapshots:
- dependencies:
- '@alloc/quick-lru': 5.2.0
- arg: 5.0.2
- chokidar: 3.6.0
- didyoumean: 1.2.2
- dlv: 1.1.3
- fast-glob: 3.3.3
- glob-parent: 6.0.2
- is-glob: 4.0.3
- jiti: 1.21.7
- lilconfig: 3.1.3
- micromatch: 4.0.8
- normalize-path: 3.0.0
- object-hash: 3.0.0
- picocolors: 1.1.1
- postcss: 8.5.6
- postcss-import: 15.1.0([email protected])
- postcss-js: 4.0.1([email protected])
- postcss-nested: 6.2.0([email protected])
- postcss-selector-parser: 6.1.2
- resolve: 1.22.10
- sucrase: 3.35.0
- transitivePeerDependencies:
- - ts-node
+
dependencies:
@@ -10621,14 +10731,6 @@ snapshots:
commander: 2.20.3
source-map-support: 0.5.21
- dependencies:
- thenify: 3.3.1
-
- dependencies:
- any-promise: 1.3.0
-
dependencies:
inherits: 2.0.4
@@ -10692,8 +10794,6 @@ snapshots:
dependencies:
typescript: 5.9.3
-
dependencies:
'@cspotcode/source-map-support': 0.8.1
@@ -10718,13 +10818,13 @@ snapshots:
dependencies:
prelude-ls: 1.2.1
dependencies:
- '@typescript-eslint/parser': 8.45.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.45.0([email protected]([email protected]))([email protected])
'@typescript-eslint/typescript-estree': 8.45.0([email protected])
- '@typescript-eslint/utils': 8.45.0([email protected]([email protected]))([email protected])
- eslint: 9.39.1([email protected])
+ '@typescript-eslint/utils': 8.45.0([email protected]([email protected]))([email protected])
+ eslint: 9.39.1([email protected])
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -10868,7 +10968,7 @@ snapshots:
- rollup
- supports-color
dependencies:
esbuild: 0.25.5
fdir: 6.5.0([email protected])
@@ -10879,14 +10979,15 @@ snapshots:
optionalDependencies:
'@types/node': 24.10.0
fsevents: 2.3.3
- jiti: 1.21.7
+ jiti: 2.6.1
+ lightningcss: 1.30.2
terser: 5.39.0
yaml: 2.8.0
dependencies:
'@vitest/expect': 4.0.6
'@vitest/pretty-format': 4.0.6
'@vitest/runner': 4.0.6
'@vitest/snapshot': 4.0.6
@@ -10903,7 +11004,7 @@ snapshots:
tinyexec: 0.3.2
tinyglobby: 0.2.15
tinyrainbow: 3.0.3
why-is-node-running: 2.3.0
optionalDependencies:
'@types/debug': 4.1.12
@@ -10967,10 +11068,10 @@ snapshots:
dependencies:
debug: 4.4.3
- eslint: 9.39.1([email protected])
+ eslint: 9.39.1([email protected])
eslint-scope: 8.4.0
eslint-visitor-keys: 4.2.1
espree: 10.4.0
diff --git a/frontend/postcss.config.js b/frontend/postcss.config.js
deleted file mode 100644
index 69adfb1af6..0000000000
--- a/frontend/postcss.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-module.exports = {
- plugins: [
- // ...
- require("tailwindcss"),
- require("autoprefixer"),
- // ...
- ],
-};
diff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.css
index 4470b2cfab..8c22bc5169 100644
--- a/frontend/src/assets/css/tailwind.css
+++ b/frontend/src/assets/css/tailwind.css
@@ -1,261 +1,285 @@
-:root {
- /* indigo-600 */
- --color-accent: 79 70 229; /* #4f46e5 */
- /* indigo-300 */
- --color-accent-disabled: 165 180 252; /* #a5b4fc */
- /* indigo-800 */
- --color-accent-hover: 55 48 163; /* #3730a3 */
- /* white */
- --color-accent-text: 255 255 255; /* #ffffff */
-
- /* gray-900 */
- --color-main: 24 24 27; /* #18181b */
- /* gray-700 */
- --color-main-hover: 63 63 70; /* #3f3f46 */
- /* white */
- --color-main-text: 255 255 255; /* #ffffff */
-
- /* gray-700 */
- --color-control: 82 82 91; /* #52525b */
- /* gray-900 */
- --color-control-hover: 24 24 27; /* #18181b */
-
- /* gray-500 */
- --color-control-light: 113 113 122; /* #71717a */
- /* gray-600 */
- --color-control-light-hover: 82 82 91; /* #52525b */
-
- /* gray-100 */
- --color-control-bg: 243 244 246; /* #f3f4f6 */
- /* gray-200 */
- --color-control-bg-hover: 229 231 235; /* #e5e7eb */
-
- /* gray-400 */
- --color-control-placeholder: 161 161 170; /* #a1a1aa */
-
- /* blue-600 */
- --color-info: 37 99 235; /* #2563eb */
- /* blue-700 */
- --color-info-hover: 29 78 216; /* #1d4ed8 */
-
- /* yellow-500 */
- --color-warning: 245 158 11; /* #f59e0b */
- /* yellow-700 */
- --color-warning-hover: 180 83 9; /* #b45309 */
-
- /* red-600 */
- --color-error: 220 38 38; /* #dc2626 */
- /* red-700 */
- --color-error-hover: 185 28 28; /* #b91c1c */
-
- /* green-600 */
- --color-success: 22 163 74; /* #16a34a */
- /* green-700 */
- --color-success-hover: 21 128 61; /* #15803d */
-
- /* gray-200 */
- --color-link-hover: 229 231 235; /* #e5e7eb */
-
- /* gray-200 */
- --color-block-border: 229 231 235; /* #e5e7eb */
- /* gray-300 */
- --color-control-border: 209 213 219; /* #d1d5db */
-}
+@import 'tailwindcss';
/*
Colors for dark theme
Only used by Web Terminal now
*/
-:root {
- /* same as vs-dark theme's bg, not pure black. */
- --color-dark-bg: 30 30 30; /* #1e1e1e */
-
- /* The Matrix green */
- --color-matrix-green: 0 204 0; /* #00cc00 */
- /* The matrix green lighter */
- --color-matrix-green-hover: 136 255 136; /* #88ff88 */
-}
+@config '../../../tailwind.config.js';
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+/*
+ The default border color has changed to `currentcolor` in Tailwind CSS v4,
+ so we've added these compatibility styles to make sure everything still
+ looks the same as it did with Tailwind CSS v3.
-.btn-primary {
- @apply select-none inline-flex border border-transparent rounded text-accent-text bg-accent hover:bg-accent-hover disabled:bg-accent disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
+ If we ever want to remove these styles, we need to add an explicit border
+ color utility to any element that depends on these defaults.
+*/
+@layer base {
+ *,
+ ::after,
+ ::before,
+ ::backdrop,
+ ::file-selector-button {
+ border-color: var(--color-gray-200, currentcolor);
+ }
}
-.btn-normal {
- @apply select-none inline-flex border border-control-border rounded text-control bg-white hover:bg-control-bg-hover disabled:bg-control-bg disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
+@utility hide-scrollbar {
+ /* Chrome, Safari and Opera */
+ &::-webkit-scrollbar {
+ display: none;
+ }
+ -ms-overflow-style: none; /* IE and Edge */
+ scrollbar-width: none; /* Firefox */
}
-.btn-secondary {
- @apply select-none inline-flex items-center text-main hover:text-control-hover disabled:opacity-50 disabled:cursor-not-allowed text-sm leading-5 font-normal focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
+@utility thumb-up {
+ transform-origin: bottom left;
+ animation: thumb-up 1s ease-in-out infinite;
}
-.btn-small {
- @apply select-none inline-flex border border-control-border rounded text-control bg-white hover:bg-control-bg-hover disabled:bg-control-bg disabled:opacity-50 disabled:cursor-not-allowed px-2 text-xs leading-5 focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
-}
+@utility hide-ticker {
+ /* Remove the ticker in the number field for webkit */
+ &input::-webkit-outer-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+ }
+ & input::-webkit-inner-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+ }
-.btn-select {
- @apply text-sm select-none text-main bg-white border border-control-border disabled:bg-control-bg disabled:opacity-50 disabled:cursor-not-allowed rounded shadow-sm text-left cursor-default focus:outline-none focus:ring-1 focus:ring-control focus:border-control;
+ /* Remove the ticker in the number field for Firefox */
+ &input[type='number'] {
+ -moz-appearance: textfield;
+ }
}
-.btn-cancel {
- @apply select-none inline-flex text-control rounded hover:bg-control-bg-hover disabled:bg-control-bg disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
+@utility fix-scrollbar-z-index {
+ transform: translate3d(0, 0, 0);
}
-.btn-icon {
- @apply cursor-pointer flex flex-row items-center select-none rounded-full text-control bg-transparent hover:text-control-hover disabled:opacity-50 disabled:cursor-not-allowed focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-1;
+@utility writing-vertical-rl {
+ writing-mode: vertical-rl;
}
-.btn-icon-primary {
- @apply select-none rounded-full text-white bg-accent hover:bg-accent-hover disabled:opacity-50 disabled:cursor-not-allowed focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-1;
+@utility writing-vertical-lr {
+ writing-mode: vertical-lr;
}
-.btn-danger {
- @apply select-none inline-flex border border-transparent rounded text-accent-text bg-error hover:bg-error-hover disabled:bg-error disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
+@utility text-size-adjust-none {
+ text-size-adjust: none;
+ -webkit-text-size-adjust: none;
+ -moz-text-size-adjust: none;
+ -ms-text-size-adjust: none;
}
-.btn-success {
- @apply select-none inline-flex border border-transparent rounded text-accent-text bg-success hover:bg-success-hover disabled:bg-success disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
-}
+@layer base {
+ :root {
+ /* indigo-600 */
+ --color-accent: 79 70 229; /* #4f46e5 */
+ /* indigo-300 */
+ --color-accent-disabled: 165 180 252; /* #a5b4fc */
+ /* indigo-800 */
+ --color-accent-hover: 55 48 163; /* #3730a3 */
+ /* white */
+ --color-accent-text: 255 255 255; /* #ffffff */
-.tab {
- @apply rounded text-control font-normal text-sm focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
-}
+ /* gray-900 */
+ --color-main: 24 24 27; /* #18181b */
+ /* gray-700 */
+ --color-main-hover: 63 63 70; /* #3f3f46 */
+ /* white */
+ --color-main-text: 255 255 255; /* #ffffff */
-.control {
- @apply focus:ring-control focus:border-control border-control-border rounded select-none;
-}
+ /* gray-700 */
+ --color-control: 82 82 91; /* #52525b */
+ /* gray-900 */
+ --color-control-hover: 24 24 27; /* #18181b */
-.textlabel {
- @apply text-sm font-medium text-control;
-}
+ /* gray-500 */
+ --color-control-light: 113 113 122; /* #71717a */
+ /* gray-600 */
+ --color-control-light-hover: 82 82 91; /* #52525b */
-.textinfolabel {
- @apply text-sm font-normal text-control-light;
-}
+ /* gray-100 */
+ --color-control-bg: 243 244 246; /* #f3f4f6 */
+ /* gray-200 */
+ --color-control-bg-hover: 229 231 235; /* #e5e7eb */
-.textlabeltip {
- @apply text-xs font-normal text-red-500 ml-2;
-}
+ /* gray-400 */
+ --color-control-placeholder: 161 161 170; /* #a1a1aa */
-.textfield {
- @apply text-main disabled:text-control disabled:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-70 focus:ring-control focus:border-control sm:text-sm border-control-border rounded;
-}
+ /* blue-600 */
+ --color-info: 37 99 235; /* #2563eb */
+ /* blue-700 */
+ --color-info-hover: 29 78 216; /* #1d4ed8 */
-.textarea {
- @apply text-main focus:ring-control focus:border-control sm:text-sm border-control-border shadow-sm;
-}
+ /* yellow-500 */
+ --color-warning: 245 158 11; /* #f59e0b */
+ /* yellow-700 */
+ --color-warning-hover: 180 83 9; /* #b45309 */
-.radio-set-row {
- @apply flex flex-row items-center gap-x-4;
-}
+ /* red-600 */
+ --color-error: 220 38 38; /* #dc2626 */
+ /* red-700 */
+ --color-error-hover: 185 28 28; /* #b91c1c */
-.radio-set-col {
- @apply flex flex-col space-y-2;
-}
+ /* green-600 */
+ --color-success: 22 163 74; /* #16a34a */
+ /* green-700 */
+ --color-success-hover: 21 128 61; /* #15803d */
-.radio {
- @apply flex items-center;
-}
+ /* gray-200 */
+ --color-link-hover: 229 231 235; /* #e5e7eb */
-.radio .btn {
- @apply focus:ring-accent h-4 w-4 text-accent select-none;
+ /* gray-200 */
+ --color-block-border: 229 231 235; /* #e5e7eb */
+ /* gray-300 */
+ --color-control-border: 209 213 219; /* #d1d5db */
+ }
+ :root {
+ /* same as vs-dark theme's bg, not pure black. */
+ --color-dark-bg: 30 30 30; /* #1e1e1e */
+
+ /* The Matrix green */
+ --color-matrix-green: 0 204 0; /* #00cc00 */
+ /* The matrix green lighter */
+ --color-matrix-green-hover: 136 255 136; /* #88ff88 */
+ }
}
-.radio .label {
- @apply ml-1.5 block text-sm font-medium text-gray-700 select-none;
-}
+@layer utilities {
+ .btn-primary {
+ @apply select-none inline-flex border border-transparent rounded-sm text-accent-text bg-accent hover:bg-accent-hover disabled:bg-accent disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-2;
+ }
-.outline-title {
- @apply text-main w-full items-center text-xs leading-5 font-semibold focus:outline-none select-none tracking-wider;
-}
+ .btn-normal {
+ @apply select-none inline-flex border border-control-border rounded-sm text-control bg-white hover:bg-control-bg-hover disabled:bg-control-bg disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-2;
+ }
-.outline-title.toplevel {
- @apply text-control-light text-sm font-normal tracking-tight;
-}
+ .btn-secondary {
+ @apply select-none inline-flex items-center text-main hover:text-control-hover disabled:opacity-50 disabled:cursor-not-allowed text-sm leading-5 font-normal focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-2;
+ }
-.outline-title.collapsible {
- @apply cursor-pointer hover:bg-link-hover;
-}
+ .btn-small {
+ @apply select-none inline-flex border border-control-border rounded-sm text-control bg-white hover:bg-control-bg-hover disabled:bg-control-bg disabled:opacity-50 disabled:cursor-not-allowed px-2 text-xs leading-5 focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-2;
+ }
-.outline-item {
- @apply text-control cursor-pointer w-full items-center hover:bg-link-hover text-sm leading-5 focus:outline-none select-none;
-}
+ .btn-select {
+ @apply text-sm select-none text-main bg-white border border-control-border disabled:bg-control-bg disabled:opacity-50 disabled:cursor-not-allowed rounded-sm shadow-xs text-left cursor-default focus:outline-hidden focus:ring-1 focus:ring-control focus:border-control;
+ }
-.menu-item {
- @apply cursor-pointer block px-4 py-2 text-sm leading-5 text-control hover:bg-control-bg hover:text-control-hover focus:outline-none focus:bg-control-bg focus:text-control-hover;
-}
+ .btn-cancel {
+ @apply select-none inline-flex text-control rounded-sm hover:bg-control-bg-hover disabled:bg-control-bg disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-2;
+ }
-.bar-link {
- @apply cursor-pointer text-main hover:bg-link-hover focus:outline-none;
-}
+ .btn-icon {
+ @apply cursor-pointer flex flex-row items-center select-none rounded-full text-control bg-transparent hover:text-control-hover disabled:opacity-50 disabled:cursor-not-allowed focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-1;
+ }
-.accent-link {
- @apply cursor-pointer text-accent font-medium hover:underline focus:outline-none;
-}
+ .btn-icon-primary {
+ @apply select-none rounded-full text-white bg-accent hover:bg-accent-hover disabled:opacity-50 disabled:cursor-not-allowed focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-1;
+ }
-.normal-link {
- @apply cursor-pointer text-blue-600 hover:underline hover:text-blue-800 focus:outline-none;
-}
+ .btn-danger {
+ @apply select-none inline-flex border border-transparent rounded-sm text-accent-text bg-error hover:bg-error-hover disabled:bg-error disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-2;
+ }
-.light-link {
- @apply cursor-pointer text-blue-400 hover:underline hover:text-blue-200 focus:outline-none;
-}
+ .btn-success {
+ @apply select-none inline-flex border border-transparent rounded-sm text-accent-text bg-success hover:bg-success-hover disabled:bg-success disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-2;
+ }
-.icon-link {
- @apply cursor-pointer text-control hover:bg-link-hover focus:outline-none;
-}
+ .tab {
+ @apply rounded-sm text-control font-normal text-sm focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-2;
+ }
-.anchor-link {
- @apply cursor-pointer hover:underline focus:outline-none;
-}
+ .control {
+ @apply focus:ring-control focus:border-control border-control-border rounded-sm select-none;
+ }
-@layer utilities {
- /* Chrome, Safari and Opera */
- .hide-scrollbar::-webkit-scrollbar {
- display: none;
+ .textlabel {
+ @apply text-sm font-medium text-control;
}
- .hide-scrollbar {
- -ms-overflow-style: none; /* IE and Edge */
- scrollbar-width: none; /* Firefox */
+ .textinfolabel {
+ @apply text-sm font-normal text-control-light;
}
- .thumb-up {
- @apply origin-bottom-left;
- animation: thumb-up 1s ease-in-out infinite;
+ .textlabeltip {
+ @apply text-xs font-normal text-red-500 ml-2;
}
- /* Remove the ticker in the number field for webkit */
- input.hide-ticker::-webkit-outer-spin-button,
- input.hide-ticker::-webkit-inner-spin-button {
- -webkit-appearance: none;
- margin: 0;
+ .textfield {
+ @apply text-main disabled:text-control disabled:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-70 focus:ring-control focus:border-control sm:text-sm border-control-border rounded-sm;
}
- /* Remove the ticker in the number field for Firefox */
- input[type="number"].hide-ticker {
- -moz-appearance: textfield;
+ .textarea {
+ @apply text-main focus:ring-control focus:border-control sm:text-sm border-control-border shadow-xs;
}
- .fix-scrollbar-z-index {
- transform: translate3d(0, 0, 0);
+ .radio-set-row {
+ @apply flex flex-row items-center gap-x-4;
}
- .writing-vertical-rl {
- writing-mode: vertical-rl;
+ .radio-set-col {
+ @apply flex flex-col space-y-2;
}
- .writing-vertical-lr {
- writing-mode: vertical-lr;
+
+ .radio {
+ @apply flex items-center;
+ }
+
+ .radio .btn {
+ @apply focus:ring-accent h-4 w-4 text-accent select-none;
+ }
+
+ .radio .label {
+ @apply ml-1.5 block text-sm font-medium text-gray-700 select-none;
+ }
+
+ .outline-title {
+ @apply text-main w-full items-center text-xs leading-5 font-semibold focus:outline-hidden select-none tracking-wider;
+ }
+
+ .outline-title.toplevel {
+ @apply text-control-light text-sm font-normal tracking-tight;
+ }
+
+ .outline-title.collapsible {
+ @apply cursor-pointer hover:bg-link-hover;
+ }
+
+ .outline-item {
+ @apply text-control cursor-pointer w-full items-center hover:bg-link-hover text-sm leading-5 focus:outline-hidden select-none;
+ }
+
+ .menu-item {
+ @apply cursor-pointer block px-4 py-2 text-sm leading-5 text-control hover:bg-control-bg hover:text-control-hover focus:outline-hidden focus:bg-control-bg focus:text-control-hover;
+ }
+
+ .bar-link {
+ @apply cursor-pointer text-main hover:bg-link-hover focus:outline-hidden;
+ }
+
+ .accent-link {
+ @apply cursor-pointer text-accent font-medium hover:underline focus:outline-hidden;
+ }
+
+ .normal-link {
+ @apply cursor-pointer text-blue-600 hover:underline hover:text-blue-800 focus:outline-hidden;
+ }
+
+ .light-link {
+ @apply cursor-pointer text-blue-400 hover:underline hover:text-blue-200 focus:outline-hidden;
+ }
+
+ .icon-link {
+ @apply cursor-pointer text-control hover:bg-link-hover focus:outline-hidden;
}
- .text-size-adjust-none {
- text-size-adjust: none;
- -webkit-text-size-adjust: none;
- -moz-text-size-adjust: none;
- -ms-text-size-adjust: none;
+ .anchor-link {
+ @apply cursor-pointer hover:underline focus:outline-hidden;
}
}
@@ -270,17 +294,19 @@
.fade-fast-leave-active,
.fade-slow-enter-active,
.fade-slow-leave-active {
- @apply transition-opacity ease-in-out duration-300;
+ transition-property: opacity;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+ transition-duration: 300ms;
}
.fade-fast-enter-active,
.fade-fast-leave-active {
- @apply duration-100;
+ transition-duration: 100ms;
}
.fade-slow-enter-active,
.fade-slow-leave-active {
- @apply duration-500;
+ transition-duration: 500ms;
}
.fade-enter-from,
@@ -289,16 +315,18 @@
.fade-fast-leave-to,
.fade-slow-enter-from,
.fade-slow-leave-to {
- @apply opacity-0;
+ opacity: 0;
}
.slide-up-enter-active,
.slide-up-leave-active {
- @apply transition-transform ease-in-out duration-150;
+ transition-property: transform;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+ transition-duration: 150ms;
}
.slide-up-enter-from,
.slide-up-leave-to {
- @apply translate-y-full;
+ transform: translateY(100%);
}
@keyframes thumb-up {
@@ -314,26 +342,32 @@
}
.fade-slide-up-leave-active {
- @apply transition-[opacity,_transform] duration-100 ease-in-out;
+ transition-property: opacity, transform;
+ transition-duration: 100ms;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-slide-up-enter-active {
- @apply transition-[opacity,_transform] duration-100 ease-in-out;
+ transition-property: opacity, transform;
+ transition-duration: 100ms;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-slide-up-enter-from,
.fade-slide-up-leave-to {
- @apply opacity-0 scale-90;
+ opacity: 0;
+ transform: scale(0.9);
}
.fade-slide-up-leave-from,
.fade-slide-up-enter-to {
- @apply opacity-100 scale-100;
+ opacity: 1;
+ transform: scale(1);
}
/* compatibility fixes for tailwindcss and naive-ui */
.n-base-selection-input:focus,
.n-base-selection-input-tag__input:focus,
.n-input__input-el:focus {
- @apply ring-0;
+ box-shadow: 0 0 0 0;
}
diff --git a/frontend/src/bbkit/BBBadge.vue b/frontend/src/bbkit/BBBadge.vue
index 53daa1e1fd..df9a371a80 100644
--- a/frontend/src/bbkit/BBBadge.vue
+++ b/frontend/src/bbkit/BBBadge.vue
@@ -18,7 +18,7 @@
v-if="canRemove"
type="button"
:class="[
- 'flex-shrink-0 ml-1 p-0.5 rounded-full inline-flex items-center justify-center focus:outline-none',
+ 'shrink-0 ml-1 p-0.5 rounded-full inline-flex items-center justify-center focus:outline-hidden',
`text-${color}-400 hover:bg-${color}-200 hover:text-${color}-500 focus:bg-${color}-500`,
]"
@click="$emit('remove')"
diff --git a/frontend/src/bbkit/BBModal.vue b/frontend/src/bbkit/BBModal.vue
index bc75ff7c12..287ca7a297 100644
--- a/frontend/src/bbkit/BBModal.vue
+++ b/frontend/src/bbkit/BBModal.vue
@@ -9,11 +9,18 @@
>
<div
v-bind="$attrs"
- class="bb-modal"
+ class="bg-white shadow-lg rounded-md py-3 flex pointer-events-auto flex-col gap-3"
+ :style="{
+ maxWidth: 'calc(100vw - 80px)',
+ maxHeight: 'calc(100vh - 80px)',
+ }"
:data-overlay-stack-id="id"
:data-overlay-stack-upmost="upmost"
>
- <div class="modal-header" :class="headerClass">
+ <div
+ class="relative mx-4 pb-2 flex items-center justify-between border-b border-block-border"
+ :class="headerClass"
+ >
<div class="text-lg text-main mr-2 flex-1 overflow-hidden">
<slot name="title"><component :is="renderTitle" /></slot>
<slot name="subtitle"><component :is="renderSubtitle" /></slot>
@@ -30,7 +37,10 @@
</NButton>
</div>
- <div class="modal-container" :class="containerClass">
+ <div
+ class="px-4 max-h-screen overflow-auto w-full h-full"
+ :class="containerClass"
+ >
<slot />
</div>
</div>
@@ -151,20 +161,3 @@ export default defineComponent({
},
});
</script>
-
-<style scoped lang="postcss">
-.bb-modal {
- @apply bg-white shadow-lg rounded-md py-3 flex pointer-events-auto flex-col gap-3;
-
- max-width: calc(100vw - 80px);
- max-height: calc(100vh - 80px);
-}
-
-.modal-header {
- @apply relative mx-4 pb-2 flex items-center justify-between border-b border-block-border;
-}
-
-.modal-container {
- @apply px-4 max-h-screen overflow-auto w-full h-full;
-}
-</style>
diff --git a/frontend/src/bbkit/BBTextField.vue b/frontend/src/bbkit/BBTextField.vue
index 871ef4c028..7d37bb5c00 100644
--- a/frontend/src/bbkit/BBTextField.vue
+++ b/frontend/src/bbkit/BBTextField.vue
@@ -4,7 +4,7 @@
v-bind="$attrs"
v-model:value="state.text"
:type="type"
- class="!border-none"
+ class="border-none!"
:disabled="disabled"
:clearable="clearable"
:placeholder="placeholder"
diff --git a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
index 2ab37c24ce..733152a421 100644
--- a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
+++ b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
@@ -12,7 +12,7 @@
container-class="h-full flex flex-col gap-y-4"
@close="dismissModal"
>
- <MaskSpinner v-if="state.previewStatus" class="!bg-white/75">
+ <MaskSpinner v-if="state.previewStatus" class="bg-white/75!">
<span class="text-sm">
{{ state.previewStatus }}
</span>
@@ -43,7 +43,7 @@
:tab="$t('schema-editor.raw-sql')"
display-directive="show:lazy"
>
- <div class="w-full h-full grid grid-rows-[50px,_1fr] overflow-y-auto">
+ <div class="w-full h-full grid grid-rows-[50px_1fr] overflow-y-auto">
<div
class="w-full h-full shrink-0 flex flex-row justify-between items-center"
>
@@ -489,7 +489,7 @@ const renderEmptyGeneratedDDLContent = (databases: ComposedDatabase[]) => {
return h(
"ul",
{
- class: "text-sm space-y-1 max-h-[20rem] overflow-y-auto",
+ class: "text-sm space-y-1 max-h-80 overflow-y-auto",
},
children
);
diff --git a/frontend/src/components/BytebaseLogo.vue b/frontend/src/components/BytebaseLogo.vue
index 07d70b05f2..81a70fc5b8 100644
--- a/frontend/src/components/BytebaseLogo.vue
+++ b/frontend/src/components/BytebaseLogo.vue
@@ -1,6 +1,6 @@
<template>
<div
- class="flex-shrink-0 max-w-44 flex items-center overflow-hidden"
+ class="shrink-0 max-w-44 flex items-center overflow-hidden"
@click="recordRedirect"
>
<!-- The active-class and exact-active-class need to set as ""
diff --git a/frontend/src/components/Changelist/ChangelistDashboard/CreateChangelistPanel.vue b/frontend/src/components/Changelist/ChangelistDashboard/CreateChangelistPanel.vue
index e81c77a2c0..c895229277 100644
--- a/frontend/src/components/Changelist/ChangelistDashboard/CreateChangelistPanel.vue
+++ b/frontend/src/components/Changelist/ChangelistDashboard/CreateChangelistPanel.vue
@@ -83,7 +83,7 @@
<NSelect
v-if="uploadFileList.length > 0"
v-model:value="state.encoding"
- class="!w-24"
+ class="w-24!"
filterable
:options="encodingOptions"
:consistent-menu-width="false"
@@ -330,7 +330,7 @@ watch(showCreatePanel, (show) => {
<style scoped lang="postcss">
.file-upload :deep(.n-upload-file-list .n-upload-file .n-upload-file-info) {
- @apply items-center;
+ align-items: center;
}
.file-upload
:deep(
@@ -339,6 +339,9 @@ watch(showCreatePanel, (show) => {
.n-upload-file-info
.n-upload-file-info__thumbnail
) {
- @apply flex items-center justify-center mr-0.5;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: 0.125rem;
}
</style>
diff --git a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangelogChangeItem.vue b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangelogChangeItem.vue
index 421ad0d78a..cb6967e4c6 100644
--- a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangelogChangeItem.vue
+++ b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangelogChangeItem.vue
@@ -23,7 +23,7 @@
:to="{
path: `/${changelog.issue}`,
}"
- class="normal-link text-sm hover:!no-underline"
+ class="normal-link text-sm hover:no-underline!"
target="_blank"
@click.stop
>
diff --git a/frontend/src/components/Changelist/ChangelistDetail/ApplyToDatabasePanel/ApplyToDatabasePanel.vue b/frontend/src/components/Changelist/ChangelistDetail/ApplyToDatabasePanel/ApplyToDatabasePanel.vue
index d4c8f92c23..f2462b6158 100644
--- a/frontend/src/components/Changelist/ChangelistDetail/ApplyToDatabasePanel/ApplyToDatabasePanel.vue
+++ b/frontend/src/components/Changelist/ChangelistDetail/ApplyToDatabasePanel/ApplyToDatabasePanel.vue
@@ -3,7 +3,7 @@
<DrawerContent :title="$t('changelist.apply-to-database')">
<template #default>
<div
- class="w-[calc(100vw-8rem)] lg:w-[60rem] max-w-[calc(100vw-8rem)] overflow-x-auto"
+ class="w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)] overflow-x-auto"
>
<div class="flex flex-col">
<div class="mb-4 flex flex-row justify-start items-center gap-2">
diff --git a/frontend/src/components/Changelist/ChangelistDetail/ChangeTable/Source.vue b/frontend/src/components/Changelist/ChangelistDetail/ChangeTable/Source.vue
index d8322f2dae..af10914568 100644
--- a/frontend/src/components/Changelist/ChangelistDetail/ChangeTable/Source.vue
+++ b/frontend/src/components/Changelist/ChangelistDetail/ChangeTable/Source.vue
@@ -11,7 +11,7 @@
:to="{
path: `/${changelog.issue}`,
}"
- class="normal-link text-sm hover:!no-underline"
+ class="normal-link text-sm hover:no-underline!"
target="_blank"
@click.stop
>
diff --git a/frontend/src/components/Changelog/ChangelogDetail.vue b/frontend/src/components/Changelog/ChangelogDetail.vue
index 7e9efd5125..1c838d830a 100644
--- a/frontend/src/components/Changelog/ChangelogDetail.vue
+++ b/frontend/src/components/Changelog/ChangelogDetail.vue
@@ -1,5 +1,5 @@
<template>
- <div class="focus:outline-none" tabindex="0" v-bind="$attrs">
+ <div class="focus:outline-hidden" tabindex="0" v-bind="$attrs">
<NoPermissionPlaceholder v-if="!hasPermission" class="py-6" />
<div
v-if="state.loading"
diff --git a/frontend/src/components/ColumnDataTable/LabelsCell.vue b/frontend/src/components/ColumnDataTable/LabelsCell.vue
index 788ea547d9..1700e3741b 100644
--- a/frontend/src/components/ColumnDataTable/LabelsCell.vue
+++ b/frontend/src/components/ColumnDataTable/LabelsCell.vue
@@ -3,7 +3,7 @@
<LabelsCell :labels="labels" :show-count="2" />
<button
v-if="!readonly"
- class="w-5 h-5 p-0.5 hover:bg-gray-300 rounded cursor-pointer"
+ class="w-5 h-5 p-0.5 hover:bg-gray-300 rounded-sm cursor-pointer"
@click.prevent="openLabelsDrawer()"
>
<heroicons-outline:pencil class="w-4 h-4" />
diff --git a/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepPanel.vue b/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepPanel.vue
index c9fec57ee7..60ea55cc24 100644
--- a/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepPanel.vue
+++ b/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepPanel.vue
@@ -10,7 +10,7 @@
<RequiredStar />
</label>
<ProjectSelect
- class="mt-1 !w-full"
+ class="mt-1 w-full!"
required
v-model:project-name="state.projectName"
/>
diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vue
index ee9634d7c0..ede50d99cf 100644
--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vue
+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vue
@@ -109,7 +109,7 @@ const renderNodesButton = (rolesCount: number, onClick: () => void) => (
quaternary
size="small"
type="info"
- class="!rounded !w-[var(--n-height)] !p-0"
+ class="rounded-sm! w-(--n-height)! p-0!"
onClick={onClick}
>
{rolesCount}
diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RuleSelect.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RuleSelect.vue
index 0e89cc3db9..b5eb25bf63 100644
--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RuleSelect.vue
+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RuleSelect.vue
@@ -20,7 +20,7 @@
v-if="link"
quaternary
type="info"
- class="!rounded !w-[var(--n-height)] !p-0 !ml-1"
+ class="rounded-sm! w-(--n-height)! p-0! ml-1!"
:disabled="!selectedRule || !allowAdmin"
@click="toApprovalFlow"
>
diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesSection.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesSection.vue
index 14e98c85a7..6777c48730 100644
--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesSection.vue
+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesSection.vue
@@ -59,7 +59,7 @@ const columns = computed((): DataTableColumn<Row>[] => {
render: (row) => (
<div class="flex items-center space-x-2">
<RuleSelect
- class="flex-1 max-w-md min-w-[10rem]"
+ class="flex-1 max-w-md min-w-40"
value={row.rule}
onUpdate={(rule: string | undefined) => updateRow(row, rule)}
/>
diff --git a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RuleTemplateTable.vue b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RuleTemplateTable.vue
index 24172304f8..622e75ef9d 100644
--- a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RuleTemplateTable.vue
+++ b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RuleTemplateTable.vue
@@ -10,7 +10,7 @@
<BBModal
v-if="viewTemplate"
:title="$t('custom-approval.risk-rule.template.view')"
- class="!w-auto lg:!max-w-[36rem]"
+ class="w-auto! lg:max-w-xl!"
@close="viewTemplate = undefined"
>
<template #header>
diff --git a/frontend/src/components/CustomApproval/Settings/components/common/utils.ts b/frontend/src/components/CustomApproval/Settings/components/common/utils.ts
index 8b102910a5..51b9090133 100644
--- a/frontend/src/components/CustomApproval/Settings/components/common/utils.ts
+++ b/frontend/src/components/CustomApproval/Settings/components/common/utils.ts
@@ -161,7 +161,7 @@ export const getRenderOptionFunc = (resource: {
typeof resource.title === "string"
? h(
"div",
- { class: `textlabel ${info.selected ? "!text-accent" : ""}` },
+ { class: `textlabel ${info.selected ? "text-accent!" : ""}` },
resource.title
)
: resource.title(),
diff --git a/frontend/src/components/DataExportButton.vue b/frontend/src/components/DataExportButton.vue
index c8683bdad9..f247412bd2 100644
--- a/frontend/src/components/DataExportButton.vue
+++ b/frontend/src/components/DataExportButton.vue
@@ -31,7 +31,7 @@
<Drawer v-if="viewMode === 'DRAWER'" v-model:show="state.showDrawer">
<DrawerContent
:title="$t('custom-approval.risk-rule.risk.namespace.data_export')"
- class="w-[50rem] max-w-[100vw] relative"
+ class="w-200 max-w-[100vw] relative"
>
<template #default>
<NForm
@@ -95,7 +95,7 @@
<BBModal
:show="state.showModal"
:title="$t('export-data.password-optional')"
- class="shadow-inner outline outline-gray-200"
+ class="shadow-inner outline-solid outline-gray-200"
@close="state.showModal = false"
>
<div class="w-80">
@@ -218,7 +218,7 @@ const rules: FormRules = {
}
return true;
},
- trigger: ["input", "blur"],
+ trigger: ["input", "blur-sm"],
},
],
format: [
diff --git a/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vue b/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vue
index a997401571..faa79a842d 100644
--- a/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vue
+++ b/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vue
@@ -9,7 +9,7 @@
</template>
<div
- class="space-y-4 h-full w-[calc(100vw-8rem)] lg:w-[60rem] max-w-[calc(100vw-8rem)] overflow-x-auto"
+ class="space-y-4 h-full w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)] overflow-x-auto"
>
<DatabaseAndGroupSelector
:project="project"
diff --git a/frontend/src/components/Database/DatabaseOverviewPanel.vue b/frontend/src/components/Database/DatabaseOverviewPanel.vue
index b0f3e2303e..f6dbe37e45 100644
--- a/frontend/src/components/Database/DatabaseOverviewPanel.vue
+++ b/frontend/src/components/Database/DatabaseOverviewPanel.vue
@@ -14,7 +14,7 @@
:options="schemaNameOptions"
:disabled="state.loading"
:placeholder="$t('database.schema.select')"
- class="!w-auto min-w-[12rem]"
+ class="w-auto! min-w-48"
/>
</div>
diff --git a/frontend/src/components/DatabaseDetail/DriftedDatabaseAlert.vue b/frontend/src/components/DatabaseDetail/DriftedDatabaseAlert.vue
index 098d4c6ee3..3a9e582124 100644
--- a/frontend/src/components/DatabaseDetail/DriftedDatabaseAlert.vue
+++ b/frontend/src/components/DatabaseDetail/DriftedDatabaseAlert.vue
@@ -31,8 +31,8 @@
<BBModal
v-if="state.showSchemaDiffModal"
:title="$t('database.drifted.view-diff')"
- header-class="!border-0"
- container-class="!pt-0"
+ header-class="border-0!"
+ container-class="pt-0!"
@close="state.showSchemaDiffModal = false"
>
<div
diff --git a/frontend/src/components/DatabaseDetail/SchemaDiagramButton.vue b/frontend/src/components/DatabaseDetail/SchemaDiagramButton.vue
index 81dc887e7e..4b349126c8 100644
--- a/frontend/src/components/DatabaseDetail/SchemaDiagramButton.vue
+++ b/frontend/src/components/DatabaseDetail/SchemaDiagramButton.vue
@@ -11,9 +11,9 @@
<BBModal
v-if="open"
:title="$t('schema-diagram.self')"
- class="h-[calc(100vh-40px)] !max-h-[calc(100vh-40px)]"
- header-class="!border-0"
- container-class="flex-1 !pt-0"
+ class="h-[calc(100vh-40px)] max-h-[calc(100vh-40px)]!"
+ header-class="border-0!"
+ container-class="flex-1 pt-0!"
@close="open = false"
>
<div class="w-[80vw] h-full">
diff --git a/frontend/src/components/DatabaseDetail/Settings/components/Labels.vue b/frontend/src/components/DatabaseDetail/Settings/components/Labels.vue
index c552d7241a..1a0361ef75 100644
--- a/frontend/src/components/DatabaseDetail/Settings/components/Labels.vue
+++ b/frontend/src/components/DatabaseDetail/Settings/components/Labels.vue
@@ -15,7 +15,7 @@
v-model:kv-list="state.kvList"
:readonly="!allowEdit"
:show-errors="dirty"
- class="max-w-[30rem]"
+ class="max-w-120"
/>
</div>
<div v-if="dirty" class="flex flex-row justify-end items-center gap-x-3">
diff --git a/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue b/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue
index a841e01690..2ddc4f1d7b 100644
--- a/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue
+++ b/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue
@@ -118,7 +118,7 @@ const columnList = computed((): DatabaseGroupDataTableColumn[] => {
return (
<div
- class="flex items-center justify-end cursor-pointer w-6 h-6 p-1 opacity-60 hover:opacity-100 hover:bg-white hover:shadow rounded"
+ class="flex items-center justify-end cursor-pointer w-6 h-6 p-1 opacity-60 hover:opacity-100 hover:bg-white hover:shadow-sm rounded-sm"
onClick={openExternalLink}
>
<ExternalLinkIcon class="w-4 h-auto" />
diff --git a/frontend/src/components/DatabaseGroup/MatchedDatabaseView.vue b/frontend/src/components/DatabaseGroup/MatchedDatabaseView.vue
index f97c73724c..c3f5402993 100644
--- a/frontend/src/components/DatabaseGroup/MatchedDatabaseView.vue
+++ b/frontend/src/components/DatabaseGroup/MatchedDatabaseView.vue
@@ -23,7 +23,7 @@
:name="item.name"
>
<template #header-extra>{{ item.databaseList.length }}</template>
- <div class="space-y-2 w-full max-h-[12rem] overflow-y-auto">
+ <div class="space-y-2 w-full max-h-48 overflow-y-auto">
<div class="">
<div
v-for="database in item.databaseList"
diff --git a/frontend/src/components/DefinitionView.vue b/frontend/src/components/DefinitionView.vue
index 65e566f275..e449a54b03 100644
--- a/frontend/src/components/DefinitionView.vue
+++ b/frontend/src/components/DefinitionView.vue
@@ -17,7 +17,7 @@
</div>
<button
v-if="state.showExpandButton"
- class="inline-block cursor-pointer px-2 py-1 rounded text-xs shadow bg-gray-50 hover:opacity-80"
+ class="inline-block cursor-pointer px-2 py-1 rounded-sm text-xs shadow-sm bg-gray-50 hover:opacity-80"
@click="state.expanded = !state.expanded"
>
{{ $t("common." + (state.expanded ? "collapse" : "expand")) }}
diff --git a/frontend/src/components/EnvironmentForm/Form.vue b/frontend/src/components/EnvironmentForm/Form.vue
index d902869f3d..0c8797940f 100644
--- a/frontend/src/components/EnvironmentForm/Form.vue
+++ b/frontend/src/components/EnvironmentForm/Form.vue
@@ -283,13 +283,13 @@ const existRelatedResource = computedAsync(async () => {
const renderColorPicker = () => {
return (
<NColorPicker
- class="!w-full !h-full"
+ class="w-full! h-full!"
modes={["hex"]}
showAlpha={false}
value={state.value.environment.color || "#4f46e5"}
renderLabel={() => (
<div
- class="w-5 h-5 rounded cursor-pointer relative"
+ class="w-5 h-5 rounded-sm cursor-pointer relative"
style={{
backgroundColor: state.value.environment.color || "#4f46e5",
}}
diff --git a/frontend/src/components/ExprEditor/Condition.vue b/frontend/src/components/ExprEditor/Condition.vue
index 282f4e784c..7c1f11b22b 100644
--- a/frontend/src/components/ExprEditor/Condition.vue
+++ b/frontend/src/components/ExprEditor/Condition.vue
@@ -12,7 +12,7 @@
v-if="allowAdmin"
size="small"
type="default"
- :style="'flex-shrink: 0;padding-left: 0;padding-right: 0;--n-width: 28px;--n-color: white;'"
+ :style="'shrink: 0;padding-left: 0;padding-right: 0;--n-width: 28px;--n-color: white;'"
@click="$emit('remove')"
>
<heroicons:trash class="w-3.5 h-3.5" />
diff --git a/frontend/src/components/ExprEditor/ConditionGroup.vue b/frontend/src/components/ExprEditor/ConditionGroup.vue
index bb4cacd38e..9ddb5a75d4 100644
--- a/frontend/src/components/ExprEditor/ConditionGroup.vue
+++ b/frontend/src/components/ExprEditor/ConditionGroup.vue
@@ -30,7 +30,7 @@
size="tiny"
quaternary
type="default"
- :style="`flex-shrink: 0; padding-left: 0; padding-right: 0; --n-width: 22px;`"
+ :style="`shrink: 0; padding-left: 0; padding-right: 0; --n-width: 22px;`"
@click="emit('remove')"
>
<heroicons:trash class="w-3.5 h-3.5" />
diff --git a/frontend/src/components/ExprEditor/RawString.vue b/frontend/src/components/ExprEditor/RawString.vue
index 102e75f1b9..9446b957ca 100644
--- a/frontend/src/components/ExprEditor/RawString.vue
+++ b/frontend/src/components/ExprEditor/RawString.vue
@@ -14,7 +14,7 @@
v-if="allowAdmin"
size="small"
type="default"
- :style="'flex-shrink: 0;padding-left: 0;padding-right: 0;--n-width: 28px;--n-color: white;'"
+ :style="'shrink: 0;padding-left: 0;padding-right: 0;--n-width: 28px;--n-color: white;'"
@click="$emit('remove')"
>
<heroicons:trash class="w-3.5 h-3.5" />
diff --git a/frontend/src/components/ExprEditor/components/FactorSelect.vue b/frontend/src/components/ExprEditor/components/FactorSelect.vue
index 592713ed7f..e399a6c1d6 100644
--- a/frontend/src/components/ExprEditor/components/FactorSelect.vue
+++ b/frontend/src/components/ExprEditor/components/FactorSelect.vue
@@ -5,7 +5,7 @@
:consistent-menu-width="false"
:disabled="!allowAdmin"
size="small"
- style="width: auto; min-width: 7rem; flex-shrink: 0"
+ style="width: auto; min-width: 7rem; shrink: 0"
/>
</template>
diff --git a/frontend/src/components/ExprEditor/components/OperatorSelect.vue b/frontend/src/components/ExprEditor/components/OperatorSelect.vue
index 5791402bce..8fac5d938a 100644
--- a/frontend/src/components/ExprEditor/components/OperatorSelect.vue
+++ b/frontend/src/components/ExprEditor/components/OperatorSelect.vue
@@ -6,7 +6,7 @@
:consistent-menu-width="false"
:disabled="!allowAdmin"
size="small"
- style="width: auto; max-width: 7rem; min-width: 2.5rem; flex-shrink: 0"
+ style="width: auto; max-width: 7rem; min-width: 2.5rem; shrink: 0"
/>
</template>
diff --git a/frontend/src/components/ExternalTableDetailDrawer.vue b/frontend/src/components/ExternalTableDetailDrawer.vue
index 47ba38894b..9880d44b02 100644
--- a/frontend/src/components/ExternalTableDetailDrawer.vue
+++ b/frontend/src/components/ExternalTableDetailDrawer.vue
@@ -3,7 +3,7 @@
<DrawerContent :title="$t('database.foreign-table-detail')">
<div
v-if="externalTable"
- class="flex-1 overflow-auto focus:outline-none w-[calc(100vw-256px)]"
+ class="flex-1 overflow-auto focus:outline-hidden w-[calc(100vw-256px)]"
tabindex="0"
>
<main class="flex-1 relative pb-8 overflow-y-auto">
diff --git a/frontend/src/components/FileContentPreviewModal.vue b/frontend/src/components/FileContentPreviewModal.vue
index eeb98552f1..e3e20d9366 100644
--- a/frontend/src/components/FileContentPreviewModal.vue
+++ b/frontend/src/components/FileContentPreviewModal.vue
@@ -7,7 +7,7 @@
</p>
<NSelect
v-model:value="state.encoding"
- class="!w-auto"
+ class="w-auto!"
filterable
:options="encodingOptions"
/>
diff --git a/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue b/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue
index 0261139fbc..1d1451d93b 100644
--- a/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue
+++ b/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue
@@ -11,7 +11,7 @@
{{
$t("settings.general.workspace.maximum-sql-result.size.description")
}}
- <span class="!font-semibold textinfolabel">
+ <span class="font-semibold! textinfolabel">
{{
$t("settings.general.workspace.maximum-sql-result.size.default", {
limit: defaultMaximumResultSizeInMB,
@@ -48,7 +48,7 @@
{{
$t("settings.general.workspace.maximum-sql-result.rows.description")
}}
- <span class="!font-semibold textinfolabel">
+ <span class="font-semibold! textinfolabel">
{{ $t("settings.general.workspace.maximum-sql-result.rows.limit") }}
</span>
</p>
diff --git a/frontend/src/components/GeneralSetting/PasswordRestrictionSetting.vue b/frontend/src/components/GeneralSetting/PasswordRestrictionSetting.vue
index eb557324b3..b31504beab 100644
--- a/frontend/src/components/GeneralSetting/PasswordRestrictionSetting.vue
+++ b/frontend/src/components/GeneralSetting/PasswordRestrictionSetting.vue
@@ -106,7 +106,7 @@
<NCheckbox
:checked="!!state.passwordRotation"
:readonly="!allowEdit"
- class="!flex !items-center"
+ class="flex! items-center!"
@update:checked="
(checked) => {
if (checked) {
diff --git a/frontend/src/components/GeneralSetting/QueryDataPolicySetting.vue b/frontend/src/components/GeneralSetting/QueryDataPolicySetting.vue
index 4b79043e99..13fdc617ea 100644
--- a/frontend/src/components/GeneralSetting/QueryDataPolicySetting.vue
+++ b/frontend/src/components/GeneralSetting/QueryDataPolicySetting.vue
@@ -10,7 +10,7 @@
{{
$t("settings.general.workspace.query-data-policy.timeout.description")
}}
- <span class="!font-semibold textinfolabel">
+ <span class="font-semibold! textinfolabel">
{{ $t("settings.general.workspace.maximum-sql-result.rows.limit") }}
</span>
</p>
diff --git a/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/index.vue b/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/index.vue
index 0ea19fdbe1..985aa07875 100644
--- a/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/index.vue
+++ b/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/index.vue
@@ -4,7 +4,7 @@
v-if="allowSelectAll"
v-model:value="state.allDatabases"
:disabled="disabled"
- class="w-full !flex flex-row justify-start items-center gap-4"
+ class="w-full flex! flex-row justify-start items-center gap-4"
>
<NTooltip trigger="hover">
<template #trigger>
@@ -15,7 +15,7 @@
</template>
{{ $t("issue.grant-request.all-databases-tip") }}
</NTooltip>
- <NRadio class="!leading-6" :value="false" :disabled="!project">
+ <NRadio class="leading-6!" :value="false" :disabled="!project">
<div class="flex items-center space-x-1">
<FeatureBadge :feature="requiredFeature" />
<span>{{ $t("issue.grant-request.manually-select") }}</span>
diff --git a/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue b/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue
index 2cf9662642..ae9da34f2d 100644
--- a/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue
+++ b/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue
@@ -8,7 +8,7 @@
<DrawerContent
:title="$t('issue.title.request-role')"
:closable="true"
- class="w-[50rem] max-w-[100vw] relative"
+ class="w-200 max-w-[100vw] relative"
>
<div class="w-full mx-auto space-y-4">
<AddProjectMemberForm
diff --git a/frontend/src/components/HelpDrawer/HelpDrawer.vue b/frontend/src/components/HelpDrawer/HelpDrawer.vue
index f04e7124df..d8ede62e2c 100644
--- a/frontend/src/components/HelpDrawer/HelpDrawer.vue
+++ b/frontend/src/components/HelpDrawer/HelpDrawer.vue
@@ -1,7 +1,7 @@
<template>
<Drawer
:show="active"
- class="!w-96 max-w-full"
+ class="w-96! max-w-full"
:close-on-esc="true"
@update:show="(show: boolean) => !show && onClose()"
>
@@ -20,14 +20,18 @@
>
<p class="text-sm mb-2">微信扫码加入官方社群</p>
<div class="flex flex-row justify-center">
- <div class="qrcode-card">
+ <div
+ class="w-20 flex flex-col items-center justify-start text-xs"
+ >
<img
src="@/assets/wechat-official-qrcode.webp"
alt="微信公众号"
/>
<span>公众号</span>
</div>
- <div class="qrcode-card ml-4">
+ <div
+ class="w-20 flex flex-col items-center justify-start text-xs ml-4"
+ >
<img
src="@/assets/bb-helper-wechat-qrcode.webp"
alt="BB_小助手"
@@ -175,9 +179,3 @@ const activate = () => (active.value = true);
const deactivate = () => (active.value = false);
</script>
-
-<style scoped>
-.qrcode-card {
- @apply w-20 flex flex-col items-center justify-start text-xs;
-}
-</style>
diff --git a/frontend/src/components/IAMRemindModal.vue b/frontend/src/components/IAMRemindModal.vue
index ef2ce9aeee..20cd74467d 100644
--- a/frontend/src/components/IAMRemindModal.vue
+++ b/frontend/src/components/IAMRemindModal.vue
@@ -4,7 +4,7 @@
:title="$t('remind.role-expire.title')"
@close="onClose"
>
- <div class="w-[30rem] max-w-[calc(100vw-10rem)]">
+ <div class="w-120 max-w-[calc(100vw-10rem)]">
<div class="space-y-2">
<p>{{ $t("remind.role-expire.content") }}</p>
<ul class="list-disc textinfolabel ml-4">
diff --git a/frontend/src/components/IdentityProvider/IdentityProviderCreateWizard.vue b/frontend/src/components/IdentityProvider/IdentityProviderCreateWizard.vue
index e6bc7531dc..029bb0fe31 100644
--- a/frontend/src/components/IdentityProvider/IdentityProviderCreateWizard.vue
+++ b/frontend/src/components/IdentityProvider/IdentityProviderCreateWizard.vue
@@ -2,7 +2,7 @@
<Drawer :show="props.show" @update:show="$emit('update:show', $event)">
<DrawerContent
:title="$t('settings.sso.create')"
- class="w-[64rem] max-w-[100vw]"
+ class="w-5xl max-w-[100vw]"
:closable="true"
>
<div class="w-full mx-auto space-y-6">
@@ -54,7 +54,7 @@
<div class="flex items-start space-x-3 w-full">
<component
:is="getProviderIcon(item.type)"
- class="w-6 h-6 mt-1 flex-shrink-0"
+ class="w-6 h-6 mt-1 shrink-0"
:stroke-width="1.5"
/>
<div class="flex-1">
@@ -124,7 +124,7 @@
}
"
size="large"
- class="!grid grid-cols-1 sm:grid-cols-2 gap-4"
+ class="grid! grid-cols-1 sm:grid-cols-2 gap-4"
>
<div
v-for="template in templateList"
@@ -143,7 +143,7 @@
<div class="flex items-center space-x-3">
<component
:is="getTemplateIcon(template.title)"
- class="w-8 h-8 flex-shrink-0"
+ class="w-8 h-8 shrink-0"
:stroke-width="1"
/>
<div class="flex-1">
diff --git a/frontend/src/components/IdentityProvider/IdentityProviderExternalURL.vue b/frontend/src/components/IdentityProvider/IdentityProviderExternalURL.vue
index 9da47e1db7..85ee9240e7 100644
--- a/frontend/src/components/IdentityProvider/IdentityProviderExternalURL.vue
+++ b/frontend/src/components/IdentityProvider/IdentityProviderExternalURL.vue
@@ -1,7 +1,7 @@
<template>
<div class="p-4 rounded-lg border border-gray-200 bg-gray-50">
<div class="flex items-start space-x-3">
- <div class="flex-shrink-0">
+ <div class="shrink-0">
<InfoIcon class="w-5 h-5 text-blue-500 mt-0.5" />
</div>
<div class="flex-1 min-w-0">
diff --git a/frontend/src/components/IdentityProvider/TestConnection.vue b/frontend/src/components/IdentityProvider/TestConnection.vue
index 4c223abf21..680aa6a8f9 100644
--- a/frontend/src/components/IdentityProvider/TestConnection.vue
+++ b/frontend/src/components/IdentityProvider/TestConnection.vue
@@ -12,7 +12,7 @@
<NModal
v-model:show="showClaimsDialog"
preset="dialog"
- class="!w-128"
+ class="w-128!"
:show-icon="false"
>
<template #header>
diff --git a/frontend/src/components/InputWithTemplate/AutoWidthInput.vue b/frontend/src/components/InputWithTemplate/AutoWidthInput.vue
index 9208a24730..e090c74590 100644
--- a/frontend/src/components/InputWithTemplate/AutoWidthInput.vue
+++ b/frontend/src/components/InputWithTemplate/AutoWidthInput.vue
@@ -8,7 +8,7 @@
v-model="state.data"
:style="`width: ${state.width}px;`"
:disabled="disabled"
- class="px-0 m-0 py-1 cleared-input outline-none"
+ class="px-0 m-0 py-1 shadow-none ring-0 border-0 border-none outline-hidden focus:shadow-none focus:ring-0 focus:border-0 focus:border-none"
type="text"
@keyup="(e) => $emit('keyup', e)"
@keydown="(e) => $emit('keydown', e)"
@@ -76,10 +76,3 @@ const updateWidth = () => {
watchEffect(updateWidth);
</script>
-
-<style scoped>
-.cleared-input,
-.cleared-input:focus {
- @apply shadow-none ring-0 border-0 border-none;
-}
-</style>
diff --git a/frontend/src/components/InputWithTemplate/InputWithTemplate.vue b/frontend/src/components/InputWithTemplate/InputWithTemplate.vue
index f5408b2bc3..e6ad25b94b 100644
--- a/frontend/src/components/InputWithTemplate/InputWithTemplate.vue
+++ b/frontend/src/components/InputWithTemplate/InputWithTemplate.vue
@@ -1,11 +1,11 @@
<template>
- <div class="border border-gray-300 rounded">
- <div class="flex flex-wrap gap-2 p-3 bg-gray-50 rounded">
+ <div class="border border-gray-300 rounded-sm">
+ <div class="flex flex-wrap gap-2 p-3 bg-gray-50 rounded-sm">
<div v-for="template in templateList" :key="template.id">
<NTooltip :disabled="!template.description">
<template #trigger>
<div
- class="px-4 py-1 rounded text-sm font-sm font-normal border border-gray-300 bg-gray-100 cursor-pointer hover:bg-gray-200"
+ class="px-4 py-1 rounded-sm text-sm font-sm font-normal border border-gray-300 bg-gray-100 cursor-pointer hover:bg-gray-200"
@click="() => onTemplateAdd(template)"
>
{{ template.id }}
@@ -44,7 +44,7 @@
<input
ref="inputRef"
v-model="state.inputData"
- class="flex-1 px-0 m-0 py-1 cleared-input outline-none"
+ class="flex-1 px-0 m-0 py-1 shadow-none ring-0 border-0 border-none outline-hidden focus:shadow-none focus:ring-0 focus:border-0 focus:border-none"
type="text"
:disabled="disabled"
@keydown.delete="onInputDataDeleteEnter"
@@ -332,10 +332,3 @@ onUnmounted(() => {
window.removeEventListener("resize", onWindowResize);
});
</script>
-
-<style scoped>
-.cleared-input,
-.cleared-input:focus {
- @apply shadow-none ring-0 border-0 border-none;
-}
-</style>
diff --git a/frontend/src/components/Instance/InstanceArchiveRestoreButton.vue b/frontend/src/components/Instance/InstanceArchiveRestoreButton.vue
index 5899a9e1e9..e2e84b06c8 100644
--- a/frontend/src/components/Instance/InstanceArchiveRestoreButton.vue
+++ b/frontend/src/components/Instance/InstanceArchiveRestoreButton.vue
@@ -15,7 +15,7 @@
:confirm-description="
$t('instance.archived-instances-will-not-be-displayed')
"
- class="!border-none"
+ class="border-none!"
@confirm="archiveOrRestoreInstance(true)"
>
<div class="mt-3">
@@ -39,7 +39,7 @@
])
"
:confirm-description="''"
- class="!border-none"
+ class="border-none!"
@confirm="archiveOrRestoreInstance(false)"
/>
</template>
diff --git a/frontend/src/components/InstanceForm/DataSourceSection/CreateDataSourceExample.vue b/frontend/src/components/InstanceForm/DataSourceSection/CreateDataSourceExample.vue
index a9a51d738f..b6dc648436 100644
--- a/frontend/src/components/InstanceForm/DataSourceSection/CreateDataSourceExample.vue
+++ b/frontend/src/components/InstanceForm/DataSourceSection/CreateDataSourceExample.vue
@@ -189,7 +189,7 @@
/>
</NConfigProvider>
<div
- class="flex items-center -ml-px px-2 py-2 border border-gray-300 text-sm font-medium text-control-light disabled:text-gray-300 bg-gray-50 hover:bg-gray-100 disabled:bg-gray-50 focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-1 disabled:cursor-not-allowed rounded-r-[3px]"
+ class="flex items-center -ml-px px-2 py-2 border border-gray-300 text-sm font-medium text-control-light disabled:text-gray-300 bg-gray-50 hover:bg-gray-100 disabled:bg-gray-50 focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-1 disabled:cursor-not-allowed rounded-r-[3px]"
>
<CopyButton :content="grantStatement" />
</div>
diff --git a/frontend/src/components/InstanceForm/DataSourceSection/CreateReadOnlyDataSourceTips.vue b/frontend/src/components/InstanceForm/DataSourceSection/CreateReadOnlyDataSourceTips.vue
index 49b47135eb..881f8ad43f 100644
--- a/frontend/src/components/InstanceForm/DataSourceSection/CreateReadOnlyDataSourceTips.vue
+++ b/frontend/src/components/InstanceForm/DataSourceSection/CreateReadOnlyDataSourceTips.vue
@@ -4,13 +4,13 @@
class="mt-2 flex flex-row justify-start items-center bg-yellow-50 border-none rounded-lg p-2 px-3"
>
<heroicons-outline:exclamation
- class="h-6 w-6 text-yellow-400 flex-shrink-0 mr-1"
+ class="h-6 w-6 text-yellow-400 shrink-0 mr-1"
/>
<span class="text-yellow-800 text-sm">
{{ $t("instance.no-read-only-data-source-warn-for-admin-dba") }}
</span>
<NButton
- class="!ml-4 text-sm"
+ class="ml-4! text-sm"
@click.prevent="$emit('add-readonly-datasource')"
>
{{ $t("common.create") }}
diff --git a/frontend/src/components/InstanceForm/DataSourceSection/CredentialSourceForm.vue b/frontend/src/components/InstanceForm/DataSourceSection/CredentialSourceForm.vue
index 797d937d9e..c9bec1734e 100644
--- a/frontend/src/components/InstanceForm/DataSourceSection/CredentialSourceForm.vue
+++ b/frontend/src/components/InstanceForm/DataSourceSection/CredentialSourceForm.vue
@@ -222,7 +222,7 @@
</template>
<div
v-else-if="credentialSource === 'default'"
- class="mt-1 sm:col-span-3 sm:col-start-1 textinfolabel !leading-6 credential"
+ class="mt-1 sm:col-span-3 sm:col-start-1 textinfolabel leading-6! credential"
>
<span
v-if="
@@ -383,6 +383,9 @@ watch(
<style lang="postcss" scoped>
.credential :deep(.code) {
- @apply bg-gray-100 p-1 rounded-sm mr-1;
+ background-color: var(--color-gray-100);
+ padding: 0.25rem;
+ border-radius: 0.125rem;
+ margin-right: 0.25rem;
}
</style>
diff --git a/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue b/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue
index 35ec69d41d..8a5f010f3c 100644
--- a/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue
+++ b/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue
@@ -962,7 +962,7 @@ MIIEvQ...
</template>
<template v-else>
<NButton
- class="!mt-2"
+ class="mt-2!"
:disabled="!allowEdit"
@click.prevent="handleEditSSL"
>
diff --git a/frontend/src/components/InstanceForm/DataSourceSection/DataSourceTabs.vue b/frontend/src/components/InstanceForm/DataSourceSection/DataSourceTabs.vue
index 9d74a821d8..75abcaadd3 100644
--- a/frontend/src/components/InstanceForm/DataSourceSection/DataSourceTabs.vue
+++ b/frontend/src/components/InstanceForm/DataSourceSection/DataSourceTabs.vue
@@ -14,7 +14,7 @@
<span>{{ $t("common.read-only") }}</span>
<BBButtonConfirm
v-if="hasReadOnlyDataSource"
- class="!ml-2"
+ class="ml-2!"
:type="'DELETE'"
:disabled="!allowUpdate"
:require-confirm="!ds.pendingCreate"
diff --git a/frontend/src/components/InstanceForm/Form.vue b/frontend/src/components/InstanceForm/Form.vue
index 21e0f71e42..73714e8271 100644
--- a/frontend/src/components/InstanceForm/Form.vue
+++ b/frontend/src/components/InstanceForm/Form.vue
@@ -11,7 +11,7 @@
<template #suffix="{ engine }: { engine: Engine }">
<BBBetaBadge
v-if="isEngineBeta(engine)"
- class="absolute -top-1.5 -right-1 rounded text-xs !bg-gray-500 px-1 !py-0 z-10"
+ class="absolute -top-1.5 -right-1 rounded-sm text-xs bg-gray-500! px-1 py-0! z-10"
/>
</template>
</InstanceEngineRadioGrid>
@@ -268,7 +268,7 @@
<label
v-if="index === 0"
for="additionalAddressesHost"
- class="textlabel !font-normal flex flex-row items-center"
+ class="textlabel font-normal! flex flex-row items-center"
>
{{ $t("instance.host-or-socket") }}
</label>
@@ -285,7 +285,7 @@
<label
v-if="index === 0"
for="additionalAddressesPort"
- class="textlabel !font-normal flex flex-row items-center"
+ class="textlabel font-normal! flex flex-row items-center"
>
{{ $t("instance.port") }}
</label>
@@ -310,7 +310,7 @@
</template>
<div class="mt-1 sm:col-span-12 sm:col-start-1">
<NButton
- class="ml-auto !w-12"
+ class="ml-auto w-12!"
size="small"
@click.prevent="addDSAdditionalAddress"
>
@@ -810,6 +810,7 @@ const testConnectionForCurrentEditingDS = () => {
<style lang="postcss" scoped>
.instance-engine-button :deep(.n-button__content) {
- @apply w-full justify-start;
+ width: 100%;
+ justify-content: flex-start;
}
</style>
diff --git a/frontend/src/components/InstanceForm/MaximumConnectionsInput.vue b/frontend/src/components/InstanceForm/MaximumConnectionsInput.vue
index 397da2311b..d5d7694729 100644
--- a/frontend/src/components/InstanceForm/MaximumConnectionsInput.vue
+++ b/frontend/src/components/InstanceForm/MaximumConnectionsInput.vue
@@ -30,7 +30,7 @@
:checked="state.mode === 'CUSTOM'"
:disabled="!allowEdit || !hasFeature"
value="CUSTOM"
- class="!items-center"
+ class="items-center!"
@click="handleModeChange('CUSTOM')"
>
<div class="flex items-center gap-x-1.5">
diff --git a/frontend/src/components/InstanceForm/ScanIntervalInput.vue b/frontend/src/components/InstanceForm/ScanIntervalInput.vue
index 5da00ffa88..4b216d8b90 100644
--- a/frontend/src/components/InstanceForm/ScanIntervalInput.vue
+++ b/frontend/src/components/InstanceForm/ScanIntervalInput.vue
@@ -40,7 +40,7 @@
:checked="state.mode === 'CUSTOM'"
:disabled="!allowEdit"
value="CUSTOM"
- class="!items-center"
+ class="items-center!"
@click="handleModeChange('CUSTOM')"
>
<div class="flex items-center gap-x-1.5">
diff --git a/frontend/src/components/InstanceForm/SyncDatabases.vue b/frontend/src/components/InstanceForm/SyncDatabases.vue
index a0ff490f18..456e0a5fe8 100644
--- a/frontend/src/components/InstanceForm/SyncDatabases.vue
+++ b/frontend/src/components/InstanceForm/SyncDatabases.vue
@@ -17,7 +17,7 @@
</NCheckbox>
<div v-if="!state.syncAll">
<BBSpin v-if="state.loading" class="opacity-60" />
- <div v-else class="border rounded-sm p-2 space-y-2">
+ <div v-else class="border rounded-xs p-2 space-y-2">
<SearchBox
v-model:value="state.searchText"
style="max-width: 100%"
@@ -185,6 +185,6 @@ const handleKeyDown = (e: KeyboardEvent) => {
<style lang="postcss" scoped>
.sync-database-tree :deep(.n-tree-node-switcher--hide) {
- @apply !hidden;
+ display: none !important;
}
</style>
diff --git a/frontend/src/components/IssueV1/components/DescriptionSection/DescriptionSection.vue b/frontend/src/components/IssueV1/components/DescriptionSection/DescriptionSection.vue
index ba349edd75..40ada0897e 100644
--- a/frontend/src/components/IssueV1/components/DescriptionSection/DescriptionSection.vue
+++ b/frontend/src/components/IssueV1/components/DescriptionSection/DescriptionSection.vue
@@ -52,7 +52,7 @@
/>
<div
v-else
- class="min-h-[3rem] max-h-[16rem] whitespace-pre-wrap px-4 py-3 text-sm bg-white rounded-lg border border-gray-200 overflow-y-auto"
+ class="min-h-12 max-h-64 whitespace-pre-wrap px-4 py-3 text-sm bg-white rounded-lg border border-gray-200 overflow-y-auto"
>
<template v-if="issue.description">
<iframe
diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue
index 612b8cedd5..2897a0bb62 100644
--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue
+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue
@@ -68,7 +68,7 @@
<div v-if="!state.editCommentMode && allowCreateComment" class="mt-2">
<div class="flex gap-3">
- <div class="flex-shrink-0 pt-1">
+ <div class="shrink-0 pt-1">
<UserAvatar :user="currentUser" />
</div>
<div class="min-w-0 flex-1">
diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentAction.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentAction.vue
index 936e3d0d4d..bf4bad3e78 100644
--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentAction.vue
+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentAction.vue
@@ -24,7 +24,7 @@
<ActionSentence
:issue="issue"
:issue-comment="issueComment"
- class="text-gray-600 break-words min-w-0"
+ class="text-gray-600 wrap-break-word min-w-0"
/>
<HumanizeTs
@@ -60,7 +60,7 @@
</div>
<div
v-if="$slots.comment"
- class="px-4 py-3 border-t border-gray-200 text-sm text-gray-700 whitespace-pre-wrap break-words"
+ class="px-4 py-3 border-t border-gray-200 text-sm text-gray-700 whitespace-pre-wrap wrap-break-word"
>
<slot name="comment" />
</div>
diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue
index 013d40061d..704812bf67 100644
--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue
+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue
@@ -25,7 +25,7 @@
class="flex items-center gap-x-2 text-sm min-w-0 flex-wrap"
>
<ActionCreator :creator="issue.creator" />
- <span class="text-gray-600 break-words min-w-0">{{
+ <span class="text-gray-600 wrap-break-word min-w-0">{{
$t("activity.sentence.created-issue")
}}</span>
<HumanizeTs
diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/StatementUpdate.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/StatementUpdate.vue
index 305941db52..080d36372c 100644
--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/StatementUpdate.vue
+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/StatementUpdate.vue
@@ -6,8 +6,8 @@
<BBModal
v-if="showPanel"
:title="$t('common.detail')"
- header-class="!border-0"
- container-class="!pt-0"
+ header-class="border-0!"
+ container-class="pt-0!"
@close="showPanel = false"
>
<div
diff --git a/frontend/src/components/IssueV1/components/IssueLabelSelector.vue b/frontend/src/components/IssueV1/components/IssueLabelSelector.vue
index 45d9e29954..85469f5be0 100644
--- a/frontend/src/components/IssueV1/components/IssueLabelSelector.vue
+++ b/frontend/src/components/IssueV1/components/IssueLabelSelector.vue
@@ -103,7 +103,7 @@ const renderLabel = (option: IssueLabelOption, selected: boolean) => {
return h("div", { class: "flex items-center gap-x-2" }, [
h(NCheckbox, { checked: selected, size: "small" }),
h("div", {
- class: "w-4 h-4 rounded cursor-pointer relative",
+ class: "w-4 h-4 rounded-sm cursor-pointer relative",
style: `background-color: ${color};`,
onClick: () => {},
}),
@@ -131,7 +131,7 @@ const renderTag = ({
default: () =>
h("div", { class: "flex items-center gap-x-2" }, [
h("div", {
- class: "w-4 h-4 rounded",
+ class: "w-4 h-4 rounded-sm",
style: `background-color: ${color};`,
}),
value,
diff --git a/frontend/src/components/IssueV1/components/IssueSearch/useIssueSearchScopeOptions.ts b/frontend/src/components/IssueV1/components/IssueSearch/useIssueSearchScopeOptions.ts
index ba7a155d04..76006878c5 100644
--- a/frontend/src/components/IssueV1/components/IssueSearch/useIssueSearchScopeOptions.ts
+++ b/frontend/src/components/IssueV1/components/IssueSearch/useIssueSearchScopeOptions.ts
@@ -260,7 +260,7 @@ export const useIssueSearchScopeOptions = (
render: () =>
h("div", { class: "flex items-center gap-x-2" }, [
h("div", {
- class: "w-4 h-4 rounded",
+ class: "w-4 h-4 rounded-sm",
style: `background-color: ${label.color};`,
}),
label.value,
diff --git a/frontend/src/components/IssueV1/components/IssueStatusIcon.vue b/frontend/src/components/IssueV1/components/IssueStatusIcon.vue
index ba83779c0c..1181d36a65 100644
--- a/frontend/src/components/IssueV1/components/IssueStatusIcon.vue
+++ b/frontend/src/components/IssueV1/components/IssueStatusIcon.vue
@@ -16,7 +16,7 @@
aria-hidden="true"
></span>
<span
- class="w-full h-full rounded-full z-[1] bg-info"
+ class="w-full h-full rounded-full z-1 bg-info"
aria-hidden="true"
></span>
</div>
diff --git a/frontend/src/components/IssueV1/components/IssueTableV1.vue b/frontend/src/components/IssueV1/components/IssueTableV1.vue
index 6861c212fd..8edefa0914 100644
--- a/frontend/src/components/IssueV1/components/IssueTableV1.vue
+++ b/frontend/src/components/IssueV1/components/IssueTableV1.vue
@@ -151,7 +151,7 @@ const columnList = computed((): DataTableColumn<ComposedIssue>[] => {
hide: !props.highlightText,
renderExpand: (issue) => (
<div
- class="max-h-[20rem] overflow-auto whitespace-pre-wrap break-words break-all"
+ class="max-h-80 overflow-auto whitespace-pre-wrap wrap-break-word break-all"
innerHTML={highlight(issue.description)}
></div>
),
@@ -193,7 +193,7 @@ const columnList = computed((): DataTableColumn<ComposedIssue>[] => {
</a>
{labels.length > 0 && (
<IssueLabelSelector
- class="!w-auto shrink-0"
+ class="w-auto! shrink-0"
size="small"
selected={labels}
maxTagCount={3}
@@ -378,11 +378,12 @@ const isIssueExpanded = (issue: ComposedIssue): boolean => {
<style scoped lang="postcss">
:deep(.n-base-selection-tags) {
- @apply !bg-transparent !p-0;
+ background-color: transparent !important;
+ padding: 0 !important;
}
:deep(.n-base-suffix),
:deep(.n-base-selection__border),
:deep(.n-base-selection__state-border) {
- @apply !hidden;
+ display: none !important;
}
</style>
diff --git a/frontend/src/components/IssueV1/components/Panel/IssueReviewActionPanel.vue b/frontend/src/components/IssueV1/components/Panel/IssueReviewActionPanel.vue
index 178d926189..7e1a7b8e5f 100644
--- a/frontend/src/components/IssueV1/components/Panel/IssueReviewActionPanel.vue
+++ b/frontend/src/components/IssueV1/components/Panel/IssueReviewActionPanel.vue
@@ -20,7 +20,7 @@
<PlanCheckRunBar
v-if="issue.planCheckRunList.length > 0"
class="shrink-0 flex-col gap-y-1"
- label-class="!text-base"
+ label-class="text-base!"
:allow-run-checks="false"
:plan-name="issue.plan"
:plan-check-run-list="issue.planCheckRunList"
diff --git a/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue b/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue
index d3fa89bf9d..4bc4019294 100644
--- a/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue
+++ b/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue
@@ -121,7 +121,7 @@
planCheckRunList.length > 0
"
class="shrink-0 flex-col gap-y-1"
- label-class="!text-base"
+ label-class="text-base!"
:allow-run-checks="false"
:plan-name="issue.plan"
:plan-check-run-list="planCheckRunList"
diff --git a/frontend/src/components/IssueV1/components/StageSection/StageCard.vue b/frontend/src/components/IssueV1/components/StageSection/StageCard.vue
index 1cf74b3282..beefcd9cb9 100644
--- a/frontend/src/components/IssueV1/components/StageSection/StageCard.vue
+++ b/frontend/src/components/IssueV1/components/StageSection/StageCard.vue
@@ -192,34 +192,50 @@ const handleClickStage = () => {
<style scoped lang="postcss">
.stage {
- @apply cursor-default flex items-center justify-start w-full text-sm relative;
- @apply lg:flex-1;
+ cursor: default;
+ display: flex;
+ align-items: center;
+ justify-content: flex-start;
+ width: 100%;
+ font-size: 0.875rem;
+ line-height: 1.25rem;
+ position: relative;
+}
+@media (min-width: 1024px) {
+ .stage {
+ flex: 1 1 0%;
+ }
}
.stage.selected .text .with-underline {
- @apply underline;
+ text-decoration-line: underline;
}
.stage .text {
- @apply cursor-pointer flex-1 ml-4 flex flex-col gap-y-0.5;
+ cursor: pointer;
+ flex: 1 1 0%;
+ margin-left: 1rem;
+ display: flex;
+ flex-direction: column;
+ row-gap: 0.125rem;
}
.stage.active .text {
- @apply font-bold;
+ font-weight: 700;
}
.stage.status_done .text {
- @apply text-control;
+ color: var(--color-control);
}
.stage.status_pending .text,
.stage.status_pending_approval .text {
- @apply text-control;
+ color: var(--color-control);
}
.stage.active.status_pending .text,
.stage.active.status_pending_approval .text {
- @apply text-info;
+ color: var(--color-info);
}
.stage.status_running .text {
- @apply text-info;
+ color: var(--color-info);
}
.stage.status_failed .text {
- @apply text-red-500;
+ color: var(--color-red-500);
}
</style>
diff --git a/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorActionPopover.vue b/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorActionPopover.vue
index d6bbb42395..f877536d74 100644
--- a/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorActionPopover.vue
+++ b/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorActionPopover.vue
@@ -15,7 +15,7 @@
<template
v-if="shouldShowInstanceRoleSelect && shouldShowTransactionModeToggle"
>
- <NDivider class="!my-2" />
+ <NDivider class="my-2!" />
</template>
<template v-if="shouldShowTransactionModeToggle">
<TransactionModeToggle />
diff --git a/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorView.vue b/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorView.vue
index 35e29d47a1..6d2ba9f787 100644
--- a/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorView.vue
+++ b/frontend/src/components/IssueV1/components/StatementSection/EditorView/EditorView.vue
@@ -139,8 +139,8 @@
v-model:show="state.showEditorModal"
:title="statementTitle"
:trap-focus="true"
- header-class="!border-b-0"
- container-class="!pt-0 !overflow-hidden"
+ header-class="border-b-0!"
+ container-class="pt-0! overflow-hidden!"
>
<div
id="modal-editor-container"
diff --git a/frontend/src/components/IssueV1/components/StatementSection/EditorView/InstanceRoleSelect.vue b/frontend/src/components/IssueV1/components/StatementSection/EditorView/InstanceRoleSelect.vue
index 0dfc4ff851..1890adb8c9 100644
--- a/frontend/src/components/IssueV1/components/StatementSection/EditorView/InstanceRoleSelect.vue
+++ b/frontend/src/components/IssueV1/components/StatementSection/EditorView/InstanceRoleSelect.vue
@@ -3,7 +3,7 @@
<span class="shrink-0">{{ $t("common.role.self") }}</span>
<NSelect
v-model:value="state.selectedRole"
- class="!w-40 grow"
+ class="w-40! grow"
consistent-menu-width
size="small"
:options="options"
diff --git a/frontend/src/components/IssueV1/components/TaskListSection/TaskCard.vue b/frontend/src/components/IssueV1/components/TaskListSection/TaskCard.vue
index a16d2a24de..594b37033f 100644
--- a/frontend/src/components/IssueV1/components/TaskListSection/TaskCard.vue
+++ b/frontend/src/components/IssueV1/components/TaskListSection/TaskCard.vue
@@ -3,7 +3,7 @@
:class="
twMerge(
'task',
- 'group px-1.5 py-1 cursor-pointer border rounded lg:flex-1 flex justify-between items-stretch overflow-hidden gap-x-1',
+ 'group px-1.5 py-1 cursor-pointer border rounded-sm lg:flex-1 flex justify-between items-stretch overflow-hidden gap-x-1',
taskClass
)
"
@@ -135,22 +135,25 @@ const onClickTask = (task: Task) => {
<style scoped lang="postcss">
.task.selected {
- @apply border-info bg-info bg-opacity-5;
+ border-color: var(--color-info);
+ background-color: var(--color-info);
+ background-opacity: 0.05;
}
.task .name {
- @apply whitespace-nowrap break-all;
+ white-space: nowrap;
+ word-break: break-all;
}
.task.status_done .name {
- @apply text-control;
+ color: var(--color-control);
}
.task.status_pending .name,
.task.status_not_started .name {
- @apply text-control;
+ color: var(--color-control);
}
.task.status_running .name {
- @apply text-info;
+ color: var(--color-info);
}
.task.status_failed .name {
- @apply text-red-500;
+ color: var(--color-red-500);
}
</style>
diff --git a/frontend/src/components/IssueV1/components/TaskListSection/TaskListSection.vue b/frontend/src/components/IssueV1/components/TaskListSection/TaskListSection.vue
index 42e4ea4039..c042021839 100644
--- a/frontend/src/components/IssueV1/components/TaskListSection/TaskListSection.vue
+++ b/frontend/src/components/IssueV1/components/TaskListSection/TaskListSection.vue
@@ -234,12 +234,30 @@ watch(
<style scoped lang="postcss">
.task-list::before {
- @apply absolute top-0 h-4 w-full -ml-4 z-10 pointer-events-none transition-shadow;
+ position: absolute;
+ top: 0;
+ height: 1rem;
+ width: 100%;
+ margin-left: -1rem;
+ z-index: 10;
+ pointer-events: none;
+ transition-property: box-shadow;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+ transition-duration: 150ms;
content: "";
box-shadow: none;
}
.task-list::after {
- @apply absolute bottom-0 h-4 w-full -ml-4 z-10 pointer-events-none transition-shadow;
+ position: absolute;
+ bottom: 0;
+ height: 1rem;
+ width: 100%;
+ margin-left: -1rem;
+ z-index: 10;
+ pointer-events: none;
+ transition-property: box-shadow;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+ transition-duration: 150ms;
content: "";
box-shadow: none;
}
diff --git a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunStatusIcon.vue b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunStatusIcon.vue
index 666a6d704e..84746f98cb 100644
--- a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunStatusIcon.vue
+++ b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunStatusIcon.vue
@@ -1,6 +1,6 @@
<template>
<div
- class="relative w-5 h-5 flex flex-shrink-0 items-center justify-center rounded-full select-none"
+ class="relative w-5 h-5 flex shrink-0 items-center justify-center rounded-full select-none"
:class="classes"
>
<template v-if="status === TaskRun_Status.PENDING">
@@ -13,7 +13,7 @@
aria-hidden="true"
/>
<span
- class="w-full h-full rounded-full z-[1] bg-info"
+ class="w-full h-full rounded-full z-1 bg-info"
aria-hidden="true"
/>
</div>
diff --git a/frontend/src/components/IssueV1/components/TaskStatusIcon.vue b/frontend/src/components/IssueV1/components/TaskStatusIcon.vue
index 43e9b3a549..0eb1cc9818 100644
--- a/frontend/src/components/IssueV1/components/TaskStatusIcon.vue
+++ b/frontend/src/components/IssueV1/components/TaskStatusIcon.vue
@@ -1,6 +1,6 @@
<template>
<div
- class="relative flex flex-shrink-0 items-center justify-center select-none w-6 h-6 overflow-hidden"
+ class="relative flex shrink-0 items-center justify-center select-none w-6 h-6 overflow-hidden"
:class="classes"
>
<template v-if="checkStatus === Advice_Level.ERROR">
@@ -28,7 +28,7 @@
aria-hidden="true"
/>
<span
- class="w-full h-full rounded-full z-[1] bg-info"
+ class="w-full h-full rounded-full z-1 bg-info"
aria-hidden="true"
/>
</div>
diff --git a/frontend/src/components/IssueV1/components/TaskStatusIconV1.vue b/frontend/src/components/IssueV1/components/TaskStatusIconV1.vue
index d8e2dd59fc..05f9b023fb 100644
--- a/frontend/src/components/IssueV1/components/TaskStatusIconV1.vue
+++ b/frontend/src/components/IssueV1/components/TaskStatusIconV1.vue
@@ -2,7 +2,7 @@
<NTooltip :disabled="!showTooltip">
<template #trigger>
<div
- class="relative flex flex-shrink-0 items-center justify-center select-none overflow-hidden"
+ class="relative flex shrink-0 items-center justify-center select-none overflow-hidden"
:class="[classes, containerSize]"
>
<template
@@ -27,7 +27,7 @@
aria-hidden="true"
/>
<span
- class="w-full h-full rounded-full z-[1] bg-info"
+ class="w-full h-full rounded-full z-1 bg-info"
aria-hidden="true"
/>
</div>
diff --git a/frontend/src/components/MarkdownEditor/MarkdownEditor.vue b/frontend/src/components/MarkdownEditor/MarkdownEditor.vue
index ebe711bf29..a31f965717 100644
--- a/frontend/src/components/MarkdownEditor/MarkdownEditor.vue
+++ b/frontend/src/components/MarkdownEditor/MarkdownEditor.vue
@@ -41,7 +41,7 @@
ref="contentTextArea"
v-model="state.content"
rows="4"
- class="block w-full px-4 py-3 resize-none whitespace-pre-wrap rounded-lg border border-gray-300 outline-none ring-0 text-sm"
+ class="block w-full px-4 py-3 resize-none whitespace-pre-wrap rounded-lg border border-gray-300 outline-hidden ring-0 text-sm"
:placeholder="placeholder || $t('issue.leave-a-comment')"
:maxlength="maxlength"
@mousedown="clearIssuePanel"
@@ -57,10 +57,10 @@
></textarea>
<div
ref="issuePanel"
- class="border rounded absolute hidden bg-white shadow-sm z-10"
+ class="border rounded-sm absolute hidden bg-white shadow-xs z-10"
>
<NScrollbar class="max-h-40">
- <ul class="text-sm rounded divide-y divide-solid">
+ <ul class="text-sm rounded-sm divide-y divide-solid">
<li
v-for="issue in filterIssueList"
:key="issue.name"
diff --git a/frontend/src/components/Member/MemberDataTable/cells/UserNameCell.vue b/frontend/src/components/Member/MemberDataTable/cells/UserNameCell.vue
index 1a4863bb8c..b47e09e6d3 100644
--- a/frontend/src/components/Member/MemberDataTable/cells/UserNameCell.vue
+++ b/frontend/src/components/Member/MemberDataTable/cells/UserNameCell.vue
@@ -8,7 +8,7 @@
<div :class="user.state === State.DELETED ? 'line-through' : ''">
<span
v-if="onClickUser"
- class="normal-link truncate max-w-[10rem]"
+ class="normal-link truncate max-w-40"
@click="onClickUser(user, $event)"
>
{{ user.title }}
diff --git a/frontend/src/components/MonacoEditor/DiffEditor.vue b/frontend/src/components/MonacoEditor/DiffEditor.vue
index 8ab969cea1..4c085d1263 100644
--- a/frontend/src/components/MonacoEditor/DiffEditor.vue
+++ b/frontend/src/components/MonacoEditor/DiffEditor.vue
@@ -182,6 +182,6 @@ defineExpose({
display: none !important;
}
.bb-monaco-diff-editor :deep(.monaco-editor .line-numbers) {
- @apply pr-2;
+ padding-right: 0.5rem;
}
</style>
diff --git a/frontend/src/components/MonacoEditor/MonacoEditor.vue b/frontend/src/components/MonacoEditor/MonacoEditor.vue
index 1cf73e775e..63bc321244 100644
--- a/frontend/src/components/MonacoEditor/MonacoEditor.vue
+++ b/frontend/src/components/MonacoEditor/MonacoEditor.vue
@@ -82,6 +82,6 @@ defineExpose({
display: none !important;
}
.bb-monaco-editor :deep(.monaco-editor .line-numbers) {
- @apply pr-2;
+ padding-right: 0.5rem;
}
</style>
diff --git a/frontend/src/components/PasswordSigninForm.vue b/frontend/src/components/PasswordSigninForm.vue
index f8f9be541c..faade94bcf 100644
--- a/frontend/src/components/PasswordSigninForm.vue
+++ b/frontend/src/components/PasswordSigninForm.vue
@@ -8,7 +8,7 @@
{{ $t("common.email") }}
<RequiredStar />
</label>
- <div class="mt-1 rounded-md shadow-sm">
+ <div class="mt-1 rounded-md shadow-xs">
<BBTextField
v-model:value="state.email"
required
@@ -39,14 +39,14 @@
hint: route.query.hint,
},
}"
- class="text-sm font-normal text-control-light hover:underline focus:outline-none"
+ class="text-sm font-normal text-control-light hover:underline focus:outline-hidden"
tabindex="-1"
>
{{ $t("auth.sign-in.forget-password") }}
</router-link>
</label>
<div
- class="relative flex flex-row items-center mt-1 rounded-md shadow-sm"
+ class="relative flex flex-row items-center mt-1 rounded-md shadow-xs"
>
<BBTextField
v-model:value="state.password"
diff --git a/frontend/src/components/Plan/components/AddSpecDrawer.vue b/frontend/src/components/Plan/components/AddSpecDrawer.vue
index 9974906c0f..7fe883c01e 100644
--- a/frontend/src/components/Plan/components/AddSpecDrawer.vue
+++ b/frontend/src/components/Plan/components/AddSpecDrawer.vue
@@ -39,7 +39,7 @@
<NRadio :value="MigrationType.DDL" class="w-full">
<div class="flex items-start space-x-3 w-full">
<FileDiffIcon
- class="w-6 h-6 mt-1 flex-shrink-0"
+ class="w-6 h-6 mt-1 shrink-0"
:stroke-width="1.5"
/>
<div class="flex-1">
@@ -64,7 +64,7 @@
<NRadio :value="MigrationType.DML" class="w-full">
<div class="flex items-start space-x-3 w-full">
<EditIcon
- class="w-6 h-6 mt-1 flex-shrink-0"
+ class="w-6 h-6 mt-1 shrink-0"
:stroke-width="1.5"
/>
<div class="flex-1">
@@ -187,7 +187,7 @@
><XIcon :size="16"
/></NButton>
</template>
- <div class="h-[60vh] min-h-[400px] border rounded">
+ <div class="h-[60vh] min-h-[400px] border rounded-sm">
<MonacoEditor
:readonly="true"
:content="previewDDL"
diff --git a/frontend/src/components/Plan/components/BannerSection/BannerSection.vue b/frontend/src/components/Plan/components/BannerSection/BannerSection.vue
index 9326055a3c..543bdbe2ff 100644
--- a/frontend/src/components/Plan/components/BannerSection/BannerSection.vue
+++ b/frontend/src/components/Plan/components/BannerSection/BannerSection.vue
@@ -18,7 +18,7 @@
>
<NButton
text
- class="!text-white hover:opacity-80"
+ class="text-white! hover:opacity-80"
:icon-placement="'right'"
@click="handleGoToRollout"
>
diff --git a/frontend/src/components/Plan/components/Configuration/GhostSection/GhostFlagsPanel.vue b/frontend/src/components/Plan/components/Configuration/GhostSection/GhostFlagsPanel.vue
index 54870fcf43..10444310ce 100644
--- a/frontend/src/components/Plan/components/Configuration/GhostSection/GhostFlagsPanel.vue
+++ b/frontend/src/components/Plan/components/Configuration/GhostSection/GhostFlagsPanel.vue
@@ -2,7 +2,7 @@
<Drawer :show="show" @close="close">
<DrawerContent
:title="title"
- class="w-[100vw] md:max-w-[calc(100vw-8rem)] md:w-[40vw]"
+ class="w-screen md:max-w-[calc(100vw-8rem)] md:w-[40vw]"
>
<template #default>
<div class="flex flex-col gap-y-4">
diff --git a/frontend/src/components/Plan/components/Configuration/InstanceRoleSection/InstanceRoleSelect.vue b/frontend/src/components/Plan/components/Configuration/InstanceRoleSection/InstanceRoleSelect.vue
index 66a1d032de..e4ecc1b125 100644
--- a/frontend/src/components/Plan/components/Configuration/InstanceRoleSection/InstanceRoleSelect.vue
+++ b/frontend/src/components/Plan/components/Configuration/InstanceRoleSection/InstanceRoleSelect.vue
@@ -1,7 +1,7 @@
<template>
<NSelect
v-model:value="selectedRole"
- class="!w-40"
+ class="w-40!"
consistent-menu-width
size="small"
:options="options"
diff --git a/frontend/src/components/Plan/components/Configuration/IsolationLevelSection/IsolationLevelSelect.vue b/frontend/src/components/Plan/components/Configuration/IsolationLevelSection/IsolationLevelSelect.vue
index 8f30ababdc..a096fe5460 100644
--- a/frontend/src/components/Plan/components/Configuration/IsolationLevelSection/IsolationLevelSelect.vue
+++ b/frontend/src/components/Plan/components/Configuration/IsolationLevelSection/IsolationLevelSelect.vue
@@ -1,7 +1,7 @@
<template>
<NSelect
v-model:value="selectedIsolation"
- class="!w-60"
+ class="w-60!"
consistent-menu-width
size="small"
:options="options"
diff --git a/frontend/src/components/Plan/components/ExportOption/ExportPasswordInputer.vue b/frontend/src/components/Plan/components/ExportOption/ExportPasswordInputer.vue
index a501d41360..dab69b51ad 100644
--- a/frontend/src/components/Plan/components/ExportOption/ExportPasswordInputer.vue
+++ b/frontend/src/components/Plan/components/ExportOption/ExportPasswordInputer.vue
@@ -17,7 +17,7 @@
</span>
<NInput
:value="password"
- class="!w-auto"
+ class="w-auto!"
size="small"
type="password"
:input-props="{ autocomplete: 'new-password' }"
diff --git a/frontend/src/components/Plan/components/HeaderSection/Actions/export/ExportArchiveDownloadAction.vue b/frontend/src/components/Plan/components/HeaderSection/Actions/export/ExportArchiveDownloadAction.vue
index e165e14498..aad31539b7 100644
--- a/frontend/src/components/Plan/components/HeaderSection/Actions/export/ExportArchiveDownloadAction.vue
+++ b/frontend/src/components/Plan/components/HeaderSection/Actions/export/ExportArchiveDownloadAction.vue
@@ -14,7 +14,7 @@
</NButton>
<div
v-else
- class="flex flex-row items-center gap-2 text-sm textlabel !leading-8"
+ class="flex flex-row items-center gap-2 text-sm textlabel leading-8!"
>
<CalendarXIcon class="w-5 h-auto" />
{{ $t("issue.data-export.file-expired") }}
diff --git a/frontend/src/components/Plan/components/HeaderSection/Actions/unified/UnifiedActionGroup.vue b/frontend/src/components/Plan/components/HeaderSection/Actions/unified/UnifiedActionGroup.vue
index 9dfb0a2285..18d22fdeeb 100644
--- a/frontend/src/components/Plan/components/HeaderSection/Actions/unified/UnifiedActionGroup.vue
+++ b/frontend/src/components/Plan/components/HeaderSection/Actions/unified/UnifiedActionGroup.vue
@@ -23,7 +23,7 @@
@select="handleDropdownSelect"
>
<NButton
- class="!px-1"
+ class="px-1!"
quaternary
size="medium"
:disabled="disabled"
diff --git a/frontend/src/components/Plan/components/HeaderSection/HeaderSection.vue b/frontend/src/components/Plan/components/HeaderSection/HeaderSection.vue
index 11752a52d0..b4c914b396 100644
--- a/frontend/src/components/Plan/components/HeaderSection/HeaderSection.vue
+++ b/frontend/src/components/Plan/components/HeaderSection/HeaderSection.vue
@@ -13,7 +13,7 @@
<!-- Mobile hamburger menu -->
<NButton
v-if="hasSidebar && sidebarMode === 'MOBILE'"
- class="!px-1"
+ class="px-1!"
quaternary
size="medium"
@click="handleMobileSidebarOpen"
diff --git a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/OptionsSection.vue b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/OptionsSection.vue
index ab19ce6820..7b80b6d3b6 100644
--- a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/OptionsSection.vue
+++ b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/OptionsSection.vue
@@ -24,7 +24,7 @@
</div>
</div>
- <div class="p-3 border rounded space-y-3">
+ <div class="p-3 border rounded-sm space-y-3">
<!-- Format Display/Edit -->
<div class="flex items-center gap-4">
<span class="text-sm">
diff --git a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/TasksSection.vue b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/TasksSection.vue
index 994ef0b153..bbb6fb7731 100644
--- a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/TasksSection.vue
+++ b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/TasksSection.vue
@@ -19,10 +19,10 @@
<div
v-for="task in exportTasks"
:key="task.name"
- class="inline-flex items-center gap-2 px-2 py-1.5 border rounded transition-colors min-w-0"
+ class="inline-flex items-center gap-2 px-2 py-1.5 border rounded-sm transition-colors min-w-0"
>
<!-- Task Status -->
- <div class="flex-shrink-0">
+ <div class="shrink-0">
<TaskStatus :status="task.status" size="tiny" />
</div>
diff --git a/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView/RequestDetailsSection.vue b/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView/RequestDetailsSection.vue
index e23e04a519..a8fb54d25a 100644
--- a/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView/RequestDetailsSection.vue
+++ b/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView/RequestDetailsSection.vue
@@ -4,7 +4,7 @@
{{ $t("issue.grant-request.details") }}
</h3>
- <div class="p-4 border rounded space-y-4">
+ <div class="p-4 border rounded-sm space-y-4">
<!-- Requested Role -->
<div v-if="requestRole" class="space-y-2">
<span class="text-sm text-control-light">
diff --git a/frontend/src/components/Plan/components/IssueReviewView/Sidebar/ApprovalFlowSection/ApprovalStepItem.vue b/frontend/src/components/Plan/components/IssueReviewView/Sidebar/ApprovalFlowSection/ApprovalStepItem.vue
index 1c9a6a972d..496a627be5 100644
--- a/frontend/src/components/Plan/components/IssueReviewView/Sidebar/ApprovalFlowSection/ApprovalStepItem.vue
+++ b/frontend/src/components/Plan/components/IssueReviewView/Sidebar/ApprovalFlowSection/ApprovalStepItem.vue
@@ -57,7 +57,7 @@
<PotentialApprovers :users="potentialApprovers" />
<div
v-if="showSelfApprovalTip"
- class="px-1 py-0.5 border rounded text-xs bg-yellow-50 border-yellow-600 text-yellow-600"
+ class="px-1 py-0.5 border rounded-sm text-xs bg-yellow-50 border-yellow-600 text-yellow-600"
>
{{ $t("custom-approval.issue-review.self-approval-not-allowed") }}
</div>
diff --git a/frontend/src/components/Plan/components/PlanCheckRunStatusIcon.vue b/frontend/src/components/Plan/components/PlanCheckRunStatusIcon.vue
index 0b89926061..22b7ac2ac6 100644
--- a/frontend/src/components/Plan/components/PlanCheckRunStatusIcon.vue
+++ b/frontend/src/components/Plan/components/PlanCheckRunStatusIcon.vue
@@ -1,7 +1,7 @@
<template>
<span
v-if="hasAnyChecks"
- class="flex items-center justify-center select-none flex-shrink-0"
+ class="flex items-center justify-center select-none shrink-0"
:class="iconClass()"
>
<template v-if="planCheckRunStatus === Advice_Level.ERROR">
diff --git a/frontend/src/components/Plan/components/PlanDataTable/PlanDataTable.vue b/frontend/src/components/Plan/components/PlanDataTable/PlanDataTable.vue
index a98d2d3195..8a738d2177 100644
--- a/frontend/src/components/Plan/components/PlanDataTable/PlanDataTable.vue
+++ b/frontend/src/components/Plan/components/PlanDataTable/PlanDataTable.vue
@@ -64,7 +64,7 @@ const columnList = computed((): DataTableColumn<Plan>[] => {
{{
default: () => <span>{plan.title}</span>,
tooltip: () => (
- <div class="whitespace-pre-wrap break-words break-all">
+ <div class="whitespace-pre-wrap wrap-break-word break-all">
{plan.title}
</div>
),
diff --git a/frontend/src/components/Plan/components/RolloutView/StageCard.vue b/frontend/src/components/Plan/components/RolloutView/StageCard.vue
index 6f37f6578a..4dd4138c94 100644
--- a/frontend/src/components/Plan/components/RolloutView/StageCard.vue
+++ b/frontend/src/components/Plan/components/RolloutView/StageCard.vue
@@ -2,7 +2,7 @@
<div class="relative w-full flex items-center gap-4">
<!-- Stage card -->
<div
- class="flex-1 bg-white rounded-lg border p-4 shadow-sm"
+ class="flex-1 bg-white rounded-lg border p-4 shadow-xs"
:class="
twMerge(
isCreated
@@ -87,7 +87,7 @@
quaternary
round
size="small"
- class="!px-2"
+ class="px-2!"
@click.stop="showTasks = !showTasks"
>
<template #icon>
diff --git a/frontend/src/components/Plan/components/RolloutView/TaskRolloutActionPanel.vue b/frontend/src/components/Plan/components/RolloutView/TaskRolloutActionPanel.vue
index 9dd251f385..ad070dcd81 100644
--- a/frontend/src/components/Plan/components/RolloutView/TaskRolloutActionPanel.vue
+++ b/frontend/src/components/Plan/components/RolloutView/TaskRolloutActionPanel.vue
@@ -186,7 +186,7 @@
:size="'large'"
:value="runTimeInMS === undefined ? 'immediate' : 'scheduled'"
@update:value="handleExecutionModeChange"
- class="!flex flex-row gap-x-4"
+ class="flex! flex-row gap-x-4"
>
<!-- Run Immediately Option -->
<NRadio value="immediate">
diff --git a/frontend/src/components/Plan/components/RolloutView/TaskRunRollbackDrawer.vue b/frontend/src/components/Plan/components/RolloutView/TaskRunRollbackDrawer.vue
index 8b77a23c32..66f65fb6c0 100644
--- a/frontend/src/components/Plan/components/RolloutView/TaskRunRollbackDrawer.vue
+++ b/frontend/src/components/Plan/components/RolloutView/TaskRunRollbackDrawer.vue
@@ -61,7 +61,7 @@
</template>
<div
v-else-if="preview.error"
- class="p-3 border border-red-200 bg-red-50 rounded text-sm text-red-600"
+ class="p-3 border border-red-200 bg-red-50 rounded-sm text-sm text-red-600"
>
{{ preview.error }}
</div>
diff --git a/frontend/src/components/Plan/components/RolloutView/TaskStatusActions.vue b/frontend/src/components/Plan/components/RolloutView/TaskStatusActions.vue
index 156cc1578c..5a9e1c322c 100644
--- a/frontend/src/components/Plan/components/RolloutView/TaskStatusActions.vue
+++ b/frontend/src/components/Plan/components/RolloutView/TaskStatusActions.vue
@@ -13,7 +13,7 @@
:options="dropdownOptions"
@select="handleDropdownSelect"
>
- <NButton size="small" class="!px-1" quaternary>
+ <NButton size="small" class="px-1!" quaternary>
<template #icon>
<EllipsisVerticalIcon class="w-4 h-4" />
</template>
diff --git a/frontend/src/components/Plan/components/SpecDetailView/AllTargetsDrawer.vue b/frontend/src/components/Plan/components/SpecDetailView/AllTargetsDrawer.vue
index 7b9f230c3b..6a9be29b27 100644
--- a/frontend/src/components/Plan/components/SpecDetailView/AllTargetsDrawer.vue
+++ b/frontend/src/components/Plan/components/SpecDetailView/AllTargetsDrawer.vue
@@ -3,7 +3,7 @@
<DrawerContent
:title="`${$t('plan.targets.title')} (${targets.length})`"
:closable="true"
- class="w-[50rem] max-w-[100vw] relative"
+ class="w-200 max-w-[100vw] relative"
>
<template #default>
<div class="w-full h-full flex flex-col gap-y-4">
@@ -38,7 +38,7 @@
</template>
<template v-else-if="isValidDatabaseGroupName(target)">
<DatabaseGroupIcon
- class="w-4 h-4 text-control-light flex-shrink-0"
+ class="w-4 h-4 text-control-light shrink-0"
/>
<DatabaseGroupName
:database-group="
diff --git a/frontend/src/components/Plan/components/SpecDetailView/EditMigrationTypeModal.vue b/frontend/src/components/Plan/components/SpecDetailView/EditMigrationTypeModal.vue
index 8128b407cd..8a4972c53f 100644
--- a/frontend/src/components/Plan/components/SpecDetailView/EditMigrationTypeModal.vue
+++ b/frontend/src/components/Plan/components/SpecDetailView/EditMigrationTypeModal.vue
@@ -11,7 +11,7 @@
<NRadioGroup v-model:value="selectedType" class="space-y-4">
<NRadio :value="MigrationType.DDL" class="w-full">
<div class="flex items-start space-x-2 w-full ml-2">
- <FileDiffIcon class="w-6 h-6 flex-shrink-0" :stroke-width="1.5" />
+ <FileDiffIcon class="w-6 h-6 shrink-0" :stroke-width="1.5" />
<div class="flex-1">
<div class="flex items-center space-x-2">
<span class="text-base text-gray-900">
@@ -26,7 +26,7 @@
</NRadio>
<NRadio :value="MigrationType.DML" class="w-full">
<div class="flex items-start space-x-2 w-full ml-2">
- <EditIcon class="w-6 h-6 flex-shrink-0" :stroke-width="1.5" />
+ <EditIcon class="w-6 h-6 shrink-0" :stroke-width="1.5" />
<div class="flex-1">
<div class="flex items-center space-x-2">
<span class="text-base text-gray-900">
diff --git a/frontend/src/components/Plan/components/SpecDetailView/TargetListSection.vue b/frontend/src/components/Plan/components/SpecDetailView/TargetListSection.vue
index f4c79028b9..69e82002af 100644
--- a/frontend/src/components/Plan/components/SpecDetailView/TargetListSection.vue
+++ b/frontend/src/components/Plan/components/SpecDetailView/TargetListSection.vue
@@ -38,9 +38,7 @@
<DatabaseDisplay :database="target" show-environment />
</template>
<template v-else-if="isValidDatabaseGroupName(target)">
- <DatabaseGroupIcon
- class="w-4 h-4 text-control-light flex-shrink-0"
- />
+ <DatabaseGroupIcon class="w-4 h-4 text-control-light shrink-0" />
<DatabaseGroupName
:database-group="
dbGroupStore.getDBGroupByName(target) as DatabaseGroup
diff --git a/frontend/src/components/Plan/components/SpecDetailView/TargetsSelectorDrawer.vue b/frontend/src/components/Plan/components/SpecDetailView/TargetsSelectorDrawer.vue
index 6a4e04eaa1..5538d0413b 100644
--- a/frontend/src/components/Plan/components/SpecDetailView/TargetsSelectorDrawer.vue
+++ b/frontend/src/components/Plan/components/SpecDetailView/TargetsSelectorDrawer.vue
@@ -3,7 +3,7 @@
v-model:show="show"
:mask-closable="true"
placement="right"
- class="!w-[100vw] sm:!w-[80vw]"
+ class="w-screen! sm:w-[80vw]!"
>
<DrawerContent :title="$t('plan.select-targets')" closable>
<div class="flex flex-col gap-y-4">
diff --git a/frontend/src/components/Plan/components/StatementSection/EditorView/EditorView.vue b/frontend/src/components/Plan/components/StatementSection/EditorView/EditorView.vue
index 0b3f108e10..4cb25fd053 100644
--- a/frontend/src/components/Plan/components/StatementSection/EditorView/EditorView.vue
+++ b/frontend/src/components/Plan/components/StatementSection/EditorView/EditorView.vue
@@ -95,7 +95,7 @@
<div class="relative flex-1 min-h-[200px] max-h-[50vh]">
<MonacoEditor
- class="w-full h-full min-h-[200px] border rounded overflow-hidden"
+ class="w-full h-full min-h-[200px] border rounded-sm overflow-hidden"
:filename="filename"
:content="state.statement"
:language="language"
@@ -128,8 +128,8 @@
v-model:show="state.showEditorModal"
:title="statementTitle"
:trap-focus="true"
- header-class="!border-b-0"
- container-class="!pt-0 !overflow-hidden"
+ header-class="border-b-0!"
+ container-class="pt-0! overflow-hidden!"
>
<div
id="modal-editor-container"
diff --git a/frontend/src/components/Plan/components/StatementSection/ReleaseView/ReleaseView.vue b/frontend/src/components/Plan/components/StatementSection/ReleaseView/ReleaseView.vue
index c8db047835..09e8b61fd9 100644
--- a/frontend/src/components/Plan/components/StatementSection/ReleaseView/ReleaseView.vue
+++ b/frontend/src/components/Plan/components/StatementSection/ReleaseView/ReleaseView.vue
@@ -71,7 +71,7 @@
<div
v-for="file in displayedFiles"
:key="file.id"
- class="w-full flex items-center justify-between text-xs bg-white rounded p-2"
+ class="w-full flex items-center justify-between text-xs bg-white rounded-sm p-2"
>
<div class="flex-1 min-w-0 mr-2">
<div class="font-medium truncate">{{ file.path }}</div>
@@ -83,7 +83,7 @@
<div
v-if="file.type"
:class="[
- 'inline-flex items-center px-1.5 py-0.5 rounded text-xs flex-shrink-0',
+ 'inline-flex items-center px-1.5 py-0.5 rounded-sm text-xs shrink-0',
'bg-blue-100 text-blue-800 ',
]"
>
diff --git a/frontend/src/components/Plan/components/common/CheckResultItem.vue b/frontend/src/components/Plan/components/common/CheckResultItem.vue
index 28a3e49b4f..f5f152a0d4 100644
--- a/frontend/src/components/Plan/components/common/CheckResultItem.vue
+++ b/frontend/src/components/Plan/components/common/CheckResultItem.vue
@@ -1,10 +1,6 @@
<template>
<div class="flex items-start gap-3 px-3 py-2 border rounded-lg bg-gray-50">
- <component
- :is="statusIcon"
- class="w-5 h-5 flex-shrink-0"
- :class="statusColor"
- />
+ <component :is="statusIcon" class="w-5 h-5 shrink-0" :class="statusColor" />
<div class="flex-1 min-w-0 space-y-1">
<div class="text-sm font-medium text-main">
diff --git a/frontend/src/components/PlanCheckRun/PlanCheckRunBadge.vue b/frontend/src/components/PlanCheckRun/PlanCheckRunBadge.vue
index 1e2977b3de..06d81d71db 100644
--- a/frontend/src/components/PlanCheckRun/PlanCheckRunBadge.vue
+++ b/frontend/src/components/PlanCheckRun/PlanCheckRunBadge.vue
@@ -1,6 +1,6 @@
<template>
<NTag
- :class="[selected && 'shadow']"
+ :class="[selected && 'shadow-sm']"
:type="tagType"
round
:bordered="selected"
diff --git a/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vue b/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vue
index fe53651ef8..e842ae3b9b 100644
--- a/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vue
+++ b/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vue
@@ -15,14 +15,14 @@
:class="[
'py-2 px-2 space-y-2',
row.checkResult.status === Advice_Level.ERROR &&
- 'border-error border rounded',
+ 'border-error border rounded-sm',
row.checkResult.status === Advice_Level.WARNING &&
- 'border-warning border rounded',
+ 'border-warning border rounded-sm',
]"
>
<div class="flex items-center space-x-3">
<div
- class="relative w-5 h-5 flex flex-shrink-0 items-center justify-center rounded-full select-none"
+ class="relative w-5 h-5 flex shrink-0 items-center justify-center rounded-full select-none"
:class="statusIconClass(row.checkResult.status)"
>
<template v-if="row.checkResult.status === Advice_Level.SUCCESS">
@@ -125,7 +125,7 @@
>
<div class="flex items-center space-x-3">
<div
- class="relative w-5 h-5 flex flex-shrink-0 items-center justify-center rounded-full select-none"
+ class="relative w-5 h-5 flex shrink-0 items-center justify-center rounded-full select-none"
:class="statusIconClass(row.checkResult.status)"
>
<template v-if="row.checkResult.status === Advice_Level.SUCCESS">
@@ -206,7 +206,7 @@
<div v-if="showSuccessPlaceholder" class="py-3 px-2 first:pt-2 space-y-2">
<div class="flex items-center space-x-3">
<div
- class="relative w-5 h-5 flex flex-shrink-0 items-center justify-center rounded-full select-none"
+ class="relative w-5 h-5 flex shrink-0 items-center justify-center rounded-full select-none"
:class="statusIconClass(Advice_Level.SUCCESS)"
>
<heroicons-solid:check class="w-4 h-4" />
diff --git a/frontend/src/components/PlanCheckRun/PlanCheckRunModal.vue b/frontend/src/components/PlanCheckRun/PlanCheckRunModal.vue
index b316fcc26b..f2a7bf2bed 100644
--- a/frontend/src/components/PlanCheckRun/PlanCheckRunModal.vue
+++ b/frontend/src/components/PlanCheckRun/PlanCheckRunModal.vue
@@ -1,7 +1,7 @@
<template>
<BBModal
:title="$t('task.check-result.title-general')"
- class="!w-[56rem]"
+ class="w-4xl!"
header-class="whitespace-pre-wrap break-all gap-x-1"
:mask-closable="true"
@close="$emit('close')"
diff --git a/frontend/src/components/Project/ProjectIssuesPanel.vue b/frontend/src/components/Project/ProjectIssuesPanel.vue
index 1ed98be5ac..d4c60bdaa1 100644
--- a/frontend/src/components/Project/ProjectIssuesPanel.vue
+++ b/frontend/src/components/Project/ProjectIssuesPanel.vue
@@ -50,7 +50,7 @@
</template>
</IssueSearch>
- <div class="relative min-h-[20rem]">
+ <div class="relative min-h-80">
<PagedTable
ref="issuePagedTable"
:key="keyForTab(tab)"
diff --git a/frontend/src/components/Project/ProjectSwitch/ProjectSwitchContent.vue b/frontend/src/components/Project/ProjectSwitch/ProjectSwitchContent.vue
index c29df24dea..98877371ab 100644
--- a/frontend/src/components/Project/ProjectSwitch/ProjectSwitchContent.vue
+++ b/frontend/src/components/Project/ProjectSwitch/ProjectSwitchContent.vue
@@ -19,7 +19,7 @@
v-model:value="state.searchText"
:placeholder="$t('common.filter-by-name')"
:autofocus="false"
- class="!w-40"
+ class="w-40!"
size="small"
/>
<NTooltip v-if="allowToCreateProject" trigger="hover">
diff --git a/frontend/src/components/Project/ProjectSwitch/ProjectSwitchModal.vue b/frontend/src/components/Project/ProjectSwitch/ProjectSwitchModal.vue
index 79a278c3fc..c6e063dc31 100644
--- a/frontend/src/components/Project/ProjectSwitch/ProjectSwitchModal.vue
+++ b/frontend/src/components/Project/ProjectSwitch/ProjectSwitchModal.vue
@@ -5,7 +5,7 @@
:trap-focus="false"
:show="show"
:title="$t('project.select')"
- class="w-[48rem] max-w-full h-auto max-h-full"
+ class="w-3xl max-w-full h-auto max-h-full"
@close="$emit('dismiss')"
>
<ProjectSwitchContent
diff --git a/frontend/src/components/Project/ProjectSwitch/ProjectSwitchPopover.vue b/frontend/src/components/Project/ProjectSwitch/ProjectSwitchPopover.vue
index 2536cd731d..7182797b4e 100644
--- a/frontend/src/components/Project/ProjectSwitch/ProjectSwitchPopover.vue
+++ b/frontend/src/components/Project/ProjectSwitch/ProjectSwitchPopover.vue
@@ -15,7 +15,7 @@
@click="state.showPopover = !state.showPopover"
icon-placement="right"
>
- <div class="min-w-[8rem] text-left">
+ <div class="min-w-32 text-left">
<ProjectNameCell
v-if="isValidProjectName(project.name)"
mode="ALL_SHORT"
diff --git a/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue b/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue
index ff38affa25..f1e4ce4534 100644
--- a/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue
+++ b/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue
@@ -35,7 +35,7 @@
v-model:kv-list="labelKVList"
:readonly="!allowEdit"
:show-errors="true"
- class="max-w-[30rem]"
+ class="max-w-120"
/>
</div>
</form>
diff --git a/frontend/src/components/Project/Settings/ProjectIssueRelatedSettingPanel.vue b/frontend/src/components/Project/Settings/ProjectIssueRelatedSettingPanel.vue
index e6afd4886c..236fe481f8 100644
--- a/frontend/src/components/Project/Settings/ProjectIssueRelatedSettingPanel.vue
+++ b/frontend/src/components/Project/Settings/ProjectIssueRelatedSettingPanel.vue
@@ -398,13 +398,13 @@ const renderLabel = (value: string, index: number) => {
<div class="flex flex-row items-start justify-center gap-x-2">
<div class="w-4 h-4 relative">
<NColorPicker
- class="!w-full !h-full"
+ class="w-full! h-full!"
modes={["hex"]}
showAlpha={false}
value={label.color}
renderLabel={() => (
<div
- class="w-4 h-4 rounded cursor-pointer relative"
+ class="w-4 h-4 rounded-sm cursor-pointer relative"
style={{ backgroundColor: label.color }}
></div>
)}
diff --git a/frontend/src/components/ProjectMember/AddProjectMember/AddProjectMembersPanel.vue b/frontend/src/components/ProjectMember/AddProjectMember/AddProjectMembersPanel.vue
index c9eb798bad..916d995b2b 100644
--- a/frontend/src/components/ProjectMember/AddProjectMember/AddProjectMembersPanel.vue
+++ b/frontend/src/components/ProjectMember/AddProjectMember/AddProjectMembersPanel.vue
@@ -7,7 +7,7 @@
<DrawerContent
:title="$t('settings.members.grant-access')"
:closable="true"
- class="w-[50rem] max-w-[100vw] relative"
+ class="w-200 max-w-[100vw] relative"
>
<div
v-for="(binding, index) in state.bindings"
diff --git a/frontend/src/components/ProjectMember/ProjectMemberRolePanel/EditProjectRolePanel.vue b/frontend/src/components/ProjectMember/ProjectMemberRolePanel/EditProjectRolePanel.vue
index a71472935a..6336cc002d 100644
--- a/frontend/src/components/ProjectMember/ProjectMemberRolePanel/EditProjectRolePanel.vue
+++ b/frontend/src/components/ProjectMember/ProjectMemberRolePanel/EditProjectRolePanel.vue
@@ -7,7 +7,7 @@
<DrawerContent
:title="panelTitle"
:closable="true"
- class="w-[64rem] max-w-[100vw] relative"
+ class="w-5xl max-w-[100vw] relative"
>
<div class="w-full flex flex-col justify-start items-start gap-y-4 pb-12">
<div class="w-full">
diff --git a/frontend/src/components/ProjectMember/ProjectMemberRolePanel/index.vue b/frontend/src/components/ProjectMember/ProjectMemberRolePanel/index.vue
index 6ef0c6b2e2..74f0e2cdbc 100644
--- a/frontend/src/components/ProjectMember/ProjectMemberRolePanel/index.vue
+++ b/frontend/src/components/ProjectMember/ProjectMemberRolePanel/index.vue
@@ -7,7 +7,7 @@
<DrawerContent
:title="panelTitle"
:closable="true"
- class="w-[72rem] max-w-[100vw] relative"
+ class="w-6xl max-w-[100vw] relative"
>
<div class="w-full flex flex-row justify-end items-center">
<NButton type="primary" @click="state.showAddMemberPanel = true">
@@ -18,7 +18,7 @@
<div class="text-lg px-1 pb-1 w-full border-b mb-3">
<GroupNameCell :group="binding.group!" :show-icon="false" />
</div>
- <div class="border rounded divide-y">
+ <div class="border rounded-sm divide-y">
<div v-for="data in groupMembers" :key="data.user.name" class="p-2">
<GroupMemberNameCell :user="data.user" :role="data.role" />
</div>
diff --git a/frontend/src/components/ProjectWebhookForm.vue b/frontend/src/components/ProjectWebhookForm.vue
index 4d9ca000ac..23e178564a 100644
--- a/frontend/src/components/ProjectWebhookForm.vue
+++ b/frontend/src/components/ProjectWebhookForm.vue
@@ -25,7 +25,7 @@
:key="index"
>
<div
- class="flex justify-center px-2 py-4 rounded border border-control-border hover:bg-control-bg-hover cursor-pointer"
+ class="flex justify-center px-2 py-4 rounded-sm border border-control-border hover:bg-control-bg-hover cursor-pointer"
@click.capture="state.webhook.type = item.type"
>
<div class="flex flex-col items-center">
diff --git a/frontend/src/components/ProvideDashboardContext.vue b/frontend/src/components/ProvideDashboardContext.vue
index a4386a68a9..af0ef73772 100644
--- a/frontend/src/components/ProvideDashboardContext.vue
+++ b/frontend/src/components/ProvideDashboardContext.vue
@@ -1,6 +1,6 @@
<template>
<slot v-if="!isInitializing" />
- <MaskSpinner v-else class="!bg-white" />
+ <MaskSpinner v-else class="bg-white!" />
</template>
<script lang="ts" setup>
diff --git a/frontend/src/components/Quickstart.vue b/frontend/src/components/Quickstart.vue
index f61f34b8ab..6b591d3b9d 100644
--- a/frontend/src/components/Quickstart.vue
+++ b/frontend/src/components/Quickstart.vue
@@ -1,7 +1,7 @@
<template>
<div
v-if="showQuickstart"
- class="py-2 px-4 w-full flex-shrink-0 border-t border-block-border hidden lg:block bg-yellow-50"
+ class="py-2 px-4 w-full shrink-0 border-t border-block-border hidden lg:block bg-yellow-50"
>
<p
class="text-sm font-medium text-gray-900 flex items-center justify-between"
diff --git a/frontend/src/components/Release/ReleaseDetail/BasicInfo.vue b/frontend/src/components/Release/ReleaseDetail/BasicInfo.vue
index f49c82981e..b681259826 100644
--- a/frontend/src/components/Release/ReleaseDetail/BasicInfo.vue
+++ b/frontend/src/components/Release/ReleaseDetail/BasicInfo.vue
@@ -12,7 +12,7 @@
>
<VCSIcon custom-class="h-4" :type="vcsSource.vcsType" />
<EllipsisText>
- <a :href="vcsSource.url" target="_blank" class="normal-link !text-sm">
+ <a :href="vcsSource.url" target="_blank" class="normal-link text-sm!">
{{ beautifyUrl(vcsSource.url) }}
</a>
</EllipsisText>
diff --git a/frontend/src/components/Release/ReleaseDetail/NavBar/ApplyToDatabasePanel.vue b/frontend/src/components/Release/ReleaseDetail/NavBar/ApplyToDatabasePanel.vue
index ed4b4d63ff..94acf37c2d 100644
--- a/frontend/src/components/Release/ReleaseDetail/NavBar/ApplyToDatabasePanel.vue
+++ b/frontend/src/components/Release/ReleaseDetail/NavBar/ApplyToDatabasePanel.vue
@@ -2,7 +2,7 @@
<Drawer v-bind="$attrs" @close="emit('close')">
<DrawerContent :title="$t('changelist.apply-to-database')">
<template #default>
- <div class="w-[calc(100vw-8rem)] lg:w-[60rem] max-w-[calc(100vw-8rem)]">
+ <div class="w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)]">
<DatabaseAndGroupSelector
:project="project"
v-model:value="state.targetSelectState"
diff --git a/frontend/src/components/Release/ReleaseDetail/ReleaseArchiveRestoreButton.vue b/frontend/src/components/Release/ReleaseDetail/ReleaseArchiveRestoreButton.vue
index db4a33c09e..19ad70cb1a 100644
--- a/frontend/src/components/Release/ReleaseDetail/ReleaseArchiveRestoreButton.vue
+++ b/frontend/src/components/Release/ReleaseDetail/ReleaseArchiveRestoreButton.vue
@@ -7,7 +7,7 @@
:confirm-title="$t('bbkit.confirm-button.sure-to-archive')"
:confirm-description="$t('bbkit.confirm-button.can-undo')"
:ok-text="$t('common.confirm')"
- class="!border-none"
+ class="border-none!"
@confirm="archiveOrRestoreRelease(true)"
/>
<BBButtonConfirm
@@ -15,7 +15,7 @@
:type="'RESTORE'"
:button-text="$t('common.restore')"
:require-confirm="false"
- class="!border-none"
+ class="border-none!"
@confirm="archiveOrRestoreRelease(false)"
/>
</template>
diff --git a/frontend/src/components/Revision/CreateRevisionDrawer.vue b/frontend/src/components/Revision/CreateRevisionDrawer.vue
index 2f7d6072b2..bbaab6b678 100644
--- a/frontend/src/components/Revision/CreateRevisionDrawer.vue
+++ b/frontend/src/components/Revision/CreateRevisionDrawer.vue
@@ -6,7 +6,7 @@
:default-width="1024"
:resizable="true"
:width="undefined"
- class="!max-w-[90vw]"
+ class="max-w-[90vw]!"
>
<DrawerContent :title="$t('database.revision.import-revision')" closable>
<div class="flex flex-col gap-y-4">
@@ -45,7 +45,7 @@
<NRadio value="release" class="w-full">
<div class="flex items-start space-x-3 w-full">
<PackageIcon
- class="w-6 h-6 mt-1 flex-shrink-0"
+ class="w-6 h-6 mt-1 shrink-0"
:stroke-width="1.5"
/>
<div class="flex-1">
@@ -70,7 +70,7 @@
<NRadio value="local" class="w-full">
<div class="flex items-start space-x-3 w-full">
<FolderOpenIcon
- class="w-6 h-6 mt-1 flex-shrink-0"
+ class="w-6 h-6 mt-1 shrink-0"
:stroke-width="1.5"
/>
<div class="flex-1">
@@ -219,7 +219,7 @@
{{ $t("database.revision.content-preview") }}
</label>
<div
- class="bg-gray-50 rounded p-2 text-xs font-mono text-gray-700 max-h-32 overflow-auto"
+ class="bg-gray-50 rounded-sm p-2 text-xs font-mono text-gray-700 max-h-32 overflow-auto"
>
<pre
>{{ file.content.substring(0, 500)
diff --git a/frontend/src/components/Role/Setting/RoleSetting.vue b/frontend/src/components/Role/Setting/RoleSetting.vue
index b7a609e70f..4f2444c7ae 100644
--- a/frontend/src/components/Role/Setting/RoleSetting.vue
+++ b/frontend/src/components/Role/Setting/RoleSetting.vue
@@ -31,7 +31,7 @@
<div
v-if="!state.ready"
- class="relative flex flex-col h-[8rem] items-center justify-center"
+ class="relative flex flex-col h-32 items-center justify-center"
>
<BBSpin />
</div>
diff --git a/frontend/src/components/Role/Setting/components/ImportPermissionFromRoleModal.vue b/frontend/src/components/Role/Setting/components/ImportPermissionFromRoleModal.vue
index 936ab6ee9d..594a4da66d 100644
--- a/frontend/src/components/Role/Setting/components/ImportPermissionFromRoleModal.vue
+++ b/frontend/src/components/Role/Setting/components/ImportPermissionFromRoleModal.vue
@@ -19,7 +19,7 @@
filterDisplayPermissions.length
}})
</p>
- <div class="max-h-[10em] overflow-auto border rounded p-2">
+ <div class="max-h-[10em] overflow-auto border rounded-sm p-2">
<p
v-for="permission in filterDisplayPermissions"
:key="permission"
@@ -30,7 +30,7 @@
</div>
</div>
</template>
- <div class="!mt-4 w-full flex flex-row justify-end items-center gap-2">
+ <div class="mt-4! w-full flex flex-row justify-end items-center gap-2">
<NButton @click.prevent="$emit('cancel')">
{{ $t("common.cancel") }}
</NButton>
diff --git a/frontend/src/components/Role/Setting/components/RolePanel.vue b/frontend/src/components/Role/Setting/components/RolePanel.vue
index 54446055d7..d2e3cb708e 100644
--- a/frontend/src/components/Role/Setting/components/RolePanel.vue
+++ b/frontend/src/components/Role/Setting/components/RolePanel.vue
@@ -67,7 +67,7 @@
</div>
<NTransfer
v-model:value="state.role.permissions"
- class="!h-[32rem]"
+ class="h-[32rem]!"
source-filterable
source-filter-placeholder="Search"
:options="permissionOptions"
diff --git a/frontend/src/components/Rollout/RolloutDataTable.vue b/frontend/src/components/Rollout/RolloutDataTable.vue
index 004da6fe5c..3784e9223f 100644
--- a/frontend/src/components/Rollout/RolloutDataTable.vue
+++ b/frontend/src/components/Rollout/RolloutDataTable.vue
@@ -71,7 +71,7 @@ const columnList = computed(
{{
default: () => <span>{rollout.title}</span>,
tooltip: () => (
- <div class="whitespace-pre-wrap break-words break-all">
+ <div class="whitespace-pre-wrap wrap-break-word break-all">
{rollout.title}
</div>
),
diff --git a/frontend/src/components/Rollout/kits/TaskStatus.vue b/frontend/src/components/Rollout/kits/TaskStatus.vue
index 302a208542..ca241849a3 100644
--- a/frontend/src/components/Rollout/kits/TaskStatus.vue
+++ b/frontend/src/components/Rollout/kits/TaskStatus.vue
@@ -4,7 +4,7 @@
<div
:class="
twMerge(
- 'relative flex flex-shrink-0 items-center justify-center rounded-full select-none overflow-hidden',
+ 'relative flex shrink-0 items-center justify-center rounded-full select-none overflow-hidden',
classes
)
"
@@ -31,7 +31,7 @@
aria-hidden="true"
/>
<span
- class="w-full h-full rounded-full z-[1] bg-info"
+ class="w-full h-full rounded-full z-1 bg-info"
aria-hidden="true"
/>
</div>
diff --git a/frontend/src/components/SQLCheck/SQLCheckPanel.vue b/frontend/src/components/SQLCheck/SQLCheckPanel.vue
index a96f34c19d..b76a1e7414 100644
--- a/frontend/src/components/SQLCheck/SQLCheckPanel.vue
+++ b/frontend/src/components/SQLCheck/SQLCheckPanel.vue
@@ -1,9 +1,9 @@
<template>
<BBModal
:title="overrideTitle ?? $t('task.check-result.title-general')"
- class="!w-[56rem]"
+ class="w-4xl!"
header-class="whitespace-pre-wrap break-all gap-x-1"
- container-class="!pt-0 -mt-px"
+ container-class="pt-0! -mt-px"
mask-closable
@close="onClose"
>
diff --git a/frontend/src/components/SQLReview/SQLReviewConfig.vue b/frontend/src/components/SQLReview/SQLReviewConfig.vue
index 55bf52d476..8e964c070a 100644
--- a/frontend/src/components/SQLReview/SQLReviewConfig.vue
+++ b/frontend/src/components/SQLReview/SQLReviewConfig.vue
@@ -25,7 +25,7 @@
</template>
</SQLReviewTabsByEngine>
</div>
- <NEmpty v-else class="py-12 border rounded">
+ <NEmpty v-else class="py-12 border rounded-sm">
<template #extra>
<NButton type="primary" @click="showRuleSelectPanel = true">
{{ $t("sql-review.add-rules") }}
diff --git a/frontend/src/components/SQLReview/components/RuleLevelSwitch.vue b/frontend/src/components/SQLReview/components/RuleLevelSwitch.vue
index 70456c7239..5db8f73f81 100644
--- a/frontend/src/components/SQLReview/components/RuleLevelSwitch.vue
+++ b/frontend/src/components/SQLReview/components/RuleLevelSwitch.vue
@@ -53,31 +53,56 @@ const availableLevel = computed(() => {
<style lang="postcss" scoped>
.button {
- @apply relative py-1 w-[4.5rem] whitespace-nowrap border border-control-border text-control font-medium hover:z-[2];
- @apply disabled:cursor-not-allowed disabled:bg-control-bg disabled:opacity-50;
+ position: relative;
+ padding-top: 0.25rem;
+ padding-bottom: 0.25rem;
+ width: 4.5rem;
+ white-space: nowrap;
+ border-width: 1px;
+ border-color: var(--color-control-border);
+ color: var(--color-control);
+ font-weight: 500;
+}
+.button:hover {
+ z-index: 2;
+}
+.button:disabled {
+ cursor: not-allowed;
+ background-color: var(--color-control-bg);
+ opacity: 0.5;
}
.button:not(:first-child) {
- @apply -ml-px;
+ margin-left: -1px;
}
.button:first-child {
- @apply rounded-l;
+ border-top-left-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
}
.button:last-child {
- @apply rounded-r;
+ border-top-right-radius: 0.25rem;
+ border-bottom-right-radius: 0.25rem;
}
.button.active {
- @apply z-[1];
+ z-index: 1;
}
.button.error.active {
- @apply bg-red-100 text-red-800 border-red-800;
+ background-color: var(--color-red-100);
+ color: var(--color-red-800);
+ border-color: var(--color-red-800);
}
.button.warning.active {
- @apply bg-yellow-100 text-yellow-800 border-yellow-800;
+ background-color: var(--color-yellow-100);
+ color: var(--color-yellow-800);
+ border-color: var(--color-yellow-800);
}
.button:not(:disabled).error:hover {
- @apply bg-red-100 text-red-800 border-red-800;
+ background-color: var(--color-red-100);
+ color: var(--color-red-800);
+ border-color: var(--color-red-800);
}
.button:not(:disabled).warning:hover {
- @apply bg-yellow-100 text-yellow-800 border-yellow-800;
+ background-color: var(--color-yellow-100);
+ color: var(--color-yellow-800);
+ border-color: var(--color-yellow-800);
}
</style>
diff --git a/frontend/src/components/SQLReview/components/SQLReviewForResource.vue b/frontend/src/components/SQLReview/components/SQLReviewForResource.vue
index 4eaf808a69..61ca49e29c 100644
--- a/frontend/src/components/SQLReview/components/SQLReviewForResource.vue
+++ b/frontend/src/components/SQLReview/components/SQLReviewForResource.vue
@@ -14,7 +14,7 @@
:text="true"
/>
<span
- class="textlabel normal-link !text-accent"
+ class="textlabel normal-link text-accent!"
@click="onSQLReviewPolicyClick"
>
{{ pendingSelectReviewPolicy.name }}
diff --git a/frontend/src/components/SQLReview/components/SQLReviewPolicySelectPanel.vue b/frontend/src/components/SQLReview/components/SQLReviewPolicySelectPanel.vue
index 1eeffaa301..d55bdf8ae5 100644
--- a/frontend/src/components/SQLReview/components/SQLReviewPolicySelectPanel.vue
+++ b/frontend/src/components/SQLReview/components/SQLReviewPolicySelectPanel.vue
@@ -2,7 +2,7 @@
<Drawer :show="show" @close="$emit('close')">
<DrawerContent
:title="$t('sql-review.select-review')"
- class="w-[60rem] max-w-[100vw] relative"
+ class="w-240 max-w-[100vw] relative"
>
<template #default>
<div class="space-y-4">
diff --git a/frontend/src/components/SQLReview/components/SQLReviewRulesSelectPanel.vue b/frontend/src/components/SQLReview/components/SQLReviewRulesSelectPanel.vue
index 05144eb5a8..09fa0d7cb6 100644
--- a/frontend/src/components/SQLReview/components/SQLReviewRulesSelectPanel.vue
+++ b/frontend/src/components/SQLReview/components/SQLReviewRulesSelectPanel.vue
@@ -2,7 +2,7 @@
<Drawer :show="show" @close="$emit('close')">
<DrawerContent
:title="$t('sql-review.select-review-rules')"
- class="w-[70rem] max-w-[100vw] relative"
+ class="w-280 max-w-[100vw] relative"
>
<template #default>
<SQLReviewTabsByEngine :rule-map-by-engine="ruleTemplateMapV2">
diff --git a/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue b/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue
index 30ddd258d2..410d7f919f 100644
--- a/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue
+++ b/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue
@@ -10,7 +10,7 @@
<RichEngineName
:engine="engine"
tag="p"
- class="text-center text-sm !text-main"
+ class="text-center text-sm text-main!"
/>
<span
class="items-center text-xs px-1 py-0.5 rounded-full bg-gray-200 text-gray-800"
diff --git a/frontend/src/components/SQLReview/components/SQLRuleEditDialog.vue b/frontend/src/components/SQLReview/components/SQLRuleEditDialog.vue
index 40e35c7e28..defe8e6a19 100644
--- a/frontend/src/components/SQLReview/components/SQLRuleEditDialog.vue
+++ b/frontend/src/components/SQLReview/components/SQLRuleEditDialog.vue
@@ -13,7 +13,7 @@
<RichEngineName
:engine="rule.engine"
tag="p"
- class="text-center text-sm !text-main"
+ class="text-center text-sm text-main!"
/>
</div>
</div>
diff --git a/frontend/src/components/SQLReview/components/SQLRuleFilter.vue b/frontend/src/components/SQLReview/components/SQLRuleFilter.vue
index d76f086c5c..0f75273986 100644
--- a/frontend/src/components/SQLReview/components/SQLRuleFilter.vue
+++ b/frontend/src/components/SQLReview/components/SQLRuleFilter.vue
@@ -35,7 +35,7 @@
</div>
<SearchBox
ref="searchField"
- class="ml-auto mt-2 md:mt-0 md:!max-w-72"
+ class="ml-auto mt-2 md:mt-0 md:max-w-72!"
style="max-width: 100%"
:value="params.searchText"
:placeholder="$t('common.filter-by-name')"
diff --git a/frontend/src/components/SQLReview/components/SQLRuleTable.vue b/frontend/src/components/SQLReview/components/SQLRuleTable.vue
index f7488b0950..053261d26c 100644
--- a/frontend/src/components/SQLReview/components/SQLRuleTable.vue
+++ b/frontend/src/components/SQLReview/components/SQLRuleTable.vue
@@ -178,7 +178,7 @@ const columns = computed(() => {
<div class="px-10">
<p class="w-full text-left text-gray-500">{comment}</p>
{rule.componentList.length > 0 && !!comment && (
- <NDivider class={"!my-4"} />
+ <NDivider class={"my-4!"} />
)}
{rule.componentList.length > 0 && (
<RuleConfig
diff --git a/frontend/src/components/SQLReview/components/SQLRuleTableWithFilter.vue b/frontend/src/components/SQLReview/components/SQLRuleTableWithFilter.vue
index 37b8138adb..1d7ef6493e 100644
--- a/frontend/src/components/SQLReview/components/SQLRuleTableWithFilter.vue
+++ b/frontend/src/components/SQLReview/components/SQLRuleTableWithFilter.vue
@@ -27,7 +27,7 @@
@rule-remove="$emit('rule-remove', $event)"
@update:selected-rule-keys="$emit('update:selectedRuleKeys', $event)"
/>
- <NEmpty v-else class="py-12 border rounded" />
+ <NEmpty v-else class="py-12 border rounded-sm" />
</template>
</SQLRuleFilter>
</template>
diff --git a/frontend/src/components/SchemaDiagram/Canvas/Canvas.vue b/frontend/src/components/SchemaDiagram/Canvas/Canvas.vue
index 30a56b1684..0296945e16 100644
--- a/frontend/src/components/SchemaDiagram/Canvas/Canvas.vue
+++ b/frontend/src/components/SchemaDiagram/Canvas/Canvas.vue
@@ -11,10 +11,10 @@
<slot name="desktop" />
</div>
- <div class="!absolute right-2 bottom-2 flex items-center gap-x-2">
+ <div class="absolute! right-2 bottom-2 flex items-center gap-x-2">
<slot name="controls" />
- <NButtonGroup size="tiny" class="bg-white rounded">
+ <NButtonGroup size="tiny" class="bg-white rounded-sm">
<NTooltip>
<template #trigger>
<NButton tooltip>
@@ -25,7 +25,7 @@
</NTooltip>
</NButtonGroup>
- <NButtonGroup size="tiny" class="bg-white rounded">
+ <NButtonGroup size="tiny" class="bg-white rounded-sm">
<NTooltip>
<template #trigger>
<NButton tooltip>
diff --git a/frontend/src/components/SchemaDiagram/Canvas/ZoomButton.vue b/frontend/src/components/SchemaDiagram/Canvas/ZoomButton.vue
index 89cfbc2f14..626024c3ae 100644
--- a/frontend/src/components/SchemaDiagram/Canvas/ZoomButton.vue
+++ b/frontend/src/components/SchemaDiagram/Canvas/ZoomButton.vue
@@ -1,5 +1,5 @@
<template>
- <NButtonGroup size="tiny" class="bg-white rounded">
+ <NButtonGroup size="tiny" class="bg-white rounded-sm">
<NButton :disabled="zoom <= min" @click="$emit('zoom-out')">
<template #icon>
<heroicons-outline:minus />
diff --git a/frontend/src/components/SchemaDiagram/ER/TableNode.vue b/frontend/src/components/SchemaDiagram/ER/TableNode.vue
index e82bc7eafc..2c0abb9e33 100644
--- a/frontend/src/components/SchemaDiagram/ER/TableNode.vue
+++ b/frontend/src/components/SchemaDiagram/ER/TableNode.vue
@@ -1,6 +1,6 @@
<template>
<div
- class="absolute overflow-hidden rounded-md shadow-lg border-b border-gray-200 bg-white w-[16rem] divide-y z-[10] transition-opacity"
+ class="absolute overflow-hidden rounded-md shadow-lg border-b border-gray-200 bg-white w-[16rem] divide-y z-10 transition-opacity"
:class="tableClasses"
bb-node-type="table"
:bb-node-id="dummy ? `dummy-${idOfTable(table)}` : idOfTable(table)"
@@ -11,7 +11,7 @@
}"
>
<h3
- class="group font-medium leading-6 text-white px-2 py-2 rounded-t-md gap-x-1 relative text-center whitespace-pre-wrap break-words"
+ class="group font-medium leading-6 text-white px-2 py-2 rounded-t-md gap-x-1 relative text-center whitespace-pre-wrap wrap-break-word"
:style="{
'background-color': tableColor,
}"
@@ -19,8 +19,8 @@
<FocusButton
:table="table"
:set-center="false"
- class="invisible group-hover:visible !absolute top-[50%] -mt-[9px] left-1 text-main group-hover:bg-white/70 group-hover:!text-main"
- focused-class="!text-white"
+ class="invisible group-hover:visible absolute! top-[50%] -mt-[9px] left-1 text-main group-hover:bg-white/70 group-hover:text-main!"
+ focused-class="text-white!"
/>
<template v-if="schema.name !== ''">
@@ -36,7 +36,7 @@
<button
v-if="editable"
- class="invisible group-hover:visible absolute top-[50%] -mt-[9px] right-1 text-main bg-white/70 hover:bg-gray-200 p-0.5 rounded"
+ class="invisible group-hover:visible absolute top-[50%] -mt-[9px] right-1 text-main bg-white/70 hover:bg-gray-200 p-0.5 rounded-sm"
@click="events.emit('edit-table', { schema, table })"
>
<heroicons-outline:pencil class="w-4 h-4" />
@@ -63,21 +63,21 @@
</td>
<td class="w-auto text-xs py-1.5">
<div
- class="whitespace-pre-wrap break-words pr-1.5"
- :class="editable && 'hover:!text-accent'"
+ class="whitespace-pre-wrap wrap-break-word pr-1.5"
+ :class="editable && 'hover:text-accent!'"
@click="handleClickColumn(column, 'name')"
>
{{ column.name }}
<span
v-if="columnStatus(column) !== 'normal'"
- class="inline-block rounded-full ml-0.5 h-1.5 w-1.5 bg-accent opacity-75 translate-y-[-1px]"
+ class="inline-block rounded-full ml-0.5 h-1.5 w-1.5 bg-accent opacity-75 -translate-y-px"
></span>
</div>
</td>
- <td class="w-[6rem] text-xs text-gray-400 py-1.5 text-right">
+ <td class="w-24 text-xs text-gray-400 py-1.5 text-right">
<div
class="truncate pr-1.5"
- :class="editable && 'hover:!text-accent'"
+ :class="editable && 'hover:text-accent!'"
@click="handleClickColumn(column, 'type')"
>
{{ column.type }}
diff --git a/frontend/src/components/SchemaDiagram/Navigator/Navigator.vue b/frontend/src/components/SchemaDiagram/Navigator/Navigator.vue
index 7b3f0accc8..cbe43c7ed1 100644
--- a/frontend/src/components/SchemaDiagram/Navigator/Navigator.vue
+++ b/frontend/src/components/SchemaDiagram/Navigator/Navigator.vue
@@ -2,7 +2,7 @@
<div class="relative h-full">
<div
class="bb-schema-diagram--navigator--main h-full bg-white overflow-hidden border-y border-gray-200 flex flex-col transition-all"
- :class="[state.expand ? 'w-72 shadow border-l' : 'w-0']"
+ :class="[state.expand ? 'w-72 shadow-sm border-l' : 'w-0']"
>
<div class="p-1 space-y-2">
<SchemaSelector
@@ -26,8 +26,8 @@
</div>
<div
- class="absolute rounded-full shadow-lg w-6 h-6 top-[4rem] flex items-center justify-center bg-white hover:bg-control-bg cursor-pointer z-[1] transition-all"
- :class="[state.expand ? 'left-[100%] -translate-x-3' : '-left-3']"
+ class="absolute rounded-full shadow-lg w-6 h-6 top-16 flex items-center justify-center bg-white hover:bg-control-bg cursor-pointer z-1 transition-all"
+ :class="[state.expand ? 'left-full -translate-x-3' : '-left-3']"
@click="state.expand = !state.expand"
>
<heroicons-outline:chevron-left
diff --git a/frontend/src/components/SchemaDiagram/Navigator/Tree.vue b/frontend/src/components/SchemaDiagram/Navigator/Tree.vue
index 7ed1c2acea..af993a16a9 100644
--- a/frontend/src/components/SchemaDiagram/Navigator/Tree.vue
+++ b/frontend/src/components/SchemaDiagram/Navigator/Tree.vue
@@ -114,16 +114,20 @@ const nodeProps = ({ option }: { option: TreeOption }) => {
<style lang="postcss">
.bb-schema-diagram-nav-tree.flat .n-tree-node-switcher {
- @apply !hidden;
+ display: none !important;
}
.bb-schema-diagram-nav-tree .n-tree-node-content {
- @apply !pl-0;
+ padding-left: 0 !important;
}
.bb-schema-diagram-nav-tree .n-tree-node-content__prefix {
- @apply shrink-0 !mr-1;
+ flex-shrink: 0;
+ margin-right: 0.25rem !important;
}
.bb-schema-diagram-nav-tree .n-tree-node-content__text {
- @apply truncate mr-1;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ margin-right: 0.25rem;
}
.bb-schema-diagram-nav-tree .n-tree-node--pending {
background-color: transparent !important;
diff --git a/frontend/src/components/SchemaDiagram/Navigator/TreeNode/Suffix.vue b/frontend/src/components/SchemaDiagram/Navigator/TreeNode/Suffix.vue
index 4524f56cd9..bfdbacb08a 100644
--- a/frontend/src/components/SchemaDiagram/Navigator/TreeNode/Suffix.vue
+++ b/frontend/src/components/SchemaDiagram/Navigator/TreeNode/Suffix.vue
@@ -22,6 +22,6 @@ defineProps<{
<style lang="postcss">
.bb-schema-diagram-nav-tree .n-tree-node:hover .focus-btn {
- @apply !visible;
+ visibility: visible !important;
}
</style>
diff --git a/frontend/src/components/SchemaDiagram/common/FocusButton.vue b/frontend/src/components/SchemaDiagram/common/FocusButton.vue
index e93eb43e58..ca7a005c44 100644
--- a/frontend/src/components/SchemaDiagram/common/FocusButton.vue
+++ b/frontend/src/components/SchemaDiagram/common/FocusButton.vue
@@ -1,7 +1,7 @@
<template>
<button
- class="p-0.5 rounded hover:bg-gray-200"
- :class="[isFocused && focusedClass, isFocused ? '!visible' : 'invisible']"
+ class="p-0.5 rounded-sm hover:bg-gray-200"
+ :class="[isFocused && focusedClass, isFocused ? 'visible!' : 'invisible']"
@click="toggleFocus"
>
<!-- TODO(Jim): replace this raw SVG with heroicons-outline:viewfinder-circle when supported -->
diff --git a/frontend/src/components/SchemaEditorLite/Aside/NodePrefix.vue b/frontend/src/components/SchemaEditorLite/Aside/NodePrefix.vue
index 9bab8b7b9e..c1eb67d76a 100644
--- a/frontend/src/components/SchemaEditorLite/Aside/NodePrefix.vue
+++ b/frontend/src/components/SchemaEditorLite/Aside/NodePrefix.vue
@@ -36,7 +36,7 @@
class="w-4 h-4 inline-flex items-center justify-center"
>
<PrimaryKeyIcon v-if="isPrimaryKeyColumn" class="w-4 h-4" />
- <IndexIcon v-if="isIndexColumn" class="!w-4 !h-4 text-gray-500" />
+ <IndexIcon v-if="isIndexColumn" class="w-4! h-4! text-gray-500" />
</div>
<SchemaIcon
diff --git a/frontend/src/components/SchemaEditorLite/Aside/Tree.vue b/frontend/src/components/SchemaEditorLite/Aside/Tree.vue
index 7845e366d4..74dcf16c5d 100644
--- a/frontend/src/components/SchemaEditorLite/Aside/Tree.vue
+++ b/frontend/src/components/SchemaEditorLite/Aside/Tree.vue
@@ -900,44 +900,54 @@ const handleExpandedKeysChange = (expandedKeys: string[]) => {
<style lang="postcss" scoped>
.schema-editor-tree :deep(.n-tree-node-wrapper) {
- @apply !p-0;
+ padding: 0 !important;
}
.schema-editor-tree :deep(.n-tree-node-content) {
- @apply !pl-2 text-sm;
+ padding-left: 0.5rem !important;
+ font-size: 0.875rem;
+ line-height: 1.25rem;
}
.schema-editor-tree :deep(.n-tree-node-indent) {
width: 0.25rem;
}
.schema-editor-tree :deep(.n-tree-node-content__prefix) {
- @apply shrink-0 !mr-1;
+ flex-shrink: 0;
+ margin-right: 0.25rem !important;
}
.schema-editor-tree
:deep(.n-tree-node-wrapper:hover .n-tree-node-content__suffix) {
- @apply !flex;
+ display: flex !important;
}
.schema-editor-tree
:deep(
.n-tree-node-wrapper .n-tree-node--selected .n-tree-node-content__suffix
) {
- @apply !flex;
+ display: flex !important;
}
.schema-editor-tree :deep(.n-tree-node-content__text) {
- @apply truncate mr-1;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ margin-right: 0.25rem;
}
.schema-editor-tree :deep(.n-tree-node-switcher) {
- @apply px-0 !w-4 !h-7;
+ padding-left: 0;
+ padding-right: 0;
+ width: 1rem !important;
+ height: 1.75rem !important;
}
.schema-editor-tree:not(.disable-diff-coloring)
:deep(.n-tree-node-content .created) {
- @apply text-green-700;
+ color: var(--color-green-700);
}
.schema-editor-tree:not(.disable-diff-coloring)
:deep(.n-tree-node-content .dropped) {
- @apply text-red-700 line-through;
+ color: var(--color-red-700);
+ text-decoration-line: line-through;
}
.schema-editor-tree:not(.disable-diff-coloring)
:deep(.n-tree-node-content .updated) {
- @apply text-yellow-700;
+ color: var(--color-yellow-700);
}
</style>
diff --git a/frontend/src/components/SchemaEditorLite/Modals/ActionConfirmModal.vue b/frontend/src/components/SchemaEditorLite/Modals/ActionConfirmModal.vue
index 0a572a7ea0..11f20935b8 100644
--- a/frontend/src/components/SchemaEditorLite/Modals/ActionConfirmModal.vue
+++ b/frontend/src/components/SchemaEditorLite/Modals/ActionConfirmModal.vue
@@ -2,7 +2,7 @@
<BBModal
:title="props.title"
:show="show"
- class="shadow-inner outline outline-gray-200"
+ class="shadow-inner outline-solid outline-gray-200"
@close="dismissModal"
>
<div class="w-80 mb-6">
diff --git a/frontend/src/components/SchemaEditorLite/Modals/EditColumnForeignKeyModal.vue b/frontend/src/components/SchemaEditorLite/Modals/EditColumnForeignKeyModal.vue
index 0f7d4d8c22..9a59e19612 100644
--- a/frontend/src/components/SchemaEditorLite/Modals/EditColumnForeignKeyModal.vue
+++ b/frontend/src/components/SchemaEditorLite/Modals/EditColumnForeignKeyModal.vue
@@ -1,7 +1,7 @@
<template>
<BBModal
:title="$t('schema-editor.foreign-key.edit')"
- class="shadow-inner outline outline-gray-200"
+ class="shadow-inner outline-solid outline-gray-200"
@close="dismissModal"
>
<div>
diff --git a/frontend/src/components/SchemaEditorLite/Modals/FunctionNameModal.vue b/frontend/src/components/SchemaEditorLite/Modals/FunctionNameModal.vue
index 7b56dd9460..c5ae9fc22f 100644
--- a/frontend/src/components/SchemaEditorLite/Modals/FunctionNameModal.vue
+++ b/frontend/src/components/SchemaEditorLite/Modals/FunctionNameModal.vue
@@ -5,7 +5,7 @@
? $t('schema-editor.actions.create-function')
: $t('schema-editor.actions.rename')
"
- class="shadow-inner outline outline-gray-200"
+ class="shadow-inner outline-solid outline-gray-200"
@close="dismissModal"
>
<div class="w-72">
diff --git a/frontend/src/components/SchemaEditorLite/Modals/ProcedureNameModal.vue b/frontend/src/components/SchemaEditorLite/Modals/ProcedureNameModal.vue
index e1dd5062f0..14e55d83b1 100644
--- a/frontend/src/components/SchemaEditorLite/Modals/ProcedureNameModal.vue
+++ b/frontend/src/components/SchemaEditorLite/Modals/ProcedureNameModal.vue
@@ -5,7 +5,7 @@
? $t('schema-editor.actions.create-procedure')
: $t('schema-editor.actions.rename')
"
- class="shadow-inner outline outline-gray-200"
+ class="shadow-inner outline-solid outline-gray-200"
@close="dismissModal"
>
<div class="w-72">
diff --git a/frontend/src/components/SchemaEditorLite/Modals/SchemaNameModal.vue b/frontend/src/components/SchemaEditorLite/Modals/SchemaNameModal.vue
index 73a95ecc18..72932b6022 100644
--- a/frontend/src/components/SchemaEditorLite/Modals/SchemaNameModal.vue
+++ b/frontend/src/components/SchemaEditorLite/Modals/SchemaNameModal.vue
@@ -1,7 +1,7 @@
<template>
<BBModal
:title="$t('schema-editor.actions.create-schema')"
- class="shadow-inner outline outline-gray-200"
+ class="shadow-inner outline-solid outline-gray-200"
@close="dismissModal"
>
<div class="w-72">
diff --git a/frontend/src/components/SchemaEditorLite/Modals/TableNameModal.vue b/frontend/src/components/SchemaEditorLite/Modals/TableNameModal.vue
index b43134e377..44442f1708 100644
--- a/frontend/src/components/SchemaEditorLite/Modals/TableNameModal.vue
+++ b/frontend/src/components/SchemaEditorLite/Modals/TableNameModal.vue
@@ -5,7 +5,7 @@
? $t('schema-editor.actions.create-table')
: $t('schema-editor.actions.rename')
"
- class="shadow-inner outline outline-gray-200"
+ class="shadow-inner outline-solid outline-gray-200"
@close="dismissModal"
>
<div class="w-72">
diff --git a/frontend/src/components/SchemaEditorLite/Modals/ViewNameModal.vue b/frontend/src/components/SchemaEditorLite/Modals/ViewNameModal.vue
index 7fc0816b31..6d9c83dd5a 100644
--- a/frontend/src/components/SchemaEditorLite/Modals/ViewNameModal.vue
+++ b/frontend/src/components/SchemaEditorLite/Modals/ViewNameModal.vue
@@ -5,7 +5,7 @@
? $t('schema-editor.actions.create-view')
: $t('schema-editor.actions.rename')
"
- class="shadow-inner outline outline-gray-200"
+ class="shadow-inner outline-solid outline-gray-200"
@close="dismissModal"
>
<div class="w-72">
diff --git a/frontend/src/components/SchemaEditorLite/Panels/CommonCodeEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/CommonCodeEditor.vue
index 3087ee3183..864c673966 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/CommonCodeEditor.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/CommonCodeEditor.vue
@@ -12,7 +12,7 @@
database: db.name,
scene: 'all',
}"
- class="border w-full h-full rounded"
+ class="border w-full h-full rounded-sm"
@update:content="handleUpdateCode"
/>
</div>
diff --git a/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue
index 4c46723f38..05640e06b9 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue
@@ -15,7 +15,7 @@
<NSelect
:value="selectedSchemaName"
:options="schemaSelectorOptionList"
- class="min-w-[8rem]"
+ class="min-w-32"
@update:value="$emit('update:selected-schema-name', $event)"
/>
</div>
@@ -60,7 +60,7 @@
</div>
<div class="flex justify-end items-center">
<div
- class="flex flex-row justify-end items-center bg-gray-100 p-1 rounded whitespace-nowrap"
+ class="flex flex-row justify-end items-center bg-gray-100 p-1 rounded-sm whitespace-nowrap"
>
<NButton
size="small"
@@ -130,7 +130,7 @@
@close="state.showSchemaTemplateDrawer = false"
>
<DrawerContent :title="$t('schema-template.table-template.self')">
- <div class="w-[calc(100vw-36rem)] min-w-[64rem] max-w-[calc(100vw-8rem)]">
+ <div class="w-[calc(100vw-36rem)] min-w-5xl max-w-[calc(100vw-8rem)]">
<TableTemplates
:engine="engine"
:readonly="true"
diff --git a/frontend/src/components/SchemaEditorLite/Panels/IndexesEditor/IndexesEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/IndexesEditor/IndexesEditor.vue
index edf9618cfc..2d162db385 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/IndexesEditor/IndexesEditor.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/IndexesEditor/IndexesEditor.vue
@@ -219,7 +219,7 @@ const columns = computed(() => {
resizable: false,
width: 30,
hide: props.readonly,
- className: "!px-0",
+ className: "px-0!",
render: (index) => {
return h(OperationCell, {
index,
@@ -238,33 +238,46 @@ const columns = computed(() => {
<style lang="postcss" scoped>
.schema-editor-table-indexes-editor
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: var(--color-control-bg);
+ height: 66.666667%;
}
.schema-editor-table-indexes-editor :deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
.schema-editor-table-indexes-editor
:deep(.n-data-table-td.input-cell .n-input__placeholder),
.schema-editor-table-indexes-editor
:deep(.n-data-table-td.input-cell .n-base-selection-placeholder) {
- @apply italic;
+ font-style: italic;
}
.schema-editor-table-indexes-editor :deep(.n-data-table-td.checkbox-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
.schema-editor-table-indexes-editor :deep(.n-data-table-td.text-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
.schema-editor-table-indexes-editor
:deep(.n-data-table-tr.created .n-data-table-td) {
- @apply text-green-700 !bg-green-50;
+ color: var(--color-green-700);
+ background-color: var(--color-green-50) !important;
}
.schema-editor-table-indexes-editor
:deep(.n-data-table-tr.dropped .n-data-table-td) {
- @apply text-red-700 cursor-not-allowed !bg-red-50 opacity-70;
+ color: var(--color-red-700);
+ cursor: not-allowed;
+ background-color: var(--color-red-50) !important;
+ opacity: 0.7;
}
.schema-editor-table-indexes-editor
:deep(.n-data-table-tr.updated .n-data-table-td) {
- @apply text-yellow-700 !bg-yellow-50;
+ color: var(--color-yellow-700);
+ background-color: var(--color-yellow-50) !important;
}
</style>
diff --git a/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue
index 5ceb0585c7..c63b451def 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue
@@ -338,7 +338,7 @@ const columns = computed(() => {
resizable: false,
width: 60,
hide: props.readonly,
- className: "!px-0",
+ className: "px-0!",
render: (item) => {
return (
<OperationCell
@@ -410,41 +410,55 @@ const columns = computed(() => {
<style lang="postcss" scoped>
.schema-editor-table-partitions-editor
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: var(--color-control-bg);
+ height: 66.666667%;
}
.schema-editor-table-partitions-editor :deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
.schema-editor-table-partitions-editor
:deep(.n-data-table-td .n-data-table-expand-placeholder) {
- @apply hidden;
+ display: none;
}
.schema-editor-table-partitions-editor
:deep(.n-data-table-td .n-data-table-expand-trigger) {
- @apply ml-2 mr-0;
+ margin-left: 0.5rem;
+ margin-right: 0;
}
.schema-editor-table-partitions-editor
:deep(.n-data-table-td.input-cell .n-input__placeholder),
.schema-editor-table-partitions-editor
:deep(.n-data-table-td.input-cell .n-base-selection-placeholder) {
- @apply italic;
+ font-style: italic;
}
.schema-editor-table-partitions-editor :deep(.n-data-table-td.checkbox-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
.schema-editor-table-partitions-editor :deep(.n-data-table-td.text-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
.schema-editor-table-partitions-editor
:deep(.n-data-table-tr.created .n-data-table-td) {
- @apply text-green-700 !bg-green-50;
+ color: var(--color-green-700);
+ background-color: var(--color-green-50) !important;
}
.schema-editor-table-partitions-editor
:deep(.n-data-table-tr.dropped .n-data-table-td) {
- @apply text-red-700 cursor-not-allowed !bg-red-50 opacity-70;
+ color: var(--color-red-700);
+ cursor: not-allowed;
+ background-color: var(--color-red-50) !important;
+ opacity: 0.7;
}
.schema-editor-table-partitions-editor
:deep(.n-data-table-tr.updated .n-data-table-td) {
- @apply text-yellow-700 !bg-yellow-50;
+ color: var(--color-yellow-700);
+ background-color: var(--color-yellow-50) !important;
}
</style>
diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue
index ab6591658a..56f47af282 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue
@@ -363,7 +363,7 @@ const columns = computed(() => {
resizable: false,
width: 44,
hide: props.readonly || !props.allowReorderColumns,
- className: "!px-0",
+ className: "px-0!",
render: (column, index) => {
return h(ReorderCell, {
allowMoveUp: index > 0,
@@ -639,7 +639,7 @@ const columns = computed(() => {
resizable: false,
width: 30,
hide: props.readonly,
- className: "!px-0",
+ className: "px-0!",
render: (column) => {
return h(OperationCell, {
dropped: isDroppedColumn(column),
@@ -789,33 +789,46 @@ useConsumePendingScrollToColumn(
<style lang="postcss" scoped>
.schema-editor-table-column-editor
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: var(--color-control-bg);
+ height: 66.666667%;
}
.schema-editor-table-column-editor :deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
.schema-editor-table-column-editor
:deep(.n-data-table-td.input-cell .n-input__placeholder),
.schema-editor-table-column-editor
:deep(.n-data-table-td.input-cell .n-base-selection-placeholder) {
- @apply italic;
+ font-style: italic;
}
.schema-editor-table-column-editor :deep(.n-data-table-td.checkbox-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
.schema-editor-table-column-editor :deep(.n-data-table-td.text-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
.schema-editor-table-column-editor:not(.disable-diff-coloring)
:deep(.n-data-table-tr.created .n-data-table-td) {
- @apply text-green-700 !bg-green-50;
+ color: var(--color-green-700);
+ background-color: var(--color-green-50) !important;
}
.schema-editor-table-column-editor:not(.disable-diff-coloring)
:deep(.n-data-table-tr.dropped .n-data-table-td) {
- @apply text-red-700 cursor-not-allowed !bg-red-50 opacity-70;
+ color: var(--color-red-700);
+ cursor: not-allowed;
+ background-color: var(--color-red-50) !important;
+ opacity: 0.7;
}
.schema-editor-table-column-editor:not(.disable-diff-coloring)
:deep(.n-data-table-tr.updated .n-data-table-td) {
- @apply text-yellow-700 !bg-yellow-50;
+ color: var(--color-yellow-700);
+ background-color: var(--color-yellow-50) !important;
}
</style>
diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue
index 21f52d2574..639716251c 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue
@@ -168,7 +168,7 @@
@close="state.showSchemaTemplateDrawer = false"
>
<DrawerContent :title="$t('schema-template.field-template.self')">
- <div class="w-[calc(100vw-36rem)] min-w-[64rem] max-w-[calc(100vw-8rem)]">
+ <div class="w-[calc(100vw-36rem)] min-w-5xl max-w-[calc(100vw-8rem)]">
<FieldTemplates
:engine="engine"
:readonly="true"
diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue b/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue
index 05cdf40b45..60f4f24ba9 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue
@@ -28,7 +28,7 @@
@close="state.showSchemaTemplateDrawer = false"
>
<DrawerContent :title="$t('schema-template.table-template.self')">
- <div class="w-[calc(100vw-36rem)] min-w-[64rem] max-w-[calc(100vw-8rem)]">
+ <div class="w-[calc(100vw-36rem)] min-w-5xl max-w-[calc(100vw-8rem)]">
<TableTemplates
:engine="engine"
:readonly="true"
@@ -325,7 +325,7 @@ const columns = computed(() => {
resizable: false,
width: 30,
hide: readonly.value,
- className: "!px-0",
+ className: "px-0!",
render: (table) => {
return h(OperationCell, {
table,
@@ -432,22 +432,30 @@ useConsumePendingScrollToTable(
<style lang="postcss" scoped>
.schema-editor-table-list
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: var(--color-control-bg);
+ height: 66.666667%;
}
.schema-editor-table-list :deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
.schema-editor-table-list:not(.disable-diff-coloring)
:deep(.n-data-table-tr.created .n-data-table-td) {
- @apply text-green-700 !bg-green-50;
+ color: var(--color-green-700);
+ background-color: var(--color-green-50) !important;
}
.schema-editor-table-list:not(.disable-diff-coloring)
:deep(.n-data-table-tr.dropped .n-data-table-td) {
- @apply text-red-700 !bg-red-50 opacity-70;
+ color: var(--color-red-700);
+ background-color: var(--color-red-50) !important;
+ opacity: 0.7;
}
.schema-editor-table-list:not(.disable-diff-coloring)
:deep(.n-data-table-tr.updated .n-data-table-td) {
- @apply text-yellow-700 !bg-yellow-50;
+ color: var(--color-yellow-700);
+ background-color: var(--color-yellow-50) !important;
}
</style>
diff --git a/frontend/src/components/SchemaEditorLite/SchemaEditorLite.vue b/frontend/src/components/SchemaEditorLite/SchemaEditorLite.vue
index 0d0798553c..5c6e3d4332 100644
--- a/frontend/src/components/SchemaEditorLite/SchemaEditorLite.vue
+++ b/frontend/src/components/SchemaEditorLite/SchemaEditorLite.vue
@@ -165,28 +165,33 @@ defineExpose({
<style lang="postcss" scoped>
/* splitpanes pane style */
.bb-schema-editor :deep(.splitpanes.default-theme .splitpanes__pane) {
- @apply bg-transparent !transition-none;
+ background-color: transparent;
+ transition: none !important;
}
.bb-schema-editor :deep(.splitpanes.default-theme .splitpanes__splitter) {
- @apply bg-gray-100 border-none;
+ background-color: var(--color-gray-100);
+ border: none;
}
.bb-schema-editor :deep(.splitpanes.default-theme .splitpanes__splitter:hover) {
- @apply bg-indigo-300;
+ background-color: var(--color-indigo-300);
}
.bb-schema-editor
:deep(.splitpanes.default-theme .splitpanes__splitter::before),
.bb-schema-editor
:deep(.splitpanes.default-theme .splitpanes__splitter::after) {
- @apply bg-gray-700 opacity-50 text-white;
+ background-color: var(--color-gray-700);
+ opacity: 0.5;
+ color: white;
}
.bb-schema-editor
:deep(.splitpanes.default-theme .splitpanes__splitter:hover::before),
.bb-schema-editor
:deep(.splitpanes.default-theme .splitpanes__splitter:hover::after) {
- @apply bg-white opacity-100;
+ background-color: white;
+ opacity: 1;
}
</style>
diff --git a/frontend/src/components/SchemaEditorLite/TabsContainer.vue b/frontend/src/components/SchemaEditorLite/TabsContainer.vue
index a573f61acb..2aefa49fe2 100644
--- a/frontend/src/components/SchemaEditorLite/TabsContainer.vue
+++ b/frontend/src/components/SchemaEditorLite/TabsContainer.vue
@@ -1,7 +1,7 @@
<template>
<div class="flex justify-between items-center">
<div
- class="relative flex flex-1 flex-nowrap overflow-hidden overflow bg-gray-100 select-none shrink-0 rounded"
+ class="relative flex flex-1 flex-nowrap overflow-hidden overflow bg-gray-100 select-none shrink-0 rounded-sm"
>
<div
ref="tabsContainerRef"
@@ -12,9 +12,9 @@
ref="tabsContainerRef"
:key="tab.id"
:class="[
- `relative px-1 py-1 my-1 rounded w-40 flex flex-row justify-between items-center shrink-0 border border-transparent cursor-pointer`,
+ `relative px-1 py-1 my-1 rounded-sm w-40 flex flex-row justify-between items-center shrink-0 border border-transparent cursor-pointer`,
`tab-${tab.id}`,
- tab.id === currentTab?.id && 'bg-white border-gray-200 shadow',
+ tab.id === currentTab?.id && 'bg-white border-gray-200 shadow-sm',
]"
@click="handleSelectTab(tab)"
>
@@ -49,7 +49,7 @@
</div>
<span class="tab-close-button shrink-0 flex">
<XIcon
- class="rounded w-4 h-auto text-gray-400 hover:text-gray-600"
+ class="rounded-sm w-4 h-auto text-gray-400 hover:text-gray-600"
@click.stop.prevent="handleCloseTab(tab)"
/>
</span>
diff --git a/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue b/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue
index 422de79533..2a359b2dee 100644
--- a/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue
+++ b/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue
@@ -7,7 +7,10 @@
{{ placeholder }}
</span>
</NPerformantEllipsis>
- <span v-if="level" :class="['ml-1 px-1 py-0.5 rounded text-xs', levelColor]">
+ <span
+ v-if="level"
+ :class="['ml-1 px-1 py-0.5 rounded-sm text-xs', levelColor]"
+ >
{{ level.title }}
</span>
</template>
diff --git a/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue b/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue
index b384e768a1..f737451e00 100644
--- a/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue
+++ b/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue
@@ -134,7 +134,7 @@
<DefaultValueCell
:column="state.column"
:disabled="readonly"
- border="1px solid rgb(224, 224, 230)"
+ border="1px solid rgb(var(--color-control-border))"
@update="handleColumnDefaultSelect"
/>
</div>
@@ -188,7 +188,7 @@
v-model:kv-list="state.kvList"
:readonly="!!readonly"
:show-errors="dirty"
- class="max-w-[30rem]"
+ class="max-w-120"
/>
</div>
</div>
diff --git a/frontend/src/components/SchemaTemplate/FieldTemplateView.vue b/frontend/src/components/SchemaTemplate/FieldTemplateView.vue
index c69d772ba8..f969b0cbc9 100644
--- a/frontend/src/components/SchemaTemplate/FieldTemplateView.vue
+++ b/frontend/src/components/SchemaTemplate/FieldTemplateView.vue
@@ -1,5 +1,5 @@
<template>
- <NEmpty v-if="templateList.length === 0" class="py-12 border rounded" />
+ <NEmpty v-if="templateList.length === 0" class="py-12 border rounded-sm" />
<div v-else class="flex">
<div
class="hidden lg:flex w-1/5 max-w-xs flex-col space-y-3 border-r mr-5 pr-5"
diff --git a/frontend/src/components/SchemaTemplate/SelectClassificationDrawer.vue b/frontend/src/components/SchemaTemplate/SelectClassificationDrawer.vue
index f442a41dd1..7f13a8f5f3 100644
--- a/frontend/src/components/SchemaTemplate/SelectClassificationDrawer.vue
+++ b/frontend/src/components/SchemaTemplate/SelectClassificationDrawer.vue
@@ -1,7 +1,7 @@
<template>
<Drawer :show="show" @close="$emit('dismiss')">
<DrawerContent :title="$t('schema-template.classification.select')">
- <div class="w-[25rem] h-full">
+ <div class="w-100 h-full">
<ClassificationTree
:classification-config="classificationConfig"
@apply="onApply"
diff --git a/frontend/src/components/SchemaTemplate/TableTemplateForm.vue b/frontend/src/components/SchemaTemplate/TableTemplateForm.vue
index a741e48da6..e248adc0f4 100644
--- a/frontend/src/components/SchemaTemplate/TableTemplateForm.vue
+++ b/frontend/src/components/SchemaTemplate/TableTemplateForm.vue
@@ -154,7 +154,7 @@
@close="state.showFieldTemplateDrawer = false"
>
<DrawerContent :title="$t('schema-template.field-template.self')">
- <div class="w-[calc(100vw-36rem)] min-w-[64rem] max-w-[calc(100vw-8rem)]">
+ <div class="w-[calc(100vw-36rem)] min-w-5xl max-w-[calc(100vw-8rem)]">
<FieldTemplates
:engine="editing.engine"
:readonly="false"
diff --git a/frontend/src/components/SchemaTemplate/TableTemplateView.vue b/frontend/src/components/SchemaTemplate/TableTemplateView.vue
index bf5df1c143..5793dec472 100644
--- a/frontend/src/components/SchemaTemplate/TableTemplateView.vue
+++ b/frontend/src/components/SchemaTemplate/TableTemplateView.vue
@@ -1,5 +1,5 @@
<template>
- <NEmpty v-if="templateList.length === 0" class="py-12 border rounded" />
+ <NEmpty v-if="templateList.length === 0" class="py-12 border rounded-sm" />
<div v-else class="flex">
<div
class="hidden lg:flex w-1/5 max-w-xs flex-col space-y-3 border-r mr-5 pr-5"
diff --git a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue
index ccf4571d9f..0bee889dc6 100644
--- a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue
+++ b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue
@@ -55,7 +55,7 @@
/>
</div>
<NEmpty
- class="py-12 border rounded"
+ class="py-12 border rounded-sm"
v-if="state.maskingRuleItemList.length === 0"
/>
<div
diff --git a/frontend/src/components/SensitiveData/GrantAccessDrawer.vue b/frontend/src/components/SensitiveData/GrantAccessDrawer.vue
index 4b009487bb..58a2b7c637 100644
--- a/frontend/src/components/SensitiveData/GrantAccessDrawer.vue
+++ b/frontend/src/components/SensitiveData/GrantAccessDrawer.vue
@@ -2,7 +2,7 @@
<Drawer :show="true" @close="() => emit('dismiss')">
<DrawerContent
:title="$t('settings.sensitive-data.grant-access')"
- class="w-[64rem] max-w-[100vw] relative grant-access-drawer"
+ class="w-5xl max-w-[100vw] relative grant-access-drawer"
>
<GrantAccessForm
:column-list="columnList"
diff --git a/frontend/src/components/SensitiveData/MaskingExceptionUserTable.vue b/frontend/src/components/SensitiveData/MaskingExceptionUserTable.vue
index e88fab8d28..b15668fea2 100644
--- a/frontend/src/components/SensitiveData/MaskingExceptionUserTable.vue
+++ b/frontend/src/components/SensitiveData/MaskingExceptionUserTable.vue
@@ -492,7 +492,7 @@ const revokeAccessAlert = (
content: () => {
return (
<div class="space-y-3">
- <div class="textlabel !text-base">
+ <div class="textlabel text-base!">
{t("project.masking-exemption.revoke-exemption-title", {
member: getMemberBinding(item),
})}
diff --git a/frontend/src/components/SensitiveData/components/DataExampleModal.vue b/frontend/src/components/SensitiveData/components/DataExampleModal.vue
index dca90f4c22..1bcf17b475 100644
--- a/frontend/src/components/SensitiveData/components/DataExampleModal.vue
+++ b/frontend/src/components/SensitiveData/components/DataExampleModal.vue
@@ -4,10 +4,10 @@
:mask-closable="true"
:trap-focus="false"
:title="$t('settings.sensitive-data.json-format-example')"
- class="w-[48rem] max-w-full"
+ class="w-3xl max-w-full"
@close="$emit('dismiss')"
>
- <div class="my-4 rounded-sm p-4 bg-gray-100 relative">
+ <div class="my-4 rounded-xs p-4 bg-gray-100 relative">
<div class="absolute top-2 right-2 p-2">
<CopyButton
quaternary
diff --git a/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue b/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue
index f447c7123d..bf72bf75ba 100644
--- a/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue
+++ b/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue
@@ -8,7 +8,7 @@
<NInput
v-if="!readonly"
v-model:value="state.title"
- class="!w-64"
+ class="w-64!"
:placeholder="defaultTitle"
type="text"
size="small"
diff --git a/frontend/src/components/SensitiveData/components/SemanticTemplateDrawer.vue b/frontend/src/components/SensitiveData/components/SemanticTemplateDrawer.vue
index 76862026e2..01e8a6d015 100644
--- a/frontend/src/components/SensitiveData/components/SemanticTemplateDrawer.vue
+++ b/frontend/src/components/SensitiveData/components/SemanticTemplateDrawer.vue
@@ -4,7 +4,7 @@
:title="$t('settings.sensitive-data.semantic-types.add-from-template')"
class="max-w-[100vw]"
>
- <div class="w-[42rem] space-y-4">
+ <div class="w-2xl space-y-4">
<p class="textinfolabel">
{{
$t("settings.sensitive-data.semantic-types.template.description")
diff --git a/frontend/src/components/SensitiveData/components/SemanticTypesDrawer.vue b/frontend/src/components/SensitiveData/components/SemanticTypesDrawer.vue
index 7713b9836a..47734750e2 100644
--- a/frontend/src/components/SensitiveData/components/SemanticTypesDrawer.vue
+++ b/frontend/src/components/SensitiveData/components/SemanticTypesDrawer.vue
@@ -1,7 +1,7 @@
<template>
<Drawer :show="show" @close="$emit('dismiss')">
<DrawerContent :title="$t('settings.sensitive-data.semantic-types.self')">
- <div class="divide-block-border space-y-8 w-[50rem] h-full">
+ <div class="divide-block-border space-y-8 w-200 h-full">
<SemanticTypesTable
:readonly="true"
:row-clickable="true"
diff --git a/frontend/src/components/SingleFileSelector.vue b/frontend/src/components/SingleFileSelector.vue
index 8a6aa05cc9..2fed4b77d7 100644
--- a/frontend/src/components/SingleFileSelector.vue
+++ b/frontend/src/components/SingleFileSelector.vue
@@ -26,7 +26,7 @@
</slot>
<div class="text-sm text-gray-600 inline-flex pointer-events-none">
<span
- class="relative cursor-pointer rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-indigo-500"
+ class="relative cursor-pointer rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-hidden focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-indigo-500"
>
{{ $t("settings.general.workspace.select-logo") }}
</span>
diff --git a/frontend/src/components/SyncDatabaseSchemaV1/SelectTargetDatabasesView.vue b/frontend/src/components/SyncDatabaseSchemaV1/SelectTargetDatabasesView.vue
index 0f04806e8e..89a723644e 100644
--- a/frontend/src/components/SyncDatabaseSchemaV1/SelectTargetDatabasesView.vue
+++ b/frontend/src/components/SyncDatabaseSchemaV1/SelectTargetDatabasesView.vue
@@ -16,16 +16,16 @@
class="w-full h-full relative flex flex-col justify-start items-start overflow-y-auto pb-2"
>
<div
- class="w-full h-auto flex flex-col justify-start items-start sticky top-0 z-[1]"
+ class="w-full h-auto flex flex-col justify-start items-start sticky top-0 z-1"
>
<div
- class="w-full bg-white border-b p-2 px-3 flex flex-row justify-between items-center sticky top-0 z-[1]"
+ class="w-full bg-white border-b p-2 px-3 flex flex-row justify-between items-center sticky top-0 z-1"
>
<span class="text-sm">{{
$t("database.sync-schema.target-databases")
}}</span>
<button
- class="p-0.5 rounded bg-gray-100 hover:shadow hover:opacity-80"
+ class="p-0.5 rounded-sm bg-gray-100 hover:shadow-sm hover:opacity-80"
@click="state.showSelectDatabasePanel = true"
>
<heroicons-outline:plus class="w-4 h-auto" />
@@ -63,10 +63,10 @@
<div
v-for="database of shownDatabaseList"
:key="database.name"
- class="w-full group flex flex-row justify-start items-center px-2 py-1 leading-8 cursor-pointer text-sm text-ellipsis whitespace-nowrap rounded hover:bg-gray-50"
+ class="w-full group flex flex-row justify-start items-center px-2 py-1 leading-8 cursor-pointer text-sm text-ellipsis whitespace-nowrap rounded-sm hover:bg-gray-50"
:class="
database.name === state.selectedDatabaseName
- ? '!bg-gray-100'
+ ? 'bg-gray-100!'
: ''
"
@click="() => (state.selectedDatabaseName = database.name)"
@@ -86,7 +86,7 @@
</NEllipsis>
<div class="grow"></div>
<button
- class="hidden shrink-0 group-hover:block ml-1 p-0.5 rounded bg-white hover:shadow"
+ class="hidden shrink-0 group-hover:block ml-1 p-0.5 rounded-sm bg-white hover:shadow-sm"
@click.stop="handleUnselectDatabase(database)"
>
<heroicons-outline:minus class="w-4 h-auto text-gray-500" />
@@ -136,7 +136,7 @@
</div>
<div
v-show="state.isLoading"
- class="absolute inset-0 z-10 bg-white bg-opacity-40 backdrop-blur-sm w-full h-full flex flex-col justify-center items-center"
+ class="absolute inset-0 z-10 bg-white bg-opacity-40 backdrop-blur-xs w-full h-full flex flex-col justify-center items-center"
>
<BBSpin />
<span class="mt-1">{{ $t("common.loading") }}</span>
diff --git a/frontend/src/components/SyncDatabaseSchemaV1/TargetDatabasesSelectPanel.vue b/frontend/src/components/SyncDatabaseSchemaV1/TargetDatabasesSelectPanel.vue
index a63537a4c0..793517ccb7 100644
--- a/frontend/src/components/SyncDatabaseSchemaV1/TargetDatabasesSelectPanel.vue
+++ b/frontend/src/components/SyncDatabaseSchemaV1/TargetDatabasesSelectPanel.vue
@@ -9,7 +9,7 @@
<DrawerContent
:title="$t('database.sync-schema.target-databases')"
:closable="true"
- class="w-[64rem] max-w-[100vw] relative"
+ class="w-5xl max-w-[100vw] relative"
>
<AdvancedSearch
v-model:params="state.params"
diff --git a/frontend/src/components/SyncDatabaseSchemaV1/index.vue b/frontend/src/components/SyncDatabaseSchemaV1/index.vue
index 092ac8e5d5..75d3643003 100644
--- a/frontend/src/components/SyncDatabaseSchemaV1/index.vue
+++ b/frontend/src/components/SyncDatabaseSchemaV1/index.vue
@@ -15,7 +15,7 @@
</div>
<StepTab
v-else
- class="pt-4 flex-1 overflow-hidden flex flex-col !space-y-4"
+ class="pt-4 flex-1 overflow-hidden flex flex-col space-y-4!"
:step-list="stepTabList"
:current-index="state.currentStep"
:show-cancel="false"
diff --git a/frontend/src/components/TableDetailDrawer.vue b/frontend/src/components/TableDetailDrawer.vue
index c5719ab78e..68aa4da05b 100644
--- a/frontend/src/components/TableDetailDrawer.vue
+++ b/frontend/src/components/TableDetailDrawer.vue
@@ -6,7 +6,7 @@
bodyContentClass: 'relative',
}"
>
- <div class="focus:outline-none w-[calc(100vw-256px)]" tabindex="0">
+ <div class="focus:outline-hidden w-[calc(100vw-256px)]" tabindex="0">
<MaskSpinner v-if="isFetchingTableMetadata" />
<main v-if="table" class="flex-1 relative pb-8 overflow-y-auto">
<!-- Highlight Panel -->
@@ -81,7 +81,7 @@
<NButton
quaternary
size="tiny"
- class="!px-1"
+ class="px-1!"
v-bind="$attrs"
>
<span class="textlabel"
@@ -91,7 +91,7 @@
</NButton>
</template>
<TableSchemaViewer
- class="!w-[32rem] !h-[20rem]"
+ class="w-lg! h-80!"
:database="database"
:schema="schemaName"
:object="tableName"
diff --git a/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vue b/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vue
index 67de9b0eab..ef7cbeb62a 100644
--- a/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vue
+++ b/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vue
@@ -1,8 +1,6 @@
<template>
<DrawerContent :title="$t('quick-action.transfer-in-db-title')">
- <div
- class="px-4 w-[calc(100vw-8rem)] lg:w-[60rem] max-w-[calc(100vw-8rem)]"
- >
+ <div class="px-4 w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)]">
<div class="space-y-4">
<TransferSourceSelector
v-model:transfer-source="state.transferSource"
@@ -14,7 +12,7 @@
/>
<ProjectSelect
v-if="state.transferSource == 'OTHER'"
- class="!w-48"
+ class="w-48!"
:include-all="false"
:project-name="state.fromProjectName"
:filter="filterSourceProject"
diff --git a/frontend/src/components/TransferDatabaseForm/TransferSourceSelector.vue b/frontend/src/components/TransferDatabaseForm/TransferSourceSelector.vue
index 4ee96cf7a4..d6519165ae 100644
--- a/frontend/src/components/TransferDatabaseForm/TransferSourceSelector.vue
+++ b/frontend/src/components/TransferDatabaseForm/TransferSourceSelector.vue
@@ -20,20 +20,20 @@
</div>
<NInputGroup style="width: auto">
<EnvironmentSelect
- class="!w-40"
+ class="w-40!"
:environment-name="
environment ? formatEnvironmentName(environment.id) : undefined
"
@update:environment-name="changeEnvironmentFilter"
/>
<InstanceSelect
- class="!w-40"
+ class="w-40!"
:project-name="sourceProjectName"
:instance="instance?.name"
@update:instance-name="changeInstanceFilter"
/>
<SearchBox
- class="!w-40"
+ class="w-40!"
:value="searchText"
:placeholder="$t('database.filter-database')"
@update:value="$emit('update:search-text', $event)"
diff --git a/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue b/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue
index 9e0b390fdd..73f493aee4 100644
--- a/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue
+++ b/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue
@@ -1,7 +1,7 @@
<template>
<DrawerContent :title="$t('database.transfer-database-to')">
<div
- class="w-[calc(100vw-8rem)] lg:w-[60rem] max-w-[calc(100vw-8rem)] h-full flex flex-col gap-y-2"
+ class="w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)] h-full flex flex-col gap-y-2"
>
<div
v-if="loading"
diff --git a/frontend/src/components/TriggerDataTable.vue b/frontend/src/components/TriggerDataTable.vue
index 4defa704af..705f91eb58 100644
--- a/frontend/src/components/TriggerDataTable.vue
+++ b/frontend/src/components/TriggerDataTable.vue
@@ -92,7 +92,7 @@ const columns = computed(() => {
default: () => trigger.sqlMode,
tooltip: () => (
<div
- class="text-wrap whitespace-pre break-words break-all"
+ class="text-wrap whitespace-pre wrap-break-word break-all"
style="max-width: calc(min(33vw, 320px))"
>
{trigger.sqlMode.replaceAll(",", ",\n")}
diff --git a/frontend/src/components/TwoFactorSecretModal.vue b/frontend/src/components/TwoFactorSecretModal.vue
index 3298731030..f8da7c3e41 100644
--- a/frontend/src/components/TwoFactorSecretModal.vue
+++ b/frontend/src/components/TwoFactorSecretModal.vue
@@ -2,7 +2,7 @@
<BBModal
:title="$t('two-factor.your-two-factor-secret.self')"
:subtitle="$t('two-factor.your-two-factor-secret.description')"
- class="outline outline-gray-200"
+ class="outline-solid outline-gray-200"
@close="dismissModal"
>
<div class="w-auto mb-4 py-2">
diff --git a/frontend/src/components/UploadFilesButton.vue b/frontend/src/components/UploadFilesButton.vue
index 243ad1111d..e066111c5a 100644
--- a/frontend/src/components/UploadFilesButton.vue
+++ b/frontend/src/components/UploadFilesButton.vue
@@ -28,7 +28,7 @@
:consistent-menu-width="false"
/>
</div>
- <NUpload :file-list="uploadFileList" disabled trigger-class="!hidden">
+ <NUpload :file-list="uploadFileList" disabled trigger-class="hidden!">
</NUpload>
</div>
<div class="w-full flex items-center justify-end mt-4 gap-x-2">
diff --git a/frontend/src/components/User/Settings/AADSyncDrawer.vue b/frontend/src/components/User/Settings/AADSyncDrawer.vue
index fc719b8ea3..43e61dad59 100644
--- a/frontend/src/components/User/Settings/AADSyncDrawer.vue
+++ b/frontend/src/components/User/Settings/AADSyncDrawer.vue
@@ -1,7 +1,7 @@
<template>
<Drawer :show="show" @close="$emit('close')">
<DrawerContent
- class="w-[50rem] max-w-[90vw] relative"
+ class="w-200 max-w-[90vw] relative"
:title="$t('settings.members.entra-sync.self')"
>
<template #default>
diff --git a/frontend/src/components/User/Settings/CreateGroupDrawer.vue b/frontend/src/components/User/Settings/CreateGroupDrawer.vue
index 9de77c9671..f52bbc7299 100644
--- a/frontend/src/components/User/Settings/CreateGroupDrawer.vue
+++ b/frontend/src/components/User/Settings/CreateGroupDrawer.vue
@@ -1,7 +1,7 @@
<template>
<Drawer @close="$emit('close')">
<DrawerContent
- class="w-[50rem] max-w-[90vw] relative"
+ class="w-200 max-w-[90vw] relative"
:title="
isCreating
? $t('settings.members.groups.add-group')
diff --git a/frontend/src/components/User/Settings/UserDataTable/cells/GroupsCell.vue b/frontend/src/components/User/Settings/UserDataTable/cells/GroupsCell.vue
index b476c8505f..1a8ced399a 100644
--- a/frontend/src/components/User/Settings/UserDataTable/cells/GroupsCell.vue
+++ b/frontend/src/components/User/Settings/UserDataTable/cells/GroupsCell.vue
@@ -3,7 +3,7 @@
<NTag
v-for="group in groups"
:key="group.name"
- class="!cursor-pointer hover:bg-gray-200"
+ class="cursor-pointer! hover:bg-gray-200"
@click="$emit('select-group', group)"
>
{{ group.title }}
diff --git a/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue b/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue
index 7d31c82269..2d465e1fe8 100644
--- a/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue
+++ b/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue
@@ -7,7 +7,7 @@
<div class="flex flex-row items-center space-x-2">
<span
v-if="onClickUser"
- class="normal-link truncate max-w-[10rem]"
+ class="normal-link truncate max-w-40"
@click="onClickUser(user, $event)"
>
{{ user.title }}
diff --git a/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupMemberNameCell.vue b/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupMemberNameCell.vue
index 80a1287ed8..f49f0d145f 100644
--- a/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupMemberNameCell.vue
+++ b/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupMemberNameCell.vue
@@ -7,7 +7,7 @@
<div class="flex flex-row items-center space-x-2">
<span
v-if="onClickUser"
- class="normal-link truncate max-w-[10rem]"
+ class="normal-link truncate max-w-40"
@click="onClickUser(user, $event)"
>
{{ user.title }}
diff --git a/frontend/src/components/User/Settings/UserPassword.vue b/frontend/src/components/User/Settings/UserPassword.vue
index 4a8c421f22..8bf3859794 100644
--- a/frontend/src/components/User/Settings/UserPassword.vue
+++ b/frontend/src/components/User/Settings/UserPassword.vue
@@ -8,8 +8,8 @@
</label>
<span
:class="[
- 'flex items-center gap-x-1 textinfolabel !text-sm',
- passwordHint ? '!text-error' : '',
+ 'flex items-center gap-x-1 textinfolabel text-sm!',
+ passwordHint ? 'text-error!' : '',
]"
>
{{ $t("settings.profile.password-hint") }}
@@ -22,7 +22,7 @@
<LearnMoreLink
v-if="showLearnMore"
:external="false"
- class="!text-sm"
+ class="text-sm!"
:url="
router.resolve({
name: SETTING_ROUTE_WORKSPACE_GENERAL,
diff --git a/frontend/src/components/misc/DroppableTextarea.vue b/frontend/src/components/misc/DroppableTextarea.vue
index 90767d19c4..63ffbeb129 100644
--- a/frontend/src/components/misc/DroppableTextarea.vue
+++ b/frontend/src/components/misc/DroppableTextarea.vue
@@ -1,7 +1,7 @@
<template>
<div
ref="container"
- class="droppable-textarea"
+ class="droppable-textarea relative"
:class="{
reading: state.reading,
'drop-over': isOverDropZone,
@@ -166,11 +166,8 @@ onMounted(() => {
</script>
<style lang="postcss" scoped>
-.droppable-textarea {
- @apply relative;
-}
.droppable-textarea.reading {
- @apply pointer-events-none;
+ pointer-events: none;
}
.droppable-textarea.drop-over :deep(.n-input__state-border),
.droppable-textarea.reading :deep(.n-input__state-border) {
diff --git a/frontend/src/components/v2/Button/ResourceHardDeleteButton.vue b/frontend/src/components/v2/Button/ResourceHardDeleteButton.vue
index b1de44e5a1..2cf05bc239 100644
--- a/frontend/src/components/v2/Button/ResourceHardDeleteButton.vue
+++ b/frontend/src/components/v2/Button/ResourceHardDeleteButton.vue
@@ -9,7 +9,7 @@
:positive-button-props="{
disabled: disabled,
}"
- class="!border-none"
+ class="border-none!"
@confirm="handleDelete"
>
<div class="mt-3">
@@ -25,7 +25,7 @@
</div>
<i18n-t tag="div" keypath="common.hard-delete.double-comfirm">
<template #name>
- <span class="bg-gray-200 rounded py-1 px-2">
+ <span class="bg-gray-200 rounded-sm py-1 px-2">
{{ resource.name }}
</span>
</template>
diff --git a/frontend/src/components/v2/Form/RadioGrid.vue b/frontend/src/components/v2/Form/RadioGrid.vue
index df8982b90a..c320cf43bc 100644
--- a/frontend/src/components/v2/Form/RadioGrid.vue
+++ b/frontend/src/components/v2/Form/RadioGrid.vue
@@ -48,6 +48,7 @@ defineEmits<{
<style lang="postcss" scoped>
.bb-radio-grid--button :deep(.n-button__content) {
- @apply w-full justify-start;
+ width: 100%;
+ justify-content: flex-start;
}
</style>
diff --git a/frontend/src/components/v2/Form/ResourceIdField.vue b/frontend/src/components/v2/Form/ResourceIdField.vue
index 5d6ff13d85..c17e843094 100644
--- a/frontend/src/components/v2/Form/ResourceIdField.vue
+++ b/frontend/src/components/v2/Form/ResourceIdField.vue
@@ -51,7 +51,7 @@
<li
v-for="validateMessage in state.validatedMessages"
:key="validateMessage.message"
- class="break-words w-full text-xs"
+ class="wrap-break-word w-full text-xs"
:class="[
validateMessage.type === 'warning' && 'text-yellow-600',
validateMessage.type === 'error' && 'text-red-600',
diff --git a/frontend/src/components/v2/Model/EnvironmentV1Name.vue b/frontend/src/components/v2/Model/EnvironmentV1Name.vue
index 21a03baa43..b51e62659d 100644
--- a/frontend/src/components/v2/Model/EnvironmentV1Name.vue
+++ b/frontend/src/components/v2/Model/EnvironmentV1Name.vue
@@ -28,7 +28,7 @@
<ProductionEnvironmentV1Icon
v-if="showIcon"
:environment="environment"
- :class="iconClass ?? '!text-current'"
+ :class="iconClass ?? 'text-current!'"
:tooltip="tooltip"
/>
</component>
diff --git a/frontend/src/components/v2/Model/Instance/InstanceEngineRadioGrid.vue b/frontend/src/components/v2/Model/Instance/InstanceEngineRadioGrid.vue
index 5b64ec7294..27a654c83c 100644
--- a/frontend/src/components/v2/Model/Instance/InstanceEngineRadioGrid.vue
+++ b/frontend/src/components/v2/Model/Instance/InstanceEngineRadioGrid.vue
@@ -9,7 +9,7 @@
<RichEngineName
:engine="option.value"
tag="p"
- class="text-center text-sm !text-main"
+ class="text-center text-sm text-main!"
/>
<slot name="suffix" :engine="option.value" />
</div>
diff --git a/frontend/src/components/v2/Model/Instance/RichEngineName.vue b/frontend/src/components/v2/Model/Instance/RichEngineName.vue
index 4ff549ac1d..6a1e987e61 100644
--- a/frontend/src/components/v2/Model/Instance/RichEngineName.vue
+++ b/frontend/src/components/v2/Model/Instance/RichEngineName.vue
@@ -2,7 +2,7 @@
<component :is="tag" class="flex items-center gap-x-0.5">
<EngineIcon :engine="engine" />
{{ title }}
- <span v-if="subtitle" class="!text-xs textinfolabel">
+ <span v-if="subtitle" class="text-xs! textinfolabel">
{{ subtitle }}
</span>
</component>
diff --git a/frontend/src/components/v2/Model/Project/ProjectOperations.vue b/frontend/src/components/v2/Model/Project/ProjectOperations.vue
index 1aaae6bae3..d7663f466e 100644
--- a/frontend/src/components/v2/Model/Project/ProjectOperations.vue
+++ b/frontend/src/components/v2/Model/Project/ProjectOperations.vue
@@ -44,7 +44,7 @@
</NCheckbox>
<!-- Project List -->
- <div class="max-h-40 overflow-y-auto border rounded p-2 bg-gray-50">
+ <div class="max-h-40 overflow-y-auto border rounded-sm p-2 bg-gray-50">
<div class="text-xs font-medium text-gray-600 mb-2">
{{ $t("project.batch.projects-to-archive") }}:
</div>
diff --git a/frontend/src/components/v2/ResourceOccupiedModal/ResourceOccupiedModal.vue b/frontend/src/components/v2/ResourceOccupiedModal/ResourceOccupiedModal.vue
index 6377f1e907..89eb5a9915 100644
--- a/frontend/src/components/v2/ResourceOccupiedModal/ResourceOccupiedModal.vue
+++ b/frontend/src/components/v2/ResourceOccupiedModal/ResourceOccupiedModal.vue
@@ -7,7 +7,7 @@
@close="handleClose"
>
<div
- class="w-[30rem] max-w-full pt-2 pb-4 text-control break-words text-sm"
+ class="w-120 max-w-full pt-2 pb-4 text-control wrap-break-word text-sm"
>
<div v-if="resources.length === 0">
{{ $t("resource.delete-warning", { name: target }) }}
diff --git a/frontend/src/components/v2/Sidebar/CommonSidebar.vue b/frontend/src/components/v2/Sidebar/CommonSidebar.vue
index 3315e85fbc..2aaeb4b7fe 100644
--- a/frontend/src/components/v2/Sidebar/CommonSidebar.vue
+++ b/frontend/src/components/v2/Sidebar/CommonSidebar.vue
@@ -116,7 +116,7 @@ const state = reactive<LocalState>({
});
const parentRouteClass = computed(() => {
- return "group flex items-center px-2 py-1.5 leading-normal font-medium rounded-md text-gray-700 outline-item !text-sm";
+ return "group flex items-center px-2 py-1.5 leading-normal font-medium rounded-md text-gray-700 outline-item text-sm!";
});
const childRouteClass = computed(() => {
diff --git a/frontend/src/layouts/BodyLayout.vue b/frontend/src/layouts/BodyLayout.vue
index 6f4890a63d..486a3aef46 100644
--- a/frontend/src/layouts/BodyLayout.vue
+++ b/frontend/src/layouts/BodyLayout.vue
@@ -16,12 +16,12 @@
</div>
<div
tabindex="0"
- class="relative flex-1 flex flex-col max-w-xs w-full bg-white focus:outline-none"
+ class="relative flex-1 flex flex-col max-w-xs w-full bg-white focus:outline-hidden"
>
<div class="absolute top-0 right-0 -mr-12 pt-2">
<button
type="button"
- class="ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white"
+ class="ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-hidden focus:ring-2 focus:ring-inset focus:ring-white"
@click.prevent="state.showMobileOverlay = false"
>
<span class="sr-only">Close sidebar</span>
@@ -34,14 +34,14 @@
<!-- Empty as teleport placeholder -->
</div>
</div>
- <div class="flex-shrink-0 w-14" aria-hidden="true">
+ <div class="shrink-0 w-14" aria-hidden="true">
<!-- Force sidebar to shrink to fit close icon -->
</div>
</div>
<!-- Static sidebar for desktop -->
<aside
- class="flex-shrink-0"
+ class="shrink-0"
data-label="bb-dashboard-static-sidebar"
:class="[sidebarView === 'DESKTOP' ? 'flex' : 'hidden']"
>
diff --git a/frontend/src/layouts/SQLEditorLayout.vue b/frontend/src/layouts/SQLEditorLayout.vue
index 2c20370352..899d5e56a0 100644
--- a/frontend/src/layouts/SQLEditorLayout.vue
+++ b/frontend/src/layouts/SQLEditorLayout.vue
@@ -2,7 +2,7 @@
<div class="relative h-screen overflow-hidden flex flex-col">
<ul
id="sql-editor-debug"
- class="hidden text-xs font-mono max-h-[33vh] max-w-[40vw] overflow-auto fixed bottom-0 right-0 p-2 bg-white/50 border border-gray-400 z-[999999]"
+ class="hidden text-xs font-mono max-h-[33vh] max-w-[40vw] overflow-auto fixed bottom-0 right-0 p-2 bg-white/50 border border-gray-400 z-999999"
></ul>
<BannersWrapper />
diff --git a/frontend/src/plugins/ai/components/ChatView/AIMessageView.vue b/frontend/src/plugins/ai/components/ChatView/AIMessageView.vue
index b8952bd007..cda3f82040 100644
--- a/frontend/src/plugins/ai/components/ChatView/AIMessageView.vue
+++ b/frontend/src/plugins/ai/components/ChatView/AIMessageView.vue
@@ -1,11 +1,11 @@
<template>
<div
- class="border rounded shadow py-1 px-1 bg-gray-50 border-gray-400"
+ class="border rounded-sm shadow-sm py-1 px-1 bg-gray-50 border-gray-400"
:class="[
message.status === 'DONE'
- ? 'w-[100%] min-w-[9rem]'
+ ? 'w-full min-w-36'
: message.status === 'FAILED'
- ? 'max-w-[40%] min-w-[9rem]'
+ ? 'max-w-[40%] min-w-36'
: 'w-auto',
]"
>
diff --git a/frontend/src/plugins/ai/components/ChatView/ChatView.vue b/frontend/src/plugins/ai/components/ChatView/ChatView.vue
index 0671a89537..cb792fb616 100644
--- a/frontend/src/plugins/ai/components/ChatView/ChatView.vue
+++ b/frontend/src/plugins/ai/components/ChatView/ChatView.vue
@@ -24,9 +24,7 @@
</div>
</template>
<template v-else-if="mode === 'CHAT'">
- <div
- class="w-full h-full flex flex-col justify-end items-center pb-[2rem]"
- >
+ <div class="w-full h-full flex flex-col justify-end items-center pb-8">
<i18n-t
keypath="plugin.ai.conversation.select-or-create"
tag="p"
diff --git a/frontend/src/plugins/ai/components/ChatView/Markdown/CodeBlock.vue b/frontend/src/plugins/ai/components/ChatView/Markdown/CodeBlock.vue
index a5f9cc2f92..2820b3e09c 100644
--- a/frontend/src/plugins/ai/components/ChatView/Markdown/CodeBlock.vue
+++ b/frontend/src/plugins/ai/components/ChatView/Markdown/CodeBlock.vue
@@ -1,7 +1,7 @@
<template>
<div
ref="containerRef"
- class="flex flex-col overflow-x-hidden border border-gray-500 rounded bg-white"
+ class="flex flex-col overflow-x-hidden border border-gray-500 rounded-sm bg-white"
:data-message-wrapper-width="messageWrapperWidth"
:style="`width: ${combinedWidth}px`"
>
diff --git a/frontend/src/plugins/ai/components/ChatView/UserMessageView.vue b/frontend/src/plugins/ai/components/ChatView/UserMessageView.vue
index 16d3588cc6..32da5c59b4 100644
--- a/frontend/src/plugins/ai/components/ChatView/UserMessageView.vue
+++ b/frontend/src/plugins/ai/components/ChatView/UserMessageView.vue
@@ -1,6 +1,6 @@
<template>
<div
- class="user-message max-w-[60%] min-w-[9rem] border rounded shadow py-1 px-2 bg-indigo-100 border-indigo-400"
+ class="user-message max-w-[60%] min-w-36 border rounded-sm shadow-sm py-1 px-2 bg-indigo-100 border-indigo-400"
>
<Markdown
:content="message.content"
diff --git a/frontend/src/plugins/ai/components/HistoryPanel/ConversationList.vue b/frontend/src/plugins/ai/components/HistoryPanel/ConversationList.vue
index a5c8f49477..155c83f94f 100644
--- a/frontend/src/plugins/ai/components/HistoryPanel/ConversationList.vue
+++ b/frontend/src/plugins/ai/components/HistoryPanel/ConversationList.vue
@@ -15,7 +15,7 @@
>
<div
v-if="conversation.name"
- class="text-sm flex-1 whitespace-pre-wrap break-words break-all"
+ class="text-sm flex-1 whitespace-pre-wrap wrap-break-word break-all"
>
{{ conversation.name }}
</div>
@@ -27,7 +27,7 @@
</div>
<div class="flex items-center gap-x-px">
<button
- class="flex items-center p-0.5 border border-transparent rounded text-gray-500 hover:text-accent hover:bg-indigo-50 hover:border-accent cursor-pointer"
+ class="flex items-center p-0.5 border border-transparent rounded-sm text-gray-500 hover:text-accent hover:bg-indigo-50 hover:border-accent cursor-pointer"
@click.stop="state.rename = conversation"
>
<PencilIcon class="w-3 h-3" />
@@ -37,7 +37,7 @@
>
<template #trigger>
<button
- class="flex items-center p-0.5 border border-transparent rounded text-gray-500 hover:text-accent hover:bg-indigo-50 hover:border-accent cursor-pointer"
+ class="flex items-center p-0.5 border border-transparent rounded-sm text-gray-500 hover:text-accent hover:bg-indigo-50 hover:border-accent cursor-pointer"
@click.stop=""
>
<TrashIcon class="w-3 h-3" />
diff --git a/frontend/src/plugins/ai/components/HistoryPanel/HistoryPanel.vue b/frontend/src/plugins/ai/components/HistoryPanel/HistoryPanel.vue
index cdda9b8a9b..e58f05da04 100644
--- a/frontend/src/plugins/ai/components/HistoryPanel/HistoryPanel.vue
+++ b/frontend/src/plugins/ai/components/HistoryPanel/HistoryPanel.vue
@@ -2,7 +2,7 @@
<Drawer v-model:show="showHistoryDialog">
<DrawerContent
:title="$t('plugin.ai.conversation.history-conversations')"
- class="w-[calc(100vw-8rem)] max-w-[72rem]"
+ class="w-[calc(100vw-8rem)] max-w-6xl"
body-content-style="padding: 0"
>
<div class="flex h-full">
diff --git a/frontend/src/views/BannerDemo.vue b/frontend/src/views/BannerDemo.vue
index 50c6994a63..d773caabae 100644
--- a/frontend/src/views/BannerDemo.vue
+++ b/frontend/src/views/BannerDemo.vue
@@ -15,12 +15,12 @@
</p>
</div>
<div
- class="flex flex-row space-x-4 order-3 my-2 flex-shrink-0 w-full sm:order-2 sm:py-1 sm:my-0 sm:w-auto"
+ class="flex flex-row space-x-4 order-3 my-2 shrink-0 w-full sm:order-2 sm:py-1 sm:my-0 sm:w-auto"
>
<a
href="https://docs.bytebase.com/get-started/self-host-vs-cloud/?source=demo"
target="_blank"
- class="flex items-center justify-center pl-4 pr-2 py-1 border border-transparent rounded-sm text-base font-medium text-accent bg-white hover:bg-indigo-50"
+ class="flex items-center justify-center pl-4 pr-2 py-1 border border-transparent rounded-xs text-base font-medium text-accent bg-white hover:bg-indigo-50"
>
{{ $t("banner.deploy") }}
<heroicons-outline:arrow-down-tray class="ml-1 w-6 h-6" />
@@ -28,14 +28,14 @@
<a
href="https://hub.bytebase.com/workspace?source=demo"
target="_blank"
- class="flex items-center justify-center pl-4 pr-2 py-1 border border-transparent rounded-sm text-base font-medium text-accent bg-white hover:bg-indigo-50"
+ class="flex items-center justify-center pl-4 pr-2 py-1 border border-transparent rounded-xs text-base font-medium text-accent bg-white hover:bg-indigo-50"
>
{{ $t("banner.cloud") }}
<heroicons-outline:cloud class="ml-1 w-6 h-6" />
</a>
</div>
- <div class="order-2 flex-shrink-0 sm:order-3 sm:ml-3 -mr-1">
+ <div class="order-2 shrink-0 sm:order-3 sm:ml-3 -mr-1">
<NButton quaternary size="small" @click.prevent="show = false">
<span class="sr-only">{{ $t("common.dismiss") }}</span>
<template #icon>
diff --git a/frontend/src/views/BannerExternalUrl.vue b/frontend/src/views/BannerExternalUrl.vue
index bb1f7f96b6..413efd1fd8 100644
--- a/frontend/src/views/BannerExternalUrl.vue
+++ b/frontend/src/views/BannerExternalUrl.vue
@@ -11,17 +11,17 @@
</div>
<div
v-if="hasPermission"
- class="order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto"
+ class="order-3 mt-2 shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto"
>
<router-link
:to="{ name: SETTING_ROUTE_WORKSPACE_GENERAL }"
- class="flex items-center justify-center pl-4 pr-2 py-2 border border-transparent rounded-md shadow-sm text-base font-medium text-accent bg-white hover:bg-indigo-50"
+ class="flex items-center justify-center pl-4 pr-2 py-2 border border-transparent rounded-md shadow-xs text-base font-medium text-accent bg-white hover:bg-indigo-50"
>
{{ $t("common.configure-now") }}
<heroicons-outline:wrench-screwdriver class="ml-1 w-5 h-5" />
</router-link>
</div>
- <div class="order-2 flex-shrink-0 sm:order-3 sm:ml-3 -mr-1">
+ <div class="order-2 shrink-0 sm:order-3 sm:ml-3 -mr-1">
<NButton quaternary size="small" @click.prevent="show = false">
<span class="sr-only">{{ $t("common.dismiss") }}</span>
<template #icon>
diff --git a/frontend/src/views/BannerUpgradeSubscription.vue b/frontend/src/views/BannerUpgradeSubscription.vue
index 2c6ae4d1ae..f54cfa884f 100644
--- a/frontend/src/views/BannerUpgradeSubscription.vue
+++ b/frontend/src/views/BannerUpgradeSubscription.vue
@@ -39,7 +39,7 @@
<BBModal
v-if="state.showModal"
- class="!w-112"
+ class="w-112!"
:title="$t('subscription.upgrade-now') + '?'"
@close="state.showModal = false"
>
diff --git a/frontend/src/views/DashboardLanding.vue b/frontend/src/views/DashboardLanding.vue
index b4a80815eb..32b1e8056d 100644
--- a/frontend/src/views/DashboardLanding.vue
+++ b/frontend/src/views/DashboardLanding.vue
@@ -36,7 +36,7 @@
:to="{
name: access.route,
}"
- class="flex justify-center items-center gap-x-2 cursor-pointer border rounded px-4 py-5 bg-white hover:bg-gray-100"
+ class="flex justify-center items-center gap-x-2 cursor-pointer border rounded-sm px-4 py-5 bg-white hover:bg-gray-100"
@click="handleClick(access)"
>
<component :is="access.icon" class="w-5 h-5 text-gray-500" />
@@ -85,14 +85,14 @@
>
<DrawerContent
:title="$t('landing.quick-link.manage')"
- class="!w-96 max-w-full"
+ class="w-96! max-w-full"
style="max-width: calc(100vw - 8rem)"
>
<div>
<Draggable v-model="quickLinkList" item-key="id" animation="300">
<template #item="{ element }: { element: QuickLink }">
<div
- class="flex items-center justify-between p-2 hover:bg-gray-100 rounded-sm cursor-grab"
+ class="flex items-center justify-between p-2 hover:bg-gray-100 rounded-xs cursor-grab"
>
<div :key="element.id" class="flex items-center gap-x-2">
<NCheckbox
@@ -112,7 +112,7 @@
<div
v-for="access in unSelectedAccessList"
:key="access.id"
- class="flex items-center gap-x-2 p-2 hover:bg-gray-100 rounded-sm cursor-pointer"
+ class="flex items-center gap-x-2 p-2 hover:bg-gray-100 rounded-xs cursor-pointer"
@click.prevent.stop="() => checkAccessItem(access)"
>
<NCheckbox
diff --git a/frontend/src/views/DatabaseDetail/DatabaseDetail.vue b/frontend/src/views/DatabaseDetail/DatabaseDetail.vue
index 22bbe428d3..ddc3812bca 100644
--- a/frontend/src/views/DatabaseDetail/DatabaseDetail.vue
+++ b/frontend/src/views/DatabaseDetail/DatabaseDetail.vue
@@ -1,6 +1,6 @@
<template>
<div
- class="flex-1 overflow-auto focus:outline-none space-y-4"
+ class="flex-1 overflow-auto focus:outline-hidden space-y-4"
tabindex="0"
v-bind="$attrs"
>
diff --git a/frontend/src/views/EnvironmentDashboard.vue b/frontend/src/views/EnvironmentDashboard.vue
index 2f993db32f..5ff28146fb 100644
--- a/frontend/src/views/EnvironmentDashboard.vue
+++ b/frontend/src/views/EnvironmentDashboard.vue
@@ -62,7 +62,7 @@
>
<DrawerContent
:title="$t('environment.create')"
- class="w-[36rem] max-w-[100vw]"
+ class="w-xl max-w-[100vw]"
>
<EnvironmentFormBody />
<template #footer>
@@ -75,7 +75,7 @@
<Drawer v-model:show="state.reorder" :close-on-esc="true">
<DrawerContent
:title="$t('environment.reorder')"
- class="w-[30rem] max-w-[90vw]"
+ class="w-120 max-w-[90vw]"
>
<div>
<Draggable
@@ -88,7 +88,7 @@
>
<div
:key="element.id"
- class="flex items-center justify-between p-2 hover:bg-gray-100 rounded-sm cursor-grab"
+ class="flex items-center justify-between p-2 hover:bg-gray-100 rounded-xs cursor-grab"
>
<div class="flex items-center gap-x-2">
<span class="textinfo"> {{ index + 1 }}.</span>
diff --git a/frontend/src/views/ExportCenter/index.vue b/frontend/src/views/ExportCenter/index.vue
index 4e98fae16d..e834115706 100644
--- a/frontend/src/views/ExportCenter/index.vue
+++ b/frontend/src/views/ExportCenter/index.vue
@@ -30,7 +30,7 @@
</div>
</div>
- <div class="relative w-full mt-4 min-h-[20rem]">
+ <div class="relative w-full mt-4 min-h-80">
<PagedTable
ref="issuePagedTable"
:session-key="'export-center'"
diff --git a/frontend/src/views/InstanceDetail.vue b/frontend/src/views/InstanceDetail.vue
index 2a1f6c6cad..faf593c077 100644
--- a/frontend/src/views/InstanceDetail.vue
+++ b/frontend/src/views/InstanceDetail.vue
@@ -11,7 +11,7 @@
<div v-if="!embedded" class="flex items-center justify-between">
<div class="flex items-center gap-x-2">
- <EngineIcon :engine="instance.engine" custom-class="!h-6" />
+ <EngineIcon :engine="instance.engine" custom-class="h-6!" />
<span class="text-lg font-medium">{{ instanceV1Name(instance) }}</span>
</div>
</div>
@@ -166,7 +166,7 @@ defineOptions({
if (!props.embedded) {
const { overrideMainContainerClass } = useBodyLayoutContext();
- overrideMainContainerClass("!pb-0");
+ overrideMainContainerClass("pb-0!");
}
const { t } = useI18n();
diff --git a/frontend/src/views/MyIssues.vue b/frontend/src/views/MyIssues.vue
index 0fe4f47bb8..972301bbf0 100644
--- a/frontend/src/views/MyIssues.vue
+++ b/frontend/src/views/MyIssues.vue
@@ -51,7 +51,7 @@
</template>
</IssueSearch>
- <div class="relative min-h-[20rem]">
+ <div class="relative min-h-80">
<PagedTable
ref="issuePagedTable"
:key="keyForTab(tab)"
diff --git a/frontend/src/views/ProfileDashboard.vue b/frontend/src/views/ProfileDashboard.vue
index c4e9c5a8de..3645138063 100644
--- a/frontend/src/views/ProfileDashboard.vue
+++ b/frontend/src/views/ProfileDashboard.vue
@@ -1,6 +1,6 @@
<template>
<main
- class="flex-1 h-full relative pb-8 focus:outline-none xl:order-last"
+ class="flex-1 h-full relative pb-8 focus:outline-hidden xl:order-last"
tabindex="0"
>
<NoPermissionPlaceholder
@@ -182,7 +182,7 @@
placement="bottom-end"
>
<heroicons-outline:ellipsis-horizontal
- class="w-8 p-1 h-auto cursor-pointer hover:bg-gray-100 rounded"
+ class="w-8 p-1 h-auto cursor-pointer hover:bg-gray-100 rounded-sm"
/>
</NDropdown>
</div>
diff --git a/frontend/src/views/SchemaTemplate/ColumnTypesUpdateFailedModal.vue b/frontend/src/views/SchemaTemplate/ColumnTypesUpdateFailedModal.vue
index b81f969614..c770f0b5c7 100644
--- a/frontend/src/views/SchemaTemplate/ColumnTypesUpdateFailedModal.vue
+++ b/frontend/src/views/SchemaTemplate/ColumnTypesUpdateFailedModal.vue
@@ -3,7 +3,7 @@
:title="
$t('schema-template.column-type-restriction.messages.unable-to-update')
"
- class="!w-[32rem] !max-w-full"
+ class="w-lg! max-w-full!"
@close="emits('close')"
>
<div class="w-full">
diff --git a/frontend/src/views/SettingWorkspaceAuditLog.vue b/frontend/src/views/SettingWorkspaceAuditLog.vue
index 790ffb67fb..f85aa093dc 100644
--- a/frontend/src/views/SettingWorkspaceAuditLog.vue
+++ b/frontend/src/views/SettingWorkspaceAuditLog.vue
@@ -32,7 +32,7 @@
/>
</template>
</PagedTable>
- <NEmpty class="py-12 border rounded" v-else />
+ <NEmpty class="py-12 border rounded-sm" v-else />
</div>
</template>
diff --git a/frontend/src/views/SettingWorkspaceCustomApproval.vue b/frontend/src/views/SettingWorkspaceCustomApproval.vue
index 548603da23..635e78d0ac 100644
--- a/frontend/src/views/SettingWorkspaceCustomApproval.vue
+++ b/frontend/src/views/SettingWorkspaceCustomApproval.vue
@@ -3,7 +3,7 @@
<FeatureAttention :feature="PlanFeature.FEATURE_APPROVAL_WORKFLOW" />
<CustomApproval v-if="state.ready" />
- <div v-else class="w-full py-[4rem] flex justify-center items-center">
+ <div v-else class="w-full py-16 flex justify-center items-center">
<BBSpin />
</div>
</div>
diff --git a/frontend/src/views/SettingWorkspaceIM.vue b/frontend/src/views/SettingWorkspaceIM.vue
index 8cb8244025..70a771b261 100644
--- a/frontend/src/views/SettingWorkspaceIM.vue
+++ b/frontend/src/views/SettingWorkspaceIM.vue
@@ -9,7 +9,7 @@
<NEmpty
v-if="state.setting.settings.length === 0"
- class="py-12 border rounded"
+ class="py-12 border rounded-sm"
>
<template #extra>
<NButton
@@ -25,7 +25,7 @@
<div
v-for="(item, i) in state.setting.settings"
:key="item.type"
- class="border rounded p-4"
+ class="border rounded-sm p-4"
>
<template v-if="isConfigured(item.type)">
<component :is="renderOption({ value: item.type })" />
diff --git a/frontend/src/views/SettingWorkspaceRiskCenter.vue b/frontend/src/views/SettingWorkspaceRiskCenter.vue
index a5c52b6f9b..aa8364eb53 100644
--- a/frontend/src/views/SettingWorkspaceRiskCenter.vue
+++ b/frontend/src/views/SettingWorkspaceRiskCenter.vue
@@ -12,7 +12,7 @@
/>
</div>
<RiskCenter v-if="state.ready" />
- <div v-else class="w-full py-[4rem] flex justify-center items-center">
+ <div v-else class="w-full py-16 flex justify-center items-center">
<BBSpin />
</div>
</div>
diff --git a/frontend/src/views/SettingWorkspaceSQLReview.vue b/frontend/src/views/SettingWorkspaceSQLReview.vue
index ff2bf31938..d223810840 100644
--- a/frontend/src/views/SettingWorkspaceSQLReview.vue
+++ b/frontend/src/views/SettingWorkspaceSQLReview.vue
@@ -31,7 +31,7 @@
:review-list="filteredReviewConfigList"
:filter="searchText"
/>
- <NEmpty v-else class="py-12 border rounded">
+ <NEmpty v-else class="py-12 border rounded-sm">
<template #extra>
<NButton
:size="'small'"
diff --git a/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue b/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue
index ea4378549c..dec3a2d07a 100644
--- a/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue
+++ b/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue
@@ -17,7 +17,7 @@
class="flex flex-col gap-y-2 items-start md:items-center gap-x-2 justify-center md:flex-row"
>
<BBTextField
- class="flex-1 !text-xl !pl-0 px-0.5 font-bold truncate sql-review-title"
+ class="flex-1 text-xl! pl-0! px-0.5 font-bold truncate sql-review-title"
:disabled="!hasUpdateReviwConfigPermission"
:required="true"
:focus-on-mount="false"
@@ -86,7 +86,7 @@
</SQLReviewTabsByEngine>
<BBButtonConfirm
- class="!my-4"
+ class="my-4!"
:disabled="!hasDeleteReviwConfigPermission"
:type="'DELETE'"
:button-text="$t('sql-review.delete')"
diff --git a/frontend/src/views/Setup/Setup.vue b/frontend/src/views/Setup/Setup.vue
index 09365f2a26..f248fa4ac9 100644
--- a/frontend/src/views/Setup/Setup.vue
+++ b/frontend/src/views/Setup/Setup.vue
@@ -1,6 +1,6 @@
<template>
<AdminSetup v-if="ready" />
- <MaskSpinner v-else class="!bg-white" />
+ <MaskSpinner v-else class="bg-white!" />
<AuthFooter />
</template>
diff --git a/frontend/src/views/TwoFactorSetup.vue b/frontend/src/views/TwoFactorSetup.vue
index 5fa4ff84d3..7e9d031123 100644
--- a/frontend/src/views/TwoFactorSetup.vue
+++ b/frontend/src/views/TwoFactorSetup.vue
@@ -51,7 +51,7 @@
<button
v-if="state.isExpired"
type="button"
- class="ml-3 px-3 py-1 text-sm font-medium text-white bg-blue-600 rounded hover:bg-blue-700"
+ class="ml-3 px-3 py-1 text-sm font-medium text-white bg-blue-600 rounded-sm hover:bg-blue-700"
@click="handleRegenerateSecret"
>
{{ $t("two-factor.setup-steps.setup-auth-app.regenerate") }}
diff --git a/frontend/src/views/auth/InactiveRemindModal.vue b/frontend/src/views/auth/InactiveRemindModal.vue
index 702c7725a6..2bbdac317b 100644
--- a/frontend/src/views/auth/InactiveRemindModal.vue
+++ b/frontend/src/views/auth/InactiveRemindModal.vue
@@ -4,7 +4,7 @@
:trap-focus="true"
:show-close="false"
:mask-closable="false"
- :header-class="'!hidden'"
+ :header-class="'hidden!'"
>
<div class="flex items-center w-auto md:min-w-96 max-w-full h-auto md:py-4">
<div class="flex flex-col justify-center items-start flex-1 space-y-4">
diff --git a/frontend/src/views/auth/MultiFactor.vue b/frontend/src/views/auth/MultiFactor.vue
index 92e5e71166..fecf30ba23 100644
--- a/frontend/src/views/auth/MultiFactor.vue
+++ b/frontend/src/views/auth/MultiFactor.vue
@@ -2,7 +2,7 @@
<div
class="mx-auto w-full h-full py-6 flex flex-col justify-center items-center bg-gray-100 rounded-lg"
>
- <div class="w-80 bg-white p-8 py-6 rounded-lg shadow">
+ <div class="w-80 bg-white p-8 py-6 rounded-lg shadow-sm">
<img
class="h-12 w-auto mx-auto mb-8"
src="@/assets/logo-full.svg"
@@ -33,7 +33,7 @@
/>
</template>
<div class="w-full mt-4">
- <NButton class="!w-full" attr-type="submit" type="primary">
+ <NButton class="w-full!" attr-type="submit" type="primary">
{{ $t("common.verify") }}
</NButton>
</div>
diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vue
index 0a2efb48a7..73ce73491b 100644
--- a/frontend/src/views/auth/Signin.vue
+++ b/frontend/src/views/auth/Signin.vue
@@ -69,7 +69,7 @@
{{ $t("common.username") }}
<RequiredStar />
</label>
- <div class="mt-1 rounded-md shadow-sm">
+ <div class="mt-1 rounded-md shadow-xs">
<BBTextField
v-model:value="state.email"
required
@@ -90,7 +90,7 @@
</div>
</label>
<div
- class="relative flex flex-row items-center mt-1 rounded-md shadow-sm"
+ class="relative flex flex-row items-center mt-1 rounded-md shadow-xs"
>
<BBTextField
v-model:value="state.password"
diff --git a/frontend/src/views/auth/SigninModal.vue b/frontend/src/views/auth/SigninModal.vue
index 55ac52f20d..f5e8f12e89 100644
--- a/frontend/src/views/auth/SigninModal.vue
+++ b/frontend/src/views/auth/SigninModal.vue
@@ -4,7 +4,7 @@
:trap-focus="true"
:show-close="false"
:mask-closable="false"
- :header-class="'!hidden'"
+ :header-class="'hidden!'"
>
<div class="flex items-center w-auto md:min-w-96 max-w-full h-auto md:py-4">
<div class="flex flex-col justify-center items-center flex-1 space-y-2">
diff --git a/frontend/src/views/auth/Signup.vue b/frontend/src/views/auth/Signup.vue
index 3a4fbcbd35..b438fb88e4 100644
--- a/frontend/src/views/auth/Signup.vue
+++ b/frontend/src/views/auth/Signup.vue
@@ -32,7 +32,7 @@
{{ $t("common.email") }}
<RequiredStar />
</label>
- <div class="mt-1 rounded-md shadow-sm">
+ <div class="mt-1 rounded-md shadow-xs">
<BBTextField
v-model:value="state.email"
required
@@ -59,7 +59,7 @@
{{ $t("common.username") }}
<RequiredStar />
</label>
- <div class="mt-1 rounded-md shadow-sm">
+ <div class="mt-1 rounded-md shadow-xs">
<BBTextField
id="name"
v-model:value="state.name"
diff --git a/frontend/src/views/project/CICDLayout.vue b/frontend/src/views/project/CICDLayout.vue
index 1eed63f081..fb726d093a 100644
--- a/frontend/src/views/project/CICDLayout.vue
+++ b/frontend/src/views/project/CICDLayout.vue
@@ -150,7 +150,7 @@ const { tabKey, availableTabs, tabRender, handleTabChange } =
const { overrideMainContainerClass } = useBodyLayoutContext();
-overrideMainContainerClass("!py-0 !px-0");
+overrideMainContainerClass("py-0! px-0!");
const documentTitle = computed(() => {
if (isCreating.value) {
diff --git a/frontend/src/views/project/ProjectAuditLogDashboard.vue b/frontend/src/views/project/ProjectAuditLogDashboard.vue
index 1084538cc0..b4637d6532 100644
--- a/frontend/src/views/project/ProjectAuditLogDashboard.vue
+++ b/frontend/src/views/project/ProjectAuditLogDashboard.vue
@@ -33,7 +33,7 @@
/>
</template>
</PagedTable>
- <NEmpty class="py-12 border rounded" v-else />
+ <NEmpty class="py-12 border rounded-sm" v-else />
</div>
</template>
diff --git a/frontend/src/views/project/ProjectIssueDetail.vue b/frontend/src/views/project/ProjectIssueDetail.vue
index 1b4fb70943..6c87a75a1c 100644
--- a/frontend/src/views/project/ProjectIssueDetail.vue
+++ b/frontend/src/views/project/ProjectIssueDetail.vue
@@ -99,7 +99,7 @@ providePlanCheckRunContext(
const { overrideMainContainerClass } = useBodyLayoutContext();
-overrideMainContainerClass("!py-0 !px-0");
+overrideMainContainerClass("py-0! px-0!");
onMounted(() => {
if (!uiStateStore.getIntroStateByKey("issue.visit")) {
diff --git a/frontend/src/views/project/ProjectPlanDashboard.vue b/frontend/src/views/project/ProjectPlanDashboard.vue
index ab5e3df829..22c9a44ee5 100644
--- a/frontend/src/views/project/ProjectPlanDashboard.vue
+++ b/frontend/src/views/project/ProjectPlanDashboard.vue
@@ -22,7 +22,7 @@
</div>
</div>
- <div class="relative w-full mt-4 min-h-[20rem]">
+ <div class="relative w-full mt-4 min-h-80">
<PagedTable
ref="planPagedTable"
:session-key="`bb.${project.name}.plan-table`"
diff --git a/frontend/src/views/project/ProjectRolloutDashboard.vue b/frontend/src/views/project/ProjectRolloutDashboard.vue
index ad6e30bd61..76dc50be1e 100644
--- a/frontend/src/views/project/ProjectRolloutDashboard.vue
+++ b/frontend/src/views/project/ProjectRolloutDashboard.vue
@@ -16,7 +16,7 @@
</div>
</div>
- <div class="relative w-full mt-4 min-h-[20rem]">
+ <div class="relative w-full mt-4 min-h-80">
<PagedTable
ref="rolloutPagedTable"
:key="project.name"
diff --git a/frontend/src/views/project/ProjectSettingPanel.vue b/frontend/src/views/project/ProjectSettingPanel.vue
index 95a5bdf558..417fbac8bc 100644
--- a/frontend/src/views/project/ProjectSettingPanel.vue
+++ b/frontend/src/views/project/ProjectSettingPanel.vue
@@ -31,5 +31,5 @@ watchEffect(preparePolicies);
const { overrideMainContainerClass } = useBodyLayoutContext();
-overrideMainContainerClass("!py-0");
+overrideMainContainerClass("py-0!");
</script>
diff --git a/frontend/src/views/sql-editor/AsidePanel/ActionBar/TabItem.vue b/frontend/src/views/sql-editor/AsidePanel/ActionBar/TabItem.vue
index 75cf0e76c8..1e1e8649d9 100644
--- a/frontend/src/views/sql-editor/AsidePanel/ActionBar/TabItem.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/ActionBar/TabItem.vue
@@ -48,7 +48,7 @@ const { props: buttonProps, style: buttonStyle } = useButton({
const iconClass = computed(() => {
const classes = ["w-4", "h-4"];
if (active.value) {
- classes.push("!text-current");
+ classes.push("text-current!");
} else {
classes.push("text-main");
}
diff --git a/frontend/src/views/sql-editor/AsidePanel/HistoryPane/HistoryPane.vue b/frontend/src/views/sql-editor/AsidePanel/HistoryPane/HistoryPane.vue
index 7117f4af59..e09d0bc1cc 100644
--- a/frontend/src/views/sql-editor/AsidePanel/HistoryPane/HistoryPane.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/HistoryPane/HistoryPane.vue
@@ -31,7 +31,7 @@
/>
</div>
<p
- class="max-w-full text-xs break-words font-mono line-clamp-3"
+ class="max-w-full text-xs wrap-break-word font-mono line-clamp-3"
v-html="getFormattedStatement(history.statement)"
></p>
</div>
@@ -53,7 +53,7 @@
</div>
<template v-if="queryHistoryData.queryHistories.length === 0">
- <MaskSpinner v-if="state.loading" class="!bg-white/75" />
+ <MaskSpinner v-if="state.loading" class="bg-white/75!" />
<div
v-else
class="w-full flex items-center justify-center py-8 textinfolabel"
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/FlatTableList.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/FlatTableList.vue
index 07b84a15fb..98cffea556 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/FlatTableList.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/FlatTableList.vue
@@ -114,7 +114,7 @@
"
size="tiny"
quaternary
- class="!w-full"
+ class="w-full!"
@click="() => pageIndex++"
>
{{ $t("common.load-more") }}
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/ColumnInfo.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/ColumnInfo.vue
index cee67ca638..89e93ea23a 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/ColumnInfo.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/ColumnInfo.vue
@@ -1,5 +1,5 @@
<template>
- <div class="min-w-[14rem] max-w-[18rem] gap-y-1">
+ <div class="min-w-56 max-w-[18rem] gap-y-1">
<InfoItem :title="$t('common.name')">
{{ columnMetadata.name }}
</InfoItem>
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/CommonText.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/CommonText.vue
index 5d9e176760..f3e1c92921 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/CommonText.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/CommonText.vue
@@ -1,5 +1,5 @@
<template>
- <div class="max-w-[18rem] whitespace-pre-wrap break-all break-words">
+ <div class="max-w-[18rem] whitespace-pre-wrap break-all wrap-break-word">
{{ content }}
</div>
</template>
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/ExternalTableInfo.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/ExternalTableInfo.vue
index 9cc3d54149..0aa5549a71 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/ExternalTableInfo.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/ExternalTableInfo.vue
@@ -1,5 +1,5 @@
<template>
- <div class="min-w-[14rem] max-w-[18rem] gap-y-1">
+ <div class="min-w-56 max-w-[18rem] gap-y-1">
<InfoItem :title="$t('common.name')">
{{ externalTableMetadata.name }}
</InfoItem>
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/HoverPanel.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/HoverPanel.vue
index 06cabb46b2..9900decc95 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/HoverPanel.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/HoverPanel.vue
@@ -2,7 +2,7 @@
<div
ref="popoverRef"
v-zindexable="{ enabled: true }"
- class="fixed border border-gray-100 rounded bg-white p-2 shadow transition-[top] text-sm"
+ class="fixed border border-gray-100 rounded-sm bg-white p-2 shadow-sm transition-[top] text-sm"
:class="[show ? 'visible' : ' invisible pointer-events-none']"
:style="{
left: `${displayPosition.x}px`,
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/InfoItem.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/InfoItem.vue
index bc3a8d7f77..9491b7b796 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/InfoItem.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/InfoItem.vue
@@ -6,7 +6,7 @@
<div class="text-gray-500 font-medium whitespace-nowrap">
<slot name="title">{{ title }}</slot>
</div>
- <NPerformantEllipsis class="text-right !flex items-center justify-end">
+ <NPerformantEllipsis class="text-right flex! items-center justify-end">
<span class="whitespace-nowrap flex items-center leading-[20px] h-[20px]">
<slot name="default"></slot>
</span>
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/TableInfo.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/TableInfo.vue
index b63ca4bc41..b66fcaa3dc 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/TableInfo.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/TableInfo.vue
@@ -1,5 +1,5 @@
<template>
- <div class="min-w-[14rem] max-w-[18rem] gap-y-1">
+ <div class="min-w-56 max-w-[18rem] gap-y-1">
<InfoItem :title="$t('common.name')">
{{ tableMetadata.name }}
</InfoItem>
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/TablePartitionInfo.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/TablePartitionInfo.vue
index cc1c74c666..0015e5ece6 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/TablePartitionInfo.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/HoverPanel/TablePartitionInfo.vue
@@ -1,5 +1,5 @@
<template>
- <div class="min-w-[14rem] max-w-[18rem] gap-y-1">
+ <div class="min-w-56 max-w-[18rem] gap-y-1">
<InfoItem :title="$t('common.name')">
{{ partitionMetadata.name }}
</InfoItem>
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/SchemaPane.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/SchemaPane.vue
index 314eb59b43..f351cba8d0 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/SchemaPane.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/SchemaPane.vue
@@ -52,9 +52,9 @@
:theme-overrides="{ nodeHeight: '21px' }"
:render-label="renderLabel"
/>
- <NEmpty v-else class="mt-[4rem]" />
+ <NEmpty v-else class="mt-16" />
</template>
- <NEmpty v-else class="mt-[4rem]" />
+ <NEmpty v-else class="mt-16" />
</div>
<NDropdown
@@ -69,7 +69,7 @@
@select="handleDropdownSelect"
/>
- <MaskSpinner v-if="isFetchingMetadata" class="!bg-white/75" />
+ <MaskSpinner v-if="isFetchingMetadata" class="bg-white/75!" />
<BBModal :show="!!schemaViewer" @close="schemaViewer = undefined">
<template v-if="schemaViewer" #title>
@@ -551,7 +551,10 @@ useEventListener(treeContainerElRef, "keydown", () => {
--n-node-content-height: 21px !important;
}
.schema-tree :deep(.n-tree-node-content) {
- @apply !px-0 text-sm;
+ padding-left: 0 !important;
+ padding-right: 0 !important;
+ font-size: 0.875rem;
+ line-height: 1.25rem;
}
.schema-tree :deep(.n-tree-node-wrapper) {
padding: 0;
@@ -569,14 +572,18 @@ useEventListener(treeContainerElRef, "keydown", () => {
width: 0 !important;
}
.schema-tree :deep(.n-tree-node-content__prefix) {
- @apply shrink-0 !mr-1;
+ flex-shrink: 0;
+ margin-right: 0.25rem !important;
}
.schema-tree.project
:deep(.n-tree-node[data-node-type="project"] .n-tree-node-content__prefix) {
- @apply hidden;
+ display: none;
}
.schema-tree :deep(.n-tree-node-content__text) {
- @apply truncate mr-1;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ margin-right: 0.25rem;
}
.schema-tree :deep(.n-tree-node--pending) {
background-color: transparent !important;
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/CheckNode.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/CheckNode.vue
index 5b44483421..05d42ad520 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/CheckNode.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/CheckNode.vue
@@ -6,11 +6,11 @@
:indent="0"
>
<template #icon>
- <CheckIcon class="!w-3.5 !h-3.5 text-gray-500" />
+ <CheckIcon class="w-3.5! h-3.5! text-gray-500" />
</template>
<template #suffix>
<div
- class="flex items-center justify-end gap-1 overflow-hidden whitespace-nowrap shrink opacity-80 !font-normal"
+ class="flex items-center justify-end gap-1 overflow-hidden whitespace-nowrap shrink opacity-80 font-normal!"
>
<NTag
size="small"
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/ColumnNode.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/ColumnNode.vue
index 7c48e58b97..e35f167d07 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/ColumnNode.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/ColumnNode.vue
@@ -7,12 +7,12 @@
>
<template #icon>
<PrimaryKeyIcon v-if="isPrimaryKey" class="w-4 h-4" />
- <IndexIcon v-else-if="isIndex" class="!w-4 !h-4 text-accent/80" />
+ <IndexIcon v-else-if="isIndex" class="w-4! h-4! text-accent/80" />
<ColumnIcon v-else class="w-4 h-4" />
</template>
<template #suffix>
<div
- class="flex items-center justify-end gap-1 overflow-hidden whitespace-nowrap shrink opacity-80 !font-normal"
+ class="flex items-center justify-end gap-1 overflow-hidden whitespace-nowrap shrink opacity-80 font-normal!"
>
<NTag
size="small"
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/CommonNode.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/CommonNode.vue
index 8e995ab044..468a7b04f7 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/CommonNode.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/CommonNode.vue
@@ -18,7 +18,7 @@
v-if="highlight"
:text="text"
:keyword="keyword ?? ''"
- class="flex-1 truncate pl-[2px] min-w-[4rem]"
+ class="flex-1 truncate pl-[2px] min-w-16"
/>
<span v-else class="pl-[2px]">{{ text }}</span>
</slot>
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/DummyNode.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/DummyNode.vue
index 5bde4e76b8..b7121ecfc9 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/DummyNode.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/DummyNode.vue
@@ -4,7 +4,7 @@
<span class="text-control-placeholder ml-[2px]">{{ text }}</span>
</template>
<template #default>
- <div class="text-error max-w-[20rem] break-words break-all">
+ <div class="text-error max-w-[20rem] wrap-break-word break-all">
{{ error }}
</div>
</template>
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/ForeignKeyNode.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/ForeignKeyNode.vue
index 3852e8ef3a..b51c332abd 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/ForeignKeyNode.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/ForeignKeyNode.vue
@@ -6,7 +6,7 @@
:indent="0"
>
<template #icon>
- <ForeignKeyIcon class="!w-3.5 !h-3.5 text-gray-500" />
+ <ForeignKeyIcon class="w-3.5! h-3.5! text-gray-500" />
</template>
</CommonNode>
</template>
diff --git a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/IndexNode.vue b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/IndexNode.vue
index 5e313ef5e7..29003b588d 100644
--- a/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/IndexNode.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/SchemaPane/TreeNode/IndexNode.vue
@@ -7,7 +7,7 @@
>
<template #icon>
<PrimaryKeyIcon v-if="isPrimaryKey" class="w-4 h-4" />
- <IndexIcon v-else class="!w-4 !h-4 text-accent/80" />
+ <IndexIcon v-else class="w-4! h-4! text-accent/80" />
</template>
</CommonNode>
</template>
diff --git a/frontend/src/views/sql-editor/AsidePanel/WorksheetPane/SheetList/AbstractListItem.vue b/frontend/src/views/sql-editor/AsidePanel/WorksheetPane/SheetList/AbstractListItem.vue
index df745b7266..937c4841af 100644
--- a/frontend/src/views/sql-editor/AsidePanel/WorksheetPane/SheetList/AbstractListItem.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/WorksheetPane/SheetList/AbstractListItem.vue
@@ -1,7 +1,7 @@
<template>
<div
- class="flex flex-row items-center overflow-hidden gap-x-1 p-1 mx-1 rounded hover:bg-accent/5 cursor-pointer"
- :class="[selected && '!bg-accent/10']"
+ class="flex flex-row items-center overflow-hidden gap-x-1 p-1 mx-1 rounded-sm hover:bg-accent/5 cursor-pointer"
+ :class="[selected && 'bg-accent/10!']"
>
<FileCodeIcon class="w-4 h-4" />
<div class="flex-1 flex flex-row items-center truncate">
diff --git a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vue b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vue
index 9de6877cc9..ba11855c36 100644
--- a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vue
+++ b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vue
@@ -49,7 +49,7 @@
@uncheck="handleUncheckDatabaseGroup"
/>
</template>
- <NDivider v-if="tabStore.isInBatchMode" class="!my-2" />
+ <NDivider v-if="tabStore.isInBatchMode" class="my-2!" />
<div v-if="tabStore.isInBatchMode" class="w-full">
<div class="textinfolabel flex items-center gap-x-1">
{{ $t("sql-editor.batch-query.select-data-source.self") }}
@@ -71,7 +71,7 @@
</div>
</div>
</div>
- <NDivider v-if="tabStore.currentTab" class="!my-3" />
+ <NDivider v-if="tabStore.currentTab" class="my-3!" />
<div class="flex flex-row gap-x-0.5 px-1 items-center">
<AdvancedSearch
v-model:params="state.params"
@@ -160,7 +160,7 @@
<DatabaseHoverPanel :offset-x="4" :offset-y="4" :margin="4" />
- <MaskSpinner v-if="treeStore.state !== 'READY'" class="!bg-white/75">
+ <MaskSpinner v-if="treeStore.state !== 'READY'" class="bg-white/75!">
<span class="text-control text-sm">{{
$t("sql-editor.loading-databases")
}}</span>
@@ -711,7 +711,9 @@ watch(
--n-node-content-height: 21px !important;
}
.sql-editor-tree :deep(.n-tree-node-content) {
- @apply !pl-0 text-sm;
+ padding-left: 0 !important;
+ font-size: 0.875rem;
+ line-height: 1.25rem;
}
.sql-editor-tree :deep(.n-tree-node-wrapper) {
padding: 0;
@@ -723,14 +725,18 @@ watch(
width: 0.5rem !important;
}
.sql-editor-tree :deep(.n-tree-node-content__prefix) {
- @apply shrink-0 !mr-1;
+ flex-shrink: 0;
+ margin-right: 0.25rem !important;
}
.sql-editor-tree.project
:deep(.n-tree-node[data-node-type="project"] .n-tree-node-content__prefix) {
- @apply hidden;
+ display: none;
}
.sql-editor-tree :deep(.n-tree-node-content__text) {
- @apply truncate mr-1;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ margin-right: 0.25rem;
}
.sql-editor-tree :deep(.n-tree-node--pending) {
background-color: transparent !important;
diff --git a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/DatabaseHoverPanel/DatabaseHoverPanel.vue b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/DatabaseHoverPanel/DatabaseHoverPanel.vue
index 538d6ac7d2..5a7a50025e 100644
--- a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/DatabaseHoverPanel/DatabaseHoverPanel.vue
+++ b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/DatabaseHoverPanel/DatabaseHoverPanel.vue
@@ -3,7 +3,7 @@
v-show="show && database"
ref="popoverRef"
v-zindexable="{ enabled: true }"
- class="fixed border border-gray-100 rounded bg-white p-2 shadow transition-all text-sm"
+ class="fixed border border-gray-100 rounded-sm bg-white p-2 shadow-sm transition-all text-sm"
:class="!show && 'pointer-events-none'"
:style="{
left: `${displayPosition.x}px`,
@@ -12,7 +12,7 @@
>
<template v-if="database">
<div
- class="grid min-w-[14rem] max-w-[18rem] gap-x-2 gap-y-1"
+ class="grid min-w-56 max-w-[18rem] gap-x-2 gap-y-1"
style="grid-template-columns: auto 1fr"
>
<div class="contents">
@@ -51,7 +51,7 @@
<div
v-for="(value, key) in database.labels"
:key="key"
- class="text-xs py-px px-1 bg-gray-200/75 rounded-sm"
+ class="text-xs py-px px-1 bg-gray-200/75 rounded-xs"
>
<span>{{ key }}</span>
<template v-if="value">
diff --git a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPanel.vue b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPanel.vue
index 880738d02a..e175f55a0d 100644
--- a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPanel.vue
+++ b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPanel.vue
@@ -71,6 +71,9 @@ const allowManageInstance = computed(() => {
<style scoped lang="postcss">
.connection-panel-content :deep(.n-drawer-header__main) {
- @apply flex-1 flex items-center justify-between;
+ flex: 1 1 0%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorCommon/DatabaseChooser.vue b/frontend/src/views/sql-editor/EditorCommon/DatabaseChooser.vue
index c69522fbe4..42a2fafbcf 100644
--- a/frontend/src/views/sql-editor/EditorCommon/DatabaseChooser.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/DatabaseChooser.vue
@@ -85,6 +85,8 @@ defineProps<{
<style lang="postcss" scoped>
:deep(.n-button__content) {
- @apply truncate;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorCommon/EditorAction.vue b/frontend/src/views/sql-editor/EditorCommon/EditorAction.vue
index c4b1cb7dc0..ff2fd23322 100644
--- a/frontend/src/views/sql-editor/EditorCommon/EditorAction.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/EditorAction.vue
@@ -31,7 +31,7 @@
@click="handleRunQuery"
>
<template #icon>
- <PlayIcon class="w-4 h-4 !fill-current" />
+ <PlayIcon class="w-4 h-4 fill-current!" />
</template>
<template #default>
<div class="inline-flex items-center">
diff --git a/frontend/src/views/sql-editor/EditorCommon/ReadonlyDatasourceHint.vue b/frontend/src/views/sql-editor/EditorCommon/ReadonlyDatasourceHint.vue
index 578f2d7ca8..6ad5d4f9aa 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ReadonlyDatasourceHint.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ReadonlyDatasourceHint.vue
@@ -2,7 +2,7 @@
<NPopover v-if="showReadonlyDatasourceHint" trigger="hover">
<template #trigger>
<TriangleAlertIcon
- class="h-4 w-4 flex-shrink-0 text-warning"
+ class="h-4 w-4 shrink-0 text-warning"
v-bind="$attrs"
/>
</template>
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/TableCell.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/TableCell.vue
index 5201386f61..f65a2b77e1 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/TableCell.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/TableCell.vue
@@ -9,7 +9,7 @@
>
<div
ref="wrapperRef"
- class="font-mono text-start break-words line-clamp-3"
+ class="font-mono text-start wrap-break-word line-clamp-3"
v-html="html"
></div>
<div
@@ -36,7 +36,7 @@
v-if="clickable"
size="tiny"
circle
- class="dark:!bg-dark-bg"
+ class="dark:bg-dark-bg!"
@click.stop="showDetail"
>
<template #icon>
@@ -175,13 +175,13 @@ const classes = computed(() => {
selectionState.value.columns[0] === props.colIndex &&
selectionState.value.rows[0] === props.rowIndex
) {
- classes.push("!bg-accent/10 dark:!bg-accent/40");
+ classes.push("bg-accent/10! dark:bg-accent/40!");
}
} else if (
selectionState.value.columns.includes(props.colIndex) ||
selectionState.value.rows.includes(props.rowIndex)
) {
- classes.push("!bg-accent/10 dark:!bg-accent/40");
+ classes.push("bg-accent/10! dark:bg-accent/40!");
} else {
}
} else {
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/VirtualDataTable.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/VirtualDataTable.vue
index d585bcca9c..760ce13def 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/VirtualDataTable.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/VirtualDataTable.vue
@@ -1,7 +1,7 @@
<template>
<div
ref="containerRef"
- class="relative w-full flex-1 overflow-auto flex flex-col rounded border dark:border-zinc-500"
+ class="relative w-full flex-1 overflow-auto flex flex-col rounded-sm border dark:border-zinc-500"
:style="{
maxHeight: maxHeight ? `${maxHeight}px` : undefined,
}"
@@ -12,17 +12,17 @@
v-bind="tableResize.getTableProps()"
>
<thead
- class="bg-gray-50 dark:bg-gray-700 sticky top-0 z-[1] drop-shadow-sm"
+ class="bg-gray-50 dark:bg-gray-700 sticky top-0 z-1 drop-shadow-xs"
>
<tr>
<th
v-for="header of columns"
:key="`${setIndex}-${header.id}`"
- class="group relative px-2 py-2 min-w-[2rem] text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider border-x border-block-border dark:border-zinc-500"
+ class="group relative px-2 py-2 min-w-8 text-left text-xs font-medium text-gray-500 dark:text-gray-300 tracking-wider border-x border-block-border dark:border-zinc-500"
:class="{
'cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800':
!selectionDisabled,
- '!bg-accent/10 dark:!bg-accent/40':
+ 'bg-accent/10! dark:bg-accent/40!':
selectionState.rows.length === 0 &&
selectionState.columns.includes(header.index),
'pl-6': header.index === 0 && !selectionDisabled,
@@ -37,7 +37,7 @@
>
{{ header.column.columnDef.header }}
</template>
- <br v-else class="min-h-[1rem] inline-flex" />
+ <br v-else class="min-h-4 inline-flex" />
</span>
<MaskingReasonPopover
@@ -90,7 +90,7 @@
<tbody>
<!-- Virtual scrolling container -->
<tr>
- <td :colspan="columns.length" class="!p-0 !border-0">
+ <td :colspan="columns.length" class="p-0! border-0!">
<div
ref="scrollerRef"
class="relative w-full"
@@ -130,7 +130,7 @@
virtualRow.index
].getVisibleCells()"
:key="`${setIndex}-${virtualRow.index}-${columnIndex}`"
- class="relative max-w-[50vw] !p-0 text-sm dark:text-gray-100 leading-5 whitespace-nowrap break-all border-x border-b border-block-border dark:border-zinc-500 group-even:bg-gray-100/50 dark:group-even:bg-gray-700/50"
+ class="relative max-w-[50vw] p-0! text-sm dark:text-gray-100 leading-5 whitespace-nowrap break-all border-x border-b border-block-border dark:border-zinc-500 group-even:bg-gray-100/50 dark:group-even:bg-gray-700/50"
:data-col-index="columnIndex"
:style="{
height: `${virtualRow.size}px`,
@@ -164,7 +164,7 @@
v-if="columnIndex === 0 && !selectionDisabled"
class="absolute inset-y-0 left-0 w-3 cursor-pointer bg-accent/5 dark:bg-white/10 hover:bg-accent/10 dark:hover:bg-accent/40"
:class="{
- '!bg-accent/10 dark:!bg-accent/40':
+ 'bg-accent/10! dark:bg-accent/40!':
selectionState.columns.length === 0 &&
selectionState.rows.includes(
offset + virtualRow.index
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/common/BinaryFormatButton.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/common/BinaryFormatButton.vue
index 21f12bd968..a178648b9e 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/common/BinaryFormatButton.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/common/BinaryFormatButton.vue
@@ -6,7 +6,7 @@
<NButton
size="tiny"
circle
- class="ml-1 dark:!bg-dark-bg"
+ class="ml-1 dark:bg-dark-bg!"
@click.stop
:type="hasColumnOverride ? 'primary' : 'default'"
:secondary="hasColumnOverride"
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/SelectionCopyTooltips.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/SelectionCopyTooltips.vue
index 7c4c50534f..bff2a4d8dc 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/SelectionCopyTooltips.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/SelectionCopyTooltips.vue
@@ -12,7 +12,7 @@
>
<template #action>
<kbd
- class="w-auto h-5 flex items-center justify-center bg-black dark:bg-zinc-700 dark:text-zinc-300 bg-opacity-10 rounded px-1.5 text-control overflow-y-hidden"
+ class="w-auto h-5 flex items-center justify-center bg-black dark:bg-zinc-700 dark:text-zinc-300 bg-opacity-10 rounded-sm px-1.5 text-control overflow-y-hidden"
>
<span v-if="isMac" class="text-base leading-none">⌘</span>
<span
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue
index 5836ca592e..6d21a52923 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue
@@ -19,7 +19,7 @@
<NInput
v-if="showSearchFeature"
:value="state.search"
- class="!max-w-[10rem]"
+ class="max-w-40!"
size="small"
type="text"
:placeholder="t('sql-editor.search-results')"
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/VirtualDataBlock.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/VirtualDataBlock.vue
index 6d51b19a34..918bee958c 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/VirtualDataBlock.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/VirtualDataBlock.vue
@@ -28,7 +28,7 @@
********************************
</p>
<div
- class="py-2 px-3 bg-gray-50 dark:bg-gray-700 rounded-sm relative"
+ class="py-2 px-3 bg-gray-50 dark:bg-gray-700 rounded-xs relative"
>
<div
class="absolute right-2 top-2 z-50 opacity-70 hover:opacity-100"
@@ -40,9 +40,7 @@
:key="`${virtualRow.index}-${header.index}`"
class="flex items-start text-gray-500 dark:text-gray-300 text-sm"
>
- <div
- class="min-w-[7rem] text-left flex items-start font-medium pt-1"
- >
+ <div class="min-w-28 text-left flex items-start font-medium pt-1">
{{ header.column.columnDef.header }}
<MaskingReasonPopover
v-if="getMaskingReason && getMaskingReason(header.index)"
diff --git a/frontend/src/views/sql-editor/EditorCommon/SharePopover.vue b/frontend/src/views/sql-editor/EditorCommon/SharePopover.vue
index 84dd34fd10..2f405ba5c8 100644
--- a/frontend/src/views/sql-editor/EditorCommon/SharePopover.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/SharePopover.vue
@@ -17,7 +17,7 @@
>
<span class="pr-2">{{ $t("sql-editor.link-access") }}:</span>
<div
- class="border flex flex-row justify-start items-center px-2 py-1 rounded"
+ class="border flex flex-row justify-start items-center px-2 py-1 rounded-sm"
:class="
allowChangeAccess
? 'hover:border-accent'
@@ -33,7 +33,7 @@
<div
v-for="option in accessOptions"
:key="option.label"
- class="p-2 rounded-sm flex justify-between"
+ class="p-2 rounded-xs flex justify-between"
:class="[
allowChangeAccess && 'cursor-pointer hover:bg-gray-200',
option.value === currentAccess.value && 'bg-gray-200',
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/DiagramPanel/DiagramPanel.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/DiagramPanel/DiagramPanel.vue
index 736ec332aa..9b27bc0d8c 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/DiagramPanel/DiagramPanel.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/DiagramPanel/DiagramPanel.vue
@@ -18,6 +18,6 @@ const { database } = useConnectionOfCurrentSQLEditorTab();
<style lang="postcss" scoped>
:deep(.bb-schema-diagram--navigator--main) {
- @apply border-0;
+ border-width: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/ExternalTablesPanel/ExternalTableColumnsTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/ExternalTablesPanel/ExternalTableColumnsTable.vue
index 67790c52a7..ffd0ccc080 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/ExternalTablesPanel/ExternalTableColumnsTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/ExternalTablesPanel/ExternalTableColumnsTable.vue
@@ -144,29 +144,42 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.input-cell .n-input__placeholder),
:deep(.n-data-table-td.input-cell .n-base-selection-placeholder) {
- @apply italic;
+ font-style: italic;
}
:deep(.n-data-table-td.checkbox-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.text-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:not(.disable-diff-coloring) :deep(.n-data-table-tr.created .n-data-table-td) {
- @apply text-green-700 !bg-green-50;
+ color: rgb(var(--color-green-700));
+ background-color: rgb(var(--color-green-50)) !important;
}
:not(.disable-diff-coloring) :deep(.n-data-table-tr.dropped .n-data-table-td) {
- @apply text-red-700 cursor-not-allowed !bg-red-50 opacity-70;
+ color: rgb(var(--color-red-700));
+ cursor: not-allowed;
+ background-color: rgb(var(--color-red-50)) !important;
+ opacity: 0.7;
}
:not(.disable-diff-coloring) :deep(.n-data-table-tr.updated .n-data-table-td) {
- @apply text-yellow-700 !bg-yellow-50;
+ color: rgb(var(--color-yellow-700));
+ background-color: rgb(var(--color-yellow-50)) !important;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/ExternalTablesPanel/ExternalTablesTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/ExternalTablesPanel/ExternalTablesTable.vue
index 001e298cde..e0b9409a50 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/ExternalTablesPanel/ExternalTablesTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/ExternalTablesPanel/ExternalTablesTable.vue
@@ -135,9 +135,13 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/FunctionsPanel/FunctionsTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/FunctionsPanel/FunctionsTable.vue
index 72a14df3a2..a7ac07d726 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/FunctionsPanel/FunctionsTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/FunctionsPanel/FunctionsTable.vue
@@ -133,9 +133,13 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/InfoPanel/InfoPanel.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/InfoPanel/InfoPanel.vue
index 5da89a9f36..b6c24ffee0 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/InfoPanel/InfoPanel.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/InfoPanel/InfoPanel.vue
@@ -60,7 +60,7 @@
<h2 class="text-lg">{{ $t("db.functions") }}</h2>
<SearchBox v-model:value="state.keywords.functions" />
</div>
- <div class="max-h-[16rem] overflow-x-auto overflow-y-hidden">
+ <div class="max-h-64 overflow-x-auto overflow-y-hidden">
<FunctionsTable
v-if="metadata.schema"
:db="database"
@@ -86,7 +86,7 @@
<h2 class="text-lg">{{ $t("db.procedures") }}</h2>
<SearchBox v-model:value="state.keywords.procedures" />
</div>
- <div class="max-h-[16rem] overflow-x-auto overflow-y-hidden">
+ <div class="max-h-64 overflow-x-auto overflow-y-hidden">
<ProceduresTable
v-if="metadata.schema"
:db="database"
@@ -118,7 +118,7 @@
<h2 class="text-lg">{{ $t("db.sequences") }}</h2>
<SearchBox v-model:value="state.keywords.sequences" />
</div>
- <div class="max-h-[16rem] overflow-x-auto overflow-y-hidden">
+ <div class="max-h-64 overflow-x-auto overflow-y-hidden">
<SequencesTable
v-if="metadata.schema"
:db="database"
@@ -150,7 +150,7 @@
<h2 class="text-lg">{{ $t("db.external-tables") }}</h2>
<SearchBox v-model:value="state.keywords.externalTables" />
</div>
- <div class="max-h-[16rem] overflow-x-auto overflow-y-hidden">
+ <div class="max-h-64 overflow-x-auto overflow-y-hidden">
<ExternalTablesTable
v-if="metadata.schema"
:db="database"
@@ -179,7 +179,7 @@
<h2 class="text-lg">{{ $t("db.packages") }}</h2>
<SearchBox v-model:value="state.keywords.packages" />
</div>
- <div class="max-h-[16rem] overflow-x-auto overflow-y-hidden">
+ <div class="max-h-64 overflow-x-auto overflow-y-hidden">
<PackagesTable
v-if="metadata.schema"
:db="database"
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/PackagesPanel/PackagesTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/PackagesPanel/PackagesTable.vue
index 4c25f32683..8979a7e802 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/PackagesPanel/PackagesTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/PackagesPanel/PackagesTable.vue
@@ -138,9 +138,13 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/ProceduresPanel/ProceduresTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/ProceduresPanel/ProceduresTable.vue
index d2bfe00571..d36d42f3ca 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/ProceduresPanel/ProceduresTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/ProceduresPanel/ProceduresTable.vue
@@ -141,9 +141,13 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/SequencesPanel/SequencesTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/SequencesPanel/SequencesTable.vue
index 995236af08..9060590228 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/SequencesPanel/SequencesTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/SequencesPanel/SequencesTable.vue
@@ -204,9 +204,13 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/ColumnsTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/ColumnsTable.vue
index d89949318f..06f9b75294 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/ColumnsTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/ColumnsTable.vue
@@ -206,20 +206,28 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.input-cell .n-input__placeholder),
:deep(.n-data-table-td.input-cell .n-base-selection-placeholder) {
- @apply italic;
+ font-style: italic;
}
:deep(.n-data-table-td.checkbox-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.text-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/ForeignKeysTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/ForeignKeysTable.vue
index 4bc62ad501..93809f7e03 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/ForeignKeysTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/ForeignKeysTable.vue
@@ -154,12 +154,18 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.checkbox-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/IndexesTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/IndexesTable.vue
index d751852b3f..484323d45c 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/IndexesTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/IndexesTable.vue
@@ -141,12 +141,18 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.checkbox-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/PartitionsTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/PartitionsTable.vue
index defd2a4386..78d5003331 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/PartitionsTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/PartitionsTable.vue
@@ -168,20 +168,28 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.input-cell .n-input__placeholder),
:deep(.n-data-table-td.input-cell .n-base-selection-placeholder) {
- @apply italic;
+ font-style: italic;
}
:deep(.n-data-table-td.checkbox-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.text-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/TablesTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/TablesTable.vue
index 6b2b303bbb..fa32ab2e89 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/TablesTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/TablesTable.vue
@@ -191,9 +191,13 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/TriggersTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/TriggersTable.vue
index a02ff897fd..bf322a8bf7 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/TriggersTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/TablesPanel/TriggersTable.vue
@@ -33,7 +33,7 @@
:db="db"
:title="detail.trigger.name"
:code="detail.trigger.body"
- header-class="!p-0 h-[34px]"
+ header-class="p-0! h-[34px]"
>
<template #title-prefix>
<NButton text @click="deselect">
@@ -239,9 +239,13 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/TriggersPanel/TriggersTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/TriggersPanel/TriggersTable.vue
index 2ef7b77ed3..f67e6aa291 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/TriggersPanel/TriggersTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/TriggersPanel/TriggersTable.vue
@@ -145,9 +145,13 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ColumnsTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ColumnsTable.vue
index f23d83b5af..f34fde66da 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ColumnsTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ColumnsTable.vue
@@ -148,20 +148,28 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.input-cell .n-input__placeholder),
:deep(.n-data-table-td.input-cell .n-base-selection-placeholder) {
- @apply italic;
+ font-style: italic;
}
:deep(.n-data-table-td.checkbox-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.text-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/DefinitionViewer.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/DefinitionViewer.vue
index 6c0bc533cc..2b7a5a99f9 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/DefinitionViewer.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/DefinitionViewer.vue
@@ -21,7 +21,7 @@
<AIChatToSQL key="ai-chat-to-sql" />
<template #fallback>
<div
- class="w-full h-full flex-grow flex flex-col items-center justify-center"
+ class="w-full h-full grow flex flex-col items-center justify-center"
>
<BBSpin />
</div>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/DependencyColumnsTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/DependencyColumnsTable.vue
index fda9cea525..81a0189d67 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/DependencyColumnsTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/DependencyColumnsTable.vue
@@ -143,20 +143,28 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.input-cell .n-input__placeholder),
:deep(.n-data-table-td.input-cell .n-base-selection-placeholder) {
- @apply italic;
+ font-style: italic;
}
:deep(.n-data-table-td.checkbox-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
:deep(.n-data-table-td.text-cell) {
- @apply pr-1 py-0;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ViewsTable.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ViewsTable.vue
index 22b19e0f00..5c0c4e6c8d 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ViewsTable.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/ViewsPanel/ViewsTable.vue
@@ -133,9 +133,13 @@ watch(
<style lang="postcss" scoped>
:deep(.n-data-table-th .n-data-table-resize-button::after) {
- @apply bg-control-bg h-2/3;
+ background-color: rgb(var(--color-control-bg));
+ height: 66.666667%;
}
:deep(.n-data-table-td.input-cell) {
- @apply pl-0.5 pr-1 py-0;
+ padding-left: 0.125rem;
+ padding-right: 0.25rem;
+ padding-top: 0;
+ padding-bottom: 0;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/common/CodeViewer.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/common/CodeViewer.vue
index f4cabf99f7..fd5c443dde 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/common/CodeViewer.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/common/CodeViewer.vue
@@ -53,7 +53,7 @@
<AIChatToSQL key="ai-chat-to-sql" />
<template #fallback>
<div
- class="w-full h-full flex-grow flex flex-col items-center justify-center"
+ class="w-full h-full grow flex flex-col items-center justify-center"
>
<BBSpin />
</div>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Panels/common/SchemaSelectToolbar.vue b/frontend/src/views/sql-editor/EditorPanel/Panels/common/SchemaSelectToolbar.vue
index b7d741bd91..e53dffe342 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Panels/common/SchemaSelectToolbar.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Panels/common/SchemaSelectToolbar.vue
@@ -5,7 +5,7 @@
v-model:value="selectedSchemaName"
:options="schemaSelectOptions"
size="small"
- class="min-w-[8rem]"
+ class="min-w-32"
v-bind="$attrs"
:consistent-menu-width="false"
/>
@@ -20,7 +20,7 @@
v-model:value="selectedSchemaName"
:options="schemaSelectOptions"
size="small"
- class="min-w-[8rem]"
+ class="min-w-32"
v-bind="$attrs"
/>
</div>
diff --git a/frontend/src/views/sql-editor/EditorPanel/StandardPanel/SQLEditor.vue b/frontend/src/views/sql-editor/EditorPanel/StandardPanel/SQLEditor.vue
index b1783cafa3..47bab1488f 100644
--- a/frontend/src/views/sql-editor/EditorPanel/StandardPanel/SQLEditor.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/StandardPanel/SQLEditor.vue
@@ -1,6 +1,6 @@
<template>
<div
- class="w-full h-full flex-grow flex flex-col justify-start items-start overflow-auto"
+ class="w-full h-full grow flex flex-col justify-start items-start overflow-auto"
>
<MonacoEditor
class="w-full h-full"
diff --git a/frontend/src/views/sql-editor/EditorPanel/StandardPanel/StandardPanel.vue b/frontend/src/views/sql-editor/EditorPanel/StandardPanel/StandardPanel.vue
index 5b9df49549..4e0ff4eaa1 100644
--- a/frontend/src/views/sql-editor/EditorPanel/StandardPanel/StandardPanel.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/StandardPanel/StandardPanel.vue
@@ -23,7 +23,7 @@
/>
<template #fallback>
<div
- class="w-full h-full flex-grow flex flex-col items-center justify-center"
+ class="w-full h-full grow flex flex-col items-center justify-center"
>
<BBSpin />
</div>
@@ -39,7 +39,7 @@
<AIChatToSQL key="ai-chat-to-sql" />
<template #fallback>
<div
- class="w-full h-full flex-grow flex flex-col items-center justify-center"
+ class="w-full h-full grow flex flex-col items-center justify-center"
>
<BBSpin />
</div>
diff --git a/frontend/src/views/sql-editor/EditorPanel/TerminalPanel/CompactSQLEditor.vue b/frontend/src/views/sql-editor/EditorPanel/TerminalPanel/CompactSQLEditor.vue
index 953e2f0f28..8f4b7dcc78 100644
--- a/frontend/src/views/sql-editor/EditorPanel/TerminalPanel/CompactSQLEditor.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/TerminalPanel/CompactSQLEditor.vue
@@ -296,6 +296,6 @@ const EDITOR_OPTIONS = computed<Editor.IStandaloneEditorConstructionOptions>(
<style lang="postcss" scoped>
.bb-compact-sql-editor :deep(.monaco-editor .line-numbers) {
- @apply !pr-0;
+ padding-right: 0 !important;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/TerminalPanel/TerminalPanel.vue b/frontend/src/views/sql-editor/EditorPanel/TerminalPanel/TerminalPanel.vue
index bd16421e3d..80b45204e8 100644
--- a/frontend/src/views/sql-editor/EditorPanel/TerminalPanel/TerminalPanel.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/TerminalPanel/TerminalPanel.vue
@@ -18,7 +18,7 @@
<Suspense>
<CompactSQLEditor
v-model:content="query.statement"
- class="min-h-[2rem]"
+ class="min-h-8"
:class="[
isEditableQueryItem(query)
? 'active-editor'
@@ -31,7 +31,7 @@
/>
<template #fallback>
<div
- class="w-full min-h-[2rem] flex flex-col items-center justify-center"
+ class="w-full min-h-8 flex flex-col items-center justify-center"
>
<BBSpin />
</div>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Welcome/Button.vue b/frontend/src/views/sql-editor/EditorPanel/Welcome/Button.vue
index 2c87ca47ca..07488a8602 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Welcome/Button.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Welcome/Button.vue
@@ -18,6 +18,11 @@ import { NButton } from "naive-ui";
<style scoped lang="postcss">
:deep(.n-button__content) {
- @apply flex flex-col h-full justify-center items-center gap-2;
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ justify-content: center;
+ align-items: center;
+ gap: 0.5rem;
}
</style>
diff --git a/frontend/src/views/sql-editor/EditorPanel/Welcome/Welcome.vue b/frontend/src/views/sql-editor/EditorPanel/Welcome/Welcome.vue
index ca5646ef54..977aaba4ce 100644
--- a/frontend/src/views/sql-editor/EditorPanel/Welcome/Welcome.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/Welcome/Welcome.vue
@@ -35,7 +35,7 @@
<div class="flex lg:hidden flex-col items-start gap-y-2 w-max">
<NButton
type="primary"
- class="!w-full !justify-start"
+ class="w-full! justify-start!"
@click="changeConnection"
>
<template #icon>
@@ -46,7 +46,7 @@
<NButton
v-if="showCreateInstanceButton"
type="default"
- class="!w-full !justify-start"
+ class="w-full! justify-start!"
@click="gotoInstanceCreatePage"
>
<template #icon>
@@ -56,7 +56,7 @@
</NButton>
<NButton
type="default"
- class="!w-full !justify-start"
+ class="w-full! justify-start!"
@click="createNewWorksheet"
>
<template #icon>
diff --git a/frontend/src/views/sql-editor/EditorPanel/common/EllipsisCell.vue b/frontend/src/views/sql-editor/EditorPanel/common/EllipsisCell.vue
index 8e19c41a80..aa3f9e6466 100644
--- a/frontend/src/views/sql-editor/EditorPanel/common/EllipsisCell.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/common/EllipsisCell.vue
@@ -7,7 +7,7 @@
<template #tooltip>
<!-- eslint-disable vue/no-v-html -->
<div
- class="text-wrap whitespace-pre break-words break-all"
+ class="text-wrap whitespace-pre wrap-break-word break-all"
style="max-width: calc(min(33vw, 320px))"
v-html="tooltipHTML"
/>
diff --git a/frontend/src/views/sql-editor/SQLEditorHomePage.vue b/frontend/src/views/sql-editor/SQLEditorHomePage.vue
index 971361fc0c..4bbba9ba55 100644
--- a/frontend/src/views/sql-editor/SQLEditorHomePage.vue
+++ b/frontend/src/views/sql-editor/SQLEditorHomePage.vue
@@ -11,11 +11,9 @@
<teleport to="body">
<div
id="fff"
- class="fixed rounded-full border border-control-border shadow-lg w-10 h-10 bottom-[4rem] flex items-center justify-center bg-white hover:bg-control-bg cursor-pointer z-[99999999] transition-all"
+ class="fixed rounded-full border border-control-border shadow-lg w-10 h-10 bottom-16 flex items-center justify-center bg-white hover:bg-control-bg cursor-pointer z-99999999 transition-all"
:class="[
- state.sidebarExpanded
- ? 'left-[80%] -translate-x-5'
- : 'left-[1rem]',
+ state.sidebarExpanded ? 'left-[80%] -translate-x-5' : 'left-4',
]"
style="
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -166,32 +164,39 @@ useEmitteryEventListener(editorEvents, "insert-at-caret", ({ content }) => {
/* splitpanes pane style */
.splitpanes.default-theme .splitpanes__pane {
- @apply bg-transparent;
+ background-color: transparent;
}
.splitpanes.default-theme .splitpanes__splitter {
- @apply bg-gray-100;
+ background-color: rgb(var(--color-gray-100));
min-height: 8px;
min-width: 8px;
}
.splitpanes.default-theme .splitpanes__splitter:hover {
- @apply bg-accent;
+ background-color: rgb(var(--color-accent));
}
.splitpanes.default-theme .splitpanes__splitter::before,
.splitpanes.default-theme .splitpanes__splitter::after {
- @apply bg-gray-700 opacity-50 text-white;
+ background-color: rgb(var(--color-gray-700));
+ opacity: 0.5;
+ color: white;
}
.splitpanes.default-theme .splitpanes__splitter:hover::before,
.splitpanes.default-theme .splitpanes__splitter:hover::after {
- @apply bg-white opacity-100;
+ background-color: white;
+ opacity: 1;
}
</style>
<style scoped lang="postcss">
.sqleditor--wrapper {
- @apply w-full flex-1 overflow-hidden flex flex-col;
+ width: 100%;
+ flex: 1 1 0%;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
}
</style>
diff --git a/frontend/src/views/sql-editor/TabList/TabItem/AdminLabel.vue b/frontend/src/views/sql-editor/TabList/TabItem/AdminLabel.vue
index 0cb9743e7f..32040aa65c 100644
--- a/frontend/src/views/sql-editor/TabList/TabItem/AdminLabel.vue
+++ b/frontend/src/views/sql-editor/TabList/TabItem/AdminLabel.vue
@@ -5,11 +5,11 @@
:environment="database.effectiveEnvironmentEntity"
:link="false"
/>
- <ChevronRightIcon class="flex-shrink-0 h-4 w-4 opacity-70" />
+ <ChevronRightIcon class="shrink-0 h-4 w-4 opacity-70" />
</template>
<template v-if="isValidInstanceName(instance.name)">
<span>{{ instance.title }}</span>
- <ChevronRightIcon class="flex-shrink-0 h-4 w-4 opacity-70" />
+ <ChevronRightIcon class="shrink-0 h-4 w-4 opacity-70" />
</template>
<template v-if="isValidDatabaseName(database.name)">
<span>{{ database.databaseName }}</span>
diff --git a/frontend/src/views/sql-editor/TabList/TabItem/Label.vue b/frontend/src/views/sql-editor/TabList/TabItem/Label.vue
index 0a6e232a15..51eaac1a10 100644
--- a/frontend/src/views/sql-editor/TabList/TabItem/Label.vue
+++ b/frontend/src/views/sql-editor/TabList/TabItem/Label.vue
@@ -129,17 +129,35 @@ watch(isCurrentTab, (value) => {
<style scoped lang="postcss">
.label {
- @apply relative flex items-center whitespace-nowrap min-w-[6rem] max-w-[12rem] truncate;
+ position: relative;
+ display: flex;
+ align-items: center;
+ white-space: nowrap;
+ min-width: 6rem;
+ max-width: 12rem;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
.label :deep(.name) {
- @apply h-6 w-full flex items-center text-sm;
+ height: 1.5rem;
+ width: 100%;
+ display: flex;
+ align-items: center;
+ font-size: 0.875rem;
+ line-height: 1.25rem;
}
.edit {
- @apply border-0 border-b absolute inset-0 p-0 text-sm;
+ border: 0;
+ border-bottom-width: 1px;
+ position: absolute;
+ inset: 0;
+ padding: 0;
+ font-size: 0.875rem;
+ line-height: 1.25rem;
}
.label.new :deep(.name) {
- @apply italic;
+ font-style: italic;
}
</style>
diff --git a/frontend/src/views/sql-editor/TabList/TabItem/Suffix.vue b/frontend/src/views/sql-editor/TabList/TabItem/Suffix.vue
index 23f158304f..811c401b6d 100644
--- a/frontend/src/views/sql-editor/TabList/TabItem/Suffix.vue
+++ b/frontend/src/views/sql-editor/TabList/TabItem/Suffix.vue
@@ -57,24 +57,36 @@ const icon = computed((): IconType | undefined => {
<style scoped lang="postcss">
.suffix {
- @apply flex items-center min-w-[1.25rem];
+ display: flex;
+ align-items: center;
+ min-width: 1.25rem;
}
.icon {
- @apply block w-5 h-5 p-0.5 text-gray-500 rounded;
+ display: block;
+ width: 1.25rem;
+ height: 1.25rem;
+ padding: 0.125rem;
+ color: rgb(var(--color-gray-500));
+ border-radius: 0.25rem;
}
.suffix.closable {
cursor: pointer;
}
.suffix.closable.dirty .icon {
- @apply text-accent;
+ color: rgb(var(--color-accent));
}
-.suffix.closable .icon {
- @apply hover:text-gray-700 hover:bg-gray-200;
+.suffix.closable .icon:hover {
+ color: rgb(var(--color-gray-700));
+ background-color: rgb(var(--color-gray-200));
}
.suffix.admin .icon {
- @apply text-gray-400 hover:text-gray-300 hover:bg-gray-400/30;
+ color: rgb(var(--color-gray-400));
+}
+.suffix.admin .icon:hover {
+ color: rgb(var(--color-gray-300));
+ background-color: rgb(var(--color-gray-400) / 0.3);
}
.dummy {
- @apply invisible;
+ visibility: hidden;
}
</style>
diff --git a/frontend/src/views/sql-editor/TabList/TabItem/TabItem.vue b/frontend/src/views/sql-editor/TabList/TabItem/TabItem.vue
index b048f15cbf..42e6db872d 100644
--- a/frontend/src/views/sql-editor/TabList/TabItem/TabItem.vue
+++ b/frontend/src/views/sql-editor/TabList/TabItem/TabItem.vue
@@ -89,26 +89,42 @@ const backgroundColorRgb = computed(() => {
<style scoped lang="postcss">
.tab-item {
- @apply cursor-pointer border-r bg-white gap-x-2 relative;
+ cursor: pointer;
+ border-right-width: 1px;
+ background-color: white;
+ column-gap: 0.5rem;
+ position: relative;
}
.hovering {
- @apply bg-gray-50;
+ background-color: rgb(var(--color-gray-50));
}
.tab-item.admin {
- @apply !bg-dark-bg;
+ background-color: rgb(var(--color-dark-bg)) !important;
}
.body {
- @apply flex items-center justify-between gap-x-1 pl-2 pr-1 border-t pt-[4px] h-[36px];
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ column-gap: 0.25rem;
+ padding-left: 0.5rem;
+ padding-right: 0.25rem;
+ border-top-width: 1px;
+ padding-top: 4px;
+ height: 36px;
}
.current .body {
- @apply relative bg-white border-t-[3px] pt-[2px];
+ position: relative;
+ background-color: white;
+ border-top-width: 3px;
+ padding-top: 2px;
}
.tab-item.admin .body {
- @apply text-matrix-green-hover;
+ color: rgb(var(--color-matrix-green-hover));
}
.tab-item.admin.current .body {
- @apply !bg-dark-bg border-matrix-green-hover;
+ background-color: rgb(var(--color-dark-bg)) !important;
+ border-top-color: rgb(var(--color-matrix-green-hover));
}
</style>
diff --git a/frontend/src/views/sql-editor/TabList/TabList.vue b/frontend/src/views/sql-editor/TabList/TabList.vue
index dd7b3cac20..51779378c1 100644
--- a/frontend/src/views/sql-editor/TabList/TabList.vue
+++ b/frontend/src/views/sql-editor/TabList/TabList.vue
@@ -293,7 +293,8 @@ useEmitteryEventListener(
<style lang="postcss">
.bb-sql-editor-tab-list .ghost {
- @apply opacity-30 bg-white;
+ opacity: 0.3;
+ background-color: white;
}
.bb-sql-editor-tab-list .scrollbar .n-scrollbar-rail--horizontal--bottom {
inset: auto 2px 2px 2px !important;
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 682fcd50c0..6d2bbf8c67 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -1,6 +1,7 @@
import importMetaUrlPlugin from "@codingame/esbuild-import-meta-url-plugin";
import VueI18nPlugin from "@intlify/unplugin-vue-i18n/vite";
import yaml from "@rollup/plugin-yaml";
+import tailwindcss from "@tailwindcss/vite";
import legacy from "@vitejs/plugin-legacy";
import vue from "@vitejs/plugin-vue";
import vueJsx from "@vitejs/plugin-vue-jsx";
@@ -34,6 +35,7 @@ export default defineConfig({
include: [resolve(__dirname, "src/locales/**")],
strictMessage: false,
}),
+ tailwindcss(),
Components({
allowOverrides: true,
// auto import icons