SPACEBROWSER_INTERFACE/interface_072825/master_styles/COMPONENT SCSS/DataCaptureModalPreview.scss

354 lines
6.1 KiB
SCSS

@import '../../../styles/abstracts/variables';
.data-capture--preview {
position: relative;
.ant-checkbox-wrapper {
align-items: flex-start;
width: 100%;
margin-left: 0;
margin-top: 16px;
.ant-checkbox-checked {
.ant-checkbox-inner {
border-color: $green !important;
background: $green;
opacity: 1;
}
}
}
&--header {
border-top-left-radius: 16px;
border-top-right-radius: 16px;
}
&--body {
border-bottom-left-radius: 16px;
border-bottom-right-radius: 16px;
&.has-title {
height: calc(100vh - 360px);
}
&.has-subtitle {
height: calc(100vh - 384px);
}
height: calc(100vh - 304px);
overflow-y: auto;
}
&--btn {
height: 44px !important;
}
.phone-input {
width: 100%;
border-radius: 8px;
border: 1px solid $grey3 !important;
}
@include mobile {
width: 100% !important;
max-width: unset;
padding: 0 24px;
}
.ant-picker-input {
input {
padding-left: 0;
height: 48px;
}
}
input,
textarea {
font-size: 16px;
line-height: 24px;
&::placeholder {
font-size: 16px;
line-height: 24px;
color: #121212;
opacity: 0.5;
}
}
.react-tel-input {
.phone-input {
padding-left: 86px;
}
.selected-flag {
width: 74px;
}
}
.ant-form-item-has-error {
:not(.ant-input-disabled).ant-input {
border: 1px solid #ff3c45 !important;
}
.react-tel-input input.phone-input {
border: 1px solid #ff3c45 !important;
}
.react-tel-input input.phone-input + .phone-button-select {
border-right: 1px solid #ff3c45 !important;
}
}
.ant-form-item-explain {
min-height: 0;
margin-top: 4px;
}
.ant-form-item-explain-error {
margin-top: 0 !important;
font-size: 12px;
line-height: 16px;
}
.ant-select-selection-placeholder {
font-size: 16px;
line-height: 24px;
color: #121212;
opacity: 0.5;
font-weight: 400;
}
#dateOfBirth {
padding-left: 0;
}
.ant-checkbox {
background-color: $white !important;
font-weight: 400;
span {
color: $default;
opacity: 0.8;
}
+ span {
padding-left: 14px;
}
.ant-checkbox-inner {
width: 20px !important;
height: 20px !important;
}
&-group-item {
width: 100%;
display: flex;
align-items: flex-start;
margin-top: 16px;
}
}
.radio-form,
.checkbox-form {
font-weight: 400;
.ant-form-item-label {
padding-bottom: 0 !important;
label {
font-weight: 600;
font-size: 16px;
line-height: 24px;
}
}
}
.ant-radio {
margin: 0 4px;
&-wrapper {
width: 100%;
margin-top: 16px;
color: $default;
opacity: 0.8;
}
}
.country-list {
width: 294px !important;
max-height: 336px !important;
border: none !important;
background: #ffffff;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.18) !important;
border-radius: 16px !important;
margin: 8px 0 0 -1px !important;
.country {
padding: 16px 20px !important;
font-weight: 600;
font-size: 16px;
line-height: 24px;
&.highlight,
&:hover {
background: rgba(37, 127, 252, 0.05) !important;
}
.country-name {
margin-left: 5px;
}
}
}
.ant-select-selection-item {
display: flex;
align-items: center;
}
}
.country-dropdown {
width: 219px !important;
min-width: 219px !important;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
border-radius: 16px;
padding: 0 !important;
.rc-virtual-list-holder {
max-height: 338px !important;
}
.ant-select-item-option-active {
background: rgba(37, 127, 252, 0.05) !important;
}
}
.data-capture-form-datepicker {
.ant-picker-year-panel,
.ant-picker-month-panel,
.ant-picker-decade-panel {
.ant-picker-cell-inner {
width: unset !important;
height: unset !important;
line-height: 25px !important;
}
.ant-picker-header-view {
justify-content: center;
}
.ant-picker-header-super-next-btn,
.ant-picker-header-super-prev-btn {
display: flex;
}
}
.ant-picker-decade-panel {
.ant-picker-body {
padding: 8px;
}
.ant-picker-cell-inner {
font-size: 14px !important;
}
}
.ant-picker-panel-container {
box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
border-radius: 16px;
overflow: hidden;
}
.ant-picker-cell-in-view.ant-picker-cell-today
.ant-picker-cell-inner::before {
border: none;
}
.ant-picker-panel {
width: 280px;
.ant-picker-date-panel {
width: 280px;
}
.ant-picker-content {
width: 100%;
th {
font-size: 12px;
line-height: 16px;
}
}
}
.ant-picker-content {
th {
font-weight: 500;
font-size: 12px;
line-height: 16px;
text-transform: uppercase;
}
}
.ant-picker-header {
padding: 10px 16px;
display: flex;
align-items: center;
position: relative;
}
.ant-picker-header-super-next-btn,
.ant-picker-header-super-prev-btn {
display: none;
}
.ant-picker-header-prev-btn {
display: flex;
align-items: center;
position: absolute;
right: 56px;
@include mobile {
right: 80px;
}
}
.ant-picker-header-next-btn {
display: flex;
align-items: center;
// position: absolute;
right: 16px;
@include mobile {
right: 40px;
}
}
.ant-picker-header-view {
font-weight: 600;
font-size: 18px;
line-height: 28px;
color: #000000;
text-align: left;
}
.ant-picker-cell-inner {
font-size: 16px;
line-height: 32px;
width: 32px;
height: 32px;
border-radius: 100%;
// visibility: hidden;
}
.ant-picker-cell {
pointer-events: none;
margin: 8px;
}
.ant-picker-cell-in-view {
pointer-events: all;
.ant-picker-cell-inner {
color: #121212;
// visibility: visible;
}
}
.ant-picker-cell-selected {
.ant-picker-cell-inner {
background: #121212;
color: white;
}
}
}