* {
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: Helvetica;
}
body {
height: 100vh;
}
h1, p {
margin: 10px 0px;
}
button {
background: white;
padding: 15px;
border: 0px;
border-radius: 3px;
font-size: 15px;
}
input, textarea {
border-radius: 5px;
border: 1px solid black;
padding: .5em;
margin-top: .5em;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
padding: 1em;
height: auto;
}
.gift_form_container {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
}
form label {
margin-top: 1em;
}
#close_modal {
position: absolute;
right: 20px;
top: 20px;
cursor: pointer;
}
input,
.container input,
.container button {
width: 100%
}
.input_container {
display: grid;
grid-template-columns: 20% auto;
gap: 15px;
padding-block: 5px;
}
.date_container {
display: grid;
grid-template-columns: 50% 50%;
padding-block: 5px;
}
#rise_atc {
margin-top: 1em;
}
#rise_gift_form {
height: 0;
-webkit-transition: height, 1s linear;
-moz-transition: height, 1s linear;
-ms-transition: height, 1s linear;
-o-transition: height, 1s linear;
transition: height, 1s linear;
}
#rise_gift_form.open {
height: auto;
padding: 1em;
opacity: 1;
-webkit-transition: height, 1s linear;
-moz-transition: height, 1s linear;
-ms-transition: height, 1s linear;
-o-transition: height, 1s linear;
transition: height, 1s linear;
}
#rise_gift_form.open .gift_form_container {
padding-top: 0px;
}
input[type="date"] {
width: 100%;
}
.hidden {
display: none;
}
.err {
font-weight: bold;
color: red;
font-size: 11px;
margin-inline: 5px;
}
*:disabled {
opacity: .3;
}
.required {
color: red;
}
.name_validation_err #rise_atc,
.email_validation_err #rise_atc,
.greeting_validation_err #rise_atc,
.date_validation_err #rise_atc {
cursor: not-allowed;
opacity: .3;
disabled: true;
}
button.date_now {
display: flex;
border: 1px solid black;
border-radius: 3px 0px 0px 3px!important;
border-right: none;
justify-content: center;
align-items: center;
cursor: pointer;
}
/* button.date_now.selected,
#date_picker.selected {
background-color: pink;
} */
.datepicker_button {
display: flex;
position: relative;
background-color: #FFFFFF;
border: 1px solid black;
border-radius: 0px 3px 3px 0px!important;
justify-content: center;
align-items: center;
cursor: pointer;
}
.datepicker_button_input {
position: absolute;
overflow: hidden;
min-width: 100%;
width: 100%;
height: 100%;
margin: 0;
right: 0;
top: 0;
opacity: 0;
}
.datepicker_button_input::-webkit-calendar-picker-indicator {
position: absolute;
right: 0;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
opacity: 0;
cursor: pointer;
}
i.size-large {
font-size: 30px;
}
i.size-extra-large {
font-size: 200px;
}
Copy the following piece of code into the CSS section of your Rise.ai custom block
Written by Itay Abraham
Updated over 4 months ago