334 lines
5.1 KiB
CSS
334 lines
5.1 KiB
CSS
|
@import url('https://fonts.googleapis.com/css2?family=Lexend+Zetta&display=swap');
|
||
|
|
||
|
* {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
user-select: none;
|
||
|
}
|
||
|
|
||
|
html {
|
||
|
font-family: 'Lexend Zetta', sans-serif;
|
||
|
background-color: rgb(248, 248, 248);
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
background-color: rgb(255, 255, 255);
|
||
|
/* box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.07); */
|
||
|
height: 370px;
|
||
|
width: 950px;
|
||
|
border-radius: 11px;
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
padding: 12px 20px;
|
||
|
display: flex;
|
||
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
||
|
}
|
||
|
|
||
|
.sequencer {
|
||
|
display: flex;
|
||
|
height: 270px;
|
||
|
width: 840px;
|
||
|
margin-top: 100px;
|
||
|
}
|
||
|
|
||
|
#p0 {
|
||
|
margin-top: 109px;
|
||
|
width: 160px;
|
||
|
padding-left: 2px;
|
||
|
padding-right: 26px;
|
||
|
}
|
||
|
|
||
|
.drum-name {
|
||
|
font-weight: bold;
|
||
|
font-size: 12px;
|
||
|
letter-spacing: -0.5px;
|
||
|
line-height: 58px;
|
||
|
padding: 0px 36px 0px 16px;
|
||
|
border-radius: 6px;
|
||
|
margin-bottom: 4px;
|
||
|
background-color: #fff;
|
||
|
color: rgba(0, 0, 0, 0.6);
|
||
|
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
|
||
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
||
|
}
|
||
|
|
||
|
#controls {
|
||
|
position: absolute;
|
||
|
left: 20px;
|
||
|
right: 20px;
|
||
|
top: 0px;
|
||
|
height: 120px;
|
||
|
}
|
||
|
|
||
|
#controls-left-side {
|
||
|
float: left;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
#controls-right-side {
|
||
|
float: right;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.sampler {
|
||
|
display: inline;
|
||
|
padding: 30px 48px;
|
||
|
border-radius: 6px;
|
||
|
line-height: 120px;
|
||
|
text-align: center;
|
||
|
background-color: #fff;
|
||
|
color: rgba(0, 0, 0, 0.6);
|
||
|
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
|
||
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.pressed {
|
||
|
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
|
||
|
top: 2px;
|
||
|
background-color: rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
#bpm {
|
||
|
font-weight: bold;
|
||
|
color: rgba(0, 0, 0, 0.6);
|
||
|
line-height: 120px;
|
||
|
position: absolute;
|
||
|
top: 25px;
|
||
|
right: 200px;
|
||
|
}
|
||
|
|
||
|
#bpm-slider {
|
||
|
position: absolute;
|
||
|
top: 24px;
|
||
|
right: 150px;
|
||
|
width: 180px;
|
||
|
}
|
||
|
|
||
|
#bpm-slider:hover {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
#controls p {
|
||
|
display: inline;
|
||
|
font-size: 12px;
|
||
|
position: relative;
|
||
|
top: -1px;
|
||
|
}
|
||
|
|
||
|
#clear-track {
|
||
|
font-weight: bold;
|
||
|
color: rgba(0, 0, 0, 0.6);
|
||
|
padding: 16px 24px;
|
||
|
border-radius: 6px;
|
||
|
box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.05);
|
||
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
||
|
margin-left: 36px;
|
||
|
margin-right: 2px;
|
||
|
position: relative;
|
||
|
-webkit-user-select: none;
|
||
|
}
|
||
|
|
||
|
#clear-track:hover {
|
||
|
cursor: pointer;
|
||
|
border: 1px solid rgba(0, 0, 0, 0.4);
|
||
|
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
|
||
|
}
|
||
|
|
||
|
#clear-track:active {
|
||
|
top: 0px;
|
||
|
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
|
||
|
}
|
||
|
|
||
|
.d1,
|
||
|
.d2,
|
||
|
.d3,
|
||
|
.d4,
|
||
|
.d5,
|
||
|
.d6,
|
||
|
.d7,
|
||
|
.d8,
|
||
|
.d9,
|
||
|
.d10,
|
||
|
.d11,
|
||
|
.d12,
|
||
|
.d13,
|
||
|
.d14,
|
||
|
.d15,
|
||
|
.d16 {
|
||
|
background-color: rgba(0, 0, 0, 0);
|
||
|
height: 100%;
|
||
|
width: 50%;
|
||
|
margin: 5px 2px;
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.sample {
|
||
|
background-color: rgba(0, 0, 0, 0.1);
|
||
|
margin: 4px 0px;
|
||
|
display: block;
|
||
|
height: 60px;
|
||
|
border-radius: 6px;
|
||
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
.sample:hover {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.row-highlight {
|
||
|
background-color: rgba(28, 29, 28, 0.2);
|
||
|
}
|
||
|
|
||
|
.item-selected {
|
||
|
background-color: rgba(0, 0, 0, 0.8);
|
||
|
}
|
||
|
|
||
|
#d-split {
|
||
|
margin-right: 20px;
|
||
|
}
|
||
|
|
||
|
input[type=range] {
|
||
|
height: 50px;
|
||
|
-webkit-appearance: none;
|
||
|
margin: 10px 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
input[type=range]:focus {
|
||
|
outline: none;
|
||
|
}
|
||
|
|
||
|
input[type=range]::-webkit-slider-runnable-track {
|
||
|
width: 100%;
|
||
|
height: 10px;
|
||
|
cursor: pointer;
|
||
|
box-shadow: 0px 0px 0px #000000;
|
||
|
background: #EDEDED;
|
||
|
border-radius: 5px;
|
||
|
border: 1px solid #C2C2C2;
|
||
|
}
|
||
|
|
||
|
input[type=range]::-webkit-slider-thumb {
|
||
|
box-shadow: 0px 0px 0px #707070;
|
||
|
border: 1px solid #A3A3A3;
|
||
|
height: 42px;
|
||
|
width: 15px;
|
||
|
border-radius: 17px;
|
||
|
background: #FFFFFF;
|
||
|
cursor: pointer;
|
||
|
-webkit-appearance: none;
|
||
|
margin-top: -17px;
|
||
|
}
|
||
|
|
||
|
input[type=range]:focus::-webkit-slider-runnable-track {
|
||
|
background: #EDEDED;
|
||
|
}
|
||
|
|
||
|
input[type=range]::-moz-range-track {
|
||
|
width: 100%;
|
||
|
height: 7px;
|
||
|
cursor: pointer;
|
||
|
background: #EDEDED;
|
||
|
border-radius: 50px;
|
||
|
border: 1px solid #C2C2C2;
|
||
|
}
|
||
|
|
||
|
input[type=range]::-moz-range-thumb {
|
||
|
border: 1px solid #A3A3A3;
|
||
|
height: 42px;
|
||
|
width: 13px;
|
||
|
border-radius: 17px;
|
||
|
background: #FFFFFF;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
input[type=range]::-ms-track {
|
||
|
width: 100%;
|
||
|
height: 10px;
|
||
|
cursor: pointer;
|
||
|
animate: 0.2s;
|
||
|
background: transparent;
|
||
|
border-color: transparent;
|
||
|
color: transparent;
|
||
|
}
|
||
|
|
||
|
input[type=range]::-ms-fill-lower {
|
||
|
background: #EDEDED;
|
||
|
border: 1px solid #C2C2C2;
|
||
|
border-radius: 10px;
|
||
|
}
|
||
|
|
||
|
input[type=range]::-ms-fill-upper {
|
||
|
background: #EDEDED;
|
||
|
border: 1px solid #C2C2C2;
|
||
|
border-radius: 10px;
|
||
|
}
|
||
|
|
||
|
input[type=range]::-ms-thumb {
|
||
|
margin-top: 1px;
|
||
|
border: 1px solid #A3A3A3;
|
||
|
height: 43px;
|
||
|
width: 15px;
|
||
|
border-radius: 50px;
|
||
|
background: #FFFFFF;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
input[type=range]:focus::-ms-fill-lower {
|
||
|
background: #EDEDED;
|
||
|
}
|
||
|
|
||
|
input[type=range]:focus::-ms-fill-upper {
|
||
|
background: #EDEDED;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
/* .parent, .parent2 {
|
||
|
margin-top: 10px;
|
||
|
display: flex;
|
||
|
flex-wrap: no-wrap;
|
||
|
}
|
||
|
|
||
|
.kick, .clap {
|
||
|
width: 50%;
|
||
|
height: 40px;
|
||
|
background-color: rgba(0, 0, 0, 0.1);
|
||
|
margin: 0px 2px;
|
||
|
line-height: 50px;
|
||
|
text-align: center;
|
||
|
font-weight: bold;
|
||
|
font-family: "Courier New";
|
||
|
font-size: 12px;
|
||
|
border-radius: 12px;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
.kick:hover, .clap:hover {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.item-selected {
|
||
|
background-color: salmon;
|
||
|
}
|
||
|
|
||
|
.row {
|
||
|
background-color: rgba(0, 0, 0, 0.25);
|
||
|
} */
|