You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

200 lines
3.1 KiB
CSS

body {
touch-action: manipulation;
}
#radios {
position: relative;
background-color:rgba(239,239,240,1);
z-index:5;
width: 245.5px;
border-radius: 10px;
margin-top: 15px;
}
input[type="radio"] {
display: none;
}
#bckgrnd,
.labels {
width: 120px;
height: 66px;
text-align: center;
display: inline-block;
margin-right: -3px;
z-index: 2;
cursor: pointer;
}
.labels {
padding-top: 7.5px;
}
#bckgrnd {
width: 115px;
height: 55px;
background-color: white;
border: .5px solid rgba(0,0,0,0.04);
box-shadow: 0 3px 8px 0 rgba(0,0,0,0.12), 0 3px 1px 0 rgba(0,0,0,0.04);
position: absolute;
left: 5px;
top: 5px;
border-radius: 7px;
z-index: -1;
}
#rad1:checked ~ #bckgrnd {
transform: translateX(0);
transition: transform 0.3s ease-in-out;
}
#rad2:checked ~ #bckgrnd {
transform: translateX(120px);
transition: transform 0.3s ease-in-out;
}
.picker {
position: relative;
width: 300px;
overflow: hidden;
margin: 1rem auto 0;
outline: 1px solid #ccc;
padding: 0 30px;
}
.swiper-container {
width: 80px;
height: 210px;
float: left;
}
.swiper-slide {
text-align: center;
font-size: 2rem;
display: flex;
justify-content: center;
align-items: center;
user-select: none;
opacity: 0.25;
transition: opacity 0.3s ease;
cursor: default;
font-weight: bold;
-webkit-tap-highlight-color: transparent;
}
.swiper-slide-prev,
.swiper-slide-next {
cursor: pointer;
}
.swiper-slide-active {
opacity: 1;
}
.vizor {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
height: 70px;
position: absolute;
top: 50%;
left: 1rem;
right: 1rem;
transform: translateY(-50%);
font-size: 2rem;
line-height: 62px;
}
.vizor:before,
.vizor:after {
content: ':';
display: inline-block;
line-height: inherit;
height: 100%;
position:absolute;
top: 0;
transform: translateX(-50%);
}
.vizor:before {
left: 95px;
}
.vizor:after {
left: 175px;
}
.arrows .swiper-container:after,
.arrows .swiper-container:before {
content: "";
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-style: solid;
border-width: 4px;
border-color: transparent;
opacity: 0.5;
}
.arrows .swiper-container:before {
top: 0.5rem;
border-top-width: 0;
border-bottom-color: currentColor;
}
.arrows .swiper-container:after {
bottom: 0.5rem;
border-bottom-width: 0;
border-top-color: currentColor;
}
/*.donate-now {*/
/* list-style-type: none;*/
/* margin: 25px 0 0 0;*/
/* padding: 0;*/
/*}*/
/*.donate-now li {
float: left;
margin: 0 5px 0 0;
width: 100px;
height: 40px;
position: relative;
}*/
/*.donate-now label,
.donate-now input {
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}*/
/*.donate-now input[type="radio"] {
opacity: 0.01;
z-index: 100;
}*/
.donate-now input[type="radio"]:checked+label { /*, .Checked+label */
border-color: rgb(79 70 229);
}
/*.donate-now label {
padding: 5px;
border: 1px solid #CCC;
cursor: pointer;
z-index: 90;
}
.donate-now label:hover {
background: #DDD;
}