UNPKG

ze-react-component-library

Version:
144 lines (128 loc) 2.69 kB
@import "~antd/es/style/themes/default.less"; @mobileBarHeight: 80px; @zIndex: 999; .text-primary-color { color: var(--ant-primary-color); } .text-secondary-color { color: @text-color-secondary; } .ze-search-bar-mobile-input-bar-wrapper { background: #f6f6f6; position: fixed; height: @mobileBarHeight; width: 100%; left: 0; bottom: 0; z-index: @zIndex; } .ze-search-bar-record-loading-wrapper { .ze-search-bar-record-loading-icon { position: relative; width: max-content; margin: 0 auto; .anticon-audio { position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); } } } .ze-search-bar-mobile-recording-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 998; height: 100%; background-color: rgba(0, 0, 0, 0.45); -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; pointer-events: none; touch-action: none; .ze-search-bar-record-loading-wrapper { position: fixed; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); } } .ze-search-bar-mobile { .ze-logicform-visual-list { z-index: @zIndex; width: 100%; position: fixed; left: 0; bottom: @mobileBarHeight + 12px; } } .ze-search-bar { width: 100%; margin: 0 auto; max-width: 756px; } .ze-search-bar-pop-wrapper { position: relative; width: 100%; opacity: 0; pointer-events: none; .ant-select-dropdown { top: 0px !important; padding: 0; } } .ze-search-bar-pop-wrapper-open { opacity: 1; pointer-events: all; } .ze-search-bar-pop-wrapper,.ze-search-bar-history-pop-content { .rc-virtual-list-holder { max-height: 32px * 5 !important; } .rc-virtual-list-scrollbar-thumb { height: 32px !important; } } .ze-search-bar-input.ant-input-search .ant-input-group { .ant-input { width: calc(100% - 30px - 138px); } .ant-input-affix-wrapper:not(:last-child) { border-radius: 32px; padding-right: 32px; position: absolute; width: 100%; height: 62px; padding: 4px; padding-left: 32px; } } .ze-search-bar-input.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child { left: -5px; top: 0px; background: transparent; z-index: 1; .ant-input-search-button { border-radius: 31px; margin: 5px 0; height: 52px; padding: 19px 44px; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: none; text-shadow: none; } } .ze-auto-keywords{ padding: 12px; }