updated relative rank
This commit is contained in:
@@ -1,13 +1,86 @@
|
||||
.item {
|
||||
border: 1px solid black;
|
||||
width: fit-content;
|
||||
list-style: none;
|
||||
padding: 5px;
|
||||
margin: 5px 0;
|
||||
border: 1px solid lightgrey;
|
||||
min-width: 6em;
|
||||
width: fit-content;
|
||||
list-style: none;
|
||||
padding: 5px;
|
||||
margin: 5px 0;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.rank {
|
||||
list-style: none;
|
||||
margin-top: 10px;
|
||||
min-width: 6em;
|
||||
width: 120px;
|
||||
height: 10px;
|
||||
background: red;
|
||||
position: relative;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.rank::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 0%;
|
||||
top: -7.5px;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
border-radius: 50%;
|
||||
background: red;
|
||||
}
|
||||
|
||||
.flex-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-around;
|
||||
}
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.unranked-items {
|
||||
flex-grow: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ranked-items {
|
||||
flex-grow: 1;
|
||||
text-align: center;
|
||||
}
|
||||
#unranked-items {
|
||||
display: inline-block;
|
||||
min-height: 7rem;
|
||||
min-width: 7em;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#ranked-items {
|
||||
display: inline-block;
|
||||
min-height: 7rem;
|
||||
min-width: 12em;
|
||||
}
|
||||
|
||||
#add-btn {
|
||||
background: #03df4d;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#clear-btn {
|
||||
background: #e62d2d;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.delete {
|
||||
border: none;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.delete:hover {
|
||||
border: none;
|
||||
background: darkgray;
|
||||
}
|
||||
|
||||
.rank-btns {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background: #03df4d;
|
||||
}
|
||||
|
||||
@@ -59,14 +59,7 @@ main {
|
||||
}
|
||||
/* styles.css */
|
||||
|
||||
#add-rank-btn, #save-btn {
|
||||
background-color: #7A288A; /* This is a deep purple color */
|
||||
border-color: #7A288A;
|
||||
}
|
||||
|
||||
#add-rank-btn:hover, #save-btn:hover {
|
||||
background-color: #55107B; /* This is a darker shade of purple for hover effect */
|
||||
}
|
||||
|
||||
li .nav {
|
||||
list-style: none;
|
||||
|
||||
Reference in New Issue
Block a user