[이윰] modal 창 크기 변경하기

페이지 정보

루루아빠 3,357 2015.07.30 17:45

평점

  • 평점 : 0점 (0명 참여)

본문

갤러리 뷰에서 모달창과 게시판 문서 검색의 모달창의 크기를 조건에 맞게 반영한다.
그누보드5/eyoom/theme/설치된 테마/css/custom.css를 열고 아래 소스를 삽입한다.

/* modal창 크기 변경하기 */
.modal {
    position: fixed;
    top: 2%;
    right: 2%;
    left: 2%;
    bottom: 2%;
    width: auto;
    height: auto;
    margin: 0;
}
/* Large desktops and laptops */
@media (min-width: 1200px) {
    .modal-dialog {
      width: 100%;
      height: 100%;
      margin: 0px auto;
    }
    .modal-sm {
        width: 400px;
        height: 230px;
    }
}
/* Landscape tablets and medium desktops */
@media (min-width: 1002px) and (max-width: 1199px) {
    .modal-dialog {
      width: 100%;
      height: 100%;
      margin: 0px auto;
    }
    .modal-sm {
        width: 400px;
        height: 230px;
    }
}
/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 1001px) {
    .modal-dialog {
      width: 100%;
      height: 100%;
      margin: 0px auto;
    }
    .modal-sm {
        width: 400px;
        height: 230px;
    }
}
/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    .modal-dialog {
      width: 100%;
      height: 100%;
      margin: 0px auto;
    }
    .modal-sm {
        width: 300px;
        height: 230px;
    }
}
.modal-content {
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}
.modal-body {
    height: auto;
/*     padding: 5px 15px 5px 15px; */
}
.modal-title {
    margin-top: 0px
}
.modal-header .close {
  margin-top: 3px;
}
.modal-footer {
    text-align: left;
    padding: 11px;
}

게시판내 문서 검색시 사용하는 모달창 클래스 modal-sm 은 가로, 세로 크기를 고정했다.


 
추천인
  • 추천해 주세요
6
루루아빠 - 회원등급 : 최고관리자 - 포인트 : 1,295,334
레벨 97
경험치 1,399,531

Progress Bar 10%

- 가입일 : 2015-03-04 03:24:54
- 서명 : KNOW YOUR LIMITS BUT NEVER STOP TRYING TO EXCEED THEM !!
- 자기소개 : 루루의 자랑 루루아빠랍니다~~

댓글

첫 번째 댓글을 남겨 주세요

Total 242213 페이지
제목 글쓴이 날짜 조회 추천
이윰  댓글+1🏆 카카오TV 올바르게 적용하기 shadow2fox 2020.01.29 1,904 1
이윰  댓글+1🏆 게시글 추천시 글 작성자에게 포인트 부여하기 shadow2fox 2019.03.15 1,914 1
이윰  🏆 이윰빌더 최신글 본문 추출시 엔터, 띄어쓰기 태그를 스페이스(한 칸 띄우기)로 바꾸기 shadow2fox 2018.07.12 1,957 0
이윰  🏆 최신 브라우저에서 푸시 사운드 문제 해결하기 shadow2fox 2018.07.20 1,982 0
이윰  🏆 jQuery-1.8.3를 jQuery-1.9.x 이상으로 업그레이드시 masonry 오류 해결하기 shadow2fox 2018.08.22 2,017 0
이윰  🏆 내글반응 페이지 내 전체 선택 체크박스 올바르게 적용하기 shadow2fox 2019.05.06 2,020 0
이윰  댓글+1🏆 마이홈과 마이페이지에서 사이드바 사용하지 않기 shadow2fox 2019.05.26 2,022 1
이윰  🏆 태그(tag) 인덱스에서 새로운 글에 new 표시하기 shadow2fox 2018.08.26 2,025 0
이윰  🏆 공지글에는 댓글 기능 끄기 shadow2fox 2018.08.19 2,027 0
이윰  댓글+4🏆 다중 태그 입력 올바르게 shadow2fox 2021.03.12 2,028 2
이윰  🏆 Eyoom Builder 3.0.2 패치 루루아빠 2018.05.14 2,042 0
이윰  댓글+1🏆 팝업창 페이지에서도 띄우기 shadow2fox 2019.02.05 2,044 1
이윰  🏆 내글반응 내용 추출 쌍 따옴표가 "로 표시되는 문제 해결하기 shadow2fox 2018.06.18 2,088 0
이윰  🏆 마우스 오버시 이전글 다음글에 제목을 띄우기 shadow2fox 2018.11.27 2,090 0
이윰  🏆 유튜브 재생목록(플레이리스트)이 적용되지 않는다면 shadow2fox 2018.07.29 2,105 0
이윰  🏆 PHP 7.x에서 이윰빌더 알람 푸시(push) 관련 PHP Notice: Undefined index: alarm 해결하기 shadow2fox 2018.07.01 2,126 0
이윰  댓글+2🏆 작성글 날림 방지하기 shadow2fox 2018.07.04 2,129 0
이윰  🏆 이윰빌더 사용하지 않기 루루아빠 2018.04.25 2,149 0
이윰  댓글+1🏆 이윰빌더 현재 접속자 최신글에서 관리자도 ip가 숨겨지는 문제 해결하기 shadow2fox 2020.04.10 2,154 1
이윰  🏆 PHP 7.x에서 이윰빌더 알람 푸시(push) 관련 PHP Notice: Undefined index error 해결하기 shadow2fox 2019.01.01 2,169 0