aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufund-ui/src/app/components/need-list/need-list.component.css19
1 files changed, 15 insertions, 4 deletions
diff --git a/ufund-ui/src/app/components/need-list/need-list.component.css b/ufund-ui/src/app/components/need-list/need-list.component.css
index 74dbc34..c763105 100644
--- a/ufund-ui/src/app/components/need-list/need-list.component.css
+++ b/ufund-ui/src/app/components/need-list/need-list.component.css
@@ -1,4 +1,5 @@
:host {
+ --list-background-color: lightgray;
list-style-type: none;
border: 2px solid #000;
display: block;
@@ -18,6 +19,7 @@ ul {
}
li {
+ background-color: var(--list-background-color);
display: flex;
justify-content: space-between;
align-items: center;
@@ -25,17 +27,26 @@ li {
font-weight: bold;
border: 2px solid #000;
border-radius: 5px;
- margin: 5px;
-
+ margin: 5px;
> button {
- width: 90%;
+ background-color: var(--list-background-color);
+ width: 88%;
float: left;
transition: all 0.3s ease;
font-weight: bold;
display: flex;
+ border: none;
+ border-radius: 5px;
+ }
+
+ > section {
+ width: 12%;
}
}
+section button{
+ margin: 4%;
+}
li > button span {
font-style: italic;
@@ -48,7 +59,7 @@ li > button:hover p {
.icon {
- width: 15px;
+ width: 18px;
margin: 3px -3px -1px -3px;
}