-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18af3b0
commit 924f30f
Showing
60 changed files
with
463 additions
and
542 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
frontend/themes/jmix-windturbines/view/inspection-detail-view.css
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
frontend/themes/jmix-windturbines/view/turbine-detail-view.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hilla.active = false |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/main/frontend/themes/jmix-windturbines/shared/background.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
html { | ||
background-color: #eee; | ||
} | ||
|
||
/* | ||
CSS class that combines and references --lumo-* theme variables. | ||
This allows to create aggregation CSS classes in CSS instead of XML / Java code | ||
See https://vaadin.com/docs/latest/styling/lumo/lumo-style-properties for all | ||
Vaadin Lumo style properties | ||
*/ | ||
.white-card { | ||
background-color: var(--lumo-base-color); | ||
border-radius: var(--lumo-border-radius-l); | ||
box-shadow: var(--lumo-box-shadow-s); | ||
padding: 10px; | ||
} | ||
|
||
.light-background { | ||
background: linear-gradient(180deg, #EBF2FC 0%, #DBE8FD 100%); | ||
border-top-left-radius: 15px; | ||
border-top-right-radius: 15px; | ||
height: 100%; | ||
overflow:hidden; | ||
} |
45 changes: 45 additions & 0 deletions
45
src/main/frontend/themes/jmix-windturbines/shared/buttons.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
Example of a custom button class as an alternative to Vaadin button predefined styles. | ||
See also: | ||
- https://vaadin.com/docs/latest/components/button#styles | ||
*/ | ||
vaadin-button.blue-btn { | ||
background: var(--blue-btn-background); | ||
box-shadow: 0 1px 2px 0 #1542872E, 0 5px 10px 0 #1542875C; | ||
color: white; | ||
border-radius: 20px; | ||
flex: 1; | ||
} | ||
|
||
/* | ||
Vaadin button states can be styled by using the different states via the attribute selector. | ||
See also: | ||
- Vaadin button states: https://vaadin.com/docs/latest/components/button/styling#states | ||
- CSS attribute selector: https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors | ||
*/ | ||
vaadin-button.blue-btn[disabled] { | ||
background: | ||
linear-gradient(0deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), | ||
var(--blue-btn-background); | ||
box-shadow: none; | ||
} | ||
|
||
vaadin-button.orange-btn { | ||
background: var(--orange-btn-background); | ||
box-shadow: var(--orange-btn-box-shadow); | ||
color: white; | ||
border-radius: 20px; | ||
flex: 1; | ||
} | ||
|
||
vaadin-button.orange-btn[disabled] { | ||
background: | ||
linear-gradient(0deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), | ||
var(--orange-btn-background); | ||
box-shadow: none; | ||
} | ||
|
||
.jmix-main-view-drawer-toggle, .back-button { | ||
color: var(--lumo-base-color) !important; | ||
margin-left: -13px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.cursor-pointer { | ||
cursor: pointer; | ||
} |
29 changes: 29 additions & 0 deletions
29
src/main/frontend/themes/jmix-windturbines/shared/tabsheet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
Example of styling a Jmix / Vaadin component via its shadow DOM parts / states. | ||
See also: | ||
- https://docs.jmix.io/jmix/flow-ui/themes/styling-ui-components.html | ||
- https://vaadin.com/docs/latest/components/tabs/styling#tabsheet | ||
*/ | ||
jmix-tabsheet.content-tab-sheet::part(tabs-container) { | ||
background-color: var(--dark-blue); | ||
border-radius: 15px; | ||
padding: 5px; | ||
margin: 4px 16px 16px; | ||
height: 36px; | ||
} | ||
|
||
jmix-tabsheet.content-tab-sheet vaadin-tab { | ||
color: var(--lumo-base-color); | ||
} | ||
|
||
jmix-tabsheet.content-tab-sheet vaadin-tab[selected] { | ||
background: linear-gradient(180deg, #EBF2FC 0%, #DBE8FD 100%); | ||
color: var(--dark-blue); | ||
border-radius: 10px; | ||
margin-top: 5px; | ||
margin-bottom: 5px; | ||
} | ||
|
||
jmix-tabsheet.content-tab-sheet::part(content) { | ||
padding: 0 !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.cut-overflow-text { | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} |
Oops, something went wrong.