1. Import
This commit is contained in:
23
vaadin/frontend/index.html
Normal file
23
vaadin/frontend/index.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
This file is auto-generated by Vaadin.
|
||||
-->
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<style>
|
||||
body, #outlet {
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<!-- index.ts is included here automatically (either by the dev server or during the build) -->
|
||||
</head>
|
||||
<body>
|
||||
<!-- This outlet div is where the views are rendered -->
|
||||
<div id="outlet"></div>
|
||||
</body>
|
||||
</html>
|
||||
39
vaadin/frontend/themes/votian/styles.css
Normal file
39
vaadin/frontend/themes/votian/styles.css
Normal file
@@ -0,0 +1,39 @@
|
||||
/* Votian Theme - Stadtbote GmbH */
|
||||
|
||||
html {
|
||||
--lumo-primary-color: #1b12b9;
|
||||
--lumo-primary-color-50pct: rgba(27, 18, 185, 0.5);
|
||||
--lumo-primary-text-color: #1b12b9;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
vaadin-app-layout::part(navbar) {
|
||||
background: linear-gradient(135deg, #1b12b9 0%, #2a1fd4 100%);
|
||||
color: white;
|
||||
}
|
||||
|
||||
vaadin-app-layout::part(navbar) h1 {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
/* Drawer */
|
||||
vaadin-app-layout::part(drawer) {
|
||||
background: #f8f9fa;
|
||||
border-right: 1px solid #dee2e6;
|
||||
}
|
||||
|
||||
/* Grid styling */
|
||||
vaadin-grid {
|
||||
--lumo-row-stripe-color: rgba(27, 18, 185, 0.03);
|
||||
}
|
||||
|
||||
/* Button primary */
|
||||
vaadin-button[theme~="primary"] {
|
||||
background-color: #1b12b9;
|
||||
}
|
||||
|
||||
/* Login page */
|
||||
.login-form {
|
||||
max-width: 400px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
3
vaadin/frontend/themes/votian/theme.json
Normal file
3
vaadin/frontend/themes/votian/theme.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"lumoImports": ["typography", "color", "spacing", "badge", "utility"]
|
||||
}
|
||||
Reference in New Issue
Block a user