필터 Selector 스타일 적용 팁
css를 통해 필터의 Selector 스타일을 변경 하실 수 있습니다.
상세설명은 여기 (opens in a new tab)에서 확인 하실 수 있습니다.
/* 필터 컨테이너 */
.rg-filter-selector {
font-size: 14px;
color: #000;
width: 170px;
min-height: 150px;
background: #ffffff;
border: 1px solid #000;
box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.3);
padding: 12px;
border-radius: 7px;
}
/* 필터 검색 입력창 컨테이너 디자인 */
.rg-filter-searchbox {
border: none;
background: #f3f4f6;
padding: 6px 10px !important;
border-radius: 20px !important;
}
/* 필터 검색 입력창 디자인 */
.rg-filter-search-input {
box-sizing: border-box;
width: 100%;
height: 24px;
line-height: 24px;
border: none;
background: transparent;
color: #656d7b;
}
/* 필터 검색 입력창 포커스 시 테두리 제거*/
.rg-filter-search-input:focus {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
/* 필터 전체 선택 영역 */
.rg-filter-select-all {
cursor: pointer;
font-size: 12px;
padding: 10px 0px 5px 0px;
border-bottom: 1px solid black;
}
/* 필터 리스트 컨테이너 */
.rg-filter-list-viewport {
border: none !important;
padding-top: 7px;
}
.rg-filter-item {
display: flex;
align-items: center;
font-size: 12px;
background: #ffffff;
height: 35px;
}
.rg-filter-item:hover {
background: #f5f6fa;
color: #000;
}
.rg-filter-item:has(.rg-filter-checkbox:checked) {
background: #f5f6fa !important;
}
.rg-filter-checkbox {
appearance: none;
-webkit-appearance: none;
width: 16px;
height: 16px;
cursor: pointer;
position: relative;
}
/* 체크박스 이미지 변경 */
.rg-filter-checkbox::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 16px;
height: 16px;
background-image: url("/images/checkImages/unchecked.png");
background-size: 100% 100% !important;
background-repeat: no-repeat;
}
/* 체크박스 이미지 변경 */
.rg-filter-checkbox:checked::before {
width: 16px;
height: 16px;
background-image: url("/images/checkImages/checked.png");
background-size: 100% 100% !important;
background-repeat: no-repeat;
}
/* 체크박스 이미지 변경 */
.rg-filter-checkbox:indeterminate::before {
width: 16px;
height: 16px;
background-size: 100% 100% !important;
background-repeat: no-repeat;
background-image: url("/images/checkImages/indeterminate.png");
}
.rg-filter-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* 초기화 텍스트 */
.rg-filter-select-all .rg-filter-column-reset {
right: 5px;
padding: 0px;
color: #fe9201;
text-decoration: underline;
font-weight: bold;
}
/* 버튼 컨테이너 */
.rg-filter-button {
color: #000;
text-align: right;
padding: 10px 2px 0px 2px;
}
/* 확인 버튼 */
.rg-filter-accept {
cursor: pointer;
border: 1px solid #c4c4c4;
border-radius: 5px;
padding: 8px 18px !important;
color: #000;
background: #fff;
}
.rg-filter-accept:hover {
color: #fff;
background: #fe9201;
border: 1px solid #fe9201;
}
/* 취소 버튼 */
.rg-filter-cancel {
background: #adacab;
border: 1px solid #adacab;
border-radius: 5px;
padding: 8px 18px !important;
color: #fff;
cursor: pointer;
margin-left: 2px;
}