Code owners
Assign users and groups as approvers for specific file changes. Learn more.
SortingVisualizer.css 2.49 KiB
body {
margin: 0;
}
.Container {
display: flex;
flex-direction: column;
align-items: center;
}
.bar {
background-color: blue;
display: inline-block;
height: 100px;
flex: 1 1 20px;
min-width: 2px;
}
.sorted {
background-color: deeppink;
animation: ScaleAnimation 0.5s ease-in-out;
}
.finished {
background-color: lawngreen;
flex: 1 1 20px;
min-width: 2px;
margin: 2px;
display: inline-block;
animation: GreenScaleAnimation 1s ease-in;
}
.range-slider {
padding: 0px;
}
#ToolBar {
height: 50px;
width: 100%;
background: #34495e;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
#startButton {
height: 78%;
width: 85px;
margin: 10px;
background: #1abc9c;
text-align: center;
display: grid;
place-items: center;
border-radius: 5px;
border: none;
color: white;
font-size: 16px;
font-family: Arial, sans-serif;
font-weight: bold;
}
button:active {
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.46);
transform: translateY(2px);
}
.Label {
margin: 10px;
font-size: 16px;
font-family: Arial, sans-serif;
font-weight: normal;
color: white;
}
.DivArray {
transform: scaleY(-1);
display: flex;
flex-wrap: nowrap;
justify-content: center;
gap: 2px;
width: 90%;
margin-top: 5px;
}
#dropdown-menu {
background-color: #34495e;
border: none;
border-radius: 5px;
margin-top: 3px;
}
#dropdown-item {
color: white;
font-size: 16px;
font-weight: normal;
border-radius: 5px;
}
#dropdown-item:hover {
background-color: #1abc9c;
color: white;
}
#dropdown {
background: none;
border: none;
border-radius: 0px;
color: white;
font-size: 16px;
font-weight: normal;
padding: 0;
height: 100%;
display: flex;
place-items: center;
margin-inline: 10px;
justify-content: center;
width: 195px;
transition: none;
}
#dropdown:hover {
color: #1abc9c;
}
#dropdown:active {
box-shadow: none;
transform: none;
}
#dropdown.show {
background-color: #1abc9c;
color: white;
}
@keyframes ScaleAnimation {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
@keyframes GreenScaleAnimation {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}