new file: main_dc/yalarba/easySite/easySite/app/assets/css/main.css

modified:   main_dc/yalarba/easySite/easySite/nuxt.config.ts
	new file:   package-lock.json
	new file:   package.json
add main styles for all project, fix warn with word process by
installing some npm install --save-dev @types/node
This commit is contained in:
2025-10-28 22:53:21 +05:00
parent 2128977ce0
commit 6f724d99a2
4 changed files with 95 additions and 3 deletions
@@ -0,0 +1,57 @@
/* assets/css/main.css */
:root {
--primary: #2563eb;
--primary-dark: #1d4ed8;
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-600: #4b5563;
--gray-800: #1f2937;
--gray-900: #111827;
--white: #ffffff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: var(--gray-900);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
/* Базовые компоненты */
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 0.5rem;
text-decoration: none;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.btn-primary {
background: var(--primary);
color: var(--white);
}
.btn-primary:hover {
background: var(--primary-dark);
}
.card {
background: var(--white);
border-radius: 0.5rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
padding: 1.5rem;
}
@@ -8,6 +8,7 @@ export default defineNuxtConfig({
'@nuxt/ui',
'@nuxt/eslint'
],
css: ['~/assets/css/main.css'],
// Настройки для работы за прокси
runtimeConfig: {
public: {
+29
View File
@@ -0,0 +1,29 @@
{
"name": "tp",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"devDependencies": {
"@types/node": "^24.9.2"
}
},
"node_modules/@types/node": {
"version": "24.9.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.9.2.tgz",
"integrity": "sha512-uWN8YqxXxqFMX2RqGOrumsKeti4LlmIMIyV0lgut4jx7KQBcBiW6vkDtIBvHnHIquwNfJhk8v2OtmO8zXWHfPA==",
"dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~7.16.0"
}
},
"node_modules/undici-types": {
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
"integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
"dev": true,
"license": "MIT"
}
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"devDependencies": {
"@types/node": "^24.9.2"
}
}