algomin
Version:
Algomin - Viszualizing Distributed Algorithms
144 lines (128 loc) • 3.07 kB
CSS
#algomin_root {
float: left;
background: #151721;
background-image: radial-gradient(#454545 1px, transparent 0);
background-size: 40px 40px;
background-position: -19px -19px;
}
.algomin_shape {
border-radius: 15px;
background-color: #30353d;
transition: 0.1s;
box-shadow: 1px 1px 20px #4f3cbd61;
padding: 5px;
z-index: 2;
border: 1px solid rgb(64, 69, 78);
}
.algomin_shape:hover {
cursor: grab;
}
.algomin_shape_header {
border-top-right-radius: inherit;
border-top-left-radius: inherit;
position: absolute;
top: 0;
left: 0;
width: inherit;
padding: inherit;
height: 20px;
background-color: #6366f1;
box-shadow: 0px 0px 1px 1px #6366f1;
text-align: center;
word-break: break-word;
display: flex;
justify-content: center;
align-content: center;
flex-direction: column;
color: white;
font-weight: 500;
}
.algomin_message {
position: absolute;
border-radius: 2px;
background-image: linear-gradient(to top, rgb(255, 8, 68) 0%, rgb(255, 177, 153) 100%);
box-shadow: 1px 1px 20px #4f3cbd61;
z-index: 1;
}
.algomin_message_label {
color: #d3d3d3;
position: absolute;
font-weight: 600;
top: 50%;
left: 50%;
width: max-content;
padding-top: 52px;
transform: translate(-50%, -50%) rotate(0deg);
}
.algomin_slider_div {
color: white;
background-color: rgba(0, 0, 0, 0.28);
display: flex;
padding-bottom: 10px;
padding-top: 10px;
position: absolute;
width: -webkit-fill-available;
bottom: 0px;
padding-right: 10px;
}
#algomin_slider_play_button_div {
width: 15px;
height: 20px;
float: left;
padding-left: 20px;
padding-right: 20px;
margin-top: -5px;
}
#algomin_slider_play_button_div:hover {
cursor: pointer;
}
#algomin_slider_time_div {
width: 100px;
height: 20px;
float: left;
margin-top: -6px;
}
.algomin_slider {
float: left;
-webkit-appearance: none;
appearance: none;
width: 90%;
height: 5px;
cursor: pointer;
outline: none;
overflow: hidden;
border-radius: 2px;
margin-top: 5px;
transition: 0.2s;
}
.algomin_slider:hover {
height: 8px;
margin-top: 3px;
}
.algomin_slider::-webkit-slider-runnable-track {
height: 15px;
background: #f1f1f1;
border-radius: 16px;
}
.algomin_slider::-moz-range-track {
height: 15px;
background: #f5f5f5;
border-radius: 16px;
}
.algomin_slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
height: 15px;
width: 15px;
background-color: #d52b4c;
border-radius: 50%;
box-shadow: -2407px 0 0 2400px #d52b4c;
}
.algomin_slider::-moz-range-thumb {
height: 15px;
width: 15px;
background-color: #d52b4c;
border-radius: 50%;
border: 1px solid #d52b4c;
box-shadow: -2407px 0 0 2400px #d52b4c;
}