-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
7 changed files
with
395 additions
and
45 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
77 changes: 77 additions & 0 deletions
77
...c/main/resources/apps/typerefinery/components/forms/fields/composite/clientlibs/style.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,77 @@ | ||
|
||
[component=composite][type=list] .rows { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
[component=composite][type=list] .row { | ||
display: flex; | ||
flex-direction: row; | ||
margin: 0.5rem; | ||
} | ||
|
||
|
||
[component=composite][type=list] .row .content { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
width: auto; | ||
max-width: unset; | ||
flex-grow: 1; | ||
flex-wrap: wrap; | ||
} | ||
|
||
[component=composite][type=list] .row .move { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: start; | ||
margin: 0.5rem; | ||
width: 4rem; | ||
flex-wrap: wrap; | ||
align-content: center; | ||
} | ||
[component=composite][type=list] .row .move .drag { | ||
width: 4rem; | ||
} | ||
|
||
[component=composite][type=list] .row .move button { | ||
width: 2rem; | ||
} | ||
|
||
[component=composite][type=list] .row .actions { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
margin: 0.5rem; | ||
justify-content: center; | ||
width: auto; | ||
margin-left: auto; | ||
} | ||
|
||
[component=composite][type=list] .row:hover { | ||
background-color: lightgray; | ||
} | ||
[component=composite][type=list] .add { | ||
margin: 1em; | ||
} | ||
|
||
[component=composite][type=list] .delete { | ||
margin: 1em; | ||
} | ||
|
||
[component=composite][type=list] .handle { | ||
margin-right: 5px; | ||
width: 1.4em; | ||
position: relative; | ||
background-color: #E4E6EB; | ||
background-image: linear-gradient(45deg, #E4E6EB, #E4E6EB 2px, #fff 2px, #fff 4px, #E4E6EB 4px, #E4E6EB 9px, #fff 9px, #fff 11px, #E4E6EB 11px, #E4E6EB 16px, #fff 16px, #fff 18px, #E4E6EB 18px, #E4E6EB 22px); | ||
background-size: 10px 20px; | ||
cursor: move; | ||
border-top: 2px solid #FFF; | ||
border-bottom: 2px solid #FFF; | ||
} | ||
|
||
[component=composite][type=list] .handle:active { | ||
background-image: linear-gradient(45deg, #bab86c, #bab86c 2px, #fff 2px, #fff 4px, #bab86c 4px, #bab86c 9px, #fff 9px, #fff 11px, #bab86c 11px, #bab86c 16px, #fff 16px, #fff 18px, #bab86c 18px, #bab86c 22px); | ||
background-size: 10px 20px; | ||
} |
Oops, something went wrong.