Commit 2d65ce8f authored by AK's avatar AK

add fontawesone

parent 63ccf05f
//styles
import './styles/fonts.css'
import './styles/reset.css'
......@@ -14,7 +15,6 @@ import './styles/login.css'
import './styles/toolbar.css'
import './styles/breadcrumbs.css'
import './styles/admin.css'
//import './styles/fontawesone.css'
......
......@@ -16,6 +16,7 @@
"vite": "^5.2.11"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.6.0",
"nouislider": "^15.8.1",
"reset-css": "^5.0.2"
}
......
......@@ -217,9 +217,9 @@ footer p {
}
/**li.top{
li.top{
display: none;
}*/
}
.scroll-up a{
color: #fff;
......
......@@ -95,3 +95,37 @@
background-color: #c82333; /* Темнее цвет фона при наведении */
}
button.uninstall, button.reinstall, button.disable, button.enable{
color: white; /* Цвет текста */
border: none; /* Без границы */
border-radius: 5px; /* Закругленные углы */
padding: 10px 15px; /* Отступы внутри кнопок */
margin-left: 10px; /* Отступ между кнопками */
cursor: pointer; /* Указатель при наведении */
transition: background-color 0.3s, transform 0.2s; /* Плавные эффекты */
}
button.uninstall, button.reinstall, button.disable{
background-color: #dc3545; /* Цвет фона для кнопки отмены */
}
button.enable{
background-color: #0056b3;
}
.actions.col{
margin: 22px 0;
}
.ui-menu {
background-color: #333;
color: white;
padding: 8px;
}
.ui-menu a{
color: white;
}
......@@ -20,6 +20,7 @@ export default defineConfig({
}
],
build: {
// emit manifest so PHP can find the hashed files
minify: true,
......@@ -50,4 +51,8 @@ export default defineConfig({
strictPort: true,
port: 5173
},
});
......@@ -19,7 +19,8 @@ $showSidebar = $hasSidebar && ($ACT == 'show');
<?//endif?>
<title><?php tpl_pagetitle(); ?> [<?php echo strip_tags($conf['title']); ?>]</title>
<?=$frontend_str?>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />-->
<link href="<?=tpl_basedir()?>/pub/fontawesome/css/all.min.css" rel="stylesheet" />
</head>
<body data-page-id="<?php echo $ID ?>">
......
......@@ -2,7 +2,7 @@
// Fallback script for compatibility with Bootstrap Wrapper and Icons plugins
define('VITE_ENV', 'prod');
define('VITE_ENV', 'dev');
define('VITE_SERVER', 'http://localhost:5173');
define('VITE_ENTRY_POINT', '/main.js');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment